.material-symbols-outlined {
  font-variation-settings:
    'FILL' 0,
    'wght' 400,
    'GRAD' 0,
    'opsz' 24;
  transition: transform 0.3s ease;
  line-height: 1;
  vertical-align: middle;
}

.theme-toggle:hover .material-symbols-outlined,
.lang-toggle:hover .material-symbols-outlined {
  transform: rotate(20deg);
}

:root {
  --bg: #f7fbff;
  --text: #0f172a;
  --muted: #475569;
  --muted-soft: #64748b;
  --header-bg: rgba(255, 255, 255, 0.88);
  --header-border: rgba(15, 23, 42, 0.08);
  --surface: #ffffff;
  --surface-soft: #edf4fb;
  --card-bg: rgba(255, 255, 255, 0.95);
  --card-border: rgba(15, 23, 42, 0.08);
  --primary: #0b3b75;
  --primary-hover: #0e4d98;
  --primary-contrast: #ffffff;
  --button-secondary-bg: transparent;
  --button-secondary-border: rgba(255, 255, 255, 0.35);
  --button-secondary-text: #ffffff;
  --hero-overlay: rgba(8, 26, 56, 0.58);
  --theme-backdrop: rgba(15, 23, 42, 0.45);
  --panel-bg: #ffffff;
  --panel-text: #0f172a;
  --panel-muted: #64748b;
  --panel-border: rgba(15, 23, 42, 0.1);
  --contact-card-bg: rgba(255, 255, 255, 0.9);
  --contact-card-border: rgba(15, 23, 42, 0.08);
}

body.dark-mode {
  --bg: #0a0f1a;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.7);
  --muted-soft: rgba(255, 255, 255, 0.5);
  --header-bg: rgba(10, 15, 26, 0.88);
  --header-border: rgba(255, 255, 255, 0.08);
  --surface: #0a0f1a;
  --surface-soft: #111827;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(255, 255, 255, 0.08);
  --primary: #3b82f6;
  --primary-hover: #60a5fa;
  --button-secondary-bg: transparent;
  --button-secondary-border: rgba(255, 255, 255, 0.2);
  --button-secondary-text: #ffffff;
  --hero-overlay: rgba(2, 6, 23, 0.72);
  --theme-backdrop: rgba(0, 0, 0, 0.62);
  --panel-bg: #111827;
  --panel-text: #ffffff;
  --panel-muted: rgba(255, 255, 255, 0.6);
  --panel-border: rgba(255, 255, 255, 0.08);
  --contact-card-bg: rgba(255, 255, 255, 0.04);
  --contact-card-border: rgba(255, 255, 255, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
}

.theme-header {
  background: var(--header-bg);
  border-color: var(--header-border);
  backdrop-filter: blur(16px);
}

.theme-text { color: var(--text); }
.theme-muted { color: var(--muted); }
.theme-muted-soft { color: var(--muted-soft); }
.theme-surface { background: var(--surface); }
.theme-link { color: var(--primary); }
.theme-link:hover { text-decoration: underline; }
.border-theme { border-color: var(--card-border); }

.nav-link:hover,
.mobile-link:hover {
  color: var(--text);
}

.section-label {
  color: var(--muted-soft);
}

.hero-overlay {
  background: var(--hero-overlay);
}

.theme-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(10px);
}

.theme-card-hover:hover {
  background: color-mix(in srgb, var(--card-bg) 88%, var(--text) 4%);
  border-color: color-mix(in srgb, var(--card-border) 70%, var(--text) 18%);
}

.theme-toggle,
.lang-toggle {
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text);
  transition: all 0.3s ease;
}

.theme-toggle:hover,
.lang-toggle:hover {
  border-color: var(--text);
  transform: translateY(-1px);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  white-space: nowrap;
  padding: 0;
}

.theme-primary-btn {
  background: var(--primary);
  color: var(--primary-contrast);
}

.theme-primary-btn:hover {
  background: var(--primary-hover);
}

