@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

.skip-nav {
    position: absolute;
    top: -100%;
    left: 8px;
    z-index: 99999;
    background: var(--primary, #003366);
    color: #fff;
    padding: 10px 18px;
    border-radius: 0 0 8px 8px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-nav:focus {
    top: 0;
}

:root {
    --primary: #003366;
    --primary-light: #004d99;
    --accent: #D4AF37;
    --accent-dark: #b8962d;
    --secondary: #008080;
    --text-dark: #1a1a1a;
    --text-light: #f4f4f4;
    --bg-white: #ffffff;
    --bg-gray: #f9f9f9;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

p {
    text-align: justify;
}

/* Navigation Modernized */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2000;
    transition: all 0.4s ease;
    background: transparent;
    height: 90px;
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    flex-wrap: nowrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: white;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.dropdown:hover>a {
    color: var(--accent) !important;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: block;
    position: absolute;
    background-color: white;
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    border-radius: 8px;
    overflow: hidden;
    top: 100%;
    left: 0;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.25s ease,
                transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.dropdown-content a {
    color: var(--text-dark) !important;
    padding: 12px 16px;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--bg-gray);
    color: var(--primary) !important;
}

.dropdown:hover .dropdown-content {
    max-height: 400px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.btn-admission {
    padding: 10px 25px;
    background: var(--primary);
    color: white !important;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-admission:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 51, 102, 0.3);
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 60px;
    box-shadow: var(--shadow);
}

nav.scrolled .nav-links a:not(.btn-admission) {
    color: var(--primary);
}

nav.scrolled .logo {
    color: var(--primary);
}

.logo {
    display: flex;
    align-items: center;
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 10%;
    color: white;
    overflow: hidden;
}

.hero-content-modern {
    max-width: 1000px;
    text-align: left;
    z-index: 2;
}

.hero-subheader {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-content-modern h1 {
    font-size: 4.8rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 40px;
}

.btn-learn-more {
    padding: 15px 50px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.btn-learn-more:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-dark, #b8962d);
    margin-bottom: 10px;
}

.vm-box {
    background: var(--bg-gray);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid var(--accent);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s ease, box-shadow 0.4s ease;
}

.vm-box:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: var(--shadow);
}

.vm-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Program-style cards (reused for rooms) */
.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 60px rgba(0, 51, 102, 0.18);
}

.program-content {
    padding: 30px;
}

.program-content h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.btn-see-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    background: var(--primary);
    color: white !important;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
    box-shadow: 0 10px 20px rgba(0, 51, 102, 0.15);
    font-family: inherit;
}

.btn-see-more:hover:not(:disabled) {
    background: var(--accent);
    color: var(--primary) !important;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

.btn-see-more:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 80px 10% 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--accent);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: none;
}

.footer-col p {
    text-align: left;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
}

.contact-item-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1rem;
    color: white;
}

.contact-item-content span,
.contact-item-content a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    footer {
        padding: 60px 20px 30px;
    }
}

/* Scroll progress bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary-light) 100%);
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: width 0.08s linear;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    z-index: 1002;
    position: relative;
    transition: var(--transition);
    background: transparent;
    border: none;
    padding: 0;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.mobile-menu-btn span {
    display: block;
    width: 26px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
    position: absolute;
}

.mobile-menu-btn span:nth-child(1) {
    transform: translateY(-8px);
}

.mobile-menu-btn span:nth-child(2) {
    transform: translateY(0);
}

.mobile-menu-btn span:nth-child(3) {
    transform: translateY(8px);
}

nav.scrolled .mobile-menu-btn span {
    background-color: var(--primary);
}

.mobile-menu-btn.open span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
}
.mobile-menu-btn.open span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.open span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
}

@media (max-width: 860px) {
    nav {
        padding: 18px 24px;
    }
    nav.scrolled {
        padding: 14px 24px;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 80vw);
        height: 100vh;
        background: var(--primary);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 110px 30px 30px;
        gap: 24px;
        transition: right 0.4s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    }
    .nav-links.open {
        right: 0;
    }
    .nav-links a {
        color: white !important;
        font-size: 1.1rem;
    }
    .dropdown-content {
        position: static;
        max-height: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        background: rgba(255,255,255,0.08);
        box-shadow: none;
    }
    .dropdown-content a {
        color: white !important;
    }
}
