/* ==========================
   GLOBAL FADE/SCROLL ANIMATION
========================== */
.fade-in {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================
   GARLIC PRODUCT SECTION
========================== */
.garlic-product-section {
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
}

.garlic-product-section .product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.garlic-product-section .product-image img {
    width: 100%;
    max-width: 500px; /* width adjusted */
    max-height: 380px; /* height reduced for content balance */
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.garlic-product-section .product-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.garlic-product-section .product-content {
    padding-left: 0px;
}

@media (max-width: 991px) {
    .garlic-product-section .product-content {
        padding-left: 0;
        text-align: center;
        margin-top: 20px;
    }
}

.garlic-product-section .product-title {
    font-size: 36px;
    font-weight: 700;
    margin: 20px 0;
    color: #2e2e2e;
}

.garlic-product-section p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #555;
}

.garlic-product-section .btn-primary {
    background: #a1887f;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff;
    transition: 0.3s;
}

.garlic-product-section .btn-primary:hover {
    background: #8d6e63;
    transform: translateY(-3px);
}

/* ==========================
   GARLIC HIGHLIGHT SECTION
========================== */
.garlic-highlight-section {
    padding: 80px 0;
    background: #ffffff;
    text-align: center;
}

.garlic-highlight-section .highlight-card {
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    height: 100%;
    transition: all 0.4s ease;
}

.garlic-highlight-section .highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.garlic-highlight-section .highlight-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.garlic-highlight-section .highlight-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

/* ==========================
   GARLIC VARIETIES SECTION
========================== */
.garlic-varieties-section {
    padding: 80px 0;
    background: linear-gradient(to right, #f7f7f7, #ffffff);
}

.garlic-varieties-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.garlic-varieties-section .col-md-4 {
    flex: 0 0 32%;
    display: flex;
}

.garlic-varieties-section .variety-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
}

.garlic-varieties-section .variety-card {
    background: #fafafa;
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    width: 100%;
    height: 100%;
    transition: all 0.4s ease;
}

.garlic-varieties-section .variety-card img {
    max-width: 180px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.garlic-varieties-section .variety-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.garlic-varieties-section .variety-card p {
    text-align: center;
    flex-grow: 1;
    margin-bottom: 15px;
    color: #555;
}

.garlic-varieties-section .variety-cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6d4c41;
    transition: 0.3s;
}

.garlic-varieties-section .variety-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    background: #f2f2f2;
}

.garlic-varieties-section .variety-card:hover .variety-cta {
    letter-spacing: 1px;
    color: #8d6e63;
}

/* Remove link default style */
.garlic-varieties-section a.variety-link,
.garlic-varieties-section a.variety-link * {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* ==========================
   GARLIC BENEFITS SECTION
========================== */
.garlic-benefits-section {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.garlic-benefits-section .benefit-box {
    background: #fafafa;
    padding: 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    transition: 0.3s ease;
}

.garlic-benefits-section .benefit-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 991px) {
    .garlic-product-section .product-content {
        padding-left: 0;
        text-align: center;
        margin-top: 20px;
    }

    .garlic-varieties-section .col-md-4 {
        flex: 0 0 48%; /* 2 per row on tablet */
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .row {
        flex-direction: column !important;
        gap: 20px;
        align-items: center !important;
    }

    .col-md-4, .col-md-6, .col-sm-6 {
        width: 100%;
        max-width: 100%;
    }

    .garlic-product-section .product-title {
        font-size: 28px;
    }

    .variety-card img {
        width: 150px;
        height: auto;
    }
}/* ==========================
   GARLIC VARIETIES SECTION - UNIFORM BOX & IMAGE SIZE
========================== */
.garlic-varieties-section {
    padding: 80px 0;
    background: linear-gradient(to right, #f7f7f7, #ffffff);
}

.garlic-varieties-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.garlic-varieties-section .col-md-4 {
    flex: 0 0 32%;
    display: flex;
}

.garlic-varieties-section .variety-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
}

.garlic-varieties-section .variety-card {
    background: #fafafa;
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-shadow: 0 6px 15px rgba(0,0,0,0.05);
    width: 100%;
    height: 100%;      /* equal card height */
    min-height: 380px; /* fixed min height for uniformity */
    transition: all 0.4s ease;
}

.garlic-varieties-section .variety-card img {
    width: 160px;        /* fixed width */
    height: 160px;       /* fixed height */
    object-fit: cover;   /* maintain aspect ratio */
    margin-bottom: 20px;
    border-radius: 12px;
}

.garlic-varieties-section .variety-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    text-align: center;
}

.garlic-varieties-section .variety-card p {
    text-align: center;
    flex-grow: 1; /* keeps CTA at bottom */
    margin-bottom: 15px;
    color: #555;
}

.garlic-varieties-section .variety-cta {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #6d4c41;
    transition: 0.3s;
}

.garlic-varieties-section .variety-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
    background: #f2f2f2;
}

.garlic-varieties-section .variety-card:hover .variety-cta {
    letter-spacing: 1px;
    color: #8d6e63;
}

/* Remove link default style */
.garlic-varieties-section a.variety-link,
.garlic-varieties-section a.variety-link * {
    color: inherit !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 991px) {
    .garlic-varieties-section .col-md-4 {
        flex: 0 0 48%; /* 2 per row tablet */
    }
}

@media (max-width: 768px) {
    .garlic-varieties-section .row {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .col-md-4 {
        flex: 0 0 100%; /* 1 per row on mobile */
    }

    .variety-card img {
        width: 140px;
        height: 140px;
    }
}