/* APEX ACADEMY MASTER STYLESHEET 
   Includes: Homepage, About, Contact, Registration & Mobile Logic
*/

:root {
    --teal: #75CDD6;
    --gold: #D3BC8D;
    --dark: #333F48;
    --deep-blue: #1A252D;
    --light: #F8FBFC;
    --white: #FFFFFF;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; color: var(--dark); line-height: 1.7; background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, .main-h { font-family: 'Playfair Display', serif; font-weight: 900; }
.sub-h { color: var(--teal); text-transform: uppercase; letter-spacing: 4px; font-size: 0.8rem; font-weight: 800; display: block; margin-bottom: 10px; }
.text-teal { color: var(--teal); }

/* LAYOUT UTILITIES */
.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.text-center { text-align: center; }

/* MASTER NAVIGATION - SPLIT LOGO DESIGN */
.master-nav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
    transition: all 0.4s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex; /* Added flex to align mobile logo and toggle */
    justify-content: space-between;
    align-items: center;
}

/* NEW: Mobile Logo Styles */
.mobile-logo-box {
    display: none; /* Hidden on desktop */
    align-items: center;
}

.mobile-logo-box .main-logo {
    width: 100px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    gap: 40px;
    width: 100%; /* Ensures it fills space to center correctly */
}

.nav-item a {
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-item a:hover, 
.nav-item a.active {
    color: var(--teal);
}

/* Centered Logo Styling */
.nav-logo-centered {
    display: flex;
    align-items: center;
}

.logo-box {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.main-logo {
    width: 120px;
    height: auto;
    transition: transform 0.3s ease;
}

.logo-box:hover .main-logo {
    transform: scale(1.05);
}

/* MOBILE TOGGLE */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 3000;
}

.mobile-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* MOBILE RESPONSIVE LOGIC */
@media (max-width: 1100px) {
    .nav-links { gap: 20px; }
    .main-logo { width: 100px; }
}

@media (max-width: 991px) {
    .mobile-toggle { display: flex; }
    .mobile-logo-box { display: flex; } /* Show mobile logo */
    
    /* Hide the Desktop Center Logo inside the menu */
    .nav-logo-centered { display: none; }

    /* Fix the center align issue for mobile menu links */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
        gap: 35px;
        z-index: 2500;
    }

    .nav-links.mobile-active {
        right: 0;
    }

    .nav-item a {
        font-size: 1.3rem; /* Scaled down slightly for better fit */
    }

    /* Hamburger Animation to 'X' */
    .mobile-toggle.active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}



/* Ensure the button is ABOVE the sliding menu */
.mobile-toggle {
    z-index: 9999 !important; /* Forces it to the very front */
    position: relative;
    display: none; /* Default hidden for desktop */
}

@media (max-width: 991px) {
    .mobile-toggle {
        display: flex; /* Shows on mobile */
    }

    .nav-links {
        display: flex;
        visibility: hidden; /* Hide by default to prevent "ghost" clicks */
        opacity: 0;
        pointer-events: none;
        transition: all 0.4s ease;
    }

    /* When the menu is active */
    .nav-links.mobile-active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
        right: 0;
    }

    /* Hamburger to X Animation Fix */
    .mobile-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .mobile-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    .mobile-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}




