/* --- VARIABLES --- */
:root {
    --blue-dark: #001224; 
    --blue-medium: #002b5e;
    --blue-light: #004aad; 
    --gold-primary: #D4AF37; 
    --bg-white: #ffffff; 
    --bg-light: #f8fafc;
    --text-main: #1E293B;
    --text-muted: #64748B;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; background-color: var(--bg-white); }
body { background-color: var(--bg-white); color: var(--text-main); overflow-x: hidden; } 

/* --- TOP BAR & HEADER --- */
.top-bar { background: #000b18; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 8px 5%; font-size: 12px; z-index: 1001; position: relative; }
.contact-info, .social-links { display: flex; gap: 15px; align-items: center; }
.top-bar a { color: #E2E8F0; text-decoration: none; display: flex; align-items: center; gap: 5px; transition: 0.3s; }
.top-bar a:hover { color: var(--gold-primary); }
.social-links i { font-size: 16px; }
.whatsapp-text i { color: #25D366; font-size: 15px; }

.app-header { background: rgba(0, 18, 36, 0.95); backdrop-filter: blur(10px); height: 75px; width: 100%; position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; padding: 0 5%; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); }
.logo-link { display: flex; align-items: center; text-decoration: none; }
.header-logo { height: 50px; width: auto; object-fit: contain; }
.desktop-nav { display: none; }
.mobile-menu-icon { color: #fff; font-size: 32px; cursor: pointer; }

/* --- FLOATING WHATSAPP BUTTON --- */
.float-wa { position: fixed; bottom: 100px; right: 20px; background: #25D366; color: white; width: 55px; height: 55px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 32px; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 1500; animation: pulse-wa 2s infinite; text-decoration: none; will-change: box-shadow; transform: translateZ(0); }
@keyframes pulse-wa { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); } 70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* --- SIDEBAR --- */
.menu-checkbox { display: none; }
.mobile-sidebar { position: fixed; top: 0; right: -100%; width: 280px; height: 100%; height: 100dvh; background: var(--blue-dark); z-index: 9999; padding: 80px 25px; transition: 0.4s cubic-bezier(0.77, 0, 0.175, 1); box-shadow: -10px 0 30px rgba(0,0,0,0.8); display: flex; flex-direction: column; gap: 20px; overflow-y: auto; }
.mobile-sidebar a { color: #fff; text-decoration: none; font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.08); padding-bottom: 12px; }
.close-menu { position: absolute; top: 20px; right: 20px; color: var(--gold-primary); font-size: 35px; cursor: pointer; }
.menu-checkbox:checked ~ .mobile-sidebar { right: 0; }
.menu-checkbox:checked ~ .bottom-nav-bar { transform: translateY(100%); transition: 0.3s; }
.btn-gold-small { background: var(--gold-primary); color: var(--blue-dark) !important; padding: 10px; border-radius: 6px; border-bottom: none !important; font-weight: 700 !important; }

/* --- HERO SECTION --- */
.hero-wrapper { position: relative; height: 85vh; min-height: 500px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 5%; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; pointer-events: none; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0, 12, 24, 0.5) 0%, rgba(0, 12, 24, 0.85) 100%); z-index: 1; }
.hero-text { position: relative; z-index: 2; max-width: 850px; display: flex; flex-direction: column; align-items: center; }
.gold-badge { background: rgba(212, 175, 55, 0.15); color: var(--gold-primary); padding: 8px 20px; border-radius: 30px; font-size: 13px; font-weight: 700; display: inline-flex; gap: 8px; margin-bottom: 25px; border: 1px solid rgba(212, 175, 55, 0.5); backdrop-filter: blur(5px); }
.hero-text h1 { font-size: 3.5rem; color: #fff; line-height: 1.1; margin-bottom: 15px; font-weight: 800; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.highlight-gold { color: var(--gold-primary); text-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
.hero-text p { color: #E2E8F0; font-size: 1.1rem; margin-bottom: 30px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.btn-primary { background: linear-gradient(135deg, var(--gold-primary), #E5C354); color: var(--blue-dark); padding: 15px 40px; border-radius: 30px; font-weight: 700; font-size: 1.1rem; text-decoration: none; box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3); transition: transform 0.3s; display: inline-block; }
.btn-primary:active { transform: scale(0.95); }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-indicator p { color: var(--gold-primary); font-size: 10px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
.mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,0.6); border-radius: 15px; position: relative; }
.mouse::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--gold-primary); border-radius: 2px; animation: scrollDown 1.5s cubic-bezier(0.15, 0.41, 0.69, 0.94) infinite; }

/* --- COMMON SECTIONS & BACKGROUNDS --- */
.section-container { padding: 70px 5%; overflow: hidden; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-blue-dark { background-color: var(--blue-dark); color: var(--bg-white); }

.sub-heading { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-primary); margin-bottom: 5px; display: block; }
.text-left { text-align: left; }

/* --- NEW: ABOUT SECTION GRID --- */
.about-header { text-align: left; max-width: 900px; margin-bottom: 40px; }
.about-image-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: center;
}
.about-img-box {
    border-radius: 16px;
    overflow: hidden;
    height: 250px;
    border: 3px solid var(--gold-primary); /* Keeps it themed */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.about-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.about-img-box:hover img { transform: scale(1.05); }

/* --- NEW: CARD GRIDS (Why Us & FAQ) --- */
.grid-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }

/* Dark Cards (Inside Why Us) */
.card-dark {
    background: var(--blue-medium);
    border-left: 5px solid var(--gold-primary);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.card-dark:hover { transform: translateY(-5px); background: #003370; }
.card-dark h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; color: var(--gold-primary); }
.card-dark p { font-size: 0.95rem; color: #E2E8F0; line-height: 1.6; }

/* Light Cards (Inside FAQ) */
.card-light {
    background: var(--bg-white);
    border: 1px solid #E2E8F0;
    border-bottom: 5px solid var(--gold-primary);
    border-radius: 12px;
    padding: 30px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.card-light:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-light h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 12px; color: var(--blue-dark); }
.card-light p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }


/* --- PREMIUM BLUE BANNER --- */
.blue-banner { background: linear-gradient(135deg, var(--blue-dark), var(--blue-light)); border-radius: 20px; padding: 40px; color: #fff; display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; box-shadow: 0 15px 30px rgba(0, 74, 173, 0.15); position: relative; overflow: hidden; }
.blue-banner::after { content: ''; position: absolute; right: -50px; bottom: -50px; width: 200px; height: 200px; background: rgba(255,255,255,0.03); border-radius: 50%; pointer-events: none; }
.banner-text-left h2 { font-size: 2rem; line-height: 1.2; font-weight: 800; }
.banner-text-right p { font-size: 0.95rem; line-height: 1.6; color: #E2E8F0; }

/* --- TRAINING PROCESS TIMELINE GRID --- */
.timeline-grid { display: grid; grid-template-columns: 1fr; gap: 25px; }
.timeline-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 10px 25px rgba(0,0,0,0.06); position: relative; overflow: hidden; border-top: 4px solid var(--gold-primary); text-align: center; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s; }
.timeline-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
.timeline-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.step-number { position: absolute; top: 10px; left: 10px; background: var(--blue-dark); color: var(--gold-primary); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: 800; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.2); border: 2px solid #fff; z-index: 2; }
.timeline-card h3 { color: var(--blue-dark); font-size: 1.3rem; margin-bottom: 10px; font-weight: 700; }
.timeline-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.5; }

/* --- DGCA GROUND CLASSES GRID --- */
.dgca-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.dgca-card { position: relative; height: 250px; border-radius: 20px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 25px; text-align: left; box-shadow: 0 10px 20px rgba(0,0,0,0.08); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); cursor: pointer; }
.dgca-card:hover { transform: scale(1.03); }
.dgca-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,18,36,0.95) 0%, rgba(0,18,36,0.3) 100%); z-index: 1; }
.dgca-content { position: relative; z-index: 2; color: #fff; width: 100%; }
.dgca-content i { font-size: 30px; color: var(--gold-primary); margin-bottom: 10px; display: block; }
.dgca-content h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 5px; }
.dgca-content p { font-size: 0.85rem; color: #CBD5E1; }

/* --- CTA BANNER --- */
.cta-banner { background: var(--blue-light); padding: 50px 5%; text-align: center; color: #fff; margin: 40px 5%; border-radius: 20px; display: flex; flex-direction: column; align-items: center; gap: 25px; box-shadow: 0 20px 40px rgba(0, 74, 173, 0.2); }
.cta-banner h2 { font-size: 1.8rem; line-height: 1.3; font-weight: 700; }
.btn-outline-white { display: inline-flex; align-items: center; gap: 8px; border: 2px solid #fff; color: #fff; padding: 12px 30px; border-radius: 30px; font-weight: 600; text-decoration: none; transition: 0.3s; }
.btn-outline-white:hover { background: #fff; color: var(--blue-light); }
.btn-outline-white i { font-size: 20px; transition: 0.3s; }
.btn-outline-white:hover i { transform: translateX(5px); }

/* --- REVIEWS SECTION --- */
.reviews-section { padding: 60px 5%; text-align: center; overflow: hidden; }
.reviews-section .section-title { margin-bottom: 30px; }
.reviews-section .section-title h2 { font-size: 2.2rem; font-weight: 800; }
.reviews-scroll-container { display: flex; gap: 20px; overflow-x: auto; padding: 10px 5% 30px 5%; margin: 0 -5%; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.reviews-scroll-container::-webkit-scrollbar { display: none; }
.review-card { min-width: 280px; width: 280px; background: #fff; border-radius: 16px; padding: 25px; text-align: left; box-shadow: 0 10px 30px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; scroll-snap-align: center; flex-shrink: 0; }
.reviewer-info { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; position: relative; }
.avatar { width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; font-weight: 700; }
.reviewer-info h4 { font-size: 0.95rem; color: var(--blue-dark); font-weight: 700; }
.reviewer-info p { font-size: 0.75rem; color: var(--text-muted); }
.google-icon { position: absolute; right: 0; top: 0; color: #DB4437; font-size: 20px; }
.stars { color: #FBBC05; font-size: 16px; margin-bottom: 10px; }
.review-text { font-size: 0.9rem; color: var(--text-main); line-height: 1.5; }

/* --- FOOTER & BOTTOM NAV --- */
.app-footer { 
    background: var(--blue-dark); 
    color: #fff; 
    border-top: 5px solid var(--gold-primary); 
    padding: 60px 5% 100px 5%; 
    margin-bottom: 0; 
    width: 100%;
}
.footer-content { 
    display: flex; 
    flex-direction: column; 
    gap: 35px; 
    margin-bottom: 40px; 
    width: 100%;
}
.footer-brand p { color: #94A3B8; font-size: 0.95rem; margin-top: 15px; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { color: var(--gold-primary); margin-bottom: 20px; font-size: 1.3rem; }
.footer-links a { display: block; color: #94A3B8; text-decoration: none; margin-bottom: 12px; transition: 0.3s; }
.footer-links a:hover { color: var(--gold-primary); padding-left: 5px; }
.footer-contact p { color: #94A3B8; font-size: 0.95rem; margin-bottom: 15px; display: flex; align-items: center; gap: 12px; }
.footer-contact i { color: var(--gold-primary); font-size: 20px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 25px; font-size: 0.85rem; color: #64748B; }

.bottom-nav-bar { position: fixed; bottom: 0; left: 0; width: 100%; height: 75px; background: #fff; display: flex; justify-content: space-around; align-items: center; box-shadow: 0 -5px 25px rgba(0,0,0,0.15); z-index: 1000; border-top-left-radius: 25px; border-top-right-radius: 25px; transition: transform 0.3s; padding-bottom: env(safe-area-inset-bottom); }
.nav-item { display: flex; flex-direction: column; align-items: center; text-decoration: none; color: #94A3B8; font-size: 11px; font-weight: 600; gap: 5px; width: 65px; }
.nav-item i { font-size: 24px; transition: 0.3s; }
.nav-item.active { color: var(--blue-dark); }
.nav-item.active i { color: var(--gold-primary); transform: translateY(-3px); }
.nav-fab-wrapper { position: relative; top: -30px; }
.fab-button { width: 60px; height: 60px; background: linear-gradient(135deg, var(--gold-primary), #E5C354); border-radius: 50%; display: flex; justify-content: center; align-items: center; box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4); border: 5px solid var(--bg-white); color: var(--blue-dark); font-size: 26px; text-decoration: none; transition: transform 0.3s; }
.fab-button:active { transform: scale(0.9); }

/* --- NEW MODERN HIGH-PERFORMANCE ANIMATIONS --- */
.hero-anim {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.hero-anim.active { opacity: 1; transform: translateY(0); }

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.reveal.active { opacity: 1; transform: translateY(0); }

.reveal.zoom {
    transform: translateY(40px) scale(0.92);
}
.reveal.zoom.active {
    transform: translateY(0) scale(1);
}

@keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-8px); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scrollDown { 0% { top: 6px; opacity: 1; } 100% { top: 22px; opacity: 0; } }

.float-anim { animation: float 3s ease-in-out infinite; }
.fade-in-delayed { animation: fadeIn 1s ease 1s forwards; opacity: 0; }

/* --- DESKTOP VIEW & TWEAKS --- */
@media (max-width: 767px) {
    .header-logo { height: 35px; } 
    .hero-text h1 { font-size: 2.5rem; }
    .btn-primary { width: 100%; max-width: 280px; }
}

@media (min-width: 768px) {
    .mobile-menu-icon, .mobile-sidebar, .bottom-nav-bar { display: none; }
    .float-wa { bottom: 30px; right: 30px; width: 65px; height: 65px; font-size: 35px; }
    .top-bar { padding: 10px 5%; font-size: 13px; }
    .desktop-nav { display: flex; align-items: center; gap: 25px; }
    .desktop-nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; transition: 0.3s; }
    .desktop-nav a:hover { color: var(--gold-primary); }
    
    .hero-text h1 { font-size: 4.8rem; }
    
    /* Grid Adjustments for Desktop */
    .about-image-layout { grid-template-columns: 1.2fr 1fr; gap: 40px; }
    .about-img-box { height: 350px; }
    .grid-layout { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    
    .blue-banner { flex-direction: row; justify-content: space-between; align-items: center; padding: 50px; }
    .banner-text-left { width: 45%; }
    .banner-text-right { width: 50%; text-align: right; }
    
    .timeline-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
    .dgca-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
    
    .cta-banner { flex-direction: row; justify-content: space-between; padding: 60px 8%; margin: 60px 5%; text-align: left; }
    .cta-banner h2 { font-size: 2.2rem; }
    
    .reviews-scroll-container { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 20px 0; overflow-x: visible; }
    .review-card { width: 100%; min-width: auto; }
    
    /* 100% FIXED DESKTOP FOOTER USING FORCED FLEXBOX */
    .app-footer { 
        padding: 60px 5% 30px 5% !important; 
    } 
    .footer-content { 
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important; 
        align-items: flex-start !important;
        gap: 40px !important; 
    }
    .footer-brand { width: 40% !important; }
    .footer-links { width: 25% !important; }
    .footer-contact { width: 30% !important; }
}