/* =========================================================
   PTL EXPRESS — Main Stylesheet
   Palette : #0B1E3D (navy) | #FF6B2B (orange) | #F5F7FA (light)
   ========================================================= */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0B1E3D;
  --navy-mid:  #162D56;
  --navy-light:#1E3F74;
  --orange:    #FF6B2B;
  --orange-dk: #E85A1A;
  --white:     #FFFFFF;
  --light:     #F5F7FA;
  --grey:      #8A96A8;
  --text:      #2D3748;
  --border:    #E2E8F0;

  --font: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(11,30,61,.10);
  --shadow-lg: 0 12px 48px rgba(11,30,61,.18);
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; }

/* ---------- Utilities ---------- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,107,43,.12); color: var(--orange);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 14px; border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800; color: var(--navy); line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem; color: var(--grey);
  max-width: 560px; line-height: 1.7;
}
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: var(--radius);
  font-size: .95rem; font-weight: 700; transition: var(--transition);
}
.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,43,.35);
}
.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,43,.45);
}
.btn-outline {
  border: 2px solid var(--white); color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
#header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  transition: var(--transition);
}
.topbar {
  background: var(--orange);
  padding: 8px 0;
  font-size: .8rem;
  color: var(--white);
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
}
.topbar a { color: var(--white); opacity: .9; }
.topbar a:hover { opacity: 1; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-left span, .topbar-right a {
  display: flex; align-items: center; gap: 6px;
}

.navbar {
  background: var(--white);
  padding: 0;
  box-shadow: 0 2px 12px rgba(11,30,61,.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 8px;
}

/* Logo image */
.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0;
}
/* Wrapper div .logo — cap its size */
.nav-logo .logo {
  display: flex; align-items: center;
  height: 48px; width: auto; overflow: hidden;
}
/* The actual <img> inside the wrapper */
.nav-logo .logo img,
.nav-logo > img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
}
/* Fallback icon */
.logo-icon {
  width: 42px; height: 42px; background: var(--navy);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon svg { width: 24px; height: 24px; fill: var(--white); }

/* Nav links — shrink font slightly before hiding on mobile */
.nav-links {
  display: flex; align-items: center; gap: 2px;
  flex: 1; justify-content: center; /* centre links between logo & CTA */
}
.nav-links a {
  padding: 8px 12px; border-radius: 8px;
  font-size: .875rem; font-weight: 500; color: var(--navy);
  white-space: nowrap;
  transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--orange); background: rgba(255,107,43,.08);
}
.nav-links a.active::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2px; background: var(--orange); border-radius: 2px;
}

.nav-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Language switcher */
.lang-switcher {
  display: flex; align-items: center; gap: 4px;
  background: var(--light); border-radius: 8px; padding: 4px;
}
.lang-switcher button {
  padding: 4px 8px; border-radius: 6px;
  font-size: 1.1rem; line-height: 1;
  color: var(--grey); background: transparent;
  transition: var(--transition);
  filter: grayscale(1) opacity(.55);
}
.lang-switcher button.active {
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
  filter: none;
}
.lang-switcher button:hover { filter: none; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: transparent; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 20px 0;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 20px; font-weight: 500; color: var(--navy);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.mobile-nav a:hover { color: var(--orange); background: var(--light); }
.mobile-nav .mobile-cta { padding: 16px 20px; }
.mobile-lang { padding: 16px 20px; display: flex; gap: 8px; }
.mobile-lang button {
  padding: 6px 14px; border-radius: 8px; font-size: .85rem; font-weight: 600;
  background: var(--light); color: var(--grey);
}
.mobile-lang button.active { background: var(--navy); color: var(--white); }

/* Scrolled header */
#header.scrolled .topbar { display: none; }
#header.scrolled .navbar { box-shadow: var(--shadow); }

/* Page offset */
.page-offset { padding-top: 110px; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; position: relative;
  display: flex; align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  overflow: hidden;
}
/* ---------- Hero Europe map ---------- */
.hero-map {
  position: absolute;
  right: -3%; top: 50%;
  transform: translateY(-50%);
  width: 58%;
  max-width: 920px;
  pointer-events: none;
  z-index: 1;
}
.hero-map .europe-svg {
  width: 100%; height: auto; display: block;
  opacity: .18;
  filter: brightness(0) invert(1);
}
.map-arc-overlay {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  overflow: visible;
}
.map-arc-overlay path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5px;
  stroke-dasharray: 5 4;
  stroke-linecap: round;
  opacity: .8;
}
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
}
.pin-pulse {
  position: absolute;
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--orange);
  animation: map-ping 2.2s ease-out infinite;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.pin-pulse-2  { animation-delay: .7s; }
