/********** Template CSS **********/
:root {
    --primary: #265dad;
    --secondary: #265dad;
    --light: #F7F7F7;
    --dark: #404A3D;
}
/* Thin scrollbar with color #2f559d */
::-webkit-scrollbar {
    width: 6px;   /* Width for vertical scrollbars */
    height: 6px;  /* Height for horizontal scrollbars */
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: #2f559d;  /* Color of the scrollbar thumb */
    border-radius: 4px;         /* Rounded corners */
  }
  
  ::-webkit-scrollbar-track {
    background-color: #f0f0f0;  /* Color of the track (the area behind the thumb) */
  }
  
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 500 !important;
}

.btn-primary {
    color: #000;
    background-color:#2f559d;
    border-color: #2f559d;
}
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
@media(max-width:768px){
.logotext{
font-size:20px;
}
}
/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}
@media (max-width: 1200px) and (min-width: 991px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 15px;
        padding: 25px 0;
        color: var(--dark);
        font-size: 16px;
        font-weight: 500;
        outline: none;
    }
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: url(../img/bannerbread.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-weight: 600;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 5px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 6px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** About ***/
.about-experience {
    position: absolute;
    width: 100%;
    height: 100%;
    right: -45px;
    bottom: -45px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


/*** Service ***/
.service-item {
    position: relative;
    border-radius: 8px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 8px;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    border-radius: 10px;
}

.service-item .service-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
    border-radius: 10px;
    z-index: 1;
}

.service-item .service-img::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s ease-out;
    z-index: 2;
}

.service-item:hover .service-img::after {
    width: 0;
    left: auto;
    right: 0;
}

.service-item .service-text .service-icon {
    width: 140px;
    height: 140px;
    padding: 15px;
    margin-top: -70px;
    margin-bottom: 40px;
    background: #FFFFFF;
    border-radius: 140px;
    overflow: hidden;
    box-shadow: 0 0 60px rgba(0, 0, 0, .1);
}

.service-item .service-text h5,
.service-item .service-text p {
    transition: .5s;
}

.service-item:hover .service-text h5,
.service-item:hover .service-text p {
    color: #FFFFFF;
}

.service-item .service-text .btn {
    color: #265dad;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .25);
}

.service-item .service-text .btn:hover {
    color: var(--dark);
    background: #265dad;
}


/*** Product ***/
.product-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.product-item .product-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.product-item:hover .product-overlay {
    opacity: 1;
    padding-top: 0;
}



/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
    background-color: var(--surface-color);
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
   
  }
  
  .team .team-member .member-img {
    position: relative;
    overflow: hidden;
    height: 400px;
    object-fit: cover;
    
  }
  .team .team-member .member-img img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    
  }
  @media(max-width:768px){
    .team .team-member .member-img {
        position: relative;
        overflow: hidden;
        height: 600px;
        object-fit: cover;
        
      }
      .team .team-member .member-img img{
        width: 100%;
        height: 600px;
        object-fit: cover;
        
      }
  }
  
  @media(max-width:450px){
    .team .team-member .member-img {
        position: relative;
        overflow: hidden;
        height: 480px;
        object-fit: cover;
        
      }
      .team .team-member .member-img img{
        width: 100%;
        height: 480px;
        object-fit: cover;
        
      }
  }
  
  
  .team .team-member .social {
    position: absolute;
    left: 0;
    bottom: 30px;
    right: 0;
    opacity: 0;
    transition: ease-in-out 0.3s;
    text-align: center;
  }
  
  .team .team-member .social a {
    background: color-mix(in srgb, var(--contrast-color), transparent 25%);
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin: 0 3px;
    border-radius: 4px;
    width: 36px;
    height: 36px;
    transition: ease-in-out 0.3s;
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }
  
  .team .team-member .social a:hover {
    color: var(--contrast-color);
    background: var(--accent-color);
  }
  
  .team .team-member .social i {
    font-size: 18px;
    line-height: 0;
  }
  
  .team .team-member .member-info {
    padding: 25px 15px;
  }
  
  .team .team-member .member-info h4 {
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 18px;
  }
  
  .team .team-member .member-info span {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
  }
  
  .team .team-member:hover .social {
    opacity: 1;
    bottom: 15px;
  }
  

/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
}

.testimonial-img::after {
    position: absolute;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 200px;
    color: #EEEEEE;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.testimonial-img img {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-img img:nth-child(1) {
    top: 0;
    left: 0;
}

.testimonial-img img:nth-child(2) {
    top: 60%;
    left: 20%;
}