.theme-secondary-btn {
  background: var(--button-secondary-bg);
  border-color: var(--button-secondary-border);
  color: var(--button-secondary-text);
}

.theme-backdrop {
  background: var(--theme-backdrop);
}

.theme-panel {
  background: var(--panel-bg);
  color: var(--panel-text);
  border-color: var(--panel-border);
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.2);
}

.theme-panel-muted {
  color: var(--panel-muted);
}

.panel-handle {
  background: color-mix(in srgb, var(--text) 20%, transparent);
}

.theme-contact-card {
  background: var(--contact-card-bg);
  border: 1px solid var(--contact-card-border);
}

/* CLIENT CARDS */
.client-tab {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--card-border);
  transition: all 0.25s ease;
}

.client-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.client-tab:hover {
  transform: translateY(-1px);
}

.client-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  min-height: 110px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.client-card:hover {
  transform: translateY(-6px);
  background: #ffffff;
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 8px 20px rgba(59, 130, 246, 0.10);
}

body.dark-mode .client-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.client-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 80px;
  object-fit: contain;
}

.client-card:hover .client-logo {
  transform: scale(1.05);
}

.theme-contact-bg {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b3b75 0%, #1d4ed8 100%);
}

.language-dropdown {
  position: relative;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  min-width: 220px;
  padding: 0.5rem;
  border-radius: 18px;
  border: 1px solid var(--card-border);
  background: var(--surface);
  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  z-index: 80;
}

.lang-menu.hidden {
  display: none;
}

.lang-option {
  width: 100%;
  display: block;
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-radius: 14px;
  color: var(--text);
  background: transparent;
  border: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lang-option:hover {
  background: color-mix(in srgb, var(--card-bg) 80%, var(--text) 6%);
}

.lang-option.is-active {
  background: color-mix(in srgb, var(--primary) 14%, var(--surface) 86%);
  color: var(--text);
  font-weight: 600;
}

body.dark-mode .lang-menu {
  background: var(--panel-bg);
  border-color: var(--panel-border);
}

@media (max-width: 767px) {
  #site-brand {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
  }

  .language-dropdown {
    width: fit-content;
  }

  .lang-menu {
    right: auto;
    left: 0;
    min-width: 210px;
  }
}

@media (max-width: 640px) {
  .client-card {
    padding: 20px;
    min-height: 130px;
  }

  .client-logo {
    transition: all 0.3s ease;
  }

  .client-card:hover .client-logo {
    opacity: 1;
    transform: scale(1.08);
  }
}

/* Location Nav Pills Styling */
#location .nav-pills .nav-link {
  color: var(--muted);
  background-color: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

#location .nav-pills .nav-link:hover {
  color: var(--text);
  border-color: var(--primary);
}

#location .nav-pills .nav-link.active {
  color: #ffffff;
  background-color: var(--primary);
  border-color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer-root {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #060e1f 0%, #0b1a36 50%, #071228 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Ambient glow orbs */
.footer-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.22;
}
.footer-glow-left {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #1d4ed8 0%, transparent 70%);
  top: -120px;
  left: -160px;
}
.footer-glow-right {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  bottom: -80px;
  right: -100px;
  opacity: 0.14;
}

/* Section label */
.footer-label {
  color: #60a5fa;
  letter-spacing: 0.22em;
}

/* Muted text */
.footer-muted {
  color: rgba(255, 255, 255, 0.48);
}

/* Glassmorphism contact card (left column) */
.footer-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Icon wrapper */
.footer-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Contact item labels & values */
.footer-contact-label {
  color: rgba(255, 255, 255, 0.38);
}
.footer-contact-value {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
  text-decoration: none;
}
.footer-contact-value:hover {
  color: #ffffff;
}

/* Location dot */
.footer-location-dot {
  display: block;
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3b82f6;
  margin-top: 6px;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Location type badge */
.footer-location-type {
  color: #60a5fa;
}

/* Divider between locations */
.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

/* Bottom bar */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
