/* ===== GLOBAL ===== */
html, body { overflow-x: hidden; max-width: 100%; }

/* ===== HEADER STYLES ===== */
.site-header {
  width: 100%;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* --- Top Bar --- */
.header-topbar {
  background: #fff;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.topbar-logo .logo-img {
  height: 130px;
  width: auto;
  object-fit: contain;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-left: auto;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item.contact-address {
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.contact-item.contact-address > div {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 15px;
  color: #555;
}

.contact-value {
  font-size: 17px;
  font-weight: 700;
  color: #111;
  text-decoration: none;
}

.contact-value.phone {
  font-size: 21px;
  color: #111;
}

.contact-value:hover {
  color: #4caf50;
}

.address-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.contact-divider {
  width: 1px;
  height: 44px;
  background: #ddd;
}

/* --- Navbar --- */
.header-navbar {
  background: #fff;
  border-top: 1px solid #eee;
}

.navbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 18px 16px;
  font-size: 16px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #4caf50;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 3px;
  background: #8bc34a;
  border-radius: 2px 2px 0 0;
}

.dropdown-plus {
  color: #4caf50;
  font-weight: 700;
}

/* Careers button */
.nav-careers {
  background: #8bc34a;
  color: #fff !important;
  border-radius: 30px;
  padding: 12px 28px !important;
  margin: 6px 8px;
  font-weight: 700;
}

.nav-careers:hover {
  background: #7cb342;
  color: #fff !important;
}

.nav-careers.active::after {
  display: none;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 270px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.13);
  border-radius: 0 0 8px 8px;
  list-style: none;
  padding: 0;
  z-index: 999;
  border-top: 3px solid #8bc34a;
}

.dropdown-menu li {
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 22px;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: color 0.15s;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  color: #29abe2;
}

.dropdown-menu li a:hover::before {
  content: '\2014';
  font-weight: 700;
  color: #29abe2;
  flex-shrink: 0;
}

.dropdown-menu li a.active {
  color: #4caf50;
  font-weight: 600;
}

.dropdown-menu li a.active::before {
  content: '\2014';
  font-weight: 700;
  color: #4caf50;
  flex-shrink: 0;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* ===== MOBILE TOP BAR ===== */
.mobile-topbar {
  display: none;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mobile-logo-wrap {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mobile-logo-img {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.mobile-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-call-btn {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: #29abe2;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: background 0.2s;
}

.mobile-call-btn:hover {
  background: #1e96cc;
}

.mobile-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
}

.mobile-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  border-radius: 2px;
}

/* ===== MOBILE MENU PANEL ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 82%;
  max-width: 320px;
  height: 100vh;
  min-height: 100vh;
  background: #fff;
  z-index: 99999;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: left 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
}

.mobile-menu.open {
  left: 0;
}

.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  backdrop-filter: blur(1px);
}

.mobile-backdrop.open {
  display: block;
}

/* Menu header row */
.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 12px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.mobile-menu-logo-link {
  display: inline-flex;
  align-items: center;
}

.mobile-menu-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #555;
  padding: 2px 8px;
  transition: color 0.15s;
}

.mobile-menu-close:hover {
  color: #29abe2;
}

/* Search bar */
.mobile-search-bar {
  display: flex;
  align-items: center;
  margin: 14px 16px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.mobile-search-input {
  flex: 1;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 14px;
  color: #333;
  font-family: inherit;
}

.mobile-search-btn {
  background: none;
  border: none;
  border-left: 1.5px solid #ddd;
  padding: 9px 14px;
  cursor: pointer;
  color: #888;
  display: flex;
  align-items: center;
}

.mobile-search-btn i {
  font-size: 16px;
}

/* Nav list */
.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list > li {
  border-bottom: 1px solid #f2f2f2;
}

.mobile-nav-link {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: color 0.15s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #29abe2;
}

/* Services row with toggle */
.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 14px;
}

.mobile-nav-row .mobile-nav-link {
  flex: 1;
}

.mobile-sub-toggle {
  flex-shrink: 0;
  background: none;
  border: 1.5px solid #ddd;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #666;
  padding: 0;
  transition: border-color 0.15s, color 0.15s, transform 0.2s;
}

.mobile-sub-toggle i {
  font-size: 13px;
  transition: transform 0.2s;
  display: inline-block;
}

.mobile-sub-toggle.open {
  border-color: #29abe2;
  color: #29abe2;
}

.mobile-sub-toggle.open i {
  transform: rotate(180deg);
}

/* Sub menu */
.mobile-sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f7fbff;
}

.mobile-sub-menu.open {
  display: block;
}

.mobile-sub-menu li {
  border-top: 1px solid #ebebeb;
}

.mobile-sub-menu a {
  display: block;
  padding: 11px 20px 11px 38px;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
  position: relative;
}

.mobile-sub-menu a::before {
  content: '–';
  position: absolute;
  left: 22px;
  color: #bbb;
}

.mobile-sub-menu a:hover {
  color: #29abe2;
}

/* Careers pill */
.mobile-careers-li {
  padding: 12px 16px;
  border-bottom: none !important;
}

.mobile-careers-btn {
  display: block !important;
  background: #8bc34a;
  color: #fff !important;
  border-radius: 30px;
  padding: 13px 20px !important;
  text-align: center;
  font-weight: 700 !important;
}

.mobile-careers-btn:hover {
  background: #7cb342;
  color: #fff !important;
}

/* Prevent body scroll when menu open */
body.menu-open {
  overflow: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .header-topbar { display: none; }
  .header-navbar  { display: none; }
  .mobile-topbar  { display: flex; }
}
