/* ===============================
   Root Variables
   =============================== */
:root {
    /* Brand colors */
    --green: #28A745;
    --light-green: #8DE16F;
    --dark-green: #126433;
    --accent-green: #b9d532;
    --accent-btn-hover: #9db81d;

    /* Neutrals */
    --charcoal: #1d1d1d;
    --grey: #6c757d;
    --text: #212529;
    --soft-grey: #F7F7F7;
    --light-green-tint: #f1f4e4;
    --white: #ffffff;
}

/* ===============================
   Typography
   =============================== */
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-green);
    font-weight: 400;
    letter-spacing: normal;
    line-height: 1.4em;
    font-size: 16px;

}

h1,h2,h3,h4,h5,h6 {
    font-family: "Oswald", sans-serif;
    line-height: 1em;

}

h1,h2,h3,h4,h5,h6 {
    font-weight: 500;
}

.heading-lg {
    font-family: "Oswald", sans-serif;
    font-size: 74px;
}

.heading-md {
    font-family: "Oswald", sans-serif;
    font-size: 30px;
    font-weight: 500;
}

.heading-sm {
    font-family: "Oswald", sans-serif;
    font-size: 24px;
    font-weight: 500;
}

@media (max-width: 580px) {

.heading-lg {
    font-family: "Oswald", sans-serif;
    font-size: 40px;
}

.heading-md {
    font-family: "Oswald", sans-serif;
    font-size: 20px;
}
  
}

p {
    font-size: 16px;
}

@media (min-width: 992px) {
  p, .btn{
    font-size: 20px;
  }

  body {
    font-size: 20px;
  }
}

a {
    text-decoration: none;
    color: inherit;
}

#footer a:hover {
    text-decoration: underline;
}

.text-small{
  font-size: 16px;
  line-height: 1.2;;
}

b, strong {
    font-weight: 500;
}

/* ===============================
   Navbar
   =============================== */
  
.nav-link {
    color: var(--charcoal);
    font-weight: 500;
}

.nav-link:hover { color: var(--green); }

.custom-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none!important;
}

.custom-toggler span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background-color: #126433; /* your dark green */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Custom dropdown toggle button styling */
.custom-dropdown {
    color: var(--charcoal); /* Navbar text color */
    font-weight: 500;
    transition: color 0.3s;
}

/* Custom dropdown menu */
.custom-dropdown-menu {
    background-color: #f9f9f9;
    border-radius: 0px;
    border: 0px solid #ddd;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.5);
    min-width: 200px;
    padding: 0 30px;

    /* Keep Bootstrap default behavior for navbar dropdowns */
    padding: 0.4rem 0;
}

/* Dropdown items */
.custom-dropdown-menu .dropdown-item {
    color: var(--charcoal); /* Navbar text color */
    padding: 0.5rem 1.2rem;
    background-color: #ffffff;
    transition: background 0.3s, color 0.3s;
    font-size: 18px;
    font-weight: 500;
    border-left: 5px solid var(--accent-green);
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 0px;
    display: flex;
    justify-content: space-between;

}

/* Hover effect */
.custom-dropdown-menu .dropdown-item:hover,
.custom-dropdown-menu .dropdown-item:focus {
    background-color: #ebebeb;
    color: var(--charcoal);
    border-radius: 0px;
    border-left: 5px solid var(--green);
}