.pin-pulse-pl { border-color: rgba(255,255,255,.7); }
@keyframes map-ping {
  0%   { opacity: .6; transform: translate(-50%,-50%) scale(.3); }
  100% { opacity: 0;  transform: translate(-50%,-50%) scale(2.4); }
}
.pin-dot-wrap {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; line-height: 1;
  box-shadow: 0 0 0 3px rgba(255,107,43,.3), 0 4px 16px rgba(0,0,0,.4);
  position: relative; z-index: 2;
}
.pin-dot-wrap.pin-dot-pl { background: var(--white); }
.pin-tooltip {
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .72rem; font-weight: 700;
  padding: 3px 10px; border-radius: 100px;
  white-space: nowrap; position: relative; z-index: 2;
}
/* Hide card — map is the visual element */
.hero-visual { display: none !important; }
/* Hide map on mobile */
@media (max-width: 1024px) { .hero-map { display: none; } }

/* ----------- */
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1601584115197-04ecc0da31d7?w=1600&auto=format&fit=crop') center/cover;
  opacity: .12;
}
.hero-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-shapes span {
  position: absolute; border-radius: 50%;
  background: var(--orange); opacity: .07;
}
.hero-shapes span:nth-child(1) { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-shapes span:nth-child(2) { width: 300px; height: 300px; bottom: -80px; left: 10%; }
.hero-shapes span:nth-child(3) { width: 150px; height: 150px; top: 30%; right: 25%; opacity: .1; }

.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center;
  padding: 120px 0 80px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,107,43,.18); color: var(--orange);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 8px 16px; border-radius: 100px;
  border: 1px solid rgba(255,107,43,.3); margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: var(--white); line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title em { color: var(--orange); font-style: normal; }
.hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.72);
  max-width: 440px; line-height: 1.75; margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-trust {
  margin-top: 56px; display: flex; align-items: center; gap: 20px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1);
}
.hero-trust-item { text-align: center; }
.hero-trust-item strong {
  display: block; font-size: 1.5rem; font-weight: 800; color: var(--white);
}
.hero-trust-item span { font-size: .78rem; color: rgba(255,255,255,.55); }
.hero-divider { width: 1px; height: 40px; background: rgba(255,255,255,.15); }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.07); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg);
  padding: 32px; color: var(--white);
}
.hero-card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-stat-box {
  background: rgba(255,255,255,.06); border-radius: var(--radius);
  padding: 20px 16px; text-align: center; border: 1px solid rgba(255,255,255,.08);
  transition: var(--transition);
}
.hero-stat-box:hover { background: rgba(255,107,43,.15); border-color: rgba(255,107,43,.3); }
.hero-stat-box .num {
  font-size: 1.75rem; font-weight: 900; color: var(--orange);
  display: block; line-height: 1;
}
.hero-stat-box .lbl { font-size: .72rem; opacity: .6; margin-top: 4px; }
.hero-card-icon {
  width: 48px; height: 48px; 
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.hero-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.hero-card p  { font-size: .82rem; opacity: .6; line-height: 1.5; }
.hero-pill {
  position: absolute; background: var(--white); border-radius: 100px;
  padding: 8px 16px; display: flex; align-items: center; gap: 8px;
  box-shadow: var(--shadow-lg); font-size: .8rem; font-weight: 600; color: var(--navy);
  z-index: 1;
}
.hero-pill.pill-1 { top: -20px; left: 20px; }
.hero-pill.pill-2 { bottom: -20px; right: 20px; }
.hero-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }

