.notice-bar {
    background: #019147;
    color: white;
    padding: 10px 0;
    overflow: hidden;
    align-items: center;
    position: relative;
    display: flex;
}

.notice-bar h4 {
    flex-shrink: 0; /* prevents the label from shrinking */
    padding: 0 15px;
    background: #144a22; /* optional: darker shade to make it stand out */
    z-index: 2;
}

.notice-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
    white-space: nowrap;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Top Header */
.top-header {
    background: #ffffff;
    color: rgb(0, 0, 0);
    padding: 8px 0;
    font-size: 12px;
}

.top-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    width: 25px;
    height: 25px;
    background: rgba(241, 233, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mega Menu Panel */

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    width: 800px;
    height: 450px;
    background: #ffffff;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgb(55, 192, 40);
    border-radius: 24px;
    z-index: 99999;
    opacity: 0;
    right: -400px;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
    margin-top: 40px;
    overflow: hidden;
}

.mega-menu.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.nav-menu li.mega-active > .mega-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.mega-menu .content {
    display: flex;
    gap: 40px;
}

.mega-menu img {
    width: 380px;
    height: 330px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mega-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex: 1;
}

.mega-links > div,
.mega-links > a > div {
    padding: 8px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.mega-links > div:hover {
    /* background: rgba(45, 122, 62, 0.05); */
    transform: translateX(3px);
}

.mega-links a {
    text-decoration: none;
    transition: all 0.2s ease;
}

.mega-links a:hover {
    transform: translateX(3px);
    /* border: 2px dashed rgb(14, 180, 14);
    border-radius: 24px; */
    padding: 0 8px;
}

.mega-links h4 {
    margin: 0 0 5px;
    font-size: 20px;
    font-weight: 800;
    color: #333;
    transition: color 0.2s ease;
}

.mega-links > div:hover h4 {
    color: #2d7a3e;
}

.mega-links p {
    margin: 0;
    font-size: 15px;
    color: #282525;
    line-height: 1.4;
}

/* Main Header */
.main-header {
    background: #019147;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text h1 {
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
}

.logo-text p {
    color: #ffffff;
    font-size: 12px;
}

/* Navigation */
.nav-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-menu li {
    position: relative;
    padding: 5px;
}

.nav-menu li::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #000000;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-menu li:hover::after,
.nav-menu li.mega-active::after {
    width: 100%;
}

.nav-menu li:hover > .mega-menu {
    display: block;
}

.nav-menu .nav-a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    padding: 3px 6px;
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.nav-menu .nav-a:hover {
    color: #2d7a3e;
    background: greenyellow;
    transform: translateY(-2px);
}

.apply-now-btn {
    background: white;
    color: black !important;
    padding: 8px 12px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
}

.apply-now-btn img {
    width: 24px;
    height: 24px;
}

.apply-now-btn:hover {
    background: #64ff8b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(135, 223, 154, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 2000;
    padding: 20px;
}

.mobile-menu-overlay.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    list-style: none;
    margin-bottom: 20px;
}

.mobile-nav-menu li {
    margin-bottom: 15px;
}

.mobile-nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-apply-btn {
    background: #2d7a3e;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: center;
    margin-bottom: 10px;
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    padding: 50px 20px;
    min-height: 70vh;
}

.cta-button {
    background: #2d7a3e;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
    margin-top: auto;
}

.cta-button:hover {
    background: #1a5a2a;
}

/* Welcome Section */
.welcome-section {
    padding: 80px 20px;
    background: beige;
    text-align: center;
}

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

/* Education Options Grid */
.education-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

/* Individual Education Card */
.education-card {
    background: #fff;
    border: 2px solid #d4e8dc;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column; /* stack content */
    justify-content: space-between; /* keep button at bottom */
    align-items: center;
    text-align: center;
    min-height: 360px; /* ensures equal height */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.education-card:hover {
    transform: translateY(-8px);
    border-color: #3ca345;
    box-shadow: 0 10px 25px rgba(60, 163, 116, 0.25);
}

/* Card Icon */
.education-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #3ca374;
}

/* Title */
.education-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: #2f684d;
}

/* Description */
.education-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    flex-grow: 1; /* pushes button down */
    margin-bottom: 1.5rem;
}

/* CTA Button */
.education-card .cta-btn {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    background: #4da33c;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.25s ease, transform 0.25s ease;
    align-self: center;
}

