/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}


/* Navbar */
.navbar {
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    transition: background 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Add background color and shadow when scrolling */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9); /* Slightly transparent */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1400px;
}

/* Logo */
.logo {
    font-size: 22px;
    font-weight: bold;
    color: black;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 5px;
}

.logo span{
    font-size: 35px;
    color: #f0a105;
    font-weight: 800;
    font-family: Geneva;
    font-style: italic;
}


/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: black;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
    color: #f0a105;
}

.nav-links .account-icon {
    margin-right: 8px;
    /* color: #333; optional: change icon color */
    /* vertical-align: middle; */
    font-size: 16px; /* optional: control icon size */
}



/* Dropdown Container */
.nav-links .navbar-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Trigger Link */
.nav-links .navbar-dropdown .navbar-dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Dropdown Content (Hidden by Default) */
.nav-links .navbar-dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin-top: 2px;
    border-radius: 5px;

    justify-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}


.nav-links .navbar-dropdown-content li {
    list-style: none;
    /* padding: 0;
    margin: 0; */
}

.nav-links .navbar-dropdown-content li a {
    color: #333;
    padding: 10px 5px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    font-size: 17px;
}

.nav-links .navbar-dropdown-content li a:hover {
    background-color: #f0a105;
    color: white;
}

/* Show Dropdown on Hover */
.nav-links .navbar-dropdown:hover .navbar-dropdown-content {
    display: block;
}

/* Optional: Dropdown Arrow Styling */
.nav-links .navbar-dropdown i.fa-caret-down {
    font-size: 12px;
}




/* Course Link Dropdown Container */
.nav-links .course-navbar-dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Trigger Link */
.nav-links .course-navbar-dropdown .course-navbar-dropbtn {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Dropdown Content (Hidden by Default) */
.nav-links .course-navbar-dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    margin-top: 2px;
    border-radius: 5px;

    justify-items: center;
    list-style-type: none;
    padding: 0;
    margin: 0;
}


.nav-links .course-navbar-dropdown-content li {
    list-style: none;
    /* padding: 0;
    margin: 0; */
}

.nav-links .course-navbar-dropdown-content li a {
    color: #333;
    padding: 10px 5px;
    display: block;
    cursor: pointer;
    text-decoration: none;
    font-size: 17px;
}

.nav-links .course-navbar-dropdown-content li a:hover {
    background-color: #f0a105;
    color: white;
}

/* Show Dropdown on Hover */
.nav-links .course-navbar-dropdown:hover .course-navbar-dropdown-content {
    display: block;
}

/* Optional: Dropdown Arrow Styling */
.nav-links .course-navbar-dropdown i.fa-caret-down {
    font-size: 12px;
}





/* Mobile Menu */
.menu-toggle {
    font-size: 30px;
    cursor: pointer;
    display: none;
    font-weight: 900;
}

.menu-toggle i {
    font-size: 30px;
    color: black;
}




/* Hero Section */

.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.hero-slider {
    /* position: relative;
    width: 100%;
    height: 100%; */

    display: flex;
    /* width: calc(100vw * {{ hero_images|length }});; */
    width: 300vw; /* Tried vw instead of % */
    height: 85%;
    transition: transform 1s ease-in-out;
}

.slide {
    /* position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: opacity 1s ease-in-out;
    display: none; */

    width: 100%;
    height: 85vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    position: relative;
    margin-top: 80px;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.726);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-title {
    font-size: 2rem;
    font-weight: bold;
    font-family: Geneva;
}

.hero-title span {
    font-size: 70px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 10px;
    font-family: 'Gill Sans';
}

.cta-button {
    /* margin-top: 20px;
    display: inline-block;
    padding: 10px 20px;
    background-color: #00d1b2;
    color: white;
    text-decoration: none;
    border-radius: 5px; */

    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background: #f0a105;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    /* font-family:; */
    font-weight: 600;
    transition: background 0.3s;
    animation-name: change;
    animation-duration: 3s;
    animation-iteration-count: infinite;
}

