
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');  
body {
    background-color: #e9dfd4;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}


/* Changed class name from hero-slider to hero-section */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
}

.slide.prev {
    transform: translateX(-100%);
}

/* Replaced gradient backgrounds with actual background images */
.slide-1 {
    background-image: url('../images/background2.png');
}

.slide-2 {
    background-image: url('../images/background1.jpg');
}

.slide-3 {
    background-image: url('../images/background.jpg');
}

.slide-content {
    text-align: center;
    color: white;
    max-width: 90%;
    padding: 0 20px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease 0.3s;
    border-radius: 20px;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
    padding-top: 2rem;
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
    padding: 0 2rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: rgb(92 61 36);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.cta-button:hover {
    background: green;
    border: 1px solid #ffc697;
    color: #fe933b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 100;
}

.nav-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 100%;
    padding: 0px 15px;
    justify-content: space-between;
    z-index: 100;
}

.arrow {
    background: rgb(233 223 212);
    border: none;
    color: #5c3d24;
    font-size: 2.5rem;
    padding: 15px 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.arrow:hover {
    background: #5c3d24;
    color: white;
    transform: scale(1.1);
}

.arrow-left {
    left: 30px;
}

.arrow-right {
    right: 30px;
}

/* Removed floating elements and circles completely */

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    transition: width 0.1s linear;
    z-index: 100;
}
}

@media (max-width: 768px) {
    .hero-section{
        height: 100vh;
        .slide-content h1{
            font-size: 2.5rem;
        }
        .slide-content p{
            font-size: 1rem;
        }
        .arrow{
            display: none;
        }
    }
}
    
