  /* General Styles */
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
    overflow-x: hidden;
    
}


h1, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #01ffb3;
}

p {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #838383;
    font-size: small;
}


ul {
    list-style: none;
    padding: 0;
    scale: 0.8;
}

.hero-section {
    position: relative;
    height: 100vh; /* Increased height for better appearance */
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('image1.jpg') no-repeat center center/cover;
    color: #ffffff; /* Updated text color for better visibility */
    text-align: left;
    padding: 0 20px;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 28, 64, 0.7); /* Dark blue overlay for better text contrast */
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlighted-text {
    color: #ffffff; /* Accent color for emphasis */
    display: block;
}

.typewriter-text-item {
    font-size: 2rem;
    margin-top: 10px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 20px;
    max-width: 600px;
}

.scroll-down {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #64ffda; /* Button background color */
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.scroll-down:hover {
    background-color: #52e0b5;
}

.hero-image {
    position: absolute;
    bottom: 20px;
    right: 20px;
    max-width: 200px;
    z-index: 2;
}



/* Sidebar Toggle Button - Hide on PC Devices */
.menu-toggle {
    display: none; /* Hide by default */
}
/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar li {
    position: relative;
    margin: 0 1em;
}

.navbar .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    display: block;
    padding: 0.5em 0;
}

.navbar .nav-link:hover {
    color: #f06292;
}

.navbar .logo {
    position: absolute;
    left: 20px;
    height: 70px;
    width: auto;
    top: -3px;
}


/* Sidebar for Mobile */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        justify-content: flex-start;
        height: 100%;
        width: 250px;
        background: rgba(0, 0, 0, 0.9);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        align-items: flex-start;
    }

    .navbar ul {
        flex-direction: column;
        padding: 2em 0;
        height: 100%;
        width: 100%;
    }

    .navbar li {
        margin: 1em 0;
    }

    .navbar .nav-link {
        padding: 1em 2em;
        font-size: 1.2em;
    }

    .navbar.active {
        transform: translateX(0);
    }

    .menu-toggle {
        display: block; /* Show toggle button on mobile devices */
        position: fixed;
        top: 20px;
        left: 20px;
        background: none;
        border: none;
        color: #fff;
        font-size: 2em;
        z-index: 3;
        cursor: pointer;
    }

    .navbar .logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        height: 60px;
    }
}

/* Dropdown Button */
.navbar .dropdown .dropbtn {
    background: none;
    border: none;
    color: #fff; /* Keeping the button text white */
    text-decoration: none;
    font-size: 1em;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    padding: 0.5em 0; /* Vertical padding for consistency */
    transition: color 0.3s ease, background-color 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar .dropdown .dropbtn .arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Dropdown Content (Mega Menu) */
.navbar .dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* Aligns dropdown below the button */
    left: 0;
    background: rgba(255, 255, 255, 0.9); /* Slightly less transparent white background */
    backdrop-filter: blur(15px); /* Enhanced blur effect */
    border-radius: 15px; /* Rounded corners */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* Deeper shadow for more depth */
    z-index: 1;
    min-width: 350px; /* Adequate width for a better layout */
    padding: 1.5em; /* Increased padding for better spacing */
    display: flex;
    flex-wrap: wrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    transform: translateY(15px); /* Slightly more pronounced initial position */
}

/* Dropdown Columns */
.navbar .dropdown-content .column {
    width: 50%; /* Balanced column width */
    padding: 0 1em;
    box-sizing: border-box;
}

/* Links in Dropdown */
.navbar .dropdown-content a {
    display: block;
    color: #333; /* Darker text color for better contrast */
    padding: 14px 20px; /* More padding for larger clickable area */
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
    border-radius: 10px; /* Slightly larger border-radius for links */
    transform: translateX(-10px); /* Initial slide effect */
}

/* Hover Effects for Links */
.navbar .dropdown-content a:hover {
    background-color: #f06292; /* Smooth hover effect */
    color: #fff;
    transform: translateX(0); /* Reset slide effect on hover */
}

/* Button Styling in Dropdown */
.navbar .dropdown-content .btn {
    display: block;
    padding: 14px 20px;
    margin-top: 1em;
    background-color: #64ffda; /* Vibrant accent color */
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    transform: translateY(-5px); /* Initial subtle lift effect */
}

