/* Custom styles beyond Tailwind — Digital Marketing Style */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* ─── Navbar ─── */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

/* ─── Gradient mesh hero background ─── */
.hero-mesh {
    background-image:
        radial-gradient(at 20% 20%, rgba(94, 153, 61, 0.18) 0, transparent 50%),
        radial-gradient(at 80% 0%,  rgba(56, 93, 35, 0.15) 0, transparent 50%),
        radial-gradient(at 80% 80%, rgba(120, 180, 80, 0.15) 0, transparent 50%);
}

/* ─── Logo marquee ─── */
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
}

/* ─── Carousel ─── */
[data-carousel] { overflow: hidden; }
[data-track] {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-track] > * { flex: 0 0 100%; }

/* ─── Decorative blobs ─── */
.blob-bg {
    position: relative;
}
.blob-bg::before,
.blob-bg::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}
.blob-bg::before {
    width: 400px;
    height: 400px;
    background: #5e993d;
    top: -100px;
    right: -100px;
}
.blob-bg::after {
    width: 300px;
    height: 300px;
    background: #22d3ee;
    bottom: -80px;
    left: -80px;
}

/* ─── Floating animation ─── */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
.animate-float {
    animation: float 4s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float 4s ease-in-out 1s infinite;
}

/* ─── Pulse glow for CTA buttons ─── */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(94, 153, 61, 0.4); }
    50% { box-shadow: 0 0 20px 6px rgba(94, 153, 61, 0.15); }
}
.pulse-glow {
    animation: pulse-glow 2.5s ease-in-out infinite;
}

/* ─── Gradient text utility ─── */
.gradient-text {
    background: linear-gradient(135deg, #5e993d, #385d23, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Marketing card hover ─── */
.marketing-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.marketing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(94, 153, 61, 0.15);
}

/* ─── Section soft bg patterns ─── */
.dot-pattern {
    background-image: radial-gradient(circle, rgba(94,153,61,0.07) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* ─── Icon circle style ─── */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(94,153,61,0.1), rgba(94,153,61,0.05));
    border: 1px solid rgba(94,153,61,0.15);
    transition: all 0.3s;
}
.marketing-card:hover .icon-circle {
    background: linear-gradient(135deg, #5e993d, #385d23);
    color: white;
    border-color: transparent;
}

/* ─── Reduce-motion ─── */
@media (prefers-reduced-motion: reduce) {
    .marquee-track, .animate-pulse, .animate-ping, .animate-float, .animate-float-delayed { animation: none !important; }
    .pulse-glow { animation: none !important; }
}
