/* Custom Overrides */

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

html {
    scroll-behavior: smooth
}

::-webkit-scrollbar {
    width: 8px
}

::-webkit-scrollbar-track {
    background: #f1f1f1
}

::-webkit-scrollbar-thumb {
    background: #D4A373;
    border-radius: 4px
}

::-webkit-scrollbar-thumb:hover {
    background: #2D6A4F
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #1B4332;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    transition: background-color 5000s ease-in-out 0s
}

.animate-fade-in-up {
    animation: fade-in-up .6s ease-out
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px)
    }

    100% {
        opacity: 1;
        transform: translateY(0)
    }

    /* For light inputs */
}

/* Animations reset to standard AOS only */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.02);
}

/* Text Gradient: White to Agro Beige */
.text-gradient-gold {
    background: linear-gradient(to right, #ffffff, #D4A373);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Pulse Animation for CTA */
@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 163, 115, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0);
    }
}

.animate-pulse-soft {
    animation: pulse-soft 2s infinite;
}

/* Service Card Micro-interactions */
.service-card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #2D6A4F;
    /* Agro Green */
}

.service-card-hover:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    transition: transform 0.3s ease;
}

/* Accordion Animation */
@keyframes slide-down {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-down {
    animation: slide-down 0.3s ease-out forwards;
}


/* Gradient for Light Backgrounds (Green to Gold) - Ensuring visibility of first letter */
-webkit-text-fill-color: transparent;
}

/* --- Staggered Animation for Tab Content --- */
/* Base animation for all children of the active tab */
.tab-content.animate-fade-in>div {
    opacity: 0;
    /* Start hidden */
    animation: fade-in-up 0.6s ease-out forwards;
}

/* Delays for the domino effect (Tips + Cards) */
.tab-content.animate-fade-in>div:nth-child(1) {
    animation-delay: 0.1s;
}

.tab-content.animate-fade-in>div:nth-child(2) {
    animation-delay: 0.2s;
}

.tab-content.animate-fade-in>div:nth-child(3) {
    animation-delay: 0.3s;
}

.tab-content.animate-fade-in>div:nth-child(4) {
    animation-delay: 0.4s;
}

.tab-content.animate-fade-in>div:nth-child(5) {
    animation-delay: 0.5s;
}

/* Ensure the parent doesn't animate, just serves as a trigger container */
.tab-content.animate-fade-in {
    animation: none;
}

/* --- Blueprint Grid Pattern (Technical Aesthetic) --- */
.bg-blueprint {
    background-color: #f8fafc;
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 24px 24px;
}