:root {
    --color-brand: #06546b;
    --color-brand-light: #e7f0f3;
    --color-brand-dark: #043842;
}

.nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    border-radius: 0.5rem;
    transition: color 0.2s ease, background-color 0.2s ease;
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    line-height: 1;
    user-select: none;
}

.icon-sm { font-size: 1rem; }
.icon-md { font-size: 1.25rem; }
.icon-lg { font-size: 1.5rem; }
.icon-xl { font-size: 2rem; }
.icon-2xl { font-size: 2.5rem; }
.icon-3xl { font-size: 3rem; }
.icon-4xl { font-size: 4rem; }
.icon-5xl { font-size: 5rem; }
.icon-6xl { font-size: 6rem; }
.icon-7xl { font-size: 7rem; }
.icon-8xl { font-size: 8rem; }

.nav-link:hover,
.nav-link.active {
    color: var(--color-brand);
    background-color: var(--color-brand-light);
}

.nav-pill {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    background: transparent;
    position: relative;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-pill::after {
    content: '';
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 0.4rem;
    height: 2px;
    background-color: var(--color-brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-pill:hover,
.nav-pill.active {
    color: var(--color-brand);
    background-color: transparent;
}

.nav-pill:hover::after,
.nav-pill.active::after {
    transform: scaleX(1);
}

.nav-logo {
    height: 3.25rem;
    width: 3.25rem;
    object-fit: contain;
}

@media (min-width: 640px) {
    .nav-logo {
        height: 3.75rem;
        width: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .nav-logo {
        height: 4rem;
        width: 4rem;
    }
}

.floating-nav {
    min-height: 4.5rem;
}

@media (min-width: 640px) {
    .floating-nav {
        min-height: 5rem;
    }
}

.footer-logo {
    height: 5.5rem;
    width: auto;
    max-width: 11rem;
    object-fit: contain;
}

@media (min-width: 640px) {
    .footer-logo {
        height: 6.5rem;
        max-width: 13rem;
    }
}

.home-page .floating-nav-hero {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.program-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(6, 84, 107, 0.14);
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slide-down 0.3s ease-out forwards;
}

.stagger-fade > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-fade.visible .stagger-fade > * {
    opacity: 1;
    transform: translateY(0);
}

.section-fade.visible .stagger-fade > *:nth-child(1) { transition-delay: 0.05s; }
.section-fade.visible .stagger-fade > *:nth-child(2) { transition-delay: 0.1s; }
.section-fade.visible .stagger-fade > *:nth-child(3) { transition-delay: 0.15s; }
.section-fade.visible .stagger-fade > *:nth-child(4) { transition-delay: 0.2s; }
.section-fade.visible .stagger-fade > *:nth-child(5) { transition-delay: 0.25s; }
.section-fade.visible .stagger-fade > *:nth-child(6) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .section-fade,
    .animate-fade-in,
    .stagger-fade > * {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
        transition: none !important;
    }
}