/* Button Hover Effects */
.navbar .dropdown-content .btn:hover {
    background-color: #f06292; /* Button hover effect */
    color: #fff;
    transform: translateY(0); /* Reset lift effect on hover */
}

/* Show Dropdown on Hover */
.navbar .dropdown:hover .dropdown-content {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0); /* Reset position on hover */
}

/* Rotate Arrow on Hover */
.navbar .dropdown:hover .dropbtn .arrow {
    transform: rotate(180deg); /* Rotate arrow on hover */
    transition: transform 0.4s ease; /* Smooth rotation effect */
}
@media (max-width: 768px) {
    .navbar .dropdown .dropbtn {
        padding-left: 2.4em; /* Adjust this value to align the "Courses" link */
    }
}




 /* About Section - Super Top Tier World Class */
 .about-section {
    padding: 11em 1em;
    background: linear-gradient(145deg, #4db6ac, #009688, #00796b); /* Lighter teal-green gradient */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(20px) saturate(150%);
    z-index: 1; /* Ensure the section is above other content */
    transform: scale(0.8); /* Scale down the section to 80% */
    transform-origin: top center; /* Scale from the top-center to avoid shifting */
    width: 125%; /* Compensate for scaling to ensure full width */
    height: auto; /* Auto height to maintain aspect ratio */
    left: -170px;
    margin-bottom: -12em; /* Adjust margin to remove gap below */
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, #00796b, #4db6ac, #00bfae, #00796b); /* Teal and light teal conic gradient */
    animation: rotateBackground 20s infinite linear;
    transform-origin: center;
    opacity: 0.3; /* Increased opacity for more visibility */
    z-index: 0; /* Ensure the background is behind other content */
}

@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.about-heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensure the container spans the full width of its parent */
    margin-bottom: 2em; /* Adjust spacing as needed */
    position: relative;
}

.about-heading {
    text-align: center;
    font-size: 3.5em;
    font-weight: bold;
    color: #ffffff;
    margin: 0; /* Reset margin to ensure proper centering */
    font-family: 'Poppins', sans-serif;
    letter-spacing: 2px;
    position: relative; /* For positioning the underline */
    display: inline-block; /* Ensure the heading takes only the space needed */
}

.about-heading::after {
    content: '';
    display: block;
    width: 60%; /* Percentage of the heading's width */
    border-radius: 25px;
    height: 5px;
    background: #000000; /* Teal color for underline */
    transition: width 0.3s ease-in-out, transform 0.3s ease-in-out;
    position: absolute;
    left: 50%;
    bottom: -10px; /* Position it below the text */
    transform: translateX(-50%); /* Center it under the text */
}

