/* =========================================================
   WTRANSLOG — SHARED STYLESHEET
   Modern logistics & transportation site
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ---------- Tokens ---------- */
:root {
  --primary-teal: #0E9F8E;
  --primary-teal-dark: #0B8576;
  --teal-tint: rgba(14, 159, 142, 0.10);
  --navy-deep: #0B2540;
  --navy-800: #11314F;
  --ink: #16213A;
  --slate: #5B6B7F;
  --cloud: #F4F7F9;
  --white: #FFFFFF;
  --border-soft: #E4EAEF;
  --success-green: #22C55E;
  --warning-amber: #F5A623;

  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 24px rgba(11, 37, 64, 0.08);
  --shadow-lift: 0 16px 36px rgba(11, 37, 64, 0.14);

  --font-head: 'Sora', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1240px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h1 { font-size: 56px; font-weight: 800; }
h2 { font-size: 36px; font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }
.section-cloud { background: var(--cloud); }
.section-navy { background: var(--navy-deep); color: rgba(255,255,255,0.78); }
.section-navy h2, .section-navy h3 { color: var(--white); }

/* ---------- Eyebrow / Section labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-teal);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--primary-teal);
  display: inline-block;
}
.section-navy .eyebrow { color: #5FD8C8; }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-teal);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(14,159,142,0.28);
}
.btn-primary:hover {
  background: var(--primary-teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(14,159,142,0.34);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-soft);
  color: var(--ink);
}
.btn-outline:hover { border-color: var(--primary-teal); color: var(--primary-teal); }
.btn-white {
  background: var(--white);
  color: var(--navy-deep);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-left span, .topbar-right span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Main nav ---------- */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.2s ease;
}
.navbar.scrolled { box-shadow: var(--shadow-soft); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-weight: 500;
  color: var(--ink);
  font-size: 15px;
}
.nav-links a { transition: color 0.2s ease; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-teal); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; }