@media (max-width: 991px) {
    /* 1. Reset the Desktop Flex layout for Mobile */
    .nav-links {
        display: flex !important; /* Force flex to exist */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;

        /* 2. Position it off-screen */
        position: fixed;
        top: 0;
        right: -100%; /* Start completely off-right */
        width: 100%;
        height: 100vh;
        
        /* 3. Look & Feel */
        background: #ffffff; 
        z-index: 2500; /* Must be below the toggle button (9999) */
        transition: all 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        
        /* 4. Visibility Fix */
        visibility: hidden;
        opacity: 0;
    }

    /* 5. THE TRIGGER CLASS (Added by JS) */
    .nav-links.mobile-active {
        right: 0 !important; /* Slide into view */
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Ensure list items are visible in mobile */
    .nav-item {
        display: block;
        width: auto;
        text-align: center;
    }

    /* Keep the logo centered in the dropdown menu */
    .nav-logo-centered {
        display: block !important; 
        order: -1; /* Moves logo to the top of the list */
        margin-bottom: 20px;
    }
}


/* HERO SPLIT */
.hero-split { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; padding-top: 80px; }
.hero-text-side { padding: 5%; }
.tagline { display: inline-block; background: #005494; color: var(--white); padding: 5px 15px; border-radius: 4px; font-weight: 800; font-size: 0.75rem; margin-bottom: 20px; }
.hero-text-side h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 25px; }
.hero-text-side p { font-size: 1.2rem; color: #666; margin-bottom: 40px; }
.btn-main { background: var(--dark); margin: 5px; color: var(--white); padding: 20px 45px; border-radius: 50px; font-weight: 800; display: inline-block; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.btn-ghost { color: var(--dark); font-weight: 800; margin-left: 20px; }
.scroller-inner {     margin: 10px;
    background-color: #75cdd6;
    padding: 10px;
    color: white;
    font-weight: bolder;
    font-size: 18px;}
/* METHOD CARDS */
.methodology { padding: 120px 0; background: var(--light); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; }
.m-card { background: var(--white); padding: 50px; border-radius: 30px; box-shadow: var(--shadow); position: relative; transition: var(--transition); }
.m-card:hover { transform: translateY(-15px); }
.m-card i { font-size: 2.5rem; color: var(--teal); margin-bottom: 25px; display: block; }
.m-card h4 { font-size: 1.5rem; margin-bottom: 15px; }

/* TIMELINE */
.timeline-section { padding: 120px 0; }
.timeline-container { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-container::after { content: ''; position: absolute; width: 4px; background: var(--teal); top: 0; bottom: 0; left: 50%; margin-left: -2px; }
.t-item { padding: 10px 40px; position: relative; width: 50%; }
.t-item.left { left: 0; text-align: right; }
.t-item.right { left: 50%; }
.t-content { background: var(--white); padding: 30px; border-radius: 20px; box-shadow: var(--shadow); }
.hero-visual-side { margin:5px }
/* MOBILE RESPONSIVENESS */
@media (max-width: 1024px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; }
    .hero-text-side { padding: 50px 5%; }
    .hero-text-side h1 { font-size: 3rem; }
    
    .nav-links { display: none; }
}

@media (max-width: 768px) {
    .method-grid { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
    .timeline-container::after { left: 31px; }
    .t-item { width: 100%; padding-left: 70px; text-align: left !important; }
    .t-item.right { left: 0; }
}





/* ==========================================================================
   HOME PAGE - MISSING SECTIONS (Experts, Stats, Testimonials, FAQ, CTA)
   ========================================================================== */

/* 1. EXPERTS SECTION - Premium Layout */
.experts {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 80px;
    justify-content: space-between;
}

.expert-info {
    flex: 1;
    max-width: 600px;
}

.expert-info p {
    font-size: 1.15rem;
    color: #555;
    margin: 25px 0 40px;
    line-height: 1.9;
}

.check-list {
    list-style: none;
}

.check-list li {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark);
    transition: var(--transition);
}

.check-list i {
    color: var(--teal);
    background: rgba(117, 205, 214, 0.1);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.check-list li:hover {
    transform: translateX(10px);
    color: var(--teal);
}

.expert-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.expert-circle {
    width: 450px;
    height: 450px;
    border-radius: 50%;
    position: relative;
    background: var(--gold);
    padding: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.expert-circle::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCI+PGNpcmNsZSBjeD0iNSIgY3k9IjUiIHI9IjIiIGZpbGw9IiM3NUNERDYiLz48L3N2Zz4=');
    z-index: -1;
}

.expert-circle img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid var(--white);
}

.expert-circle:hover {
    transform: scale(1.02) rotate(2deg);
}

/* 2. STATS COUNTER - High Impact */
.stats-counter {
    background: var(--dark);
    padding: 80px 0;
    color: var(--white);
    position: relative;
}

.stats-counter .stat {
    text-align: center;
    padding: 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stats-counter .stat:last-child {
    border-right: none;
}

.stats-counter .num {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Playfair Display', serif;
    color: var(--teal);
    display: block;
    margin-bottom: 10px;
}

.stats-counter span {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #A0A9B0;
}

/* 3. TESTIMONIALS - Elegant Slider Feel */
.testimonials {
    padding: 120px 0;
    background: var(--light);
}

.testimonial-slider {
    max-width: 800px;
    margin: 60px auto 0;
    position: relative;
}

.t-card {
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
}

.t-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--teal);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.t-card p {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--dark);
    line-height: 1.8;
    margin-bottom: 30px;
}

.t-card h6 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4. FAQ LUXURY - Sophisticated Accordion */
.faq-luxury {
    padding: 120px 0;
    background: var(--white);
}

.accordion {
    max-width: 900px;
    margin: 50px auto 0;
}

.acc-item {
    margin-bottom: 20px;
    border: 1px solid #EEE;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.acc-header {
    padding: 25px 35px;
    background: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
    transition: var(--transition);
}

.acc-header i {
    font-size: 0.9rem;
    transition: transform 0.4s ease;
    color: var(--teal);
}

.acc-body {
    padding: 0 35px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0, 1, 0, 1);
    background: var(--white);
    color: #666;
    line-height: 1.8;
}

/* Active State for JS */
.acc-item.active {
    border-color: var(--teal);
    box-shadow: 0 10px 30px rgba(117, 205, 214, 0.1);
}

.acc-item.active .acc-header {
    color: var(--teal);
}

.acc-item.active .acc-header i {
    transform: rotate(180deg);
}

.acc-item.active .acc-body {
    max-height: 1000px;
    padding: 0 35px 30px;
}

/* 5. FINAL CTA - Conversion Focus */
.final-cta {
    padding: 100px 0;
    background: var(--white);
}

.cta-card {
    background: linear-gradient(135deg, var(--dark) 0%, #1a252d 100%);
    padding: 80px 40px;
    border-radius: 40px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(117, 205, 214, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.3rem;
    color: #A0A9B0;
    margin-bottom: 45px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-outline-white {
    padding: 18px 40px;
    border: 2px solid var(--white);
    color: var(--white);
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--dark);
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 992px) {
    .flex-row { flex-direction: column; text-align: center; }
    .expert-circle { width: 320px; height: 320px; }
    .cta-card h2 { font-size: 2.5rem; }
    .grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .stats-counter .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .cta-actions { flex-direction: column; }
    .t-card { padding: 40px 20px; }
}




/* ==========================================
   ADVANCED FOOTER & GALLERY STYLING
   ========================================== */

/* 1. SUCCESS GALLERY (Continuous Scroll) */
.success-gallery {
    padding: 60px 0;
    background: var(--white);
    overflow: hidden;
}
.gallery-track {
    display: flex;
    gap: 20px;
    width: calc(300px * 8); /* Adjust based on image count */
    animation: scrollGallery 40s linear infinite;
}
.gallery-item {
    width: 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    filter: grayscale(100%);
    transition: var(--transition);
}
.gallery-item:hover { filter: grayscale(0%); transform: scale(1.05); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-300px * 4)); }
}

