:root {
  /* ===== Brand Colors (from Fabstar logo) ===== */
  --color-primary: #004851;
  /* Deep Teal */
  /* --color-accent: #0bb348; */
  --color-accent: #28d166;
  /* Bright Green */
  --color-dark: #000000;
  /* Black text */
  --color-light: #ffffff;
  /* White background */

  /* ===== Supporting Palette ===== */
  --color-gray-light: #f8f9fa;
  /* Light gray for backgrounds */
  --color-gray: #6c757d;
  /* Muted text */
  --color-highlight: #fdd835;
  /* Yellow for calls-to-action (optional secondary) */
  --color-orange: #ff5100;
  /* --color-orange: #ff9800; */
  /* For discounts/sales */

  /* ===== Transitions & Shadows ===== */
  --transition-speed: 0.3s;
  --shadow-soft: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* general */
.btn-primary-custom {
  background: var(--color-accent);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 18px rgba(253, 216, 53, 0.14);
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.btn-primary-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(253, 216, 53, 0.18);
  background: var(--color-primary);
  color: #ffffff;
}

.btn-green {
  background: var(--color-accent);
  color: #fff;
  border: none;
}

.btn-green:hover {
  background: #276a28;
}

.text-primary {
  color: #004851 !important;
}
.bg-primary{
  background: var(--color-primary) !important;
}

.bg-info{
  background: var(--color-accent) !important;
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
  /* animation: fadeUp 0.7s ease-out forwards; */
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Logo Styling ===== */
.logo-img {
  height: 35px;
  width: auto;
  object-fit: contain;
}

/* ===== Nav Links ===== */
.nav-link {
  color: var(--color-dark) !important;
  font-weight: 500;
  margin: 0 10px;
  position: relative;
  transition: color var(--transition-speed);
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  left: 0;
  bottom: -4px;
  transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-accent) !important;
}

/* Accent Buttons (Search etc.) */
.btn-accent {
  background: var(--color-primary) !important;
  color: var(--color-light);
  border: none;
}

.btn-accent:hover {
  background: var(--color-accent ) !important;
}

/* Cart Badge */
.cart-badge {
  position: absolute;
  top: -5px;
  right: -10px;
  background: var(--color-orange);
  color: var(--color-light);
  border-radius: 50%;
  font-size: 0.7rem;
  padding: 2px 5px;
}

/* ===== Sidebar ===== */
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 260px;
  height: 100%;
  background: var(--color-primary);
  /* background: var(--color-gray-light); */
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: left 0.4s ease;
  z-index: 1050;
  padding-top: 1rem;
}

.sidebar.open {
  left: 0;
}

.sidebar a {
  display: block;
  padding: 12px 20px;
  /* color: #212121; */
  color: var(--color-light);
  font-weight: 500;
  text-decoration: none;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.sidebar a:hover {
  background: var(--color-gray-light);
  border-left: 4px solid #2e7d32;
  color: var(--green);
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #212121;
  position: absolute;
  right: 15px;
  top: 10px;
}

.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1040;
}

.sidebar-overlay.show {
  display: block;
}


/* ===== HERO SECTION ===== */
#hero {
  margin-top: 70px;
  /* to offset fixed navbar */
}

#hero .carousel-item {
  /* height: 90vh; */
  height: 59vh;
  /* min-height: 500px; */
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-overlay {
  /* background: rgba(0, 0, 0, 0.55); */
  background: linear-gradient(180deg, rgba(6, 85, 48, 0.35) 0%, rgba(1, 61, 43, 0.55) 70%);
  height: 100%;
  width: 100%;
}

#hero h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--color-light);
}

#hero p {
  color: var(--color-gray-light);
  max-width: 650px;
  margin: 0 auto;
}

#hero .btn-accent {
  background: var(--color-accent);
  color: var(--color-light);
  border-radius: 50px;
  transition: background var(--transition-speed);
}

#hero .btn-accent:hover {
  background: var(--color-primary);
}

/* Smooth fade transition */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
  z-index: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
  opacity: 0;
  z-index: 0;
}

/* hero end side */
#hero-end {
  background: var(--color-accent);
  /* height: 30vh;
  min-height: 140px; */
  position: relative;
  overflow: visible;
}

#hero .left-content h3 {
  color: #fff;
}

/* Hexagon Row */
.hexagon-row {
  position: absolute;
  top: -70px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  z-index: 5;
}

