*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy: #0e1a3a;
    --navy-deep: #090f22;
    --blue: #1a3270;
    --blue-mid: #1e3d8f;
    --gold: #c9a84c;
    --gold-light: #e8c97a;
    --white: #ffffff;
    --off-white: #f4f2ed;
    --light-gray: #eaeaea;
    --text-dark: #111827;
    --text-muted: #6b7280;
    
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; color: var(--text-dark); background: #fff; overflow-x: hidden; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 28px; }

/* TOP BAR */
.top-bar { background: var(--navy-deep); color: rgba(255,255,255,0.75); font-size: 13px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,0.75); text-decoration: none; margin-left: 20px; }
.top-bar a:hover { color: var(--gold-light); }
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-right { display: flex; align-items: center; gap: 14px; }
.lang-select { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.75); font-size: 12px; padding: 2px 8px; border-radius: 3px; cursor: pointer; }

/* PAGE HERO */
.page-hero {
    background: var(--navy);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1562774053-701939374585?w=1600&q=80') center/cover no-repeat;
    opacity: 0.08;
}
.page-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; }
.breadcrumb a { color: rgba(255,255,255,0.5); font-size: 13px; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(255,255,255,0.3); font-size: 13px; }
.breadcrumb .current { color: var(--gold); font-size: 13px; }
.page-hero h1 { font-family: 'Cormorant Garamond', serif; font-size: clamp(48px, 6vw, 80px); font-weight: 700; color: #fff; line-height: 1; margin-bottom: 16px; }
.page-hero h1 em { font-style: italic; color: var(--gold-light); }
.page-hero p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 560px; line-height: 1.8; }

/* FILTER BAR */
.filter-bar { background: var(--off-white); padding: 24px 0; border-bottom: 1px solid var(--light-gray); position: sticky; top: 73px; z-index: 99; }
.filter-inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.filter-label { font-size: 13px; font-weight: 600; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; margin-right: 8px; }
.filter-btn { padding: 8px 20px; border-radius: 50px; border: 1.5px solid var(--light-gray); background: #fff; font-size: 13px; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: all 0.2s; }
.filter-btn:hover, .filter-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-btn.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 600; }

/* PROGRAMS GRID */
.programs-section { padding: 80px 0 100px; background: #fff; }
.section-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.section-title { font-family: 'Cormorant Garamond', serif; font-size: clamp(36px, 4vw, 52px); font-weight: 700; line-height: 1.1; color: var(--navy); margin-bottom: 48px; }
.section-title em { font-style: italic; color: var(--blue-mid); }

.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.program-card {
    border-radius: 10px; overflow: hidden;
    border: 1px solid var(--light-gray);
    transition: all 0.35s;
    position: relative;
    background: #fff;
}
.program-card:hover { transform: translateY(-10px); box-shadow: 0 24px 60px rgba(14,26,58,0.13); border-color: transparent; }

.program-card-img {
    height: 200px; overflow: hidden; position: relative;
}
.program-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.program-card:hover .program-card-img img { transform: scale(1.08); }
.program-card-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(9,15,34,0.7) 0%, transparent 60%);
}
.program-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--gold); color: var(--navy);
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase; padding: 4px 10px; border-radius: 2px;
}
.program-card-body { padding: 28px; }
.program-icon { font-size: 28px; color: var(--blue-mid); margin-bottom: 14px; }
.program-card-body h4 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; line-height: 1.3; }
.program-card-body p { font-size: 13.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 20px; }
.program-meta { display: flex; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.program-meta-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); }
.program-meta-item i { color: var(--gold); font-size: 11px; }
.program-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--light-gray); }
.card-link { font-size: 13px; color: var(--blue-mid); font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.card-link:hover { gap: 10px; color: var(--navy); }
.program-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: rgba(14,26,58,0.06); line-height: 1; }

/* CTA STRIP */
.cta-strip {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--blue) 100%);
    padding: 72px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-strip h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 52px); font-weight: 700; color: #fff; margin-bottom: 14px; position: relative; }
.cta-strip p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 32px; line-height: 1.75; position: relative; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }
.btn-primary { background: var(--gold); color: var(--navy); padding: 14px 32px; border-radius: 4px; font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border: 1.5px solid rgba(255,255,255,0.35); color: #fff; padding: 14px 32px; border-radius: 4px; font-size: 14px; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; transition: all 0.25s; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* FOOTER */
footer { background: var(--navy-deep); padding: 60px 0 0; color: rgba(255,255,255,0.7); }
.footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--gold); text-decoration: none; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 60px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin: 18px 0 24px; color: rgba(255,255,255,0.55); }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 14px; text-decoration: none; transition: all 0.25s; }
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-col h6 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 14px; transition: all 0.2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-col ul li a::before { content: '→'; font-size: 11px; color: var(--gold); }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }
.reveal-delay-7 { transition-delay: 0.7s; }

@media (max-width: 1024px) {
    .programs-grid { grid-template-columns: repeat(2, 1fr); }
    .dropdown { position: static; display: none; box-shadow: none; background: rgba(255,255,255,0.04); min-width: 100%; opacity: 1; visibility: visible; transform: none; }
    .dropdown.mobile-open { display: block; }
    .dropdown.mega { grid-template-columns: 1fr; padding: 12px; }
    .dropdown.mega.mobile-open { display: grid; }
    .nav-menu > li { display: block; width: 100%; }
}

@media (max-width: 640px) {
    .programs-grid { grid-template-columns: 1fr; }
}