/* style.css - Main Stylesheet for Agrimax Valleys Website */

/* CSS Variables for Agrimax Colors */
:root {
    --primary-green: #0a5c36;
    --secondary-green: #2e7d32;
    --accent-green: #7cb342;
    --light-green: #c5e1a5;
    --dark-brown: #5d4037;
    --light-brown: #a1887f;
    --beige: #f5f5dc;
    --white: #ffffff;
    --light-gray: #f5f7fa;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --soft-green-bg: #f0f7f1;
    --very-light-green: #e8f5e9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

/* Navigation Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 220px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}



.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-item {
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition-normal);
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-green);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-green);
    bottom: 0;
    left: 0;
    transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    width: 30px;
    height: 20px;
    position: relative;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark-gray);
    position: absolute;
    transition: all var(--transition-normal);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

/* Hero Section with Slider */
.hero {
    height: 90vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: zoomEffect 20s infinite ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: zoomEffect 20s infinite ease-in-out;
}

/* Animations */
@keyframes zoomEffect {
    0% {
        transform: scale(1) rotateZ(0deg);
    }

    50% {
        transform: scale(1.08) rotateZ(0.5deg);
    }

    100% {
        transform: scale(1) rotateZ(0deg);
    }
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1.15);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes panRight {
    0% {
        transform: scale(1.1) translateX(-20px);
    }

    100% {
        transform: scale(1.1) translateX(0px);
    }
}

@keyframes panLeft {
    0% {
        transform: scale(1.1) translateX(20px);
    }

    100% {
        transform: scale(1.1) translateX(0);
    }
}

.slide-1 {
    background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    animation: zoomIn 20s infinite ease-in-out;
}

.slide-2 {
    background-image: url('https://media.istockphoto.com/id/453141061/photo/goats.jpg?s=612x612&w=0&k=20&c=x2hydxmQPmogAI9outhoDyiRpgwL0Lik-HbRSAFciPs=');
    animation: panRight 20s infinite ease-in-out;
}

.slide-3 {
    background-image: url('assets/images/tomatoes-agrimax-min-300x222.jpg');
    animation: zoomOut 20s infinite ease-in-out;
}

.slide-4 {
    background-image: url('https://images2.minutemediacdn.com/image/upload/c_crop,x_0,y_0,w_1097,h_617/c_fill,w_720,ar_16:9,f_auto,q_auto,g_auto/shape/cover/sport/643188-gettyimages-153946385-ca1ccfaad9be44325afc434b305adc0d.jpg');
    animation: panLeft 20s infinite ease-in-out;
}

.slide-5 {
    background-image: url('https://img.hobbyfarms.com/wp-content/uploads/2009/02/18104135/tractor_John-Deere.jpg');
    animation: zoomIn 20s infinite ease-in-out;
}

.slide-6 {
    background-image: url('https://images.unsplash.com/photo-1625246333195-78d9c38ad449?fm=jpg&q=60&w=3000&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nnx8YWdyaWN1bHR1cmV8ZW58MHx8MHx8fDA%3D');
    animation: panRight 20s infinite ease-in-out;
}

.slide-7 {
    background-image: url('https://agamerica.com/wp-content/uploads/2018/06/row-crop-cabbage-1.jpg');
    animation: zoomOut 20s infinite ease-in-out;
}

.slide-8 {
    background-image: url('https://thumbs.wbm.im/pw/small/e6d822d281220d430d74ad4ff5c82cbf.jpg');
    animation: panLeft 20s infinite ease-in-out;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Reduced opacity for clarity as requested */
    background: linear-gradient(135deg, rgba(10, 92, 54, 0.3) 0%, rgba(46, 125, 50, 0.1) 100%);
    z-index: 2;
}



.hero-content {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, titleGlow 3s ease-in-out infinite 1.2s;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards, subtitleShine 3s ease-in-out infinite 1.5s;
    opacity: 0;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s forwards;
    opacity: 0;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-green);
    animation: buttonPulse 2s ease-in-out infinite 1.2s;
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: none;
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-green);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.slider-controls {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    padding: 0;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.5);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}


