/*
Theme Name: Cropgate Theme
Theme URI: https://cropgate.com
Description: Custom theme for Cropgate Chemicals Pvt. Ltd.
Version: 7.0
Author: CropGate IT
Author URI: https://cropgate.com
Requires at least: 5.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cropgate
*/

/* Prototype CSS for CropGate - GSP Crop Reference Style */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    /* Primary Green - Life With Cropgate Theme */
    --primary: #0c4c35;
    --primary-dark: #063d28;
    --primary-light: #0e6c47;
    
    /* Secondary Colors - Bhagirad Inspired Earthy Palette */
    --secondary: #0c3823;
    --secondary-light: #1a5c3e;
    --tan: #8B7355;
    --tan-light: #B5955A;
    --brown: #5c4033;
    
    /* Neutrals */
    --dark: #1A1A1A;
    --light: #F5F3EF; /* Warm neutral background */
    --white: #FFFFFF;
    --text: #4A4A4A;
    --text-light: #6B6B6B;
    --gray: #E5E0D8;
    --gray-dark: #D4CCBF;
    
    /* Accent */
    --accent: #D4A574;
    --accent-dark: #A67C52;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.align-center { align-items: center; }
.section { padding: 80px 0; position: relative; }
.center { text-align: center; }
.mt-4 { margin-top: 32px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px; /* Highly rounded like GSP */
    font-family: var(--font-heading);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(12, 76, 53, 0.3);
}
.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(12, 76, 53, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-img {
    height: 55px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 48px;
}

/* White version for transparent navbar on dark hero */
.navbar:not(.scrolled) .logo-img {
    filter: brightness(0) invert(1);
}

/* Footer logo */
.footer .logo .logo-img {
    height: 65px;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    gap: 32px;
}

/* wp_page_menu fallback: div.nav-links > ul */
.nav-links > ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a,
.nav-links > ul a {
    color: var(--white);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-links > ul a { color: var(--dark); }
.nav-links a:hover, .nav-links a.active,
.nav-links > ul a:hover { color: var(--primary); }

/* Dropdown Menu */
.nav-links li,
.nav-links > ul > li { position: relative; }

.dropdown-menu,
.nav-links .sub-menu,
.nav-links .children,
.nav-links ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-links li:hover > .dropdown-menu,
.nav-links li:hover > .sub-menu,
.nav-links li:hover > .children,
.nav-links li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a,
.nav-links .sub-menu a,
.nav-links .children a,
.nav-links ul ul a {
    color: var(--dark) !important;
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropdown-menu a:hover,
.nav-links .sub-menu a:hover,
.nav-links .children a:hover,
.nav-links ul ul a:hover {
    background: var(--light);
    color: var(--primary) !important;
}

.navbar:not(.scrolled) .dropdown-menu a,
.navbar:not(.scrolled) .sub-menu a,
.navbar:not(.scrolled) .children a,
.navbar:not(.scrolled) ul ul a {
    color: var(--dark) !important;
}




/* Banner Slider (Coromandel Style) */
.banner-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner.active {
    opacity: 1;
    z-index: 1;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner-title {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 4.2rem;
    font-weight: 800;
    z-index: 2;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.6);
    max-width: 80%;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.banner.active .banner-title {
    opacity: 1;
    transform: translateY(0);
}

.banner-title span {
    color: #ff7a00;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.progress-container {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
    width: 80%;
    max-width: 600px;
}

.progress-segment {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: #ff7a00;
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    .banner-slider {
        height: 60vh;
        min-height: 450px;
    }
    .banner-title {
        font-size: 2.2rem;
        max-width: 90%;
    }
    .progress-container {
        width: 90%;
        bottom: 25px;
        gap: 8px;
    }
}

/* Inner Pages Hero Banner */
.inner-hero {
    position: relative;
    height: 350px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.inner-hero h1 {
    color: var(--white);
    font-size: 3.5rem;
    position: relative;
    z-index: 3;
}




/* Stats Section with Blobs */
.stats {
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.stats.bottom-stats {
    padding: 100px 0;
    background-color: var(--light);
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(12, 76, 53, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon i { width: 32px; height: 32px; }

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-card p {
    font-weight: 600;
    color: var(--dark);
    font-family: var(--font-heading);
}

/* Categories / Solutions 2x2 Grid */
.solutions {
    background-color: var(--white);
    border-radius: 40px;
    margin: 40px 24px;
    padding: 80px 40px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* GSP Style 2x2 Grid */
.grid-solutions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.solution-card {
    display: flex;
    align-items: center;
    background: var(--light);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.solution-card:hover {
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.solution-img {
    width: 45%;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
    /* Leaf shape mask */
    border-radius: 0 50% 50% 0;
}

.solution-content {
    width: 55%;
    padding: 40px;
}

.solution-content h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.solution-content .btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}
.solution-content .btn-link:hover {
    gap: 12px;
}

/* About Section */
.about-image {
    position: relative;
    border-radius: 100px 0 100px 0; /* Leaf styling */
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 16px;
    font-family: var(--font-heading);
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* Footer (Dark Green - Life With Cropgate Theme) */
.footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.8);
    padding: 80px 0 40px;
    margin-top: 80px;
    border-radius: 60px 60px 0 0;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 30px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 16px; }
.footer-col a:hover { color: var(--primary); padding-left: 5px; }

.newsletter {
    background: rgba(255,255,255,0.05);
    padding: 8px;
    border-radius: 50px;
    display: flex;
    margin-top: 20px;
}
.newsletter input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    outline: none;
    width: 100%;
}
.newsletter .btn {
    padding: 12px 24px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 80px;
    padding-top: 30px;
    text-align: center;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}

.whatsapp-float i {
    width: 30px;
    height: 30px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-soft {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-scale {
    animation: fadeInScale 0.4s ease-out forwards;
}

/* Our Product Range Section */
.product-range {
    padding: 100px 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

/* Digital Guide Section */
.digital-guide {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.guide-banner {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    border-radius: 20px;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(12, 76, 53, 0.2);
    position: relative;
    overflow: hidden;
    animation: pulse-soft 4s infinite ease-in-out;
}

.guide-banner::after {
    content: '';
    position: absolute;
    right: -50px;
    top: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.guide-title h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.guide-title p {
    font-size: 1rem;
    opacity: 0.9;
}

/* Tabs */
.guide-tabs-container {
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    margin-bottom: 20px;
    border-bottom: 1px solid var(--gray);
}

.guide-tabs-container::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.guide-tabs {
    display: flex;
    min-width: max-content;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    cursor: pointer;
    transition: var(--transition);
    border-right: 1px solid var(--gray);
    position: relative;
    background: var(--light);
    min-width: 120px;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item i {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
    color: var(--primary);
    transition: var(--transition);
}

.tab-item span {
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text);
}

.tab-item.active {
    background: var(--white);
}

.tab-item.active i {
    transform: scale(1.1);
}

.tab-item.active span {
    color: var(--primary);
    font-weight: 700;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--primary);
}

/* Category Content */
.category-content {
    padding-top: 40px;
}

.category-name {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 30px;
    border-bottom: 2px solid var(--gray);
    padding-bottom: 15px;
}

.tiles-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tile-link {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    text-transform: capitalize;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tile-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .guide-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .guide-title h2 {
        font-size: 2rem;
        justify-content: center;
    }
}

/* WordPress Custom Logo Overrides */
.custom-logo {
    height: 55px;
    width: auto;
    transition: var(--transition);
}
.navbar.scrolled .custom-logo {
    height: 48px;
}
.navbar:not(.scrolled) .custom-logo {
    filter: brightness(0) invert(1);
}
.footer .logo .custom-logo {
    height: 65px;
    filter: brightness(0) invert(1);
}

/* Digital Guide Animations */
@keyframes fadeScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.animate-scale .tile-link {
    animation: fadeScale 0.4s ease-out forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
}

/* Social Media Footer Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-link i, .social-link svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(12, 76, 53, 0.3);
    border-color: var(--primary);
}

/* Inner Page Hero */
.inner-hero {
    height: 350px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=1500&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}
.inner-hero h1 { color: #fff; z-index: 1; font-size: 3.5rem; }

/* Management Team Styles */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px; margin-top: 60px; }
.team-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); }
.team-card:hover { transform: translateY(-10px); }
.team-img { width: 100%; height: 350px; object-fit: cover; }
.team-info { padding: 30px; text-align: center; }
.team-info h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--primary); }
.team-info p { color: var(--text); font-weight: 500; }

/* Vision & Mission Styles */
.vm-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 60px; }
.vm-item { padding: 50px; border-radius: 30px; background: var(--white); box-shadow: 0 20px 50px rgba(0,0,0,0.05); border-top: 6px solid var(--primary); }
.vm-item i { width: 60px; height: 60px; color: var(--primary); margin-bottom: 30px; }
.vm-item h2 { font-size: 2.5rem; margin-bottom: 20px; }
.vm-item p { font-size: 1.2rem; color: var(--text); line-height: 1.8; }

.core-values { background: var(--light); padding: 100px 0; margin-top: 100px; }
.value-card { background: var(--white); padding: 40px; border-radius: 20px; text-align: center; }
.value-card i { width: 40px; height: 40px; color: var(--primary); margin-bottom: 20px; }

/* Product Range Slider Section */
.product-range-slider {
    background-color: var(--white);
    padding: 80px 0;
}

.range-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    margin-top: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.range-track {
    width: 100%;
    height: 100%;
}

.range-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 80px;
}

.range-slide.active {
    opacity: 1;
    z-index: 2;
}

.range-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
    z-index: 1;
}

.range-slide-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    color: var(--white);
    transform: translateY(20px);
    transition: all 0.6s ease-out;
    opacity: 0;
}

.range-slide.active .range-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.range-tag {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.range-slide-content h3 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    font-weight: 800;
}

.range-slide-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.9;
    line-height: 1.5;
}

.range-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.range-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.range-arrow.prev { left: 30px; }
.range-arrow.next { right: 30px; }

.range-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.range-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.range-dots .dot.active {
    background: var(--primary);
    width: 35px;
    border-radius: 10px;
}

/* --- COMPREHENSIVE RESPONSIVE STYLES (TABLET & MOBILE) --- */
.mobile-menu-btn { display: none; }

@media (max-width: 1200px) {
    .grid-5 { grid-template-columns: repeat(3, 1fr); }
    .hero-category-panel { display: none; }
    .hero-nav-arrow.next { right: 30px; }
}

@media (max-width: 992px) {
    /* Navbar adaptation with Hamburger Menu */
    .nav-container {
        justify-content: space-between;
        align-items: center;
    }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,0.15);
        border: 1px solid rgba(255,255,255,0.3);
        color: var(--white);
        width: 42px;
        height: 42px;
        border-radius: 8px;
        cursor: pointer;
        z-index: 1001;
        transition: var(--transition);
    }
    .navbar.scrolled .mobile-menu-btn {
        background: rgba(12, 76, 53, 0.1);
        border-color: rgba(12, 76, 53, 0.2);
        color: var(--primary);
    }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 20px 30px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.15);
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        display: none; /* Hidden by default on mobile */
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links.active {
        display: flex !important;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        color: var(--dark) !important;
        font-size: 1.1rem;
        width: 100%;
        padding: 10px 0;
        display: flex;
        justify-content: space-between;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links li:last-child a {
        border-bottom: none;
    }
    .dropdown-menu,
    .nav-links .children,
    .nav-links ul ul {
        position: relative;
        top: 0;
        box-shadow: none;
        padding-left: 20px;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    .nav-links li:hover > .dropdown-menu,
    .nav-links li:hover > .children,
    .nav-links li:hover > ul {
        display: flex;
    }
    /* WordPress fallback page menu on mobile */
    .nav-links > ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    .nav-links > ul > li > a {
        color: var(--dark) !important;
    }
    
    /* Grids & Layouts */
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .about-grid, .vm-detail-grid, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .about-image img, .profile-image img { width: 100%; height: auto; }
    .v-m-section { margin-top: -50px; padding: 40px 30px; }
    
    /* Typography & Spacing */
    .hero-content h1, .inner-hero h1 { font-size: 2.8rem; }
    .section { padding: 60px 0; }
    .sustain-visual-box { height: 400px; }
    .sustain-text-content h2 { font-size: 2.2rem; min-height: auto; }
    .product-range-card { flex: 0 0 calc(50% - 15px) !important; min-width: calc(50% - 15px) !important; }
}

@media (max-width: 768px) {
    /* Ensure no horizontal overflow and fix text truncation */
    body, html { overflow-x: hidden; width: 100%; }
    .container { padding: 0 20px; width: 100%; box-sizing: border-box; }
    * { word-wrap: break-word; overflow-wrap: break-word; }
    
    /* Navbar mobile */
    .nav-container { padding: 0 15px; }
    .logo-img, .custom-logo { height: 40px; }
    .navbar.scrolled .logo-img, .navbar.scrolled .custom-logo { height: 36px; }
    
    /* Grids */
    .grid-2, .grid-3, .grid-4, .grid-5, .about-grid, .vm-detail-grid, .team-grid, .footer-top {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }
    
    /* Hero & Inner Hero */
    .hero { min-height: 550px; height: auto; padding: 180px 0 80px; }
    .hero-content { padding-top: 50px; }
    .hero-content h1, .inner-hero h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }
    .inner-hero { height: 280px; }
    .hero-nav-arrow { top: auto !important; bottom: 30px !important; transform: none !important; }
    .hero-nav-arrow.prev { left: 20px !important; }
    .hero-nav-arrow.next { right: 20px !important; }
    
    /* Product Range Carousel */
    .product-range-track-wrap { position: relative; overflow: hidden; width: 100%; padding: 20px 0; }
    .product-range-card { flex: 0 0 100% !important; min-width: 100% !important; }
    .product-range-desc { color: #555 !important; }
    .range-arrow { width: 42px; height: 42px; top: 50%; transform: translateY(-50%); }
    .range-arrow.prev, .range-arrow.range-prev { left: 10px !important; }
    .range-arrow.next, .range-arrow.range-next { right: 10px !important; }
    
    /* Digital Guide Banner & Tabs */
    .guide-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }
    .guide-title h2 { font-size: 1.8rem; justify-content: center; }
    .guide-title p { font-size: 0.95rem; }
    .guide-tabs-container { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .tab-item { min-width: 120px; flex-shrink: 0; white-space: normal; text-align: center; padding: 12px 15px; }
    
    /* Sustainability section */
    .v-m-section { padding: 30px 20px; margin-top: -30px; }
    .v-m-card { padding: 25px; }
    
    /* Footer */
    .footer-col { text-align: center; }
    .footer-col.brand { align-items: center; }
    .social-links { justify-content: center; }
    .newsletter { flex-direction: column; gap: 10px; }
    .newsletter button { width: 100%; }
    .footer-bottom p { font-size: 0.85rem; line-height: 1.5; white-space: normal; text-align: center; }
}

@media (max-width: 480px) {
    .hero-content h1, .inner-hero h1 { font-size: 1.8rem; }
    .btn { padding: 12px 24px; font-size: 0.95rem; }
    .tab-item { padding: 10px 15px; min-width: 100px; font-size: 0.85rem; }
}

/* Coordinated Sustainability Slider */
.sustain-coordinated-section {
    background-color: var(--white);
    overflow: hidden;
}

.sustain-text-content h2 {
    font-size: 3rem;
    margin-bottom: 24px;
    min-height: 120px;
}

.sustain-text-content p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    min-height: 100px;
}

.sustain-visual-box {
    position: relative;
    height: 500px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    overflow: hidden;
}

.sustain-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.sustain-img-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.sustain-img-slide.active {
    opacity: 1;
    z-index: 2;
}

.sustain-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sustain-mini-nav {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.mini-arrow {
    background: transparent;
    border: none;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition);
    font-weight: bold;
    font-size: 1.2rem;
}

.mini-arrow:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.sustain-indicator {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
    min-width: 40px;
    text-align: center;
}

.sustain-indicator span#currSustain {
    color: var(--primary);
}

