@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 !important;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

/* General Navbar Styles */
.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 50px 40px;
    background-color: #000;
    position: relative;
    z-index: 10;
    height: 129px;
}
.logo{
    text-decoration: none;
    margin-left: 20px;
    color: #CC3232;
    font-size: 24px; /* Scaled for mobile */
    font-weight: bold;
    text-transform: uppercase;
}

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

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

.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: 26px;
    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 */
}
/* 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;
}

@media (max-width: 425px) {
    .logo{
        margin-top: 14px;
        font-size: 18px;
    }
    .navbar{
        position: sticky; /* Sticky positioning */
        top: 0; /* Stick to the top of the viewport */
        z-index: 1000; /* Ensure it stays above other elements */
        width: 420px;
        height: 60px;
        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;
    }
}


@media (max-width: 425px) {
    .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: 60px;
        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;
    }
}

@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 */
    }
}
@media(min-width: 768){
    .navbar{
        position: sticky; /* Sticky positioning */
        top: 0; /* Stick to the top of the viewport */
        z-index: 1000; /* Ensure it stays above other elements */
        padding: 50px 40px;
        height: 70px;
    }
}




/* Instructor card */
/* Modal Content */
/* Popup Design */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    overflow-y: auto; /* Allow scrolling on small screens */
    padding: 10px;
}
.modal-content {
    background: white;
    color: black;
    padding: 20px;
    border-radius: 10px;
    width: 70%;
    max-width: 700px;
    text-align: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #CC3232;
}

/* Modal Text */
.modal-title {
    font-size: 24px;
    color: #CC3232;
    margin-bottom: 5px;
}

.modal-rank {
    font-size: 18px;
    font-weight: bold;
}

.modal-dojo {
    font-size: 16px;
    color: grey;
}

.modal-bio {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 15px;
}

.modal-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 15px;
}
#instructorBio {
    white-space: pre-line;
}
#instructorModal .image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60vh; /* Adjust this based on your layout */
    overflow: hidden; /* Ensures no overflow issues */
}
#instructorModal img {
    max-width: 100%; /* Prevent the image from exceeding the modal width */
    max-height: 80vh; /* Limit the image height to 80% of the viewport height */
    object-fit: cover; /* Ensure the image keeps its aspect ratio */
}
#instructorModal img {
    object-position: top center; /* Moves image focus upward */
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
}

/* Section Styling */
.instructors {
    text-align: center;
    padding: 20px 90px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Title Styling */
.title {
    max-width: 1200px;
    text-align: left;
    text-transform: uppercase;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 16px;
}

.description {
    text-align: left;
    max-width: 1200px;
    font-size: 18px;
    margin-bottom: 40px;
    color: #FFFFFF;
}

/* Grid Layout */
.grid {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(282px, 1fr));
    gap: 24px;
    justify-content: center; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.card {
    position: relative;
    width: 282px;
    background-color: #fff;
    color: #000;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 282px; /* Fixed width */
    height: 356px; /* Fixed height */
    display: block;
    object-position: top center;
    object-fit: cover;
}

/* Overlay Info Styling */
.info {
    position: absolute;
    bottom: 0;
    width: 282px; /* Fixed width */
    height: 98px; /* Fixed height */
    background-color: #CC3232;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info h3 {
    text-transform: uppercase;
    font-size: 24px; /* First name */
    font-weight: bold;
    margin-bottom: 4px;
}

.info p {
    text-transform: uppercase;
    font-size: 14px; /* Last name */
    font-weight: normal;
}


@media (max-width:1024px){
    .nav-links{
        gap: 20px;
    }
    .logo{
        font-size: 18px;
        align-items: center;
    }
    .nav-links a{
        font-size: 12px;
    }
    .grid {
        /* display: grid;
        grid-template-columns: repeat(auto-fit, minmax(282px, 1fr));
        gap: 24px;
        justify-content: center; */
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
}
@media (min-width:1024px){
    .btn {
        width: 150px;}
        .modal-content{
            margin-top: 150px;
        }
}
/* Responsive Design */
@media (max-width: 768px) {
    .modal-content{
        width: 85%;
        margin-top: 200px;
    }
    .navbar{
        position: sticky;
        top: 0px;
    }
    .logo{
    font-size: 18px;
    }
    .nav-buttons,.nav-links{
        display: none;
    }
    .title {
        font-size: 32px;
    }

    .description {
        font-size: 18px;
    }

    .grid {
        /* display: grid;
        grid-template-columns: repeat(auto-fit, minmax(282px, 1fr));
        gap: 24px;
        justify-content: center; */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 1200px;
        margin: 0 auto;
    }
}


/* End of CArds*/
@media (max-width:425px){
    .hamburger {
        display: flex; /* Ensure hamburger is visible on smaller screens */
    }
    .footer{
        display: none;
    }
    .line{
        margin-top: 20px;
    }
    .copyright p{
        font-size: 10px;
    }
    .footer-insta{
        width:16px ;
        height: 16px;
    }
    .footer-tiktok{
        width:16px ;
        height: 16px;
    }
    .grid {
        /* display: grid;
        grid-template-columns: repeat(auto-fit, minmax(282px, 1fr));
        gap: 24px;
        justify-content: center; */
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
        max-width: 475px;
    }
    .instructors {
        text-align: center;
        padding: 24px 50px;
    }
    .title {
        font-size: 24px;
     }
    
    .description {
        font-size: 16px;
    }
    .line1{
        display: none;
    }
}


.line1{
    margin-top: 80px;
    margin-bottom: 80px;
}



/* Footer */

/* 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;
}

/* 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 (max-width: 375px){
    .logo{
        font-size: 18px;
    }
    .title {
        font-size: 24px;
     }
    .instructors {
        text-align: center;
        padding: 24px 45px;
    }
    .footer-insta{
        width:16px ;
        height: 16px;
    }
    .footer-tiktok{
        width:16px ;
        height: 16px;
    }
}

/* 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) {
    .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;
    }
}
@media (min-width: 1024px) {
    .floating-contact {
        font-size: 18px;
        padding: 14px 28px;
    }
}
@media (min-width: 1440px) {
    .floating-contact {
        font-size: 20px;
    }
}


