/* =========================================
   FutureLinks Logistics – Premium Light Theme
   Brand Colors from client logo:
     Deep Navy-Purple: #170750
     Bright Purple:    #5C2CB6
     Accent Indigo:    #7c3aed
     Lavender:         #b79ee6
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  /* Brand Colors */
  --brand-navy: #170750;
  --brand-purple: #5C2CB6;
  --accent: #7c3aed;
  --lavender: #b79ee6;
  --lavender-light: #d4c1f0;
  --lavender-pale: #f3eefb;

  /* Backgrounds */
  --bg-main: #ffffff;
  --bg-alt: #f8f7fc;
  --bg-hero: linear-gradient(135deg, #170750 0%, #2d1875 40%, #5C2CB6 100%);
  --bg-card: #ffffff;

  /* Text */
  --text-dark: #1a1a2e;
  --text-main: #334155;
  --text-muted: #64748b;
  --white: #ffffff;

  /* Borders & Shadows */
  --border-light: #e8e4f0;
  --border-card: rgba(92, 44, 182, 0.12);
  --shadow-sm: 0 1px 3px rgba(23, 7, 80, 0.04);
  --shadow-md: 0 4px 16px rgba(23, 7, 80, 0.06);
  --shadow-lg: 0 12px 40px rgba(23, 7, 80, 0.08);
  --shadow-card: 0 4px 24px rgba(92, 44, 182, 0.07);
  --shadow-card-hover: 0 12px 40px rgba(92, 44, 182, 0.14);

  /* Layout */
  --section-padding: 100px 10%;
  --transition: all 0.3s ease;
  --radius: 16px;
  --radius-lg: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
}

/* ===== REMOVE OLD DARK AMBIENT GLOWS ===== */
.background-wrapper {
  display: none;
}

/* =========================================
   Navigation
   ========================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: var(--transition);
}

header.scrolled {
  padding: 14px 10%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 2px 20px rgba(23, 7, 80, 0.06);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.logo-img--header {
  height: 40px;
  width: auto;
}

.logo-img--dark {
  display: none;
}

header.scrolled .logo-img--light {
  display: none;
}

header.scrolled .logo-img--dark {
  display: block;
}

.logo-img--footer {
  height: 110px;
  width: auto;
}

/* Nav header links — white on hero, switch on scroll */
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
}

header.scrolled .nav-links a {
  color: var(--text-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--brand-purple);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--brand-purple);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-primary {
  padding: 12px 28px;
  background: var(--brand-purple);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: none;
  box-shadow: 0 4px 15px rgba(92, 44, 182, 0.3);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(92, 44, 182, 0.45);
  background: var(--accent);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

header.scrolled .hamburger span {
  background: var(--text-dark);
}

.hamburger.active span {
  background: var(--text-dark);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.mobile-link {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: var(--transition);
}

.mobile-link:hover {
  color: var(--brand-purple);
}

.mobile-cta {
  margin-top: 16px;
}

/* =========================================
   Typography Utilities
   ========================================= */
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-purple);
  margin-bottom: 14px;
  display: inline-block;
  position: relative;
}

.section-title {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.section-title span {
  color: var(--brand-purple);
}

.section-desc {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.8;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: var(--section-padding);
  position: relative;
  z-index: 0;
}

.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  pointer-events: none;
  background: var(--bg-hero);
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/banner_bg.png') center/cover no-repeat;
  opacity: 0.12;
  mix-blend-mode: soft-light;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 1;
}

/* Sections that slide over fixed hero */
.scroll-over {
  position: relative;
  z-index: 2;
  background-color: var(--bg-main);
  box-shadow: 0 -12px 60px rgba(23, 7, 80, 0.08);
  border-radius: 28px 28px 0 0;
}

.about,
.services,
.process,
.why-section,
.marquee-section,
.map-section,
.contact-section {
  position: relative;
  z-index: 2;
  background-color: var(--bg-main);
}

footer {
  position: relative;
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none !important; }
}

.hero h1 {
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--white);
}

