/* === BASE === */
*, *::before, *::after {
    box-sizing: border-box;
}

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

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

/* === NAVBAR === */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(5, 150, 105, 0.08);
}

/* === HERO GEOMETRIC SHAPES === */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.geo {
    position: absolute;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 3px solid #6ee7b7;
    top: -100px;
    right: 5%;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: #a7f3d0;
    bottom: 15%;
    left: 3%;
    animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: #34d399;
    border-radius: 20px;
    top: 20%;
    left: 8%;
    transform: rotate(25deg);
    animation: spin 12s linear infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    border: 3px solid #6ee7b7;
    border-radius: 14px;
    bottom: 25%;
    right: 12%;
    transform: rotate(45deg);
    animation: spin 15s linear infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #a7f3d0;
    top: 35%;
    right: 25%;
    animation: float 7s ease-in-out infinite;
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #34d399;
    bottom: 30%;
    left: 15%;
    transform: rotate(-20deg);
    animation: float 9s ease-in-out infinite reverse;
}

.geo-dots {
    width: 160px;
    height: 160px;
    background-image: radial-gradient(circle, #6ee7b7 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 60%;
    left: 5%;
    opacity: 0.15;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === SERVICE CARDS === */
.service-card {
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-4px);
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* === SCROLL REVEAL (progressive enhancement) === */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* === MOBILE MENU === */
.mobile-link {
    display: block;
    border-bottom: 1px solid rgba(5, 150, 105, 0.1);
}

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

/* === RESPONSIVE === */
@media (max-width: 767px) {
    .hero-shapes .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    .hero-shapes .geo-circle-2 {
        width: 120px;
        height: 120px;
    }
    .hero-shapes .geo-square-1 {
        width: 70px;
        height: 70px;
    }
    .hero-shapes .geo-triangle-1 {
        border-left-width: 35px;
        border-right-width: 35px;
        border-bottom-width: 60px;
    }
}