/* ---------- Services Strip ---------- */
.services-strip {
  background: var(--navy); padding: 28px 0;
}
.services-strip .container {
  display: flex; align-items: center; gap: 0; overflow-x: auto;
}
.strip-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 0 32px; color: rgba(255,255,255,.6);
  font-size: .78rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; cursor: pointer; transition: var(--transition);
  border-right: 1px solid rgba(255,255,255,.1); white-space: nowrap;
  text-decoration: none;
}
.strip-item:last-child { border-right: none; }
.strip-item:hover { color: var(--orange); }
.strip-item svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- About / Intro ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--orange); color: var(--white);
  border-radius: var(--radius); padding: 20px 24px;
  text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge strong { font-size: 2rem; font-weight: 900; display: block; }
.about-badge span   { font-size: .78rem; opacity: .85; }
.about-points { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.about-point {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.about-point:hover { border-color: var(--orange); background: rgba(255,107,43,.04); }
.about-point-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(255,107,43,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.about-point-icon svg { width: 20px; height: 20px; fill: var(--orange); }
.about-point h4 { font-size: .9rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.about-point p  { font-size: .83rem; color: var(--grey); }

/* ---------- Services Cards ---------- */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--white); border: 1px solid var(--border);
  transition: var(--transition); position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg); border-color: var(--orange);
}
.service-card-img {
  aspect-ratio: 16/9; overflow: hidden;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; transition: .5s ease; }
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 24px; }
.service-card-icon {
  width: 44px; height: 44px; background: rgba(255,107,43,.12);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.service-card-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-card p  { font-size: .85rem; color: var(--grey); line-height: 1.6; margin-bottom: 16px; }
.service-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 700; color: var(--orange);
  transition: var(--transition);
}
.service-card-link:hover { gap: 10px; }

/* ---------- Stats / Counter ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 80px 0; position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?w=1400&auto=format') center/cover;
  opacity: .05;
}
.stats-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.stat-item {
  text-align: center; padding: 40px 24px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900;
  color: var(--white); line-height: 1; display: block;
}
.stat-num span { color: var(--orange); }
.stat-label { font-size: .85rem; color: rgba(255,255,255,.5); margin-top: 8px; }

/* ---------- Engagements ---------- */
.engagements-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.engagement-card {
  text-align: center; padding: 36px 24px;
  border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--border); transition: var(--transition);
}
.engagement-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
  border-color: var(--orange);
}
.engagement-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(255,107,43,.3);
}
.engagement-icon svg { width: 30px; height: 30px; fill: var(--white); }
.engagement-card h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.engagement-card p  { font-size: .83rem; color: var(--grey); line-height: 1.6; }

/* ---------- Testimonials / Google Reviews ---------- */
.testimonials-section { background: var(--light); overflow: hidden; }

/* Carousel wrapper with edge fade */
.reviews-track-wrap {
  position: relative;
  overflow: hidden;
  margin: 0 -20px; /* bleed past container a bit */
}
.reviews-track-wrap::before,
.reviews-track-wrap::after {
  content: '';
  position: absolute; top: 0; width: 80px; height: 100%;
  z-index: 2; pointer-events: none;
}
.reviews-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--light), transparent);
}
.reviews-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--light), transparent);
}

/* Scrolling track */
.reviews-track {
  display: flex; align-items: stretch; gap: 24px;
  width: max-content;
  padding: 8px 20px 16px;
  will-change: transform;
}
.reviews-track:hover { /* pause handled by JS */ }

/* Override card to fixed width in carousel */
.reviews-track .testimonial-card {
  min-width: 340px; max-width: 340px;
  flex-shrink: 0;
}

/* Rating summary */
.google-rating-big {
  display: inline-flex; align-items: center; gap: 16px;
  background: var(--white); border-radius: var(--radius);
  padding: 14px 24px; border: 1px solid var(--border);
  box-shadow: var(--shadow); margin-bottom: 8px;
}
.google-rating-big span:first-child {
  font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1;
}
.btn-outline-orange {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius);
  border: 1.5px solid var(--orange); color: var(--orange);
  font-size: .82rem; font-weight: 700; transition: var(--transition);
  white-space: nowrap;
}
.btn-outline-orange:hover { background: var(--orange); color: var(--white); }

/* Google badge link */
.google-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--white);
  font-size: .82rem; font-weight: 600; color: var(--grey);
  transition: var(--transition); box-shadow: var(--shadow);
}
.google-badge:hover { border-color: var(--orange); color: var(--navy); transform: translateY(-2px); }

