/* Custom header / layout overrides — edit this file, not style.css */

/* Keep menu centered like the live site */
.header__area {
  padding: 12px 0;
  overflow: visible;
}
.header__area .container,
.header__area .row,
.header__area [class*="col-"] {
  overflow: visible;
}
.header__area-menubar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  overflow: visible;
}
.header__area-menubar-left {
  justify-self: start;
  flex-shrink: 0;
}
.header__area-menubar-center {
  justify-self: center;
  min-width: 0;
}
.header__area-menubar-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 8px;
  overflow: visible;
  position: relative;
  z-index: 130;
  flex-shrink: 0;
}

/* Logo — clear size, bar still compact */
.header__area-menubar-left-logo a {
  display: block;
  line-height: 0;
}
.header__area-menubar-left-logo a img {
  width: 190px;
  max-width: 190px !important;
  height: auto;
  max-height: 78px;
  object-fit: contain;
  display: block;
}

/* Nav: tighter spacing + icons */
.header__area-menubar-center-menu ul li {
  margin: 0 2.3px;
}
.header__area-menubar-center-menu ul li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  white-space: nowrap;
}
.header__area-menubar-center-menu ul li a i {
  font-size: 14px;
  line-height: 1;
  color: var(--primary-color-1);
  transition: 0.3s;
}
.header__area-menubar-center-menu ul li:hover > a i {
  color: var(--primary-color-1);
}
.header__area-menubar-center-menu ul li .sub-menu li > a {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: normal;
}
.header__area-menubar-center-menu ul li .sub-menu li > a i {
  font-size: 13px;
  width: 16px;
  color: var(--primary-color-1);
}

/* Overlay search — does not push navbar items */
.header__area-menubar-right-search {
  position: relative;
  margin-right: 8px;
  padding-right: 0;
  border-right: 0;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  z-index: 140;
  overflow: visible;
}
.header-inline-search {
  position: relative;
  display: block;
  width: 42px;
  height: 42px;
  overflow: visible;
}
.header-inline-search.is-open {
  width: 42px;
}
.header-inline-search input[type=search] {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px !important;
  max-width: none !important;
  height: 42px !important;
  min-height: 42px !important;
  line-height: 42px;
  padding: 0 42px 0 16px !important;
  font-size: 14px;
  background: var(--bg-white);
  border: 1px solid var(--border-color-1);
  border-radius: 50px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: width 0.25s ease, opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1;
}
.header-inline-search.is-open input[type=search] {
  width: 280px !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.header-inline-search input[type=search]::-webkit-search-decoration,
.header-inline-search input[type=search]::-webkit-search-cancel-button,
.header-inline-search input[type=search]::-webkit-search-results-button,
.header-inline-search input[type=search]::-webkit-search-results-decoration {
  display: none;
}
.header-inline-search .header-search-btn {
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 42px;
  padding: 0 !important;
  margin: 0;
  line-height: 42px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 50%;
  color: var(--text-heading-color);
  font-size: 18px;
  box-shadow: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.header-inline-search .header-search-btn i {
  line-height: 1;
  pointer-events: none;
}
.header-inline-search .header-search-btn:hover,
.header-inline-search .header-search-btn:focus {
  background: transparent !important;
  color: var(--primary-color-1);
}

/* News sidebar trigger */
.header__area-menubar-right-sidebar {
  margin-right: 12px;
  flex-shrink: 0;
}

/* Mobile menu search */
.mobile-menu-search {
  width: 100% !important;
  min-width: 100%;
  margin: 20px 0 10px;
  height: 48px;
}
.mobile-menu-search input[type=search] {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  width: 100% !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  height: 48px !important;
  background: var(--bg-white);
  box-shadow: none;
}
.vertical_menu ul li a i {
  margin-right: 10px;
  width: 18px;
  text-align: center;
  color: var(--primary-color-1);
}

/* News sidebar content */
.news-sidebar-header {
  margin-bottom: 30px;
}
.news-sidebar-label {
  display: inline-block;
  color: var(--secondary-color);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.header__area-menubar-right-sidebar-popup h4 {
  color: var(--text-white);
  margin-bottom: 10px;
}
.news-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.news-sidebar-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.news-sidebar-item-image {
  flex: 0 0 72px;
}
.news-sidebar-item-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
}
.news-sidebar-item-content span {
  display: block;
  color: var(--color-8);
  font-size: 13px;
  margin-bottom: 6px;
}
.news-sidebar-item-content h6 {
  color: var(--text-white);
  font-size: 16px;
  line-height: 24px;
  margin: 0;
}
.news-sidebar-item:hover h6 {
  color: var(--secondary-color);
}
.news-sidebar-empty {
  color: var(--color-8);
  text-align: center;
  padding: 30px 10px;
}
.news-sidebar-empty i {
  font-size: 32px;
  display: block;
  margin-bottom: 12px;
  color: var(--secondary-color);
}
.news-sidebar-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
  color: var(--secondary-color);
  font-weight: 600;
}
.news-sidebar-more:hover {
  color: var(--text-white);
}

/* Legal pages + copyright */
.legal-page-content h4 {
  margin: 28px 0 12px;
}
.legal-page-content p {
  margin-bottom: 16px;
}
.copyright__area-content.t-center {
  text-align: center;
}
.search-empty {
  padding: 40px 0 20px;
}

@media (max-width: 1399px) {
  .header__area-menubar-center-menu ul li {
    margin: 0 2.3px;
  }
  .header__area-menubar-center-menu ul li a {
    font-size: 13px;
    gap: 5px;
  }
  .header__area-menubar-left-logo a img {
    width: 170px;
    max-width: 170px !important;
    max-height: 70px;
  }
}

@media (max-width: 1199px) {
  .header__area {
    padding: 10px 0;
  }
  .header__area-menubar-left-logo a img {
    width: 155px;
    max-width: 155px !important;
    max-height: 64px;
  }
  .header__area-menubar-center-menu ul li {
    margin: 0 4px;
  }
  .header__area-menubar-center-menu ul li a {
    font-size: 13px;
  }
  .header-inline-search.is-open input[type=search] {
    width: 220px !important;
  }
}

@media (max-width: 991px) {
  .header__area {
    padding: 10px 0;
  }
  .header__area-menubar {
    display: flex;
    justify-content: space-between;
  }
  .header__area-menubar-right-search {
    display: none;
  }
  .header__area-menubar-right-sidebar {
    display: block !important;
    margin-right: 12px;
  }
  .header__area-menubar-left-logo a img {
    width: 140px;
    max-width: 140px !important;
    max-height: 58px;
  }
}

/* Our Clientele — home carousel */
.clientele__section {
  background: #f7f9f8;
}

/* Heading — smaller + decorative underline */
.clientele__home-title {
  max-width: 560px;
  margin: 0 auto;
}
.clientele__home-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #275A3B;
  background: rgba(39, 90, 59, 0.08);
  border: 1px solid rgba(39, 90, 59, 0.14);
  padding: 5px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}