/* Optional: animate dropdown appearance */
.dropdown.show .custom-dropdown-menu {
    animation: dropdownFadeIn 0.3s ease forwards;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* ==========lists===============
=====*/
.icon-list-items {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.areas .icon-list-items {
   display: grid;
    grid-template-columns: 1fr;
   gap: 0.75rem;
}

@media (min-width: 768px) {
  .areas .icon-list-items {
    grid-template-columns: repeat(2, 1fr);
  }
}

.icon-list-item {
    align-items: flex-start, center;
    display: flex;
}

.icon-list-item a, p a {
  font-weight: 500;
  text-decoration: underline;
}

.icon-list-item a:hover, p a:hover {
  font-weight: 600;
}

.icon-list-item {
    margin: 0;
    padding: 0;
    position: relative;
}

.icon-list-item:not(:last-child) {
    padding-block-end: calc(50px / 2);
}

.icon-list-icon {
   text-align: left;
}

.icon-list-icon {
    display: flex;
    inset-block-start: var(2px, initial);
    position: relative;
}

.icon-list-icon svg {
    height: 24px;
    width: 24px;
}

.icon-list-icon svg {
    margin: var(--e-icon-list-icon-margin, 0 calc(var(--e-icon-list-icon-size, 1em) * .25) 0 0);
}

.icon-list-icon svg {
    fill: #b9d532;
    transition: fill 0.3s;
}

/* ===============================
   Buttons
   =============================== */
.btn {
    font-weight: 500;
    border-radius: 0;
}

.btn-green {
    background: var(--accent-green);
    color: #1d1d1d;
    border-radius: 0px;
}

.btn-green-outline {
    border: 2px solid var(--green);
    color: var(--green);
    background: var(--white);
    
}

.btn-green:hover {
    background: var(--accent-btn-hover); 
}

.btn-green-outline:hover {
    background: var(--green);
    color: var(--white);
}

/* ===============================
   Sections
=============================== */
.hero {
  display: flex;
  align-items: anchor-center;
  overflow: hidden;
}

/* Full-height, full-bleed right image for Hero */
.hero-image {
  position: absolute;       /* escape container */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/kwevent.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;               /* behind text */
}

/* Ensure text stays above image */
.hero .container {
  z-index: 1;
}


/* Mobile: normal flow */
.hero {
  min-height: auto;
}

/* Desktop only */
@media (min-width: 992px) {
  .hero {
    min-height: 70vh;
  }
}

/* Hide image on mobile */
@media (max-width: 991px) {
  .hero-image {
    display: none;
  }
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0)
  );
}

.sectors {
  overflow: hidden;
}

/* Full-height, full-bleed right image */
.sectors-image {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 38vw;              /* right half of viewport */
  min-height: 60vh;        /* full height */
  background-image: url('/assets/images/kwvan.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;               /* behind text */
}

/* Ensure text is above image */
.sectors .container {
  position: relative;
  z-index: 1;
}

/* Hide image on mobile */
@media (max-width: 991px) {
  .sectors-image {
    display: none;
  }
}

.sectors-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0)
  );
}