.about-heading:hover::after {
    width: 100%; /* Cover full width of the heading on hover */
    transform: translateX(-50%) scaleX(1.1); /* Slightly scale the underline */
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    perspective: 1000px;
    animation: fadeInUp 1.5s ease-out;
    z-index: 1; /* Ensure content is above the background */
    /* Removed scale: 0.8; if scaling is applied to the section */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(20deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.about-image {
    position: relative;
    perspective: 1000px;
}

.about-image img {
    width: 620px; /* Larger image */
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    transform: perspective(1000px) rotateY(10deg);
    z-index: 2;
    position: relative;
    object-fit: contain; /* Ensure the entire image is visible within the specified dimensions */
}

.about-image img:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    z-index: 3;
}

.about-text {
    max-width: 600px;
    padding: 2em;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    backdrop-filter: blur(15px) saturate(120%);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: textAppear 1.5s ease-out 0.5s forwards;
    opacity: 0;
    font-family: 'Poppins', sans-serif;
    transform: translateZ(0) translateY(0); /* Adjusted for initial state */
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

@keyframes textAppear {
    from {
        opacity: 0;
        transform: translateY(50px) rotateX(10deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.about-text p {
    margin-bottom: 1.5em;
    line-height: 1.8;
    color: #333;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Poppins', sans-serif;
    animation: fadeIn 2s ease-out;
}

/* Simple Fade-In Animation for Paragraphs */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hover Effect for .about-text */
.about-text:hover {
    transform: translateY(-15px) scale(1.05); /* Lifts up by 15px on hover */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px) saturate(150%);
    transition: transform 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
/* Media Queries for Mobile Devices */
@media (max-width: 767px) {

    /* About Section Adjustments for Mobile */
    .about-section {
        padding: 6em 0.5em;
        transform: scale(1); /* Remove scaling for mobile */
        width: 96%; /* Slightly decrease the width for a better fit */
       left: 2px;
        margin-bottom: 0; /* Reset margin */
    }

    .about-content {
        flex-direction: column; /* Stack the image above the text */
        align-items: center;
        justify-content: center;
    }

    .about-image {
        margin-bottom: 2em; /* Add spacing below the image */
        transform: none; /* Reset any transforms */
    }

    .about-image img {
        width: 100%; /* Make the image fit perfectly */
        max-width: 100%; /* Ensure it doesn't exceed the container width */
        height: auto; /* Maintain aspect ratio */
        transform: none; /* Reset transforms for mobile */
    }

    .about-text {
        max-width: 100%; /* Full width for the text box */
        padding: 1.5em;
        margin-top: 0; /* Reset margin */
        transform: none; /* Reset transforms for mobile */
        text-align: center; /* Center text on mobile */
    }

    .about-heading {
        font-size: 2.5em; /* Smaller font size for heading */
    }

    .about-heading::after {
        width: 80%; /* Adjust underline width for mobile */
    }
}







/* Our Events Section */
.events-section {
    padding: 60px 20px;
    background-color: #f4f4f9;
}

.events-heading-container {
    text-align: center;
    margin-bottom: 40px;
}

.events-heading {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
}

.event-image {
    width: 100%;
    height: auto;
}

.event-info {
    padding: 20px;
}

.event-info h3 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 10px;
}

.event-info p {
    font-size: 1rem;
    color: #555;
}

/* Football Club Section */
.football-club-heading-container {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.football-club-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.football-club-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.football-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.football-card:hover {
    transform: translateY(-10px);
}

.football-image {
    width: 100%;
    height: auto;
}

.football-info {
    padding: 20px;
}

.football-info h3 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 10px;
}

.football-info p {
    font-size: 1rem;
    color: #555;
}

/* Lightbox Styles */
.lightbox {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.lightbox-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    cursor: default; /* Ensure the cursor does not change over the lightbox image */
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer; /* Indicates the close button is clickable */
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: #f1f1f1;
}

.lightbox-caption {
    margin: 15px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
}

/* Ensure cursor changes to pointer for clickable elements */
.lightbox-trigger {
    cursor: pointer; /* Indicates the image is clickable */
}



/* Courses Section */
.courses-section {
    padding: -1em 2em;
    background: linear-gradient(to bottom, rgba(0, 43, 36, 0.1), rgba(0, 43, 36, 0.05)); /* Darker gradient */
    position: relative;
    overflow: hidden;
    animation: fadeIn 2s ease-out forwards;
    text-align: center;
    margin-top: -30px;
    margin-bottom: 20px;
}

/* Section Title */
.courses-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5em;
    color: #004d40; /* Dark green */
    margin-bottom: 1em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInTitle 1.5s ease-out forwards;
    scale: 0.8;
}

/* Decorative Line Under Title */
.courses-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 3px;
    background: #004d40; /* Dark green */
    border-radius: 5px;
    animation: expandLine 1.5s ease-out forwards;
}

/* Centered Grid Layout */
.courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2em;
    perspective: 1000px;
    transform-style: preserve-3d;
    transform: scale(0.8);
}

/* Course Card Design */
.course-card {
    max-width: 300px;
    height: 340px;
    padding: 2em;
    border: none;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 30px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    background: #fff; /* Set background to solid white */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; /* Smooth transitions */
    transform-style: preserve-3d; /* Ensure consistent 3D effect */
    position: relative;
    z-index: 1;
    backface-visibility: hidden; /* Prevent flickering by hiding backface */
    will-change: transform, box-shadow, background; /* Optimize for smooth transitions */
}

/* Floating Animation for Course Cards */
.course-card:hover {
    transform: translateY(-8px) rotateY(2deg) rotateX(2deg); /* Slightly reduced adjustment */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 35px 60px rgba(0, 0, 0, 0.3); /* Adjust shadow for smoother effect */
    background: #fff; /* Ensure background stays solid on hover */
}

/* Ensure smoother background transition */
.course-card:hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease; /* Smooth background change */
}

