/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Geometric Background Shapes ── */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(27, 94, 32, 0.05) 0%, transparent 70%);
    bottom: 10%;
    left: -80px;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(27, 94, 32, 0.04);
    border-radius: 24px;
    top: 30%;
    right: 5%;
    transform: rotate(15deg);
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(27, 94, 32, 0.04);
    top: 60%;
    left: 8%;
    transform: rotate(-20deg);
}

.shape-dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(27, 94, 32, 0.12) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    bottom: 20%;
    right: 15%;
    mask-image: radial-gradient(ellipse, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse, black 40%, transparent 70%);
}

/* ── Floating Cards ── */
.floating-card {
    animation: float 6s ease-in-out infinite;
}

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

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

.card-stat-3 {
    animation-delay: -4s;
}

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

/* ── Why Us Background Shapes ── */
.why-shape {
    position: absolute;
    pointer-events: none;
}

.shape-w1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    top: -100px;
    left: -100px;
}

.shape-w2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -50px;
    right: 10%;
}

.shape-w3 {
    width: 150px;
    height: 150px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.03);
    top: 20%;
    right: -30px;
    transform: rotate(30deg);
}

/* ── CTA Section Shapes ── */
.cta-shape {
    position: absolute;
    pointer-events: none;
}

.shape-c1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(27, 94, 32, 0.05);
    top: -80px;
    left: -80px;
}

.shape-c2 {
    width: 200px;
    height: 200px;
    border-radius: 40px;
    background: rgba(27, 94, 32, 0.04);
    bottom: -60px;
    right: 5%;
    transform: rotate(20deg);
}

/* ── Service Cards ── */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1B5E20, #4caf50);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ── Process Steps ── */
.process-step {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.process-step.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Testimonial Cards ── */
.testimonial-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Navbar Scroll Effect ── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* ── Mobile Menu Animation ── */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* ── Subtle Pattern Overlay ── */
.bg-pattern {
    background-image: radial-gradient(circle, rgba(27, 94, 32, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ── Focus Styles ── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ── Selection ── */
::selection {
    background: rgba(27, 94, 32, 0.15);
    color: #1B5E20;
}

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