.clientele__home-heading {
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.45;
  color: #1a2e22;
  margin: 0 auto;
  padding-bottom: 16px;
  position: relative;
  display: inline-block;
  max-width: 100%;
}
.clientele__home-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #275A3B, #3D7A59);
}
.clientele__home-heading::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #275A3B;
  box-shadow: 0 0 0 4px rgba(39, 90, 59, 0.15);
}

.clientele_slider {
  padding: 6px 2px 10px;
  margin-top: 8px;
}
/* Smooth continuous scroll (no stop-start feel) */
.clientele_slider .swiper-wrapper {
  transition-timing-function: linear !important;
}
.clientele_slider .swiper-slide {
  height: auto;
  width: 300px;
}
.clientele__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(39, 90, 59, 0.1);
  border-radius: 14px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.clientele__logo-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #275A3B, #3D7A59);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.clientele__logo-item:hover {
  border-color: rgba(39, 90, 59, 0.28);
  transform: translateY(-6px);
  box-shadow: 0 16px 28px -12px rgba(39, 90, 59, 0.18);
}
.clientele__logo-item:hover::after {
  opacity: 1;
}
.clientele__logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.clientele__logo-item img {
  width: 100%;
  height: 100%;
  max-width: 260px;
  max-height: 260px;
  object-fit: contain;
  opacity: 1;
  transition: transform 0.3s ease;
}
.clientele__logo-item:hover img {
  transform: scale(1.06);
}

@media (max-width: 575px) {
  .clientele__section.section-padding {
    padding-top: 36px !important;
    padding-bottom: 36px !important;
  }
  .clientele__section .mb-40 {
    margin-bottom: 14px !important;
  }
  .clientele__section .mt-45 {
    margin-top: 18px !important;
  }
  .clientele__section .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .clientele__home-badge {
    margin-bottom: 8px;
    padding: 4px 10px;
    font-size: 11px;
  }
  .clientele__home-heading {
    font-size: 16px !important;
    padding-bottom: 12px;
  }
  .clientele_slider {
    padding: 0;
    margin-top: 0;
  }
  .clientele_slider .swiper-slide,
  .clientele__logo-item {
    width: 300px;
    height: 300px;
  }
  .clientele__logo-item {
    padding: 16px;
    border-radius: 12px;
  }
  .clientele__logo-item img {
    max-width: 268px;
    max-height: 268px;
    width: 100%;
    height: 100%;
  }
}