.slider-dot:focus {
    outline: 2px solid var(--accent-green);
    outline-offset: 2px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(196, 225, 165, 0);
    }

    50% {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3), 0 0 30px rgba(196, 225, 165, 0.6);
    }
}

@keyframes subtitleShine {

    0%,
    100% {
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 255, 255, 0);
    }

    50% {
        text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 255, 255, 0.5);
    }
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(10, 92, 54, 0.7);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(10, 92, 54, 0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 5s ease-in-out infinite;
}

/* Section Styles */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent-green);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.contact .section-title h2 {
    color: var(--white);
}

.contact .section-title h2::after {
    background-color: var(--white);
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.about-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-green));
    z-index: 2;
}

.about-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--white);
    font-size: 30px;
}

.about-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.about-card p {
    color: var(--dark-gray);
    font-size: 1.05rem;
}

/* What We Do Section */
.what-we-do {
    background-color: var(--soft-green-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.service-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap var(--transition-normal);
}

.service-link:hover {
    gap: 10px;
}

/* Impact Section */
.impact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    align-items: center;
}

/* Two Column Impact Layout */
.impact-two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    margin-top: 40px;
}

.impact-column {
    padding: 40px;
    border-radius: 15px;
    background: var(--soft-green-bg);
    transition: all 0.3s ease;
}

.impact-column h3 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.impact-column h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--accent-green);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.impact-social p {
    font-size: 1rem;
    color: var(--dark-gray);
    margin-bottom: 18px;
    line-height: 1.8;
}

.impact-agri {
    display: flex;
    flex-direction: column;
}

.impact-agri h3 {
    margin-bottom: 30px;
}

.impact-text h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 25px;
}

.impact-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--dark-gray);
}

.impact-image {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.impact-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.impact-section-title h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin: 0;
    position: relative;
    display: inline-block;
}

.impact-section-title h3::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-green);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-green), var(--accent-green));
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.image-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
}

.image-placeholder p {
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
    max-width: 200px;
}

/* Impact Cards Layout */
.impact-cards-container {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.impact-left-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.impact-right-section {
    display: flex;
    align-items: center;
}

.impact-card {
    width: 220px;
    height: 220px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.impact-card img {
    width: 100%;
    height: 85%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.impact-card:hover img {
    transform: scale(1.05);
}

.impact-card:hover {
    box-shadow: 0 15px 40px rgba(10, 92, 54, 0.3);
    transform: translateY(-5px);
}

.impact-card.featured {
    width: 280px;
    height: auto;
    flex-direction: column;
}

.impact-card.featured img {
    height: 280px;
    width: 100%;
}

.card-label {
    flex: 1;
    background: var(--primary-green);
    color: var(--white);
    margin: 0;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.impact-divider {
    width: 2px;
    height: 300px;
    background: linear-gradient(180deg, transparent, var(--primary-green), transparent);
    margin: 0 20px;
}

/* Impact Modal */
.impact-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
}

.impact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-green);
}

.modal-body h2 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* General Farming Modal */
.service-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.service-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-service {
    background-color: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideIn 0.3s ease;
    margin: 30px auto;
    max-height: 85vh;
    overflow-y: auto;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: var(--dark-gray);
    transition: color 0.3s ease;
    padding: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--primary-green);
}