.sustain-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0,0,0,0.1);
    z-index: 10;
}

.sustain-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--primary);
    transition: width 0.1s linear;
}

.typing-cursor::after {
    content: '|';
    animation: blink 1s infinite;
    margin-left: 2px;
    color: var(--primary);
}

@keyframes blink {
    50% { opacity: 0; }
}

@media (max-width: 992px) {
    .sustain-visual-box { height: 400px; }
    .sustain-text-content h2 { font-size: 2.2rem; min-height: auto; }
}

/* Contact Page Styles */
.contact-wrap {
    padding: 80px 0;
    background-color: #f9fbf9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-card {
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: 30px;
    padding: 45px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.contact-card:hover {
    box-shadow: 0 20px 45px rgba(12, 76, 53, 0.08);
}

.contact-card h2 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 700;
}

.contact-card p.subtitle-text {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.contact-info-list {
    display: grid;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    background: var(--light);
    transition: var(--transition);
}

.contact-info-item:hover {
    background: rgba(12, 76, 53, 0.06);
    transform: translateX(5px);
}

.contact-info-item i,
.contact-info-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-info-text span, 
.contact-info-text a {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    transition: var(--transition);
}

.contact-info-text a:hover {
    color: var(--primary);
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25d366;
    color: #fff;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: var(--transition);
    margin-top: 15px;
}

.whatsapp-btn:hover {
    background: #128c7e;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
    color: #fff;
}

.contact-socials {
    margin-top: 35px;
    border-top: 1px solid var(--gray);
    padding-top: 25px;
}

.contact-socials h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.social-row {
    display: flex;
    gap: 12px;
}

.social-circle {
    width: 44px;
    height: 44px;
    border-radius: 50px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: var(--transition);
    border: 1px solid var(--gray);
}

.social-circle:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--primary);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
}

