/* ===== Base & Utilities ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 95, 70, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 95, 70, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #065f46;
    padding: 0.75rem 1.75rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #d1fae5;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #ecfdf5;
    border-color: #6ee7b7;
    transform: translateY(-2px);
}

/* ===== Navbar ===== */
.nav-scrolled {
    background: rgba(253, 251, 243, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 95, 70, 0.08);
}

.nav-scrolled .font-lora {
    color: #065f46 !important;
}

/* ===== Mobile Menu ===== */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

.mobile-menu.hidden {
    display: none;
}

.mobile-link {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Hero Blobs ===== */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #a7f3d0;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #fbbf24;
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
    opacity: 0.2;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #6ee7b7;
    top: 50%;
    left: 40%;
    animation-delay: 4s;
    opacity: 0.3;
}

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

/* ===== Floating Cards ===== */
.floating-card {
    animation: floatCard 4s ease-in-out infinite;
}

.card-1 {
    animation-delay: 0s;
}

.card-2 {
    animation-delay: 1s;
}

.card-3 {
    animation-delay: 2s;
}

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

/* ===== Hero Card ===== */
.hero-card-main {
    animation: heroCard 6s ease-in-out infinite;
}

@keyframes heroCard {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(1deg); }
}

/* ===== Service Cards ===== */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(6, 95, 70, 0.2);
}

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(6, 95, 70, 0.15);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 50px rgba(6, 95, 70, 0.1);
}

/* ===== Scroll Reveal ===== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.scroll-reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal.revealed:nth-child(4) { transition-delay: 0.3s; }
.scroll-reveal.revealed:nth-child(5) { transition-delay: 0.4s; }
.scroll-reveal.revealed:nth-child(6) { transition-delay: 0.5s; }

/* ===== Star Icons ===== */
.star-icon {
    transition: transform 0.2s ease;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .floating-card {
        display: none;
    }

    .hero-card-main {
        max-width: 100%;
    }

    .hero-card-main img {
        height: 350px;
    }

    .blob {
        opacity: 0.2;
    }
}

@media (max-width: 640px) {
    .font-lora {
        font-size: 2rem !important;
    }

    .font-lora.text-4xl {
        font-size: 2.25rem !important;
    }
}
