*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --light: #fff;
    --dark: #000;
    --primary: #b50a0a;
    --secondary: #0A2803;

    --heading: #2e7d32;
}

html {
  scroll-behavior: smooth;       /* smooth scroll */
  scroll-padding-top: 80px;      /* adjust to your navbar height */
}

section{
     padding: 70px 0;

}

body{
    font-family: "Times New Roman", Times, serif;
}

  .heading{
    color: var(--secondary);
    font-size: 36px;
    -webkit-text-stroke: 1px rgba(0, 118, 72, 0.4);
    line-height: 1;
    margin-top: 10px;
    font-family: "poppins-bold";
    font-weight: 700;
  }

   /* Navbar */
    .navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--light);
}

.navbar .dropdown-item{
  line-height: 30px;
  text-transform: uppercase;
}

.navbar .dropdown-item:hover{
  background: var(--primary);
  color: #fff;
}
@media (min-width: 992px) {
  .navbar .dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
    .navbar {
      position: absolute;
     
      border-bottom: 1px solid #ffffff31;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 100;
      background: transparent;
    }

    #navbar.scrolled {
  position: fixed;
  background-color: #fff; /* change to your preferred color */
  box-shadow: 0 0 15px rgb(0 0 0 / 20%);
}
#navbar.scrolled .nav-link {
  color: black !important; /* color after scroll, change as needed */
}

#navbar.scrolled .navbar-brand{
  color: black !important;
}

#navbar.scrolled i{
  color: black !important;
}

    .navbar:hover{
      background: rgba(128, 128, 128, 0.192);
    }

    .navbar-brand a{
        width: 30%;
    }
    .navbar-brand{
        display: flex;
        align-items: center;
        width: 40%;
    }
    .navbar-brand h5 {
        color: var(--primary);
        font-size: 25px;
        font-weight: 700;
        margin: 0;
    }
    
    .navbar .nav-link {
     color: #000;
    margin: 0 10px;
    font-weight: 800;
    font-size: 18px;
    }
    .navbar-toggler {
      border: none;
      outline: none;
    }
    .navbar-toggler:focus {
      box-shadow: none;
    }

    /* Offcanvas */
    .offcanvas {
      background: #fff;
      width: 250px;
    }
    .offcanvas .nav-link {
      color: #333;
      font-weight: 600;
      padding: 10px 0;
    }
/* ------------------------------------- */
    /* Hero Section */
    .carousel-item img {
      height: 100vh;
      object-fit: cover;
    }
    .hero-content {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      max-width: 700px;
      padding: 0 15px;
    }
    .hero-content h1 {
      font-size: 2.5rem;
      font-weight: 800;
      text-transform: uppercase;
    }
    .hero-content h2 {
      font-size: 1.6rem;
      margin: 15px 0;
    }

      /* Custom Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  bottom: 20px;              
  top: auto;         
  width: 50px;
  height: 50px;
  background: #fff;         
  border-radius: 50%;      
  opacity: 0.9;
  transition: 0.3s;
}

.carousel-item img{
         animation: slide 24s linear infinite;
    }
    
    @keyframes slide{

0% {
    -webkit-transform: scale(1);
    transform: scale(1);
}
50% {
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
}
100% {
    -webkit-transform: scale(1);
    transform: scale(1);
}
}
    .carousel-item::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3); /* dark overlay */
    }


.carousel-control-prev{
    left: 10%;
}

.carousel-control-next{
    left: 15%;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  transform: scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1); /* Makes default arrow black on white */
}


    .hero-content {
      position: absolute;
      top: 50%;
      left: 10%;
      transform: translateY(-50%);
      z-index: 20;
      color: #fff;
    }
    .hero-content h1 {
      font-size: 3.5rem;
      font-weight: bold;
    }
   .outline {
      /*color: transparent;*/
      /*-webkit-text-stroke: 2px #fff; */
      font-weight: 700;
    }
    .hero-content h2 {
      font-size: 2.5rem;
      font-weight: bold;
      color: var(--light);
    }
    .hero-content p {
      margin: 20px 0;
      font-size: 1.1rem;
    }
    .hero-content .btn-outline-light {
      border-radius: 30px;
      padding: 10px 25px;
      font-weight: 600;
    }
    /* ------------------------------------- */

    /* Floating Icons */
    .contact-icons {
      position: fixed;
    right: 0;
    bottom: 31%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 20;
    }
    .contact-icons img {
      width: 45px;
      height: 45px;
      border-radius: 50% 0 50% 0;
      background: #fff;
      padding: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }

    /* ------------------------------- */

    /* About us Section */

    .about-section {
      position: relative;
    }
    
    .organic:hover{
        transform: rotate(20deg);
    }

    .tomato-icon{
        height: 100px;
        width: 100px;
        position: absolute;
        right: 10%;
        top: 10%;
        animation: slide2 3s linear infinite alternate;
    }

    @keyframes slide2 {
  0%   { transform: translateX(0);
        transform: rotate(20deg);
 }
  100% { transform: translateX(100px); } /* move 100px to the right */
}
   