.form-group input, 
.form-group textarea {
    border-radius: 14px;
    border: 1px solid var(--gray);
    padding: 14px 18px;
    font-size: 1rem;
    outline: none;
    background: #fff;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus, 
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(12, 76, 53, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 16px 36px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 20px rgba(12, 76, 53, 0.2);
    width: fit-content;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(12, 76, 53, 0.3);
}

.bottom-call-banner {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: 40px;
    padding: 60px 80px;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    color: #fff;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
}

.bottom-call-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -30%;
    width: 70%;
    height: 200%;
    background: radial-gradient(circle, rgba(14,108,71,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.banner-content {
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.banner-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.banner-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.banner-action {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.btn-call {
    background: var(--primary);
    color: #fff !important;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(12, 76, 53, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-call:hover {
    background: #fff;
    color: var(--primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255,255,255,0.25);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .bottom-call-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px;
        border-radius: 30px;
    }
    .btn-call {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
    }
    .contact-card {
        padding: 25px;
    }
    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* News & Blogs Section (Dhanuka Style) */
.news-blogs-section {
    padding: 0 0 100px;
    position: relative;
    z-index: 10;
}

.news-blogs-card {
    background-color: var(--white);
    border-radius: 24px;
    padding: 65px 55px;
    margin-top: -120px;
    position: relative;
    z-index: 20;
    box-shadow: 0 25px 60px rgba(0,0,0,0.06);
}

.news-blogs-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
}

@media (max-width: 991px) {
    .news-blogs-card {
        padding: 40px 30px;
        margin-top: -80px;
    }
    .news-blogs-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.section-header-news {
    border-bottom: 2px solid rgba(12, 76, 53, 0.15);
    margin-bottom: 30px;
    padding-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.section-title-news {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    position: relative;
    font-family: var(--font-heading);
}

/* Double underline border effect */
.section-title-news::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 100%;
    height: 4px;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
}

.view-all-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    transition: var(--transition);
}

.view-all-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

@media (max-width: 576px) {
    .news-cards-grid {
        grid-template-columns: 1fr;
    }
}

.news-card-dhanuka {
    background-color: #8f7660; /* Earthy sand/brown card background from Dhanuka */
    color: #ffffff;
    padding: 35px 30px;
    border-radius: 0px; /* Sharp corners like Dhanuka */
    box-shadow: 0 8px 24px rgba(143, 118, 96, 0.15);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-dhanuka:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(143, 118, 96, 0.3);
}

.news-date-dhanuka {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card-title-dhanuka {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.news-card-title-dhanuka a {
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.news-card-title-dhanuka a:hover {
    opacity: 0.9;
}

.news-card-excerpt-dhanuka {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.blogs-list-dhanuka-wrapper {
    height: 410px;
    overflow: hidden;
    position: relative;
}

.blogs-list-dhanuka {
    display: flex;
    flex-direction: column;
    animation: blogsMarqueeScroll 26s linear infinite;
}

.blogs-list-dhanuka-wrapper:hover .blogs-list-dhanuka {
    animation-play-state: paused;
}

@keyframes blogsMarqueeScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

.blog-item-dhanuka {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    display: flex;
    flex-direction: column;
}

.blog-date-dhanuka {
    font-size: 0.8rem;
    color: #888888;
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-item-title-dhanuka {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.blog-item-title-dhanuka a {
    color: var(--dark);
    transition: color 0.3s ease;
}

.blog-item-title-dhanuka a:hover {
    color: var(--primary);
}

.blog-item-excerpt-dhanuka {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text);
    margin: 0;
}

/* Life With Cropgate Section */
.life-cropgate-section {
    background-color: #0c3823;
    padding: 80px 0 100px;
    overflow: hidden;
    position: relative;
    color: var(--white);
}

.life-cropgate-header {
    text-align: center;
    margin-bottom: 50px;
}

.life-cropgate-header h2 {
    color: var(--white);
    font-size: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

/* Double underline border effect */
.life-cropgate-header h2::after {
    content: '';
    position: absolute;
    left: 15%;
    bottom: 0;
    width: 70%;
    height: 4px;
    border-top: 1px solid var(--white);
    border-bottom: 1px solid var(--white);
}

.life-cropgate-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.life-cropgate-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    height: 650px;
    overflow: hidden;
    position: relative;
}

/* Vertical Scroll Columns */
.life-cropgate-column {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Track list */
.life-cropgate-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    height: auto;
}

/* Animations */
.life-cropgate-track.scroll-up {
    animation: lifeScrollUp 45s linear infinite;
}

.life-cropgate-track.scroll-down {
    animation: lifeScrollDown 45s linear infinite;
}

@keyframes lifeScrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes lifeScrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Cards */
.life-cropgate-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.life-cropgate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Text Card Variations */
.life-cropgate-card.text-card {
    padding: 35px 30px;
    text-align: center;
    justify-content: center;
    min-height: 250px;
}

.life-cropgate-card.text-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.life-cropgate-card.text-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Colors */
.card-bg-white {
    background-color: var(--white);
    color: var(--dark);
}
.card-bg-white h3 { color: var(--dark); }
.card-bg-white p { color: var(--text); }

.card-bg-green {
    background-color: var(--primary);
    color: var(--white);
}
.card-bg-green h3, .card-bg-green p { color: var(--white); }

.card-bg-tan {
    background-color: var(--tan);
    color: var(--white);
}
.card-bg-tan h3, .card-bg-tan p { color: var(--white); }

/* Image Card Styling */
.life-cropgate-card.image-card {
    height: 280px;
}

.life-cropgate-card.image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .life-cropgate-grid {
        grid-template-columns: repeat(2, 1fr);
        height: 550px;
    }
    .life-cropgate-column:nth-child(3),
    .life-cropgate-column:nth-child(4) {
        display: none;
    }
}

@media (max-width: 576px) {
    .life-cropgate-grid {
        grid-template-columns: 1fr;
        height: 450px;
    }
    .life-cropgate-column:nth-child(2) {
        display: none;
    }
}

/* About Cropgate Section (Bhagiradha Style) */
.about-cropgate-section {
    background: var(--light);
    overflow: hidden;
}

.about-cropgate-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-cropgate-image-col {
    position: relative;
    padding: 20px 20px 20px 0;
}

/* Bhagirad concentric/offset shape behind the image */
.about-cropgate-image-col::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 20px;
    right: 0px;
    bottom: 0px;
    background-color: var(--secondary); /* Dark green shadow card */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 120px; /* concentric matching curve */
    z-index: 1;
}

.about-cropgate-image-wrapper {
    position: relative;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 120px; /* Distinct large border-bottom-left-radius smooth curve */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    z-index: 2;
}

.about-cropgate-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.about-cropgate-image-wrapper img:hover {
    transform: scale(1.03);
}

.about-cropgate-experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--accent); /* Gold/Tan accent for premium feel */
    color: var(--secondary); /* dark text for readability */
    padding: 16px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 3;
}

.badge-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.badge-text {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.3;
    opacity: 0.9;
}

.about-cropgate-label {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 12px;
    font-family: var(--font-body);
}

.about-cropgate-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}

.about-cropgate-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: var(--accent); /* gold/tan accent bar */
    border-radius: 2px;
}

.about-cropgate-desc {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-cropgate-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 1px solid rgba(0,0,0,0.08);
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.about-stat-item {
    text-align: center;
}

.about-stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    line-height: 1;
}

.about-stat-plus {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.about-stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text);
    margin-top: 6px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .about-cropgate-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-cropgate-image-wrapper img {
        height: 400px;
    }
    .about-cropgate-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-cropgate-title {
        font-size: 2rem;
    }
    .about-cropgate-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Our Product Range Section (Bhagiradha Style) */
.product-range {
    padding: 100px 0;
    background-color: var(--light);
}

.product-range-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-range-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.product-range-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
}

/* Alternating staggered grid order */
.product-range-card.text-top {
    justify-content: flex-start;
}

.product-range-card.image-top {
    justify-content: flex-end;
}

/* Card content styling */
.product-range-content {
    padding: 20px 0;
}

.product-range-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    font-family: var(--font-heading);
    margin-bottom: 12px;
}

.product-range-desc {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 16px;
    font-family: var(--font-body);
}

.product-range-explore {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent); /* Gold/tan */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: var(--font-body);
}

