/* ===== CSS VARIABLES ===== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

:root {
  --brand: #1a357d;
  --brand-700: #152b66;
  --brand-300: #3a56a0;
  --ink-900: #0e1a2b;
  --ink-700: #2b3853;
  --muted: #6b7c86;
  --bg: #1a357d;
  --ring: rgba(255, 255, 255, 0.35);
  --radius: 12px;
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.06), 0 10px 24px rgba(0, 0, 0, 0.05);
  --nav-y: 8px;
  --padX: clamp(16px, 3vw, 40px);
  --header-h: 140px;
}

/* ===== GLOBAL RESETS & BASE STYLES ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--ink-900);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
  line-height: 1.45;
  position: relative;
  width: 100%;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-300);
}

/* Prevent Bootstrap conflicts */
img,
video,
canvas,
iframe,
svg {
  max-width: 100%;
  height: auto;
}

/* ===== HEADER STYLES ===== */
/* Make the whole header stick to top */
.site-header {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 9999; /* high so it sits above page content */
  overflow: visible; /* keep the current rule (you already had overflow: visible) */
  /* preserve any other properties you had (padding/etc) */
}

.site-header.hide {
  transform: translateY(-100%);
}

.topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--padX);
  background: var(--brand);
  color: #fff;
  overflow: visible;
  width: 100%;
}

.topbar::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -18px;
  width: max(clamp(320px, 30vw, 600px), calc(100% * 0.33));
  background: #fff;
  transform: skewX(-18deg);
  transform-origin: left top;
  border-bottom-right-radius: 22px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
  z-index: 0;
}

.topbar > * {
  position: relative;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
}

.brand-text .name {
  font-weight: 800;
  letter-spacing: 0.4px;
  color: #0e1a2b;
  font-size: 20px;
}

.brand-text .tag {
  font-size: 11px;
  color: #4a5770;
}

.partners {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
}

.partner-logo {
  height: 40px;
  width: auto;
  display: block;
  padding: 6px 10px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.partner-plain {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  height: 56px;
  width: auto;
}

/* ===== NAVIGATION STYLES ===== */
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--nav-y) var(--padX);
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  z-index: 200;
}

.nav-list {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Enhanced dropdown hover - no gap issues */
.nav-item {
  position: relative;
  font-weight: 600;
}

.nav-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
  background: transparent;
  z-index: 999;
}

/* Override any Bootstrap dropdown styles */
.nav-item > a {
  padding: 8px 6px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  cursor: pointer;
}

.nav-item > a:hover {
  color: #e6ecff !important;
  background: none !important;
}

.nav-item .chev {
  font-size: 10px;
  color: #dfe6ff;
  margin-left: 4px;
}

/* Custom dropdown styles - override Bootstrap completely */
.nav-item .dropdown {
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  margin-top: 0px !important;
  min-width: 240px !important;
  background: #fff !important;
  border: 1px solid #e5e9f7 !important;
  border-radius: 12px !important;
  box-shadow: var(--shadow) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
  transition: all 0.18s ease !important;
  padding: 8px !important;
  z-index: 1000 !important;
  display: block !important;
}

.nav-item .dropdown a {
  display: block !important;
  padding: 10px 12px !important;
  border-radius: 8px !important;
  color: #2b3853 !important;
  text-decoration: none !important;
  background: none !important;
  border: none !important;
  width: 100% !important;
  text-align: left !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.nav-item .dropdown a:hover {
  background: #f5f7ff !important;
  color: var(--brand) !important;
}

/* Show dropdown on hover and focus - CORRECTED VERSION */
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

/* Ensure dropdown stays open when hovering over dropdown itself */
.nav-item .dropdown:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}

.right-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch button {
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.lang-switch button.active {
  background: #fff;
  color: var(--brand);
  border-color: transparent;
}

.btn.contact {
  padding: 10px 14px;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  box-shadow: none;
  transform: none;
  align-self: center;
  margin: 0;
}

.btn.contact:hover {
  background: #eef1ff;
}

.btn.contact > span {
  display: inline-block;
}

.nav .btn.contact {
  padding: 6px 10px;
  font-size: 18px;
  line-height: 1;
  font-weight: 750;
  border-radius: 999px;
}

/* ===== CAROUSEL STYLES ===== */
.carousel {
  position: relative;
  overflow: hidden;
  user-select: none;
  background: #0b1024;
  height: calc(100vh - var(--header-h));
}

.carousel-viewport {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  height: 100%;
  display: flex;
  will-change: transform;
  transition: transform 0.6s ease;
}

.slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex: 0 0 100%;
  color: #fff;
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}

.slide .caption {
  position: relative;
  z-index: 1;
  width: min(1100px, 92vw);
  display: grid;
  gap: 12px;
  justify-items: start;
  padding-inline: var(--padX);
  margin-top: clamp(12px, 6vh, 64px);
}

.slide h2 {
  margin: 0;
  font-size: clamp(28px, 5.2vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.4px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.slide .strap {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.cta-outline {
  position: relative;
  display: inline-block;
  padding: 12px 18px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  isolation: isolate;
  transition: background 0.3s ease;
}

.cta-outline::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid #fff;
  transform: skewX(-16deg);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.cta-outline span {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
  mix-blend-mode: normal;
}

.cta-outline:hover::before {
  background: #fff;
  border-color: #fff;
}

.cta-outline:hover span {
  mix-blend-mode: destination-out;
  color: #000;
}

.carousel .arrow {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--brand);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: opacity 0.2s ease;
}

.carousel .arrow:hover {
  background: var(--brand);
  color: #fff;
}

.carousel .arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.carousel .prev {
  left: 14px;
}

.carousel .next {
  right: 14px;
}

.arrow svg {
  width: 26px;
  height: 26px;
}

/* ===== WHITE SECTIONS ===== */
.hero,
.section {
  background: #fff;
}

.hero {
  padding: clamp(36px, 6vw, 72px) var(--padX);
  border-top: 1px solid #e9ecf8;
  background: radial-gradient(
      90% 130% at 10% 10%,
      rgba(26, 53, 125, 0.08),
      transparent 60%
    ),
    radial-gradient(
      70% 100% at 90% 10%,
      rgba(26, 53, 125, 0.06),
      transparent 60%
    ),
    #ffffff;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px);
  margin: 0;
  line-height: 1.15;
  color: #152145;
}

.lead {
  color: #2b3853;
  max-width: 56ch;
}

.cta-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1.5px solid #fff;
  background: #fff;
  color: var(--brand);
  font-weight: 800;
  cursor: pointer;
}

.btn:hover {
  background: #eef1ff;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0a7;
  background: #ecfdf5;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid #d1fae5;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.kpi {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 12px;
  padding: 14px;
  text-align: center;
}

.kpi .num {
  font-weight: 800;
  font-size: 22px;
  color: #152145;
}

.kpi .lbl {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: clamp(28px, 5vw, 56px) var(--padX);
}

.section h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.2vw, 30px);
  color: #152145;
}

.section p {
  color: #2b3853;
  margin: 0 0 18px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
}

.card .title {
  font-weight: 800;
  color: #152145;
}

.card .desc {
  color: #6b7c86;
  font-size: 14px;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-main {
  background: #fff;
  min-height: calc(100vh - var(--header-h));
  display: grid;
  grid-template-columns: 3fr 1fr;
}

.contact-image {
  position: relative;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1);
}

.contact-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 53, 125, 0.1) 0%,
    rgba(26, 53, 125, 0.3) 100%
  );
  z-index: 1;
}

.contact-form-section {
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}

.form-header {
  margin-bottom: 32px;
}

.form-header h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.5vw, 36px);
  color: var(--ink-900);
  line-height: 1.2;
}

.form-header p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: grid;
  gap: 8px;
}

.form-label {
  font-weight: 600;
  color: var(--ink-700);
  font-size: 14px;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border: 1.5px solid #dbe1f6;
  border-radius: var(--radius);
  font-family: "Poppins";
  font-size: 15px;
  color: var(--ink-900);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--ring);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: "Poppins";
}

.contact-info {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e5e9f7;
}

.contact-info h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--ink-900);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
}

.contact-detail svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
}

/* ===== SOCIAL LINKS STYLES ===== */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.circle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: #003e8a;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s;
}

