/********** Template CSS **********/
:root {
  --primary: #88b44e;
  --secondary: #fb9f38;
  --light: #f5f8f2;
  --dark: #252c30;
}

/* Prevent horizontal scroll on mobile */
html,
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

/* gallery image weidth controller*/

.object-fit-cover {
  object-fit: cover;
}

.img-fluid:hover {
  transform: scale(1.03);
  transition: 0.3s ease;
}

.gallery-column-wrapper {
  padding: 20px 0;
}

.gallery-image-container {
  flex: 1 1 300px;
  max-width: 350px;
  height: 350px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  border-radius: 10px;
  overflow: hidden;
  background-color: #f8f8f8;
  /* subtle background behind image */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.gallery-image-container:hover {
  transform: translateY(-4px);
}

.gallery-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  padding: 10px;
}


.gallery-fullwidth-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 30px 15px;
}

/* Wrapper to ensure full width and centering */
.gallery-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Image styles */
.gallery-image-centered {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.gallery-fullwidth-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.gallery-image-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 10px;
}

.gallery-image-centered {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
}

.gallery-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 10px;
}







.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.fw-medium {
  font-weight: 600;
}

.fw-bold {
  font-weight: 700;
}

.fw-black {
  font-weight: 900;
}

/*** 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-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;
}

/* ** Navbar **
.sticky-top {
  top: -150px;
  transition: 0.5s;
}

.navbar .navbar-brand {
  position: absolute;
  padding: 0;
  width: 170px;
  height: 135px;
  top: 0;
  left: 0;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: var(--dark);
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
} */


/* dropdown */


/* 
.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-brand {
    width: 126px;
    height: 100px;
  }

  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 75px;
    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;
  }
} */



/*** Navbar ***/

/* Sticky navbar transition when scrolling */
.sticky-top {
  top: -150px;
  transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* smoother entrance/exit */
  will-change: top;
}

/* Logo */
/* .navbar .navbar-brand {
  position: absolute;
  padding: 0;
  width: 170px;
  height: 135px;
  top: 0;
  left: 0;
  z-index: 1000;
} */




.navbar .navbar-brand {
  position: absolute;
  padding: 0;
  width: 170px;
  height: 135px;
  top: 0;
  left: 0;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
  /* Soft drop shadow for curved logos */
}

.navbar .navbar-brand:hover {
  transform: scale(1.05);
  /* Zoom on hover */
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
  /* Slightly deeper shadow on hover */
}

@media (max-width: 991.98px) {
  .navbar .navbar-brand {
    width: 126px;
    height: 100px;
  }
}







/* Nav links base style */
.navbar .navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  margin-right: 35px;
  padding: 25px 0;
  color: var(--dark);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  outline: none;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: color;
}

/* Hover and active color change */
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

/* Underline effect base */
.navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: bottom left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Underline visible on hover and active */
.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* Optional: slight shadow for navbar */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  z-index: 999;
}
























/* Dropdown Arrow */
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

/* Desktop Dropdown Style */
@media (min-width: 992px) {
  .navbar .nav-item {
    position: relative;
  }

  .navbar .nav-item .dropdown-menu {
    display: block;
    position: absolute;
    left: 0;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    /* smoother effect */
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0.4s;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px 0;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    z-index: 99;
  }

  .navbar .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 10px 20px;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s ease, color 0.3s ease, border-left 0.3s ease;
  }

  .navbar .dropdown-menu .dropdown-item:hover {
    background-color: #f4f4f4;
    color: #1a7f37;
    border-left: 4px solid #4CAF50;
  }
}

/* Mobile Adjustments */
@media (max-width: 991.98px) {
  .navbar .navbar-brand {
    width: 126px;
    height: 100px;
  }

  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar .navbar-nav {
    margin-top: 75px;
    border-top: 1px solid #eeeeee;
  }

  .navbar .dropdown-menu {
    padding-left: 10px;
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 10px 10px;
    transition: background 0.3s ease, color 0.3s ease, border-left 0.3s ease;
  }
}

.navbar .dropdown-menu .dropdown-item:hover {
  border-left: 4px solid #4CAF50;
}

@media (max-width: 991.98px) {
  .dropdown-menu {
    display: none !important;
  }

  .dropdown-menu.show {
    display: block !important;
    margin-top: 10px;
  }
}

/*** Header ***/
/* .carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  background: rgba(136, 180, 78, 0.7);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  background-color: var(--dark);
  border: 15px solid var(--dark);
}

@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;
  }
} */





/* Force same height for all images on desktop */
#header-carousel .carousel-item img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

/* Already OK for mobile */
@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;
  }
}


.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 3.5rem;
  background-color: var(--dark);
  border: 15px solid var(--dark);
}

/* Optional: darker on hover */
.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: rgba(0, 0, 0, 0.85);
}


.carousel-caption {
  position: absolute;
  /* position over the image */
  top: 0;
  left: 0;
  width: 100%;
  /* full width */
  height: 100%;
  /* full height */

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: rgba(136, 180, 78, 0.6);
  /* covers whole image */
  padding: 20px;
  z-index: 1;

  color: white;
}





.page-header {
  background: linear-gradient(rgba(136, 180, 78, 0.7), rgba(136, 180, 78, 0.7)),
    url(../img/Illam.jpeg) 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;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
}