/* Skeleton loaders */
.skeleton-card { pointer-events: none; }
.sk-line {
  height: 12px; border-radius: 6px;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  margin-bottom: 10px;
}
.sk-line.w100 { width: 100%; }
.sk-line.w80  { width: 80%; }
.sk-line.w60  { width: 60%; }
.sk-line.w40  { width: 40%; }
@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
  border: 1px solid var(--border); transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.testi-stars { display: flex; gap: 4px; color: #f59e0b; font-size: 1rem; }
.testi-text {
  font-size: .9rem; color: var(--text); line-height: 1.75;
  font-style: italic; flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.testi-name  { font-weight: 700; font-size: .9rem; color: var(--navy); }
.testi-role  { font-size: .78rem; color: var(--grey); }

/* ---------- Agencies ---------- */
.agencies-section { background: var(--light); }

.agencies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.agency-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.agency-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.agency-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.agency-flag {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 16px;
}
.agency-country {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--orange);
  margin-bottom: 6px;
}
.agency-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  line-height: 1.2;
}

.agency-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  flex: 1;
}
.agency-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .88rem;
  color: var(--grey);
}
.agency-detail svg {
  width: 16px; height: 16px;
  fill: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.agency-detail a {
  color: var(--navy);
  font-weight: 500;
  transition: var(--transition);
}
.agency-detail a:hover { color: var(--orange); }

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

/* ---------- Partners carousel ---------- */
.partners-section { padding: 56px 0; border-top: 1px solid var(--border); overflow: hidden; }
.partners-label {
  text-align: center; font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--grey); margin-bottom: 36px;
}

/* Mask edges with a fade */
.partners-track-wrap {
  position: relative;
  overflow: hidden;
}
.partners-track-wrap::before,
.partners-track-wrap::after {
  content: '';
  position: absolute; top: 0; width: 120px; height: 100%; z-index: 2;
  pointer-events: none;
}
.partners-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.partners-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

/* Scrolling track */
.partners-track {
  display: flex; align-items: center;
  width: max-content;
  will-change: transform;
}

/* One set of logos */
.logos-set {
  display: flex; align-items: center; gap: 56px;
  padding-right: 56px; /* trailing gap to match inter-item spacing */
  flex-shrink: 0;
}

/* Individual logos */
.partner-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(.45);
  transform-origin: center center;
  will-change: transform, filter; /* promote to GPU layer for smooth compositing */
  flex-shrink: 0;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dk) 100%);
  padding: 80px 0; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-banner .container {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900; color: var(--white); line-height: 1.2;
}
.cta-banner p { color: rgba(255,255,255,.8); margin-top: 8px; }
.cta-banner .btn-white {
  background: var(--white); color: var(--orange);
  font-weight: 800; padding: 16px 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.cta-banner .btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.2); }

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-block {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: var(--transition);
}
.contact-block:hover { border-color: var(--orange); background: rgba(255,107,43,.03); }
.contact-block-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(255,107,43,.1); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contact-block-icon svg { width: 20px; height: 20px; fill: var(--orange); }
.contact-block h4 { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-block p, .contact-block a {
  font-size: .85rem; color: var(--grey); line-height: 1.5;
}
.contact-block a:hover { color: var(--orange); }

/* Form */
.contact-form {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.form-title {
  font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; font-family: var(--font); color: var(--text);
  background: var(--white); transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,107,43,.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Map placeholder ---------- */
.map-wrap {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9; background: var(--light);
}
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ---------- Footer ---------- */
footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand p {
  font-size: .88rem; line-height: 1.75; margin-top: 16px;
  max-width: 280px;
}
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.2rem; font-weight: 900; color: var(--white);
}
.footer-logo span { color: var(--orange); }
.footer-socials {
  display: flex; gap: 10px; margin-top: 24px;
}
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.07); display: flex;
  align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-socials a:hover { background: var(--orange); }
.footer-socials svg { width: 16px; height: 16px; fill: white; }

.footer-col h4 {
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; color: var(--white); margin-bottom: 20px;
}
.footer-col a {
  display: flex; align-items: center; gap: 8px;
  font-size: .87rem; padding: 5px 0;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--orange); }
