/* BRAND COLORS */
        :root {
            --navy: #0D2C54;
            --gold: #C5A048;
            --light-bg: #f9f9f9;
            --white: #ffffff;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body { background-color: var(--white); color: #333; line-height: 1.6; }

        /* NAVIGATION */
        nav {
            background: var(--white);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .logo-area { display: flex; align-items: center; }
        .logo-area img { height: 60px; margin-right: 15px; }

        .nav-links a {
            text-decoration: none;
            color: var(--navy);
            font-weight: 600;
            margin-left: 25px;
            transition: 0.3s;
        }

        .nav-links a:hover { color: var(--gold); }

        /* HERO SECTION */
        .hero {
            background: linear-gradient(rgba(13, 44, 84, 0.8), rgba(13, 44, 84, 0.8)), url('Pictures/Heroimage.png');
            background-size: cover;
            background-position: center;
            height: 80vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            padding: 0 20px;
        }

        .hero-content h1 { font-size: 3.5rem; margin-bottom: 1rem; }
        .hero-content p { font-size: 1.2rem; margin-bottom: 2rem; color: #ddd; }
        
        .btn {
            background: var(--gold);
            color: var(--navy);
            padding: 12px 30px;
            text-decoration: none;
            font-weight: bold;
            border-radius: 5px;
            transition: 0.3s;
            text-transform: uppercase;
        }
        

        .btn:hover { background: gold;}

        .btnlog{
            background: var(--navy);
            padding: 12px 30px;
            text-decoration: none;
            font-weight: bold;
            border-radius: 5px;
            transition: 0.3s;
            text-transform: uppercase;
        }
        .btnlog:hover { background: skyblue; }
        /* GRADE SELECTION SECTION */
.grades-section {
    padding: 60px 10%;
    text-align: center;
    background: var(--white);
}

.grades-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.grade-card {
    background: var(--white);
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    min-width: 150px;
}

.grade-card:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(197, 160, 72, 0.4);
}

.grade-card.active {
    background: var(--navy);
    color: var(--white);
}
/* SECTION: GRADE SELECTION */
.grades-section { padding: 80px 10%; text-align: center; background: #fff; }
.grades-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 30px; }
.grade-card { 
    border: 2px solid var(--navy); color: var(--navy); padding: 15px 30px; 
    border-radius: 50px; font-weight: bold; text-decoration: none; transition: 0.3s; 
}
.grade-card:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }

/* SECTION: FEATURES (WHY CHOOSE US) */
.features-section { padding: 80px 10%; background: var(--navy); color: white; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; text-align: center; }
.feature-item i { font-size: 3rem; color: var(--gold); margin-bottom: 20px; }
.feature-item h3 { margin-bottom: 10px; border-bottom: 2px solid var(--gold); display: inline-block; padding-bottom: 5px; }

/* SECTION: CORE SUBJECTS */
.subjects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; padding: 40px 10%; background: var(--light-bg); }
.subject-card { background: #fff; padding: 30px; border-radius: 10px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.subject-card:hover { border-top: 5px solid var(--gold); transform: translateY(-5px); }
.subject-card i { font-size: 2.5rem; color: var(--navy); margin-bottom: 15px; }

/* SECTION: ADMISSION STEPS */
.admission-steps { padding: 80px 10%; text-align: center; }
.steps-flex { display: flex; justify-content: space-around; flex-wrap: wrap; margin-top: 40px; gap: 20px; }
.step { flex: 1; min-width: 250px; position: relative; }
.step-num { width: 60px; height: 60px; background: var(--gold); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: bold; margin: 0 auto 20px; border: 4px solid var(--navy); }

/* SECTION: TESTIMONIALS */
.testimonials { padding: 80px 10%; background: #f4f4f4; text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.t-card { background: white; padding: 30px; border-radius: 15px; border-left: 8px solid var(--gold); font-style: italic; text-align: left; }

/* SECTION: FINAL CTA */
.final-cta { background: linear-gradient(rgba(13, 44, 84, 0.8), rgba(13, 44, 84, 0.8)), url('Pictures/Heroimage2.png'); background-size: cover; padding: 100px 10%; text-align: center; color: white; }
        /* SUBJECTS SECTION */
        .section-title {
            text-align: center;
            padding: 60px 20px 20px;
            color: var(--navy);
        }

        .section-title h2 { font-size: 2.5rem; }
        .section-title div { 
            width: 80px; height: 4px; background: var(--gold); margin: 10px auto; 
        }

        .subjects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
            padding: 40px 10%;
            background: var(--light-bg);
        }

        .subject-card {
            background: var(--white);
            padding: 30px;
            border-radius: 10px;
            text-align: center;
            border-bottom: 5px solid var(--gold);
            transition: transform 0.3s;
        }

        .subject-card:hover { transform: translateY(-10px); }
        .subject-card i { font-size: 3rem; color: var(--navy); margin-bottom: 15px; }
        .subject-card h3 { color: var(--navy); margin-bottom: 10px; }

        /* FOOTER */
        footer {
            background: var(--navy);
            color: var(--white);
            padding: 40px 10%;
            text-align: center;
        }

        .footer-logo img { height: 80px; margin-bottom: 20px; filter: brightness(0) invert(1); }

        @media (max-width: 768px) {
            .hero-content h1 { font-size: 2.2rem; }
            .nav-links { display: none; }
        }
        /* ABOUT US SPECIFIC STYLES */
    .about-header {
        background: var(--navy);
        color: var(--white);
        padding: 80px 10%;
        text-align: center;
    }
    .about-content {
        display: flex;
        align-items: center;
        padding: 60px 10%;
        gap: 50px;
        flex-wrap: wrap;
    }
    .about-text { flex: 1; min-width: 300px; }
    .about-text h2 { color: var(--navy); margin-bottom: 20px; font-size: 2.5rem; }
    .about-text p { margin-bottom: 15px; font-size: 1.1rem; color: #555; }
    
    .stats-bar {
        display: flex;
        justify-content: space-around;
        background: var(--gold);
        padding: 40px 10%;
        color: var(--navy);
        text-align: center;
    }
    .stat-item h3 { font-size: 2.5rem; margin-bottom: 5px; }




    /* CONTACT PAGE SPECIFIC STYLES */
    .contact-container {
        display: flex;
        padding: 60px 10%;
        gap: 50px;
        flex-wrap: wrap;
    }
    .contact-form {
        flex: 2;
        background: var(--light-bg);
        padding: 40px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    }
    .contact-form h2 { color: var(--navy); margin-bottom: 20px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; margin-bottom: 5px; font-weight: 600; }
    .form-group input, .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
    .contact-info { flex: 1; min-width: 250px; }
    .info-box { margin-bottom: 30px; }
    .info-box i { color: var(--gold); font-size: 1.5rem; margin-bottom: 10px; }
    .info-box h4 { color: var(--navy); margin-bottom: 5px; }


    /* COURSES PAGE SPECIFIC STYLES */
.courses-header {
    background: linear-gradient(45deg, var(--navy) 30%, #1a4a8d 100%);
    color: var(--white);
    padding: 60px 10%;
    text-align: center;
}

.course-category-title {
    background: var(--light-bg);
    padding: 20px 10%;
    color: var(--navy);
    border-left: 10px solid var(--gold);
    margin: 40px 10% 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 10% 60px;
}

.course-detail-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.course-detail-card:hover {
    box-shadow: 0 10px 30px rgba(13, 44, 84, 0.1);
}

.course-image {
    height: 180px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 3rem;
}

.course-body {
    padding: 25px;
}

.course-body h4 {
    color: var(--navy);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.course-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: #f0f0f0;
    color: #666;
}

.tag.highlight {
    background: rgba(197, 160, 72, 0.2);
    color: var(--gold);
    font-weight: bold;
}

.curriculum-list {
    list-style: none;
    font-size: 0.95rem;
    color: #555;
}

.curriculum-list li::before {
    content: "✓";
    color: var(--gold);
    margin-right: 10px;
    font-weight: bold;
}
/* EXPLORE SUBJECTS SPECIFIC STYLES */
.explore-container {
    padding: 40px 10%;
    background: #fff;
}

.filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--navy);
    color: var(--white);
}

/* SUBJECT DETAIL PANELS */
.subject-panel {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 80px;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 60px;
}

.subject-panel:nth-child(even) {
    direction: rtl; /* Alternates image and text position */
}

.subject-panel:nth-child(even) .panel-text {
    direction: ltr; /* Keeps text reading left-to-right */
}

.panel-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 20px 20px 0px var(--gold);
}

