﻿html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
}

.font-heading {
    font-family: 'Libre Baskerville', serif;
}

.top-link {
    transition: all .2s ease;
}

    .top-link:hover {
        opacity: .75;
    }

.nav-link {
    position: relative;
    transition: all .2s ease;
}

    .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background: #16a34a;
        transition: width .2s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

    .nav-link:hover {
        color: #16a34a;
    }

.dropdown-menu {
    transform: translateY(8px);
    opacity: 0;
    visibility: hidden;
    transition: all .2s ease;
}

    .dropdown-menu.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

    .mobile-menu.show {
        max-height: 600px;
    }

.mobile-dropdown {
    display: none;
}

    .mobile-dropdown.show {
        display: block;
    }

.social-icon {
    transition: all .2s ease;
}

    .social-icon:hover {
        transform: translateY(-2px);
    }

.footer-link {
    transition: all .2s ease;
}

    .footer-link:hover {
        color: #4ade80;
        padding-left: 4px;
    }

.back-to-top {
    box-shadow: 0 8px 25px rgba(0, 0, 0, .18);
}

/* =========================================
           HERO
        ========================================= */

.hero-slide {
    display: none;
}

    .hero-slide.active {
        display: block;
        animation: heroFade .6s ease;
    }

@keyframes heroFade {
    from {
        opacity: .3;
    }

    to {
        opacity: 1;
    }
}


/* =========================================
           IMAGE HOVER
        ========================================= */

.image-hover {
    transition: transform .5s ease;
}

.image-card:hover .image-hover {
    transform: scale(1.06);
}


/* =========================================
           SERVICE CARD
        ========================================= */

.service-card {
    transition: all .3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
    }


/* =========================================
           STAT CARD
        ========================================= */

.stat-card {
    transition: all .3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
    }


/* =========================================
           NEWS SLIDER
        ========================================= */

.news-slide {
    display: none;
}

    .news-slide.active {
        display: block;
        animation: newsFade .5s ease;
    }

@keyframes newsFade {
    from {
        opacity: 0;
        transform: translateX(15px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================
           SECTION LABEL
        ========================================= */

.section-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #16a34a;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

    .section-label::before {
        content: "";
        width: 32px;
        height: 2px;
        background: #16a34a;
    }


/* =========================================
           CHECK ITEM
        ========================================= */

.check-item {
    transition: all .2s ease;
}

    .check-item:hover {
        transform: translateX(5px);
    }


/* =========================================
           HERO DOT
        ========================================= */

.hero-dot {
    transition: all .2s ease;
}

    .hero-dot.active {
        width: 30px;
        border-radius: 999px;
        background: #16a34a;
    }

.dairy-service-card {
    position: relative;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

    .dairy-service-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 25px 50px rgba(15, 23, 42, .12);
    }

.dairy-service-image {
    transition: transform .6s ease;
}

.dairy-service-card:hover .dairy-service-image {
    transform: scale(1.07);
}

.dairy-service-icon {
    transition: all .3s ease;
}

.dairy-service-card:hover .dairy-service-icon {
    transform: scale(1.08);
}

.service-number {
    font-family: inherit;
    font-size: 72px;
    line-height: 1;
    font-weight: 800;
    color: rgba(22, 163, 74, .07);
    position: absolute;
    right: 20px;
    bottom: 10px;
    pointer-events: none;
}

.service-line {
    width: 38px;
    height: 3px;
    border-radius: 999px;
    background: #16a34a;
    transition: width .3s ease;
}

.dairy-service-card:hover .service-line {
    width: 60px;
}

.about-hero-pattern {
    background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.10) 0 2px, transparent 2px), radial-gradient(circle at 80% 70%, rgba(255,255,255,.08) 0 2px, transparent 2px);
    background-size: 42px 42px;
}

.about-image-card {
    position: relative;
    overflow: hidden;
}

    .about-image-card img {
        transition: transform .7s ease;
    }

    .about-image-card:hover img {
        transform: scale(1.06);
    }

    .about-image-card::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient( to top, rgba(15, 59, 32, .45), transparent 55% );
        pointer-events: none;
    }

.about-soft-shadow {
    box-shadow: 0 25px 70px rgba(20, 70, 38, .10);
}

.vm-hero-pattern {
    background-image: radial-gradient(circle at 15% 25%, rgba(255,255,255,.10) 0 2px, transparent 2px), radial-gradient(circle at 80% 75%, rgba(255,255,255,.08) 0 2px, transparent 2px);
    background-size: 44px 44px;
}

.vm-image {
    overflow: hidden;
}

    .vm-image img {
        transition: transform .7s ease;
    }

    .vm-image:hover img {
        transform: scale(1.06);
    }

.vm-soft-shadow {
    box-shadow: 0 25px 70px rgba(20, 70, 38, .10);
}
.contact-hero-pattern {
    background: radial-gradient(circle at 15% 20%, rgba(190, 242, 100, 0.16), transparent 28%), radial-gradient(circle at 85% 80%, rgba(245, 158, 11, 0.12), transparent 30%), linear-gradient(135deg, #064e3b 0%, #052e2b 55%, #022c22 100%);
}

.contact-card {
    transition: all .3s ease;
}

    .contact-card:hover {
        transform: translateY(-6px);
    }

.contact-icon {
    transition: all .3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.08);
}

.contact-soft-shadow {
    box-shadow: 0 24px 70px rgba(6, 78, 59, .10);
}

.contact-form-shadow {
    box-shadow: 0 30px 80px rgba(6, 78, 59, .12);
}

.contact-input {
    transition: all .2s ease;
}

    .contact-input:focus {
        border-color: #65a30d;
        box-shadow: 0 0 0 4px rgba(132, 204, 22, .12);
        outline: none;
    }

.contact-map-pattern {
    background-image: linear-gradient(rgba(6, 78, 59, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(6, 78, 59, .06) 1px, transparent 1px);
    background-size: 32px 32px;
}