/* Course Card Title */
.course-card h3 {
    margin-bottom: 1em;
    font-family: 'Poppins', sans-serif;
    color: #004d40; /* Dark green */
    font-size: 1.5em;
    animation: slideIn 1s ease-out forwards;
}

/* Course Card List Items */
.course-card ul {
    list-style-type: disc; /* Adds bullet points */
    padding-left: 0.1em; /* Adjusts indentation for bullet points */
    margin: 0; /* Remove default margin */
    font-size: 1.15em; /* Increased font size */
    color: #333; /* Dark gray */
    font-weight: bold; /* Makes text bold */
    position: relative;
    top: -30px; /* Move the entire list up */
}

/* Optional: Style for list items */
.course-card li {
    margin-bottom: 0.5em; /* Spacing between list items */
    font-weight: bold; /* Makes text bold */
    text-align: left; /* Ensures text is aligned properly */
}

/* View Details Button */
.view-details {
    background-color: #004d40; /* Dark green */
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    font-size: 1em;
    transition: background-color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    position: absolute; /* Ensure button stays within the card */
    bottom: 20px; /* Position the button 20px from the bottom */
    left: 50%;
    transform: translateX(-50%);
}

.view-details:hover {
    background-color: #00695c; /* Lighter green */
}

/* Expanded Course Card */
.course-card.expanded {
    height: auto; /* Expand height */
    background: rgba(255, 255, 255, 1);
    padding-bottom: 60px; /* Add padding to make room for the button */
}



/* Keyframes */
@keyframes fadeInDetails {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Floating Decorative Elements */
.courses-section::before,
.courses-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 77, 64, 0.1); /* Light green */
    border-radius: 50%;
    filter: blur(100px);
    animation: float 6s ease-in-out infinite;
}

.courses-section::before {
    top: -100px;
    left: -100px;
}

.courses-section::after {
    bottom: -100px;
    right: -100px;
}


/* Keyframe Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    0% { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes fadeInTitle {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes expandLine {
    0% { width: 0; }
    100% { width: 80px; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Our Teachers Section */
.our-teachers-section {
    padding: 2em 1em;
    background: linear-gradient(to bottom, #003d34, #004d40, #00251a);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: fadeIn 2s ease-out forwards;
}

.our-teachers-section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2em;
    color: #e0e0e0;
    margin-bottom: 0.5em;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5em;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInTitle 1.5s ease-out forwards;
}

/* Teacher Cards */
.teachers-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 1.5em;
}

/* Individual Teacher Card */
.teacher-card {
    max-width: 200px;
    height: 400px; /* Reduced height */
    padding: 1.5em;
    border-radius: 15px;
    background: rgba(30, 30, 30, 0.8);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

/* Teacher Card Image */
.teacher-card img {
    border-radius: 50%;
    margin-bottom: 0.5em;
    width: 120px; /* Reduced image size */
    height: 120px; /* Reduced image size */
    object-fit: cover;
    border: 4px solid #6e40c3;
    transition: border-color 0.6s ease;
}

/* Teacher Card Title */
.teacher-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2em; /* Adjusted font size */
    color: #ffffff;
    margin-bottom: 0.3em;
    transition: color 0.6s ease;
}

/* Teacher Card Description */
.teacher-card p {
    font-size: 0.85em; /* Adjusted font size */
    color: #d0d0d0;
    margin-bottom: 0.8em; /* Reduced margin */
    transition: color 0.6s ease;
}

/* Teacher Card Bullet Points */
.teacher-card ul {
    list-style: disc;
    padding-left: 1em; /* Adjusted padding */
    text-align: left;
    color: #d0d0d0;
    font-size: 0.75em; /* Slightly smaller font size */
}

/* Hover Effect for Teacher Cards */
.teacher-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 20px rgba(110, 64, 195, 0.8);
    background: rgba(30, 30, 30, 0.9);
}

/* Hover Effect for Teacher Card Image */
.teacher-card img:hover {
    border-color: #8e2de2;
}

