/* ═══════════════════════════════════════════════════════════════
   Greenfield Academy Lagos — Master Stylesheet
   Palette: Forest #0E3D2B · Gold #C9943A · Cream #F7F3EC · Charcoal #1A1A1A
   Fonts: Cormorant Garamond (display) · DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:'DM Sans',system-ui,-apple-system,sans-serif;background:#F7F3EC;color:#1A1A1A;line-height:1.65;overflow-x:hidden;-webkit-font-smoothing:antialiased}
img,video{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none;transition:color .2s}
ul,ol{list-style:none}
button,input,select,textarea{font:inherit;border:none;outline:none}
button{cursor:pointer;background:none}

/* ── Container ── */
.container{max-width:1360px;margin:0 auto;padding:0 24px}
@media(min-width:768px){.container{padding:0 48px}}

/* ── Header ── */
.site-header{position:fixed;top:0;left:0;right:0;z-index:1000;transition:background .4s,box-shadow .4s}
.site-header.scrolled{background:rgba(14,61,43,.97);box-shadow:0 2px 32px rgba(0,0,0,.15)}
.header-inner{max-width:1360px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;padding:16px 24px}
@media(min-width:768px){.header-inner{padding:18px 48px}}
.brand{display:flex;align-items:center;gap:14px}
.brand img{height:46px;width:auto}
.brand span{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.55rem;font-weight:500;color:#fff;letter-spacing:-.01em}

/* Desktop nav */
.nav-desktop{display:none;align-items:center;gap:10px}
@media(min-width:1024px){.nav-desktop{display:flex}}
.nav-desktop .nav-links{display:flex;align-items:center;gap:6px;background:rgba(0,0,0,.3);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);border-radius:9999px;padding:6px 6px 6px 28px;height:64px}
.nav-desktop .nav-links a{color:rgba(255,255,255,.85);font-size:.925rem;padding:8px 14px;border-radius:9999px;transition:color .2s,background .2s}
.nav-desktop .nav-links a:hover{color:#fff}
.nav-desktop .nav-links a.active{color:#C9943A}

/* Apply button */
.btn-apply{display:inline-flex;align-items:center;justify-content:center;padding:12px 28px;border-radius:9999px;background:#C9943A;color:#0E3D2B;font-family:'DM Sans',system-ui,sans-serif;font-size:.95rem;font-weight:600;transition:background .25s,transform .15s;white-space:nowrap;letter-spacing:.01em}
.btn-apply:hover{background:#d4a44a;transform:translateY(-1px)}
.btn-apply-dark{background:#0E3D2B;color:#F7F3EC}
.btn-apply-dark:hover{background:#154d36}
.btn-apply-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.4);font-weight:500}
.btn-apply-outline:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.6)}

/* Mobile toggle */
.mobile-toggle{display:flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:rgba(0,0,0,.35);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);color:#fff}
@media(min-width:1024px){.mobile-toggle{display:none}}

/* Mobile menu */
.mobile-menu{display:none;position:absolute;top:100%;right:24px;margin-top:12px;width:280px;background:rgba(14,61,43,.96);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-radius:20px;padding:20px;flex-direction:column;gap:4px;box-shadow:0 16px 48px rgba(0,0,0,.25)}
.mobile-menu.open{display:flex}
.mobile-menu a{color:rgba(255,255,255,.9);font-size:1rem;padding:12px 16px;border-radius:12px;transition:background .2s}
.mobile-menu a:hover{background:rgba(255,255,255,.08);color:#C9943A}
.mobile-menu a.active{color:#C9943A}
.mobile-menu .btn-apply{margin-top:8px;text-align:center}

/* ── Hero (Home) ── */
.hero{position:relative;min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;color:#fff;overflow:hidden}
.hero-bg{position:absolute;inset:0;z-index:0}
.hero-bg img{width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(to bottom,rgba(14,61,43,.7) 0%,rgba(14,61,43,.5) 55%,rgba(14,61,43,.88) 100%)}
.hero-content{position:relative;z-index:2;max-width:860px;padding:140px 24px 40px}
.hero-content h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.5rem,5.5vw,4.5rem);font-weight:400;line-height:1.06;margin-bottom:24px;letter-spacing:-.02em}
.hero-content h1 em{font-style:italic}
.hero-content .subtitle{font-family:'DM Sans',system-ui,sans-serif;font-size:clamp(1rem,2vw,1.35rem);color:rgba(255,255,255,.7);margin-bottom:36px;line-height:1.5}
.hero-footer{position:relative;z-index:2;width:100%;max-width:1360px;margin:0 auto;display:flex;flex-direction:column;padding:0 24px 48px;gap:24px}
@media(min-width:768px){.hero-footer{flex-direction:row;justify-content:space-between;align-items:flex-end;padding:0 48px 64px}}
.hero-footer .desc{max-width:480px;font-size:1.1rem;line-height:1.4;color:rgba(255,255,255,.78)}
.hero-footer .pills{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}
.hero-pill{display:inline-flex;align-items:center;justify-content:center;height:56px;padding:0 22px;border-radius:16px;border:1px solid rgba(255,255,255,.35);font-size:1rem;color:#fff;white-space:nowrap;gap:10px}
.hero-pill-icon{width:56px;height:56px;border-radius:16px;border:1px solid rgba(255,255,255,.35);display:flex;align-items:center;justify-content:center;flex-shrink:0}

/* ── Page Hero (Inner pages) ── */
.page-hero{position:relative;padding:160px 24px 80px;text-align:center;color:#fff;overflow:hidden;min-height:420px;display:flex;align-items:center;justify-content:center}
.page-hero-bg{position:absolute;inset:0}
.page-hero-bg img{width:100%;height:100%;object-fit:cover}
.page-hero-overlay{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(14,61,43,.78) 0%,rgba(14,61,43,.6) 55%,rgba(14,61,43,.92) 100%)}
.page-hero-content{position:relative;z-index:2;max-width:800px;margin:0 auto}
.page-hero-content h1{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2.2rem,4.5vw,3.5rem);font-weight:400;line-height:1.08;margin-bottom:16px;letter-spacing:-.02em}
.page-hero-content h1 em{font-style:italic}
.page-hero-content p{font-size:1.15rem;color:rgba(255,255,255,.72);max-width:600px;margin:0 auto;line-height:1.5}

/* ── Sections ── */
.section{padding:96px 0}
.section-cream{background:#F7F3EC}
.section-green{background:#0E3D2B;color:#F7F3EC}
.section-white{background:#fff}
.section-dark{background:#1A1A1A;color:#F7F3EC}
.section-green-darker{background:#0a2e1e;color:#F7F3EC}

.section-header{text-align:center;margin-bottom:56px}
.section-title{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(2rem,4vw,3.2rem);font-weight:400;line-height:1.1;letter-spacing:-.02em}
.section-title em{font-style:italic}
.section-subtitle{font-size:1.1rem;color:rgba(26,26,26,.55);max-width:600px;margin:16px auto 0;line-height:1.55}
.section-green .section-subtitle,.section-dark .section-subtitle,.section-green-darker .section-subtitle{color:rgba(247,243,236,.6)}

/* ── Grid ── */
.grid{display:grid;gap:24px}
.grid-2{grid-template-columns:1fr}
.grid-3{grid-template-columns:1fr}
.grid-4{grid-template-columns:1fr}
@media(min-width:768px){.grid-2{grid-template-columns:1fr 1fr}.grid-4{grid-template-columns:1fr 1fr}}
@media(min-width:1024px){.grid-3{grid-template-columns:repeat(3,1fr)}.grid-4{grid-template-columns:repeat(4,1fr)}}

/* ── Cards ── */
.card{background:#fff;border-radius:24px;overflow:hidden;transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s}
.card:hover{transform:translateY(-6px);box-shadow:0 20px 48px rgba(14,61,43,.1)}
.card-img{width:100%;height:240px;object-fit:cover}
.card-body{padding:28px 28px 32px}
.card-body h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.5rem;margin-bottom:10px;color:#0E3D2B;line-height:1.2}
.card-body p{color:rgba(26,26,26,.6);font-size:.95rem;line-height:1.65}
.card-flat{background:rgba(14,61,43,.06);border-radius:24px;padding:32px;transition:background .3s}
.card-flat:hover{background:rgba(14,61,43,.1)}
.card-flat h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.4rem;color:#0E3D2B;margin-bottom:12px;line-height:1.2}
.card-flat p{color:rgba(26,26,26,.6);font-size:.95rem;line-height:1.65}
.card-dark{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:24px;padding:32px;transition:transform .35s,background .35s}
.card-dark:hover{transform:translateY(-4px);background:rgba(255,255,255,.1)}
.card-dark h3{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.4rem;color:#C9943A;margin-bottom:12px;line-height:1.2}
.card-dark p{color:rgba(247,243,236,.7);font-size:.95rem;line-height:1.65}

/* ── Feature Icon ── */
.feature-icon{width:56px;height:56px;border-radius:16px;background:rgba(201,148,58,.1);display:flex;align-items:center;justify-content:center;margin-bottom:18px;flex-shrink:0}
.feature-icon svg{width:24px;height:24px;stroke:#C9943A;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.section-green .feature-icon{background:rgba(201,148,58,.15)}

/* ── Stats ── */
.stat-item{text-align:center;padding:24px 16px}
.stat-number{font-family:'Cormorant Garamond',Georgia,serif;font-size:3.2rem;font-weight:500;color:#C9943A;line-height:1;margin-bottom:8px;letter-spacing:-.02em}
.stat-label{font-size:.95rem;color:rgba(26,26,26,.5)}
.section-green .stat-label,.section-dark .stat-label,.section-green-darker .stat-label{color:rgba(247,243,236,.55)}

/* ── Marquee ── */
@keyframes marquee{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}
.marquee-wrap{position:relative;overflow:hidden;padding:0 48px}
.marquee-wrap::before,.marquee-wrap::after{content:'';position:absolute;top:0;bottom:0;width:72px;z-index:2;pointer-events:none}
.marquee-wrap::before{left:0;background:linear-gradient(to right,#F7F3EC,transparent)}
.marquee-wrap::after{right:0;background:linear-gradient(to left,#F7F3EC,transparent)}
.marquee-track{display:flex;width:max-content;animation:marquee 38s linear infinite;gap:72px;align-items:center}
.marquee-item{display:flex;align-items:center;gap:14px;opacity:.35;flex-shrink:0;transition:opacity .3s}
.marquee-item:hover{opacity:.6}
.marquee-item span{font-family:'DM Sans',system-ui,sans-serif;font-size:1.35rem;font-weight:700;color:#0E3D2B;white-space:nowrap;letter-spacing:.02em}

/* ── Testimonial ── */
.testimonial-card{background:rgba(14,61,43,.07);border-radius:24px;padding:44px;display:flex;flex-direction:column;gap:32px}
.testimonial-quote{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.55rem;line-height:1.55;color:#1A1A1A;font-style:italic}
.testimonial-author .name{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-size:1.15rem;color:#0E3D2B;margin-bottom:2px}
.testimonial-author .role{font-size:.95rem;color:rgba(26,26,26,.5)}

/* ── Timeline ── */
.timeline{position:relative;padding-left:36px}
.timeline::before{content:'';position:absolute;left:7px;top:8px;bottom:8px;width:2px;background:rgba(14,61,43,.12);border-radius:2px}
.timeline-item{position:relative;padding-bottom:36px}
.timeline-item:last-child{padding-bottom:0}
.timeline-item::before{content:'';position:absolute;left:-33px;top:8px;width:14px;height:14px;border-radius:50%;background:#C9943A;border:3px solid #F7F3EC;box-shadow:0 0 0 2px rgba(201,148,58,.3)}
.timeline-item h4{font-size:1rem;font-weight:600;color:#0E3D2B;margin-bottom:4px}
.timeline-item .year{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.1rem;color:#C9943A;font-weight:500;margin-bottom:2px}
.timeline-item p{font-size:.93rem;color:rgba(26,26,26,.6);line-height:1.6}

/* ── FAQ ── */
.faq-item{border-bottom:1px solid rgba(14,61,43,.08)}
.faq-question{width:100%;text-align:left;padding:22px 0;font-size:1.05rem;font-weight:500;color:#0E3D2B;display:flex;justify-content:space-between;align-items:center;cursor:pointer;transition:color .2s;gap:16px}
.faq-question:hover{color:#C9943A}
.faq-question .icon{font-size:1.4rem;transition:transform .3s;color:#C9943A;flex-shrink:0;line-height:1}
.faq-question.open .icon{transform:rotate(45deg)}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .45s ease,padding .3s;font-size:.95rem;color:rgba(26,26,26,.6);line-height:1.65}
.faq-answer.open{max-height:300px;padding-bottom:22px}

/* ── Forms ── */
.form-group{margin-bottom:20px}
.form-group label{display:block;font-size:.9rem;font-weight:600;margin-bottom:6px;color:#0E3D2B;letter-spacing:.01em}
.form-input{width:100%;padding:14px 18px;border:1.5px solid rgba(14,61,43,.12);border-radius:14px;font-size:1rem;background:#fff;color:#1A1A1A;transition:border-color .25s,box-shadow .25s}
.form-input:focus{border-color:#C9943A;box-shadow:0 0 0 3px rgba(201,148,58,.12)}
textarea.form-input{resize:vertical;min-height:140px}
select.form-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%230E3D2B' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 18px center;padding-right:44px}

/* ── Badge ── */
.badge{display:inline-flex;align-items:center;padding:7px 18px;border-radius:9999px;font-size:.78rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
.badge-gold{background:rgba(201,148,58,.1);color:#C9943A}
.badge-green{background:rgba(14,61,43,.07);color:#0E3D2B}

/* ── CTA Banner ── */
.cta-banner{background:linear-gradient(135deg,#0E3D2B 0%,#1a5c3d 60%,#0E3D2B 100%);border-radius:32px;padding:72px 40px;text-align:center;color:#F7F3EC;position:relative;overflow:hidden}
.cta-banner::before{content:'';position:absolute;top:-50%;right:-20%;width:400px;height:400px;background:radial-gradient(circle,rgba(201,148,58,.08) 0%,transparent 70%);pointer-events:none}
.cta-banner h2{font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(1.9rem,3.5vw,2.8rem);margin-bottom:16px;font-weight:400;letter-spacing:-.02em}
.cta-banner p{color:rgba(247,243,236,.68);font-size:1.1rem;max-width:520px;margin:0 auto 32px;line-height:1.55}

/* ── Map ── */
.map-wrap{width:100%;height:420px;border-radius:24px;overflow:hidden;border:1px solid rgba(14,61,43,.08)}
.map-wrap iframe{width:100%;height:100%;border:0}

/* ── Image Showcase ── */
.img-showcase{display:grid;gap:16px}
.img-showcase-2{grid-template-columns:1fr}
.img-showcase-3{grid-template-columns:1fr}
@media(min-width:768px){.img-showcase-2{grid-template-columns:1fr 1fr}.img-showcase-3{grid-template-columns:repeat(3,1fr)}}
.img-showcase img{width:100%;border-radius:20px;object-fit:cover;height:300px}
.img-showcase-2 img{height:360px}

/* ── Two-col layout ── */
.two-col{display:grid;grid-template-columns:1fr;gap:48px;align-items:center}
@media(min-width:768px){.two-col{grid-template-columns:1fr 1fr}}
.two-col img{border-radius:24px;width:100%;object-fit:cover}

/* ── Footer ── */
.site-footer{background:#0E3D2B;color:rgba(247,243,236,.75);padding:72px 0 32px}
.footer-grid{display:grid;grid-template-columns:1fr;gap:40px;margin-bottom:48px}
@media(min-width:768px){.footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}}
.footer-brand{display:flex;align-items:center;gap:12px;margin-bottom:16px}
.footer-brand img{height:38px;width:auto}
.footer-brand span{font-family:'Cormorant Garamond',Georgia,serif;font-size:1.3rem;color:#F7F3EC;font-weight:500}
.footer-desc{font-size:.9rem;line-height:1.65;max-width:320px;color:rgba(247,243,236,.55)}
.footer-col h4{font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#C9943A;margin-bottom:16px}
.footer-col a{display:block;font-size:.9rem;color:rgba(247,243,236,.55);padding:5px 0;transition:color .2s}
.footer-col a:hover{color:#F7F3EC}
.footer-col p{font-size:.9rem;color:rgba(247,243,236,.5);line-height:1.6}
.footer-bottom{border-top:1px solid rgba(247,243,236,.08);padding-top:24px;text-align:center;font-size:.82rem;color:rgba(247,243,236,.35)}

/* ── Utility ── */
.text-center{text-align:center}
.text-left{text-align:left}
.mx-auto{margin-left:auto;margin-right:auto}
.w-full{width:100%}
.relative{position:relative}
.overflow-hidden{overflow:hidden}
.rounded-2xl{border-radius:20px}
.rounded-3xl{border-radius:28px}
.mb-4{margin-bottom:16px}
.mb-6{margin-bottom:24px}
.mb-8{margin-bottom:32px}
.mb-10{margin-bottom:40px}
.mt-6{margin-top:24px}
.mt-8{margin-top:32px}
.pt-0{padding-top:0}
.pb-0{padding-bottom:0}

/* ── Scroll Animation ── */
@keyframes fadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:translateY(0)}}
[data-animate]{opacity:0;transform:translateY(28px);transition:opacity .7s cubic-bezier(.22,1,.36,1),transform .7s cubic-bezier(.22,1,.36,1)}
[data-animate].visible{opacity:1;transform:translateY(0)}
[data-animate].visible.d1{transition-delay:.1s}
[data-animate].visible.d2{transition-delay:.2s}
[data-animate].visible.d3{transition-delay:.3s}
[data-animate].visible.d4{transition-delay:.4s}
