/* ========== BASE RESET & GLOBAL ========== */
*, *::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;
}

::selection {
    background: #aed8ae;
    color: #164016;
}

/* ========== SECTION SPACING ========== */
.section-padding {
    padding: 80px 0;
}

@media (max-width: 767px) {
    .section-padding {
        padding: 60px 0;
    }
}

/* ========== NAVIGATION ========== */
.nav-scrolled {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(174, 216, 174, 0.4);
    transition: box-shadow 0.3s ease;
}

.nav-scrolled.scrolled {
    box-shadow: 0 4px 24px rgba(31, 138, 31, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2f8a2f;
    border-radius: 1px;
    transition: width 0.25s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2f8a2f;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(47, 138, 47, 0.25);
}

.btn-primary:hover {
    background: #246b24;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(47, 138, 47, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #2f8a2f;
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 1rem;
    text-decoration: none;
    border: 2px solid #2f8a2f;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    background: #f0f7f0;
    transform: translateY(-2px);
}

/* ========== HERO ========== */
.hero-section {
    background: #fdf9ee;
    position: relative;
    overflow: hidden;
}

.hero-dots {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background-image: radial-gradient(circle, rgba(174, 216, 174, 0.3) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    pointer-events: none;
}

/* ========== FLOATING STAT CARDS ========== */
.floating-cards {
    position: relative;
    margin-top: -60px;
    max-width: 6xl;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.25rem;
    height: 200px;
}

.float-card {
    position: absolute;
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 32px rgba(31, 138, 31, 0.12), 0 2px 8px rgba(31, 138, 31, 0.06);
    border: 1px solid rgba(174, 216, 174, 0.3);
    animation: floatGentle 4s ease-in-out infinite;
}

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

.float-card.card-2 {
    right: 10%;
    top: 0;
    animation-delay: 1.3s;
}

.float-card.card-3 {
    left: 30%;
    bottom: 0;
    animation-delay: 2.6s;
}

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

@media (max-width: 1023px) {
    .floating-cards {
        display: none;
    }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(174, 216, 174, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(31, 138, 31, 0.12);
    border-color: #aed8ae;
}

/* ========== VALUE CARDS ========== */
.value-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(174, 216, 174, 0.15);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(174, 216, 174, 0.3);
}

/* ========== MOBILE MENU ========== */
.mobile-link {
    display: block;
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ========== REDUCED MOTION ========== */
@media (prefers-reduced-motion: reduce) {
    .float-card {
        animation: none;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
    outline: 3px solid #7dba7d;
    outline-offset: 3px;
    border-radius: 4px;
}

/* ========== MOBILE MENU TRANSITIONS ========== */
#mobileMenu {
    transition: max-height 0.35s ease, padding 0.35s ease;
}

#mobileMenu.open {
    max-height: 400px;
}