.split-content {
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.section-grey { background: var(--soft-grey); }
.section-dark { background: var(--charcoal); color: var(--white); }
.section-green { background: var(--dark-green); color: var(--white); position: relative; z-index: 1; }

.bg-light-green { background: var(--light-green-tint); position: relative;}


.section-green h1, .section-green h2 { color: var(--accent-green); }
.underline-green { width: 70px; height: 3px; background: var(--green); margin: 10px auto; }

.b2b-hero-image{
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;              /* right half of viewport */
  min-height: 50vh;
  background-size: cover;
  background-position: right;
  background-image: url('/assets/images/wastemanagement.png');
  z-index: 0;               /* behind text */
}

.sectors-offer {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/kwendofT.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;               /* behind text */
}

.sectors-biohero{
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 50vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/sectors-biohero.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;               /* behind text */
}

.sectors-disinfhero {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/kwdisinfection.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;           
}

.sectors-hoarder {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/kwhoarder.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;           
}

.sectors-mould {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/kwmould.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;           
}

.sectors-domestichero {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw2.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;           
}

.sectors-gardenhero {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw12.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;           
}

.sectors-probatehero {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw14.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;           
}

.sectors-commercialhero {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 40vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw16.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;           
}



.sectors-ns {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 35vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/sectors-ns.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sectors-domesticsupport {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 35vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw4.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sectors-gardensupport {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 35vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw11.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sectors-probatesupport {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 35vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw13.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sectors-commercialsupport {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 35vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/gallery/kw17.webp'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}


.sectors-mouldprocess {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 35vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/kwmouldprocess.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sectors-grab {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 45vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/kwgrab.png'); /* replace with your image */
  background-size: cover;
  background-position: start center;
  z-index: 0;
}

.sectors-biowhy {
  position: absolute;       /* escape container constraints */
  top: 0;
  left: 0;
  bottom: 0;
  width: 49vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/sector-contact.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.sectors-contact {
  position: absolute;       /* escape container constraints */
  top: 0;
  right: 0;
  bottom: 0;
  width: 35vw;              /* right half of viewport */
  min-height: 50vh;        /* full height */
  background-image: url('/assets/images/sector-contact.png'); /* replace with your image */
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* ===============================
   Gallery
=============================== */
.gallery-img {
    width: 100%;
    border-radius: 0px;
    border: 1px solid #E0E0E0;
    transition: transform 0.3s;
    max-height: 400px;
}

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

/* Mobile swipe gallery */
@media (max-width: 767px) {
  .gallery-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .gallery-row > div {
    flex: 0 0 80%;           /* width of one card + peek */
    scroll-snap-align: center;
  }

  /* Hide scrollbar */
  .gallery-row::-webkit-scrollbar {
    display: none;
  }
}

/* Desktop: normal 3x2 grid */
@media (min-width: 768px) {
  .gallery-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -0.75rem; /* adjust for gutter if needed */
    margin-right: -0.75rem;
  }

  .gallery-row > div {
    flex: 0 0 33.3333%; /* 3 per row */
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    margin-bottom: 1rem;
  }
}

/* ===============================
   Service Cards
   =============================== */
.service-card {
    position: relative;
    z-index: 5;
    background: var(--white);
    border: 0px solid var(--accent-green);
    border-radius: 0px;
    transition: 0.3s;
    text-align: center;
    border-top: 5px solid var(--accent-green);
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);
}

.service-card h4 { color: var(--dark-green); }

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    border-color: var(--green);
}

.service-icon i { font-size: 48px; color: var(--green); }

/* Overlap section styling */
.overlap-services { padding-bottom: 120px; }
.overlap {
    margin-top: -80px;
    padding-top: 0px !important;
    position: relative;
    z-index: 1;
}

/* ===============================
   Review Cards
   =============================== */
.review-card {
    background-color: var(--light-green-tint);
    border: 0;
    border-radius: 5px 20px 5px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* ===============================
   WhatsApp Banner
   =============================== */
.whatsapp-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--accent-green);
    color: #000000;
    padding: 12px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    z-index: 9999;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, opacity 0.3s;
    animation: slideIn 0.6s ease-out;
}

.whatsapp-banner:hover { transform: scale(1.05); background: var(--accent-btn-hover); }
.whatsapp-banner img { width: 28px; height: 28px; }
.whatsapp-banner span { font-size: 15px; }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@media(max-width:480px){
    .whatsapp-banner {
        padding: 10px 18px;
        right: 15px;
        bottom: 15px;
    }
    .whatsapp-banner span { font-size: 14px; }
    .whatsapp-banner img { width: 26px; height: 26px; }
}

/* ===============================
   Areas Banner
   =============================== */

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    justify-items: center;
    margin-top: 20px;
}

.areas-grid h3 {
    background: var(--accent-green);
    color: var(--dark-green);
    padding: 12px 20px;
    border-radius: 0px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    font-size: 20px;
}

.areas-grid h3:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* ===============================
   Trust Section
   =============================== */
.testimonial-card {
      background: #fff;
      border: none;
      border-radius: 0px;
      padding: 30px 20px;
      height: 100%;
      text-align: center;
      box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);

    }

    .testimonial-card img {
      max-height: 8%;
      margin-bottom: 15px;
      object-fit: contain;
    }

    .stars {
      color: var(--dark-green);
      margin-bottom: 15px;
    }

    .stars i {
    font-size: 1.1rem;
    }

    .testimonial-text {
      font-weight: 400;
      color: var(--text);
      margin-bottom: 10px;
      line-height: 1.1em;
    }

    .testimonial-name {
      font-weight: 700;
      color: inherit;
    }

/* Mobile swipe + auto-centre */
@media (max-width: 767px) {
  .testimonials-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    padding-left: 1rem;
    padding-right: 1rem;
    gap: 1rem;
  }

  .testimonials-row > div {
    flex: 0 0 85%;
    scroll-snap-align: center;
  }

  /* Optional: hide scrollbar */
  .testimonials-row::-webkit-scrollbar {
    display: none;
  }
}

/* Desktop: unchanged grid */
@media (min-width: 768px) {
  .testimonials-row {
    display: flex;
    flex-wrap: wrap;
  }
}

/* ===============================
   Why us
   =============================== */
.why-choose-us {
  background-color: #061f4a; /* dark blue */
  padding: 60px 20px;
}

.why-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.why-card {
  background: transparent;
  color: #ffffff;
  text-align: center;
}

.why-icon {
  width: 60px;
  height: 60px;
  background-color: #b9d532; /* yellow */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.why-icon i {
 font-size: 30px;
 color: #126433;
}

.why-card h3 {
  margin-bottom: 12px;
  font-family: "Oswald", sans-serif;

}

.why-card p {
  line-height: 1.2em;
}

/* Mobile */
@media (max-width: 768px) {
  .why-container {
    gap: 40px;
  }

  .why-card {
    max-width: 100%;
  }
}

/*================
CONTACT PAGE ====*/
.contact-option-box {
    border-radius: 0px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-icon, .grab-icon {
    font-size: 2.5rem;
    color: var(--dark-green); /* Match your green */
}

.btn-outline-green {
    border: 2px solid #2f8f5b;
    color: #2f8f5b;
    padding: 0.5rem 1.5rem;
}

.btn-outline-green:hover {
    background-color: #2f8f5b;
    color: #fff;
}



