  .header__language-switcher .wpml-ls-legacy-list-horizontal ul li a {
    color: #ffffff !important;
}
.header__language-switcher .wpml-ls-legacy-list-horizontal ul li.wpml-ls-current-language a {
    border: 1px solid #000000 !important;
    color: #000 !important;
}
  body {
    overflow-x: hidden; /* Hide horizontal scrollbar */
    background-color: #000;
  }
  
  /* Hero Section */
  .hero-section {
    color: white;
    height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
  }
  .hero-content {
    max-width: 60%;
    padding-left: calc((100% - 1390px) / 2 + 15px)!important;
  }
  .hero-content .pre-text {
    font-size: 1rem;
    margin: 20px 0;
    color: #BCD900;
  }
  .hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
  }
  .hero-content span {

    font-weight: bold;
    color: #BCD900;
  }
  .hero-content p {
    font-size: 1.5rem;
    margin: 20px 0 30px 0;
  }
  .btn-inquire {
    background-color: #BCD900;
    color: black;
    font-weight: bold;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration:none;
  }
  .btn-inquire:hover {
    background-color: #a8c800;
  }


 /* Search bar Section */

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Section Styling */
.search-section {
  padding: 40px 20px;
  text-align: center;
  max-width: 1200px;
  margin: auto;
}

/* Green Outline Wrapper */
.search-bar-wrapper {
  padding: 15px;
  border: 1px solid #BCD900;
  border-radius: 50px;
  display: inline-block;
  width: 100%;
}

/* Search Bar Container */
.search-bar {
  display: flex;
  align-items: center;
  border-radius: 50px;
  overflow: hidden;
  background-color: #EDF0DB;
}

/* Fixed Label */
.search-label {
  background-color: #BCD900;
  color: #000;
  font-weight: bold;
  padding: 10px 20px;
  white-space: nowrap;
  border-right: 1px solid #CCD500;
  font-size: 14px;
}

/* Input Area */
.search-input {
  flex: 1;
  border: none;
  background-color: #EDF0DB;
  padding: 10px 16px;
  font-size: 16px;
  color: #000;
  outline: none;
}

/* Search Button */
.search-button {
  background: none;
  border: none;
  padding: 0 16px;
  cursor: pointer;
}

.search-button img {
  width: 20px;
  height: 20px;
}

/* Description Text */
.search-description {
  color: #fff;
  font-size: 18px;
  max-width: 900px;
  margin: 20px auto 0;
}


.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5rem;
  padding: 40px 5% 10%;
  align-items: center;
}

.brand-card {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.brand-card img {
  max-width: 120px;
  height: auto;
}

.brand-card:hover {
  transform: scale(1.05);
}

#brand-detail {
  background: #000;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

#brand-detail.hidden {
  display: none;
}

#brand-detail-content {
  max-width: 80%;
  margin: auto;
}

.brand-description {
  max-width: 65%;
  margin: 20px auto;
  text-align: center;
  line-height: 1.6;
}
#brand-detail-content img {
  margin: 10px;
}

.brand-detail-images {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.brand-detail-logo {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.brand-detail-images img {
  max-width: 100%;
  width: 520px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
}


#close-detail {
  position: absolute;
  top: 5%;
  right: 10%;
  background: none;
  border: none;
  cursor: pointer;
  color: #BCD900;
  transition: color 0.3s ease;
  padding: 0;
}
#close-detail:hover {
  color: #D1F036;
}
.close-icon {
  display: block;
  width: 41px;
  height: 41px;
}

.brochure-btn {
  background-color: #BCD900;
  color: #004B22;
  font-weight: 900;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.brochure-btn .btn-icon svg {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
}

.brochure-btn:hover {
  background-color: #d1ec00;
  color: #002d12;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
}

.brands-grid,
.brand-card,
#brand-detail,
#brand-detail *:not(.search-input) {
  user-select: none;
}

.brand-card,
.brochure-btn,
#close-detail {
  outline: none;
}

.brand-card img {
  user-select: none;
  pointer-events: auto; 
}

#no-results-message {
  text-align: center;
  color: #fff;
  font-size: 16px;
  margin-bottom: 30px;
}

.hidden-message {
  display: none !important;
}


.brand-card img {
  max-width: 100%;
  height: auto;
  transition: transform 0.2s ease;
  display: block;
  margin: auto;
}

.brand-card.logo-horizontal img {
  max-width: 180px;
  height: auto;
}

.brand-card.logo-vertical img {
  max-height: 70px;
  width: auto;
}

.hide-grid {
  display: none !important;
}

/*CTA Before footer*/
.cta-before-footer__title h2 {
    font-size: 36px!important;
    font-weight: 700!important;
     text-transform: uppercase;
}

#block_6787bfa2f572817d496f9ea54ec2f3ff{
  background-color: #fff;
}
.cta-before-footer .container {
    background-color: #fff;
}

.cta-before-footer__image-after {
    display: none;
}
.cta-before-footer__image-before .first {
    display: none;
}
.cta-before-footer__title {
    max-width: 500px !important;
    width: 100%;
}
.cta-before-footer__content a {
    background-color: #000 !important;
    border: 2px solid #000!important;
}
.cta-before-footer__content a:hover {
    background-color: #fff!important;
    border: 2px solid #000!important;
}

  @media (max-width: 768px) {
      .hero-section {
        height: 75dvh;
        background-position-x: center !important;
        padding-top: 10%;
      }
  
    .hero-content {
      max-width: 100%;
    }
    .hero-content h1 {
      font-size: 2rem;
      line-height: 2.5rem;
    }
    .search-description {
        font-size: 14px;
    }
    #close-detail {
    top: 1%;
    right: 5%;
    }
    .close-icon {
    display: block;
    width: 31px;
    height: 31px;
    }
    .brands-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 24px;
      justify-items: center;
    }

    .brand-card {
      width: 100%;
      display: flex;
      justify-content: center;
    }
    .brand-card.logo-horizontal img {
      max-width: 120px;
    }

    .brand-card.logo-vertical img {
      max-height: 70px;
    }
    .brands-grid .brand-card:nth-last-child(1):nth-child(odd) {
    grid-column: span 2;
    justify-content: center;
  }
    .brand-detail-logo {
    max-width: 160px;
  }
  .brand-description {
    max-width: 100%;
  }
  .brand-detail-images {
    gap: 0px;
}
  }