/* 2. MEGA FOOTER ARCHITECTURE */
.apex-footer-main {
    background: var(--dark); /* Charcoal from your scheme */
    color: var(--white);
    position: relative;
    padding-top: 100px;
}
.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.footer-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.footer-wave .shape-fill { fill: #FFFFFF; }

.footer-content-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 80px;
}

/* Brand Column */
.footer-logo-img { height: 65px; margin-bottom: 25px; filter: brightness(0) invert(1); }
.footer-description { color: #A0A9B0; font-size: 0.95rem; margin-bottom: 30px; line-height: 1.8; }

/* Social Icons Micro-interactions */
.social-box { display: flex; gap: 12px; }
.social-circle {
    width: 40px; height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    transition: var(--transition);
}
.social-circle:hover {
    background: var(--teal);
    border-color: var(--teal);
    transform: translateY(-5px) rotate(360deg);
}

/* Footer Link Columns */
.footer-h {
    font-size: 1.2rem; font-weight: 800; margin-bottom: 30px;
    position: relative; display: inline-block;
}
.footer-h::after {
    content: ''; position: absolute; left: 0; bottom: -8px;
    width: 30px; height: 2px; background: var(--gold);
}
.footer-link-list li { margin-bottom: 12px; }
.footer-link-list a {
    color: #A0A9B0; font-size: 0.9rem; font-weight: 500;
    transition: var(--transition);
}
.footer-link-list a:hover { color: var(--teal); padding-left: 10px; }

/* Contact & Newsletter Mini */
.contact-info-item { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; color: #A0A9B0; }
.contact-info-item i { color: var(--teal); font-size: 1.1rem; margin-top: 5px; }

.newsletter-mini { margin-top: 40px; }
.newsletter-mini p { font-weight: 700; margin-bottom: 15px; font-size: 0.9rem; }
.footer-form {
    display: flex; background: rgba(255,255,255,0.05);
    border-radius: 50px; padding: 5px 5px 5px 20px;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-form input {
    background: transparent; border: none; color: white; width: 100%;
    font-family: inherit; font-size: 0.85rem; outline: none;
}
.footer-form button {
    background: var(--teal); color: white; border: none;
    width: 45px; height: 45px; border-radius: 50%;
    cursor: pointer; transition: var(--transition);
}
.footer-form button:hover { background: var(--gold); transform: rotate(15deg) scale(1.1); }

/* Copyright Bar */
.footer-copyright-bar {
    background: #000000;
    padding: 25px 0;
    font-size: 0.8rem;
    color: #666;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.flex-sb { display: flex; justify-content: space-between; align-items: center; }
.legal-links a { color: #666; margin: 0 10px; transition: 0.3s; }
.legal-links a:hover { color: var(--teal); }

/* MOBILE BREAKPOINTS FOR FOOTER */
@media (max-width: 992px) {
    .footer-content-wrapper { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 600px) {
    .footer-content-wrapper { grid-template-columns: 1fr; text-align: center; }
    .footer-h::after { left: 50%; transform: translateX(-50%); }
    .social-box { justify-content: center; }
    .contact-info-item { justify-content: center; }
    .flex-sb { flex-direction: column; gap: 15px; }
}

/* --- APEX ELITE FOOTER --- */
.apex-footer-main {
    background: #05111d; /* Matches the dark themes of other pages */
    padding-top: 0;
    color: #fff;
    position: relative;
}

.footer-wave {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.footer-wave .shape-fill {
    fill: #fdfdfd; /* This must match the background color of the section ABOVE the footer */
}

.footer-content-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 80px 10px 60px;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-brand-column { flex: 1.5; max-width: 400px; }
.footer-links-column { flex: 0.8; }
.footer-contact-column { flex: 1.2; }

.footer-logo-img {
    height: 50px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1); /* Makes logo white if it's dark */
}

.footer-description {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.footer-h {
    color: var(--gold);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    font-weight: 800;
}

.footer-link-list { list-style: none; }
.footer-link-list li { margin-bottom: 15px; }

.footer-link-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-link-list a:hover {
    color: var(--teal);
    padding-left: 5px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-info-item i { color: var(--teal); margin-top: 4px; }

/* Newsletter Styling */
.newsletter-mini p {
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-form {
    display: flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 5px;
}

.footer-form input {
    background: transparent;
    border: none;
    padding: 10px 20px;
    color: white;
    width: 100%;
}

.footer-form button {
    background: var(--teal);
    border: none;
    width: 45px; height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.footer-form button:hover { background: var(--gold); }

/* Copyright Bar */
.footer-copyright-bar {
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.legal-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    margin-left: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-content-wrapper { flex-direction: column; text-align: center; }
    .footer-brand-column, .footer-links-column, .footer-contact-column { 
        max-width: 100%; 
    }
    .contact-info-item { justify-content: center; }
    .flex-sb { flex-direction: column; gap: 15px; }
    .hide-mobile { display: none; }
}









/* --- ABOUT PAGE ADVANCED DESIGN --- */

:root {
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f1d592 100%);
}

.about-hero-glass {
    padding: 220px 0 120px;
    background: radial-gradient(circle at top right, #0d2339, #05111d);
    color: white;
    position: relative;
    overflow: hidden;
}

.about-hero-glass::before {
    content: "";
    position: absolute;
    top: 0; right: 0;
    width: 500px; height: 500px;
    background: var(--teal);
    filter: blur(150px);
    opacity: 0.1;
}

.breadcrumb {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--teal);
    margin-bottom: 20px;
}

/* Pillar Styling */
.pillar-item {
    display: flex;
    gap: 25px;
    margin-bottom: 40px;
    padding: 30px;
    background: #fcfcfc;
    border-radius: 15px;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.03);
}

.pillar-item:hover {
    transform: translateX(15px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pillar-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(117, 205, 214, 0.2); /* Light Teal */
    line-height: 1;
}

/* Expert Cards */
.expert-profile-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid #eee;
}

.expert-profile-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(10, 25, 47, 0.1);
}

.profile-img {
    position: relative;
    height: 350px;
}

.profile-img img {
    width: 100%; height: 100%; object-fit: cover;
}

.qual-tag {
    position: absolute;
    top: 20px; right: 20px;
    background: var(--gold-gradient);
    color: var(--dark);
    padding: 5px 15px;
    font-weight: 800;
    font-size: 0.7rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.profile-details {
    padding: 30px;
}

.specialty {
    display: block;
    color: var(--teal);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* SEO Utilities */
.text-center { text-align: center; }
.mb-60 { margin-bottom: 60px; }





/* ELITE EXPERTS GRID */
.team-luxury-grid {
    padding: 100px 0;
    background: #fdfdfd;
}

.section-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-desc {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Three Box Row Layout */
.experts-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap; /* Allows wrapping on small tablets */
}

.expert-card {
    flex: 1; /* Makes all boxes equal width */
    min-width: 300px; /* Prevents them from getting too skinny */
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.02);
}

.expert-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(10, 25, 47, 0.12);
}

.profile-frame {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.academic-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gold);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.profile-content {
    padding: 30px;
}

.expert-label {
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

.profile-content h4 {
    font-size: 1.4rem;
    margin: 10px 0;
    color: var(--dark);
}

.divider-line {
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 15px;
}

.profile-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.expert-meta {
    font-size: 0.85rem;
    font-weight: 700;
    color: #888;
}

.expert-meta i {
    margin-right: 8px;
    color: var(--teal);
}

/* Mobile Responsive Fix */
@media (max-width: 991px) {
    .experts-row {
        flex-direction: column; /* Stacks boxes on mobile */
        align-items: center;
    }
    
    .expert-card {
        width: 100%;
        max-width: 400px;
    }
}









/* --- CONTACT PAGE STYLES --- */

.contact-hero {
    padding: 180px 0 80px;
    background: linear-gradient(rgb(255 255 255), rgb(193 249 255)), url(../images/learning-centre.jpg);
    background-size: cover;
    background-position: center;
}

.contact-main-wrapper {
    padding: 100px 0;
    background: #f8f9fa;
    margin-top: -50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}

/* Info Side */
.info-card {
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.05);
}

.method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(117, 205, 214, 0.1);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.4rem;
}

.method-item strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
}

.office-hours {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.office-hours ul {
    list-style: none;
    margin-top: 15px;
}

.office-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
    font-weight: 600;
}

/* Form Side */
.form-card {
    background: var(--dark);
    color: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(10, 25, 47, 0.2);
}

.form-card h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-card p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--gold);
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--teal);
    background: rgba(255,255,255,0.1);
    outline: none;
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--gold);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #c2a032;
    transform: translateY(-3px);
}

/* Map Section */
#google-map-placeholder {
    height: 450px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #adb5bd;
}

