﻿.hero-section {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 1;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
        pointer-events: none;
    }

/* Image is background now */
.hero-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    top: 0;
    left: 0;
    filter: brightness(0.7);
}

/* Floating booking form */
.hero-content {

}

.form-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    padding: 40px 30px;
    border-radius: 20px;
    max-width: 600px;
    margin: 2rem auto;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-align: center;
    font-family: 'Segoe UI', sans-serif;
}

    .form-container h1 {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: #ffffff;
    }

    .form-container p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #f0f0f0;
        margin-bottom: 0;
    }

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .booking-form input {
        padding: 12px 14px;
        border-radius: 8px;
        border: none;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.9);
        color: #333;
        transition: 0.2s ease;
    }

        .booking-form input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 80, 158, 0.3);
        }

    .booking-form button {
        padding: 12px;
        font-size: 1rem;
        font-weight: 600;
        background-color: #00aaff;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s ease;
    }

        .booking-form button:hover {
            background-color: #008ac4;
        }

/* Responsive tweaks */
@media (max-width: 768px) {
    .hero-content {
        width: 90%;
        padding: 25px;
        margin: 0 auto;
    }

    .form-container h1 {
        font-size: 1.5rem;
    }
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 20px;
}

.course-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .course-box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

.course-icon {
    font-size: 40px;
    background: #003366;
    color: #fff;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.course-box h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: #333;
}

.course-box p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

.course-btn {
    display: inline-block;
    background-color: #003366;
    color: #fff;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

    .course-btn:hover {
        background-color: #0055aa;
    }

.mission-section {
    background-color: #f7f9fc;
    padding: 60px 20px;
    text-align: center;
}

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

.mission-section h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #003366;
}

.intent-label {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0055aa;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.mission-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}
.impact-carousel-section {
    background: #f9f9f9;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
}

.impact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #003366;
}

.impact-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.brand-carousel {
    display: flex;
    gap: 20px;
    overflow: hidden;
    width: 100%;
    animation: scroll-carousel 30s linear infinite;
}

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.impact-carousel {
    overflow: hidden;
    padding: 60px 0;
    background: #f5f5f5;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

    .impact-carousel:before,
    .impact-carousel:after {
        position: absolute;
        top: 0;
        width: 250px;
        height: 100%;
        content: "";
        z-index: 2;
    }

    .impact-carousel:before {
        left: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
    }

    .impact-carousel:after {
        right: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
    }

.logos-slide {
    display: inline-block;
    animation: 60s slide linear infinite;
}

.impact-stat {
    display: inline-block;
    background: #fff;
    border-radius: 10px;
    padding: 20px 30px;
    margin: 0 15px;
    min-width: 200px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
}

    .impact-stat span {
        display: block;
        font-size: 2rem;
        color: #0055aa;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .impact-stat p {
        font-size: 1rem;
        color: #333;
    }

.testimonial-slider {
    background: #f0f4f8;
    padding: 60px 20px;
    text-align: center;
}

    .testimonial-slider h2 {
        font-size: 2.2rem;
        margin-bottom: 30px;
        color: #003366;
    }

.testimonial-display {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 30px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease-in-out;
}

#quote-text {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: opacity 0.3s ease-in-out;
}

#quote-author {
    font-size: 1rem;
    color: #0055aa;
    font-weight: bold;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.quote-btn {
    width: 16px;
    height: 16px;
    background: #ccc;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .quote-btn.active,
    .quote-btn:hover {
        background: #0055aa;
    }

/* General layout for the sections */
/* Global Layout */
.schools-section, .credentials-section {
    padding: 40px 20px;
    background-color: #f7f9fc;
    text-align: center;
}
/* Schools Section: Grid Layout */
.schools-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); /* Grid items will adjust */
    gap: 5px;
    padding: 0 10px;
}

.school-item {
    font-size: 8px; /* Tiny text */
    color: #555;
    font-weight: 400;
    background-color: #f0f7fc;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Credentials Section: Text with Minimal Spacing */
.credential-item {
    font-size: 8px; /* Tiny text */
    color: #555;
    margin-bottom: 5px;
    font-weight: 400;
    padding: 5px;
    background-color: #f0f7fc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Animations */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Layout */
@media (max-width: 768px) {
    .school-item, .credential-item {
        font-size: 7px; /* Smaller font size on mobile */
    }
}

.membership-accordion-section {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
    color: #003366;
}

    .membership-accordion-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
        text-align: center;
    }

/* Accordion buttons */
.accordion-toggle {
    background-color: #0055aa;
    color: white;
    cursor: pointer;
    padding: 18px 20px;
    width: 100%;
    border: none;
    border-radius: 10px;
    text-align: left;
    font-size: 1.25rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

    .accordion-toggle:hover,
    .accordion-toggle[aria-expanded="true"] {
        background-color: #003366;
    }

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg); /* "+" to "x" */
}

.membership-accordion-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

    .membership-accordion-section h2 {
        text-align: center;
        margin-bottom: 25px;
        font-size: 1.8rem;
        color: #2c3e50;
    }

.accordion-toggle {
    width: 100%;
    background: #4a69bd;
    color: white;
    padding: 16px 20px;
    font-size: 1.2rem;
    text-align: left;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .accordion-toggle:hover {
        background: #3b5394;
        transform: translateY(-1px);
    }

.accordion-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.accordion-toggle[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

/* List container wrapper */
.accordion-panel {
    background: #ffffff;
    padding: 0;
    border-radius: 10px;
    overflow: hidden; /* ensures seamless look */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    /* List container */
    .accordion-panel ul {
        margin: 0;
        padding: 0;
        list-style: none;
        columns: 2; /* two columns desktop */
        column-gap: 0; /* seamless columns */
        background-color: rgba(255, 255, 255, 0.5);
    }

        /* List items */
        .accordion-panel ul li {
            padding: 12px 18px;
            font-size: 1.05rem;
            font-weight: 500;
            letter-spacing: 0.2px;
            color: #2c3e50;
            line-height: 1.6;
            break-inside: avoid;
            transition: background 0.3s ease;
        }
            /* Hover effect */
            .accordion-panel ul li:hover {
                background: #e3e9f3;
            }

/* Mobile adjustments */
@media (max-width: 700px) {
    .accordion-panel ul {
        columns: 1;
    }

        .accordion-panel ul li {
            font-size: 1rem;
        }
}