.circle-btn img {
  width: 30px;
  height: 30px;
}

.circle-btn:hover {
  transform: scale(1.1);
}

/* ===== SERVICE POINTS STYLES ===== */
.service-points {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.service-header {
  margin-bottom: 40px;
}

.service-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #003e8a;
  margin-bottom: 10px;
}

.service-header p {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- service-points: new 2-column layout + background ---------- */
/* outer container shows jumbotron image as a subtle background */
.service-points {
  padding: 60px 20px;
  background-color: #f8f9fa; /* fallback */
  text-align: center;
  width: 100%;
  overflow: hidden;
  /* background image placeholder */
  background-image: url("images/cityBackground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* soft overlay so white card pops */
  position: relative;
}

/* dim overlay so the map card stands out */
.service-points::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* inner wrapper that holds left stats and right map */
.map-inner {
  position: relative;
  z-index: 1; /* above the overlay */
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: center;
  padding: 18px;
}

/* LEFT: stat boxes column */
.map-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}

/* single stat box */
.stat-box {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 6px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1),
    box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: default;
}

/* hover effect for consistency with other cards */
.stat-box:hover {
  transform: translateY(-6px);
  border-color: var(--brand-300);
  box-shadow: 0 14px 36px rgba(26, 53, 125, 0.12);
}

/* numbers and label */
.stat-num {
  font-weight: 900;
  font-size: clamp(28px, 3.6vw, 36px);
  color: var(--brand);
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* RIGHT: map card (white) so it looks like the original card but aligned to the right column */
.map-card {
  background: #fff;
  border-radius: 15px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(11, 16, 36, 0.03);
}

/* keep map image scaling but a bit taller */
.map-card .indonesia-map,
.map-card > .indonesia-map {
  width: 100%;
  height: auto;
  display: block;
  max-height: 520px;
  object-fit: contain;
}

/* markers stay absolute, but ensure they sit above the map image */
.map-card .location-marker {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all 0.28s ease;
  z-index: 10;
}

/* marker size adjustments for the card */
.map-card .location-marker img {
  width: clamp(20px, 3.6vw, 30px);
  height: clamp(20px, 3.6vw, 30px);
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.18));
}

.map-card .location-marker:hover {
  transform: translate(-50%, -50%) scale(1.25);
  filter: none;
}

/* ensure the overlay/pseudo-element doesn't cover the inner white card */
.map-inner .map-card,
.map-inner .map-stats {
  z-index: 2;
}

/* Responsive: stack the stats above the map on small screens */
@media (max-width: 880px) {
  .map-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .map-stats {
    flex-direction: row;
    gap: 12px;
    justify-content: center;
  }

  .stat-box {
    width: 48%;
    text-align: center;
    padding: 14px;
  }

  .stat-num {
    font-size: clamp(20px, 6.6vw, 26px);
  }

  .map-card .indonesia-map {
    max-height: 420px;
  }
}

@media (max-width: 480px) {
  .stat-box {
    width: 100%;
  }
  .map-stats {
    flex-direction: column;
  }
}

.indonesia-map {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: contain;
}

.location-marker {
  position: absolute;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  z-index: 10;
}

.location-marker img {
  width: clamp(20px, 4vw, 28px);
  height: clamp(20px, 4vw, 28px);
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.location-marker:hover {
  transform: translate(-50%, -50%) scale(1.2);
}

/* ===== POPUP STYLES ===== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  animation: fadeIn 0.3s;
}

.popup-content {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 12px 16px; /* reduced padding */
  border-radius: 12px; /* slightly smaller corners */
  max-width: 480px; /* was 600px, tighter width */
  width: calc(100% - 24px); /* was 100% - 40px, allows less overflow */
  text-align: left; /* left align text instead of justify */
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25); /* lighter shadow */
  line-height: 1.4;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 30px;
  height: 30px;
}

.popup-content h3 {
  color: #003e8a;
  margin: 0 0 6px 0;
  font-size: clamp(1.2rem, 4vw, 1.6rem); /* slightly smaller */
}

.popup-content p {
  margin-bottom: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.popup-content p:last-of-type {
  margin-bottom: 8px;
}

.read-more {
  background-color: #003e8a;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  display: block;
  margin: 5px auto 0;
  text-align: center;
  width: fit-content;
  transition: all 0.3s ease;
  font-weight: 500;
}

.read-more:hover {
  background-color: #002a5c;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 62, 138, 0.3);
}

/* ===== FOOTER STYLES ===== */
.footer {
  background: var(--brand);
  color: #fff;
  padding: 60px var(--padX) 20px;
  border-top: none;
  font-size: 14px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 15px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-services ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li,
.footer-services li {
  margin-bottom: 12px;
}

.footer-nav a,
.footer-services a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-nav a:hover,
.footer-services a:hover {
  color: #fff;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

.social-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #0066cc;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.social-btn:hover {
  transform: translateY(-2px);
  background: #0052a3;
}

.social-btn img {
  width: 24px;
  height: 24px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive footer */
@media (max-width: 968px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .footer {
    padding: 40px 20px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 980px) {
  .partners {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr 1fr;
  }

  .carousel .arrow {
    width: 52px;
    height: 52px;
  }

  .arrow svg {
    width: 24px;
    height: 24px;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .service-points {
    padding: 40px 10px;
  }

  .map-container {
    padding: 15px;
    margin: 0 10px;
  }

  .popup-content {
    padding: 25px 20px;
    width: calc(100% - 30px);
  }

  .location-marker[data-city="Jakarta"] {
    top: 58%;
    left: 32%;
  }

  .location-marker[data-city="Surabaya"] {
    top: 63%;
    left: 44%;
  }

  .location-marker[data-city="Medan"] {
    top: 30%;
    left: 24%;
  }

  .location-marker[data-city="Bandung"] {
    top: 60%;
    left: 30%;
  }

  .location-marker[data-city="Semarang"] {
    top: 58%;
    left: 37%;
  }

  .location-marker[data-city="Makassar"] {
    top: 72%;
    left: 56%;
  }

  .location-marker[data-city="Palembang"] {
    top: 52%;
    left: 30%;
  }

  .location-marker[data-city="Denpasar"] {
    top: 68%;
    left: 48%;
  }

  .location-marker[data-city="Banjarmasin"] {
    top: 65%;
    left: 50%;
  }

  .location-marker[data-city="Manado"] {
    top: 44%;
    left: 60%;
  }
}

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-list {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .carousel .arrow {
    width: 48px;
    height: 48px;
  }

  .arrow svg {
    width: 22px;
    height: 22px;
  }

  .contact-form-section {
    padding: 24px 20px;
  }

  .btn.contact {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .service-header h2 {
    font-size: 1.6rem;
  }

  .map-container {
    padding: 10px;
    margin: 0 5px;
  }

  .location-marker img {
    width: 18px;
    height: 18px;
  }
}

/* ===== BOOTSTRAP COMPATIBILITY ===== */
.container,
.container-fluid {
  max-width: 100%;
}

.carousel img,
.slide img {
  max-width: none;
}

.grid:not(.container):not(.row) {
  display: grid;
}

/* Override Bootstrap dropdown styles completely */
.nav-item .dropdown.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) !important;
}
/* Enhanced dropdown controls - prevent clicks, hover only */
.nav-item > a[href="#"] {
  cursor: default !important; /* Change cursor for dropdown toggles */
  pointer-events: none !important; /* Disable clicking */
}

.nav-item > a[href="#"]:hover {
  pointer-events: none !important; /* Keep clicks disabled even on hover */
}

/* Re-enable hover effects for the parent container */
.nav-item:hover > a[href="#"] {
  color: #e6ecff !important;
  background: none !important;
}

/* Ensure dropdown parent maintains hover functionality */
.nav-item {
  pointer-events: auto;
}

/* Enhanced smooth scrolling */
html {
  scroll-padding-top: calc(
    var(--header-h) + 20px
  ); /* Account for fixed header */
}

/* Smooth transition for dropdown appearance */
.nav-item .dropdown {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
/* === Goal Section (two-column, responsive) === */
.section.goal {
  background: #fff;
  border-top: 1px solid #e9ecf8;
  padding: clamp(28px, 5vw, 56px) var(--padX);
}

.goal-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* text | illustration */
  align-items: center;
  gap: clamp(16px, 3vw, 28px);
}

.goal-kicker {
  margin: 0 0 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--brand);
  opacity: 0.95;
}

.goal-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  color: #152145;
}

.goal-text {
  margin: 0;
  color: var(--ink-700);
  font-weight: 600;
  letter-spacing: 0.2px;
}

.goal-figure {
  margin: 0;
  display: grid;
  place-items: center;
}

.goal-figure img {
  width: 100%;
  height: auto; /* ideal for SVG scaling */
  max-width: 560px; /* keep illustration compact */
  display: block;
}

/* Accent bar similar to the reference */
.goal-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-300));
}