.section-title::before {
  position: absolute;
  content: "";
  width: 50%;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--primary);
}

.section-title::after {
  position: absolute;
  content: "";
  width: 28px;
  height: 28px;
  bottom: -13px;
  left: calc(25% - 13px);
  background: var(--dark);
  border: 10px solid #ffffff;
  border-radius: 28px;
}

.section-title.text-center::before {
  left: 25%;
}

.section-title.text-center::after {
  left: calc(50% - 13px);
}

/*** Products ***/
/* .product {
  background: linear-gradient(rgba(136, 180, 78, 0.1), rgba(136, 180, 78, 0.1)),
    url(../img/product-bg.png) left bottom no-repeat;
  background-size: auto;
}

.product-carousel .owl-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
  margin: 0 10px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--primary);
  border-radius: 55px;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.15);
  font-size: 25px;
  transition: 0.5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
  background: #ffffff;
  color: var(--primary);
} */




/* Modern product card style */
.product-item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  padding: 20px;
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

/* Product image styling */
.product-item img {
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.product-item:hover img {
  transform: scale(1.05);
}

/* Product title */
.product-item h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

/* CTA button inside product card */
.product-item .btn {
  margin-top: 10px;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background 0.3s ease, color 0.3s ease;
}

.product-item .btn:hover {
  background-color: var(--primary);
  color: white;
}








/*** About ***/
.video {
  background: linear-gradient(rgba(136, 180, 78, 0.85),
      rgba(136, 180, 78, 0.85)),
    url(../img/video-bg.jpg) center center no-repeat;
  background-size: cover;
}

.btn-play {
  position: relative;
  display: block;
  box-sizing: content-box;
  width: 65px;
  height: 75px;
  border-radius: 100%;
  border: none;
  outline: none !important;
  padding: 28px 30px 30px 38px;
  background: #ffffff;
}

.btn-play:before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 120px;
  height: 120px;
  background: #ffffff;
  border-radius: 100%;
  animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 120px;
  height: 120px;
  background: #ffffff;
  border-radius: 100%;
  transition: all 200ms;
}

.btn-play span {
  display: block;
  position: relative;
  z-index: 3;
  width: 0;
  height: 0;
  left: 13px;
  border-left: 40px solid var(--primary);
  border-top: 28px solid transparent;
  border-bottom: 28px solid transparent;
}

@keyframes pulse-border {
  0% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
    opacity: 1;
  }

  100% {
    transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
    opacity: 0;
  }
}

.modal-video .modal-dialog {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0 auto;
}

.modal-video .modal-body {
  position: relative;
  padding: 0px;
}

.modal-video .close {
  position: absolute;
  width: 30px;
  height: 30px;
  right: 0px;
  top: -30px;
  z-index: 999;
  font-size: 30px;
  font-weight: normal;
  color: #ffffff;
  background: #000000;
  opacity: 1;
}

/*** Store ***/
.store-item .store-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(138, 180, 78, 0.3);
  opacity: 0;
  transition: 0.5s;
}

.store-item:hover .store-overlay {
  opacity: 1;
}

/*** Contact ***/
.contact .btn-square {
  width: 100px;
  height: 100px;
  border: 20px solid var(--light);
  background: var(--primary);
  border-radius: 50px;
}

/*** Testimonial ***/
.testimonial {
  background: linear-gradient(rgba(136, 180, 78, 0.85),
      rgba(136, 180, 78, 0.85)),
    url(../img/testimonial-bg.jpg) center center no-repeat;
  background-size: cover;
}

.testimonial-item {
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
  background: #ffffff;
  border: 30px solid var(--primary);
}

.testimonial-item img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 60px;
}

.testimonial-carousel .owl-dots {
  margin-top: 35px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.testimonial-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--primary);
  border-radius: 15px;
  transition: 0.5s;
}

.testimonial-carousel .owl-dot.active {
  width: 30px;
  background: var(--dark);
}

/*** Footer ***/
/* === New Footer Styles === */
.footer {
  background-color: #1e1e1e;
  color: #b0b9ae;
  padding: 60px 0 30px;
  font-size: 15px;
  line-height: 1.8;
}

.footer h5 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer a {
  color: #b0b9ae;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: #fff;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 16px;
  transition: 0.3s ease;
}

.footer .social-icons a:hover {
  background: #ffffff;
  color: var(--primary);
}

.footer .subscribe-form input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 30px 0 0 30px;
  outline: none;
  width: 70%;
}

.footer .subscribe-form button {
  padding: 10px 20px;
  background: var(--primary);
  border: none;
  border-radius: 0 30px 30px 0;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

.footer .subscribe-form button:hover {
  background: #ffffff;
  color: var(--primary);
}

/* Copyright */
.footer .copyright {
  border-top: 1px solid #444;
  margin-top: 40px;
  padding-top: 20px;
  text-align: center;
  color: #999;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer .row {
    flex-direction: column;
    text-align: center;
  }

  .footer .social-icons {
    justify-content: center;
    margin-top: 15px;
  }

  .footer .subscribe-form {
    flex-direction: column;
  }

  .footer .subscribe-form input[type="email"],
  .footer .subscribe-form button {
    width: 100%;
    border-radius: 30px;
    margin-bottom: 10px;
  }
}