@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
   /* Reset and base styles */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Montserrat", sans-serif;
    justify-content: center;
    align-items: center;
    background-color: #000;
}
.kyokushin-card-text a {
    color: white;
    font-weight: bold;
    text-decoration: none; /* Optional, removes underline */
}
.kyokushin-card-text a:hover {
    text-decoration: underline;
    /* Optional: Adds underline on hover */
}
.instagram-section a {
    color: white;
    font-weight: bold;
    text-decoration: none; /* Optional: Removes underline */
}
.instagram-section a:hover {
    text-decoration: underline;
    /* Optional: Adds underline on hover */
}
.logo{
    text-decoration: none;
    margin-left: 20px;
    color: #CC3232;
    font-size: 24px; /* Scaled for mobile */
    font-weight: bold;
    text-transform: uppercase;
}
/* General Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 50px 40px;
    background-color: #000;
    position: relative;
    z-index: 10;
}

.nav-links{
    gap: 40px;
    display: flex;
}
.nav-buttons {
    display: flex;
    gap: 24px; /* Reduced gap for mobile */
}

.nav-links {
    list-style: none;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    color: #CC3232;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px; /* Adjusted font size */
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #fff;
}
/* Side Navbar */
/* General Styles */
body {
    margin: 0;
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* Side Navbar */
.side-navbar {
    position: fixed;
    top: 0;
    right: -100%; /* Start off-screen */
    height: 100%;
    width: 70%; /* Adjust width for smaller screens */
    max-width: 300px; /* Maximum width for larger devices */
    background-color: #000;
    transition: right 0.3s ease; /* Smooth slide-in animation */
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    z-index: 100; /* Ensure it appears above all other elements */
    display: flex;
    flex-direction: column;
    padding: 15px;
    overflow-y: auto; /* Enable scrolling for long content */
}

/* Active State */
.side-navbar.active {
    right: 0px; /* Fully visible when active */
}

/* Hamburger Menu */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 20px; /* Properly aligned */
    top: 21px;
    z-index: 101; /* Above the navbar */
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #CC3232;
    border-radius: 2px;
    transition: transform 0.3s;
}

/* Buttons inside Side Navbar */
.nav-buttons {
    margin-top: auto; /* Push buttons to the bottom of the navbar */
}

.btn {
    width: 100%; /* Full width inside the navbar */
    margin: 10px 0; /* Add spacing between buttons */
    height: 50px;
    border: 2px solid #CC3232;
    background: transparent;
    color: #CC3232;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #CC3232;
    color: #fff;
}

.side-navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-navbar ul li {
    margin: 15px 0;
}

.side-navbar ul li a {
    color: #CC3232;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px; /* Mobile-friendly font size */
}

.side-navbar ul li a:hover {
    color: #fff;
}

/* Side Navbar Buttons */
.side-nav-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px; /* Adjusted spacing for mobile */
}

/* --------------------------------- */

@media (max-width: 430px) {
    .kyokushin-card-text a {
    color: white;
    font-weight: bold;
    text-decoration: none; /* Optional, removes underline */
}
.kyokushin-card-text a:hover {
    text-decoration: underline;
    /* Optional: Adds underline on hover */
}
.instagram-section a {
    color: white;
    font-weight: bold;
    text-decoration: none; /* Optional: Removes underline */
}
.instagram-section a:hover {
    text-decoration: underline;
    /* Optional: Adds underline on hover */
}
    .navbar{
        position: sticky; /* Sticky positioning */
        top: 0; /* Stick to the top of the viewport */
        z-index: 1000; /* Ensure it stays above other elements */
            width: auto;
            height: 50px;
            padding: 0px 0px 0px 0px;
    }
    .nav-buttons,.nav-links{
        display: none;
    }
    .nav-logo {
        font-size: 18px;
    }

    .hamburger span {
        width: 18px;
        height: 2.5px;
    }

    .side-navbar ul li a {
        font-size: 14px; /* Smaller size for smaller screens */
    }
}

@media (max-width: 320px) {
    .side-navbar {
        width: 80%; /* Adjust width for very small screens */
    }

    .hamburger span {
        width: 16px;
    }
}

/* Button Styles */
.btn {
    width: 200px; /* Ensure buttons adjust in side navbar */
    height: 49px; /* Scaled for mobile */
    border: 2px solid #CC3232; /* Red color */
    background: transparent;
    color: #CC3232;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn.filled {
    background-color: #CC3232;
    color: #fff;
}

.btn.outline-login:hover,
.btn.filled:hover {
    background-color: #b12b2b;
    color: #fff;
}

.btn.outline-login{
    width: 82px;
    height: 49px;
}



/* Hero section */
.hero {
    text-align: center;
    padding: 300px 20px;
    background-image: url('Images/desktop\ banner\ img.png'); /* Background image */
    background-size: auto;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Black overlay */
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    color: #fff;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
}
.hero-content h3{
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 24px;
}
.hero-title p{
    font-size: 6px;
}

