/* ===== Base & Typography ===== */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

::selection {
    background-color: #d4a017;
    color: #0a1a35;
}

/* ===== Section Labels ===== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #d4a017;
}

/* ===== Section Titles ===== */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0a1a35;
}

/* ===== Navbar ===== */
.nav-text {
    color: #0a1a35;
}

.nav-bg-hover:hover {
    background-color: rgba(10, 26, 53, 0.05);
}

header.scrolled .nav-text {
    color: #0a1a35;
}

header.scrolled .nav-bg-hover {
    background-color: transparent;
}

/* ===== Mobile Menu ===== */
.mobile-link {
    border-bottom: 1px solid rgba(10, 26, 53, 0.06);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ===== Program Cards ===== */
.program-card {
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a017, #f4e0a0);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

/* ===== Why Us Items ===== */
.why-item {
    border-left: 2px solid transparent;
    padding-left: 0;
    transition: all 0.3s ease;
}

.why-item:hover {
    border-left-color: #d4a017;
    padding-left: 16px;
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(212, 160, 23, 0.12);
    pointer-events: none;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        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; }
}

/* ===== Button Focus ===== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f0f3f9;
}
::-webkit-scrollbar-thumb {
    background: #b3c2df;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8da4cf;
}

/* ===== Mobile Adjustments ===== */
@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
}