@media (max-width: 991px) {
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
}







/* --- CURRICULUM PAGE STYLES --- */

.curr-hero {
    padding: 200px 0 100px;
    background: radial-gradient(circle at 70%, #0d2339, #05111d);
    position: relative;
}

.curr-deep-dive {
    padding: 100px 0;
}

.curr-text {
    padding: 40px;
}

.accent-p {
    font-size: 1.2rem;
    color: var(--teal);
    margin: 20px 0;
    font-weight: 600;
}

.deep-list {
    list-style: none;
    margin-top: 30px;
}

.deep-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
}

.deep-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 1.2rem;
}

/* Roadmap Grid */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.roadmap-card {
    background: white;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: 0.4s;
    border: 1px solid #eee;
}

.roadmap-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.gold-border {
    border: 2px solid var(--gold);
}

.phase-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--teal);
    color: white;
    border-radius: 50px;
    font-weight: 800;
    margin-bottom: 25px;
}

.phase-marker {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #ccc;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Syllabus Table */
.syllabus-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 40px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.syllabus-table th {
    background: var(--dark);
    color: white;
    padding: 25px;
    text-align: left;
    font-size: 1.1rem;
}

.syllabus-table td {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.bold-teal {
    font-weight: 800;
    color: var(--teal);
}

/* Mobile Fixes */
@media (max-width: 991px) {
    .grid-2.reverse { flex-direction: column-reverse; }
    .roadmap-grid { grid-template-columns: 1fr; }
}



/* RESPONSIVE SYLLABUS TABLE */
@media screen and (max-width: 768px) {
    .syllabus-table thead {
        display: none; /* Hide headers on mobile */
    }

    .syllabus-table, 
    .syllabus-table tbody, 
    .syllabus-table tr, 
    .syllabus-table td {
        display: block;
        width: 100%;
    }

    .syllabus-table tr {
        margin-bottom: 20px;
        border: 1px solid #eee;
        border-radius: 15px;
        overflow: hidden;
        background: #fff;
    }

    .syllabus-table td {
        text-align: right;
        padding-left: 50%;
        position: relative;
        border-bottom: 1px solid #f9f9f9;
        font-size: 0.9rem;
    }

    /* Add the Labels back using pseudo-elements */
    .syllabus-table td::before {
        content: attr(data-label); /* Requires data-label in HTML */
        position: absolute;
        left: 20px;
        width: 45%;
        font-weight: 700;
        text-align: left;
        color: var(--dark);
    }

    .syllabus-table td:last-child {
        border-bottom: none;
    }

    .bold-teal {
        background: rgba(117, 205, 214, 0.1);
        text-align: center !important;
        padding-left: 20px !important;
        font-size: 1.1rem !important;
    }

    .bold-teal::before {
        display: none; /* Hide label for the Subject header */
    }
}



/* RESPONSIVE DEEP DIVE */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

@media screen and (max-width: 991px) {
    .curr-deep-dive {
        padding: 60px 0;
    }

    .grid-2 {
        grid-template-columns: 1fr; /* Stack to single column */
        gap: 30px;
        text-align: center;
    }

    /* Logic: Ensure image comes BEFORE text when stacked */
    .grid-2.align-center {
        display: flex;
        flex-direction: column-reverse;
    }

    /* Logic: Handle the 'reverse' desktop class for mobile */
    .grid-2.reverse {
        display: flex;
        flex-direction: column-reverse;
    }

    .curr-text {
        padding: 0; /* Remove extra desktop padding */
    }

    .deep-list {
        text-align: left; /* Keep list readable */
        display: inline-block;
        max-width: 90%;
    }

    .curr-visual img {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }

    .main-h {
        font-size: 1.8rem; /* Scale down heading for mobile */
    }
}




/* --- METHODOLOGY PAGE STYLING --- */

.method-hero {
    padding: 180px 0 100px;
    background: radial-gradient(circle at top, #0d2339, #05111d);
}

.pedagogy-grid {
    padding: 100px 0;
    background: #fdfdfd;
}

.pillar-card {
    background: white;
    padding: 60px 40px;
    border-radius: 30px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.03);
    border: 1px solid #eee;
    transition: all 0.4s ease;
    text-align: center;
}

.pillar-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(10, 25, 47, 0.1);
}

.pillar-card.highlight {
    background: var(--dark);
    color: white;
    border: 2px solid var(--gold);
}

.pillar-card.highlight h3 { color: white; }
.pillar-card.highlight p { color: rgba(255,255,255,0.7); }

.pillar-icon {
    font-size: 3rem;
    color: var(--teal);
    margin-bottom: 30px;
}

.pillar-features {
    list-style: none;
    margin-top: 25px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pillar-features li {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--gold);
}

/* Learning Environment Section */
.learning-env {
    padding: 120px 0;
    overflow: hidden;
}

.glass-frame {
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-frame img {
    width: 100%;
    border-radius: 25px;
    display: block;
}

.floating-stat {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--gold);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.feature-item {
    display: flex;
    gap: 25px;
    margin-top: 40px;
}

.f-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--teal);
    opacity: 0.5;
}

/* Base Grid Settings (Mobile Default: 1 Column) */
.grid-3 { 
    display: grid; 
    grid-template-columns: 1fr; /* Stacks everything in 1 column by default */
    gap: 30px; 
    width: 100%;
}

/* Tablet View (2 Columns for better use of space) */
@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop View (Elite 3-Column Row) */
@media (min-width: 1024px) {
    .grid-3 { 
        grid-template-columns: repeat(3, 1fr); 
    }
}

/* Specific Card adjustments for the mobile stack */
@media (max-width: 1023px) {
    .pillar-card { 
        padding: 40px 20px; 
        max-width: 500px; /* Prevents cards from becoming too wide on large phones */
        margin: 0 auto;  /* Centers the cards when stacked */
    }
    
    .flex-row { 
        flex-direction: column; 
        gap: 40px; 
        text-align: center; 
    }
}