/* ── 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; }

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

/* Circles */
.circle-1 {
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(82,183,136,0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px; right: -100px;
    animation: float 8s ease-in-out infinite;
}
.circle-2 {
    width: 200px; height: 200px;
    border: 3px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    bottom: 15%; left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}
.circle-3 {
    width: 120px; height: 120px;
    background: rgba(212,168,67,0.25);
    border-radius: 50%;
    top: 30%; left: 8%;
    animation: float 7s ease-in-out infinite;
}
.circle-4 {
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(27,67,50,0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -50px; right: 10%;
}
.circle-5 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(82,183,136,0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%; right: -80px;
}
.circle-6 {
    width: 250px; height: 250px;
    border: 2px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    bottom: 10%; left: -60px;
    animation: float 9s ease-in-out infinite;
}
.circle-7 {
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(193,105,79,0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -40px; left: 5%;
}

/* Squares */
.square-1 {
    width: 100px; height: 100px;
    background: rgba(193,105,79,0.2);
    border-radius: 16px;
    top: 25%; right: 10%;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}
.square-2 {
    width: 60px; height: 60px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    bottom: 20%; right: 20%;
    transform: rotate(20deg);
    animation: float 5s ease-in-out infinite;
}
.square-3 {
    width: 80px; height: 80px;
    background: rgba(27,67,50,0.06);
    border-radius: 14px;
    top: 20%; left: -30px;
    transform: rotate(30deg);
}
.square-4 {
    width: 70px; height: 70px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    top: 15%; right: 5%;
    transform: rotate(-15deg);
    animation: spin-slow 15s linear infinite reverse;
}

/* Triangles */
.triangle-1 {
    width: 0; height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(212,168,67,0.2);
    top: 40%; left: 3%;
    animation: float 7s ease-in-out infinite;
}
.triangle-2 {
    width: 0; height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 60px solid rgba(255,255,255,0.08);
    bottom: 25%; right: 8%;
    animation: float 6s ease-in-out infinite reverse;
}

/* Rings */
.ring-1 {
    width: 140px; height: 140px;
    border: 3px solid rgba(255,255,255,0.12);
    border-radius: 50%;
    top: 20%; left: 15%;
    animation: float 8s ease-in-out infinite;
}

/* Pills */
.pill-1 {
    width: 200px; height: 60px;
    background: rgba(27,67,50,0.06);
    border-radius: 30px;
    bottom: 10%; left: -50px;
}
.pill-2 {
    width: 160px; height: 50px;
    background: rgba(27,67,50,0.05);
    border-radius: 25px;
    top: 15%; right: -30px;
    transform: rotate(-10deg);
}
.pill-3 {
    width: 140px; height: 45px;
    background: rgba(27,67,50,0.05);
    border-radius: 22px;
    bottom: 15%; left: 5%;
    transform: rotate(15deg);
}

/* ── Animations ── */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Scroll Reveal ── */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Header ── */
#site-header {
    background: transparent;
}
#site-header.scrolled {
    background: rgba(253,252,248,0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27,67,50,0.08);
}

/* ── Nav Links ── */
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #52B788;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 60%;
}

/* ── Mobile Menu ── */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

/* ── Form Focus States ── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FAF8F0; }
::-webkit-scrollbar-thumb { background: #aed0ad; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #52B788; }

/* ── Selection ── */
::selection { background: rgba(82,183,136,0.3); color: #1B4332; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .circle-1 { width: 250px; height: 250px; }
    .circle-2 { width: 120px; height: 120px; }
    .circle-3 { display: none; }
    .square-1 { width: 60px; height: 60px; }
    .square-2 { display: none; }
    .triangle-1 { display: none; }
    .ring-1 { width: 80px; height: 80px; }
}