.admission {
    background: linear-gradient(135deg, #03a534, #00c853);
    border: 2px solid #028a3a;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.admission:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.admission h2 {
    color: white;
    font-weight: bolder;
    font-size: 2rem;
    text-transform: uppercase;
}

.admission button {
    padding: 1rem;
    background: #fff;
    font-weight: bold;
    border-radius: 18px;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.3s;
}

.admission button:hover {
    background: #2f684d;
    transform: scale(1.05);
    color: white;
}

.admission button:focus {
    outline: none;
}

@media (max-width: 768px) {
    .admission {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem;
    }

    .admission h2 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .admission button {
        width: 100%;
        font-size: 1rem;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .admission {
        padding: 1rem;
        margin-top: 10px;
    }

    .admission h2 {
        font-size: 1.5rem;
    }

    .admission button {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .education-options {
        grid-template-columns: 1fr; /* stack cards */
    }

    .education-card {
        min-height: auto; /* let height adjust naturally */
        padding: 1.5rem;
    }
}

.welcome-section h2 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 15px;
}

.welcome-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s;
}

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

.feature-icon {
    width: 50px;
    height: 50px;
    background: #2d7a3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 20px;
    background-color: #d7fae8;
    width: fit-content;
    padding: 10px;
    border-radius: 10px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    background: url("/images/Homepage/bg-about-us.jpg") no-repeat center center;
    color: rgb(0, 0, 0);
    background-size: contain;
    background-color: #ebf4f9;
    padding: 60px 20px;
}

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

.stats-header {
    text-align: center;
    margin-bottom: 50px;
}

.stats-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* What's New & Next */
.news-events-section {
    background: rgb(235, 246, 255);
    padding: 2rem;
}
.news-events-section .container {
    max-width: 1200px;
    margin: auto;
    padding: 2rem 2rem;
}

.news-events-section h2 {
    font-size: 28px;
    color: #4a4a0a;
    margin-bottom: 5px;
}

.subtitle {
    color: #555;
    margin-bottom: 40px;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.section-title {
    font-size: 20px;
    font-weight: bold;
    color: #444;
    margin-bottom: 8px;
}

.section-sub {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Watch & Discover */
.watch-discover {
    padding: 60px 20px;
    text-align: center;
    background: url("/images/Homepage/bg-videos.jpg") no-repeat center center;
    background-size: cover;
    background-color: snow;
}

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

.section-subtitle {
    color: #0099ff;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.section-title {
    text-align: left;
    margin-bottom: 20px;
    font-size: 32px;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.video-card {
    background: #f7d67c;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    cursor: pointer;
}

.video-card:hover {
    transform: scale(1.01);
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.video-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-content {
    margin-top: 10px;
    padding: 16px;
    text-align: left;
}

.video-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-content p {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
}

.date {
    font-size: 13px;
    color: #444;
    display: block;
    margin-bottom: 15px;
}

.watch-btn {
    background: #ffb800;
    color: #000;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.watch-btn:hover {
    background: #e6a600;
}

.more-btn-wrap {
    margin-top: 20px;
}

.more-btn {
    background: #ffb800;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.more-btn:hover {
    background: #e6a600;
}

/* Latest Updates */
.update-card {
    background: #fbd97a;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.update-card i {
    margin-right: 8px;
}

.update-date {
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-top: 8px;
    font-size: 14px;
}

.btn-yellow {
    background: #ffcc00;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
}

/* Upcoming Events */
.event-card {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    height: 175px;
}

.event-date {
    background: #009b4d;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 10px 0 0 10px;
    font-weight: bold;
    width: 70px;
    height: 100%;
}

.event-date span {
    display: block;
}

.event-details {
    background: #fbd97a;
    padding: 15px;
    border-radius: 0 12px 12px 0;
    flex: 1;
    height: 100%;
}

.event-details h4 {
    margin: 0;
    font-size: 16px;
    font-weight: bold;
}

.event-meta {
    font-size: 14px;
    color: #555;
    margin: 6px 0;
}

.event-details a {
    color: #009b4d;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
}

.btn-green {
    background: #009b4d;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    margin-top: 15px;
}

/*Brand Section*/

.brand-section .container {
    margin: auto;
    padding: 2rem 0 2rem;
}

.brand-para-section {
    text-align: center;
    padding: 2rem;
}

.brand-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
    justify-items: center;
    padding: 1rem;
}

.brand-logos img {
    width: 250px;
    height: 250px;
    object-fit: contain;
}

/*Contact Form*/

.contact-form {
    background: beige;
    padding: 2rem;
}

.contact-form .contact-form-hero {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2rem;
}

.contact-form-hero-submission-form {
    background: #009b4d;
    width: 100%;
}

.contact-form-hero .contact-form-hero-content,
.contact-form-hero-submission-form {
    flex: 1; /* take equal width */
    max-width: 50%; /* ensure they don’t grow beyond 50% */
    box-sizing: border-box;
}

.contact-form-hero-submission-form {
    padding: 2rem;
    border-radius: 10px;
}

.contact-form-hero-submission-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 15px; /* spacing between fields */
}

.contact-form-hero-submission-form input,
.contact-form-hero-submission-form textarea {
    padding: 10px;
    border: 1px solid black;
    width: 100%;
    margin-bottom: 25px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
}

.contact-form-hero-submission-form textarea {
    height: 150px;
}

.contact-form-hero-submission-form h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
    color: white;
}

.secondary-btn {
    background: whitesmoke;
    padding: 12px;
    border-radius: 10px;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.secondary-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    background-color: #61ffb0;
}

.submit-btn {
    display: flex;
    padding: 10px;
    gap: 10px;
    max-width: 50%;
    border-radius: 10px;
    border: 2px solid rgb(0, 0, 0);
    background: white;
    font-weight: bolder;
    cursor: pointer;
}

.submit-btn:hover {
    background: #76fbb9;
}

.contact-form-hero-submission-form .submit-btn svg {
    width: 20px;
}

.contact-form-hero-submission-form input:focus,
.contact-form-hero-submission-form textarea :focus {
    border-color: #007bff;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
    outline: none;
}
/* Leader Section */
.leaders-section {
    text-align: center;
    padding: 50px 20px;
}

.leaders-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #3a2e1e;
}

.leader-card {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 40px auto;
    gap: 20px;
    flex-wrap: wrap;
}

.leader-text-box {
    flex: 1;
    padding: 25px;
    border-radius: 20px;
    color: white;
    position: relative;
}

.leader-text-box p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
}