.hero h1 span {
  color: var(--lavender-light);
}

.hero p {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  max-width: 600px;
  line-height: 1.7;
}

.hero-trust {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-arabic {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 400;
  color: var(--lavender-light);
  margin-bottom: 16px;
  opacity: 0.85;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--white);
  color: var(--brand-navy);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  background: var(--lavender-pale);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-hero-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* =========================================
   Stats Bar (below hero)
   ========================================= */
.stats-bar {
  position: relative;
  z-index: 3;
  background: var(--bg-main);
  margin-top: -60px;
  padding: 0 10%;
}

.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.stat-box {
  text-align: center;
  padding: 40px 24px;
  border-right: 1px solid var(--border-light);
  transition: var(--transition);
}

.stat-box:last-child {
  border-right: none;
}

.stat-box:hover {
  background: var(--lavender-pale);
}

.stat-num {
  font-size: 48px;
  font-weight: 800;
  color: var(--brand-navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num span {
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-purple);
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =========================================
   About Section
   ========================================= */
.about {
  padding: var(--section-padding);
  background: var(--bg-alt);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 50px;
}

.about .section-desc {
  margin-bottom: 20px;
}

.about-visual-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  transition: transform 0.5s ease;
}

.about-visual-wrapper:hover .about-image {
  transform: scale(1.03);
}

/* Stats inside about (old layout) hidden in favor of stats-bar */
.about-visual-wrapper .stats-container {
  display: none;
}

/* =========================================
   Countries Served
   ========================================= */
.countries-section {
  padding: 80px 10%;
  background: var(--bg-main);
  text-align: center;
}

.countries-section .section-title {
  color: var(--brand-navy);
}

.countries-section .section-eyebrow {
  color: var(--white);
}
.countries-section .section-title span {
  color: var(--lavender-light);
}

.countries-section .section-desc {
  color: var(--lavender-light);
}

.countries-grid {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 40px 48px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  min-width: 200px;
}

.country-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--lavender);
}

.country-flag {
  font-size: 48px;
  line-height: 1;
}

.country-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.country-role {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================
   Services Section
   ========================================= */
.services {
  padding: var(--section-padding);
  background: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 0;
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--lavender);
}

/* Service Card Images */
.service-img-wrapper {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}

.service-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.service-card-body {
  padding: 28px 32px 32px;
}

.service-card .icon-wrapper {
  width: 56px;
  height: 56px;
  background: var(--lavender-pale);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card .icon-wrapper svg {
  stroke: var(--brand-purple);
}

.service-card:hover .icon-wrapper {
  background: var(--brand-purple);
  box-shadow: 0 4px 16px rgba(92, 44, 182, 0.3);
}

.service-card:hover .icon-wrapper svg {
  stroke: var(--white);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand-purple);
  transition: var(--transition);
}

.service-link:hover {
  gap: 10px;
  color: var(--accent);
}

.service-link svg {
  transition: transform 0.3s ease;
}

.service-link:hover svg {
  transform: translateX(3px);
}

/* =========================================
   Process Section
   ========================================= */
.process {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
  background: var(--bg-main);
}

.process::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: url('../images/container-1.png') center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 36px;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}

.process-step {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--lavender);
}

.process-step .step-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--lavender-light);
  line-height: 1;
  margin-bottom: 16px;
  transition: var(--transition);
}

.process-step:hover .step-number {
  color: var(--lavender);
}

.process-step h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.process-step p {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
}

/* =========================================
   Marquee Ticker
   ========================================= */
.marquee-section {
  overflow: hidden;
  padding: 40px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.marquee-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  opacity: 0.8;
  white-space: nowrap;
}

.marquee-text span {
  color: var(--brand-purple);
  opacity: 0.8;
}

.marquee-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-purple);
  padding: 0 32px;
  opacity: 0.8;
}