.ftcos-section{
         padding: 0px 0 40px 0;
         margin: 0;
         background: #e9dfd4;
    }

    .marquee {
      display: flex;
      width: var(--marquee-width);
      height: var(--marquee-height);
      background: #e9dfd4;
      color: #eee;
      overflow: hidden;
      position: relative;
      align-items: center;
    }
    .marquee:before, .marquee:after {
      position: absolute;
      top: 0;
      height: 100%;
      content: "";
      z-index: 1;
    }
    
    .marquee:before {
      left: 0;
      width: 5rem;  /* Adjust width as necessary */
      /* background: linear-gradient(to right, #fff -15%, transparent 100%); */
    }
    
    .marquee:after {
      right: 0;
      width: 5rem;  /* Adjust width as necessary */
      /* background: linear-gradient(to left, #fff -15%, transparent 100%); */
    }
    
    .marquee-content {
      list-style: none;
      height: 100%;
      display: flex;
      animation: scrolling var(--marquee-animation-duration) linear infinite;
    }
    /* .marquee-content:hover {
      animation-play-state: paused;
    } */
    @keyframes scrolling {
      0% { transform: translateX(0); }
      100% { transform: translateX(calc(-1 * var(--marquee-element-width) * var(--marquee-elements))); }
    }
    .marquee-content li {
      display: flex;
      justify-content: center;
      align-items: center;
      /* text-align: center; */
      flex-shrink: 0;
      width: var(--marquee-element-width);
      max-height: 100%;
      font-size: calc(var(--marquee-height)*3/4); /* 5rem; */
      white-space: nowrap;
    }
    
    .marquee-content li img {
      width: 100%;
    }
    
    /* Auto Slider Styles */
    .slider-container {
      width: 100%;
      overflow: hidden;
      position: relative;
      margin: 20px 0;
      padding: 20px 0;
      background: transparent;
    }
    
    .slider {
      display: flex;
      transition: transform 0.5s ease-in-out;
      will-change: transform;
      height: 100%;
    }
    
    .slide {
      min-width: 100%;
      flex: 1 0 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0 10px;
      box-sizing: border-box;
    }
    
    .slide img {
      width: 100%;
      height: auto;
      max-height: 150px;
      width: auto;
      object-fit: contain;
      transition: transform 0.3s ease;
    }
    
    .slide:hover img {
      transform: scale(1.05);
    }
    
    @media (max-width: 992px) {
      .slide img {
        max-height: 120px;
      }
    }
    
    @media (max-width: 768px) {

      .slide img {
        max-height: 100px;
      }
    }
    
    @media (max-width: 480px) {
      .slider-container {
        padding: 10px 0;
      }
      
      .slide img {
        max-height: 80px;
      }
    }
    
    @media (max-width: 600px) {
      html { font-size: 12px; }
      :root {
        --marquee-width: 100vw;
        --marquee-height: 16vh;
        --marquee-elements-displayed: 3;
      }
      .marquee:before, .marquee:after { width: 5rem; }
    }

          .factory-section {
            background: #e9dfd4;
            padding: 90px 40px;
            .slide-container {
            max-width: 1200px;
            width: 100%;
            /* Updated background to gradient and improved styling */
            background: linear-gradient(135deg, #2c1810, #5d4037);
            border-radius: 20px;
            padding: 60px 40px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
          }
          
          .content-wrapper {
            width: 100%;
          }
          
          .main-heading {
            font-size: 2.2rem;
            font-weight: 400;
            line-height: 1.4;
            /* Changed text color to white for dark background */
            color: white;
            margin-bottom: 60px;
            text-align: left;
            max-width: 100%;
          }
          
          .carousel-container {
            position: relative;
            overflow: hidden;
            border-radius: 15px;
          }
          
          .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
            /* Updated to use flexbox for individual items instead of groups */
            width: auto;
          }
          
          .slide-item {
            flex-shrink: 0;
            /* Responsive width based on screen size */
            width: 25%; /* 4 items on large screens */
            padding: 0 10px;
          }
          
          /* Adding alternating margins to create staggered effect */
          .slide-item:nth-child(odd) {
            margin-top: 30px;
          }
          
          .slide-item:nth-child(even) {
            margin-bottom: 30px;
          }
          
          @media (max-width: 720px) {
            .slide-item:nth-child(odd){
                width: 100%;
            }
          }

          .slide-item.active .image-container {
            transform: scale(1);
            opacity: 1;
          }
          
          .image-container {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            /* Increased height for better proportions in 2x2 layout */
            height: 320px;
            transform: scale(1);
            opacity: 1;
            transition: all 0.3s ease;
          }
          
          .image-container:hover {
            transform: scale(1.02);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
          }
          
          .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
          }
          
          .slide-label {
            position: absolute;
            bottom: 20px;
            left: 20px;
            background: rgba(255, 255, 255, 0.95);
            padding: 12px 20px;
            border-radius: 25px;
            display: flex;
            align-items: center;
            gap: 12px;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          }
          
          .slide-number {
            font-size: 0.9rem;
            font-weight: 600;
            color: #666;
            min-width: 20px;
          }
          
          .slide-title {
            font-size: 0.95rem;
            font-weight: 500;
            color: #2c2c2c;
            white-space: nowrap;
          }
          
          .navigation-controls {
            /* Updated navigation positioning to be below carousel */
            padding-top: 20px;
            padding-left: 10px;
            bottom: 30px;
            left: 30px;
            display: flex;
            gap: 10px;
          }
          
          .nav-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            background: rgba(255, 255, 255, 0.9);
            color: #2c2c2c;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            backdrop-filter: blur(10px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
          }
          
          .nav-btn:hover {
            background: rgba(255, 255, 255, 1);
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
          }
          
          .nav-btn:active {
            transform: translateY(0);
          }
          
          .next-btn {
            background: rgba(0, 0, 0, 0.8);
            color: white;
          }
          
          .next-btn:hover {
            background: rgba(0, 0, 0, 0.9);
          }
          
        }
          /* Responsive Design */
          @media (max-width: 1200px) {
            .slide-item {
              width: 33.333%; /* 3 items per view */
            }
          
          }
          
          @media (max-width: 900px) {
            .slide-item {
              width: 50%; /* 2 items per view */
            }
          
          }
          
          @media (max-width: 600px) {
            .slide-item {
              width: 100%; /* 1 item per view on small screens */
            }
          
            /* Remove alternating margins on mobile for cleaner single-item view */
            .slide-item:nth-child(odd),
            .slide-item:nth-child(even) {
              margin-top: 0;
              margin-bottom: 0;
            }
          }
          
          @media (max-width: 480px) {
            .main-heading {
              font-size: 1.3rem;
            }
          
            .image-container {
              height: 220px;
            }
          
            .slide-label {
              bottom: 15px;
              left: 15px;
              padding: 8px 16px;
            }
          
            .slide-number {
              font-size: 0.8rem;
            }
          
            .slide-title {
              font-size: 0.85rem;
            }
          }


  /* قسم العناوين الرئيسية */
        .special-natural-products-section {
            width: 100%;
            min-height: 90vh;
            margin-bottom: 5rem;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .two-column-layout {
            display: flex;
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            gap: 40px;
            padding: 0 20px;
            align-items: center;
        }
        
        .column {
            flex: 1;
            min-width: 0;
        }
        
        .left-column {
            padding-right: 20px;
        }
        
        .right-column {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .featured-content {
            width: 100%;
            max-width: 500px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        .featured-image {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 10px;
            transition: transform 0.3s ease;
        }
        
        .featured-image:hover {
            transform: scale(1.02);
        }

        @media (max-width: 992px) {
            .two-column-layout {
                flex-direction: column;
                gap: 30px;
                padding: 0 30px;
            }
            
            .left-column, .right-column {
                width: 100%;
                max-width: 600px;
                padding: 0;
            }
            
            .agro-main-title {
                font-size: 2.2rem;
                text-align: center;
            }
            
            .agro-sub-heading {
                text-align: center;
            }
            
            .agro-text-content {
                text-align: center;
            }
            
            .agro-action-btn {
                display: block;
                text-align: center;
                max-width: 200px;
                margin: 0 auto;
            }
        }
        
        @media (max-width: 576px) {
            .agro-main-title {
                font-size: 1.8rem;
            }
            
            .agro-sub-heading {
                font-size: 1.2rem;
            }
            
            .agro-text-content {
                font-size: 1rem;
            }
        }

           .section-title-special {
            font-size: clamp(3rem, 7vw, 8rem);
            font-weight: 900;
            letter-spacing: 0.05em;
            /* Using farming field image as mask instead of gradient */
            background: url(../images/background4.jpg) center / cover;
            background-position-y: 45%;
            text-align: center;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 5rem;
            padding: 0 3rem;
            text-transform: uppercase;
            position: relative;
            z-index: 2;
        }

        /* Decorative lines */
        .section-title-special::before {
            content: "";
            position: absolute;
            top: 50%;
            left: -50px;
            width: 30px;
            height: 2px;
            background: #e76f51;
            transform: translateY(-50%);
        }

        .section-title-special::after {
            content: "";
            position: absolute;
            top: 50%;
            right: -50px;
            width: 30px;
            height: 2px;
            background: #e76f51;
            transform: translateY(-50%);
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .section-title-special,
            .section-title-products {
                font-size: clamp(2.5rem, 18vw, 6rem);
                letter-spacing: 0.02em;
            }

            .section-title-special::before,
            .section-title-special::after {
                display: none;
            }
        }
  


        /* Container for the three columns */
.content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 0 auto;
    padding: 20px;
}

/* Each column styling */
.column {
    flex: 1;
    min-width: 300px;
    padding: 20px;
    box-sizing: border-box;
}

/* Title styling */
.title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.2;
}

/* Subtitle styling */
.subtitle {
    font-size: 1.8rem;
    color: #34495e;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Description text */
.description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Highlighted text */
.highlight-text {
    color: #27ae60;
    font-weight: 600;
}

/* Image container */
.image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image {
    width: 100%;
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* Container for the three columns */
.agro-section-wrapper {
    margin: 0 3rem;
    display: flex;
    flex-wrap: nowrap;
    gap: 70px;
}

/* Each column styling */
.agro-column-item {
    flex: 1;
}

/* Title styling */
.agro-main-title {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: #563d28;
    margin-bottom: 5px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Subtitle styling */
.agro-sub-heading {
    font-size: 1.5rem;
    font-weight: 300;
    color: #34495e;
    margin-bottom: 20px;
}

/* Description text */
.agro-text-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* CTA Button */
.agro-action-btn {
    display: inline-block;
    background-color: #5c3d24;
    color: white;
    padding: 12px 25px;
    width: fit-content;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.agro-action-btn:hover {
    background-color: #219a52;
}

/* Image container */
.agro-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.agro-featured-image {
    width: 100%;
    height: 100%;
    background-image: url(../images/about.webp);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive design for tablets */
@media (max-width: 768px) {
    .agro-section-wrapper {
        flex-direction: column;
    }
    
    .agro-column-item {
        min-width: 100%;
    }
    
    .agro-main-title {
        font-size: 2rem;
    }
    
    .agro-sub-heading {
        font-size: 1.5rem;
    }
}

/* Responsive design for mobile */
@media (max-width: 480px) {
    .agro-section-wrapper {
        gap: 15px;
    }
    
    .agro-column-item {
        padding: 15px;
    }
    
    .agro-main-title {
        font-size: 1.8rem;
    }
    
    .agro-sub-heading {
        font-size: 1.3rem;
    }
    
    .agro-featured-image {
        height: 250px;
    }
}

/* Responsive design for tablets */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    
    .column {
        min-width: 100%;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.5rem;
    }
}

/* Responsive design for mobile */
@media (max-width: 480px) {
    .content {
        padding: 15px;
        gap: 15px;
    }
    
    .column {
        padding: 15px;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .main-image {
        height: 200px;
    }
}

        .grain-sack::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 10px;
            right: 10px;
            height: 80px;
            background: radial-gradient(ellipse, #f5f5f5, #e0e0e0);
            border-radius: 10px;
            box-shadow: inset 0 5px 10px rgba(0,0,0,0.1);
        }

        @keyframes bounce {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-5px); }
        }

        .wheat-stalks {
            position: absolute;
            bottom: 30px;
            left: 40px;
            width: 200px;
            height: 100px;
        }

        .wheat-stalk {
            position: absolute;
            width: 4px;
            background: linear-gradient(to top, #8bc34a, #4caf50);
            border-radius: 2px;
            animation: sway 4s ease-in-out infinite;
        }

        .wheat-stalk:nth-child(1) { left: 0; height: 80px; animation-delay: 0s; }
        .wheat-stalk:nth-child(2) { left: 15px; height: 90px; animation-delay: 0.5s; }
        .wheat-stalk:nth-child(3) { left: 30px; height: 75px; animation-delay: 1s; }
        .wheat-stalk:nth-child(4) { left: 45px; height: 85px; animation-delay: 1.5s; }
        .wheat-stalk:nth-child(5) { left: 60px; height: 95px; animation-delay: 2s; }

        .wheat-stalk::before {
            content: '';
            position: absolute;
            top: -5px;
            left: -3px;
            width: 10px;
            height: 15px;
            background: #ffc107;
            border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        }

        @keyframes sway {
            0%, 100% { transform: rotate(0deg); }
            25% { transform: rotate(2deg); }
            75% { transform: rotate(-2deg); }
        }

        .floating-particles {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(139, 195, 74, 0.6);
            border-radius: 50%;
            animation: floatUp 8s linear infinite;
        }

        .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
        .particle:nth-child(2) { left: 30%; animation-delay: 2s; }
        .particle:nth-child(3) { left: 60%; animation-delay: 4s; }
        .particle:nth-child(4) { left: 80%; animation-delay: 6s; }

        @keyframes floatUp {
            0% {
                opacity: 0;
                transform: translateY(100px) scale(0);
            }
            10% {
                opacity: 1;
                transform: translateY(80px) scale(1);
            }
            90% {
                opacity: 1;
                transform: translateY(-80px) scale(1);
            }
            100% {
                opacity: 0;
                transform: translateY(-100px) scale(0);
            }
        }

        .stats-bar {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 20px 40px;
            border-radius: 15px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            display: flex;
            gap: 30px;
            animation: slideInUp 1s ease-out 1s both;
        }

        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateX(-50%) translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateX(-50%) translateY(0);
            }
        }

        .stat {
            text-align: center;
            color: #5d4037;
        }

        .stat-number {
            font-size: 1.5rem;
            font-weight: bold;
            display: block;
            color: #8bc34a;
        }

        .stat-label {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        @media (max-width: 768px) {
            .container {
                grid-template-columns: 1fr;
                gap: 40px;
                text-align: center;
            }
            
            .title {
                font-size: 2.5rem;
            }
            
            .subtitle {
                font-size: 1.4rem;
            }
            
            .main-image {
                height: 300px;
            }
            
            .stats-bar {
                flex-direction: column;
                gap: 15px;
            }
        }

        .agriculture-section {
            margin: 12rem 3rem;
        }

        @media(max-width: 758px){
            .agriculture-section {
            margin: 0rem 0rem;
        }
        }

        /* Modified grid to include header as first grid item */
        .products-grid {
            display: grid;
            grid-template-columns: 2fr 2fr 2fr 2fr;
            grid-template-rows: 200px 200px 200px;
            gap: 15px;
            height: 615px;
        }

        .drawing-img{
            position: relative;
            width: 100%;
            bottom: 80%;
        }


        /* Header now positioned as grid item */
        .header-card { grid-column: 2 / 4; grid-row: 1 / 3; }
        .millet-card { grid-column: 1; grid-row: 1; }
        .rice-card { grid-column: 1; grid-row: 2; }
        .wheat-card { grid-column: 4; grid-row: 1; }
        .leaf-card { grid-column: 1; grid-row: 3; }
        .heat-card { grid-column: 4; grid-row: 2; }
        .treat-card { grid-column: 4; grid-row: 3; }
        .drawing { grid-column: 2 / 4; grid-row: 3; }

        /* Header styling adapted for grid positioning */
        .header-card {
            padding: 30px;
            display: flex;
            text-align: center;
            flex-direction: column;
            justify-content: center;
            border-radius: 15px;
            align-items: center;
        }

        .agro-main-title {
            font-size: 3.5rem;
            font-weight: 900;
            color: #2c1810;
            letter-spacing: -2px;
            margin-bottom: 10px;
        }

        .agro-sub-heading {
            font-size: 2rem;
            color: #6b4423;
            font-weight: 300;
            margin-bottom: 20px;
        }

        .description {
            color: #5a4037;
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 30px;
        }

        .agro-action-btn {
            background: #5c3d24;
            color: white;
            padding: 12px 30px;
            border: none;
            font-size: 0.9rem;
            font-weight: 600;
            letter-spacing: 1px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            text-decoration: none;
            border-radius: 5px;
            display: inline-block;
            z-index: 10;
        }

        .agro-action-btn:hover {
            background: green;
            color: #fe933b;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
        }

        /* New hover-based animation instead of flip cards */
        .product-card {
            position: relative;
            border-radius: 15px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        .product-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
        }

        .card-inner {
            position: relative;
            width: 100%;
            height: 100%;
        }

        /* First image (always visible) */
        .card-front {
            position: absolute;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: all 0.6s ease;
            z-index: 1;
        }

        /* Second image (appears on hover) */
        .card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transform: scale(1.1);
            transition: all 0.6s ease;
            z-index: 2;
        }

        .product-card:hover .card-front {
            transform: scale(0.95);
            opacity: 0.3;
        }

        .product-card:hover .card-back {
            opacity: 1;
            transform: scale(1);
        }

        /* Overlay for the second image with title */
        .card-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgb(139 69 19 / 23%) 0%, rgb(160 82 45 / 33%) 50%, rgba(205, 133, 63, 0.6) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: all 0.4s ease;
            z-index: 3;
        }

        .product-card:hover .card-overlay {
            opacity: 1;
        }

        .product-title {
            color: white;
            font-size: 1.4rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
            text-align: center;
            padding: 10px;
            transform: translateY(20px);
            transition: transform 0.4s ease 0.2s;
        }

        .product-card:hover .product-title {
            transform: translateY(0);
        }

        /* Add some cool border effects */
        .product-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border: 2px solid transparent;
            border-radius: 15px;
            background: linear-gradient(45deg, #8b4513, #a0522d, #cd853f) border-box;
            -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: destination-out;
            mask-composite: exclude;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 4;
            pointer-events: none;
        }

        .product-card:hover::before {
            opacity: 1;
        }

        /* iPad & Medium Tablets (between 768px and 1023px) */
        @media (max-width: 1024px) {


            
            .products-grid {
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: 200px;
            grid-template-rows: auto;
            gap: 20px;
            height: auto;


            .header-card { grid-column: 1 / 3; grid-row: auto; padding-bottom: 0px 0px 20% 0px; }
            .millet-card { grid-column: 2; grid-row: auto; }
            .rice-card { grid-column: 2; grid-row: auto; }
            .livestock-card { grid-column: 1; grid-row: auto; }
            .sunflower-card { grid-column: 2; grid-row: auto; }
            .wheat-card { grid-column: 1; grid-row: auto; }
            .leaf-card { grid-column: 1; grid-row: auto; }
            .heat-card { grid-column: 1; grid-row: auto; }
            .treat-card { grid-column: 2; grid-row: auto; }
            .drawing { display: none;}
        }
    }

        @media (max-width: 768px) {
            .agro-main-title {
                font-size: 2.5rem;
            }
            
            .agro-sub-heading {
                font-size: 1.5rem;
            }
            
            .header-card { grid-column: 1; grid-row: 1; }
            .millet-card { grid-column: 1; grid-row: 2; }
            .rice-card { grid-column: 1; grid-row: 3; }
            .livestock-card { grid-column: 1; grid-row: 4; }
            .sunflower-card { grid-column: 1; grid-row: 5; }
            .wheat-card { grid-column: 1; grid-row: 6; }
            .leaf-card { grid-column: 1; grid-row: 7; }
            .heat-card { grid-column: 1; grid-row: 8; }
            .treat-card { grid-column: 1; grid-row: 9; }
        }


        .farm-section{
            margin: 12rem 0rem;
        }
        .farm-container{
            margin: 0 3rem;
            display: flex;
            gap:50px
        }
        .content-left{
            width: 83%;
        }




    @media (max-width: 768px) {
    .agro-main-title {
        font-size: 2rem;
    }

    .agro-sub-heading {
        font-size: 1.2rem;
    }

    .products-grid {
        grid-auto-rows: 145px; /* cards keep consistent height */
        gap: 20px;
        padding: 0px 30px;
        height: auto;
    }

    /* Let cards auto-flow instead of forcing rows */
    .header-card,
    .millet-card,
    .rice-card,
    .wheat-card,
    .leaf-card,
    .heat-card,
    .treat-card {
        grid-column: 1;
        grid-row: auto;
    }
    .drawing{
        display: none;
    }

    .farm-container{
    flex-direction: column;
    text-align: center;
    align-items: center;
    
    .card-title{
        font-size: 0.9rem;
    }
    .card-category{
        font-size: 0.8rem;
    }
    }
}


@media (max-width: 480px) {
    .farm-container{
        margin: 0 0rem;
    }
    .agro-section-wrapper{
        margin: 0;
    }
    .agro-main-title { font-size: 2.6rem; }
    .agro-sub-heading { font-size: 1.2rem; }
    .description { font-size: 1.5rem; }
    .agro-action-btn { padding: 10px 20px; font-size: 0.8rem; }
}



                /* Added cream background to section and curved top using pseudo-element */
        .insight-section {
            position: relative;
            min-height: 100vh;
            background: #5c3d24;
            border-radius: 20% 20% 0 0;
            /* transform: scale(1.5); */
            overflow: hidden;
        }

        .insight-container {
            position: relative;
            z-index: 2;
            margin: 0 auto;
            padding: 120px 100px 60px;
        }

        .insight-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
        }

        .insight-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #ffc789;
    letter-spacing: -2px;
    margin-bottom: 10px;
        }

        .insight-description {
    width: 75%;
    color: #e9dfd4;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
        }

        .insight-grid {
            display: grid;
            /* Updated grid to match reference layout with 3 columns and flexible rows */
            grid-template-columns: 2fr 2fr 2fr 2fr;
            grid-template-rows: 200px 200px 200px;
            gap: 20px;
            margin-top: 40px;
        }

        .insight-item {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .insight-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }

        .insight-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .insight-item:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
        }

        .insight-item:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
        }

        .insight-item:nth-child(3) {
    grid-column: 4;
    grid-row: 1;
        }

        .insight-item:nth-child(4) {
    grid-column: 3 / 5;
    grid-row: 2 / 4;
        }

        .insight-item:nth-child(5) {
    grid-column: 1;
    grid-row: 3;
        }

        .insight-item:nth-child(6) {
    grid-column: 2;
    grid-row: 3;
        }

        @media (max-width: 768px) {
            /* Adjusted mobile curve positioning */
            .insight-section {
                border-radius: 50px 40px 0 0;
            }

            .insight-container {
                padding: 80px 20px 40px;
            }

            .insight-title {
                font-size: 36px;
            }

            .insight-grid {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(6, 250px);
                gap: 16px;
            }

            .insight-item:nth-child(1),
            .insight-item:nth-child(2),
            .insight-item:nth-child(3),
            .insight-item:nth-child(4),
            .insight-item:nth-child(5),
            .insight-item:nth-child(6) {
                grid-column: 1;
                grid-row: auto;
            }
        }

        @media (max-width: 480px) {
            .insight-title {
                font-size: 28px;
            }

            .insight-description {
                font-size: 14px;
            }
        }

        /* Default (Desktop) */
        .video-section {
        margin: 12rem 3rem;
        text-align: center;
        }

        .video-wrapper {
        position: relative;
        width: 100%;
        margin: 0 auto;
        aspect-ratio: 16 / 9;
        border-radius: 40px;
        overflow: hidden;
        }

        .video-frame {
        width: 100%;
        height: 100%;
        border: none;
        }

        /* Mobile (Reel style) */
        @media (max-width: 768px) {
        .video-section {
            margin: 12rem 0rem;
            width: 100%;
            height: 100vh;     /* full screen */
            overflow: hidden;
        }

        .video-wrapper {
            position: relative;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 40px; /* remove corners */
        }

        .video-frame {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 140rem;
            height: 100%;
            transform: translate(-50%, -50%);
        }
        }


        .expertice-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        @media (max-width: 480px) {
            .expertice-grid {
                padding: 0px 30px;
            }
        }

        .service-card {
            background: white;
            border-radius: 0;
            overflow: hidden;
            position: relative;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .card-header {
            background-color: #5c3d24;
            border-radius: 10px 10px 0px 0px;
            padding: 20px 10px;
            display: flex;
            text-align: center;
            color: white;
            position: relative;
            flex-direction: column;
            align-items: center;
        }

        .card-icon {
            width: 40px;
            height: 40px;
            fill: white;
            margin-bottom: 10px;
        }

        .card-category {
            font-size: 0.9rem;
            margin-bottom: 5px;
            opacity: 0.9;
        }

        .card-title {
            font-size: 1.2rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .card-image {
            height: 250px;
            border-radius: 0px 0px 10px 10px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
        }

        .read-more-btn {
            color: #ffffff;
            text-decoration: none;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }

        .read-more-btn:hover {
            color: #6d5435;
        }

        /* Animation */
        .service-card {
            opacity: 0;
            background: transparent;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .service-card:nth-child(1) {
            animation-delay: 0.1s;
        }

        .service-card:nth-child(2) {
            animation-delay: 0.2s;
        }

        .service-card:nth-child(3) {
            animation-delay: 0.3s;
        }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


        .faq-section {
            width: 100%;
            margin: 0 auto;
        }

         .faq-container {
            display: flex;
            min-height: 100vh;
            margin: 0 auto;
            background: white;
            box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
        }

        .faq-content {
            flex: 1;
            padding: 80px 60px;
            background: white;
        }

        .faq-image {
            flex: 1;
            min-height: 300px;
            background-image: url('../images/abf/twenty-one.png');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        
        .header {
            margin-bottom: 60px;
        }

        .header h1 {
            font-size: 3rem;
            font-weight: 900;
            color: #1a1a1a;
            margin-bottom: 20px;
            text-transform: uppercase;
            letter-spacing: -1px;
            line-height: 1.1;
        }

        .header p {
            font-size: 1.3rem;
            color: #666;
            font-weight: 300;
            text-transform: uppercase;
            letter-spacing: 3px;
        }

        .faq-list {
            list-style: none;
        }

        .faq-item {
            border-bottom: 1px solid #e0e0e0;
            margin-bottom: 0;
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 30px 0;
            cursor: pointer;
            transition: all 0.3s ease;
            background: none;
            border: none;
            width: 100%;
            text-align: left;
        }

        .faq-question:hover {
            color: #8B4513;
        }

        .faq-question h3 {
            font-size: 1.4rem;
            font-weight: 700;
            color: #1a1a1a;
            text-transform: uppercase;
            letter-spacing: -0.5px;
            transition: color 0.3s ease;
        }

        .faq-question:hover h3 {
            color: #8B4513;
        }

        .faq-icon {
            font-size: 2rem;
            font-weight: 300;
            color: #1a1a1a;
            transition: all 0.3s ease;
            transform: rotate(0deg);
        }

        .faq-item.active .faq-icon {
            transform: rotate(45deg);
            color: #8B4513;
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            opacity: 0;
        }

        .faq-item.active .faq-answer {
            max-height: 300px;
            opacity: 1;
            padding-bottom: 30px;
        }

        .faq-answer p {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #555;
            padding-right: 40px;
        }
        @media (min-width: 1600px) {
            .agro-featured-image{
                height: 50vh;
            }
        }
        /* Responsive Design */
        @media (max-width: 1024px) {
            .faq-container {
                flex-direction: column;
            }
            
            .faq-image {
                height: 300px;
                order: -1;
            }
            
            .faq-content {
                padding: 50px 40px;
            }
        }

        @media (max-width: 768px) {
            .faq-content {
                padding: 40px 20px 0px 20px;
            }
            .header h1 {
                font-size: 2.6rem;
            }
            
            .header p {
                font-size: 1.5rem;
                letter-spacing: 2px;
            }
            
            .faq-question h3 {
                font-weight: 800;
                font-size: 1.3rem;
            }
            
            .faq-answer p {
                font-size: 1.2rem;
                padding-right: 20px;
            }
        }

        /* Animation for FAQ items */
        .faq-item {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 0.6s ease forwards;
        }

        .faq-item:nth-child(1) { animation-delay: 0.1s; }
        .faq-item:nth-child(2) { animation-delay: 0.2s; }
        .faq-item:nth-child(3) { animation-delay: 0.3s; }
        .faq-item:nth-child(4) { animation-delay: 0.4s; }

        @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Hover effect for entire FAQ item */
        .faq-item:hover {
            background: rgba(139, 69, 19, 0.02);
        }


  