.leader-text-box em {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-style: normal;
}

.leader-name {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    border-radius: 0 0 10px 10px;
    font-weight: 700;
    background: #fff8e1;
    box-shadow: 2px 4px 6px rgba(0, 0, 0, 0.1);
}

.leader-img {
    flex: 0 0 220px;
    text-align: center;
}

.leader-img img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

/* Specific leader styles */
.leader-green .leader-text-box {
    background: #098b56;
}
.leader-green .leader-name {
    background: #fff8e1;
    color: #098b56;
}

.leader-yellow {
    flex-direction: row-reverse;
}
.leader-yellow .leader-text-box {
    background: #f0a500;
    color: #222;
}
.leader-yellow .leader-name {
    background: #098b56;
    color: white;
}
/* Footer */
.footer {
    background: #1a2e1a;
    color: white;
    padding: 60px 20px 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-section h3 {
    color: #2d7a3e;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.school-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.school-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.school-info h4 {
    color: #2d7a3e;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.school-info p {
    color: #ccc;
    font-size: 12px;
    margin: 0;
}

.description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #ccc;
    font-size: 14px;
    margin-bottom: 20px;
}

.visiting-hours {
    background: rgba(45, 122, 62, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(45, 122, 62, 0.2);
}

.visiting-hours h4 {
    color: #2d7a3e;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #ccc;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item .time {
    color: #2d7a3e;
    font-weight: 500;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2d7a3e;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: #2d7a3e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.contact-text {
    color: #ccc;
    line-height: 1.4;
}

.contact-text strong {
    color: white;
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

.carousel-container {
    width: 90%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 20px auto 0;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.8s ease-in-out;
    cursor: grab;
}

.carousel-wrapper.dragging {
    transition: none;
    cursor: grabbing;
}

.carousel-slide {
    min-width: 100%;
    height: 500px;
    position: relative;
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 350px;
    }
    .carousel-container {
        width: 95%; /* Changed from 100% to 95% */
        margin: 20px auto;
    }
}

@media (max-width: 480px) {
    .carousel-slide {
        height: 250px;
    }
    .carousel-container {
        width: 100%;
        margin: 15px auto;
        border-radius: 15px;
    }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

@media (max-width: 480px) {
    .carousel-indicators {
        bottom: 15px;
        gap: 8px;
    }
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: black;
    width: 30px;
    border-radius: 6px;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    border: none;
    color: rgb(255, 255, 255);
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
    /* z-index: 10; */
}

@media (max-width: 768px) {
    .carousel-nav {
        font-size: 20px;
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .carousel-nav {
        font-size: 16px;
        padding: 10px 14px;
    }
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

@media (max-width: 480px) {
    .carousel-nav.prev {
        left: 10px;
    }

    .carousel-nav.next {
        right: 10px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .top-header {
        display: none;
    }

    .mega-menu {
        display: none !important;
    }

    .contact-form .contact-form-hero {
        flex-direction: column;
    }

    .leader-card {
        flex-direction: column !important;
    }
    .leader-img {
        order: -1;
    }

    .nav-menu,
    .apply-now-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .event-card {
        height: 250px;
    }

    .hero {
        padding: 20px 20px; /* reduce top/bottom padding */
        min-height: 30vh; /* smaller section height */
        background-size: contain; /* ensures image fills nicely */
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .welcome-section h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid {
        grid-template-columns: 1fr;
    }
    .brand-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-logos img {
        height: 150px;
        width: 150px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .contact-form .contact-form-hero {
        flex-direction: column; /* stack vertically */
        padding: 1rem;
    }

    .contact-form-hero .contact-form-hero-content,
    .contact-form-hero-submission-form {
        max-width: 100%; /* full width */
    }

    .contact-form-hero-submission-form {
        margin-top: 1.5rem;
    }

    .submit-btn {
        max-width: 100%; /* button stretches full width */
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