/* ---------- Language switcher ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  background: var(--cloud);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}
.lang-switch a {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}
.lang-switch a.active {
  background: var(--primary-teal);
  color: white;
  box-shadow: 0 4px 10px rgba(14,159,142,0.3);
}
.lang-switch a:not(.active):hover { color: var(--ink); }

/* Footer logo variant (on dark background) */
.footer-logo img { height: 64px; width: auto; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 140px;
  background: linear-gradient(125deg, var(--navy-deep) 0%, #0C3450 38%, var(--primary-teal-dark) 78%, var(--primary-teal) 100%);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  /* soft ambient glow, drifts slowly */
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 60%; height: 90%;
  background: radial-gradient(circle, rgba(95, 216, 200, 0.30) 0%, transparent 70%);
  z-index: 0;
  animation: heroGlowDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroGlowDrift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-6%, 4%) scale(1.12); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1, .hero p, .hero .eyebrow, .hero .trust-text strong { color: var(--white); }
.hero .eyebrow { color: #8FE9DB; }
.hero .eyebrow::before { background: #8FE9DB; }
.hero h1 .accent { color: #8FE9DB; }
.hero h1 { margin-bottom: 18px; }
.hero p { font-size: 17px; max-width: 480px; margin-bottom: 32px; color: rgba(255,255,255,0.82); }
.hero .trust-text span { color: rgba(255,255,255,0.65); }
.hero .play-link { color: white; }
.hero .play-circle { background: rgba(255,255,255,0.16); color: white; }
.hero .avatar-stack .avatar { border-color: rgba(255,255,255,0.5); }

/* wave divider at base of hero */
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: auto;
  line-height: 0;
  z-index: 2;
}
.hero-wave svg { display: block; width: 100%; height: 90px; }
.hero-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-cta .play-link { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.play-circle {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--primary-teal);
  display: inline-flex; align-items: center; justify-content: center;
}
.trust-strip { display: flex; align-items: center; gap: 14px; }
.avatar-stack { display: flex; }
.avatar-stack img, .avatar-stack .avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -10px;
  object-fit: cover;
  background: var(--primary-teal);
  color: white;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.avatar-stack :first-child { margin-left: 0; }
.trust-text strong { color: var(--ink); display: block; font-size: 14px; }
.trust-text span { font-size: 13px; color: var(--slate); }

.hero-visual { position: relative; }
.hero-visual img {
  border-radius: var(--radius-lg);
  width: 100%;
  box-shadow: var(--shadow-lift);
}
.hero .hero-visual img {
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 30px 60px rgba(5, 20, 35, 0.45);
}
.hero-badge {
  position: absolute;
  bottom: -20px; left: -20px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lift);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge strong { font-size: 22px; color: var(--primary-teal); font-family: var(--font-head); display: block; }
.hero-badge span { font-size: 12.5px; color: var(--slate); }

/* ---------- Icon containers ---------- */
.icon-box {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: var(--teal-tint);
  color: var(--primary-teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}
.section-navy .icon-box { background: rgba(255,255,255,0.10); color: #5FD8C8; }

/* ---------- Feature list ---------- */
.feature-list { margin: 28px 0 32px; }
.feature-item { display: flex; gap: 14px; margin-bottom: 20px; }
.feature-item .icon-box { width: 44px; height: 44px; font-size: 18px; margin-bottom: 0; flex-shrink: 0; }
.feature-item h4 { font-family: var(--font-head); font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.feature-item p { font-size: 14.5px; margin: 0; }

.check-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-weight: 500;
  color: var(--ink);
}
.section-navy .check-list li { color: rgba(255,255,255,0.88); }
.check-list li::before {
  content: "✓";
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--success-green);
  color: white;
  font-size: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ---------- Cards: services / generic ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(14,159,142,0.25);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14.5px; margin: 0; }
.card .icon-box { margin-bottom: 20px; }

/* ---------- Service cards: background image reveal on hover ---------- */
.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--service-bg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.45s ease, transform 0.6s ease;
  z-index: 0;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,37,64,0.55) 0%, rgba(11,37,64,0.86) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
}
.service-card:hover::before { opacity: 0.55; transform: scale(1); }
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 2; transition: color 0.35s ease; }
.service-card:hover h3,
.service-card:hover p { color: #FFFFFF; }
.service-card:hover .icon-box { background: rgba(255,255,255,0.18); color: #8FE9DB; }

/* ---------- Stats ---------- */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-block strong {
  font-family: var(--font-head);
  font-size: 38px;
  font-weight: 800;
  color: var(--primary-teal);
  display: block;
}
.section-navy .stat-block strong { color: var(--white); }
.stat-block span { font-size: 13.5px; color: var(--slate); }
.section-navy .stat-block span { color: rgba(255,255,255,0.65); }

/* ---------- Process steps ---------- */
.process-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-row::before {
  content: "";
  position: absolute;
  top: 26px; left: 6%; right: 6%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border-soft) 0 8px, transparent 8px 16px);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-soft);
  color: var(--primary-teal);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: var(--shadow-soft);
}
.process-step h4 { font-family: var(--font-head); font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.process-step p { font-size: 14px; }

/* ---------- Testimonial ---------- */
.testimonial-panel {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  align-items: center;
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 48px;
  gap: 32px;
}
.testimonial-img {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255,255,255,0.14);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
}
.testimonial-img img.slide-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.testimonial-img img.slide-img.active { opacity: 1; }
.testimonial-content { color: rgba(255,255,255,0.85); position: relative; }
.testimonial-content h3 { color: white; margin-bottom: 20px; }
.testimonial-author strong { color: white; display: block; }
.testimonial-author span { font-size: 13px; color: rgba(255,255,255,0.6); }
.stars { color: var(--warning-amber); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }

.testimonial-track { position: relative; min-height: 168px; }
.testimonial-slide {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}
.testimonial-slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}
.testimonial-slide p { font-size: 15.5px; margin-bottom: 24px; }

