/* ── Reset & Base ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

/* ── Geometric Background Shapes ──────────────────── */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.08;
}
.circle-1 {
    width: 500px; height: 500px;
    background: #F59E0B;
    border-radius: 50%;
    top: -100px; right: -100px;
    animation: floatShape 20s ease-in-out infinite;
}
.circle-2 {
    width: 300px; height: 300px;
    background: #5B2C6F;
    border-radius: 50%;
    bottom: 20%; left: -80px;
    animation: floatShape 25s ease-in-out infinite reverse;
}
.circle-3 {
    width: 180px; height: 180px;
    background: #F59E0B;
    border-radius: 50%;
    top: 50%; right: 10%;
    animation: floatShape 18s ease-in-out infinite;
}
.triangle {
    width: 0; height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid #5B2C6F;
    top: 40%; left: 5%;
    opacity: 0.05;
    animation: spinShape 30s linear infinite;
}
.square {
    width: 150px; height: 150px;
    background: #F59E0B;
    top: 60%; right: 5%;
    opacity: 0.06;
    border-radius: 24px;
    transform: rotate(45deg);
    animation: floatShape 22s ease-in-out infinite;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-40px) rotate(5deg); }
}
@keyframes spinShape {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Floating Stat Cards ──────────────────────────── */
.floating-card {
    animation: floatCard 6s ease-in-out infinite;
}
.card-stat-1 { animation-delay: 0s; }
.card-stat-2 { animation-delay: 2s; }
.card-stat-3 { animation-delay: 4s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ── Reveal on Scroll ─────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible {
    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; }

/* ── Navbar ───────────────────────────────────────── */
#navbar {
    background: transparent;
    transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
#navbar.scrolled {
    background: rgba(250, 245, 255, 0.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(91, 44, 111, 0.08);
}

/* ── Nav Links Hover Underline ────────────────────── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F59E0B;
    transition: width 0.3s;
}
.nav-link:hover::after { width: 100%; }

/* ── Mobile Menu ──────────────────────────────────── */
.mobile-link { display: block; }

/* ── Section Divider Wave ─────────────────────────── */
/* Handled via inline SVG in HTML */

/* ── Button Focus States ──────────────────────────── */
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #F59E0B;
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* ── Responsive Tweaks ────────────────────────────── */
@media (max-width: 768px) {
    .geo-shape { display: none; }
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
}
