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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #2d6a4f;
    color: #fefdf8;
}

/* ===== GEOMETRIC SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.circle-1 {
    top: 10%;
    right: -4%;
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, #dce8dc 0%, #b8d1b8 100%);
    border-radius: 50%;
    opacity: 0.5;
}

.circle-2 {
    bottom: 15%;
    right: 25%;
    width: 180px;
    height: 180px;
    background: #95D178;
    border-radius: 50%;
    opacity: 0.15;
}

.circle-3 {
    top: 30%;
    left: -3%;
    width: 120px;
    height: 120px;
    background: #fdecb4;
    border-radius: 50%;
    opacity: 0.4;
}

.rect-1 {
    top: 20%;
    left: 55%;
    width: 80px;
    height: 80px;
    background: #1B4332;
    opacity: 0.06;
    transform: rotate(45deg);
}

.triangle-1 {
    bottom: 25%;
    left: 10%;
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #95D178;
    opacity: 0.1;
    transform: rotate(-15deg);
}

.dot-grid {
    top: 50%;
    right: 8%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, #2d6a4f 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
}

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

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

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

.geo-shape {
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    animation: float-reverse 6s ease-in-out infinite;
}

.triangle-1 {
    animation: spin-slow 20s linear infinite;
}

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

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27, 67, 50, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2d6a4f;
    transition: width 0.3s ease;
}

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

/* Mobile menu */
#mobile-menu.open {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.menu-line {
    transition: all 0.3s ease;
}

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

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

#mobile-menu-btn.active .menu-line:nth-child(3) {
    width: 20px;
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1B4332;
    color: #fefdf8;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #2d6a4f;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(27, 67, 50, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1B4332;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 60px;
    border: 2px solid #1B4332;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #1B4332;
    color: #fefdf8;
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fefdf8;
    color: #1B4332;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cta:hover {
    background: #95D178;
    color: #1B4332;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(149, 209, 120, 0.3);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    opacity: 1;
}

/* ===== APPROACH CARDS ===== */
.approach-card {
    opacity: 1;
}

/* ===== INPUTS ===== */
.input-field {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #dce8dc;
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #1B4332;
    background: #fefdf8;
    transition: all 0.3s ease;
    outline: none;
}

.input-field:focus {
    border-color: #2d6a4f;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.1);
}

.input-field::placeholder {
    color: #8fb88f;
}

.input-field:hover {
    border-color: #8fb88f;
}

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

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s 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; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .circle-1 {
        width: 250px;
        height: 250px;
    }

    .circle-2 {
        width: 100px;
        height: 100px;
    }

    .circle-3 {
        width: 70px;
        height: 70px;
    }

    .rect-1 {
        width: 50px;
        height: 50px;
    }

    .triangle-1 {
        border-left-width: 35px;
        border-right-width: 35px;
        border-bottom-width: 60px;
    }

    .dot-grid {
        width: 80px;
        height: 80px;
    }
}
