/* ── Reset & Base ── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Geometric Background Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #059669;
    top: -100px;
    right: -100px;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #d97706;
    bottom: 10%;
    left: -50px;
    transform: rotate(15deg);
    opacity: 0.06;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 200px solid #059669;
    top: 30%;
    right: 5%;
    opacity: 0.05;
    transform: rotate(-10deg);
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #d97706;
    bottom: 20%;
    right: 10%;
    opacity: 0.07;
}

.geo-diamond-1 {
    width: 100px;
    height: 100px;
    background: #059669;
    top: 20%;
    left: 15%;
    transform: rotate(45deg);
    opacity: 0.06;
}

.geo-arc-1 {
    width: 300px;
    height: 300px;
    border: 20px solid #059669;
    border-radius: 50%;
    border-bottom-color: transparent;
    border-left-color: transparent;
    bottom: -50px;
    left: 30%;
    opacity: 0.05;
}

.geo-circle-3 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: #fff;
    top: -150px;
    right: -150px;
    opacity: 0.05;
}

.geo-square-2 {
    width: 180px;
    height: 180px;
    background: #fff;
    bottom: 10%;
    left: 5%;
    transform: rotate(30deg);
    opacity: 0.04;
}

/* ── Floating Cards ── */
.floating-card {
    position: absolute;
    animation: float 4s ease-in-out infinite;
}

.card-1 {
    top: 5%;
    left: -10%;
    animation-delay: 0s;
}

.card-2 {
    top: 35%;
    right: -8%;
    animation-delay: 1.3s;
}

.card-3 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2.6s;
}

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

/* ── Marquee ── */
.marquee-track {
    animation: marquee 30s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
}

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

/* ── Navbar Scroll State ── */
nav.scrolled {
    background: rgba(253, 246, 227, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(5, 150, 105, 0.1);
}

/* ── Mobile Menu ── */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

.mobile-link {
    display: block;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #059669;
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
    .floating-card {
        animation: none;
    }
    .marquee-track {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal[data-reveal] {
        opacity: 1;
        transform: none;
    }
}