.hexagon-border {
  width: 168px;
  /* slightly bigger than hexagon */
  height: 142.64px;
  /* slightly bigger */
  clip-path: polygon(50% 0%,
      93% 25%,
      93% 75%,
      50% 100%,
      7% 75%,
      7% 25%);
  background-color: var(--color-primary);
  /* border color */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
}

.hexagon {
  width: 160px;
  height: 134.64px;
  clip-path: polygon(50% 0%,
      93% 25%,
      93% 75%,
      50% 100%,
      7% 75%,
      7% 25%);
  background: var(--color-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hex-content {
  text-align: center;
  padding: 10px;
  color: rgb(255, 123, 0);
}

.hex-content p {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  font-family: 'Poppins', sans-serif;
}

/* Hover effect */
.hexagon-border:hover .hexagon {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.hexagon-border:hover .hex-content {
  color: var(--color-accent);
}

.hex-content svg {
  display: block;
  margin: 0 auto 8px auto;
  transition: transform 0.3s ease;
  stroke: currentColor;
}


/* Hover effect */
.hexagon:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  border-color: var(--color-accent);
}

.hexagon:hover .hex-content img {
  transform: scale(1.2) rotate(5deg);
}

/* Animation on page load (optional) */
.hexagon {
  opacity: 0;
  transform: scale(0.8);
  animation: hexFadeIn 0.8s ease forwards;
}

.hexagon:nth-child(1) {
  animation-delay: 0.2s;
}

.hexagon:nth-child(2) {
  animation-delay: 0.4s;
}

.hexagon:nth-child(3) {
  animation-delay: 0.6s;
}

.hexagon:nth-child(4) {
  animation-delay: 0.8s;
}

@keyframes hexFadeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}


/* ===== Media Query for small screens ===== */
@media (max-width: 576px) {
  .hexagon-row {
    top: -50px;
    flex-wrap: nowrap;
    /* prevent wrapping */
    overflow-x: auto;
    /* enable horizontal scroll */
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
    gap: 8px;
    /* smaller gap */
  }

  .hexagon-border {
    width: 90px;
    height: 72px;
    margin: 0;
    flex: 0 0 auto;
    gap: 0;
    /* prevent shrinking */
  }

  .hexagon {
    width: 112px;
    height: 94px;
  }

  .hex-content p {
    font-size: 10px;
  }

  .hex-content svg {
    width: 28px;
    height: 28px;
  }
}

.left-content h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.left-content ul {
  padding-left: 1rem;
  margin: 0;
  list-style: none;
  font-size: 1.1rem;
  color: var(--color-light);
}

.left-content ul li {
  margin-bottom: 0.6rem;
  position: relative;
  padding-left: 1.2em;
}

.left-content ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  top: 0;
}

@media (max-width: 576px) {
  .left-content h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: .4rem;
  }
}


/* Right content container */
.right-content {
  text-align: center;
}

.circle-stats-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.circle-stat {
  width: 80px;
  height: 80px;
  background: var(--color-light);
  border-radius: 50%;
  border: 4px solid rgb(255, 94, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--color-primary);
}

.circle-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.35);
}

.circle-inner h2 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.circle-inner p {
  margin: 4px 0 0;
  font-size: 0.4rem;
  font-weight: 500;
}

.circle-caption p {
  font-size: 1rem;
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .circle-stat {
    width: 90px;
    height: 90px;
  }

  .circle-inner h2 {
    font-size: 1.5rem;
  }

  .circle-inner p {
    font-size: 0.75rem;
  }

  .circle-caption p {
    font-size: 0.9rem;
    padding: 0 10px;
  }
}

.vertical-divider {
  width: 2px;
  height: 70%;
  /* Adjust height as needed */
  background-color: rgb(245, 241, 241);
  /* subtle white */
  margin: auto;
  border-radius: 1px;
}

/* Optional: adjust height if needed */
@media (max-width: 768px) {
  .vertical-divider {
    display: none;
  }
}



/* ===== CATEGORIES SECTION ===== */
/* CATEGORY CARDS */
.category-card {
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  user-select: none;
}

/* Hover effect */
.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 6px 16px rgba(40, 209, 102, 0.25);
}

/* Underline glow */
.category-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background-color: var(--color-accent);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}

.category-card:hover::after {
  width: 60%;
}

/* Icon animation */
.category-card i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.category-card:hover i {
  transform: scale(1.15) rotate(-5deg);
  color: var(--color-primary);
}

/* CLICK (Pulse Animation) */
@keyframes cardClick {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(40, 209, 102, 0.4);
  }

  50% {
    transform: scale(0.96);
    box-shadow: 0 0 20px rgba(40, 209, 102, 0.4);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(40, 209, 102, 0);
  }
}