.modal-body-service h2 {
    font-size: 2.2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-intro {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.farming-items {
    display: grid;
    gap: 25px;
}

.farming-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: var(--soft-green-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.farming-item:hover {
    background: linear-gradient(135deg, var(--light-green) 0%, var(--soft-green-bg) 100%);
    box-shadow: 0 10px 30px rgba(10, 92, 54, 0.15);
}

.farming-img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
}

.farming-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.farming-info h3 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.farming-info p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-body p {
    font-size: 1.05rem;
    color: var(--dark-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Brands Section */
.brands {
    background-color: var(--light-gray);
}

/* Brands Slider Container */
.brands-slider-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
    padding: 0 50px;
    /* Space for arrows */
}

.brands-carousel {
    width: 100%;
    overflow: hidden;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 40px 0;
}

.carousel-track {
    display: flex;
    gap: 30px;
    padding: 0 30px;
    will-change: transform;
    /* Animation removed for JS control */
}

.carousel-slide {
    min-width: 280px;
    height: 220px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-slide:hover img {
    transform: scale(1.05);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
    color: var(--primary-green);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 0;
}

.next-arrow {
    right: 0;
}

/* Removed @keyframes scrollCarousel */

.brand-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all var(--transition-normal);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.brand-icon {
    font-size: 40px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.brand-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

/* Awards Section */
.awards-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.awards-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.awards-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
    padding: 20px 0;
}

.awards-image {
    max-width: 100%;
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.awards-image:hover {
    transform: scale(1.05);
}

.award-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    border-radius: 20px;
    color: var(--white);
    box-shadow: var(--shadow);
    max-width: 400px;
}

.award-badge i {
    font-size: 60px;
    margin-bottom: 20px;
}

.award-badge h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Partners Section */
.partners {
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    padding: 80px 0;
}

.partners .section-title h2 {
    color: var(--primary-green);
}

.partners .section-title p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    align-items: center;
    justify-items: center;
    margin-top: 60px;
    padding: 40px 0;
}

.partner-logo-img {
    max-width: 85%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(0%);
    max-height: 100px;
}

.partner-logo-img:hover {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 92, 54, 0.25) 0%, rgba(46, 125, 50, 0.2) 100%),
        url('https://media.licdn.com/dms/image/v2/D4D12AQH2QVQbyCuf4g/article-cover_image-shrink_600_2000/article-cover_image-shrink_600_2000/0/1700752231849?e=2147483647&v=beta&t=VkOMaTpI86wS16Q3IBkjxeh3YBHj878F5LC-dBrkUoU') center/cover no-repeat;
    background-attachment: fixed;
    z-index: 1;
}

.contact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 92, 54, 0.02);
    backdrop-filter: blur(3px);
    z-index: 2;
}

.contact>.container {
    position: relative;
    z-index: 3;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 3;
    margin-bottom: 40px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--white);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--white);
}

.contact-text p {
    color: rgba(255, 255, 255, 0.9);
}


/* Glassmorphism Contact Form */
.contact-form-glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    transition: all var(--transition-normal);
    max-height: 480px;
    display: flex;
    flex-direction: column;
}

.contact-form-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
}

.form-header h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: var(--white);
    font-weight: 600;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 12px;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(76, 175, 80, 0.9);
    color: var(--white);
    border: 1px solid rgba(76, 175, 80, 1);
}

.form-message.error {
    display: block;
    background-color: rgba(244, 67, 54, 0.9);
    color: var(--white);
    border: 1px solid rgba(244, 67, 54, 1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: all var(--transition-normal);
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--dark-gray);
}

.form-control::placeholder {
    color: rgba(51, 51, 51, 0.6);
}

.form-control:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 3px rgba(10, 92, 54, 0.2);
}

textarea.form-control {
    min-height: 70px;
    resize: none;
}

.error-message {
    color: transparent;
    font-size: 0px;
    margin-top: 0px;
    display: none;
    font-weight: 500;
}

.form-group.error .error-message {
    display: none;
}

.form-group.error .form-control {
    border-color: #ff6b6b;
    background-color: rgba(255, 107, 107, 0.05);
}

.submit-btn {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(10, 92, 54, 0.3);
}

.submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Map Container */
.map-container {
    margin-top: 50px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background-color: var(--white);
    position: relative;
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 500px;
    border: none;
    border-radius: 15px 15px 0 0;
}

.map-info {
    padding: 30px;
    background-color: var(--light-gray);
    text-align: center;
    border-radius: 0 0 15px 15px;
}

.map-info h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.map-info p {
    margin: 10px 0;
    color: var(--dark-gray);
    font-size: 1rem;
}