/* Hover Effect for Teacher Card Title */
.teacher-card h3:hover {
    color: #f0f0f0;
}

/* Hover Effect for Teacher Card Description */
.teacher-card p:hover {
    color: #e0e0e0;
}

/* Keyframe Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInTitle {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* Media Queries for Our Teachers Section */

/* For small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .our-teachers-section {
        padding: 1em 0.5em;
    }

    .our-teachers-section h2 {
        font-size: 1.5em;
        margin-bottom: 0.3em;
    }

    .teachers-grid {
        flex-direction: column;
        gap: 1em;
        align-items: center; /* Center the teacher cards */
    }

    .teacher-card {
        max-width: 100%;
        height: auto;
        padding: 1em;
    }

    .teacher-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 0.3em;
    }

    .teacher-card h3 {
        font-size: 1em;
    }

    .teacher-card p {
        font-size: 0.75em;
        margin-bottom: 0.5em;
    }

    .teacher-card ul {
        padding-left: 0.5em;
        font-size: 0.7em;
    }
}

/* For medium mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .our-teachers-section {
        padding: 1.5em 1em;
    }

    .our-teachers-section h2 {
        font-size: 1.8em;
    }

    .teachers-grid {
        flex-direction: column;
        gap: 1.2em;
        align-items: center; /* Center the teacher cards */
    }

    .teacher-card {
        max-width: 90%;
        height: auto;
        padding: 1.2em;
    }

    .teacher-card img {
        width: 100px;
        height: 100px;
    }

    .teacher-card h3 {
        font-size: 1.1em;
    }

    .teacher-card p {
        font-size: 0.8em;
    }

    .teacher-card ul {
        padding-left: 0.7em;
    }
}

/* For larger mobile devices and tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .our-teachers-section {
        padding: 2em 1em;
    }

    .our-teachers-section h2 {
        font-size: 2em;
    }

    .teachers-grid {
        flex-wrap: wrap;
        justify-content: center; /* Center the teacher cards */
        gap: 1.5em;
    }

    .teacher-card {
        max-width: 45%;
        height: auto;
        padding: 1.5em;
    }

    .teacher-card img {
        width: 110px;
        height: 110px;
    }

    .teacher-card h3 {
        font-size: 1.2em;
    }

    .teacher-card p {
        font-size: 0.85em;
    }

    .teacher-card ul {
        padding-left: 0.8em;
    }
}
/* Media Queries for Our Teachers Section */

/* For small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    .our-teachers-section {
        padding: 1em 0.5em;
    }

    .our-teachers-section h2 {
        font-size: 1.5em;
        margin-bottom: 0.3em;
    }

    .teachers-grid {
        flex-direction: column;
        gap: 1em;
        align-items: center; /* Center the teacher cards */
    }

    .teacher-card {
        max-width: 100%;
        height: auto;
        padding: 1em;
    }

    .teacher-card img {
        width: 80px;
        height: 80px;
        margin-bottom: 0.3em;
    }

    .teacher-card h3 {
        font-size: 1em;
    }

    .teacher-card p {
        font-size: 0.75em;
        margin-bottom: 0.5em;
    }

    .teacher-card ul {
        padding-left: 0.5em;
        font-size: 0.7em;
    }
}

/* For medium mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    .our-teachers-section {
        padding: 1.5em 1em;
    }

    .our-teachers-section h2 {
        font-size: 1.8em;
    }

    .teachers-grid {
        flex-direction: column;
        gap: 1.2em;
        align-items: center; /* Center the teacher cards */
    }

    .teacher-card {
        max-width: 90%;
        height: auto;
        padding: 1.2em;
    }

    .teacher-card img {
        width: 100px;
        height: 100px;
    }

    .teacher-card h3 {
        font-size: 1.1em;
    }

    .teacher-card p {
        font-size: 0.8em;
    }

    .teacher-card ul {
        padding-left: 0.7em;
    }
}