/* Responsive: stack on narrow viewports */
@media (max-width: 980px) {
  .goal-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .goal-figure {
    order: -1; /* illustration above or below as desired */
  }
}
/* ===== OUR CLIENTS SECTION ===== */
.section.clients {
  background: #f8f9ff;
  border-top: 1px solid #e9ecf8;
  text-align: center;
}

.clients-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.clients-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #003e8a;
  margin-bottom: 10px;
}

.clients-inner p {
  color: var(--muted);
  margin-bottom: 32px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.client-logo {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.client-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 53, 125, 0.15);
  border-color: var(--brand-300);
}

.client-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%) opacity(0.9);
  transition: filter 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* Responsive design for clients section */
@media (max-width: 980px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .clients-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .client-logo {
    padding: 16px;
    min-height: 80px;
  }

  .client-logo img {
    max-height: 50px;
  }
}
/* ===== PRODUCTS & SERVICES SECTION ===== */
.section.products-services {
  background: #f8f9ff;
  border-top: 1px solid #e9ecf8;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.products-section-inner {
  max-width: 100%;
  margin: 0;
  position: relative;
}

.products-section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px var(--padX) 30px;
  position: relative;
  z-index: 10;
  text-align: center;
}

.products-section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #003e8a;
  margin-bottom: 10px;
  font-weight: 800;
}

.products-section-carousel {
  position: relative;
  width: 100%;
}

.products-carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.products-carousel-track {
  display: flex;
  width: calc(100% * 11 / 4); /* 11 items, 4 visible = 2.75x width */
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.products-slide {
  flex: 0 0 calc(100% / 11); /* Each slide takes exactly 1/11 of track width */
  display: block;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.products-slide img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  aspect-ratio: 9/16; /* Maintain exact 1080x1920 aspect ratio */
  object-fit: contain; /* Show full image without cropping */
  background: #f8f9ff; /* Light background in case of letterboxing */
}

.products-slide:hover img {
  transform: scale(1.02);
}

.products-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: #fff; /* White background by default */
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: all 0.3s ease;
  color: var(--brand); /* Blue arrow by default */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.products-carousel-arrow:hover:not(:disabled) {
  background: var(--brand); /* Blue background on hover */
  color: #fff; /* White arrow on hover */
  transform: translateY(-50%) scale(1.1);
}

.products-carousel-arrow.products-prev {
  left: 20px;
}

.products-carousel-arrow.products-next {
  right: 20px;
}

.products-carousel-arrow svg {
  width: 24px;
  height: 24px;
}

.products-carousel-arrow:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important; /* Show prohibited cursor */
  pointer-events: auto !important; /* Allow hover events to show cursor */
  background: #fff !important; /* Keep white background when disabled */
  color: var(--brand) !important; /* Keep blue arrow when disabled */
}

.products-carousel-arrow:disabled:hover {
  transform: translateY(-50%) scale(1) !important; /* No scaling on hover when disabled */
  background: #fff !important;
  color: var(--brand) !important;
  cursor: not-allowed !important; /* Ensure prohibited cursor on hover */
  opacity: 0.4 !important; /* Keep same opacity */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .products-section-header {
    padding: 30px 20px 25px;
  }

  .products-section-header h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

  .products-carousel-arrow {
    width: 50px;
    height: 50px;
  }

  .products-carousel-arrow.products-prev {
    left: 10px;
  }

  .products-carousel-arrow.products-next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .products-carousel-arrow {
    width: 45px;
    height: 45px;
  }

  .products-carousel-arrow svg {
    width: 20px;
    height: 20px;
  }

  .products-section-carousel {
    padding-bottom: 30px;
  }
}
/* Popup thumbnails (inside the existing popup-content) */
.popup-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  padding-top: 6px;
}
/* single thumbnail style */
.popup-thumb {
  display: block;
  max-height: 120px;
  width: auto;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  object-fit: cover;
}
/* hover effect */
.popup-thumb:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}
/* inner image modal (shown above popup-content, but inside it) */
.image-modal {
  display: none; /* toggled by .open class */
  position: absolute;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  padding: 16px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  place-items: center;
}
/* visible state */
.image-modal.open {
  display: grid;
}
/* inner image */
.image-modal img {
  max-width: 100%;
  max-height: 70vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: contain;
}
/* close button for image modal */
.image-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 1;
  display: grid;
  place-items: center;
}
@media (max-width: 640px) {
  .popup-thumb {
    max-height: 80px;
  }
  .image-modal img {
    max-height: 60vh;
  }
}
/* popup bullets: always two columns (simple column-based flow) */
/* ---------- popup bullet GRID (dynamic columns up to 8) ---------- */
/* container used when we create a multi-column grid via JS */
.popup-bullet-grid {
  display: grid;
  grid-template-columns: repeat(var(--popup-bullet-cols, 2), minmax(0, 1fr));
  gap: 0 36px; /* vertical gap 0, horizontal gap 36px between columns */
  align-items: start;
  margin: 0 0 8px 0;
  padding: 0;
}

/* each column is a UL */
.popup-bullet-grid ul {
  list-style: disc inside;
  margin: 0;
  padding-left: 1.05rem;
  color: inherit;
  line-height: 1.35;
  font-size: 0.95rem;
}

/* each LI is a positioning context so the per-item popup can be absolutely positioned relative to it */
.popup-bullet-grid li {
  position: relative;
  margin-bottom: 8px;
}

/* backward-compatible selector: if old code still writes popup-bullet-columns (single UL flow), keep it usable */
.popup-description ul.popup-bullet-columns {
  list-style: disc inside;
  column-count: 2; /* fallback only */
  column-gap: 0.9rem;
  column-width: 140px;
  -webkit-column-break-inside: avoid;
  -moz-column-break-inside: avoid;
  break-inside: avoid-column;
  margin: 0.5rem 0;
  padding-left: 1rem;
  line-height: 1.35;
  color: #666666;
}

/* ---------- lightweight "etc" hover card (keeps card inside popup and next to the list item) ---------- */

/* the etc trigger (inline, underlined) */
.etc-trigger {
  display: inline-block;
  cursor: default;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  user-select: none;
  font-weight: 700;
  font-size: 0.9rem;
}

/* === ETC POPUP: centered vertically relative to host === */
/* the etc trigger (inline, underlined) */
.etc-trigger {
  display: inline-block;
  cursor: pointer;
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  user-select: none;
  font-weight: 700;
  font-size: 0.9rem;
}

/* card (absolute relative to the host LI) — default placed to the right, vertically centered */
.etc-popup {
  position: absolute;
  left: calc(100% + 12px); /* sits to the right by default */
  top: 50%; /* center vertically to host */
  transform: translateY(-50%) translateX(6px); /* center + small entrance offset */
  min-width: 180px;
  max-width: 320px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.14s ease;
  pointer-events: none;
  max-height: 60vh;
  overflow: auto;
  color: #111;
  font-size: 13px;
}

/* show on trigger hover/focus (sibling) - keep hover only on devices that support it */
@media (hover: hover) {
  .etc-trigger:hover + .etc-popup,
  .etc-trigger:focus + .etc-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0); /* snap into place horizontally */
    pointer-events: auto;
  }
}

/* flip to left when we detect not enough space on right */
.etc-popup.etc-popup--flip-left {
  left: auto;
  right: calc(100% + 12px);
  transform: translateY(-50%) translateX(-6px); /* shift from left */
}

/* When visible via JS toggle (tap on mobile), use .open */
.etc-popup.open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(-50%) translateX(0) !important;
  pointer-events: auto !important;
}