.product-range-explore:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.product-range-explore .arrow {
    font-size: 1.1rem;
    line-height: 1;
}

/* Image wrapper and masking shapes */
.product-range-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.product-range-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-range-card:hover .product-range-img {
    transform: scale(1.05);
}

/* Inward cutout masks */
.mask-bottom-left, .mask-bottom-left .product-range-hover-overlay {
    -webkit-mask-image: radial-gradient(circle at 0% 100%, transparent 60px, black 61px);
    mask-image: radial-gradient(circle at 0% 100%, transparent 60px, black 61px);
}

.mask-top-center, .mask-top-center .product-range-hover-overlay {
    -webkit-mask-image: radial-gradient(circle at 50% 0%, transparent 60px, black 61px);
    mask-image: radial-gradient(circle at 50% 0%, transparent 60px, black 61px);
}

.mask-bottom-right, .mask-bottom-right .product-range-hover-overlay {
    -webkit-mask-image: radial-gradient(circle at 100% 100%, transparent 60px, black 61px);
    mask-image: radial-gradient(circle at 100% 100%, transparent 60px, black 61px);
}

.mask-bottom-center, .mask-bottom-center .product-range-hover-overlay {
    -webkit-mask-image: radial-gradient(circle at 50% 100%, transparent 60px, black 61px);
    mask-image: radial-gradient(circle at 50% 100%, transparent 60px, black 61px);
}

