@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Montserrat:wght@400;500;600;700;800&family=Playfair+Display:wght@400;600;700;800&display=swap');

/* ============================================ 
   1. GLOBAL VARIABLES & RESET
   ============================================ */
:root {
  /* AB Green Tech Brand Colors */
  --ab-green: #146c36;
  --ab-orange: #f27233;
  --ab-orange-hover: #d15a20;
  --ab-blue: #40a0db;

  /* UI Theme Colors */
  --primary-navy: var(--ab-green);
  --accent-gold: var(--ab-orange);
  --accent-gold-hover: var(--ab-orange-hover);
  --light-bg: #f8f9fa;
  --text-main: #4a4a4a;
  --text-muted: #6c757d;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
p{
  font-size: 0.9rem;
}

body,
html {
  font-family: "Montserrat", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

h1, h2, h3, h4, h5, h6, .heading-font, .section-title, .hero-heading {
  font-family: "Playfair Display", serif;
}

.sec-color {
  background-color: var(--light-bg) !important;
}

/* ============================================ 
   2. NAVBAR / HEADER
   ============================================ */
.navbar {
  background-color: #ffffff;
  padding: 15px 0;
  border-bottom: 3px solid var(--ab-green);
}

.navbar-brand img {
  border-radius: 6px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: var(--ab-green) !important;
  margin: 0 12px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ab-orange) !important;
}

.dropdown-menu {
  border-top: 3px solid var(--ab-orange) !important;
}

.dropdown-item {
  font-weight: 200;
  color: var(--ab-green);
}
.dropdown-menu>li>a{
  font-size: 0.8rem;
}

.dropdown-item:hover {
  background-color: rgba(242, 114, 51, 0.1);
  color: var(--ab-orange);
}

.btn-ab-theme {
  background-color: var(--ab-orange);
  color: #fff;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid var(--ab-orange);
}

.btn-ab-theme:hover {
  background-color: var(--ab-green);
  border-color: var(--ab-green);
  color: #fff;
  box-shadow: 0 4px 15px rgba(20, 108, 54, 0.3);
}

/* ============================================ 
   3. HERO MAIN SLIDER (Scoped strictly to avoid overlapping)
   ============================================ */
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
  height: 90vh;
  width: 100%;
  min-height: 300px;
}

.hero-carousel .carousel-item {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-carousel .carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.hero-carousel .carousel-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-subheading {
  font-size: 1.2rem;
  letter-spacing: 3px;
  font-weight: 400;
  color: #f8f9fa;
  text-transform: uppercase;
  max-width: 800px;
}

.hero-heading {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: capitalize;
  max-width: 800px;
}

.btn-hero {
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-3px);
}

/* Hero Slider Arrows */
.hero-carousel .carousel-control-next-icon,
.hero-carousel .carousel-control-prev-icon {
  position: absolute;
  background-color: var(--accent-gold-hover);
  padding: 40px 5px !important;
}

.hero-carousel .carousel-control-next-icon {
  right: 0px !important;
}
.hero-carousel .carousel-control-prev-icon {
  left: 0px !important;
}