.hero-content p {
    font-size: 16px;
    margin-bottom: 40px;
    line-height: 1.6;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-buttons .btn {
    font-size: 16px;
}

.quote {
    margin: 100px;
    text-align: center;
    padding: 300px 20px;
    background-image: url('Images/Bg\ text.png'); /* Background image */
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
    position: relative;
}

.quote-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.red{
    font-variant-caps: all-petite-caps;
    font-size: 40px;
    font-style: italic;
    font-weight: 400;
    color: #CC3232;
}

/* About US*/

.about-us-container {
    position: relative;
    width: 640px;
    height: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-us-container {
    position: relative;
    width: 640px;
    height: 800px;
}

.about-us-background {
    position: absolute;
    top: 0;
    left: 260px;
    width: 640px;
    height: 800px;
    background-image: url('Images/man.webp'); /* Replace with your actual image URL */
    background-size: cover;
    background-position: center;
    filter: grayscale(30%);
    z-index: 1;
}

.about-us-text-box {
    position: absolute;
    top: 90px; /* Adjusted to reduce overlap */
    left: -200px; /* Centered with a slight offset */
    width: 560px;
    height: 540px;
    background-color: rgba(255, 255, 255);
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
    overflow: hidden;
}

.about-us-text-box h1 {
    color: #e63946;
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-us-text-box p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #000;
}

/* Cards design*/

.Services{
padding-top: 100px;
}

.kyokushin-container {
    padding: 40px;
    background-color: #992626;
}

.kyokushin-header {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.kyokushin-title {
    max-width: 1200px;
    font-size: 48px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-align: left;
    font-weight: bold;
}

.kyokushin-subtitle {
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
    text-align: left;
}

.kyokushin-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    max-width: 425px;
    margin: 0 auto;
}

.kyokushin-card {
    border: 1px solid #fff;
    padding: 20px;
    color: #fff;
    width: 100%;
    height: 337px;
    box-sizing: border-box;
    position: relative;
}

.kyokushin-card-title {
    font-size: 20px;
    margin-bottom: 10px;
    position: relative;
    font-weight: bold;
}

.kyokushin-card-title::after {
    content: "";
    display: block;
    height: 2px;
    background-color: #fff;
    margin-top: 10px;
}

.kyokushin-card-text {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.kyokushin-card-button {
    font-weight: bold;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 16px 16px;
    cursor: pointer;
    font-size: 14px;
    width: 200px;
    height: 49px;
    text-align: center;
    position: absolute;
    bottom: 20px;
    right: 20px;
    text-transform: capitalize;
}

.kyokushin-card-button:hover {
    background-color: #444;
}

/* Instagram Section */

.instagram-section {
    background-color: #000; /* Black background for contrast */
    color: #fff;
    text-align: center;
    padding: 60px 40px;
    text-align: left; /* Align text to the left */
}

.instagram-section h1 {
    max-width: 1200px;
    font-size: 48px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    color: #fff;
    text-align: left;
    font-weight: bold;
}

.instagram-section p {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    font-size: 14px;
    margin-bottom: 40px;
    color: #aaa;
}
.instagram-feed-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.instagram-feed {
    display: grid; /* Use grid for consistent layout */
    grid-template-columns: repeat(3, 360px); /* Exactly 3 posts per row */
    gap: 32px 60px; /* Vertical and horizontal gaps between posts */
    justify-content: center; /* Center align the grid */
}

.instagram-post {
    width: 360px;
    height: 460px;
    display: flex;
    flex-direction: column;
    position: relative;
    color: white;
    background-color: #000;
    position: relative;
}

.instagram-post small {
    position: absolute;
    top: -25px; /* Positioned above the image */
    left: 0;
    font-size: 0.9rem;
    color: white;
    background-color: transparent;
    z-index: 10; /* Ensure it appears above other elements */
}

.instagram-post img,
.instagram-post video {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.instagram-post p {
    margin: 10px 0;
    font-size: 0.9rem;
    text-align: left;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; /* Vertical orientation for truncation */
    text-overflow: ellipsis; /* Add ellipsis to truncated text */
    word-wrap: break-word; /* Prevent text overflow */
    line-height: 1.4;
    max-height: calc(1.4em * 2); /* Ensure height fits 2 lines */
}

.view-more {
    width: 200px;
    height: 49px;
    display: inline-block;
    background-color: #d32f2f;
    color: white;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    margin: 20px 0 0 auto;
    text-align: center;
}

.view-more:hover {
    background-color: #c62828;
}

.instagram-header {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px; /* Spacing between the logo and username */
    margin-bottom: 40px; /* Add space between the header and feed */
    color: white;
    font-size: 1.2rem;
}

.instagram-logo {
    width: 64px; /* Adjust size of the Instagram logo */
    height: 64px;
}

.instagram-username {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase; /* Optional: Make text uppercase */
}


.questions-section {
    height: 519px; /* Set height of the section */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; /* White background */
    color: #000; /* Black text */
    text-align: center;
    padding: 20px; /* Optional padding for smaller screens */
}

.questions-section h2 {
    font-size: 32px; /* Font size for the heading */
    font-weight: bold; /* Bold font for heading */
    margin-bottom: 10px;
}

.questions-section h3 {
    font-size: 14px; /* Font size for subheading */
    font-weight: normal; /* Regular font weight */
    margin-bottom: 20px;
}

.questions-section p {
    font-size: 14px; /* Font size for the paragraph */
    font-weight: normal; /* Regular font weight */
    margin-bottom: 30px;
    max-width: 600px; /* Limit paragraph width for better readability */
}

.questions-buttons {
    display: flex;
    gap: 20px; /* Spacing between buttons */
}

.questions-buttons button {
    width: 200px; /* Button width */
    height: 49px; /* Button height */
    font-size: 14px; /* Font size for button text */
    font-weight: bold; /* Bold font for button text */
    text-transform: uppercase; /* Optional: make text uppercase */
    border: 1px solid #CC3232; /* Button border color */
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.join-btn {
    background-color: #CC3232; /* Background color for Join Us button */
    color: white;
}

.join-btn:hover {
    background-color: #c62828; /* Darker shade on hover */
}

.enquiry-btn {
    background-color: transparent;
    color: #CC3232; /* Text color for Enquiry Form button */
}

.enquiry-btn:hover {
    background-color: #CC3232; /* Light background on hover */
    color: #fff;
}

/* Footer Styles */
.footer {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    padding: 80px 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; /* Center vertically */
    max-width: 1200px;
    margin: 0 auto;
    margin-left: 40px;
}

/* Left Section */
.footer-left {
    flex: 1 1 30%;
    max-width: 400px;
    margin-right: 100px; /* Adjusted for alignment */
    text-align: left; /* Ensure text aligns properly */
}

.footer-logo {
    width: 90px; /* Adjusted logo size */
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.footer-copyright {
    font-size: 14px;
    color: #aaa; /* Lighter text for copyright */
}

/* Right Section */
.footer-right {
    flex: 1 1 60%;
    display: flex;
    justify-content: space-between; /* Ensure columns are evenly spaced */
}

.footer-column {
    flex: 1;
    margin: 0;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: bold; /* Bold for headings */
    margin-bottom: 15px;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    font-size: 12px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #f00; /* Red on hover */
    text-decoration: underline;
}

/* Ensure the entire footer content is centered */
.footer-container {
    align-items: center; /* Vertically center the content */
}
.line{
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 20px;
}

.copyright {
    margin-left: 40px;
    margin-right: 40px;
    display: flex; /* Enable flexbox for alignment */
    align-items: center; /* Vertically center content */
    justify-content: space-between; /* Distribute space between text and icons */
    padding: 10px; /* Add some padding for visual spacing */
}
.copyright p{
    color: #fff;
}

.social-icons {
    display: flex; /* Enable flexbox for icons */
    align-items: center; /* Vertically center icons */
}

.footer-insta {
    margin-right: 10px; /* Add 10px gap to the right of the Instagram icon */
}

/* Optional: Adjust image size if needed */
.footer-insta, .footer-tiktok {
    width: 24px; /* Example width */
    height: 24px;
}


@media (min-width: 1440px){
    .navbar{
        position: sticky; /* Sticky positioning */
        top: 0; /* Stick to the top of the viewport */
        z-index: 1000; /* Ensure it stays above other elements */
}
    .kyokushin-card {
        width: 100%;
        height: 337px;
    }
    .hamburger {
        display: none; /* Hide hamburger by default */
    }
}


@media (max-width:1024px){
    .logo {
        font-size: 18px;
    }
    .instagram-feed { justify-content: center;
        grid-template-columns: repeat(2, 1fr); /* 2 posts per row */
        gap: 20px 40px; /* Adjust gaps for smaller screens */
    }

    .instagram-post {
        width: 100%; /* Full width of container */
        height: auto; /* Adjust height automatically */
    }

    .instagram-section h1 {
        font-size: 36px; /* Smaller font size for headings */
    }
    .btn {
        width: 150px;}
        .nav-links a {
            font-size: 11px;
        }
        .nav-container {
            gap: 20px;
        }
}

/* Flaoting btn */
.floating-contact {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background-color: black ;
            color: white;
            border: 1px solid white;
            border-radius: 30px;
            padding: 10px 15px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            font-size: 14px;
            text-align: center;
            cursor: pointer;
            z-index: 1000;
            transition: background-color 0.3s ease, color 0.3s ease;
        }
.floating-contact:hover {
            background-color: white;
            color: #CC3232;
}
        @media (max-width: 375px) {
        .instagram-feed {
        justify-content: center;
        grid-template-columns: repeat(1, 360px);
    }
            .floating-contact {
                font-size: 12px;
                padding: 8px 16px;
            }
        }
        @media (max-width: 325px) {
            .floating-contact {
                font-size: 10px;
                padding: 6px 12px;
            }
        }
        @media (min-width: 768px) {
            .floating-contact {
                font-size: 16px;
                padding: 12px 24px;
            }
            .hamburger{
                top: 25px;
            }
        }
        @media (min-width: 1024px) {
            .floating-contact {
                font-size: 18px;
                padding: 14px 28px;
            }
            .nav-links{
                gap: 20px;
            }
        }
        @media (min-width: 1440px) {
            .floating-contact {
                font-size: 20px;
            }
        }


        @media (min-width: 365px) and (max-width: 430px){
            .desktop-only {
                display: none;
            }
            .Services{
                padding: 0px;
            }
            .kyokushin-card-text a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional, removes underline */
            }
            .kyokushin-card-text a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .instagram-section a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional: Removes underline */
            }
            .instagram-section a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .instagram-feed {
            justify-content: center;
            grid-template-columns: repeat(1, 360px);
            gap: 40px 60px;
            }
            .footer-insta{
                width:16px ;
                height: 16px;
            }
            .footer-tiktok{
                width:16px ;
                height: 16px;
            }
            .instagram-section h1{
                font-size: 24px;
            }
            .navbar{
                width: auto;
                height: 60px;
            }
            .hero {
                text-align: center;
                padding: 250px 20px;
                margin-top: 50px;
                background-image: url('Images/img.webp'); /* Background image */
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                position: relative;
            }
            .hero::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.8); /* Black overlay */
                z-index: 0;
            }
            .hero-content h1 {
                font-size: 24px;
                font-weight: bold;
                text-transform: uppercase;
            }
            .hero-content h3{
                font-weight: 400;
                font-size: 10px;
                margin-bottom: 24px;
            }
            .hero-content p {
                font-size: 10px;
                margin-bottom: 40px;
                line-height: 1.6;
                font-style: italic;
            }
            .hero-buttons {
                display: flex;
                justify-content: center;
                gap: 20px;
            }
            .hero-buttons .btn {
                font-size: 16px;
            }
        
            /* Button Styles */
        .btn {
            width: 160px; /* Ensure buttons adjust in side navbar */
            height: 44px; /* Scaled for mobile */
            border: 2px solid #CC3232; /* Red color */
            background: transparent;
            color: #CC3232;
            text-transform: uppercase;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }
        
        .btn.filled {
            background-color: #CC3232;
            color: #fff;
        }
        
        .btn.outline-login:hover,
        .btn.filled:hover {
            background-color: #b12b2b;
            color: #fff;
        }
        
        .quote {
            margin: 0px;
            max-width: 425px;
            text-align: center;
            height: 852px;
            padding: 300px 20px;
            background-image: url('Images/Bg\ text.png'); /* Background image */
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            position: relative;
        }
        
        .quote-container {
            justify-content: center; /* Horizontally center */
            align-items: center; /* Vertically center */
            display: flex;
            width: 100%; /* Ensure it takes full width */
            max-width: 600px; /* Control width to avoid text going to 3 lines */
            margin: 0 auto; /* Center the container itself */
            max-width: 400px; /* Further limit width to fit text in two lines */
        }
        
        .red {
            margin-top: 90px;
            font-variant-caps: all-petite-caps;
            font-size: 29px;
            font-style: italic;
            font-weight: 400;
            color: #CC3232;
            line-height: 1.5; /* Adjust line height for better readability */
            text-align: center; /* Ensure text is centered */
        }
        
        
        /* About US*/
        .about-us-container {
            position: relative;
            width: 640px;
            height: 800px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .about-us-container {
            position: relative;
            width: 375px;
            height: 800px;
        }
        
        .about-us-background {
            position: absolute;
            top: 470px;
            left: 160px;
            width: 171px;
            height: 213px;
            background-size: cover;
            background-position: center;
            filter: grayscale(30%);
            z-index: 2;
        }
        
        .about-us-text-box {
            position: absolute;
            top: 50px; /* Adjusted to reduce overlap */
            left: 30px; /* Centered with a slight offset */
            width: 313px;
            height: 450px;
            background-color: rgba(255, 255, 255);
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 1;
            overflow: hidden;
        }
        
        .about-us-text-box h1 {
            color: #e63946;
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .about-us-text-box p {
            font-size: 10px;
            line-height: 1.6;
            margin-bottom: 16px;
            color: #000;
        }
        .kyokushin-header {
            max-width: 1200px;
            margin: 0 auto 40px;
        }
        
        .kyokushin-title {
            margin-top: 40px;
            font-size: 24px;
        }
        
        .kyokushin-subtitle {
            font-size: 10px;
            line-height: 1.5;
            color: #fff;
            text-align: left;
        }
        
        .kyokushin-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
            max-width: 425px;
            margin: 20px;
        }
        
        .kyokushin-card {
            border: 1px solid #fff;
            padding: 20px;
            color: #fff;
            width: 313px;
            height: 264px;
            margin-left: -25px;
            box-sizing: border-box;
            position: relative;
        }
        
        .kyokushin-card-title {
            font-size: 20px;
            margin-bottom: 10px;
            position: relative;
            font-weight: bold;
        }
        
        .kyokushin-card-title::after {
            content: "";
            display: block;
            height: 2px;
            background-color: #fff;
            margin-top: 10px;
        }
        
        .kyokushin-card-text {
            font-size: 10px;
            line-height: 1.5;
            margin-bottom: 20px;
        }
        
        .kyokushin-card-button {
            margin-top: 16px;
            font-weight: bold;
            background-color: #000;
            color: #fff;
            border: none;
            padding: 16px 16px;
            cursor: pointer;
            font-size: 14px;
            width: 160px;
            height: 44px;
            text-align: center;
            position: absolute;
            bottom: 20px;
            right: 20px;
            text-transform: capitalize;
        }
        .kyokushin-card-button:hover {
            background-color: #444;
        }
        .questions-section {
            height: 519px; /* Set height of the section */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #ffffff; /* White background */
            color: #000; /* Black text */
            text-align: center;
            padding: 20px; /* Optional padding for smaller screens */
        }
        .questions-section h2 {
            font-size: 24px; /* Font size for the heading */
            font-weight: bold; /* Bold font for heading */
            margin-bottom: 10px;
        }
        .questions-section h3 {
            font-size: 10px; /* Font size for subheading */
            font-weight: normal; /* Regular font weight */
            margin-bottom: 20px;
        }
        .questions-section p {
            font-size: 10px; /* Font size for the paragraph */
            font-weight: normal; /* Regular font weight */
            margin-bottom: 30px;
            max-width: 600px; /* Limit paragraph width for better readability */
        }
        .questions-buttons {
            display: flex;
            gap: 20px; /* Spacing between buttons */
        }
        .questions-buttons button {
            width: 160px; /* Button width */
            height: 44px; /* Button height */
            font-size: 10px; /* Font size for button text */
            font-weight: bold; /* Bold font for button text */
            text-transform: uppercase; /* Optional: make text uppercase */
            border: 1px solid #CC3232; /* Button border color */
            cursor: pointer;
            transition: background-color 0.3s ease-in-out;
        }
        .join-btn {
            background-color: #CC3232; /* Background color for Join Us button */
            color: white;
        }
        .join-btn:hover {
            background-color: #c62828; /* Darker shade on hover */
        }
        .enquiry-btn {
            background-color: transparent;
            color: #CC3232; /* Text color for Enquiry Form button */
        }
        .enquiry-btn:hover {
            background-color: #CC3232; /* Light background on hover */
            color: #fff;
        }
        .footer{
            display: none;
        }
        .line{
            margin-top: 20px;
        }
        .copyright p{
            font-size: 10px;
        }
        }

        @media (min-width: 431px) and (max-width: 480px){
            .desktop-only {
                display: none;
            }
            .navbar {
                position: sticky;
                top: 0;
                z-index: 1000;
                height: 50px;
                padding: 0px 0px 0px 0px;
            }
            .navbar{
                width: auto;
            }
            .nav-links,.nav-buttons{
                display: none;
            }
            .join-btn {
                background-color: #CC3232; /* Background color for Join Us button */
                color: white;
            }
            .join-btn:hover {
                background-color: #c62828; /* Darker shade on hover */
            }
            .enquiry-btn {
                background-color: transparent;
                color: #CC3232; /* Text color for Enquiry Form button */
            }
            .enquiry-btn:hover {
                background-color: #CC3232; /* Light background on hover */
                color: #fff;
            }
            .footer{
                display: none;
            }
            .line{
                margin-top: 20px;
            }
            .copyright p{
                font-size: 10px;
            }
            .questions-section{
                height:852px;
            }
            .Services{
                padding: 0px;
            }
            .kyokushin-card-text a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional, removes underline */
            }
            .kyokushin-card-text a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .instagram-section a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional: Removes underline */
            }
            .instagram-section a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .instagram-feed {
            justify-content: center;
            grid-template-columns: repeat(1, 360px);
            gap: 40px 60px;
            }
            .footer-insta{
                width:16px ;
                height: 16px;
            }
            .footer-tiktok{
                width:16px ;
                height: 16px;
            }
            .instagram-section h1{
                font-size: 24px;
            }
            .navbar{
                width: auto;
            }
            .hero {
                text-align: center;
                padding: 250px 20px;
                margin-top: 50px;
                background-image: url('Images/img.png'); /* Background image */
                background-size: contain;
                background-repeat: no-repeat;
                background-position: center;
                position: relative;
            }
            .hero::before {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background-color: rgba(0, 0, 0, 0.8); /* Black overlay */
                z-index: 0;
            }
            .hero-content h1 {
                font-size: 24px;
                font-weight: bold;
                text-transform: uppercase;
            }
            .hero-content h3{
                font-weight: 400;
                font-size: 10px;
                margin-bottom: 24px;
            }
            .hero-content p {
                font-size: 10px;
                margin-bottom: 40px;
                line-height: 1.6;
                font-style: italic;
            }
            .hero-buttons {
                display: flex;
                justify-content: center;
                gap: 20px;
            }
            .hero-buttons .btn {
                font-size: 16px;
            }
        
            /* Button Styles */
        .btn {
            width: 160px; /* Ensure buttons adjust in side navbar */
            height: 44px; /* Scaled for mobile */
            border: 2px solid #CC3232; /* Red color */
            background: transparent;
            color: #CC3232;
            text-transform: uppercase;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
        }
        
        .btn.filled {
            background-color: #CC3232;
            color: #fff;
        }
        
        .btn.outline-login:hover,
        .btn.filled:hover {
            background-color: #b12b2b;
            color: #fff;
        }
        
        .quote {
            margin: 0px;
            max-width: 425px;
            text-align: center;
            height: 852px;
            padding: 300px 20px;
            background-image: url('Images/Bg\ text.png'); /* Background image */
            background-repeat: no-repeat;
            background-size: contain;
            background-position: center;
            position: relative;
        }
        
        .quote-container {
            justify-content: center; /* Horizontally center */
            align-items: center; /* Vertically center */
            display: flex;
            width: 100%; /* Ensure it takes full width */
            max-width: 600px; /* Control width to avoid text going to 3 lines */
            margin: 0 auto; /* Center the container itself */
            max-width: 400px; /* Further limit width to fit text in two lines */
        }
        
        .red {
            margin-top: 90px;
            font-variant-caps: all-petite-caps;
            font-size: 29px;
            font-style: italic;
            font-weight: 400;
            color: #CC3232;
            line-height: 1.5; /* Adjust line height for better readability */
            text-align: center; /* Ensure text is centered */
        }
        
            .kyokushin-container {
                background-color: #992626;
            }
            
            .kyokushin-header {
                max-width: 1200px;
                margin: 0 auto 40px;
            }
            
            .kyokushin-title {
                margin-top: 50px;
                font-size: 24px;
            }
            
            .kyokushin-subtitle {
                font-size: 10px;
                line-height: 1.5;
                color: #fff;
                text-align: left;
            }
            
            .kyokushin-grid {
                display: grid;
                grid-template-columns: repeat(1, 1fr);
                gap: 20px;
                max-width: 425px;
                margin: 20px;
            }
            
            .kyokushin-card {
                border: 1px solid #fff;
                padding: 20px;
                color: #fff;
                height: 264px;
                box-sizing: border-box;
                position: relative;
                width: 375px;
                margin-left: -25px;
            }
            
            .kyokushin-card-title {
                font-size: 20px;
                margin-bottom: 10px;
                position: relative;
                font-weight: bold;
            }
            
            .kyokushin-card-title::after {
                content: "";
                display: block;
                height: 2px;
                background-color: #fff;
                margin-top: 10px;
            }
            
            .kyokushin-card-text {
                font-size: 10px;
                line-height: 1.5;
                margin-bottom: 20px;
            }
            
            .kyokushin-card-button {
                margin-top: 16px;
                font-weight: bold;
                background-color: #000;
                color: #fff;
                border: none;
                padding: 16px 16px;
                cursor: pointer;
                font-size: 14px;
                width: 160px;
                height: 44px;
                text-align: center;
                position: absolute;
                bottom: 20px;
                right: 20px;
                text-transform: capitalize;
            }
            .kyokushin-card-button:hover {
                background-color: #444;
            }
         /* About US*/
        
         .about-us-container {
            position: relative;
            width: 640px;
            height: 800px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .about-us-container {
            position: relative;
            width: 375px;
            height: 900px;
        }
        
        .about-us-background {
            position: absolute;
            top: 435px;
            left: 170px;
            width: 171px;
            height: 213px;
            background-size: cover;
            background-position: center;
            filter: grayscale(30%);
            z-index: 2;
        }
        
        .about-us-text-box {
            position: absolute;
            top: 50px; /* Adjusted to reduce overlap */
            left: 15px; /* Centered with a slight offset */
            width: 350px;
            height: 420px;
            background-color: rgba(255, 255, 255);
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 1;
            overflow: hidden;
        }
        
        .about-us-text-box h1 {
            color: #e63946;
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .about-us-text-box p {
            font-size: 10px;
            line-height: 1.6;
            margin-bottom: 16px;
            color: #000;
        }
        .footer{
            display: none;
        }
}

        @media (min-width: 601px) and (max-width: 768px) {
            .desktop-only {
                display: none;
            }
            .kyokushin-card-text a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional, removes underline */
            }
            .kyokushin-card-text a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .instagram-section a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional: Removes underline */
            }
            .instagram-section a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .navbar{
                position: sticky; /* Sticky positioning */
                top: 0; /* Stick to the top of the viewport */
                z-index: 1000; /* Ensure it stays above other elements */
                padding: 0px 0px 0px 0px;
                height: 70px;
            }
            .nav-buttons,.nav-links{
                display: none;
            }
            .red{
                font-variant-caps: all-petite-caps;
                font-size: 24px;
                font-style: italic;
                font-weight: 400;
                color: #CC3232;
            }
            .quote {
                margin: 100px;
                text-align: center;
                padding: 300px 20px;
                background-image: url('Images/Bg\ text.png'); /* Background image */
                background-repeat: no-repeat;
                background-size: contain;
                background-position: center;
                position: relative;
            }
            .navbar{
                width: 768px
            }
            .nav-links a{
                font-size: 12px;
            }
            .btn{
        width: 160px;
        height: 44px;
            }
            .hero {
                text-align: center;
                padding: 300px 20px;
                background-image: url('Images/desktop\ banner\ img.png');
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                width: 100%;
            }
            .about-us-container {
                position: relative;
                width: 640px;
                height: 800px;
                margin: 0 auto;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            .about-us-container {
                position: relative;
                width: 640px;
                height: 800px;
            }
            .about-us-background {
                position: absolute;
                top: 15px;
                left: 130px;
                width: 544px;
                height: 650px;
                background-size: cover;
                background-position: center;
                filter: grayscale(30%);
                z-index: 1;
            }
            .about-us-text-box {
                position: absolute;
                top: 55px; /* Adjusted to reduce overlap */
                left: -30px; /* Centered with a slight offset */
                width: 422px;
                height: 570px;
                background-color: rgba(255, 255, 255);
                padding: 15px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
                z-index: 2;
                overflow: hidden;
            }
            .about-us-text-box h1 {
                color: #e63946;
                font-size: 1.8rem;
                margin-bottom: 20px;
            }
            .about-us-text-box p {
                font-size: 0.9rem;
                line-height: 1.6;
                margin-bottom: 16px;
                color: #000;
            }
            .kyokushin-container {
                padding: 40px;
                background-color: #992626;
            }
            
            .kyokushin-header {
                max-width: 768px;
                margin: 0 auto 40px;
            }
            
            .kyokushin-title {
                font-size: 32px;
                margin-bottom: 10px;
                color: #fff;
                text-align: left;
                font-weight: bold;
            }
            
            .kyokushin-subtitle {
                font-size: 12px;
                line-height: 1.5;
                color: #fff;
                text-align: left;
            }
            
            .kyokushin-grid {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
                max-width: 768px;
                margin: 0 auto;
            }
            .kyokushin-card {
                border: 1px solid #fff;
                padding: 20px;
                color: #fff;
                width: 100%;
                height: 264px;
                box-sizing: border-box;
                position: relative;
            }
            .kyokushin-card-title {
                font-size: 20px;
                margin-bottom: 10px;
                position: relative;
                font-weight: bold;
            }
            .kyokushin-card-title::after {
                content: "";
                display: block;
                height: 2px;
                background-color: #fff;
                margin-top: 10px;
            }
            .kyokushin-card-text {
                font-size: 10px;
                line-height: 1.5;
                margin-bottom: 20px;
            }
            .kyokushin-card-button {
                font-weight: bold;
                background-color: #000;
                color: #fff;
                border: none;
                padding: 16px 16px;
                cursor: pointer;
                font-size: 14px;
                width: 160px;
                height: 44px;
                text-align: center;
                position: absolute;
                bottom: 20px;
                right: 20px;
                text-transform: capitalize;
            }
            .kyokushin-card-button:hover {
                background-color: #444;
            }
            .footer-container {
                display: flex;
                flex-wrap: wrap;
                justify-content: space-between;
                align-items: center; /* Center vertically */
                max-width: 768px;
                margin: 0 auto;
            }
            .view-more {
                width: 160px;
                height: 44px;
                /* display: inline-block; */
                background-color: #d32f2f;
                color: white;
                font-size: 1rem;
                border: none;
                cursor: pointer;
                margin: 20px 0 0 auto;
                text-align: center;
            }
            .copyright p{
                font-size: 12px;
                color: #fff;
            }
            .btn.outline-login{
                width: 82px;
                height: 44px;
            }
            .join-btn {
                background-color: #CC3232; /* Background color for Join Us button */
                color: white;
            }
            .join-btn:hover {
                background-color: #c62828; /* Darker shade on hover */
            }
            .enquiry-btn {
                background-color: transparent;
                color: #CC3232; /* Text color for Enquiry Form button */
            }
            .enquiry-btn:hover {
                background-color: #CC3232; /* Light background on hover */
                color: #fff;
        }
        }

        @media (min-width: 1024px) and (max-width: 1439px){
            .kyokushin-card{
                height: 400px;
            }
            .instagram-feed {
                display: grid;
                grid-template-columns: repeat(2, 360px);
                gap: 32px 60px;
                justify-content: center;
            }
            .kyokushin-card-text a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional, removes underline */
            }
            .kyokushin-card-text a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .instagram-section a {
                color: white;
                font-weight: bold;
                text-decoration: none; /* Optional: Removes underline */
            }
            .instagram-section a:hover {
                text-decoration: underline;
                /* Optional: Adds underline on hover */
            }
            .instagram-feed {
            justify-content: center;
            grid-template-columns: repeat(2, 360px);
            gap: 40px 60px;
            }
            .kyokushin-card{
                width: 100%;
            }
        }
        
        @media (min-width: 1024px) {
            .navbar{
                position: sticky; /* Sticky positioning */
                top: 0; /* Stick to the top of the viewport */
                z-index: 1000; /* Ensure it stays above other elements */
        }
            .hamburger {
                display: none; /* Hide hamburger by default */
            }
        .hero {
                text-align: center;
                padding: 300px 20px;
                background-image: url('Images/desktop\ banner\ img.png'); /* Background image */
                background-size: auto;
                background-repeat: no-repeat;
                background-position: center;
                position: relative;
            }

        .about-us-background {
            position: absolute;
            top: 0;
            left: 290px;
            width: 500px;
            height: 740px;
            background-size: cover;
            background-position: center;
            filter: grayscale(30%);
            z-index: 1;
        }
        .about-us-text-box {
            position: absolute;
            top: 90px; /* Adjusted to reduce overlap */
            left: -150px; /* Centered with a slight offset */
            width: 500px;
            height: 555px;
            background-color: rgba(255, 255, 255);
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 2;
            overflow: hidden;
        }
        .kyokushin-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            max-width: 1200px;
            margin: 0 auto;
        }
        }

        @media (min-width: 1440px) {
            .nav-links {
                gap: 40px;
            }
            .instagram-feed {
                display: grid;
                grid-template-columns: repeat(3, 360px);
                gap: 32px 60px;
                justify-content: center;
            }
        }

        @media (max-width: 375px){
            .kyokushin-card {
                border: 1px solid #fff;
                padding: 20px;
                color: #fff;
                width: 313px;
                height: 285px;
                margin-left: -28px;
                box-sizing: border-box;
                position: relative;
            }
        }

        @media (min-width:390px){
            .kyokushin-card {
                border: 1px solid #fff;
                padding: 20px;
                color: #fff;
                width: 350px;
                height: 264px;
                margin-left: -38px;
                box-sizing: border-box;
                position: relative;
            }
        }
        @media (min-width:410px){
            .kyokushin-card {
                width: 360px;
                margin-left: -32px;
            }
        }
        @media (min-width:420px){
            .kyokushin-card {
                margin-left: -25px;
            }
        }
        @media (min-width: 750px){
            .kyokushin-card{
            margin-left:-10px;
            width: 345px;
            }
        }
        @media (min-width: 1020px){
            .kyokushin-card{
            margin-left:0px;
            width: 450px;
            height: 330px;
            }
            .kyokushin-card-text{
                margin-bottom: 0px;
            }
            .about-us-container{
                top: -35px;
                height: 820px;
            }
        }
        @media (min-width: 1400px){
            .kyokushin-card{
            width: 580px;
            }
            .kyokushin-card-text{
                margin-bottom: 0px;
            }
        }