.panel-image img {
    width: 100%;
    display: block;
    filter: grayscale(20%);
}

.panel-text h2 {
    color: var(--navy);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.panel-text .subtitle {
    color: var(--gold);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.learning-outcomes {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.outcome-item {
    background: var(--light-bg);
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: var(--navy);
}
:root {
            --navy: #0D2C54;
            --gold: #C5A048;
            --light-bg: #f4f7f9;
            --white: #ffffff;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
        body { background-color: var(--light-bg); color: #333; }

        /* HEADER */
        .enroll-header {
            background: var(--navy);
            color: white;
            text-align: center;
            padding: 60px 20px;
        }
        .enroll-header h1 { font-size: 2.5rem; margin-bottom: 10px; color: var(--gold); }

        /* MAIN CONTENT */
        .enroll-container {
            max-width: 1100px;
            margin: -40px auto 60px;
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 30px;
            padding: 0 20px;
        }

        /* FORM STYLING */
        .enroll-form-card {
            background: var(--white);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        .form-section-title {
            border-left: 4px solid var(--gold);
            padding-left: 15px;
            margin: 25px 0 15px;
            color: var(--navy);
            font-weight: bold;
            text-transform: uppercase;
            font-size: 0.9rem;
        }
        .grid-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
        .form-group { margin-bottom: 20px; }
        label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--navy); }
        input, select, textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
        }
        input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 5px rgba(197, 160, 72, 0.3); }

        /* SIDEBAR STYLING */
        .enroll-sidebar {
            background: var(--navy);
            color: white;
            padding: 30px;
            border-radius: 10px;
            height: fit-content;
        }
        .sidebar-box { margin-bottom: 30px; }
        .sidebar-box h3 { color: var(--gold); margin-bottom: 15px; font-size: 1.2rem; }
        .sidebar-box ul { list-style: none; }
        .sidebar-box ul li { margin-bottom: 10px; font-size: 0.9rem; display: flex; align-items: center; }
        .sidebar-box ul li i { color: var(--gold); margin-right: 10px; }

        .submit-btn {
            background: var(--gold);
            color: var(--navy);
            border: none;
            padding: 15px 30px;
            width: 100%;
            font-size: 1.1rem;
            font-weight: bold;
            border-radius: 5px;
            cursor: pointer;
            transition: 0.3s;
            margin-top: 20px;
        }
        .submit-btn:hover { background: #b08e3d; transform: translateY(-2px); }

        @media (max-width: 850px) {
            .enroll-container { grid-template-columns: 1fr; }
            .grid-row { grid-template-columns: 1fr; }
        }





        /* FOOTER STYLES */
.main-footer {
    background-color: #05162b; /* Slightly darker navy for depth */
    color: #ffffff;
    padding: 80px 8% 20px;
    border-top: 5px solid var(--gold);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-column h3 {
    color: var(--gold);
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #cbd5e0;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #cbd5e0;
}

.footer-contact i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 20px;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    color: #718096;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
    .main-footer {
        text-align: center;
    }
    .footer-contact p {
        justify-content: center;
    }
}
/* --- MOBILE NAV FIX --- */

/* Hide the menu icon by default on Desktop */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--navy);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show icon on mobile */
    }

    .nav-links {
        display: none; /* Keep hidden until toggled */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Adjust based on your nav height */
        left: 0;
        width: 100%;
        background: var(--white);
        text-align: center;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    /* This class will be added by JavaScript */
    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 15px 0;
        display: block;
        font-size: 1.2rem;
    }
}
/* Team Specific Styles (You can also copy these into your Style.css file) */
        .team-header {
            text-align: center;
            padding: 60px 20px;
            background: var(--navy);            
            background-size: cover;
            background-position: center;
            color: white;

        }
        .team-header h1 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }
        .team-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 20px;
        }
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 2rem;
            color: #333;
            position: relative;
        }
        .section-title::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background-color: var(--gold, #d4af37);
            margin: 10px auto 0;
        }
        /* Leadership Display */
        .leadership-card {
            display: flex;
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-bottom: 60px;
            align-items: center;
        }
        .leadership-img {
            flex: 1;
            min-width: 300px;
            max-width: 400px;
        }
        .leadership-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .leadership-info {
            flex: 2;
            padding: 40px;
        }
        .leadership-info h3 {
            font-size: 1.8rem;
            margin-bottom: 5px;
            color: #222;
        }
        .leadership-info .role {
            color: var(--gold, #d4af37);
            font-weight: 600;
            font-size: 1.1rem;
            margin-bottom: 15px;
        }
        .leadership-info p {
            color: #555;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        /* Instructors Grid */
        .faculty-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        .faculty-card {
            background: #fff;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            overflow: hidden;
            text-align: center;
            transition: transform 0.3s ease;
            border-bottom: 3px solid transparent;
        }
        .faculty-card:hover {
            transform: translateY(-5px);
            border-bottom-color: var(--gold, #d4af37);
        }
        .faculty-img {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }
        .faculty-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .faculty-info {
            padding: 20px;
        }
        .faculty-info h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: #222;
        }
        .faculty-info .subject {
            color: #777;
            font-size: 0.9rem;
            font-weight: 500;
            margin-bottom: 10px;
        }
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .leadership-card {
                flex-direction: column;
            }
            .leadership-img {
                max-width: 100%;
                width: 100%;
            }
            .leadership-info {
                padding: 20px;
            }
        }