/* For larger mobile devices and tablets (max-width: 1024px) */
@media (max-width: 1024px) {
    .our-teachers-section {
        padding: 2em 1em;
    }

    .our-teachers-section h2 {
        font-size: 2em;
    }

    .teachers-grid {
        flex-wrap: wrap;
        justify-content: center; /* Center the teacher cards */
        gap: 1.5em;
    }

    .teacher-card {
        max-width: 45%;
        height: auto;
        padding: 1.5em;
    }

    .teacher-card img {
        width: 110px;
        height: 110px;
    }

    .teacher-card h3 {
        font-size: 1.2em;
    }

    .teacher-card p {
        font-size: 0.85em;
    }

    .teacher-card ul {
        padding-left: 0.8em;
    }
}





/* Testimonials Section */
.testimonials-section {
    padding: 3em 1em; 
    background: linear-gradient(to bottom, #4cd3c1, #ffffff);
    position: relative;
    overflow: hidden;
    animation: fadeIn 2s ease-out forwards;
    text-align: center;
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5em; 
    perspective: 1500px;
}

.testimonial {
    margin: 1.5em;
    max-width: 400px;
    padding: 2em; 
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.testimonial:hover {
    transform: scale(1.05); 
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.5); 
}

.testimonial img {
    width: 100%; 
    height: auto;
    border-radius: 0; 
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial:hover img {
    transform: scale(1); 
}

.testimonial span {
    display: block;
    margin-top: 1em; 
    font-weight: bold;
    color: #00796b;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 1px;
    animation: fadeIn 2s ease-out forwards;
}

.testimonials-section::before,
.testimonials-section::after {
    content: '';
    position: absolute;
    width: 200px; 
    height: 200px; 
    background: rgba(0, 121, 107, 0.1);
    border-radius: 50%;
    filter: blur(50px);
    animation: float 6s ease-in-out infinite;
}

.testimonials-section::before {
    top: -50px;
    left: -50px;
}

.testimonials-section::after {
    bottom: -50px;
    right: -50px;
}

/* Keyframe Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* View All Results Button */
.view-results-btn {
    display: inline-block;
    margin-top: 2em;
    padding: 0.5em 1.5em; /* Smaller button size */
    background: linear-gradient(to right, #00796b, #4cd3c1);
    color: #ffffff;
    font-size: 1em; /* Smaller font size */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 121, 107, 0.4);
    transition: all 0.7s ease; /* Smooth and slow transition */
    position: relative;
    z-index: 1;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none; /* Remove underline */
}

.view-results-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: width 0.7s ease, height 0.7s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.view-results-btn:hover::before {
    width: 250%;
    height: 250%;
}

.view-results-btn:hover {
    background: linear-gradient(to right, #005f54, #3cbba1);
    box-shadow: 0 20px 40px rgba(0, 121, 107, 0.5);
    transform: translateY(-3px);
}

/* Contact Section */
.contact-section {
    padding: 1.6em 1.2em; /* Reduced padding by 20% */
    background: linear-gradient(to bottom right, rgba(0, 121, 107, 0.8), rgba(193, 218, 213, 0.8));
    border-radius: 16px; /* Reduced border-radius by 20% */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3); /* Reduced box-shadow by 20% */
    position: relative;
    overflow: hidden;
    animation: fadeIn 2s ease-out forwards;
    text-align: center;
}

/* Background Animation */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05), rgb(231, 226, 226) 60%);
    animation: rotateBackground 30s infinite linear, pulseBackground 10s infinite alternate;
    z-index: 0;
    pointer-events: none; /* Prevent interaction with the background */
}

/* Text Styling */
.contact-section h2 {
    margin-bottom: 1.2em; /* Reduced margin by 20% */
    font-family: 'Poppins', sans-serif;
    font-size: 1.76em; /* Reduced font-size by 20% */
    color: #fff;
    text-shadow: 0 1.6px 4px rgba(0, 0, 0, 0.3); /* Reduced text-shadow by 20% */
}

.contact-section p {
    margin-bottom: 0.8em; /* Reduced margin by 20% */
    font-family: 'Poppins', sans-serif;
    font-size: 0.88em; /* Reduced font-size by 20% */
    line-height: 1.28; /* Reduced line-height by 20% */
    color: #e0f7fa;
    position: relative;
    z-index: 1;
    animation: slideIn 1.5s ease-out forwards;
    transition: transform 0.3s ease;
}

/* Link Styling */
.contact-section a {
    color: #e0f7fa;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.contact-section a:hover {
    color: #004d40;
    text-shadow: 0 0 8px rgba(0, 121, 107, 0.7), 0 0 16px rgba(0, 121, 107, 0.5); /* Reduced text-shadow by 20% */
}