.marquee-separator svg {
  width: clamp(24px, 3.5vw, 36px);
  height: clamp(24px, 3.5vw, 36px);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================
   Why FutureLinks Section
   ========================================= */
.why-section {
  padding: var(--section-padding);
  background: var(--bg-main);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 50px;
}

.why-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.why-item:hover {
  border-color: var(--lavender);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.why-bullet {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--lavender-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.why-bullet svg {
  stroke: var(--brand-purple);
}

.why-item:hover .why-bullet {
  background: var(--brand-purple);
  box-shadow: 0 4px 16px rgba(92, 44, 182, 0.3);
}

.why-item:hover .why-bullet svg {
  stroke: var(--white);
}

.why-item h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.why-item p {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================
   Partners Section
   ========================================= */
.partners-section {
  padding: 60px 10%;
  background: var(--bg-alt);
  text-align: center;
  border-top: 1px solid var(--border-light);
}

.partners-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lavender-light);
  margin-bottom: 32px;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  opacity: 0.4;
}

.partners-logos img {
  height: 36px;
  width: auto;
  filter: grayscale(1);
  transition: var(--transition);
}

.partners-logos img:hover {
  filter: grayscale(0);
  opacity: 1;
}

.partner-placeholder {
  font-size: 16px;
  font-weight: 700;
  color: var(--lavender-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
}

/* =========================================
   Map Section
   ========================================= */
.map-section {
  padding: 80px 10% 0;
  background: var(--bg-main);
}

.map-header {
  text-align: center;
  margin-bottom: 40px;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================
   Contact / RFQ Form Section
   ========================================= */
.contact-section {
  padding: 100px 10%;
  background: var(--bg-alt);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info {
  position: sticky;
  top: 120px;
}

.contact-info .section-title {
  color: var(--text-dark);
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--lavender);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  background: var(--lavender-pale);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon svg {
  stroke: var(--brand-purple);
}

.contact-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

a.contact-card-value:hover {
  color: var(--brand-purple);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-purple), var(--accent), var(--lavender));
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #a1a1aa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(92, 44, 182, 0.08);
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235C2CB6' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}

.form-group select option {
  background: var(--white);
  color: var(--text-dark);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 40px;
  background: var(--brand-purple);
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(92, 44, 182, 0.3);
  position: relative;
  overflow: hidden;
  align-self: flex-start;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(92, 44, 182, 0.45);
  background: var(--accent);
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:active {
  transform: translateY(-1px);
}

.btn-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.btn-submit:hover .btn-icon {
  transform: translate(4px, -4px);
}

/* =========================================
   Footer
   ========================================= */
footer {
  padding: 60px 10% 0;
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.85);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-brand .logo {
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
  max-width: 320px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--lavender);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--brand-purple);
  color: var(--white);
  border-color: var(--brand-purple);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--lavender-light);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact svg {
  flex-shrink: 0;
  color: var(--lavender);
  margin-top: 2px;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--lavender-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copyright {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--lavender-light);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* =========================================
   CTA Box (Background Image)
   ========================================= */
.cta-box {
  background-image: linear-gradient(rgba(23, 7, 80, 0.88), rgba(92, 44, 182, 0.9)), url('../images/cta_bg.webp');
  background-size: cover;
  background-position: center;
}

/* =========================================
   Form Validation States
   ========================================= */
.field-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.field-valid {
  border-color: rgba(52, 211, 153, 0.5) !important;
}

.btn-submit:disabled {
  cursor: not-allowed;
  opacity: 0.85;
  transform: none !important;
}

/* Honeypot */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* =========================================
   Toast Notification
   ========================================= */
.toast-notification {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--white);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  max-width: 90vw;
}

.toast-notification.toast-error {
  border-color: rgba(248, 113, 113, 0.35);
}

/* =========================================
   Service Page Styles (shared)
   ========================================= */
.page-hero {
  background: var(--bg-hero);
  padding: 160px 10% 80px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto;
}

.page-content {
  padding: 80px 10%;
  background: var(--bg-main);
}

.page-content h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.page-content p {
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--lavender);
}

.feature-card .icon-wrapper {
  width: 52px;
  height: 52px;
  background: var(--lavender-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card .icon-wrapper svg {
  stroke: var(--brand-purple);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Page CTA Banner */
.page-cta {
  padding: 80px 10%;
  background: var(--brand-navy);
  text-align: center;
}

.page-cta h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 560px;
  margin: 0 auto 28px;
}

.page-cta .btn-primary {
  padding: 16px 40px;
  font-size: 16px;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box:nth-child(2) {
    border-right: none;
  }

  .stat-box:nth-child(1),
  .stat-box:nth-child(2) {
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    position: static;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  header .btn-primary {
    display: none;
  }

  :root {
    --section-padding: 80px 6%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-arabic {
    font-size: 20px;
  }

  /* Mobile hero: image strip + white content card */
  .hero {
    min-height: auto;
    flex-direction: column;
    padding: 0;
    align-items: stretch;
  }

  .hero-bg {
    position: relative;
    height: 38vh;
    min-height: 220px;
    max-height: 300px;
    width: 100%;
  }

  .hero-bg::after {
    opacity: 1;
    mix-blend-mode: normal;
    background:
      linear-gradient(to bottom, rgba(23, 7, 80, 0.2), rgba(23, 7, 80, 0.55)),
      url('../images/banner_bg.png') center/cover no-repeat;
  }

  .hero-content {
    background: var(--white);
    border-radius: 28px 28px 0 0;
    margin-top: -28px;
    padding: 32px 6% 40px;
    box-shadow: 0 -8px 40px rgba(23, 7, 80, 0.08);
    position: relative;
    z-index: 1;
    max-width: none;
  }

  .hero-content .section-eyebrow {
    color: var(--brand-purple) !important;
  }

  .hero h1 {
    color: var(--text-dark);
    font-size: clamp(32px, 8vw, 42px);
  }

  .hero h1 span {
    color: var(--brand-purple);
  }

  .hero p {
    color: var(--text-muted);
  }

  .hero-arabic {
    color: var(--brand-purple);
    opacity: 1;
  }

  .hero-tagline {
    color: var(--text-muted);
  }

  .hero-trust {
    display: none;
  }

  .btn-hero-secondary {
    color: var(--brand-purple);
    border-color: rgba(92, 44, 182, 0.45);
  }

  .btn-hero-secondary:hover {
    background: var(--lavender-pale);
    color: var(--brand-navy);
    border-color: var(--brand-purple);
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process::before {
    height: 20%;
    opacity: 0.25;
  }

  .section-desc {
    color: var(--text-dark);
    font-size: 19px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .countries-grid {
    gap: 24px;
  }

  .country-card {
    min-width: 160px;
    padding: 28px 32px;
  }

  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  :root {
    --section-padding: 60px 5%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-bar {
    padding: 0 5%;
    margin-top: -40px;
  }

  .stats-bar-inner {
    grid-template-columns: 1fr 1fr;
  }

  .stat-box {
    padding: 24px 16px;
  }

  .stat-num {
    font-size: 36px;
  }

  .countries-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .country-card {
    width: 100%;
    max-width: 280px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 14px 28px;
    font-size: 15px;
  }

  .page-hero {
    padding: 140px 5% 60px;
  }

  .page-content {
    padding: 60px 5%;
  }
}

/* =========================================
   Service Page Two-Column Layout & Sidebar
   ========================================= */
.service-details-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px) {
  .service-details-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.service-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: var(--bg-alt);
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.sidebar-widget h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 12px;
}

.sidebar-widget .form-group {
  margin-bottom: 16px;
}

.sidebar-widget .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.sidebar-widget .form-group input,
.sidebar-widget .form-group select,
.sidebar-widget .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 14px;
  transition: var(--transition);
}

.sidebar-widget .form-group input:focus,
.sidebar-widget .form-group select:focus,
.sidebar-widget .form-group textarea:focus {
  border-color: var(--brand-purple);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.sidebar-widget .btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--brand-purple);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.sidebar-widget .btn-submit:hover {
  background: var(--accent);
}