.testimonial-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.testimonial-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  color: white;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.testimonial-arrow:hover { background: var(--primary-teal); transform: scale(1.08); }
.testimonial-dots { display: flex; gap: 8px; }
.dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: all 0.25s ease;
}
.dot.active { background: var(--primary-teal); width: 24px; border-radius: 5px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 1/1;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h4 { font-family: var(--font-head); font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.team-card span { font-size: 13.5px; color: var(--slate); }
.team-social { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.team-social a {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cloud);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--ink);
}
.team-social a:hover { background: var(--primary-teal); color: white; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.faq-side-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.faq-side-card img { width: 100%; }
.faq-contact-pill {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: var(--primary-teal);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: white;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  font-weight: 600;
}
.accordion-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  font-size: 15px;
  background: var(--white);
}
.accordion-trigger .plus {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--primary-teal);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.accordion-item.open .plus { transform: rotate(45deg); background: var(--primary-teal); color: white; }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
}
.accordion-item.open .accordion-panel { max-height: 200px; padding-bottom: 18px; }
.accordion-panel p { font-size: 14.5px; }

/* ---------- Blog cards ---------- */
.blog-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); box-shadow: var(--shadow-soft); transition: all 0.25s ease; }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.blog-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white);
  color: var(--primary-teal);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.blog-body { padding: 22px 24px; }
.blog-meta { font-size: 12.5px; color: var(--slate); margin-bottom: 10px; }
.blog-body h4 { font-family: var(--font-head); font-size: 16.5px; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.blog-link { color: var(--primary-teal); font-weight: 600; font-size: 14px; }

/* ---------- Newsletter banner ---------- */
.newsletter-banner {
  background: linear-gradient(120deg, var(--navy-deep) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-lg);
  padding: 48px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.newsletter-banner h3 { color: white; margin-bottom: 6px; }
.newsletter-banner p { color: rgba(255,255,255,0.65); font-size: 14.5px; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input {
  width: 280px;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255,255,255,0.12);
  color: white;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.55); }

/* ---------- Footer ---------- */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer-grid h4 { color: white; font-family: var(--font-head); font-size: 15px; margin-bottom: 18px; }
.footer-grid p { font-size: 14px; margin: 16px 0 20px; max-width: 280px; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid li a:hover { color: var(--primary-teal); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: white;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom a:hover { color: var(--primary-teal); }

/* ---------- Page header (About / Services / Contact) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-800));
  padding: 64px 0;
  text-align: center;
  color: white;
}
.page-header h1 { color: white; font-size: 42px; margin-bottom: 12px; }
.breadcrumb { font-size: 14px; color: rgba(255,255,255,0.65); }
.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb span { color: var(--primary-teal); }

/* ---------- Forms (Contact) ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background: var(--cloud);
  color: var(--ink);
  transition: all 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: white;
  box-shadow: 0 0 0 3px var(--teal-tint);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-status { font-size: 14px; margin-top: 8px; display: none; }
.form-status.success { color: var(--success-green); display: block; }
.form-status.error { color: #DC2626; display: block; }

.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 16px;
  margin-bottom: 18px;
}
.contact-info-card h4 { font-family: var(--font-head); font-size: 16px; color: var(--ink); margin-bottom: 4px; }
.contact-info-card p { font-size: 14px; margin: 0; }

.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border-soft); }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- Quick contact mini-form (e.g. Why Choose Us section) ---------- */
.quick-contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
}
.quick-contact-card h4 {
  color: white;
  font-family: var(--font-head);
  font-size: 17px;
  margin-bottom: 6px;
}
.quick-contact-card p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
}
.quick-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.quick-contact-card input,
.quick-contact-card textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: white;
  font-size: 14px;
  transition: all 0.2s ease;
}
.quick-contact-card input::placeholder,
.quick-contact-card textarea::placeholder { color: rgba(255,255,255,0.45); }
.quick-contact-card input:focus,
.quick-contact-card textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 0 0 3px rgba(14,159,142,0.25);
}
.quick-contact-card textarea { resize: vertical; min-height: 80px; margin-bottom: 14px; }
.quick-contact-card .btn { width: 100%; justify-content: center; }
.quick-contact-card .form-status { color: rgba(255,255,255,0.75); }
.quick-contact-card .form-status.success { color: #5FE3A0; }
.quick-contact-card .form-status.error { color: #FF8A8A; }

/* ---------- About page specifics ---------- */
.timeline { position: relative; padding-left: 32px; border-left: 2px solid var(--border-soft); }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -39px; top: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--primary-teal);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--primary-teal);
}
.timeline-item .year { color: var(--primary-teal); font-weight: 700; font-size: 13.5px; }
.timeline-item h4 { font-family: var(--font-head); margin: 4px 0 6px; color: var(--ink); }
.timeline-item p { font-size: 14.5px; }