/* Contact Info */
.contact-info {
    margin-bottom: 1.2em; /* Slightly reduced margin */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8em; /* Slightly reduced gap */
}

.contact-info p {
    margin: 0.4em 0; /* Slightly reduced margin */
    padding: 0.7em 1.2em; /* Slightly reduced padding */
    background: rgba(70, 131, 182, 0.74); /* Transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    color: #fff;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2); /* Slightly reduced shadow */
    font-size: 0.8em; /* Slightly reduced font size */
    position: relative;
    z-index: 1;
}

.contact-icon {
    font-size: 1em; /* Slightly reduced icon size */
    margin-right: 0.4em; /* Slightly reduced margin */
}

.phone-number, .email-address {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.phone-number:hover, .email-address:hover {
    color: #e0f7fa;
    text-shadow: 0 0 10px rgba(224, 247, 250, 0.7), 0 0 20px rgba(224, 247, 250, 0.5);
}



/* Form Elements */
.contact-form {
    max-width: 400px; /* Reduced max-width by 20% */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2em; /* Reduced gap by 20% */
    font-family: 'Poppins', sans-serif;
    animation: zoomIn 1.8s ease-out forwards;
    position: relative;
    z-index: 1;
    padding-left: 0; /* No change needed here */
}

.contact-form .form-group {
    position: relative;
}

.contact-form input,
.contact-form textarea {
    width: 90%; /* No change needed */
    padding: 0.8em; /* Reduced padding by 20% */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px; /* Reduced border-radius by 20% */
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3.2px 8px rgba(0, 0, 0, 0.2); /* Reduced shadow intensity by 20% */
    transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    z-index: 1;
    padding-right: 2.4em; /* Reduced padding by 20% */
    color: #333;
    text-align: left; /* No change needed */
}

/* Placeholder Styling */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(51, 51, 51, 0.6);
}

.contact-form input:hover,
.contact-form textarea:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4.8px 12px rgba(0, 0, 0, 0.3); /* Reduced box-shadow by 20% */
    transform: scale(1.016); /* Slightly reduced scaling effect */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4.8px 16px rgba(0, 0, 0, 0.4); /* Reduced box-shadow by 20% */
    transform: scale(1.016); /* Slightly reduced scaling effect */
}

/* Icons inside inputs */
.contact-form .form-group .icon {
    position: absolute;
    top: 50%;
    left: 0.8em; /* Reduced left position by 20% */
    transform: translateY(-50%);
    font-size: 0.96em; /* Reduced font-size by 20% */
    color: #00796b;
}

.contact-form .email-icon {
    color: #00796b;
}

.contact-form .phone-icon {
    color: #004d40;
}

/* Submit Button */
.contact-form input[type="submit"] {
    background: #004d40;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.4); /* Reduced shadow intensity by 20% */
    position: relative;
    z-index: 1;
    border-radius: 20px; /* Reduced border-radius by 20% */
    left: 4.64%; /* Reduced left position by 20% */
    padding: 0.6em 1.2em; /* Reduced padding by 20% */
    font-size: 0.8em; /* Reduced font-size by 20% */
    text-align: center; /* No change needed */
}

.contact-form input[type="submit"]:hover {
    background: #00332e;
    transform: translateY(-2.4px); /* Reduced translate effect by 20% */
    box-shadow: 0 8px 16px rgba(0, 77, 64, 0.6); /* Reduced shadow intensity by 20% */
}



/* Pulsing Background Effect */
@keyframes pulseBackground {
    0% {
        background: radial-gradient(circle, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 60%);
    }
    100% {
        background: radial-gradient(circle, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 60%);
    }
}

/* Rotating Background Animation */
@keyframes rotateBackground {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Keyframe Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes zoomIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}


/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 50, 46, 0.9), rgba(0, 0, 0, 0.9)); /* Darker gradient */
    color: #fff;
    text-align: center;
    padding: 0.8em 0.8em; /* Reduced height by 20% */
    position: relative;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 -1.6px 8px rgba(0, 0, 0, 0.3); /* Darker shadow */
    border-top: 0.8px solid rgba(255, 255, 255, 0.2); /* Reduced border thickness */
    z-index: 10;
}