/* Hero Text Animation */
.hero-carousel .carousel-item .hero-subheading,
.hero-carousel .carousel-item .hero-heading,
.hero-carousel .carousel-item .btn-hero {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.hero-carousel .carousel-item.active .hero-subheading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}
.hero-carousel .carousel-item.active .hero-heading {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}
.hero-carousel .carousel-item.active .btn-hero {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

    /* ============================================ 
       5. Stats Section
    ============================================ */
    .stat-box {
      padding: 40px 20px;
      text-align: center;
      background: #fff;
      border-radius: 8px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease;
      border-bottom: 4px solid transparent;
      height: 100%;
    }
    .stat-box:hover {
      transform: translateY(-10px);
      border-bottom: 4px solid var(--accent-gold);
    }
    .stat-box h3 {
      font-size: 3rem;
      font-weight: 800;
      color: var(--primary-navy);
    }
    .stat-box span.counter-plus {
      color: var(--accent-gold);
    }


/* ============================================ 
   4. PROJECT CARDS & SMALL SLIDER
   ============================================ */
.project-card {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  background: #fff;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.project-card .card-title {
  font-size: 1.25rem;
}

/* Project Card Mini-Slider */
.slider-img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.custom-small-dots {
  margin-bottom: 10px;
}

.custom-small-dots [data-bs-target] {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50%;
  margin: 0 4px;
  background-color: #ffffff;
  border: none;
  opacity: 0.5;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  background-clip: padding-box;
  border-top: 0;
  border-bottom: 0;
}

.custom-small-dots .active {
  opacity: 1;
  transform: scale(1.3);
}

.custom-carousel-arrow {
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 15%; /* Prevents arrows from taking up the whole image click area */
}

.project-card:hover .custom-carousel-arrow {
  opacity: 0.8;
}

/* Buttons inside cards */
.btn-theme {
  background-color: var(--accent-gold);
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 10px 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-theme:hover {
  background-color: var(--accent-gold-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.btn-outline-theme {
  background-color: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
  font-weight: 600;
  padding: 8px 25px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-outline-theme:hover {
  background-color: var(--primary-navy);
  color: #fff;
}

/* ============================================ 
   5. WHY CHOOSE US
   ============================================ */
.feature-box {
  background: #fff;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-bottom: 4px solid transparent;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(15, 41, 66, 0.1);
  border-color: var(--accent-gold);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(243, 156, 18, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 25px auto;
  transition: all 0.3s ease;
}

.feature-box:hover .feature-icon-wrapper {
  background-color: var(--accent-gold);
  color: #fff;
  transform: scale(1.1);
}

.feature-box h5 {
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 15px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ============================================ 
   6. ABOUT US 
   ============================================ */
.about-content-box {
  max-height: 220px;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
  position: relative;
}

.about-content-text {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
  text-align: justify;
}

.about-content-text h5 {
  color: #333;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.about-content-text ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 1rem;
}

.about-content-text ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.25rem;
}

.about-content-text ul li::before {
  content: "•";
  color: var(--accent-gold);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2em;
  line-height: 1;
}

.about-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 1)
  );
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* ============================================ 
   7. GALLERY, FILTERS & LIGHTBOX
   ============================================ */

/* Scrollable Filter Container for Mobile */
.gallery-filter-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  padding-bottom: 10px;
}

/* Hide scrollbar for Chrome/Safari/Edge */
.gallery-filter-container::-webkit-scrollbar {
  display: none;
}

/* Flexbox setup for the buttons */
.gallery-filters {
  display: inline-flex;
  gap: 12px;
  flex-wrap: nowrap;
  padding: 0 10px;
  margin: 0 auto;
}

/* Filter Buttons Style */
.filter-btn {
  background-color: transparent;
  border: 2px solid var(--accent-gold, #25A25A);
  color: #333;
  padding: 8px 24px;
  border-radius: 30px;
  font-weight: 500;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--accent-gold, #25A25A);
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Gallery Items Transition & Hide Class */
.gallery-wrap {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-wrap.hide {
  display: none; /* JS is class ko use karega image hide karne ke liye */
}

/* Image Card Styling */
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 3px solid transparent;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--accent-gold, #25A25A);
  box-shadow: 0 10px 25px rgba(15, 41, 66, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Hover Dark Overlay with Icon */
.gallery-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 41, 66, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2.5rem;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay i {
  transform: translateY(0);
}

/* Lightbox Modal Specific Styling */
#lightboxModal .modal-content {
  background-color: transparent;
  border: none;
  align-items: center;
}

#lightboxModal .btn-close {
  position: absolute;
  top: -15px;
  right: 0px;
  background-color: var(--accent-gold, #25A25A);
  opacity: 1;
  border-radius: 50%;
  padding: 12px;
  z-index: 1055;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

#lightboxModal .btn-close:hover {
  background-color: #fff;
  transform: scale(1.1);
}

#lightboxImage {
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  max-height: 85vh;
  max-width: 100%;
  object-fit: contain;
  border: 4px solid #fff;
}

/* ============================================ 
   8. MODERN FAQ 
   ============================================ */
.modern-faq .accordion-item {
  border: 1px solid #eef0f3;
  border-radius: 12px !important;
  margin-bottom: 16px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  overflow: hidden;
}

.modern-faq .accordion-item:hover {
  border-color: rgba(243, 156, 18, 0.2);
  box-shadow: 0 10px 25px rgba(243, 156, 18, 0.08);
  transform: translateY(-2px);
}

.modern-faq .accordion-button {
  padding: 1.25rem 1.5rem;
  background: transparent;
  font-size: 1.05rem;
  color: #2c3e50;
  box-shadow: none !important;
}

.modern-faq .accordion-button::after {
  display: none !important;
}
.modern-faq .faq-text {
  padding-right: 15px;
  line-height: 1.4;
}

.modern-faq .faq-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #f4f6f9;
  color: #a0aab5;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.9rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-faq .accordion-button:not(.collapsed) {
  background-color: #fff;
  color: var(--accent-gold) !important;
  border-bottom: 1px dashed #f0f0f0;
}

.modern-faq .accordion-button:not(.collapsed) .faq-icon {
  background-color: var(--accent-gold);
  color: #ffffff;
  transform: rotate(-180deg);
  box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

.modern-faq .accordion-body {
  padding: 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
  background-color: #fafbfc;
}

/* Read More Button Trick */
.dynamic-toggle-btn .show-less-text {
  display: none;
}
.dynamic-toggle-btn[aria-expanded="true"] .show-more-text {
  display: none;
}
.dynamic-toggle-btn[aria-expanded="true"] .show-less-text {
  display: inline;
}
.dynamic-toggle-btn:hover {
  transform: translateY(-3px);
}

/* ============================================ 
   9. NAP & CONTACT MAP
   ============================================ */
.nap-box {
  background-color: var(--primary-navy);
  color: #fff;
  padding: 40px;
  border-radius: 10px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(15, 41, 66, 0.15);
  border-right: 5px solid var(--accent-gold);
}

.nap-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.nap-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.nap-item:hover .nap-icon {
  background: var(--accent-gold);
  color: #fff;
  transform: scale(1.1);
}
.nap-text h5 {
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}
.nap-text p,
.nap-text a {
  color: #e0e0e0;
  margin: 0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.nap-text a:hover {
  color: var(--accent-gold);
}

.map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(15, 41, 66, 0.1);
}

/* ============================================ 
   10. FOOTER 
   ============================================ */
.footer-area {
  background-color: var(--primary-navy);
  color: #e0e0e0;
  padding: 70px 0 20px;
  font-size: 0.95rem;
}
.footer-area p {
  line-height: 1.8;
}

.footer-heading {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 12px;
}
.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
}
.footer-links a i {
  color: var(--accent-gold);
  font-size: 0.8rem;
  margin-right: 8px;
  transition: transform 0.3s ease;
}
.footer-links a:hover {
  color: var(--accent-gold);
}
.footer-links a:hover i {
  transform: translateX(5px);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid transparent;
}
.footer-social a:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 20px;
  text-align: center;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
}
.footer-bottom a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-bottom a:hover {
  color: #fff;
}

/* ============================================ 
   11. FLOATING ACTION MENU
   ============================================ */
.floating-action-menu {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}
.floating-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.floating-btn:hover {
  transform: scale(1.1);
  color: black;
}
.btn-call-floating {
  background-color: var(--primary-navy);
}
.btn-whatsapp-floating {
  background-color: #25d366;
}

/* ============================================ 
   12. MOBILE RESPONSIVENESS (Media Queries)
   ============================================ */
@media (max-width: 768px) {
  p{
    font-size: 0.9rem !important;
  }
  body{
    padding: 0rem 0.2rem;
  }
  /* Hero Adjustments */
  .hero-carousel,
  .hero-carousel .carousel-inner,
  .hero-carousel .carousel-item {
    min-height: 300px !important;
    height: 40vh;
  }
  .hero-heading {
    font-size: 25px;
  }
  .hero-subheading {
    font-size: 15px;
  }
  .hero-carousel .z-3 {
    display: none !important;
  }

  /* FAQ Adjustments */
  .modern-faq .accordion-button {
    font-size: 0.95rem;
    padding: 1rem;
  }
  .modern-faq .faq-icon {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  .modern-faq .accordion-body {
    padding: 1rem;
    font-size: 0.9rem;
  }

  /* Floating Menu Adjustments */
  .floating-action-menu {
    bottom: 20px;
    right: 20px;
  }
}

/* ============================================ 
   Brands We Represent Section
   ============================================ */

.brand-logos-section {
    padding: 60px 0;
    background-color: #ffffff; 
}

/* Custom Decorative Separator (Dots and Line) */
.custom-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: max-content;
    margin-top: 8px;
}

.custom-separator .dot {
    width: 6px;
    height: 6px;
    background-color: #f27233; /* Blue matching the image */
    border-radius: 50%;
}

.custom-separator .line {
    width: 60px;
    height: 4px;
    background-color: #f27233; /* Blue matching the image */
    border-radius: 2px;
    margin-left: 2px;
}

/* The Sliding Track */
.brand-logos-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brand-logo-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Enables native swipe snapping */
    scrollbar-width: none; /* Hides scrollbar in Firefox */
    -ms-overflow-style: none; /* Hides scrollbar in IE/Edge */
    padding: 10px 0;
}

/* Hides scrollbar in Chrome/Safari */
.brand-logo-track::-webkit-scrollbar {
    display: none;
}

/* Individual Logo Cards (Flat & Full Color like the image) */
.brand-logo-item {
    flex: 0 0 auto;
    scroll-snap-align: center; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: transparent;
    border: none;
    
    /* Desktop Default: Shows approx 7 logos */
    width: calc(14.28% - 20px); 
    min-width: 120px;
    height: 80px;
}

.brand-logo-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
    /* Kept original colors to match your uploaded image */
}

.brand-logo-item:hover img {
    transform: scale(1.08); /* Slight zoom on hover for interactivity */
}

/* ============================================ 
   Mobile View: Show exactly 2 logos
   ============================================ */
@media (max-width: 768px) {
    .brand-logo-track {
        gap: 15px; 
        justify-content: flex-start; /* Aligns items to start for swiping */
    }
    
    .brand-logo-item {
        /* 50% width minus half the gap = exactly 2 items on screen */
        width: calc(50% - 7.5px);
        min-width: unset; 
        height: 70px;
    }
}


/* ============================================ 
   Page - smart-irrigation.html
   ============================================ */

/* Typography & Helpers */
.tracking-wide { letter-spacing: 2px; }
.tracking-wider { letter-spacing: 1px; }

.custom-line-height {
    line-height: 1.8;
    font-size: 15px;
}

.text-justify {
    text-align: justify;
    
}

/* 1. Hero Section */
.service-hero {
    position: relative;
    height: 55vh;           
    min-height: 400px;      
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Uses your brand's dark green mixed with black for readability */
    background: linear-gradient(to bottom, rgba(20, 108, 54, 0.75), rgba(15, 41, 66, 0.85)); 
    z-index: 1;
}

/* Custom Breadcrumb Arrow */
.service-hero .breadcrumb-item + .breadcrumb-item::before {
    content: "›"; 
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    line-height: 1;
}

.service-hero .breadcrumb-item a:hover {
    color: var(--accent-gold) !important;
}

/* 2. Two-Column Image Wrapper */
.image-wrapper img {
    transition: transform 0.5s ease;
}

.image-wrapper:hover img {
    transform: scale(1.03); 
}

.object-fit-cover {
    object-fit: cover;
}

/* 3. Responsive Adjustments */
@media (max-width: 991.98px) {
    .service-hero {
        height: 45vh;
        min-height: 350px;
    }
    
    .service-hero h1.display-4 {
        font-size: 2.2rem; 
    }
    
    .image-wrapper img {
        height: 300px !important; 
    }
}

/* 
================================================
  Products Page
================================================
*/

       /* ============================================ 
   IRRIGATION SERVICES & ALTERNATING ROWS
   ============================================ */

/* --- Hero Banner (Static Image) --- */
.hero-banner {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Fades the bottom of the image smoothly into the white background */
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0; 
    width: 100%; 
    height: 35%;
    background: linear-gradient(to top, #ffffff 5%, transparent 100%);
    pointer-events: none;
}

/* --- Layout Utilities --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    text-transform: capitalize;
    line-height: 1.3;
}

/* Custom underline accent using AB Orange */
.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background-color: var(--ab-orange);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.section-title.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Text styling for these specific sections */
.section-padding p, 
.pb-5 p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
    text-align: justify;
}

/* --- Alternating Content Images --- */
.content-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(15, 41, 66, 0.08); /* Soft Navy shadow */
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Dynamic Hover Effect: Lifts up and drops a solid AB Green shadow behind it */
.content-img:hover {
    transform: translateY(-8px);
    box-shadow: 20px 20px 0px rgba(20, 108, 54, 0.12); /* Solid AB Green offset */
}

/* Flips the shadow direction for the reversed rows so it always pulls outward */
.flex-md-row-reverse .content-img:hover {
    box-shadow: -20px 20px 0px rgba(20, 108, 54, 0.12);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-banner {
        height: 40vh;
        min-height: 250px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-padding p, 
    .pb-5 p {
        text-align: center; /* Better readability on mobile */
    }
    
    .content-img {
        margin-bottom: 30px;
    }
    
    /* Disables the offset shadow on mobile to prevent horizontal scrolling */
    .content-img:hover,
    .flex-md-row-reverse .content-img:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(20, 108, 54, 0.15); /* Soft blur shadow instead */
    }
    
    .flex-md-row-reverse {
        flex-direction: column;
    }
}


/* ============================================ 
   Page - Design Services
   ============================================ */

         /* Section Background */
      .process-section {
        background-color: #f4f7fa;
        padding: 80px 0;
      }

      /* Heading Styling */
      .process-heading {
        font-weight: 700;
        font-size: 28px;
        color: #000;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 10px;
      }

      /* Custom Diamond Divider */
      .custom-divider {
        position: relative;
        width: 300px;
        height: 2px;
        background-color: var(--accent-gold);
        margin: 0 auto 60px;
      }
      .custom-divider::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(45deg);
        width: 12px;
        height: 12px;
        background-color: var(--accent-gold);
      }

      /* --- ICON BOX STYLING --- */
      .icon-box {
        background-color: #fff;
        border-radius: 12px;
        padding: 30px 20px;
        text-align: center;
        height: 100%;
        box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        border: 1px solid rgba(0,0,0,0.05);
        transition: all 0.3s ease;
      }

      .icon-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(20, 108, 54, 0.1);
        border-color: var(--primary-navy);
      }

      /* Circular Theme Icon */
      .icon-wrapper {
        width: 80px;
        height: 80px;
        background-color: var(--primary-navy);
        color: #fff;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 32px;
        margin: 0 auto 20px; /* Center alignment */
        box-shadow: 0 6px 15px rgba(20, 108, 54, 0.3);
        transition: transform 0.3s ease;
      }
      
      .icon-box:hover .icon-wrapper {
        transform: scale(1.1);
      }

      /* Text Styling */
      .icon-box-text {
        font-size: 15px;
        font-weight: 500;
        color: #4a5568;
        line-height: 1.6;
        margin: 0;
        text-align: center !important;
      }

      @media (max-width: 768px) {
        .process-heading {
          font-size: 24px;
        }
        .icon-box {
          padding: 25px 15px;
        }
      }