/* Mobile/small screens: keep popup inside popup-content.
   We'll prefer absolute positioning relative to .popup-content and JS will compute vertical placement.
*/
@media (max-width: 560px) {
  /* Ensure popup-content is a positioning context (already set in your CSS) */
  .popup-content {
    position: relative;
  }

  .etc-popup {
    /* We let JS calculate top/left for small screens; but provide reasonable defaults */
    position: absolute !important;
    left: 50% !important;
    top: auto !important;
    bottom: 12vh !important;
    transform: translateX(-50%) translateY(0) !important;
    max-width: calc(100% - 32px) !important;
    width: auto !important;
    pointer-events: auto !important;
  }
}
/* --- Force center popup on small screens --- */
@media (max-width: 560px) {
  .popup-content {
    position: relative;
  } /* ensure positioning context */
  .etc-popup {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
    max-width: calc(100% - 32px) !important;
    width: auto !important;
    pointer-events: auto !important;
  }
}
/* fallback positioning if JS doesn't run */
@media (max-width: 560px) {
  .etc-popup {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
/* fallback: keep injected etc-popup centered on small screens */
@media (max-width: 560px) {
  .popup-content {
    position: relative;
  }
  .popup-bullet-grid li .etc-popup,
  .popup-bullet-grid .etc-popup,
  .popup-description .etc-popup {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    right: auto !important;
    bottom: auto !important;
    max-width: calc(100% - 32px) !important;
    width: auto !important;
  }
}
/* Burger button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile menu */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: var(--brand);
    padding: 12px;
    border-radius: 12px;
    margin-top: 8px;
  }
  .nav-list.open {
    display: flex;
  }

  /* make parallelogram longer on small screens */
  .topbar::before {
    width: 98vw; /* was clamp(300px, 26vw, 520px) */
  }
}
/* Put this after the existing mobile rules in style.css */
@media (max-width: 640px) {
  /* Option A: fix only the header button */
  .nav .right-tools .btn.contact {
    min-width: 0 !important; /* allow shrink-to-content */
    width: auto !important;
    white-space: nowrap;
    padding: 6px 12px; /* keep the compact chip look */
    font-size: 16px;
  }

  /* Option B: fix all .btn on phones (if desired) */
  /* .btn { min-width: 0; } */
}

/* Mechanical Hero Section */
.mechanical-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mechanical-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.mechanical-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.mechanical-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--padX);
}

.mechanical-hero-content h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0 0 16px;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.mechanical-hero-content p {
  font-size: clamp(16px, 2.5vw, 20px);
  margin: 0;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.95;
}

/* Services Grid */
.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-container h2 {
  margin-bottom: 8px;
}

.services-container p {
  margin-bottom: 40px;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 53, 125, 0.15);
  border-color: var(--brand-300);
}

.service-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 20px;
  text-align: left;
}

.service-content h3 {
  color: var(--brand);
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}

.service-content p {
  color: var(--ink-700);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
/* center the 3rd service card only (when there are 3 items) */
.services-grid > .service-card:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;

  /* same width as one column */
  width: calc((100% - 24px) / 2); /* update 24px if your grid gap changes */
  max-width: 560px;
  box-sizing: border-box;
}

/* revert on narrow (single-column) viewports */
@media (max-width: 980px) {
  .services-grid > .service-card:nth-child(3) {
    grid-column: auto;
    justify-self: stretch;
    width: 100%;
    max-width: none;
  }
}

/* Timeline Section */
.timeline-section {
  background: #f8f9ff;
  border-top: 1px solid #e9ecf8;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.timeline-container h2 {
  margin-bottom: 8px;
}

.timeline-container > p {
  margin-bottom: 40px;
  color: var(--muted);
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.timeline-stage {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-stage:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 53, 125, 0.15);
  border-color: var(--brand-300);
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 20px;
}

.timeline-stage h3 {
  color: var(--brand);
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

.stage-duration {
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: rgba(26, 53, 125, 0.1);
  border-radius: 20px;
  display: inline-block;
}

.timeline-stage p {
  color: var(--ink-700);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

/* CTA Section */
.cta-section {
  background: var(--brand);
  color: #fff;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-container h2 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(28px, 4vw, 36px);
}

.cta-container p {
  color: #fff;
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn.primary {
  background: #fff;
  color: var(--brand);
  border: 2px solid #fff;
}

.btn.primary:hover {
  background: #f5f7ff;
  transform: translateY(-2px);
}

.btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn.secondary:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-2px);
}

/* Burger Menu Enhancements */
.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Responsive */
@media (max-width: 980px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mechanical-hero {
    height: 50vh;
    min-height: 350px;
  }
}

@media (max-width: 640px) {
  .mechanical-hero-content {
    padding: 0 20px;
  }

  .service-content {
    padding: 16px;
  }

  .timeline-stage {
    padding: 24px 16px;
  }

  .stage-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    min-width: 200px;
  }
}
/* Clients marquee — full-bleed, seamless infinite loop */
.clients-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding: 24px 0;
  background: transparent;
  box-sizing: border-box;
}

.marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  width: max-content;
  animation: infinite-scroll 60s linear infinite;
  will-change: transform;
}

.clients-marquee .client-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background: transparent; /* No white box */
  border: none; /* No border */
  border-radius: 0; /* No rounded corners */
  box-shadow: none; /* No shadow */
  transition: all 0.3s ease;
  min-width: 140px;
  min-height: 80px;
}

.clients-marquee .client-logo:hover {
  transform: translateY(-2px);
  box-shadow: none; /* No hover shadow */
  border-color: transparent; /* No hover border */
}

.clients-marquee .client-logo img {
  width: auto;
  max-width: 120px;
  max-height: 60px;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%) opacity(0.9);
  transition: filter 0.3s ease;
}

.clients-marquee .client-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

.clients-marquee:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* responsive adjustments */
@media (max-width: 1200px) {
  .marquee-track {
    gap: 28px;
    animation-duration: 50s;
  }

  .clients-marquee .client-logo {
    min-width: 130px;
    min-height: 75px;
    padding: 10px 14px;
  }

  .clients-marquee .client-logo img {
    max-width: 110px;
    max-height: 55px;
  }
}

@media (max-width: 900px) {
  .marquee-track {
    gap: 24px;
    animation-duration: 45s;
  }

  .clients-marquee .client-logo {
    min-width: 120px;
    min-height: 70px;
    padding: 8px 12px;
  }

  .clients-marquee .client-logo img {
    max-width: 100px;
    max-height: 50px;
  }
}

@media (max-width: 600px) {
  .marquee-track {
    gap: 20px;
    animation-duration: 40s;
  }

  .clients-marquee .client-logo {
    min-width: 110px;
    min-height: 65px;
    padding: 6px 10px;
  }

  .clients-marquee .client-logo img {
    max-width: 90px;
    max-height: 45px;
  }
}
/* News Section Styles */
.news-section {
  background: #fff;
  border-top: 1px solid #e9ecf8;
  position: relative;
}

.news-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--brand);
  margin-bottom: 10px;
  font-weight: 800;
}

.news-header p {
  color: var(--muted);
  margin: 0;
}

/* News Carousel Wrapper */
.news-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.news-carousel {
  flex: 1;
  overflow: hidden;
  position: relative;
  border-radius: var(--radius);
  outline: none;
}

.news-cards-container {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  padding: 4px;
}
@media (hover: hover) and (pointer: fine) {
  .news-carousel {
    touch-action: auto;
  }
}

/* News Card Styles */
.news-card {
  flex: 0 0 320px;
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 280px;
  role: listitem;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(26, 53, 125, 0.15);
  border-color: var(--brand-300);
}

.news-card-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f0f4f8;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-image.no-image {
  background: linear-gradient(135deg, var(--brand), var(--brand-300));
}

.news-card-image.no-image::before {
  content: "📰";
  font-size: 32px;
  opacity: 0.8;
}

