/* Palette: Navy, Gold, Cream, White */
:root {
    --navy: #1A365D;
    --dark-navy: #102A43;
    --gold: #D4AF37;
    --cream: #FDFBF7;
    --white: #FFFFFF;
    --text: #333333;
    --grey: #627D98;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Source Sans Pro', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 100px 0; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; border-radius: 4px; }

/* Header */
.academy-header { background: var(--white); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-serif); font-size: 1.6rem; color: var(--navy); letter-spacing: 1px; }
.gold { color: var(--gold); }

.main-nav a { margin-left: 25px; font-weight: 600; font-size: 0.95rem; color: var(--grey); }
.main-nav a:hover, .main-nav a.active { color: var(--navy); }
.nav-cta { border: 2px solid var(--gold); padding: 8px 20px; border-radius: 4px; color: var(--gold) !important; }
.nav-cta:hover { background: var(--gold); color: var(--white) !important; }

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--navy); }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--navy); z-index: 2000; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 30px; transform: translateY(-100%); transition: 0.4s; }
.mobile-menu.active { transform: translateY(0); }
.close-menu { position: absolute; top: 30px; right: 30px; color: var(--white); font-size: 2rem; background: none; border: none; cursor: pointer; }
.mobile-menu a { color: var(--white); font-family: var(--font-serif); font-size: 2rem; }

@media (max-width: 900px) {
    .main-nav { display: none; }
    .menu-toggle { display: block; }
}

/* Hero */
.hero-academy { height: 80vh; background: url('https://images.pexels.com/photos/256490/pexels-photo-256490.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover; position: relative; }
.hero-overlay { width: 100%; height: 100%; background: rgba(26, 54, 93, 0.85); display: flex; align-items: center; }
.hero-content { color: var(--white); max-width: 800px; }

.top-label { color: var(--gold); letter-spacing: 3px; font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 20px; }
.hero-content h1 { font-family: var(--font-serif); font-size: 4rem; line-height: 1.1; margin-bottom: 25px; }
.hero-content p { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; font-weight: 300; }

.btn-gold { background: var(--gold); color: var(--white); padding: 15px 35px; font-weight: 600; border-radius: 4px; display: inline-block; }
.btn-outline { border: 2px solid var(--white); color: var(--white); padding: 13px 35px; font-weight: 600; border-radius: 4px; margin-left: 20px; display: inline-block; }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* Pillars */
.section-title h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--navy); }
.gold-hr { width: 60px; height: 3px; background: var(--gold); margin: 20px auto 50px; }
.gold-hr.left { margin: 20px 0 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.pillar-card { background: var(--cream); padding: 50px 30px; text-align: center; border: 1px solid #eee; transition: 0.3s; }
.pillar-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--gold); }
.pillar-icon { font-size: 3.5rem; margin-bottom: 25px; }
.pillar-card h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 15px; color: var(--navy); }

/* Stats Bar */
.stats-bar { background: var(--navy); color: var(--white); padding: 60px 0; }
.stats-flex { display: flex; justify-content: space-around; text-align: center; }
.stat-item strong { display: block; font-family: var(--font-serif); font-size: 3rem; color: var(--gold); line-height: 1; margin-bottom: 10px; }
.stat-item span { font-weight: 600; letter-spacing: 1px; font-size: 0.9rem; text-transform: uppercase; }

/* About Layout */
.about-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.text-side h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--navy); }
.lead { font-size: 1.4rem; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.check-list { list-style: none; margin-top: 30px; }
.check-list li { margin-bottom: 15px; padding-left: 30px; position: relative; font-weight: 600; color: var(--dark-navy); }
.check-list li::before { content: '📜'; position: absolute; left: 0; }
.img-side img { border: 15px solid var(--cream); box-shadow: 10px 10px 0 var(--gold); }

/* Testimonials */
.story-card { background: var(--white); padding: 40px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: center; border-top: 5px solid var(--navy); }
.avatar { font-size: 4rem; margin-bottom: 20px; }
.tag { color: var(--gold); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; display: block; margin-bottom: 15px; }
.story-card p { font-style: italic; color: #555; }

/* Contact Form */
.contact-box { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; background: var(--cream); padding: 60px; border: 1px solid #eee; }
.contact-info h2 { font-family: var(--font-serif); color: var(--navy); margin-bottom: 25px; }
.c-items p { margin-bottom: 15px; font-weight: 600; }

.academic-form .form-group { margin-bottom: 20px; }
.academic-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.academic-form input, .academic-form select { width: 100%; padding: 12px; border: 1px solid #ccc; background: var(--white); font-family: var(--font-sans); }
.btn-full { width: 100%; background: var(--navy); color: var(--white); border: none; padding: 15px; font-weight: 700; cursor: pointer; margin-top: 10px; }
.btn-full:hover { background: var(--gold); }

/* Legal */
.legal-paper { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; border: 1px solid #eee; }
.legal-paper h1 { font-family: var(--font-serif); color: var(--navy); }

/* Footer */
.academy-footer { background: var(--dark-navy); color: #999; padding: 60px 0 20px; margin-top: 80px; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #222; padding-bottom: 30px; margin-bottom: 20px; }
.f-brand h4 { color: var(--white); font-family: var(--font-serif); font-size: 1.4rem; }
.f-links a { margin-left: 20px; font-weight: 600; }
.f-links a:hover { color: var(--gold); }
.copyright { text-align: center; font-size: 0.8rem; }

@media (max-width: 900px) {
    .grid-3, .about-layout, .testimonials-grid, .contact-box, .stats-flex, .footer-grid { grid-template-columns: 1fr; flex-direction: column; }
    .hero-content h1 { font-size: 2.5rem; }
    .btn-outline { margin-left: 0; margin-top: 15px; }
    .footer-grid { text-align: center; gap: 30px; }
}