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

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

body {
    overflow-x: hidden;
}

/* ===== Hero Gradient ===== */
.hero-gradient {
    background: linear-gradient(135deg, #064E3B 0%, #059669 40%, #34D399 70%, #F5E6CC 100%);
}

/* ===== Hero Animations ===== */
.hero-title {
    animation: heroFadeUp 0.8s ease-out both;
}

.hero-subtitle {
    animation: heroFadeUp 0.8s 0.15s ease-out both;
}

.hero-badge {
    animation: heroFadeUp 0.8s 0.05s ease-out both;
}

.hero-stats {
    animation: heroFadeUp 0.8s 0.3s ease-out both;
}

.hero-blob {
    animation: blobFloat 8s ease-in-out infinite;
}

.hero-blob-2 {
    animation-delay: -3s;
    animation-duration: 10s;
}

.hero-blob-3 {
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== Scroll Indicator ===== */
.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #059669;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #059669;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

/* ===== Section Styles ===== */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #059669;
    background: #D1FAE5;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #064E3B;
    line-height: 1.15;
}

.section-desc {
    font-size: 1.1rem;
    color: #6B7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ===== Service Cards ===== */
.service-card {
    cursor: default;
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 78, 59, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== Form Inputs ===== */
.input-field {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95rem;
    color: #1F2937;
    background: #FAF8F5;
    transition: all 0.2s ease;
    outline: none;
}

.input-field::placeholder {
    color: #9CA3AF;
}

.input-field:focus {
    border-color: #059669;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

/* ===== Navbar scroll state ===== */
#site-header.scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#site-header.scrolled .nav-link {
    color: #374151;
}

#site-header.scrolled .nav-link:hover {
    color: #059669;
}

#site-header.scrolled .menu-line {
    background: #064E3B;
}

/* ===== About Images ===== */
.about-img-float {
    border: 4px solid rgba(255,255,255,0.2);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
