/* --- SLIDER SECTION --- */
.nutragri-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: 80px;
}

.nutragri-single-slider {
    width: 100%;
    min-height: 70vh;
    /* KEEP ORIGINAL */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    background-color: #ffffff;
}

.nutragri-single-slider::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Container */
.nutragri-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Slider Content */
.nutragri-slider-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
    color: white;
}

/* Title */
.nutragri-main-title {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

/* Button */
.nutragri-btn-outline {
    display: inline-block;
    padding: 10px 24px;
    border: 1.5px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.nutragri-btn-outline:hover {
    background-color: #ffffff;
    color: #333;
}

/* --- NAVIGATION ARROWS --- */
.swiper-button-next,
.swiper-button-prev {
    color: #060907 !important;
    width: 40px;
    height: 40px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}

/* --- BOTTOM CTA --- */
.nutragri-bottom-cta-area {
    padding: 30px 20px 80px;
    background-color: #ffffff;
    text-align: center;
}

.nutragri-tagline-text {
    font-size: 20px;
    color: #00683b;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Primary Button */
.nutragri-btn-primary-blue {
    background-color: #ea5e20;
    border-color: #ea5e20;
    color: #fff;
    padding: 14px 25px;
    font-size: 12px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.nutragri-btn-primary-blue:hover {
    background-color: #094435;
    color: #fff;
}

/* ============================= */
/* ✅ RESPONSIVE FIX (NO CUTTING) */
/* ============================= */

/* Smooth scaling instead of fixed heights */
@media (max-width: 1400px) {
    .nutragri-single-slider {
        min-height: 65vh;
    }
}

@media (max-width: 1200px) {
    .nutragri-single-slider {
        min-height: 60vh;
    }
}

/* ============================= */
/* ✅ KEEP YOUR ORIGINAL MOBILE */
/* ============================= */

@media (max-width: 992px) {
    .nutragri-main-title {
        font-size: 45px;
    }

    .nutragri-single-slider {
        height: 450px;
        /* YOUR ORIGINAL - NOT TOUCHED */
    }
}

@media (max-width: 768px) {
    .nutragri-main-title {
        font-size: 32px;
    }

    .nutragri-single-slider {
        height: 380px;
        /* YOUR ORIGINAL - PERFECT */
    }

    .nutragri-tagline-text {
        font-size: 16px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}


/* ---------------------------------------------------------------------------------------------------------- */





/* --- Background Layer (Light Grey) --- */
.nutragri-custom-v2-section {
    position: relative;
    background: linear-gradient(to bottom, #f8f6f4 0%, #f8f6f4 20%, #ffffff 100%);
    overflow: hidden;
    padding-bottom: 0;
}

/* --- Exact Wave Transition --- */
.nutragri-custom-v2-wave-wrap {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 150px;
    z-index: 2;
}

.nutragri-custom-v2-wave-wrap svg {
    width: 100%;
    height: 100%;
}

/* --- Left Column Content --- */
.nutragri-custom-v2-inner-content {
    padding: 120px 8% 100px 15%;
    position: relative;
    z-index: 10;
}

/* --- Overlapping Heading --- */
.nutragri-custom-v2-main-heading {
    font-size: 40px;
    font-weight: 700;
    color: #444444;
    margin-bottom: 40px;
    /* Pulls heading up to align with the wave dip */
    transform: translateY(-20px);
    font-family: 'Quicksand', sans-serif;
}

/* --- 3-Column Logo Grid --- */
.nutragri-custom-v2-logo-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 45px 30px;
    margin-bottom: 60px;
}

.nutragri-custom-v2-logo-box img {
    width: 100%;
    height: 80%;
    display: block;
}

/* --- Action Button --- */
.nutragri-custom-v2-btn {
    display: inline-block;
    padding: 12px 28px;
    border: 1.5px solid #333;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    background: transparent;
}

.nutragri-custom-v2-btn:hover {
    background-color: #333;
    color: #fff;
}

/* --- Full Bleed Image (Right Side) --- */
.nutragri-custom-v2-image-bleed {
    width: 100%;
    height: 100%;
    min-height: 750px;
    /* Keeps the image tall to match logo grid */
}

.nutragri-custom-v2-image-bleed img {

    
    width: 100%;
    height: 85%;
    object-fit: cover;
    /* Exact fit to container */
    display: block;
    padding: 0px 20px;
}

/* --- Mobile View --- */
@media (max-width: 991px) {
    .nutragri-custom-v2-inner-content {
        padding: 10px 20px 60px 20px;
        text-align: center;
    }

    .nutragri-custom-v2-main-heading {
        transform: translateY(0);
        font-size: 30px;
    }

    .nutragri-custom-v2-logo-container {
        gap: 25px;
    }

    .nutragri-custom-v2-image-bleed {
        min-height: 400px;
    }


}



.nutra-category-section {
    background: #ffffff;
    padding: 60px 0 60px;
    overflow: hidden;
}

.category-heading {
    text-align: center;
    margin-bottom: 80px;
}

.category-heading span {
    font-size: 14px;
    letter-spacing: 2px;
    color: #8c8c8c;
}

.category-heading h2 {
    font-size: 40px;
    font-weight: 700;
    color: #4a4a4a;
    margin-top: 10px;
}

/* Swiper Card */
.category-card {
    text-align: center;
    transition: transform 0.4s ease;
}

.category-card img {
    width: 240px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.15));
}

.category-card h4 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #5a5a5a;
}

/* Hover effect */
.swiper-slide-active .category-card {
    transform: scale(1.08);
}

/* Navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #27a3a3;
    width: 45px;
    height: 45px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
}

/* Responsive */
@media(max-width: 991px) {

    .nutra-category-section {
        background: #ffffff;
        padding: 10px 0 40px;
    }

    .category-heading h2 {
        font-size: 30px;
    }

    .category-card img {
        width: 140px;
    }
}






.reduce-sugar-icon {
    width: 70px;
    height: 70px;
    line-height: 175px;
    background-color: #f8f6f4;
    margin-top: -20px;
    text-align: center;
    display: inline-block;
    font-size: 70px;
    color: #ea5e20;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-transition: all 0.3s linear;
    transition: all 0.3s linear;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

/* Mobile */
@media (max-width: 576px) {
    .icon-box {
        width: 80px;
        height: 80px;
        line-height: 85px;
        font-size: 32px;
    }
}

@media (max-width: 375px) {
    .icon-box {
        width: 70px;
        height: 70px;
        line-height: 75px;
        font-size: 28px;
    }
}






/* --- Base Styles --- */
.has-mega-menu {
    position: static !important;
}

.mega-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #eee;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px 0 50px 0; /* Adjusted padding */
    visibility: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
    z-index: 9999;
}

.has-mega-menu:hover .mega-wrapper {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.mega-content {
    max-width: 1250px; /* Wider to match desktop screenshot */
    margin: 0 auto;
    padding: 0 15px;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 Columns like image */
    gap: 20px;
}

/* --- Header Styling (The Orange Buttons) --- */
.mega-hdr1 {
    display: block;
    background: #f37021; /* Nutra Agri Orange */
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    padding: 20px 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
    width: 100%; 
}

/* --- List Styling --- */
.mega-list1 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-list1 li {
    border-bottom: #c4c4c4 1px solid;
}

/* .mega-list1 li:last-child {
    border-bottom: none;
} */

.mega-list1 li a {
    display: block;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    padding: 14px 0;
    line-height: 1.4;
    transition: 0.3s;
}

.mega-list1 li a small {
    color: #666;
    font-size: 12px;
    display: block;
}

.mega-list1 li a:hover {
    color: #f37021 !important;
    padding-left: 5px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1199px) {
    .mega-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 for Tablets */
    }
}

@media (max-width: 767px) {
    .mega-wrapper {
        position: relative;
        padding: 15px;
        box-shadow: none;
        display: none;
        visibility: visible;
        opacity: 1;
        transform: none;
    }
    .has-mega-menu.active .mega-wrapper {
        display: block;
    }
    .mega-grid {
        grid-template-columns: 1fr; /* Stacked for Mobile */
    }
    .mega-hdr1 {
        min-width: unset;
    }
}







.thankyou-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    font-family: Arial, sans-serif;
}

.thankyou-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

/* SVG Styles */
.checkmark {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.checkmark-circle {
    stroke: #28a745;
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: drawCircle 0.6s ease-out forwards;
}

.checkmark-check {
    stroke: #28a745;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: drawCheck 0.4s 0.6s ease-out forwards;
}

/* Animations */
@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

/* Text */
.thankyou-card h1 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #333;
}

.thankyou-card p {
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
}

/* Button */
.thankyou-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ea5e20;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.thankyou-btn:hover {
    background: #00683b;
    color: #fff;
}




.error-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.error-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

/* SVG Styles */
.error-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.error-circle {
    stroke: #ff3c3c;
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    animation: drawCircle 0.5s ease-out forwards;
}

.error-line1,
.error-line2 {
    stroke: #ff3c3c;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 28;
    stroke-dashoffset: 28;
}

.error-line1 {
    animation: drawLine 0.3s 0.5s ease-out forwards;
}

.error-line2 {
    animation: drawLine 0.3s 0.7s ease-out forwards;
}

/* Animations */
@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

/* Text */
.error-card h1 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #333;
}

.error-card p {
    font-size: 15px;
    color: #666;
    margin-bottom: 8px;
}

/* Button */
.error-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;
    background: #ea5e20;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    transition: 0.3s;
}

.error-btn:hover {
    background: #00683b;
    color: #fff;
}