/* Hover overlay and product lists */
.product-range-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 56, 35, 0.92); /* Forest green overlay */
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    padding: 30px;
    z-index: 5;
}

.product-range-card:hover .product-range-hover-overlay {
    opacity: 1;
}

.product-list-overlay {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.product-list-overlay li {
    margin-bottom: 12px;
    transform: translateY(15px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.product-range-card:hover .product-list-overlay li {
    transform: translateY(0);
    opacity: 1;
}

/* Stagger transition delay for list items */
.product-list-overlay li:nth-child(1) { transition-delay: 0.05s; }
.product-list-overlay li:nth-child(2) { transition-delay: 0.1s; }
.product-list-overlay li:nth-child(3) { transition-delay: 0.15s; }
.product-list-overlay li:nth-child(4) { transition-delay: 0.2s; }
.product-list-overlay li:nth-child(5) { transition-delay: 0.25s; }
.product-list-overlay li:nth-child(6) { transition-delay: 0.3s; }

.product-list-overlay a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.product-list-overlay a:hover {
    color: var(--accent); /* Turn gold on hover */
    transform: translateX(4px);
}

.product-list-overlay .gold-arrow {
    color: var(--accent); /* Gold prefix arrow */
    font-weight: 700;
    transition: var(--transition);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .product-range-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .product-range-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-range-container {
        padding: 0 20px;
    }
    .product-range-title {
        font-size: 1.5rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}
.navbar.scrolled .mobile-menu-btn { color: var(--dark); }
.mobile-menu-btn i { width: 28px; height: 28px; }

@media (max-width: 991px) {
    .mobile-menu-btn { display: flex; align-items: center; }
    .nav-cta { display: none !important; }
    .nav-links, .nav-links > ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        gap: 0;
    }
    .nav-links.active, .nav-links > ul.active {
        display: flex;
    }
    .nav-links a, .nav-links > ul a {
        color: var(--dark) !important;
        padding: 12px 0;
        border-bottom: 1px solid var(--gray);
    }
    .nav-links li, .nav-links > ul > li { width: 100%; }
    .dropdown-menu, .nav-links .sub-menu, .nav-links .children, .nav-links ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
    }
    .footer .grid-4 { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 576px) {
    .footer .grid-4 { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 2rem; }
}
