:root {
    --primary: #0a1128;
    /* Deep Midnight Blue */
    --accent: #d4af37;
    /* Metallic Gold */
    --soft-gold: #f4e8c1;
    --white: #ffffff;
    --dark-gray: #1e293b;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-gray);
    overflow-x: hidden;
}

h1,
h2,
h3,
.navbar-brand {
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

/* --- Advanced Navigation --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 2px solid var(--soft-gold);
    padding: 1rem 0;
}

.nav-link {
    font-weight: 600;
    color: var(--primary) !important;
    margin: 0 15px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Hero with Overlay & Animation --- */
.hero {
    position: relative;
    height: 90vh;
    background: fixed center/cover url('https://images.unsplash.com/photo-1571896349842-33c89424de2d?auto=format&fit=crop&w=1920&q=80');
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 17, 40, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* --- Glassmorphism Feature Cards --- */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-15px);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* --- Parallax Stat Section --- */
.stats-section {
    background: var(--primary);
    color: var(--accent);
    padding: 60px 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
}

/* --- Programs Tab Design --- */
.nav-pills .nav-link.active {
    background-color: var(--accent);
    color: var(--primary) !important;
}

.nav-pills .nav-link {
    border: 1px solid var(--accent);
    margin: 5px;
    border-radius: 0;
}

/* --- Luxury Gallery Grid --- */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: repeat(8, 5vw);
    grid-gap: 15px;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.gi-1 {
    grid-column: 1 / span 2;
    grid-row: 1 / span 4;
}

.gi-2 {
    grid-column: 3 / span 3;
    grid-row: 1 / span 8;
}

.gi-3 {
    grid-column: 6 / span 3;
    grid-row: 1 / span 3;
}

.gi-4 {
    grid-column: 1 / span 2;
    grid-row: 5 / span 4;
}

.gi-5 {
    grid-column: 6 / span 3;
    grid-row: 4 / span 5;
}

/* --- Footer Upgrade --- */
.main-footer {
    background: #050a18;
    color: #cbd5e1;
    padding-top: 80px;
}

.footer-logo {
    font-size: 1.5rem;
    color: var(--accent);
}