@media (max-width: 360px){
    .desktop-only {
        display: none;
    }
    .navbar{
        width: auto;
        height: 60px;
    }
    .hero {
        text-align: center;
        padding: 250px 20px;
        margin-top: 50px;
        background-image: url('Images/img.png'); /* Background image */
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
    }
    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.8); /* Black overlay */
        z-index: 0;
    }
    .hero-content h1 {
        font-size: 24px;
        font-weight: bold;
        text-transform: uppercase;
    }
    .hero-content h3{
        font-weight: 400;
        font-size: 10px;
        margin-bottom: 24px;
    }
    .hero-content p {
        font-size: 10px;
        margin-bottom: 40px;
        line-height: 1.6;
        font-style: italic;
    }
    .hero-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    .hero-buttons .btn {
        font-size: 16px;
    }

    /* Button Styles */
.btn {
    width: 160px; /* Ensure buttons adjust in side navbar */
    height: 44px; /* Scaled for mobile */
    border: 2px solid #CC3232; /* Red color */
    background: transparent;
    color: #CC3232;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.btn.filled {
    background-color: #CC3232;
    color: #fff;
}

.btn.outline-login:hover,
.btn.filled:hover {
    background-color: #b12b2b;
    color: #fff;
}

.quote {
    margin: 0px;
    max-width: 425px;
    text-align: center;
    height: 852px;
    padding: 300px 20px;
    background-image: url('Images/Bg\ text.png'); /* Background image */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
}