.map-info p strong {
    color: var(--primary-green);
    font-weight: 600;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    color: var(--dark-gray);
    text-align: center;
    padding: 20px;
}

.map-placeholder i {
    font-size: 60px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

/* Footer */
.footer {
    background-color: #333333;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col:first-child .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-col:first-child .logo-img {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.footer-col:first-child .logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-col:first-child .logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.footer-col:first-child .logo-text span {
    color: var(--light-green);
    display: block;
}

.footer-col h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--light-green);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--light-green);
    bottom: 0;
    left: 0;
}

.footer-about {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--medium-gray);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-normal);
}

.social-icons a:hover {
    background-color: var(--accent-green);
    transform: translateY(-5px);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--medium-gray);
    transition: color var(--transition-normal), padding-left var(--transition-normal);
}

.footer-col ul li a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-green);
    transition: color var(--transition-normal);
}

.footer-bottom a:hover {
    color: var(--light-green);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.2rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .impact-two-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .impact-cards-container {
        flex-direction: column;
        gap: 20px;
    }

    .impact-left-section {
        flex-direction: row;
        gap: 20px;
        justify-content: center;
    }

    .impact-divider {
        display: none;
    }

    .impact-card {
        width: 180px;
        height: 180px;
    }

    .impact-card.featured {
        width: 200px;
        height: 200px;
    }

    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .farming-item {
        grid-template-columns: 1fr;
    }

    .modal-content-service {
        padding: 30px;
    }

    .hero {
        margin-top: 70px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .hero-buttons {
        width: 100%;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .carousel-slide {
        min-width: 200px;
        height: 160px;
    }

    .image-placeholder {
        width: 250px;
        height: 250px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    section {
        padding: 70px 0;
    }
}

/* Print Styles */
@media print {

    .navbar,
    .hero-slider,
    .hero-overlay,
    .slider-controls,
    .hero-buttons,
    .contact-form,
    .social-icons,
    .footer-bottom {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        height: auto;
        margin-top: 0;
        color: #000;
    }

    .hero-content {
        position: static;
        color: #000;
    }

    .hero-title,
    .hero-subtitle,
    .section-title h2,
    .about-card h3,
    .service-content h3,
    .brand-card h3,
    .impact-text h2,
    .contact-info h3 {
        color: #000 !important;
    }

    .btn,
    .service-link {
        display: none !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    .footer {
        background: #fff !important;
        color: #000 !important;
        padding: 30px 0;
    }

    .footer-col h3 {
        color: #000 !important;
    }

    .footer-about,
    .footer-col ul li a,
    .contact-info li {
        color: #333 !important;
    }
}/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 9999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Refined Responsive Styles */
@media (max-width: 768px) {
    /* Brands Slider Refinements */
    .brands-slider-container {
        padding: 0 35px; /* Reduce padding to give more space to brands */
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .carousel-slide {
        min-width: 220px;
        height: 180px;
    }

    /* Modal Refinements */
    .modal-content-service {
        padding: 20px; /* Reduced padding */
        width: 95%;
        margin: 20px auto;
    }

    .farming-item {
        grid-template-columns: 1fr; /* Stack vertically */
        gap: 15px;
        padding: 15px;
    }

    .farming-img {
        height: 200px;
    }

    .modal-close-btn {
        top: 10px;
        right: 10px;
        width: 30px;
        height: 30px;
        font-size: 30px;
    }

    /* Modal Titles */
    .modal-body-service h2 {
        font-size: 1.6rem;
        margin-right: 30px; /* Space for close button */
    }

    /* Navigation Refinements */
    .nav-link {
        padding: 15px 0; /* Larger touch target */
        width: 100%;
        justify-content: center;
    }
    
    /* Back to Top Position */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    /* Further Mobile Refinements */
    .carousel-slide {
        min-width: 180px;
        height: 140px;
    }
    
    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .brands-slider-container {
        padding: 0 25px;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero-buttons {
        gap: 10px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }
}
