/********** Template CSS **********/
:root {
  --primary: #348e38;
  --secondary: #525368;
  --light: #e8f5e9;
  --dark: #0f4229;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
}

.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;
}

/*** Navbar ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
  box-shadow: 0 0 10px #8b8b8b !important;
}

.navbar .navbar-brand,
.navbar a.btn {
  height: 100px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: var(--dark);
  font-size: 18px;
  font-weight: 600;
  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: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(15, 66, 41, 0.6);
  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:
    linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
    url(../img/bg.avif) 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);
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
  .top-feature {
    position: relative;
    margin-top: -80px;
    z-index: 1;
  }
}

/*** Facts & Quote ***/
.facts,
.quote {
  background-image: url(../img/bg.avif);
  background-size: cover;
  /* background: rgba(15, 66, 41, 0.6); */
  position: relative;
  background-position: center;
}

.facts::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  background-color: #000000b2;
}

.facts .container {
  position: relative;
}

/*** Service ***/
.service-item {
  position: relative;
  text-align: center;
}

.service-item .service-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.service-item .service-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  object-fit: cover;
  transform: scale(1.2);
  transition: 0.3s;
  z-index: -1;
}

.service-item:hover .service-img img {
  transform: scale(1);
}

.service-item .service-text {
  background: #ffffff;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.service-item:hover .service-text {
  background: rgba(15, 66, 41, 0.6);
}

.service-item .service-text h4,
.service-item .service-text p {
  transition: 0.3;
}

.service-item:hover .service-text h4 {
  color: #ffffff;
}

.service-item:hover .service-text p {
  color: var(--light);
}

.service-item .service-text .btn-square {
  width: 100px;
  height: 100px;
  background: transparent;
  transition: 0.5s;
}

.service-item:hover .service-text .btn-square {
  background: var(--light);
}

.service-item .service-text .btn {
  width: 31px;
  height: 31px;
  display: inline-flex;
  align-items: center;
  color: var(--dark);
  background: var(--light);
  white-space: nowrap;
  overflow: hidden;
  transition: 0.3s;
}

.service-item:hover .service-text .btn {
  width: 112px;
}

/*** Project Portfolio ***/
#portfolio-flters {
  display: inline-block;
  background: var(--light);
  padding: 10px 15px;
}

#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--dark);
  border-color: var(--dark);
}

.portfolio-inner {
  position: relative;
  overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(15, 66, 41, 0.6);
  transition: 0.5s;
}

.portfolio-inner::after {
  left: auto;
  right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
  width: 50%;
}

.portfolio-inner .portfolio-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
  transition-delay: 0.3s;
  opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
  background: var(--light);
  color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Team ***/
.team-item {
  position: relative;
  overflow: hidden;
}

.team-item .team-text {
  position: absolute;
  width: calc(100% - 45px);
  left: -100%;
  bottom: 45px;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text {
  left: 0;
  opacity: 1;
}

.team-item .team-social .btn {
  background: var(--light);
  color: var(--primary);
}

.team-item .team-social .btn:hover {
  background: var(--primary);
  color: var(--light);
}

.team-item .team-img .team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}

.team-item:hover .team-img .team-social {
  transition-delay: 0.3s;
  opacity: 1;
}