.quote-container {
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    display: flex;
    width: 100%; /* Ensure it takes full width */
    max-width: 600px; /* Control width to avoid text going to 3 lines */
    margin: 0 auto; /* Center the container itself */
    max-width: 400px; /* Further limit width to fit text in two lines */
}

.red {
    margin-top: 70px;
    font-variant-caps: all-petite-caps;
    font-size: 29px;
    font-style: italic;
    font-weight: 400;
    color: #CC3232;
    line-height: 1.5; /* Adjust line height for better readability */
    text-align: center; /* Ensure text is centered */
}
        /* About US*/
        .about-us-container {
            position: relative;
            width: 640px;
            height: 800px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .about-us-container {
            position: relative;
            width: 360px;
            height: 800px;
        }
        
        .about-us-background {
            position: absolute;
            top: 470px;
            left: 160px;
            width: 171px;
            height: 213px;
            background-size: cover;
            background-position: center;
            filter: grayscale(30%);
            z-index: 2;
        }
        
        .about-us-text-box {
            position: absolute;
            top: 50px; /* Adjusted to reduce overlap */
            left: 25px; /* Centered with a slight offset */
            width: 313px;
            height: 450px;
            background-color: rgba(255, 255, 255);
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
            z-index: 1;
            overflow: hidden;
        }
        
        .about-us-text-box h1 {
            color: #e63946;
            font-size: 32px;
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .about-us-text-box p {
            font-size: 10px;
            line-height: 1.6;
            margin-bottom: 16px;
            color: #000;
        }
        .kyokushin-header {
            max-width: 1200px;
            margin: 0 auto 40px;
        }
        
        .kyokushin-title {
            margin-top: 40px;
            font-size: 24px;
        }
        
        .kyokushin-subtitle {
            font-size: 10px;
            line-height: 1.5;
            color: #fff;
            text-align: left;
        }
        
        .kyokushin-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 20px;
            max-width: 425px;
            margin: 20px;
        }
        
        .kyokushin-card {
            border: 1px solid #fff;
            padding: 20px;
            color: #fff;
            width: 313px;
            height: 285px;
            margin-left: -35px;
            box-sizing: border-box;
            position: relative;
        }
        
        .kyokushin-card-title {
            font-size: 20px;
            margin-bottom: 10px;
            position: relative;
            font-weight: bold;
        }
        
        .kyokushin-card-title::after {
            content: "";
            display: block;
            height: 2px;
            background-color: #fff;
            margin-top: 10px;
        }
        
        .kyokushin-card-text {
            font-size: 10px;
            line-height: 1.5;
            margin-bottom: 20px;
        }
        
        .kyokushin-card-button {
            margin-top: 16px;
            font-weight: bold;
            background-color: #000;
            color: #fff;
            border: none;
            padding: 16px 16px;
            cursor: pointer;
            font-size: 14px;
            width: 160px;
            height: 44px;
            text-align: center;
            position: absolute;
            bottom: 20px;
            right: 20px;
            text-transform: capitalize;
        }
        .kyokushin-card-button:hover {
            background-color: #444;
        }
        .questions-section {
            height: 519px; /* Set height of the section */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            background-color: #ffffff; /* White background */
            color: #000; /* Black text */
            text-align: center;
            padding: 20px; /* Optional padding for smaller screens */
        }
        .questions-section h2 {
            font-size: 24px; /* Font size for the heading */
            font-weight: bold; /* Bold font for heading */
            margin-bottom: 10px;
        }
        .questions-section h3 {
            font-size: 10px; /* Font size for subheading */
            font-weight: normal; /* Regular font weight */
            margin-bottom: 20px;
        }
        .questions-section p {
            font-size: 10px; /* Font size for the paragraph */
            font-weight: normal; /* Regular font weight */
            margin-bottom: 30px;
            max-width: 600px; /* Limit paragraph width for better readability */
        }
        .questions-buttons {
            display: flex;
            gap: 20px; /* Spacing between buttons */
        }
        .questions-buttons button {
            width: 160px; /* Button width */
            height: 44px; /* Button height */
            font-size: 10px; /* Font size for button text */
            font-weight: bold; /* Bold font for button text */
            text-transform: uppercase; /* Optional: make text uppercase */
            border: 1px solid #CC3232; /* Button border color */
            cursor: pointer;
            transition: background-color 0.3s ease-in-out;
        }
        .join-btn {
            background-color: #CC3232; /* Background color for Join Us button */
            color: white;
        }
        .join-btn:hover {
            background-color: #c62828; /* Darker shade on hover */
        }
        .enquiry-btn {
            background-color: transparent;
            color: #CC3232; /* Text color for Enquiry Form button */
        }
        .enquiry-btn:hover {
            background-color: #CC3232; /* Light background on hover */
            color: #fff;
        }
        .footer{
            display: none;
        }
        .line{
            margin-top: 20px;
        }
        .copyright p{
            font-size: 10px;
        }
        .instagram-post img, .instagram-post video{
            width: 340px;
            height: 340px;
            margin-left: 10px;
        }
        .instagram-post p, .instagram-post small
        {
            margin-left: 10px;
        }
        }

        @media (min-width:340px) and (max-width: 359px){
            .about-us-background {
                position: absolute;
                top: 470px;
                left: 145px;
                width: 171px;
                height: 213px;
                background-size: cover;
                background-position: center;
                filter: grayscale(30%);
                z-index: 2;
            }
            .about-us-text-box {
                position: absolute;
                top: 50px; /* Adjusted to reduce overlap */
                left: 17px; /* Centered with a slight offset */
                width: 313px;
                height: 450px;
                background-color: rgba(255, 255, 255);
                padding: 20px;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
                z-index: 1;
                overflow: hidden;
            }
            .kyokushin-card {
                border: 1px solid #fff;
                padding: 20px;
                color: #fff;
                width: 313px;
                height: 264px;
                margin-left: -45px;
                box-sizing: border-box;
                position: relative;
            }
        }