.news-card-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.news-card-source {
  color: var(--brand);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.news-card-date {
  color: var(--muted);
  font-weight: 500;
}

.news-card-headline {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.3;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-snippet {
  font-size: 13px;
  color: var(--ink-700);
  line-height: 1.4;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Scroll Buttons */
.news-scroll-btn {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
}

.news-scroll-btn:hover:not(:disabled) {
  background: var(--brand);
  color: #fff;
  transform: scale(1.05);
  border-color: var(--brand);
}

.news-scroll-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f7ff;
}

.news-scroll-btn svg {
  width: 24px;
  height: 24px;
}

/* Loading Skeletons */
.news-loading {
  display: flex;
  gap: 20px;
  padding: 4px;
}

.news-skeleton-card {
  flex: 0 0 320px;
  height: 280px;
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.news-skeleton-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Controls Section */
.news-controls {
  margin-top: 32px;
  text-align: center;
}

.news-load-more,
.news-retry {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
}

.news-load-more:hover,
.news-retry:hover {
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.news-error {
  padding: 24px;
  background: #fff;
  border: 1.5px solid #f87171;
  border-radius: var(--radius);
  color: #dc2626;
  max-width: 400px;
  margin: 0 auto;
}

.news-error p {
  margin: 0 0 16px;
  color: #dc2626;
}

/* Responsive Design */
@media (max-width: 980px) {
  .news-card {
    flex: 0 0 280px;
    height: 260px;
  }

  .news-scroll-btn {
    width: 48px;
    height: 48px;
  }

  .news-scroll-btn svg {
    width: 20px;
    height: 20px;
  }
}

/* Replace the existing news-cards-container mobile rules with this block */
@media (max-width: 640px) {
  .news-carousel-wrapper {
    flex-direction: column;
    gap: 12px;
  }

  .news-scroll-btn {
    display: none !important; /* hide buttons on phones if you like */
  }

  /* Keep carousel overflow hidden for transform-based sliding */
  .news-carousel {
    overflow: hidden;
    position: relative;
  }

  /* Keep cards in a normal flex row (not width:max-content) so natural responsive widths apply */
  .news-cards-container {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 8px 6px;
    transition: none;
    will-change: transform;
    align-items: stretch;
  }

  /* Let each card be responsive — your existing responsive .news-card rules will apply */
  .news-card {
    flex: 0 0 auto; /* allow cards to size responsively */
    min-width: 180px; /* small floor to keep them usable on tiny phones */
    max-width: 320px; /* cap width on larger phones */
  }

  /* Prevent any inline-transform override from breaking the layout visually */
  .news-cards-container[style*="transform"] {
    /* we allow transform during drag; keep this rule light */
    transition: none !important;
  }
}

/* Mobile-only touch-enabled rules (keeps desktop sizes unchanged) */
@media (hover: none) and (pointer: coarse) {
  .news-carousel.touch-enabled {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-x !important;
    max-width: 100% !important;
    display: block !important;
    scroll-behavior: smooth !important;
    overscroll-behavior-x: contain !important;
  }

  .news-cards-container.touch-enabled {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
    scroll-snap-type: x mandatory !important;
  }

  .news-cards-container.touch-enabled .news-card {
    flex: 0 0 auto !important;
    max-width: 320px !important;
    scroll-snap-align: start !important;
  }
}
@media (hover: hover) and (pointer: fine) {
  .news-carousel,
  .news-carousel.touch-enabled {
    overflow-x: hidden !important;
    overscroll-behavior-x: none !important;
    -webkit-overflow-scrolling: auto !important;
    scroll-behavior: auto !important;
  }

  .news-cards-container.touch-enabled {
    scroll-snap-type: none !important;
  }
}

/* Ensure carousel viewport hides overflow but does not offset children */
.news-carousel {
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
  padding-left: 0; /* ensure no left padding hides first card */
}

/* Ensure track (cards container) aligns children from the left edge */
.news-cards-container {
  box-sizing: border-box;
  margin-left: 0;
  padding-left: 0;
  will-change: transform;
}

/* Ensure the first card has no unintended negative margin */
.news-card:first-child {
  margin-left: 0;
}
/* ---------------------------
   About page styles (about.html)
   Paste at the end of style.css
   --------------------------- */

/* About hero (two-column, image on right) */
.about-hero {
  padding: clamp(36px, 6vw, 72px) var(--padX);
  background: #fff;
  border-top: 1px solid #e9ecf8;
}

.about-hero .hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 3.5vw, 36px);
  align-items: center;
}

/* content column */
.about-content h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4.4vw, 42px);
  color: var(--brand-700);
  line-height: 1.08;
}

.about-content .lead {
  color: var(--ink-700);
  margin: 8px 0 14px;
  font-size: clamp(15px, 2.4vw, 18px);
}

.about-content p {
  color: var(--muted);
  margin-bottom: 14px;
  max-width: 56ch;
}

/* small badge under intro */
.about-content .badge {
  margin-top: 12px;
  background: linear-gradient(
    90deg,
    rgba(26, 53, 125, 0.06),
    rgba(58, 86, 160, 0.04)
  );
  color: var(--brand-700);
  border: 1px solid rgba(26, 53, 125, 0.06);
}

/* image column */
.about-image {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.about-image img {
  width: 100%;
  height: 100%;
  max-width: 560px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(26, 53, 125, 0.08);
  border: 1px solid #eef3ff;
}

/* Vision & Mission */
.vision-mission-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  align-items: start;
}

.vm-card {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-align: left;
  min-height: 180px;
  display: grid;
  gap: 10px;
}

.vm-card .vm-icon {
  font-size: 28px;
  display: inline-block;
  margin-bottom: 6px;
}

.vm-card h3 {
  margin: 0 0 6px;
  color: var(--brand);
  font-size: 18px;
  font-weight: 800;
}

.vm-card p,
.vm-card ul {
  margin: 0;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.5;
}

/* Core values / values grid */
.values-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.values-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.value-card {
  background: #fff;
  border: 1.5px solid #dbe1f6;
  border-radius: 12px;
  padding: 18px;
  display: grid;
  gap: 10px;
  align-items: start;
  min-height: 150px;
  box-shadow: var(--shadow);
}

.value-icon {
  font-size: 28px;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(
    90deg,
    rgba(26, 53, 125, 0.08),
    rgba(58, 86, 160, 0.03)
  );
}

.value-card h3 {
  margin: 0;
  font-size: 16px;
  color: var(--brand);
  font-weight: 800;
}

.value-card p {
  margin: 0;
  color: var(--ink-700);
  font-size: 14px;
  line-height: 1.5;
}

/* Small helpers + consistent spacing */
.section.vision-mission,
.section.history,
.section.core-values {
  padding-top: 34px;
  padding-bottom: 34px;
}

@media (max-width: 640px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .value-card {
    min-height: auto;
  }
  .about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

/* Base section styling */
.section {
  position: relative;
  padding: clamp(28px, 5vw, 56px) var(--padX);
  border-top: 1px solid rgba(0, 0, 0, 0.05); /* thin separator */
}

/* Alternate shading */
.section:nth-of-type(odd) {
  background: #ffffff; /* pure white */
}
.section:nth-of-type(even) {
  background: #f9f9f9; /* slightly darker white */
}

/* 4. Generic box hover interactivity */
.card,
.service-card,
.kpi,
.news-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover,
.service-card:hover,
.kpi:hover,
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* 3. Generic hover for every content box */
.card,
.service-card,
.kpi,
.news-card,
.value-card,
.vm-card,
.cta-section,
.section.clients .client-logo {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.card:hover,
.service-card:hover,
.kpi:hover,
.news-card:hover,
.value-card:hover,
.vm-card:hover,
.cta-section:hover,
.section.clients .client-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #fff;
}

/* 2. Remove blue hover box on other sections; add border highlight */
.card,
.service-card,
.kpi,
.news-card,
.value-card,
.vm-card {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  border: 2px solid transparent;
}
.card:hover,
.service-card:hover,
.kpi:hover,
.news-card:hover,
.value-card:hover,
.vm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-color: var(--brand);
}
/* ===== Company History timeline ===== */
#company-history {
  background: #fff;
  border-top: 1px solid #e9ecf8;
  padding: 0; /* section wrapper uses .section spacing if needed */
}

#company-history .timeline-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) var(--padX);
  text-align: left;
}

#company-history h2 {
  margin-bottom: 6px;
  color: #152145;
}

#company-history p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* timeline body */
#company-history .timeline {
  position: relative;
  padding-left: 0;
}