.footer-col a::before {
  content: '→'; font-size: .7rem; color: var(--orange); opacity: 0;
  transition: var(--transition); margin-left: -12px;
}
.footer-col a:hover::before { opacity: 1; margin-left: 0; }

.footer-bottom {
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  font-size: .8rem;
}
.footer-bottom a:hover { color: var(--orange); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 120px 0 64px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1519003722824-194d4455a60c?w=1400&auto=format') center/cover;
  opacity: .08;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .82rem; color: rgba(255,255,255,.5); margin-bottom: 16px;
}
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,.3); }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); font-weight: 900;
  color: var(--white); line-height: 1.2;
}
.page-hero p {
  font-size: 1.05rem; color: rgba(255,255,255,.65);
  max-width: 520px; margin-top: 16px;
}

/* ---------- Service Detail ---------- */
.service-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
  padding: 64px 0; border-bottom: 1px solid var(--border);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-img {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3;
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }
.service-detail ul { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.service-detail li {
  display: flex; align-items: center; gap: 10px;
  font-size: .9rem; color: var(--text);
}
.service-detail li::before {
  content: ''; width: 18px; height: 18px; min-width: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23FF6B2B'%3E%3Cpath fill-rule='evenodd' d='M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- About Page ---------- */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.value-card {
  padding: 32px 24px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow); }
.value-num {
  font-size: 3rem; font-weight: 900; color: rgba(255,107,43,.15);
  line-height: 1; margin-bottom: 12px;
}
.value-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.value-card p  { font-size: .85rem; color: var(--grey); line-height: 1.65; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card {
  text-align: center; padding: 28px 20px;
  border-radius: var(--radius-lg); background: var(--white);
  border: 1px solid var(--border); transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 800; color: var(--white);
}
.team-card h4 { font-size: .95rem; font-weight: 700; color: var(--navy); }
.team-card p  { font-size: .8rem; color: var(--orange); font-weight: 600; margin-top: 4px; }

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: none; }
.fade-up:nth-child(1) { transition-delay: .0s; }
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }

/* ---------- RTL support (Arabic) ---------- */
[dir="rtl"] {
  text-align: right;
  font-family: 'Cairo', var(--font);
}
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero .container { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }
[dir="rtl"] .about-badge { right: auto; left: -24px; }
[dir="rtl"] .footer-col a::before { transform: rotate(180deg); }

/* ---------- Responsive ---------- */

/* Slightly tighter logo at intermediate sizes */
@media (max-width: 1100px) {
  .nav-logo .logo,
  .nav-logo .logo img,
  .nav-logo > img { height: 40px; }
  .nav-links a { padding: 8px 9px; font-size: .83rem; }
}

@media (max-width: 1024px) {
  .hero .container  { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual      { display: none; }
  .about-grid       { grid-template-columns: 1fr; }
  .about-img-wrap   { max-width: 500px; }
  .services-grid    { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .engagements-grid { grid-template-columns: 1fr 1fr; }
  .team-grid        { grid-template-columns: 1fr 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  /* Hide CTA button in nav, keep lang switcher */
  .nav-right .btn   { display: none; }
}

@media (max-width: 768px) {
  /* Hide everything except hamburger */
  .nav-links, .nav-right .btn, .lang-switcher { display: none; }
  .hamburger { display: flex; }
  /* Compact logo on mobile */
  .nav-logo .logo,
  .nav-logo .logo img,
  .nav-logo > img { height: 36px; }
  .topbar { display: none; }
  .services-grid    { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: 1fr 1fr; }
  .testimonials-grid{ grid-template-columns: 1fr; }
  .engagements-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .values-grid      { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: 1fr 1fr; }
  .cta-banner .container { flex-direction: column; text-align: center; }
  .hero-trust { flex-wrap: wrap; justify-content: center; }
  .service-detail   { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .about-badge      { right: 0; bottom: -16px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .stats-grid       { grid-template-columns: 1fr 1fr; }
  .engagements-grid { grid-template-columns: 1fr; }
  .team-grid        { grid-template-columns: 1fr; }
  .hero-actions     { flex-direction: column; align-items: flex-start; }
  .contact-form     { padding: 24px; }
}