/*** Testimonial ***/

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 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: var(--primary);
  background: var(--light);
  border-radius: 4px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.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(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

.copyright {
  color: var(--light);
  background: #072a19;
  padding: 15px;
}

.copyright a {
  color: #ffffff;
}

.copyright a:hover {
  color: var(--primary);
}

/* logo  */
.logo_img {}

/* logo ednd  */
/* about  */

/* About section spacing */
.container-xxl {
  overflow: hidden;
}

img {
  transition: transform 0.4s ease;
}

img:hover {
  transform: scale(1.03);
}

/* about  */

/* nabar  */
.navbar-nav .nav-link {
  padding: 0.75rem 1.4rem;
  font-weight: 500;
}

/* nav  */

/* our products strt  */
/* ===============================
   ADVANCED PRODUCT CARD DESIGN
================================ */

.adv-product-card {
  height: 100%;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 20px 40px rgba(0, 100, 0, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.adv-product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 70px rgba(0, 120, 0, 0.28);
}

/* IMAGE AREA */
.adv-image {
  position: relative;
  height: 230px;
  /* background: radial-gradient(circle at top, #1f8f3a, #0b3d1e); */
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-image img {
  height: 85%;
  width: auto;
  object-fit: contain;
  z-index: 2;
  transition: transform 0.5s ease;
}

.adv-product-card:hover .adv-image img {
  transform: scale(1.1) rotate(-1deg);
}

/* DARK OVERLAY */
.adv-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
}

/* FLOATING BADGE */
.badge-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, #4caf50, #1f8f3a);
  color: #fff;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* CONTENT */
.adv-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.adv-content h4 {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.adv-desc {
  font-size: 18px;
  line-height: 1.65;
  color: #444;
  margin-bottom: 14px;
  flex-grow: 1;
}

/* TAGS */
.adv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.adv-tags span {
  background: rgba(76, 175, 80, 0.15);
  color: #1f8f3a;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 18px;
  font-weight: 500;
}

/* BUTTON */
.adv-btn {
  margin-top: auto;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1f8f3a, #4caf50);
  color: #fff;
  font-weight: 600;
  transition: all 0.35s ease;
}

.adv-btn:hover {
  background: linear-gradient(135deg, #4caf50, #1f8f3a);
  box-shadow: 0 10px 25px rgba(76, 175, 80, 0.45);
}

/* ===============================
   MOBILE OPTIMIZATION
================================ */
@media (max-width: 768px) {
  .adv-image {
    height: 200px;
  }

  .adv-content h4 {
    font-size: 18px;
  }

  .adv-desc {
    font-size: 13px;
  }
}

/* our product ends  */

:root {
  --primary-green: #2e7d32;
  /* Professional Ag-Green */
  --dark-text: #1f2937;
  --light-text: #6b7280;
  --bg-light: #f3f4f6;
  --card-white: #ffffff;
  --shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Section Container */
.contact-section {
  padding: 20px 20px;
  max-width: 1280px;
  margin: 0 auto;
}

/* Header Styling */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.subtitle {
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.875rem;
  margin-bottom: 10px;
  display: block;
}

.title {
  color: var(--dark-text);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.description {
  color: var(--light-text);
  font-size: 1.1rem;
}

/* Main Grid Layout */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Split 50/50 */
  gap: 40px;
  align-items: start;
}

/* Left Column: Contact Info Card */
.info-card {
  background: var(--card-white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  height: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.icon-box {
  background-color: #e8f5e9;
  color: var(--primary-green);
  min-width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-right: 20px;
  transition: transform 0.3s ease;
}

.info-item:hover .icon-box {
  transform: translateY(-5px);
  background-color: var(--primary-green);
  color: rgb(255, 255, 255);
}

.info-content h4 {
  color: var(--dark-text);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-content p {
  color: var(--light-text);
  font-size: 0.95rem;
}

.info-content a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.2s;
}

.info-content a:hover {
  color: var(--primary-green);
}

/* Right Column: Map */
.map-card {
  background: var(--card-white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
  min-height: 450px;
  /* Ensures map has height */
  position: relative;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive Design */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    /* Stack vertically */
  }

  .title {
    font-size: 2rem;
  }

  .map-card {
    min-height: 350px;
  }
}

/* contact design  */
:root {
  --primary-green: #2e7d32;
  --accent-green: #4caf50;
  --dark-gray: #2c3e50;
  --text-body: #546e7a;
  --bg-white: #ffffff;
  --glass-white: rgba(255, 255, 255, 0.95);
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  --radius: 24px;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  background-color: #f8faf8;
  color: var(--dark-gray);
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

/* --- TOP LAYER: Split Layout --- */
.top-layer {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 80px;
}

.contact-content {
  flex: 1;
  min-width: 320px;
}

.subtitle {
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 12px;
}

.heading {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 25px 0;
  color: var(--dark-gray);
}

.description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 40px;
}

/* Contact Details Icons */
.info-grid {
  display: grid;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item i {
  width: 45px;
  height: 45px;
  background: rgba(46, 125, 50, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.2rem;
}

/* --- FORM PANEL --- */
.form-panel {
  flex: 1;
  min-width: 350px;
  background: var(--glass-white);
  padding: 45px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 2px solid #e0e4e0;
  font-family: inherit;
  transition: all 0.3s ease;
  box-sizing: border-box;
  background: #fdfdfd;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-green);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.15);
  background: #fff;
}

textarea.form-control {
  height: 120px;
  resize: none;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg,
      var(--primary-green) 0%,
      var(--accent-green) 100%);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3);
}

/* --- BOTTOM LAYER: Map --- */
.map-layer {
  width: 100%;
  height: 450px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid white;
  position: relative;
}

.map-layer:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  box-shadow: inset 0 0 15px rgba(46, 125, 50, 0.1);
  border-radius: calc(var(--radius) - 8px);
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .heading {
    font-size: 2.8rem;
  }

  .top-layer {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact-wrapper {
    padding: 40px 20px;
  }

  .heading {
    font-size: 2.2rem;
  }

  .form-panel {
    padding: 30px 20px;
  }
}

/* gallery Design  */
.gallery-slider {
  padding: 70px 0;
  background: #f9fdfb;
}

.gallery-slider .subtitle {
  color: #16a34a;
  font-weight: 600;
  font-size: 14px;
}

.gallery-slider h2 {
  font-size: 32px;
  font-weight: 800;
  color: #14532d;
}

.gallery-slider p {
  font-size: 14px;
  color: #4b5563;
}

/* Swiper Slides */
.gallerySwiper .swiper-slide {
  width: 300px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.gallerySwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(34, 197, 94, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  opacity: 0;
  transition: 0.3s ease;
}

.swiper-slide:hover .gallery-overlay {
  opacity: 1;
}

/* Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #22c55e;
}

.product-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.product-slider-track {
  display: flex;
  gap: 15px;
  will-change: transform;
}

.product-item {
  min-width: 250px;
}

.product-item img {
  padding: 10px;
}

.counter_sec_heading {
  position: relative;
}

.counter_sec_heading::after {
  position: absolute;
  content: "+";
  top: 0;
}

.categories .service-item {
  box-shadow: 0 0 5px #1f8f3a;
}

.read_morebtn {
  margin-top: auto;
  text-align: center;
  padding: 8px;
  border-radius: 30px;
  background: linear-gradient(135deg, #1f8f3a, #4caf50);
  color: #fff;
  font-weight: 600;
  transition: all 0.35s ease;
  font-size: 14px;
}