/* vertical line placed through the center of the left column */
#company-history .timeline::before {
  content: "";
  position: absolute;
  left: 40px; /* center line relative to left column */
  top: 20px;
  bottom: 20px;
  width: 4px;
  background: #e5e9f7;
  border-radius: 4px;
  z-index: 0;
  transform-origin: center;
}

/* each item: left = dot+year (fixed width), right = content */
#company-history .timeline-items {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

#company-history .timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1; /* sit above the vertical line */
}

/* left column (dot + year) */
#company-history .timeline-left {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  padding-right: 6px;
}

/* the dot — sits centered over the line */
#company-history .timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
  margin-left: 0;
}

/* year text next to the dot */
#company-history .timeline-year {
  font-weight: 800;
  color: var(--brand-700);
  font-size: 14px;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

/* right column content */
#company-history .timeline-right h3 {
  margin: 0 0 6px 0;
  color: var(--brand);
  font-size: 18px;
}

#company-history .timeline-right p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.5;
  font-size: 14px;
}

/* small screens — stack and move the line to left edge */
@media (max-width: 640px) {
  #company-history .timeline::before {
    left: 20px;
  }

  #company-history .timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
  }

  #company-history .timeline-left {
    justify-content: center;
  }

  #company-history .timeline-year {
    display: none; /* hide year next to dot on very small screens */
  }

  #company-history .timeline-right h3 {
    font-size: 16px;
  }
}

/* optional hover highlight */
#company-history .timeline-item:hover .timeline-right h3 {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
/* ===== responsive control for timeline horizontal position ===== */
/* Put this after your timeline CSS */
#company-history {
  /* desktop default: smaller value = move more to the LEFT, larger = move RIGHT */
  --timeline-left: 44px;
}

/* vertical line */
#company-history .timeline::before {
  left: var(--timeline-left);
}

/* make each item a positioning context and set the left column width relative to the line */
#company-history .timeline-item {
  position: relative;
  /* first column width = line x-coordinate + extra spacing for year/dot */
  grid-template-columns: calc(var(--timeline-left) + 36px) 1fr;
}

/* dot sits on the line center */
#company-history .timeline-dot {
  position: absolute;
  left: var(--timeline-left); /* aligns with the ::before line */
  top: 6px; /* tweak if vertical alignment needed */
  transform: translateX(-50%); /* centers the dot over the line */
  z-index: 2;
}

/* Year text sits left of the dot (no changes needed if you already swapped order) */
#company-history .timeline-left {
  align-items: center;
  justify-content: flex-end;
}

/* ===== mobile adjustments ===== */
@media (max-width: 640px) {
  /* mobile: move the line closer to the left edge */
  #company-history {
    --timeline-left: 20px;
  }

  /* shrink the left column so content doesn't get pushed off-screen */
  #company-history .timeline-item {
    grid-template-columns: calc(var(--timeline-left) + 28px) 1fr;
  }

  /* fine-tune dot vertical position on small screens */
  #company-history .timeline-dot {
    top: 4px;
  }

  /* optional: hide year on very small screens to save space
     uncomment the next line if you want it hidden on mobile */
  /* #company-history .timeline-year { display: none; } */
}
/* move the year left so it doesn't overlap the dot/line */
#company-history .timeline-left {
  /* keep items aligned to the right edge of the left column */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-right: 30px; /* extra breathing room between year and the right edge */
}

/* add right-margin on the year so it shifts left away from the dot */
#company-history .timeline-year {
  margin-right: 18px; /* increase = year moves further left; decrease = moves right */
  position: relative;
  z-index: 3;
}

/* mobile: reduce the margin so layout remains compact */
@media (max-width: 640px) {
  #company-history .timeline-left {
    padding-right: 8px;
  }
  #company-history .timeline-year {
    margin-right: 8px;
    font-size: 13px;
  }
}
/* ===== remove box behind emoji + center it ===== */
/* target common core-values selectors (keeps specificity safe by grouping) */
#core-values .value-icon,
.core-values .value-icon,
.values .icon,
.values .value-icon,
.value-card .icon,
.card .icon,
.core-value .icon {
  background: none !important; /* remove background color/image */
  box-shadow: none !important; /* remove any shadow that creates a "box" look */
  border: none !important; /* remove borders */
  padding: 0 !important; /* remove extra inner spacing */
  width: auto; /* allow natural width unless you want fixed size */
  height: auto;
  display: flex !important; /* center contents */
  align-items: center !important;
  justify-content: center !important;
}

/* ensure the emoji (text or img) is centered and sized nicely */
#core-values .value-icon > img,
.core-values .value-icon > img,
.values .icon > img,
.value-card .icon > img,
.core-value .icon > img {
  display: block;
  margin: 0 auto;
  max-width: 48px; /* adjust size as needed */
  width: 100%;
  height: auto;
}

/* if emoji is a text node or span (e.g. <span class="emoji">🔥</span>) */
#core-values .value-icon .emoji,
.core-values .value-icon .emoji,
.values .icon .emoji,
.value-card .icon .emoji,
.core-value .icon .emoji {
  display: inline-block;
  margin: 0;
  font-size: 28px; /* tweak to preferred size */
  line-height: 1;
  text-align: center;
}

/* optional: ensure the whole card content is centered horizontally */
#core-values .core-value,
.core-values .core-value,
.values .value-card,
.value-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
}

/* mobile tweak: slightly smaller emoji on small screens */
@media (max-width: 640px) {
  #core-values .value-icon .emoji,
  .core-values .value-icon .emoji {
    font-size: 22px;
  }
  #core-values .value-icon > img,
  .core-values .value-icon > img {
    max-width: 36px;
  }
}
/* Smooth background transition for header bars */
.topbar,
.nav {
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Transparent header at top: keep the white parallelogram (.topbar::before) visible */
.site-header.at-top .topbar {
  background: transparent;
}

/* Make the blue nav bar transparent (no text color changes) */
.site-header.at-top .nav {
  background: transparent;
  border-top-color: transparent;
}

/* Pull the carousel up behind the sticky header so it is truly full-screen at page top */
/* REPLACE the height lines under .carousel */
/* style.css — REPLACE height inside your existing .carousel */
.carousel {
  position: relative;
  overflow: hidden;
  user-select: none;
  background: #0b1024;

  /* Full, real viewport height on all browsers */
  height: 100vh; /* fallback */
  height: 100svh; /* small viewport unit */
  height: 100dvh; /* dynamic viewport unit */

  /* keep the slide behind the sticky header at the very top */
  margin-top: calc(var(--header-h) * -1);
}
/* style.css — keep near header/nav */
.topbar,
.nav {
  transition: background 0.2s ease, border-color 0.2s ease;
}

/* Transparent at the very top; keeps the white parallelogram visible */
.site-header.at-top .topbar {
  background: transparent;
}
.site-header.at-top .nav {
  background: transparent;
  border-top-color: transparent;
}
/* Keep caption clear of sticky header */
.slide .caption {
  margin-top: 0;
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 12px);
}
/* Transparent only at page top */
.site-header.at-top .topbar {
  background: transparent;
}
.site-header.at-top .nav {
  background: transparent;
  border-top-color: transparent;
}