/* Footer Text */
.footer p {
    margin: 0;
    font-size: 0.64em; /* Reduced font size by 20% */
    color: #e0f2f1; /* Light color for better visibility */
}

.footer .social-links {
    margin: 0.4em 0; /* Reduced margin by 20% for lower height */
    display: flex;
    justify-content: center;
    gap: 0.8em; /* Reduced gap by 20% */
}

.footer .social-links a {
    font-size: 1.2em; /* Reduced font size by 20% */
    transition: transform 0.3s ease;
}

.footer .social-links a:hover {
    transform: scale(1.2);
}

/* Social Media Icons Color */
.footer .social-links a.instagram {
    color: #C13584; /* Instagram original color */
}

.footer .social-links a.facebook {
    color: #1877F2; /* Facebook original color */
}

.footer .social-links a.twitter {
    color: #1DA1F2; /* Twitter original color */
}

.footer .social-links a.linkedin {
    color: #0A66C2; /* LinkedIn original color */
}

.footer .social-links a.youtube {
    color: #FF0000; /* YouTube original color */
}

/* Contact Details */
.footer .contact-details {
    margin-top: 0.4em; /* Reduced margin by 20% for lower height */
    color: #e0f2f1; /* Light color for better visibility */
}

.footer .contact-details h2 {
    margin-bottom: 0.4em; /* Reduced margin by 20% */
    font-size: 0.96em; /* Slightly smaller font size by 20% */
    color: #ffffff; /* White color for headings */
}

.footer .contact-details p {
    margin: 0.4em 0; /* Reduced margin by 20% */
    font-size: 0.64em; /* Reduced font size by 20% */
}

/* Add animation for the footer */
.footer .social-links a {
    opacity: 0;
    transform: translateY(16px); /* Adjusted translateY by 20% */
    animation: fadeInUp 1s forwards;
}

.footer .social-links a:nth-child(1) {
    animation-delay: 0.16s; /* Adjusted delay by 20% */
}

.footer .social-links a:nth-child(2) {
    animation-delay: 0.32s; /* Adjusted delay by 20% */
}

.footer .social-links a:nth-child(3) {
    animation-delay: 0.48s; /* Adjusted delay by 20% */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px); /* Adjusted translateY by 20% */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* Social Sidebar */
.social-sidebar {
    position: fixed;
    top: 50%;
    left: 1.2em; /* Move sidebar 1.8em away from the left edge */
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    transition: transform 0.3s ease-in-out;
    z-index: 1000; /* Ensure it stays on top of other elements */
    opacity: 0; /* Start as hidden for animation */
    scale: 0.8;
}

/* Scroll Animation */
.scroll-in {
    opacity: 1;
    transform: translateY(-50%);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Social Icon */
.social-icon {
    background: linear-gradient(135deg, #fff, #f0f0f0);
    color: #555;
    text-decoration: none;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Ensure tooltip positions correctly */
}

.social-icon:hover {
    background: linear-gradient(135deg, #00796b, #004d40);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2), 0 6px 8px rgba(0, 0, 0, 0.15);
}

.social-icon::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    z-index: -1;
    opacity: 0;
}

.social-icon:hover::after {
    opacity: 1;
}

/* Tooltip */
.tooltip {
    display: none;
    position: absolute;
    left: calc(100% + 1em); /* Position tooltip to the right of the icon */
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 0.5em;
    border-radius: 0.25em;
    font-size: 0.8em;
    white-space: nowrap;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1001; /* Ensure tooltip appears on top */
}

.social-icon:hover .tooltip {
    display: block;
    opacity: 1;
    transform: translateY(-60%);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 768px) {
    .social-sidebar {
        top: auto;
        bottom: 0;
        left: 0; /* Reset position on small screens */
        transform: translateY(0);
        flex-direction: row;
        gap: 0.5em;
        padding: 0.5em;
    }

    .social-icon {
        margin: 0;
        padding: 0.75em;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
        background: linear-gradient(135deg, #fff, #f0f0f0);
        transition: none;
    }

    .social-icon:hover {
        transform: scale(1);
        background: linear-gradient(135deg, #00796b, #004d40);
    }
}