.category-card.clicked {
  animation: cardClick 0.4s ease;
}

/* ===== VIEW ALL BUTTON ===== */
.btn-view-all {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-light) !important;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  position: relative;
  z-index: 10;
}

.btn-view-all:hover {
  background-color: var(--color-primary);
  border-color: var(--color-accent);
  color: var(--color-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(40, 209, 102, 0.25);
}

/* -------------------------
       PRODUCT CARDS
       ------------------------- */

.featured-products {
  background: var(--color-primary);
}

.product-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.product-card .img-wrap {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed);
}

.product-card:hover .img-wrap img {
  transform: scale(1.06);
}

.badge-discount {
  background: var(--color-orange);
  color: white;
  font-weight: 700;
  padding: .35rem .5rem;
  border-radius: .5rem;
  animation: bounce 1600ms infinite;
  display: inline-block;
  box-shadow: 0 8px 18px rgba(255, 152, 0, 0.12);
  transform-origin: center;
}

.featured-products-swiper .swiper-slide {
  height: auto;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}


/* ===== WHY CHOOSE US ===== */
.enhanced-why-choose {
  background: linear-gradient(135deg, rgba(40, 209, 102, 0.05), rgba(0, 72, 81, 0.08));
}

/* Limit image height for better balance */
#why-choose-us img {
  max-height: 400px;
  object-fit: cover;
  width: 100%;
}

/* Optional subtle shadow for icons */
#why-choose-us i {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/* -------------------------
       PROMO BANNER
       ------------------------- */
.promo-banner-one {
  border-radius: 12px;
  overflow: hidden;
  color: white;
  position: relative;
  background: rgba(255, 166, 0, 0.808);
  /* background: orangered; */
}

.promo-banner-one .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.48));
}


/* ===== PROMOTIONAL BANNER ===== */
.promo-banner {
  background: linear-gradient(135deg, var(--color-primary), #004851);
  position: relative;
  overflow: hidden;
}

.promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
  animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Text accent color */
.text-accent {
  color: #f9c74f !important;
}


/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--color-gray-light);
}

#testimonials .card {
  border-radius: 1rem;
  background: var(--color-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#testimonials .card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-soft);
}

#testimonials .bi-chat-quote-fill {
  color: var(--color-accent);
}

#testimonials h2 {
  color: var(--color-primary);
}

/* Make fade transition smooth */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Carousel Controls Styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--color-accent);
  border-radius: 50%;
  padding: 1rem;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
  background-color: var(--color-primary);
}


/* ===== FRESH PROMO SECTION ===== */
#fresh-promo {
  position: relative;
  background: url("https://images.unsplash.com/photo-1502741338009-cac2772e18bc?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat fixed;
  color: var(--color-light);
  overflow: hidden;
  padding: 100px 0;
}

#fresh-promo .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: brightness(0.8);
}

#fresh-promo .content {
  position: relative;
  z-index: 2;
}

#fresh-promo h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

#fresh-promo p {
  font-size: 1.1rem;
  color: #f1f1f1;
}

#fresh-promo .btn {
  border-radius: 50px;
  background: var(--color-accent);
  color: #fff;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
}

#fresh-promo .btn:hover {
  background: #1ca85d;
  transform: translateY(-3px);
}

/* ===============================
   GALLERY SECTION
   Masonry Grid (Desktop)
   Swiper Slider (Mobile)
================================= */
#gallery {
  background-color: #fff;
  padding: 4rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  grid-auto-rows: 250px;
  gap: 1rem;
}

/* Beautiful tall/wide image layout */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Preserve creative layout */
.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

/* ===============================
   LIGHTBOX POPUP
================================= */
#lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

#lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  border-radius: 1rem;
  overflow: hidden;
  animation: zoomIn 0.3s ease;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;
}

.lightbox-caption {
  text-align: center;
  color: #fff;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Navigation arrows */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.3s ease;
  z-index: 10;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  border: none;
  cursor: pointer;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===============================
   SWIPER GALLERY (Mobile)
================================= */
.gallery-swiper {
  width: 100%;
  padding-bottom: 2rem;
}

.swiper-slide img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 1rem;
}

/* Swiper pagination dots */
.swiper-pagination-bullet {
  background: var(--color-primary);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--color-accent);
  opacity: 1;
}


/* ===== END GALLERY STYLES ===== */

/* ===== BLOG STYLES ===== */
#blog .card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#blog .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