@keyframes change {
    0% { background: #f0a105; border: 2px solid #f0a105;}
    50% { background: #ffc34c; border: 2px solid #ffc34c;} /* Change color at 50% */
    100% { background: #f0a105; border: 2px solid #f0a105;}
}

.cta-button:hover {
    background: #c38e24;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 24px;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}





/* About Section */
.about-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.about-section.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    display: flex;
    /* align-items: center; */
    align-items: start;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
}

.about-image img {
    width: 390px;
    height: 250px;
    border-radius: 10px;
}

.about-text {
    flex: 1;
    padding-left: 20px;
    max-width: 70%;
    transition: max-height 0.5s ease-in-out;
}

.about-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    font-family: Geneva;
}

.short-text {
    font-size: 16px;
    color: #444;
    text-align: justify;
}


.hidden-text {
    /* display: none; */
    /* vertical-align: top; */
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

/* .hidden-text[aria-expanded="false"] {
  opacity: 0;
} */

.hidden-text {
    text-align: justify;
}


.features {
    margin: 20px 0;
}

.feature {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    background: #ddd;
    border-radius: 5px;
    overflow: hidden;
    height: 20px;
    margin-top: -10px;
}

.progress {
    height: 20px;
    background: #f0a105;;
    text-align: center;
    color: white;
    font-size: 14px;
    line-height: 20px;
    padding-left: 8px;
}

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.read-more-btn, .enroll-btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.read-more-btn {
    background: #f0a105;;
    color: white;
    border-radius: 5px;
    font-weight: 600;
}

.enroll-btn {
    background: #054a01;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
}

.read-more-btn:hover {
    background: #ffbd38;;
}

.enroll-btn:hover {
    background: #218838;
}






/* Courses Section */
.course-section {
    margin-top: 80px;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

/* When visible, apply the animation */
.course-section.visible {
    opacity: 1;
}



.course-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 courses per row */
    gap: 20px; /* Adjust spacing between courses */
    padding: 20px;
    max-width: 80%; /* Limits width to 80% of the screen */
    margin: 0 auto; /* Centers the container horizontally */
    /* margin-top: 60px; */
    /* opacity: 0;
    transition: opacity 2.5s ease-in-out; */
}


.course-card {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 15px 0 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.course-card:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
}


/* Image Container */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.image-container img {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, opacity 0.3s;
}

.image-container:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

/* Read More Button */
.read-more {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f0a105;
    color: white;
    padding: 10px 15px;
    font-weight: 700;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-decoration: none;
}

.image-container:hover .read-more {
    opacity: 1;
}


/* Course Header */
.course-header {
    text-align: center; /* Centers the heading */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    width: 100%;
    /* grid-column: span 4;*/ /* Makes the header span across all columns */
    font-family: Geneva;
}

/* Course Details */
.course-details {
    padding: 10px 0;
}

.course-details h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 10px 0;
    color: #333;
}

.course-details p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.course-details .type {
    font-size: 16px;
    margin-bottom: 12px;
}

.course-details .duration {
    font-size: 15px;
    margin-bottom: 15px;
}

/* Price at Bottom Center */
.course-details p.course-price {
    font-size: 17px;
    font-weight: bold;
    color: white;
    margin-top: 15px;
    background-color: #054a01;
    padding: 5px 15px; /* Adjust padding for better fit */
    border-radius: 5px; /* Rounded corners */
    display: inline-block; /* Makes the width fit content */
    margin: 15px auto 0; /* Centers the price */
    text-align: center;
    margin-bottom: -8px;
}





/* Swimming Courses Section */
.swimming-course-section {
    margin-top: 80px;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

/* When visible, apply the animation */
.swimming-course-section.visible {
    opacity: 1;
}



.swimming-course-container {
    display: flex;
    padding: 20px;
    max-width: 80%; /* Limits width to 80% of the screen */
    margin: 0 auto; /* Centers the container horizontally */
    justify-content: center;
    /* margin-top: 60px; */
    /* opacity: 0;
    transition: opacity 2.5s ease-in-out; */
}


.swimming-course-card {
    position: relative;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 15px 0 15px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.swimming-course-card:hover {
    transform: translateY(-5px); /* Slight lift effect on hover */
}


/* Image Container */
.swimming-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.swimming-image-container img {
    width: 100%;
    height: 200px;
    display: block;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, opacity 0.3s;
}

.swimming-image-container:hover img {
    transform: scale(1.1);
    opacity: 0.6;
}

/* Read More Button */
.read-more {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #f0a105;
    color: white;
    padding: 10px 15px;
    font-weight: 700;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    text-decoration: none;
}

.swimming-image-container:hover .read-more {
    opacity: 1;
}


/* Course Header */
.swimming-course-header {
    text-align: center; /* Centers the heading */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    width: 100%;
    /* grid-column: span 4;*/ /* Makes the header span across all columns */
    font-family: Geneva;
}

/* Course Details */
.swimming-course-details {
    padding: 10px 0;
}

.swimming-course-details h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 10px 0;
    color: #333;
}

.swimming-course-details p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.swimming-course-details .type {
    font-size: 16px;
    margin-bottom: 12px;
}

.swimming-course-details .duration {
    font-size: 15px;
    margin-bottom: 15px;
}

/* Price at Bottom Center */
.swimming-course-details p.course-price {
    font-size: 17px;
    font-weight: bold;
    color: white;
    margin-top: 15px;
    background-color: #054a01;
    padding: 5px 15px; /* Adjust padding for better fit */
    border-radius: 5px; /* Rounded corners */
    display: inline-block; /* Makes the width fit content */
    margin: 15px auto 0; /* Centers the price */
    text-align: center;
    margin-bottom: -8px;
}










/* Appointment and Consultation section */
.consultation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f0a105; /* Yellow Background */
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 700px;
    margin: 100px auto;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

/* When visible, apply the animation */
.consultation-container.visible {
    opacity: 1;
}


.consultation-header {
    font-size: 28px;
    font-weight: bolder;
    margin-bottom: 20px;
    font-family: Geneva;
}

/* Form Styling */
.appointment-form {
    width: 100%;
}

.input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.input-group input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    margin-bottom: 15px;
}

/* Submit Button */
.appointment-btn {
    width: 50%;
    padding: 12px;
    background: #054a01; /* Dark Blue */
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.8s ease-in-out;
}

.appointment-btn:hover {
    background: #097903;
}

.appoint-spinner {
    display: none; /* Initially hide the spinner */
    margin-right: 5px; /* Adjust spacing as needed */
}

.fa-spinner {
    font-size: 20px; /* Adjust size as needed */
    color: var(--text-color-widget);
}



/* Feedback Section */

/* Center the section and add spacing */
.feedback-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 80px 0;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.feedback-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}


/* Style the header */
.feedback-header {
    font-size:18px;
    color: #054a01;
    font-weight: bolder;
    margin-bottom: 30px;
    font-family: Geneva;
}

.feedback-subheader{
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    font-family: Geneva;
    font-style: italic;
}


/* Carousel Styling */
.feedback-carousel {
    position: relative;
    width: 80%;
    max-width: 500px;
    overflow: hidden;
    margin: auto; /* Centers the carousel */
    background: transparent; /* Removes background styling */
}

/* Inner Carousel - Enables smooth sliding */
.feedback-carousel-inner {
    display: flex;
    width: 100%;
    transition: transform 1s ease-in-out;
}

/* Individual Slide */
.feedback-carousel-item {
    flex: 0 0 100%;
    /* box-sizing: border-box; */
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Instructor Card */
.feedback-card {
    /* background: white; */
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* Instructor Image */
.feedback-image {
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    margin: auto;
}

.feedback-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback-details{
    margin-top: 15px;
}

.feedback-details .feedback{
    font-size: 16px;
}

.feedback-details h3{
    font-family: "Gill Sans";
    font-weight: 900;
    margin-top: 50px;
    color: #054a01;
}

.feedback-details .feedback-course{
    font-family: 'Times New Roman';
    font-size: 19px;
    margin-top: -3px;
}

.feedback-details .feedback-course span{
    font-weight: 600;
    font-family: 'Times New Roman';
}

.feedback-details p{
    font-size: 18px;
    margin-top: 20px;
}

.feedback-details .feedback-profession {
    margin-top: 20px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.feedback-details .feedback-location {
    font-family: sans-serif;
}



/* Appointment and Consultation section */
.certifications-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 120px 0;
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

/* When visible, apply the Fade-in animation */
.certifications-container.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.certifications-header {
    font-size: 28px;
    font-weight: bolder;
    margin-bottom: 20px;
    font-family: Geneva;
}

.certifications-btn {
    max-width: 50%;
    /* width: 50%; */
    padding: 12px 20px;
    background: #054a01; /* Dark Blue */
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    /* transition: background 0.8s ease-in-out; */
    transition: 0.8s ease-in;
}

/* .certifications-btn a{
    color: #fff;
    transition: 0.5s ease-in;
} */

.certifications-btn:hover {
    background: #097903;
    color: #cac1c1;
}

/* .certifications-btn a:hover {
    
} */





/* Responsive */

/* @media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
}


@media (max-width: 800px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }

    .menu-toggle {
        display: block;
    }
}


@media (max-width: 480px) {
    .logo img {
        height: 35px;
    }

    .menu-toggle i {
        font-size: 26px;
    }

    .btn {
        padding: 6px 12px;
    }
} */


@media (min-width: 1230px) and (max-width: 1450px) {
    .course-container {
        max-width: 95%;
    }

    .course-details h3 {
        font-size: 16px;
    }


    
    
    .consultation-container {
        width: 75%;
        padding: 35px;
    }
}




/* ========= SMALL LAPTOPS & LARGE TABLETS (1025px - 1230px) ========= */
@media (min-width: 1025px) and (max-width: 1230px) {
    .navbar {
        padding: 10px 8px;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .logo span {
        font-size: 28px;
    }

    .logo img {
        height: 45px;
    }



    .slide {
        margin-top: 65px;
    }



    .course-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .course-container {
        max-width: 85%;
    }

    .course-details h3 {
        font-size: 16px;
    }




    .consultation-container {
        width: 80%;
        padding: 30px;
    }

    .consultation-header {
        font-size: 26px;
    }

    .appointment-btn {
        width: 60%;
        font-size: 17px;
    }
}



/* ========= TABLETS (601px - 1024px) ========= */
@media (min-width: 601px) and (max-width: 1024px) {
    .navbar {
        padding: 20px 20px;
    }

    .nav-links li {
        margin: 0 8px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .logo span {
        font-size: 26px;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 12px 0;
    }

    

    .hero {
        width: 100vw;
        height: 60vh;
    }

    .hero-slider {
        width: 300vw; /* Adjust width dynamically */
        height: 60vh;
    }

    .slide {
        width: 100vw;
        height: 60vh;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-title span {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1em;
        padding: 10px 20px;
    }



    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
        margin-bottom: 20px;
    }

    .about-text {
        padding-left: 0;
        max-width: 90%;
    }

    .about-text h2 {
        font-size: 30px;
        font-family: Geneva;
        font-weight: 550;
    }

    .features {
        text-align: left;
    }

    .buttons {
        /* flex-direction: column; */
        gap: 30px;
        align-items: center;
    }

    .read-more-btn, .enroll-btn {
        width: 70%;
    }
    


    .course-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }


    .course-container {
        max-width: 90%;
    }

    .course-details h3 {
        font-size: 16px;
    }

    /* .course-header {
        font-size: 20px;
    }

    .course-card {
        padding: 10px;
    }

    .image-container img {
        height: 180px;
    }

    .course-details h3 {
        font-size: 16px;
    }

    .course-details p {
        font-size: 13px;
    }

    .course-details .type,
    .course-details .duration,
    .course-details .course-price {
        font-size: 14px;
    } */





    .consultation-container {
        width: 90%;
        padding: 25px;
    }

    .input-group {
        flex-direction: column;
    }

    .consultation-header {
        font-size: 22px;
    }

    .input-group input,
    textarea {
        font-size: 15px;
    }

    .appointment-btn {
        width: 70%;
        font-size: 16px;
    }
}


@media (min-width: 850px) and (max-width: 1024px) {
    .course-container {
        max-width: 80%;
    }





    .consultation-container {
        width: 85%;
        padding: 25px;
    }

    .consultation-header {
        font-size: 24px;
    }

    .input-group {
        flex-direction: column;
    }

    .appointment-btn {
        width: 65%;
        font-size: 16px;
    }
}




/* ========= MOBILE PHONES (0 - 600px) ========= */
@media (max-width: 600px) {
    .navbar {
        padding: 10px 15px;
    }

    .nav-links li {
        margin: 0 8px;
    }

    .logo {
        font-size: 14px;
    }

    .logo span {
        font-size: 20px;
    }

    .logo img {
        height: 25px;
        margin-right: 3px;
    }

    .nav-links a {
        font-size: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle i {
        font-size: 24px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 12px 0;
    }

    .nav-links .navbar-dropdown-content li a{
        font-size: 15px;
    }

    .nav-links .course-navbar-dropdown-content li a {
        font-size: 15px;
    }


    .hero {
        width: 100vw;
        height: 50vh;
    }

    .hero-slider {
        width: 300vw; /* Adjust width dynamically */
        height: 50vh;
    }

    .slide {
        width: 100vw;
        height: 50vh;
        margin-top: 65px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-title span {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .cta-button {
        font-size: 0.9em;
        padding: 8px 16px;
    }

    .prev, .next {
        font-size: 18px;
        padding: 7px;
    }




    .about-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-image img {
        width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .about-text {
        padding-left: 0;
        max-width: 95%;
    }

    .features {
        text-align: left;
    }

    .buttons {
        /* flex-direction: column; */
        gap: 10px;
        align-items: center;
    }

    .read-more-btn, .enroll-btn {
        width: 90%;
    }




    .course-container {
        grid-template-columns: 1fr;
    }
    
    /* .course-container {
        max-width: 80%;
    } */

    .course-header {
        font-size: 20px;
    }

    .course-card {
        padding: 10px 10px 0 10px;
    }

    .image-container img {
        height: 180px;
    }

    .course-details h3 {
        font-size: 16px;
    }

    .course-details p {
        font-size: 13px;
    }

    .course-details .type,
    .course-details .duration,
    .course-details .course-price {
        font-size: 14px;
    }





    .consultation-container {
        width: 95%;
        padding: 20px;
    }

    .consultation-header {
        font-size: 20px;
    }

    .input-group {
        flex-direction: column;
        gap: 10px;
    }

    .input-group input,
    textarea {
        font-size: 14px;
        padding: 10px;
    }

    .appointment-btn {
        width: 100%;
        font-size: 15px;
    }

}


@media (min-width: 550px) and (max-width: 600px) {
    .course-container {
        max-width: 70%;
    }
}


@media (max-width: 440px) {

    .read-more {
        font-size: 13px;
    }

}

@media (max-width: 400px) {
    .navbar {
        padding: 10px 2px;
    }

    .nav-links li {
        margin: 0 8px;
    }

    .logo {
        font-size: 12px;
    }

    .logo span {
        font-size: 16px;
    }

    .logo img {
        height: 20px;
        margin-right: 3px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle i {
        font-size: 24px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 12px 0;
    }

    .nav-links .navbar-dropdown-content li a{
        font-size: 13px;
    }

    .nav-links .course-navbar-dropdown-content li a {
        font-size: 13px;
    }





    .hero-title {
        font-size: 1.2rem;
    }

    .hero-title span {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.65rem;
    }

    .cta-button {
        font-size: 0.7em;
        padding: 6px 14px;
    }

    .prev, .next {
        font-size: 16px;
        padding: 7px;
    }



    .about-text h2 {
        font-size: 24px;
        margin-bottom: 10px;
        font-family: Geneva;
    }

    .short-text {
        font-size: 14px;
        color: #444;
        text-align: justify;
    }


    .hidden-text {
        /* display: none; */
        /* vertical-align: top; */
        font-size: 14px;
        max-height: 0px;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }


    .feature {
        margin-bottom: 20px;
        font-size: 14px;
    }


    .buttons {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .read-more-btn, .enroll-btn {
        width: 90%;
    }


    .course-container {
        max-width: 98%;
    }

    /* .course-container {
        max-width: 80%;
    } */

    .swimming-course-container {
        max-width: 98%;
    }

    .swimming-course-header {
        font-size: 20px;
    }

    .swimming-course-card {
        padding: 10px 10px 0 10px;
    }

    .swimming-image-container img {
        height: 180px;
    }

    .swimming-course-details h3 {
        font-size: 16px;
    }

    .swimming-course-details p {
        font-size: 13px;
    }

    .swimming-course-details .type,
    .swimming-course-details .duration,
    .swimming-course-details p.course-price {
        font-size: 14px;
    }




    .consultation-container {
        width: 95%;
        padding: 18px;
    }

    .consultation-header {
        font-size: 18px;
    }

    .appointment-btn {
        font-size: 14px;
        padding: 10px;
    }

}



@media (max-width: 340px) {
    .navbar {
        padding: 10px 0px;
    }

    .nav-links li {
        margin: 0 8px;
    }

    .logo {
        font-size: 10px;
    }

    .logo span {
        font-size: 15px;
    }

    .logo img {
        height: 20px;
        margin-right: 3px;
    }

    .nav-links a {
        font-size: 13px;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle i {
        font-size: 20px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 12px 0;
    }

    .nav-links .navbar-dropdown-content li a{
        font-size: 13px;
    }

    .nav-links .course-navbar-dropdown-content li a {
        font-size: 13px;
    }





    .hero-title {
        font-size: 1rem;
    }

    .hero-title span {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.65rem;
    }

    .cta-button {
        font-size: 0.5em;
        padding: 6px 14px;
    }

    .prev, .next {
        font-size: 12px;
        padding: 7px;
    }




    .swimming-course-container {
        max-width: 100%;
        /* padding: 20px; */
    }






     .consultation-container {
        padding: 15px;
    }

    .consultation-header {
        font-size: 16px;
    }

    .input-group input,
    textarea {
        font-size: 13px;
        padding: 8px;
    }

    .appointment-btn {
        font-size: 13px;
        padding: 10px;
    }
}