.farm-about h2{
    color: var(--secondary);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.45455;
}

.about-icon{
    width: 80px;
    height: 80px;
    border-radius: 28px;
    background-color: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-icon img{
    height: 50px;
    width: 50px;
}

.leaf{
    position: absolute;
    right: 10%;
    top: -10%;
    opacity: 0.2;
    width: 12%;
    z-index: 2;
    animation: slide3 3s 
linear infinite alternate;
}

 @keyframes slide3 {
  0%   { transform: translateX(0);
       
 }
  100% { transform: translateX(100px); } /* move 100px to the right */
}

/* product Section Start */

 
    .product-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      margin-bottom: 20px;
    }

    .product-header .text-left {
      max-width: 60%;
    }

    .product-header h5 {
      color: var(--secondary);
      font-weight: bold;
      margin-bottom: 2rem;
    }

    .controls-below {
      display: flex;
      gap: 10px;
      margin-top: 10px;
    }

    .product-card {
      transition: transform 0.3s, box-shadow 0.3s;
     
    }
    
    /*.product-card img{*/
    /*    height: 380px;*/
    /*    width: 500px;*/
       
    /*}*/
    .thumbSwiper img {
            height: 80px;
    width: 80px;
    border: 1px solid red;
        }
        

        .swiper-button-prev,
        .swiper-button-next {
            color: #333;
            scale: 0.5;    /* ðŸ‘ˆ Small size */
        width: 25px;
        height: 25px;
        }
        
    
    .product-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }

   .product-slider .swiper-slide {
      display: flex;
      justify-content: center;
    }

    .round-shape{
      height: 600px;
    width: 600px;
    position: absolute;
    right: -20%;
    top: -22px;
    z-index: 2;
    opacity: 0.1;
    }

    .swiper-slide h5{
      color: var(--secondary);
      font-weight: 700;
    }

    .swiper-slide button{
      background: var(--secondary);
    }

    .Explore a{
      text-decoration: none;
      color: var(--secondary);
    }

    .product-icon{
      height: 50px;
      width: 50px;
      border-radius: 50%;
      background-color: #0A2803;
      display: flex;
      align-items: center;
      justify-content: center;
    }
   
    .product-icon i{
      color: var(--light);
    }
    
    @media (max-width: 768px) {
      .product-header .text-left {
        max-width: 100%;
        margin-bottom: 15px;
      }
    }

    
    /* ---------------------------- */

    .custom-section {
      background-image: url(../images/bg-image.png); 
      background-size: cover;
      padding: 100px 0;
      color: white;
      position: relative;
    }


    /* Content above overlay */
    .custom-section .container {
      position: relative;
      z-index: 2;
    }

    /* Left texts */
    .custom-section .left-text h3 {
      margin-bottom: 20px;
      font-weight: 500;
    }

    /* Right boxes */
    .custom-box {
      background-color: #fff;
      color: #000;
      padding: 30px;
      flex: 1 1 30%;
      text-align: center;
      border-radius: 10px;
      min-width: 120px;
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .custom-box p{
      font-size: 18px;
      text-align: center;
    }

    .custom-box img{
      height: 100px;
      width: 100px;
      margin-bottom: 2rem;
      transition: transform 0.5s ease; /* smooth rotation */
    }

    .custom-box h3{
      text-align: center;
    }

    .custom-box h3 span{
      color: var(--primary);
      text-align: center;
    }
    .custom-box:hover img{
      transform: rotate(360deg);
    }

    .custom-box:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }


/* --------------------------------------- */
    /* Blog section */

    
    .blog-section{
      background: rgba(186, 236, 186, 0.192);
    }
 .blog-card {
      overflow: hidden;
      transition: 0.3s;
      height: 100%;
    }
    .blog-card img {
      width: 100%;
      height: 320px;
      border-radius: 20px !important;
      object-fit: cover;
      border-radius: 20px 20px 0 0;
    }
    .blog-content {
      padding: 15px;
    }
    .blog-category {
      color: var(--secondary);
      font-size: 14px;
      margin-bottom: 5px;
    }
    .blog-title {
      font-size: 18px;
      font-weight: 600;
      color: #222;
      margin-bottom: 10px;
    }
    .blog-link {
      color: var(--secondary);
      font-weight: 500;
      text-decoration: none;
    }
    .date-badge {
      position: absolute;
      top: 60%;
      right: 40px;
      background: var(--secondary);
      color: #fff;
      border: 3px solid #fff;
      border-radius: 50%;
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-direction: column;
      font-weight: bold;
      font-size: 14px;
      line-height: 1.2;
      box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    }

    /* ------------------------------ */

    .footer {
      background: #2e7d32;
    padding: 100px 0 0;
    font-family: Arial, sans-serif;
    color: #fff;
    }
    
    .footer-logo h5{
        font-weight: 700;
        font-size: 20px;
    }
    .footer-brand img{
        width: 60%;
    margin-bottom: 2rem;
    }
    .footer .contact-item-box{
      height: 50px;
      background: var(--secondary);
      width: 50px;
      border-radius: 50%;
      margin-right: 10px;
      padding: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    /*.footer .contact-item p{*/
    /*  margin-top: 10px;*/
    /*}*/

    .footer .contact-item-box i{
      color: var(--light);
      font-size: 20px;
    }
    .footer .form-control {
      border-radius: 30px 0 0 30px;
    }
    .footer .btn-subscribe {
      border-radius: 0 30px 30px 0;
      background: var(--secondary);
      color: #fff;
    }

    .footer .footer-tomato{
      position: absolute;
    left: 20%;
    top: -100px;
    height: 150px;
    width: 150px;
    opacity: 0.1;
    }

    .footer .tomato-tree{
      position: absolute;
      width: 14%;
    opacity: 0.1;
    right: 0;
    bottom: 20%;
    }

    .footer .fw-bold{
      color: var(--light);
      margin-bottom: 1rem;
    }
    .footer ul {
      list-style: none;
      padding: 0;
    }
    .footer ul li {
      margin: 16px 0;
    }
    .footer ul li:hover{
        color: #fff;
    }
    .footer ul li a {
      text-decoration: none;
      color: #fff;
    }
    .footer ul li a:hover {
      color: #fff;
    }
    .footer .social-icons a {
      font-size: 18px;
      margin-right: 15px;
      color: #fff;
    }
    
    .footer .social-icons a:hover {
      color: #fff;
    }
    .footer-bottom p{
        margin: 10px 0 !important;
    }
    .footer .contact-item {
      display: flex;
        align-items: flex-start;
      margin-bottom: 15px;
    }
    
    .footer-bottom {
      background: #1b421d;
    color: #fff;
    margin-top: 2rem;
    padding: 10px 0;
    text-align: center;
    border-radius: 20px 20px 0 0;
    }
    .footer-bottom img {
      height: 25px;
      margin-left: 10px;
    }
    .contact-details a{
        color: #fff;
        text-decoration: none;
    }
    
    .details-box{
        margin: 10px 0 10px 15px;
    }
    
    /*Contact Section*/
    
     .contact-section {
            
            background: #f7f7f7;
        }

        .contact-box {
            background: #ffffff;
            padding: 25px;
            border-radius: 10px;
            border: 1px solid #e3e3e3;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
            margin-bottom: 20px;
        }

        .contact-box h4 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 15px;
        }

        .contact-info p{
            font-size: 15px;
            line-height: 1.6;
            color: #333 !important;
        }
        .contact-box a {
             font-size: 15px;
            line-height: 1.6;
            color: #333 !important;
            text-decoration: none;
        }
        .contact-form .form-control,
        .contact-form .form-select {
            border-radius: 5px;
            padding: 10px;
        }

    /* Product Page css */
    .breadcrumb{
      min-height: 500px;
      background: url(https://img.povar.ru/uploads/f7/55/11/e2/97802b46617de77c507241b49844f383.jpg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      position: relative;
      margin: 0;
    }

    .breadcrumb::after{
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(13, 14, 13, 0.678); /* dark overlay */
    }

    .breadcrumb-contain{
      position: absolute;
      top: 50%;
      z-index: 1;
    }

    .breadcrumb-contain h1{
      font-size: 65px;
      color: #fff;
      font-weight: 700;
    }

    .breadcrumb-contain ul li{
      list-style-type: none;
      color: #fff;
      display: inline;
    }

    .breadcrumb-contain ul{
      padding-left: 0 !important;
    }

    .product-heading{
      font-size: 50px;
      font-weight: 700;
      color: var(--heading);
    }

    .product-outline{
       color: transparent;
      -webkit-text-stroke: 1px var(--heading); /* outline effect */
      font-weight: 600;
      font-size: 30px;
    }

    .product-thumbnails img{
      height: 100px;
      width: 100px;
      border: 1px solid red;
    }

    .product-section{
      margin: 2rem 0;
    }
    .product-main,
.thumbSwiper {
  width: 600px;              /* ✅ same fixed width */
  max-width: 100%;           /* responsive for smaller screens */
  box-sizing: border-box;
  margin: 0;
}

     .product-section .product-main img{
      border: 1px solid rgba(128, 128, 128, 0.377);
       width: 100%;
    }

    .product-details ul li span{
      color: var(--heading);
    }

    .product-details ul li{
      line-height: 30px;
      display: flex;
      gap: 0.4rem;
      flex-wrap: wrap;
    }

    .number a{
      color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    }

    .con-btn a{
      background: var(--heading);
      color: #fff;
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 20px;
    }
    
    .con-btn{
      margin-top: 2rem;
    }

   .product-inquire .form-control {
      border-radius: 5px;
      box-shadow: none;
      padding: 1rem;
    }

    .btn-submit {
      background-color: #047c35;
      color: #fff;
      font-weight: bold;
      border-radius: 50px;
      padding: 12px;
      width: 100%;
      transition: 0.3s ease;
    }
     .btn-submit:hover {
      background-color: #035d29;
      color: #fff;
    }

    .product-inquire{
      background: rgba(182, 179, 179, 0.274);
    }
.nutritional-table {
      width: 100%;
      border-collapse: collapse;
      background: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      border-radius: 8px;
      overflow: scroll;
    }
    
    .nutritional-table thead th{
       background: var(--primary);
    color: #fff;
    }

    .nutritional-table th {
      
    border: 1px solid #ddd;
      text-align: center;
      font-size: 20px;
      padding: 12px;
      letter-spacing: 0.5px;
    }

    .nutritional-table td {
      padding: 12px 10px;
      text-align: center;
      border: 1px solid #ddd;
      font-size: 16px;
    }

    .nutritional-table tr:nth-child(even) td {
      background-color: #fafafa;
    }

    @media (max-width: 768px) {
      .nutritional-table td {
        font-size: 14px;
        padding: 10px 6px;
      }
    }
    
    /*production*/
    
    .production video{
        max-width: 100%;
        height: auto;
        border-radius: 20px;
        margin-top: 2rem;
    }
    
    /*Gallery*/
    
    .gallery-section {
  padding: 20px 0;
  background: #fff;
}

.gallery-section .swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.4s ease;
}