#blog .text-accent {
  color: var(--color-accent);
}

#blog .text-accent:hover {
  color: var(--color-primary);
}

.blog-card img {
    width: 100%;          /* full width of the card */
    height: 200px;        /* fixed height for all images */
    object-fit: cover;    /* crop/scale image to fill area without distortion */
    border-top-left-radius: 0.5rem;  /* match rounded-top-4 */
    border-top-right-radius: 0.5rem;
}


/* ===== END BLOG STYLES ===== */

/* ===== NEWSLETTER SECTION ===== */
#newsletter {
  background: linear-gradient(135deg, var(--color-gray-light), #e9f7ef);
}

#newsletter h2 {
  color: var(--color-primary);
}

.newsletter-form input {
  border-radius: 50px;
  padding: 0.75rem 1.25rem;
  border: 2px solid var(--color-accent);
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  box-shadow: 0 0 10px rgba(40, 209, 102, 0.4);
  outline: none;
}

.newsletter-form button {
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.2s ease;
}

.newsletter-form button:hover {
  transform: translateY(-3px);
}


/* ===== FOOTER SECTION ===== */
#footer {
  background-color: var(--color-dark);
  color: #f1f1f1;
  font-size: 0.95rem;
}

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

#footer a:hover {
  color: var(--color-accent);
}

#footer .social-links a {
  font-size: 1.25rem;
  color: #fff;
  transition: color 0.3s ease;
}

#footer .social-links a:hover {
  color: var(--color-accent);
}


/* ===== ABOUT HERO ===== */
.about-hero {
  position: relative;
  height: 60vh;
  background: linear-gradient(120deg, var(--color-accent), var(--color-primary), var(--color-primary), var(--color-accent));
  background-size: 300% 300%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}

.about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* ===== Animated Gradient ===== */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Breadcrumb */
.about-hero .breadcrumb {
  background: transparent;
}

.about-hero .breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.6);
}

.about-hero .breadcrumb a:hover {
  text-decoration: underline;
}

/* Floating Leaves Animation */
.leaf {
  position: absolute;
  background-image: url("https://cdn-icons-png.flaticon.com/512/415/415733.png");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.18;
  width: 60px;
  height: 60px;
  animation: floatLeaf 18s linear infinite;
}

.leaf1 {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
  animation-duration: 22s;
}

.leaf2 {
  top: 50%;
  left: 60%;
  animation-delay: 4s;
  animation-duration: 25s;
}

.leaf3 {
  top: 70%;
  left: 80%;
  animation-delay: 7s;
  animation-duration: 28s;
}

@keyframes floatLeaf {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }

  50% {
    transform: translateY(-20px) rotate(15deg);
    opacity: 0.25;
  }

  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.2;
  }
}

/* #join-cta {
  background: linear-gradient(135deg, var(--color-primary), #035872);
  position: relative;
  padding: 5rem 1rem;
  overflow: hidden;
}

#join-cta .overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.3));
  animation: gradientMove 6s ease-in-out infinite alternate;
} */


/* ===== ABOUT PAGE STYLES ===== */
#our-story img {
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

#mission-vision {
  background: #f3fdf7;
}

