﻿
.josefin-sans-<uniquifier> {
  font-family: "Josefin Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}


  .carousel-item{
        margin-right: 24px ;
  margin-left: -15px;
        }
        .card-body{
            box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18) !important;
            width: 310px!important;
            border-radius:10px;
            position:relative;
  margin: -96px -40px 0 40px;
  padding: 30px 30px 34px;
  display: block;
  box-shadow: 0 1px 24px rgba(0,0,0,.05);
  background: url(//demo2.themelexus.com/agrile/wp-content/themes/agrile/assets/css/base/../../images/base/background-single-post.png) no-repeat bottom right #fff;
    background-position-x: right;
    background-position-y: bottom;
  background-position: 219px 55px;
        }
        .img-wrapper img {
            width: 100%;
            object-fit: cover;
            aspect-ratio: .724137931;
            height: 300px ;
            border-radius: 10px;
            border-radius: 10px;
        }
        section{
            overflow:hidden;
        }
          .card{
   box-shadow:none !important;

          } 
              .content-width{
              max-width:1240px;
              }
          .inner-content{
          float: left;
              width: 50%;
               box-sizing:
              border-box;
              padding: 10px;
          }
              .inner-content h5{
              font-size:18px;
              letter-spacing:normal;
              }
              .backer{
              background-color: #fff;
        
        box-shadow: 0px 1px 18px 0px rgba(0,0,0,.1);
      padding:10px;
          border-radius:50%;
      }
             .action{
          background-color:#107634;
          padding:10px 20px;
          border-radius:50px;
          color:white;
          font-size:15px;
          font-weight:700;
           -ms-transition: all .5s ease;
    -o-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    transition: all .5s ease;

          }
        .action img{
          filter: brightness(0) invert(1);
        }
         .action:hover{
        background-color:#800000;
        }
         .action:hover img{
          /*filter: brightness(0) invert(0);*/
        }

         .testimonial-slider {
    
  padding: 2em 2em 3em;
}
.testimonial-title {
  color: #fff;
}
.testimonial-title h2 {
  padding-left: 0.2em;
}
.card {
  margin: 0 0.5em;
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
  border: none;
  height: 100%;
}
.carousel-control-prev,
.carousel-control-next {
  background-color: #fff;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  top: 60%;
  transform: translateY(-50%);
}

@media (min-width: 576px) {
  .carousel-item {
    margin-right: 0;
    flex: 0 0 50%;
    display: block;
  }
  .carousel-inner {
    display: flex;
  }
}
@media (min-width: 768px) {
  .carousel-inner {
    padding: 1em;
  }
  .carousel-control-prev,
  .carousel-control-next {
    opacity: 1;
    position: absolute;
    left: 1em;
    top: 80%;
    transform: translateY(-50%);
  }
  .carousel-control-next {
    left: 5em;
  }
}
.img-wrapper{
  height:360px;
}
.img-wrapper a{
    height:100%;
}
.img-wrapper img{
    width: 100%;
  object-fit: cover;
      aspect-ratio: .724137931;
        height:100%;sss 
}
.img-inner {
    padding-right: 40px;
}
   
.service-button {
    
  background-color: #107634;
  border-radius: 100px;
  white-space: nowrap;
  padding: 13px 25px;
  border: none;
  color: #fff;

  transform: rotate(270deg) !important;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  text-transform: capitalize;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -webkit-transition: all .5s ease;
  transition: all .5s ease;
  position: absolute;
  top: 0px;
  right: 43PX;
  border-radius: 30px 0 0 30px;
  padding: 0;
  box-shadow: 0 1px 24px rgba(0,0,0,.05);
  z-index: 3;
}
.service-button a {
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 54px;
  height: 54px;
  justify-content: center;
}
.back-bger {
    position: relative;
    margin-top: 0; /* Remove any unintended margins */
/* Adjust padding to accommodate the image height */
}

.back-bger1 {
  
    position: relative;
    z-index: 1; /* Ensure the content stays above the ::before element */
}
.back-bger1::before {
      content: "";
      background-color:#F8C32C;
     position: absolute;
   top: 0px;
  left: 0;
  width: 100%;
  height: 300px;
}
.back-bger::before {
    content: "";
    background: url('assset/imges/top.png') no-repeat center top;
    background-size: 100%;
    position: absolute;
   top: 35px;
  left: 0;
  width: 100%;
  height: 37px; /* Set the height to match the image's intended size */
   ; /* Ensure it stays behind the content */
}

.upper-contnet {
  position: absolute;
  bottom: -32px;
  width: 240px;
  background: white;
    background-color: white;
  left: 12px;
  border-radius: 10px;
  overflow-x: hidden;
  box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.5);
  background-color: #ffffff;
  transition: all 600ms ease;
  -moz-transition: all 600ms ease;
  -webkit-transition: all 600ms ease;
  -ms-transition: all 600ms ease;
  -o-transition: all 600ms ease;
  padding: 15px 0px 4px;
}
.overlay-box {
  position: absolute;
  left: 20px;
  top: 20px;
  right: 20px;
  bottom: 20px;
  text-align: center;
  color: #ffffff;
  border: 1px solid #1dacf4;
  transition: all 900ms ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
    transition-delay: 0s, 0s;
  transition-delay: 0s, 0s;
  -webkit-transform: scale(0, 1);
  -ms-transform: scale(0, 1);
  transform: scale(0, 1);
  -webkit-transform-origin: right center;
  -ms-transform-origin: right center;
  transform-origin: right center;
  background-color: rgba(255,255,255,0.65);
  color: black;
  align-content: center;
}
.overlay-box {
  text-align: center;
  color: #ffffff;
  color: black;
}
.cal-bg{
background-image: url('../imges/h1-banner5.jpg');
background-size:cover;
background-repeat:no-repeat;
width:100%;
height:100%;

color:white;
text-align:center;
}
.cal-bg p{
    color:white;
}
.cal-bg h1{
    font-weight: 700;
  line-height: 68px;
    font-size:68px !important;
}
.position-ablute{
    position:absolute !important;
    bottom:0;
    left:-5px
}
.position-ablute img{
    width:500px;
}
.evet h1{
    text-wrap: balance;
    color: #0d401c;
}
.chnage-event {
  bottom: 10px;
  padding: 25px;
  transition: 0.5s;
  color: white;
  position: absolute;
}
.chnage-event {
  bottom: 0px;
}
.highlets {
  transition: 0.5s;


}
.chnage-event h5 {
  transition: 0.5s;
}
.chnage-event p {
  color: #ffffff;
  margin: 0 0 0 0;
  transition: 0.5s;
  position: absolute;
  opacity: 0;
  bottom: 0;
}
.p-absolute {
  position: absolute;
}
p-relative {
  position: relative;
}
.ehovr:hover .highlets {
  transform: translateY(-120px);
  position: absolute;
}
.ehovr:hover h5 {
  transform: translateY(-80px);
}
.ehovr:hover p {
  opacity: 1;
  transform: translateY(-20px);
}
.rounded-2{
    border-radius:20px !important;
}
.new-acion{
   
 
  
  z-index:999;

}
.coolect{
    background:white;
    padding:10px;
     position: absolute;
  bottom: 0;
  right: 0;
  overflow: hidden;
  border-radius:20px 0px 0px 0px;
}
.coolect .action{
    padding: 10px 10px !important;
}
.rounded-2{
    height: 347px;
}
 /*.ehovr img {
    -webkit-mask: radial-gradient(circle, #000 50%, #0000 51%);
    mask: radial-gradient(circle, #000 50%, #0000 51%);
}*/
 .ehovr::before{
     position: absolute;
  content: "";
  width: 100%;
  height: 50%;
  bottom: 0;
  left: 0;
  background: linear-gradient(360deg,#0a170b 0%,rgba(23,21,10,0) 100%);
  border-radius:20px;
 }
 .bdere{
     width:120px;height:80px;
     border-radius:50%;
     background:#107634;
     align-content:center;
     text-align:center;
     margin-right:20px;
 }
  .bottom-li{
      list-style:none;
   

  }
 .bottom-li li{
     list-style:none;
     position: relative;
  padding-left: 40px; /* Add space for the background image */
  margin-bottom: 10px; /* Add spacing between list items */
  background-image: url('../imges/check.png'); /* Replace with your image path */
  background-size: 30px 30px; /* Adjust size of the background image */
  background-repeat: no-repeat; /* Prevent image repetition */
  background-position: left center; /* Position the image on the left */
 /* Adjust font size */
  line-height: 1.5; /* Adjust line height */
  color: #333;
  margin-left:70px;
  font-weight:800;
 }
 .suit{
     left:30px;
 }
.suiter {
  background: #5dab63;
  padding: 5px;
  height: 100%;

  width: 155px;
  border-radius: 10px;
  gap: 10px;
  position: relative;
  justify-content: center;
}
 .sticky .navlink .navlink-inner a{
     color:white ;
 }
  .sticky .dropdown-inner a{
     color:black !important;
 }
 .resudes{
  background: #107634;
 }
    .testimonial {
            background-color: #f8f9fa;
            padding: 50px 20px;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .testimonial img {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            margin-bottom: 15px;
        }
        .carousel-indicators [data-bs-target] {
            background-color: #007bff;
        }
           .swiper1 {
            width: 100%;
            height: 90vh;
            text-align:left;    
        }
         .swiper1  .swiper-slide {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            background-size: cover;
            background-position: center;
            text-align:left;
            padding-top:80px;
        }
        .swiper1::after{
           
            background-size: 100%;
  width: 100%;
  /*height: 20px;*/
  content: "";
  background-repeat: no-repeat;
  background-position: 90px;
  position: absolute;
  left: 0px;
  /*top: 189px;*/
  z-index: 2;
    
  /*-webkit-mask-image: url('../imges/shape-layer1.png');
  mask-image: url('../imges/shape-layer1.png');*/
  -webkit-mask-repeat: repeat-x;
  -ms-mask-repeat: repeat-x;
  -o-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  height: 30px;
  background-color: white;
  opacity: 1; /* Adjust opacity for intensity */
}
        .sticky::before .names {
           
            

    background-color: none!important; /* Green color overlay */
    opacity: 0!important; /* Adjust opacity for intensity */
}
         .swiper1::before{
           
             background-size:100%;
             width:100%;
             height:28px;
             content:"";
             background-repeat:no-repeat;
         background-position: 90px;
             position:absolute;
             left:0px;
             bottom:8px;
             z-index:2;
                 /*filter: brightness(0.7); /* Adjust brightness for effect */

    -webkit-mask-image: url('../imges/top.png');
    mask-image: url('../imges/top.png');
    -webkit-mask-repeat: repeat-x;
    -ms-mask-repeat: repeat-x;
    -o-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
    height: 30px;
    background-color: white; /* Green color overlay */
    opacity: 1; /* Adjust opacity for intensity */
}


        .swiper1  .swiper-slide .content {
            text-align: center;
            color: white;
            animation: fadeInUp 1.5s ease-out;
        }
          @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
           .swiper1 h2{
               font-size:37px;
               font-weight:750;
               text-shadow: 2px 2px 5px darkgreen;
           }
 @media screen and (min-device-width: 1100px) and (max-device-width: 1290px) {

     .carousel-item {
  margin-right: 20px !important;
  margin-left: -18px;
}
 }
 @media screen and (min-device-width: 1300px) and (max-device-width: 1500px) {

     .carousel-item {
  margin-right: 21px !important;
  margin-left: -18px;
}
 }
  .snow{
           font-family: "Kaushan Script", cursive;
            font-size:16px;
            position:relative;
          padding-left:30px;

        }
        .snow::before{
            content:"";
            position:absolute;
            top:10px;
            left:-30px;
            background:url('../imges/smle.png');
            width:100%;
            height:100%;
            background-size:50px;
            background-repeat:no-repeat;

        }
           .REMINDS .snow{
               left:43%;
           }
.breadcrumb-bg {
    background: url('../../pics/c1.png');
    width: 100%;
    height: 320px;
    background-position: bottom;
    background-size: 100%;
    align-content: center;
    position: relative;
    overflow: hidden;
}
      .breadcrumb-bg::after {
  background-size: 100%;
  width: 100%;
  height: 28px;
  content: "";
  background-repeat: no-repeat;
  background-position: 90px;
  position: absolute;
  left: 0px;
  bottom: -10px;
  z-index: 2;

  -webkit-mask-image: url('../imges/top.png');
  mask-image: url('../imges/top.png');
  -webkit-mask-repeat: repeat-x;
  -ms-mask-repeat: repeat-x;
  -o-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  height: 30px;
  background-color: white;
  opacity: 1;
}
      
       @media (max-width:768px){
           .inner-content {
  float: none;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
}
           section{
               overflow:hidden!important;
           }
           .REMINDS .snow {
  left: 24%;
}
           h1{
               font-size:35px;
           }
.rounded-2 {

  object-fit: none;
}
           .card-body {
  box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18) !important;
  width: 255px !important;
  border-radius: 10px;
  position: relative;
  margin: -124px 41px 10px 12px;
  padding: 30px 30px 34px;
  display: block;
  box-shadow: 0 1px 24px rgba(0,0,0,.05);
  background: url(//demo2.themelexus.com/agrile/wp-content/themes/agrile/assets/css/base/../../images/base/background-single-post.png) no-repeat bottom right #fff;
    background-position-x: right;
    background-position-y: bottom;
  background-position-x: right;
  background-position-y: bottom;
  background-position: 219px 55px;
}
           .carousel-item {
  margin-right: 0px;
  margin-left: 0px;
}
           .img-inner {
  padding-right: 20px;
}
           .cal-bg h1 {
  font-weight: 700;
  line-height: 48px;
  font-size: 36px !important;
}
           .position-ablute img {
  width: 260px;
}
           .position-ablute {
  position: absolute !important;
  bottom: 0;
  left: -58px;
}
           .bdere {
 
  height: 73px;
  border-radius: 50%;
  background: #107634;
  align-content: center;
  text-align: center;
  margin-right: 20px;
  padding: 12px;
}
           .bottom-li li{
               margin-left: 0px;
           }
           .bottom-li{
               padding-left:10px !important;
           }
            .position-ablute1 {
    position: absolute !important;
    bottom: -227px;
    left: 10px;
    margin-bottom:150px;
  }
.testimonial-slider {
  padding: 0px;
}
        footer {
            background: url('../../pics/f6.png');
            background-color: #107634 !important;
            background-position-x: 0%;
            background-position-y: 0%;
            background-size: auto;
            width: 100%;
            height: 100%;
            position: relative;
            z-index: 1;
            background-size: cover;
            background-position: center;
        }
.swiper1::before {
  background-size: 100%;
  width: 100%;
  height: 28px;
  content: "";
  background-repeat: no-repeat;
  background-position: 90px;
  position: absolute;
  left: 0px;
  bottom: -71px;
  z-index: 2;

  -webkit-mask-image: url('../imges/top.png');
  mask-image: url('../imges/top.png');
  -webkit-mask-repeat: repeat-x;
  -ms-mask-repeat: repeat-x;
  -o-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  height: 30px;
  background-color: white;
  opacity: 1;
}
.mains {
  border: 1px dashed white;
  margin: 0px 20px;
  padding: 30px 5px;
  border-radius: 20px;
}
       }
       @media (max-width:768px){
.mains {
  border: 1px dashed white;
  margin:0px !important;
  padding: 30px 5px!important;
  border-radius: 20px;
}
       }



/*New Css*/

.counter-number{
    color: #800000;
    font-size: 20px;
}

.counter-section {
  padding: 20px 20px;
}

.counter-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.counter-box {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0px 4px 12px rgba(126, 31, 24, 0.32);
  flex: 1 1 250px;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-box:hover {
  transform: translateY(-6px);
  box-shadow: 0px 6px 16px rgba(13, 64, 28, 0.25);
}

.counter-box .counter {
  font-size: 32px;
  font-weight: 800;
  color: #1e88e5;
  margin: 0;
}

.counter-box .label {
  font-size: 16px;
  color: #555;
  margin-top: 8px;
}




.zigzag-about-section {
  background: #90ee903d;
  padding: 100px 0;
}

.zigzag-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.zigzag-img:hover {
  transform: scale(1.03);
}

.zigzag-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: #800000;
  margin-bottom: 15px;
}

.zigzag-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

@media(max-width: 991px) {
  .flex-lg-row-reverse {
    flex-direction: column !important;
  }
  .zigzag-about-section .row {
    margin-bottom: 40px;
  }
}

/* Section styling */
#manufacturing-services {
  padding: 50px 20px;
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 26px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

/* Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card */
.service-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(13, 64, 28, 0.56);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(13, 64, 28, 0.30);
}

.service-card .icon {
  font-size: 36px;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #800000;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}


.testimonials {
  background: #e4fbe4;
  padding: 50px 20px;
  border-radius: 12px;
  text-align: center;
  max-width: 800px;
  margin: 50px auto;
  position: relative;
}

.t-header h2 {
  font-size: 29px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #0d401c;
  position: relative;
}

.t-slider {
  position: relative;
  min-height: 160px;
  text-align: center;
  align-content: center;
}

.t-slide {
  display: none;
  animation: fadeIn 0.6s ease-in-out;
}

.t-slide.active {
  display: block;
}

.t-quote {
  font-size: 22px;
  font-style: italic;
  color: #444;
  margin-bottom: 12px;
}

.t-author {
  font-size: 16px;
  font-weight: 600;
  color: #800000;
}

.t-controls {
  margin-top: 20px;
}

.t-controls button {
    width: 50px;
  height: 50px;
  background: #0D401C;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 8px 14px;
  border-radius: 50%;
  margin: 0 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.t-controls button:hover {
  background: #800000;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(15px);}
  to {opacity: 1; transform: translateY(0);}
}

.video-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.video-play-btn {
    font-size: 40px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.video-play-btn:hover {
    background: rgba(0,0,0,0.8);
}


/* Mobile View Fix */
@media (max-width: 576px) {
  .counter-section .row {
    justify-content: center !important;
  }
  .counter-box {
    margin: 10px auto;
    max-width: 280px;
  }
}


/* Responsive CSS */
@media (max-width: 991px) {
  .testimonials .t-header h2 {
    font-size: 2rem;
  }

  .t-quote {
    font-size: 1.1rem;
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .testimonials {
    padding: 60px 15px;
  }

  .testimonials .t-header h2 {
    font-size: 1.7rem;
  }

  .t-quote {
    font-size: 1rem;
    max-width: 100%;
  }

  .t-controls button {
    padding: 8px 15px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .testimonials .t-header h2 {
    font-size: 1.5rem;
  }

  .t-quote {
    font-size: 0.95rem;
  }

  .t-controls button {
    padding: 6px 12px;
    font-size: 1rem;
  }
}

/* Mobile layout: image on top, quotes at bottom */
@media (max-width: 767px) {
  /* Stack header and slider vertically */
  .testimonials {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Make the header (image + h2) stack as image first */
  .testimonials .t-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    order: 0; /* keep header first */
  }

  /* Image comes on top of heading */
  .testimonials .t-header img {
    order: -1; /* image appears first */
    width: 80%;
    max-width: 300px;
    margin-bottom: 15px;
  }

  /* Heading below image */
  .testimonials .t-header h2 {
    order: 0;
    font-size: 1.7rem;
    margin-bottom: 10px;
  }

  /* Slides go after header */
  .t-slider {
    order: 1; /* move slides after header */
    width: 100%;
    margin-top: 20px;
    text-align: center;
  }

  .t-slide {
    padding: 0 15px;
  }

  .t-quote {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .t-author {
    font-size: 0.95rem;
  }

  /* Controls centered */
  .t-controls {
    justify-content: center;
    margin-top: 15px;
  }

  .t-controls button {
    padding: 6px 12px;
    font-size: 1rem;
  }
}