/* Also allow body/html driven state (script applies both) */
body.at-top .topbar,
html.at-top .topbar {
  background: transparent;
}
body.at-top .nav,
html.at-top .nav {
  background: transparent;
  border-top-color: transparent;
}
/* Anchor offset for sticky header */
[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

/* Optional: give phones a touch more space */
@media (max-width: 640px) {
  [id] {
    scroll-margin-top: calc(var(--header-h) + 24px);
  }
}
/* --- FORCE: disable native horizontal scrolling on desktop so cards stay clickable --- */
@media (hover: hover) and (pointer: fine) {
  .news-carousel {
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: auto !important;
    touch-action: none !important; /* prevents pointer gestures from hijacking click */
    overscroll-behavior-x: contain !important;
  }

  .news-cards-container,
  .news-cards-container .news-card {
    pointer-events: auto !important; /* ensure cards receive click events */
    user-select: auto !important;
    touch-action: manipulation !important;
  }
}
/* Our Clients — remove the box entirely */
.section.clients .client-logo,
.section.clients .clients-grid .client-logo {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Keep hover clean (no border/shadow/background) */
.section.clients .client-logo:hover,
.section.clients .clients-grid .client-logo:hover {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important; /* prevents the card look on hover */
  /* optional: comment out if a small lift is still desired */
  /* transform: none !important; */
}
/* About hero: mobile layout (image on top) */
@media (max-width: 980px) {
  .about-hero .hero-inner {
    grid-template-columns: 1fr; /* ensure single column on mobile */
  }
  .about-hero .about-image {
    order: -1; /* move image above the text */
  }
  .about-hero .about-image img {
    width: 100%;
    height: auto;
    max-width: none; /* override the 560px cap on small screens */
    object-fit: cover;
  }
}
/* ===== FORCE: map iframe sizing overrides (added by assistant) ===== */
/* Specific rules to prevent the global `iframe { height: auto; }` from collapsing the map */
.map-embed iframe,
#servicepoints-map,
.map-card .map-embed iframe {
  width: 100% !important;
  display: block !important;
  height: 600px !important; /* balanced desktop height */
  min-height: 480px !important;
  max-height: none !important;
  border: 0 !important;
}

/* Ensure the parent containers cannot collapse the iframe */
.map-embed,
.map-card,
.map-inner,
.map-container {
  min-height: 720px !important;
  height: auto !important;
}

/* Smaller phones: reduce to viewport-based height so it fits */
@media (max-width: 480px) {
  .map-embed iframe,
  #servicepoints-map {
    height: 60vh !important;
    min-height: 420px !important;
  }
  .map-embed,
  .map-card {
    min-height: 420px !important;
  }
}
/* End overrides */
/* ===== COMPACT: map iframe sizing overrides (assistant updated - compact size) ===== */
.map-embed iframe,
#servicepoints-map,
.map-card .map-embed iframe {
  width: 100% !important;
  display: block !important;
  height: 420px !important; /* compact desktop height */
  min-height: 360px !important;
  max-height: none !important;
  border: 0 !important;
  overflow: hidden !important;
}

/* Ensure the parent containers don't add extra vertical spacing */
.map-embed,
.map-card,
.map-inner,
.map-container {
  min-height: 420px !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: hidden !important;
}

/* Mobile: use a slightly smaller viewport height to fit screens */
@media (max-width: 768px) {
  .map-embed iframe,
  #servicepoints-map {
    height: 40vh !important;
    min-height: 300px !important;
  }
  .map-embed,
  .map-card {
    min-height: 300px !important;
  }
}
/* End compact overrides */
/* --------- Our Gallery styles (add to style.css) --------- */
.section.gallery {
  background: #fff;
  border-top: 1px solid #e9ecf8;
  padding: clamp(28px, 5vw, 56px) var(--padX);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* desktop: 6 columns */
  gap: 12px;
  grid-auto-rows: 120px; /* base row height */
  align-items: stretch;
  width: 100%;
  margin-top: 18px;
  grid-auto-flow: dense; /* fill gaps when items span */
}

/* Item (use button for keyboard/accessibility) */
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  padding: 0;
  border: 1px solid #e7eefc;
  box-shadow: var(--shadow);
  cursor: pointer;
  background: #f3f6fb;
  outline: none;
}

/* Reset default button visuals */
.gallery-item {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Image inside */
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.25s ease;
  transform-origin: center;
  will-change: transform;
}

/* Dark overlay (pseudo-element) */
.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  transition: background 0.22s ease, opacity 0.22s ease;
  z-index: 2;
  pointer-events: none;
}

/* Lift effect on hover/focus */
.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.04);
}

/* Remove dark overlay on hover/focus */
.gallery-item:hover::before,
.gallery-item:focus::before {
  background: rgba(0, 0, 0, 0);
}

/* Spans for layout variety */
.gallery-item.tall {
  grid-row: span 2;
}
.gallery-item.wide {
  grid-column: span 2;
  grid-row: span 2;
}

/* Overlay / modal */
.gallery-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  place-items: center;
}

.gallery-overlay.open {
  display: grid;
  animation: fadeIn 0.18s ease;
}

.overlay-content {
  position: relative;
  max-width: min(1100px, 92vw);
  width: 100%;
  padding: 12px;
  box-sizing: border-box;
}

/* Was `gallery-overlay-img` (not applied); target the id instead */
#gallery-overlay-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 88vh;
  border: 0;
  outline: none;
  box-shadow: none; /* remove any faint rectangle look */
}

/* Close button */
.overlay-close {
  position: absolute;
  top: -10px;
  right: -10px;
  border: none;
  background: #fff;
  color: var(--brand);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 20px;
  cursor: pointer;
  z-index: 12;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 110px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 100px;
  }
  .gallery-item.wide {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 100px;
    gap: 8px;
  }
  .gallery-item.tall,
  .gallery-item.wide {
    grid-row: span 2;
    grid-column: span 2;
  }
  .overlay-close {
    right: 6px;
    top: 6px;
    background: rgba(255, 255, 255, 0.96);
  }
}
/* style.css — Gallery grid utility */
.gallery-item.wide-short {
  grid-column: span 2;
  grid-row: span 1; /* stay short */
}

/* keep it short on all breakpoints */
@media (max-width: 1100px) {
  .gallery-item.wide-short {
    grid-row: span 1;
  }
}
@media (max-width: 768px) {
  .gallery-item.wide-short {
    grid-row: span 1;
  }
}
@media (max-width: 480px) {
  .gallery-item.wide-short {
    grid-row: span 1;
  }
}
/* --- Gallery overlay: keep header above overlay, nudge image down so navbar doesn't clip it --- */
.gallery-overlay {
  /* keep existing visual behavior, don't change stacking with header */
  place-items: center; /* center horizontally/vertically as before */
}

/* move the overlay content slightly down from true center.
   Uses --header-h (already defined in your :root) so it adapts if you change header height */
.overlay-content {
  /* slide content downward from the centered position */
  transform: translateY(calc(var(--header-h) / 2));
  /* ensure content never grows so tall its top disappears under header */
  max-height: calc(88vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* keep the image inside the overlay sized to viewport but account for header height */
#gallery-overlay-img {
  max-height: calc(88vh - var(--header-h) - 20px);
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
}
/* ===== Service Points: vertically center stats + map ===== */
.map-inner {
  /* grid already set in your file; this centers both columns vertically */
  align-items: center;
  gap: 24px; /* small gap between columns */
}

/* Make the right-side card keep the map centered inside the white rectangle */
.map-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px; /* gives breathing room inside the rectangle */
  background: #fff; /* keep the white rectangle look */
  border-radius: 10px;
  box-shadow: var(--shadow); /* optional — matches site style */
}

/* Make the embed responsive and not top-aligned */
.map-embed {
  width: 100%;
  max-width: 900px; /* matches your inline max-width */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure iframe doesn't force top alignment and respects the card padding */
.map-embed iframe,
.map-card .map-embed iframe {
  width: 100% !important;
  height: 420px !important; /* your compact desktop height */
  max-height: 60vh; /* keeps it from getting too tall */
  min-height: 360px !important;
  display: block !important;
  border-radius: 8px; /* soften corners to match card */
  overflow: hidden !important;
}
.map-inner .map-card {
  display: flex !important;
  flex-direction: column !important; /* keep items stacked if card has multiple children */
  align-items: center !important;
  justify-content: center !important;
  padding: 18px !important; /* preserve original padding */
  box-sizing: border-box !important;
}

/* Ensure the embed container is a centered flexbox */
.map-inner .map-card .map-embed,
.map-inner .map-card > .map-embed {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Force the iframe to be centered visually inside the white rectangle */
.map-inner .map-card .map-embed iframe,
.map-inner .map-card iframe,
.map-card iframe,
#servicepoints-map {
  display: block !important;
  margin: 0 auto !important;
  width: 100% !important; /* fill card width */
  max-width: 900px !important; /* cap width so card padding is visible */
  height: 400px !important; /* desktop height — tweak if you want taller/shorter */
  max-height: 72vh !important;
  min-height: 360px !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

/* Remove the earlier big min-height forcing the whole block to top-align */
.map-embed,
.map-card,
.map-inner,
.map-container {
  min-height: auto !important;
  height: auto !important;
}

/* Small screens: keep centered and a usable height */
@media (max-width: 768px) {
  .map-inner .map-card .map-embed iframe,
  .map-inner .map-card iframe,
  #servicepoints-map {
    height: 40vh !important;
    min-height: 280px !important;
  }
}
/* ========== page-local site search styles ========== */
/* replace existing .partners-search block */
.partners-search {
  position: absolute; /* <-- change from relative/fixed to absolute */
  right: 20px; /* <-- distance from right edge (increase/decrease as needed) */
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  min-width: 220px;
  max-width: 460px;
  width: clamp(220px, 30vw, 440px);
  box-sizing: border-box;
  z-index: 1200;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border-radius: 999px;
  padding: 6px 8px;
  box-shadow: 0 6px 18px rgba(11, 16, 36, 0.08);
  border: 1px solid rgba(11, 16, 36, 0.06);
}

#siteSearchInput {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  padding: 8px 10px;
  width: 100%;
  background: transparent;
  color: var(--brand-700, #0b0b0b);
}

#siteSearchBtn {
  border: none;
  background: transparent;
  font-size: 18px;
  padding: 6px 8px;
  cursor: pointer;
}

