/* Palette: Navy Blue, Steel Grey, White */
:root {
    --navy: #002366;
    --navy-dark: #001540;
    --steel: #B0C4DE;
    --steel-light: #E6EBF2;
    --white: #FFFFFF;
    --text: #333333;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Roboto', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--steel-light);
    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 */
.header { background: var(--navy); padding: 20px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.header-flex { display: flex; justify-content: space-between; align-items: center; }

.logo { font-family: var(--font-serif); font-size: 1.8rem; color: var(--white); font-weight: 700; letter-spacing: 1px; }
.steel-text { color: var(--steel); }

.nav a { margin-left: 25px; color: var(--steel); font-weight: 500; font-size: 0.9rem; text-transform: uppercase; }
.nav a:hover, .nav a.active { color: var(--white); }

.mobile-toggle { display: none; background: transparent; border: 1px solid var(--steel); color: var(--steel); padding: 5px 15px; cursor: pointer; }

/* Mobile Menu */
.mobile-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100%; background: var(--navy-dark); z-index: 2000; padding: 50px; transition: 0.3s; border-left: 1px solid var(--steel); }
.mobile-menu.active { right: 0; }
.close-btn { background: none; border: none; font-size: 1.5rem; color: var(--white); margin-bottom: 30px; cursor: pointer; }
.mobile-menu a { display: block; font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 20px; color: var(--steel); }
.mobile-menu a:hover { color: var(--white); }

@media (max-width: 900px) {
    .nav { display: none; }
    .mobile-toggle { display: block; }
}

/* Hero */
.hero { height: 85vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 35, 102, 0.7); z-index: 1; }
.hero-content { position: relative; z-index: 2; color: var(--white); max-width: 800px; }

.tag { background: var(--steel); color: var(--navy); padding: 5px 15px; font-weight: 700; font-size: 0.8rem; display: inline-block; margin-bottom: 20px; }
.hero h1 { font-family: var(--font-serif); font-size: 4.5rem; line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 1.3rem; margin-bottom: 40px; color: #ddd; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-btns { display: flex; justify-content: center; gap: 20px; }
.btn-primary { background: var(--steel); color: var(--navy); padding: 15px 40px; font-weight: 700; border-radius: 2px; }
.btn-primary:hover { background: var(--white); }
.btn-secondary { border: 2px solid var(--steel); color: var(--steel); padding: 13px 38px; font-weight: 700; border-radius: 2px; }
.btn-secondary:hover { background: var(--steel); color: var(--navy); }

/* Metrics */
.metrics-bar { background: var(--navy-dark); color: var(--white); padding: 40px 0; border-bottom: 4px solid var(--steel); }
.metrics-grid { display: flex; justify-content: space-around; text-align: center; }
.metric strong { display: block; font-family: var(--font-serif); font-size: 3rem; color: var(--steel); line-height: 1; }
.metric span { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

/* Features */
.section-title h2 { font-family: var(--font-serif); font-size: 2.5rem; color: var(--navy); margin-bottom: 15px; }
.line { width: 60px; height: 4px; background: var(--navy); margin-bottom: 40px; }
.center { text-align: center; }
.center .line { margin: 0 auto 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--white); padding: 40px; border-top: 5px solid var(--navy); box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; text-align: center; }
.card:hover { transform: translateY(-5px); }
.icon { font-size: 3rem; margin-bottom: 20px; }
.card h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 15px; color: var(--navy); }

/* Courses Page */
.page-head h1 { font-family: var(--font-serif); font-size: 3.5rem; color: var(--navy); margin-bottom: 10px; }
.course-list { display: flex; flex-direction: column; gap: 50px; max-width: 900px; margin: 0 auto; margin-top: 50px; }
.course-item { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; background: var(--white); padding: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); }
.c-image img { height: 100%; object-fit: cover; }
.badge { background: var(--navy); color: var(--white); font-size: 0.7rem; padding: 5px 10px; font-weight: 700; display: inline-block; margin-bottom: 10px; }
.c-content h3 { font-family: var(--font-serif); font-size: 1.8rem; color: var(--navy); margin-bottom: 15px; }
.specs { list-style: none; margin: 20px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 15px 0; }
.specs li { font-weight: 500; color: #555; margin-bottom: 5px; }
.btn-link { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--navy); }

/* About Page */
.about-split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.about-text h1 { font-family: var(--font-serif); font-size: 3rem; color: var(--navy); line-height: 1.1; margin-bottom: 20px; }
.blue-line { width: 50px; height: 4px; background: var(--navy); margin-bottom: 30px; }
.values-list { margin-top: 30px; list-style: none; }
.values-list li { margin-bottom: 10px; padding-left: 20px; border-left: 3px solid var(--steel); }

/* Testimonials */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.testi-card { background: var(--white); padding: 40px; border: 1px solid #ddd; }
.stars { color: #FFD700; margin-bottom: 15px; letter-spacing: 3px; }
.testi-card p { font-style: italic; color: #555; margin-bottom: 20px; font-size: 1.1rem; }
.author strong { display: block; color: var(--navy); font-family: var(--font-serif); }
.author span { font-size: 0.8rem; color: #777; }

/* Contact */
.contact-wrapper { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-info { background: var(--navy); color: var(--white); padding: 30px; height: fit-content; }
.contact-info h2 { font-family: var(--font-serif); margin-bottom: 20px; }
.info-box p { margin-bottom: 15px; font-size: 0.9rem; }

.clean-form .form-group { margin-bottom: 20px; }
.clean-form label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 5px; font-size: 0.9rem; }
.clean-form input, .clean-form select, .clean-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; font-family: var(--font-sans); background: #fcfcfc; }
.clean-form input:focus, .clean-form select:focus, .clean-form textarea:focus { border-color: var(--navy); outline: none; }
.full { width: 100%; margin-top: 10px; border: none; cursor: pointer; }

/* Legal */
.legal-content { max-width: 800px; margin: 0 auto; background: var(--white); padding: 60px; }
.legal-content h1 { font-family: var(--font-serif); color: var(--navy); }

/* Footer */
.footer { background: #111; color: #999; padding: 60px 0 20px; margin-top: 100px; }
.footer-content { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.f-info h4 { font-family: var(--font-serif); color: var(--steel); font-size: 1.5rem; margin-bottom: 5px; }
.f-links a { margin-left: 20px; color: #999; }
.f-links a:hover { color: var(--white); }
.copyright { text-align: center; font-size: 0.8rem; border-top: 1px solid #333; padding-top: 20px; }

@media (max-width: 900px) {
    .hero-content h1 { font-size: 3rem; }
    .hero-btns { flex-direction: column; }
    .grid-3, .metrics-grid, .about-split, .course-item, .grid-2, .contact-wrapper { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}