.gallery-section .nav-buttons {
  text-align: center;
  margin-top: 15px;
}

.gallery-section .nav-buttons button {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 6px 20px;
  margin: 0 5px;
  transition: .3s;
}

.gallery-section .nav-buttons button:hover {
  background: var(--primary);
  color: #fff;
}

/* FIX: prevents conflict between Swiper dragging & LightGallery click */
.swiper-slide {
  cursor: pointer;
}

    /* responsive */
    @media (max-width:1200px) {
      .carousel-item img {
        height: 90vh;
      }

      .carousel-control-prev, .carousel-control-next {
          bottom: 20%;
      }

      .tomato-icon ,.leaf{
        right: 15%;
      }
  }

  @media (max-width: 1024px) {
    .tomato-icon {
      top: 0;
    }

    .footer .form-control{
      width: 75%;
    }
  }
    
  @media (max-width: 991px) {
    .carousel-item img {
        height: 90vh;
    }

    .product-heading {
    font-size: 35px;
    }

    .carousel-control-prev, .carousel-control-next {
        bottom: 10%;
    }
    .carousel-control-next {
        left: 20%;
    }
    .tomato-icon {
        top: 10%;
    }
    .footer .social-icons a{
      margin-right: 12px;
    }
    .footer .social-icons{
      margin-bottom: 2rem;
    }
  }

  @media (max-width: 768px) {
    .footer .tomato-tree {
    position: absolute;
    width: 45%;
    opacity: 0.1;
    right: 11px;
    bottom: 12%;
}
  }

  @media (max-width: 667px) {
    .footer .fw-bold{
      margin-top: 20px;
      font-size: 25px;
    }

    .footer .social-icons {
        margin-bottom: 0;
    }

    .leaf {
      width: 20%;
    }
   
  }

  @media (max-width: 479px) {
    .custom-box{
      flex: 1 1 35%;
    }

    .carousel-control-next {
        left: 30%;
    }

    .tomato-icon, .leaf {
        right: 35%;
    }

    .hero-content{
      left: 5%;
    }

    .hero-content h1 {
      font-size: 2.5rem;
    }

    .navbar-brand{
      font-size: 16px;
    }
    
  }

  @media (max-width: 414px) {
    

    .carousel-item img {
        height: 90vh;
    }

    .navbar-brand{
      font-size: 15px;
    }

    .organic{
      height: 100px;
      width: 100px;
    }

    .tomato-icon {
      height: 60px;
      width: 60px;
      top: 5%;
    }

    .contact-icons {
      right: 10px;
    }

    .heading{
      font-size: 25px;
    }

    section{
      padding: 30px 0;
    }
  }

  @media (max-width: 375px) {
    .navbar-brand{
      font-size: 12px;
    }
  }