.value-card {
  background: var(--color-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* CTA Banner */
.join-banner {
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 300% 300%;
  animation: gradientFlow 10s ease infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ===== Team ===== */
.team-card {
  background: var(--color-light);
  border-radius: 1rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

/* Avatar sizing and border */
.team-card .avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(40, 209, 102, 0.08);
  display: inline-block;
}

.team-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.team-card:hover .avatar img {
  transform: scale(1.08);
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .team-card .avatar {
    width: 90px;
    height: 90px;
  }

  .team-card {
    padding: 1rem;
  }
}

/* ===== END ABOUT PAGE STYLES ===== */


/* ===== CONTACT PAGE CUSTOM STYLES ===== */
.contact-hero {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/static/frontend/images/livestock/gasplant-3.jpg") center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.contact-hero .content {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  background: transparent;
  justify-content: center;
  margin-top: 10px;
}

.breadcrumb-item a {
  color: #fff;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #fff;
  opacity: 0.9;
}

/* Info cards */
.contact-info .card {
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.contact-info .bi {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

/* Map */
#map {
  height: 400px;
  width: 100%;
  border-radius: 15px;
  z-index: 1;
}

/* Form */
.contact-form button {
  background-color: var(--color-primary);
  color: #fff;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: var(--color-secondary);
}

/* ===== MAP CONTAINER STYLING ===== */
#map {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

#map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  display: block;
  border-radius: 15px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #map iframe {
    height: 300px;
  }
}




/* ===== SERVICE SECTIONS ===== */

/* ===== HERO BANNER ===== */
.services-hero {
  height: 58vh;
  background: linear-gradient(-45deg, var(--color-accent), var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  position: relative;
}

.services-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* other parts */
.services {
  background-color: #f8f9fa;
}

.service-img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease;
}

.service-img:hover {
  transform: scale(1.03);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .services .row {
    text-align: center;
  }

  .services h2 {
    margin-top: 1.5rem;
  }

  .service-img {
    max-height: 300px;
  }
}



/* ===== PRODUCT HERO ===== */
.product-hero {
  height: 55vh;
  background: linear-gradient(-45deg, #43a047, #66bb6a, #81c784, #a5d6a7);
  background-size: 400% 400%;
  animation: gradientShift 10s ease infinite;
  position: relative;
}

.product-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.product-hero .container {
  position: relative;
  z-index: 2;
}

/* ===== PRODUCT DETAIL ===== */
.main-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.thumb-img {
  width: 90px;
  height: 70px;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.7;
  transition: 0.3s;
}

.thumb-img:hover,
.thumb-img.active {
  opacity: 1;
  border: 2px solid var(--color-primary);
}

/* ===== RELATED PRODUCTS ===== */
.related-products .swiper-slide {
  width: 240px;
}

.related-products img {
  height: 180px;
  object-fit: cover;
}


/* ===== CART PAGE ===== */
.cart-item {
  transition: 0.3s ease;
  background-color: #e0e7e3;
}

.cart-item:hover {
  background-color: #f9f9f9;
  border-radius: 0.5rem;
}

.cart-img {
  width: 100%;
  max-width: 80px;
  height: auto;
  object-fit: cover;
}

.qty-input {
  width: 65px;
  text-align: center;
}

@media (max-width: 576px) {
  .cart-item .d-flex {
    flex-direction: column;
    align-items: stretch !important;
  }

  .cart-item .text-end {
    text-align: left !important;
  }

  .cart-item button.btn-outline-success {
    width: 100%;
  }

  .cart-item button.btn-outline-danger {
    margin-top: 0.5rem;
  }
}


/* ===== CHECKOUT PAGE ===== */
.checkout-section .card {
  border-radius: 1rem;
}

.checkout-section input,
.checkout-section select {
  border-radius: 0.5rem;
  border: 1px solid #ccc;
}


/* ===== ORDER SUCCESS PAGE ===== */
.order-success-hero {
  height: 65vh;
  background: linear-gradient(120deg, var(--color-primary) 0%, #3cb371 100%);
  position: relative;
  overflow: hidden;
}

.order-success-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1542831371-29b0f74f9713?auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.order-success-hero .container {
  position: relative;
  z-index: 1;
}

.order-summary-section .card {
  border-radius: 1rem;
}

/* ===== LOGIN PAGE ===== */
.login-hero {
  height: 45vh;
  background: linear-gradient(120deg, var(--color-primary), #3cb371);
  position: relative;
  overflow: hidden;
}

.login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1605902711622-cfb43c4437d9?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.login-hero .container {
  position: relative;
  z-index: 1;
}

.login-section .card {
  border-radius: 1rem;
  background: #fff;
  transition: all 0.3s ease;
}

.login-section .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ===== INDUSTRY HIGHLIGHT SECTION ===== */
#industries-highlight {
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

/* .images-side {
  display: flex;
  flex: 1;
  height: 100%;
} */

.industry-img {
  flex: 1;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}

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

/* Specific images */
.industry-img.agriculture {
  background-image: url('/static/frontend/images/stock/filling-station.jpg');
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.industry-img.energy {
  background-image: url('/static/frontend/images/stock/rice-1.jpg');
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
}

.industry-img.logistics {
  background-image: url('/static/frontend/images/stock/big-truck.jpg');
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Right side text */
.text-side {
  background: #fff;
  display: flex;
}

.text-content h2 {
  color: #033b3d;
}

.text-content p {
  line-height: 1.6;
}

/* SVG wave bottom */
.wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: auto;
}

/* ===== FOCUS AREA ====  */
.focus-areas {
  background: linear-gradient(180deg, #f8fff9 0%, #ffffff 100%);
  position: relative;
}

.focus-areas img {
  height: 350px;
  width: 100%;
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.focus-areas img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.wave-separator {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
}

/* Responsiveness */
@media (max-width: 768px) {
  .focus-areas img {
    height: 250px;
  }
}