/* ---------- Services page specifics ---------- */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.service-detail img { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.service-detail:nth-child(even) .service-text { order: 2; }
.service-detail:nth-child(even) .service-img { order: 1; }

/* ---------- Tags / badges ---------- */
.tag {
  display: inline-block;
  background: var(--teal-tint);
  color: var(--primary-teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
}

/* =========================================================
   MOTION SYSTEM — scroll reveals + hover micro-interactions
   ========================================================= */

/* Scroll reveal: elements fade/rise into place once, on entry */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* stagger children inside a revealed group */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-reveal-group].is-visible > * { opacity: 1; transform: translateY(0); }
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.03s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.11s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.27s; }
[data-reveal-group].is-visible > *:nth-child(5) { transition-delay: 0.35s; }
[data-reveal-group].is-visible > *:nth-child(6) { transition-delay: 0.43s; }

/* Hover micro-interactions — layered on top of existing component hover rules */
.icon-box { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s ease, color 0.25s ease; }
.card:hover .icon-box { transform: translateY(-3px) scale(1.08); background: var(--primary-teal); color: white; }

.team-photo img, .blog-img img { transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.team-card:hover .team-photo img, .blog-card:hover .blog-img img { transform: scale(1.06); }

.process-num { transition: transform 0.35s ease, background 0.3s ease, color 0.3s ease; }
.process-step:hover .process-num { transform: translateY(-4px); background: var(--primary-teal); color: white; }

.nav-links a { transition: color 0.2s ease; }
.nav-links a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: var(--primary-teal);
  transition: width 0.25s ease;
  margin-top: 4px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.logo img { transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.logo:hover img { transform: scale(1.04); }

.timeline-item::before { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.timeline-item:hover::before { transform: scale(1.3); box-shadow: 0 0 0 4px var(--teal-tint); }

.faq-side-card img { transition: transform 0.5s ease; }
.faq-side-card:hover img { transform: scale(1.04); }

.contact-info-card { transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease; }
.contact-info-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(14,159,142,0.25); }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal], [data-reveal-group] > * { opacity: 1; transform: none; }
}


@media (max-width: 1024px) {
  h1 { font-size: 42px; }
  h2 { font-size: 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-row { grid-template-columns: repeat(2, 1fr); }
  .process-row::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 36px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; z-index: 201; position: relative; }
  .topbar { display: none; }
  .logo img { height: 44px; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 100px 32px 32px;
    box-shadow: -16px 0 40px rgba(11, 37, 64, 0.18);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 200;
  }
  .nav-links.mobile-open { transform: translateX(0); }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links a::after { display: none; }
  .nav-links .lang-switch {
    margin-top: 16px;
    align-self: flex-start;
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 64, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 199;
  }
  .nav-overlay.active { opacity: 1; visibility: visible; }

  .nav-toggle span { transition: transform 0.25s ease, opacity 0.25s ease; }
  .nav-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  body.nav-open { overflow: hidden; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .grid-2, .grid-3, .service-detail, .faq-layout, .testimonial-panel { grid-template-columns: 1fr; }
  .testimonial-panel { padding: 36px 24px; text-align: center; }
  .testimonial-img { width: 120px; height: 120px; }
  .testimonial-controls { justify-content: center; }
  .service-detail:nth-child(even) .service-text,
  .service-detail:nth-child(even) .service-img { order: 0; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .form-grid { grid-template-columns: 1fr; }
  .quick-form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-banner { flex-direction: column; text-align: center; }
  .newsletter-form input { width: 100%; }
  section { padding: 56px 0; }
  h1 { font-size: 34px; }
  h2 { font-size: 26px; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}
