html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background-color: #F7F3ED;
    color: #2C2C2C;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600 !important;
}

/* ── Navbar ── */
#navbar {
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: #F7F3ED !important;
    box-shadow: 0 1px 0 rgba(28, 58, 42, 0.12);
}

/* ── Mobile Menu ── */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.open {
    max-height: 600px;
}

/* ── Fade-up on scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.72s ease, transform 0.72s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Hero text clip ── */
.hero-accent {
    background: linear-gradient(135deg, #C49A3C 0%, #DDB96A 60%, #C49A3C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Diagonal divider ── */
.diagonal-top {
    clip-path: polygon(0 6%, 100% 0%, 100% 100%, 0 100%);
}

.diagonal-bottom {
    clip-path: polygon(0 0, 100% 0, 100% 94%, 0 100%);
}

/* ── Stat counter ── */
.counter {
    font-family: 'Cormorant Garamond', serif;
}

/* ── Program card hover ── */
.program-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(28, 58, 42, 0.12);
}

/* ── Pillar number ── */
.pillar-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(196, 154, 60, 0.18);
    font-style: italic;
    position: absolute;
    top: -10px;
    left: -4px;
}

/* ── Gold underline ── */
.gold-line::after {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    background: #C49A3C;
    margin-top: 14px;
}

.gold-line-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* ── CTA shimmer ── */
.btn-primary {
    position: relative;
    overflow: hidden;
    background: #C49A3C;
    color: #fff;
    transition: background 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::after {
    left: 150%;
}

.btn-primary:hover {
    background: #b08832;
}

.btn-outline {
    border: 1.5px solid #1C3A2A;
    color: #1C3A2A;
    transition: background 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
    background: #1C3A2A;
    color: #F7F3ED;
}

/* ── Noise grain overlay ── */
.grain::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: 0.5;
    z-index: 1;
}

/* ── Hero bg ── */
.hero-bg {
    background: linear-gradient(160deg, #0E2019 0%, #1C3A2A 55%, #24472f 100%);
}

/* Grid pattern */
.grid-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ── Scroll indicator ── */
@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.scroll-hint {
    animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ── Image overlay ── */
.img-overlay {
    background: linear-gradient(to top, rgba(14, 32, 25, 0.6) 0%, transparent 50%);
}