.testimonial-img img:nth-child(3) {
    top: 20%;
    left: 60%;
}

.testimonial-img img:nth-child(4) {
    bottom: 0;
    right: 0;
}

.testimonial-img img .animated.pulse {
    animation-duration: 2s;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #265dad;
    border-radius: 45px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: #265dad;
    color: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}
.cta{
    background-image: url(../img/icon-bg-img.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 40px;
    padding-bottom: 40px;
    border-radius: 30px 30px 30px 30px;

}
.cta::before{
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    content: "";
    display: block;
    z-index: 1;
   
}
.background-overlay1{
    background-color: #404A3D;
    opacity: 0.5;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    border-radius: 30px 30px 30px 30px;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}
.icon-box {
    height: 110px;
    width: 110px;
    line-height: 40px;
    font-size: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    margin-right: 30px;
  
    background-color:#265dad;
    transition: all .3s ease-out 0s;
    z-index: 1;
}
.pbmit-ihbox-style-5 .pbmit-icon-type-icon {
    position: relative;
}
.cta-text,.cta-button{
    position: relative;
}
footer {
    background-size: 15%;
    background-position: left bottom;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}
.default-padding {
    padding-top: 120px;
    padding-bottom: 120px;
}

.default-padding, .default-padding-top, .default-padding-bottom, .default-padding-mx {
    position: relative;
}
.f-items.default-padding {
    padding-top: 70px;
}
.footer-item {
    margin-top: 50px;
}
.footer-item.about {
    padding-right: 50px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 20px;
}
.footer-item .logo {
    height: 60px;
}

.footer-item .logo, .footer-item .widget-title {
    margin-bottom: 30px;
}
.footer-item.about p {
    color: #dedede;
}
.footer-item .widget-title {
    font-weight: 600;
    color: white;
}

.footer-item .logo, .footer-item .widget-title {
    margin-bottom: 30px;
}
.footer-item.link li:first-child {
    margin: 0;
}

.footer-item.link li {
    margin-top: 12px;
}
.footer-item.link li a {
    font-weight: 500;
    color: #dedede;
}
.footer-item.recent-post li:first-child {
    margin: 0;
}

.footer-item.recent-post li {
    display: flex;
    margin-top: 30px;
}
.footer-item.recent-post li a {
    line-height: 1;
    font-weight: 600;
    color: white;
    font-size: 18px;
}
.footer-item.contact li {
    color: #dedede;
}

.footer-item.contact li {
    display: flex;
    margin-top: 20px;
}
.footer-bottom {
    padding-bottom: 50px;
}
.shape-right-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35%;
    opacity: 0.4;
    z-index: -1;
}




.overlay-content {
    position: absolute;
    left: 20px;
    bottom: 0;
    right: 20px;
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    transform: scaleY(0);
    z-index: 1;
}
.overlay-content p {
    position: relative;
    display: inline-block;
    color: var(--agriox-primary, #334b35);
    font-size: 12px;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: var(--agriox-base, #f1cf69);
    padding: 5px 20px 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.overlay-content h3 {
    position: relative;
    display: block;
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
    background: var(--agriox-secondary, #6d8c54);
    border-top-right-radius: 10px;
    padding: 25px 40px 27px;
    text-transform: capitalize;
}
.overlay-content h3 a {
    color: #ffffff;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}
.swiper-slide {
    position: relative;
    overflow: hidden;
}

.swiper-slide:hover .overlay-content {
    transform: scaleY(1); /* Reveal the overlay on hover */
}

.overlay-content {
    position: absolute;
    left: 20px;
    bottom: 0;
    right: 20px;
    transform-origin: bottom; /* Scale from bottom */
    transform: scaleY(0); /* Start with hidden overlay */
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 1;
}

.overlay-content p {
    position: relative;
    display: inline-block;
    color:#265dad;
    font-size: 12px;
    line-height: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: white;
    padding: 5px 20px 5px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.overlay-content h3 {
    position: relative;
    display: block;
    font-size: 24px;
    line-height: 34px;
    font-weight: 700;
   background-color: #265dad;
    border-top-right-radius: 10px;
    padding: 25px 40px 27px;
    text-transform: capitalize;
}

.overlay-content h3 a {
    color: #ffffff;
    transition: all 200ms linear;
    transition-delay: 0.1s;
}
.worklist li{
    margin-top: 20px;
    font-weight: 700;
}
.worklist li i{
    color: #265dad;
    font-weight: 700;
    font-size: 16px;
    margin-right: 10px;
}