/* results dropdown (positioned dynamically by JS) */
.search-results {
  position: absolute;
  display: none;
  left: 0;
  top: calc(100% + 10px);
  width: 100%;
  max-height: 55vh;
  overflow: auto;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8edf8;
  box-shadow: 0 10px 30px rgba(9, 18, 45, 0.12);
  z-index: 1500;
}

.search-results .result-item {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5fb;
  text-decoration: none;
  color: var(--ink-900, #0b1b2b);
}

.search-results .result-item:last-child {
  border-bottom: 0;
}

.search-results .result-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--brand-700, #0b1b2b);
}

.search-results .result-snippet {
  font-size: 13px;
  color: #556078;
  line-height: 1.3;
}

/* highlight on hover/focus */
.search-results .result-item:focus,
.search-results .result-item:hover {
  background: #f6f9ff;
  outline: none;
}

/* temporary highlight for target element */
.search-highlight {
  transition: background-color 0.6s ease;
  background-color: rgba(255, 235, 120, 0.85);
}

/* responsive */
@media (max-width: 880px) {
  .partners-search {
    width: clamp(200px, 60vw, 360px);
    max-width: 360px;
  }
  .search-results {
    width: 92vw;
    left: 4vw;
    right: 4vw;
    top: calc(100% + 10px);
  }
}
/* ===== place .partners-search at the rightmost side (CSS-only) ===== */

/* Ensure containers used for absolute fallback are positioned */
.topbar,
.nav,
.header {
  position: relative;
}

/* Preferred: when .partners-search lives inside a flex .right-tools (push it to far right) */
.nav .right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav .right-tools .partners-search {
  margin-left: auto; /* pushes it to the far right inside the flex container */
  position: fixed; /* keep dropdown positioned correctly */
  z-index: 1200;
}

/* Absolute-position fallback if it's placed directly in .topbar or .header
   (keeps it visually at the right regardless of parent layout) */
.topbar .partners-search,
.header .partners-search {
  position: absolute;
  right: 0px; /* distance from the right edge of header/topbar */
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  z-index: 1200;
  width: clamp(200px, 30vw, 440px);
}

/* keep the input sizing consistent */
.partners-search .search-input-wrap {
  width: 100%;
}

/* ensure results dropdown stays aligned to the search container */
.partners-search .search-results {
  left: 0;
  top: calc(100% + 10px);
  width: 100%;
  box-sizing: border-box;
}

/* ===== HIDE COMPLETELY ON MOBILE ===== */
@media (max-width: 880px) {
  .partners-search {
    display: none !important; /* fully hide on small viewports */
    visibility: hidden !important;
    pointer-events: none !important;
  }
}
.nav .partners-search,
.topbar .partners-search,
.header .partners-search {
  right: 32px !important; /* <-- change this value to move it further left (bigger = more space) */
}
/* Service Points map – hampir full di mobile */
@media (max-width: 640px) {
  .service-points .map-inner {
    padding-left: 0;
    padding-right: 0;
  }
  .service-points .map-container {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
  .service-points .map-card {
    width: 100%;
    margin: 0 auto;
  }
  .service-points .map-embed {
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }
  .service-points .map-embed iframe {
    width: 100% !important;
  }
}
/* Quick mobile-fix: use fixed header where sticky is unreliable */
@media (max-width: 900px) {
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000 !important; /* very high so nothing overlays it */
    transform: translateY(
      0
    ) !important; /* prevent .hide transform interfering visually */
    -webkit-transform: none !important;
    will-change: auto !important;
  }

  /* ensure body content doesn't hide under the fixed header */
  body {
    padding-top: var(--header-h);
  }
}
/* Quick mobile-fix: use fixed header where sticky is unreliable */
@media (max-width: 900px) {
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100000 !important;
    transform: translateY(0) !important;
    -webkit-transform: none !important;
    will-change: auto !important;
  }

  /* ensure body content doesn't hide under the fixed header */
  body {
    padding-top: var(--header-h);
  }
}
/* Mobile: keep header opaque and visible */
@media (max-width: 900px) {
  .site-header.at-top .topbar,
  .site-header.at-top .nav {
    background: var(--brand) !important;
    border-top-color: rgba(255, 255, 255, 0.15) !important;
  }
  /* Never slide the header away on mobile */
  .site-header.hide {
    transform: none !important;
  }
}
/* Mobile: put language + contact next to burger (top-right) */
@media (max-width: 980px) {
  /* Turn the nav bar into a 2-row grid:
     Row 1: right tools + burger on the right
     Row 2: the collapsible nav list */
  .nav {
    display: grid;
    grid-template-columns: 1fr auto auto; /* ... [spacer] [tools] [burger] */
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px;
  }

  /* Language pills + Contact immediately to the left of burger */
  .right-tools {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  /* Menu list spans full width on its own row when opened */
  .nav-list {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  .nav-list.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Slightly tighter chip sizing on phones */
  .right-tools .lang-switch button {
    padding: 6px 10px;
    font-size: 12px;
  }
  .right-tools .btn.contact {
    padding: 6px 12px;
    font-size: 16px;
  }
}
/* Mobile: shrink bottom navbar from the bottom up */
@media (max-width: 980px) {
  .nav {
    padding-top: var(--nav-y); /* keep current top spacing */
    padding-bottom: 2px; /* trim height from the bottom */
  }

  /* keep items centered after the height change */
  .right-tools,
  .burger {
    align-self: center;
  }
}
/* ----- Mobile navbar: match index pages (apply site-wide) ----- */
@media (max-width: 980px) {
  /* Put tools next to burger; menu list drops below */
  .site-header .nav {
    display: grid !important;
    grid-template-columns: 1fr auto auto; /* spacer | tools | burger */
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px;
    padding-top: var(--nav-y);
    padding-bottom: 2px; /* shrink height from bottom */
  }

  /* Language + Contact immediately left of burger */
  .site-header .right-tools {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  /* Nav list spans full width on second row when open */
  .site-header .nav-list {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }
  .site-header .nav-list.open {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Tighter chip sizing on phones */
  .site-header .right-tools .lang-switch button {
    padding: 6px 10px;
    font-size: 12px;
  }
  .site-header .right-tools .btn.contact {
    padding: 6px 12px;
    font-size: 16px;
  }
}
/* === Normalize mobile navbar on alt pages to match index === */
@media (max-width: 768px) {
  /* Match overall navbar height and padding */
  .site-header .nav {
    padding: 8px var(--padX) !important;
  }

  /* Fix right-tools layout so language switch and button align properly */
  .site-header .nav .right-tools {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 10px !important;
  }

  /* Compact Contact Us button — same as index */
  .site-header .nav .btn.contact {
    min-width: 0 !important;
    width: auto !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
  }

  /* Compact language switch buttons */
  .site-header .lang-switch button {
    padding: 5px 10px !important;
    font-size: 12px !important;
  }

  /* Prevent the alt pages’ double .right-tools wrapping from breaking layout */
  .site-header .lang-switch .right-tools {
    display: contents !important;
  }
}
