/* =============================================
   DOTF – Dreams of the Future | Main Stylesheet
   ============================================= */

/* --- Variables --- */
:root {
  --navy:       #1B2A4A;
  --navy-light: #243659;
  --white:      #ffffff;
  --gray-light: #f5f6f8;
  --gray-mid:   #e8eaed;
  --gray-text:  #6b7280;
  --accent:     #2563eb;
  --font:       'Inter', sans-serif;
  --radius:     6px;
  --shadow:     0 4px 24px rgba(27,42,74,0.10);
  --transition: 0.25s ease;
  --max-w:      1200px;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { color: var(--gray-text); line-height: 1.75; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: 0 2px 12px rgba(27,42,74,0.07);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.site-logo img { height: 28px; width: auto; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 8px; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-menu > li { position: relative; }
.nav-menu > li > a {
  display: block;
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--navy);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: var(--accent); background: none; }

/* Dropdown */
.nav-menu .dropdown { position: relative; }
.nav-menu .dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 0 8px;
  z-index: 100;
}
.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--navy);
  transition: var(--transition);
}
.dropdown-menu li a:hover { background: var(--gray-light); color: var(--accent); }
.dropdown:hover .dropdown-menu { display: block; }

.header-cta { margin-left: 16px; }
.nav-mobile-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* X when open */
.site-nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero > .container,
.page-hero > .container {
  width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
  opacity: 0.28;
  z-index: 0;
}

/* Particule luminoase hero */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95) 0%, rgba(120,170,255,0.5) 55%, transparent 100%);
  box-shadow: 0 0 6px 2px rgba(180,210,255,0.3);
  animation: heroParticleFloat linear infinite;
  bottom: -10px;
}
@keyframes heroParticleFloat {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  8%   { opacity: 1; }
  88%  { opacity: 0.6; }
  100% { transform: translateY(-110vh) translateX(var(--drift, 20px)); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 80px 0;
}
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content .subhead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
  line-height: 1.6;
}
.hero-content .supporting {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.7s ease forwards;
}
.hero-anim-1 { animation-delay: 0.2s; }
.hero-anim-2 { animation-delay: 0.45s; }
.hero-anim-3 { animation-delay: 0.65s; }
.hero-anim-4 { animation-delay: 0.9s; }
.hero-anim-5 { animation-delay: 1.15s; }

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section { padding: 80px 0; }
.section-light { background: var(--gray-light); }
.section-navy { background: var(--navy); }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { color: var(--navy); margin-bottom: 12px; }
.section-header p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.section-navy .section-header h2,
.section-navy .section-header p { color: var(--white); }
.section-navy p { color: rgba(255,255,255,0.75); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .dotf-list li { color: rgba(255,255,255,0.85); }
.section-navy .dotf-list li::before { background: var(--accent); }
.section-navy .deliver-item p { color: rgba(255,255,255,0.85); }
.section-navy .deliver-item strong { color: var(--white); }
.section-navy .icon-box { background: rgba(255,255,255,0.12); }
.section-navy .icon-box i { color: rgba(255,255,255,0.9); }
.section-navy .deliver-item--slim > i { color: rgba(255,255,255,0.7); }
.section-navy .process-step-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 20px; }
.section-navy .process-step-card .step-num { background: var(--accent); color: var(--white); }
.section-navy .process-step-card h4 { color: var(--white); }
.section-navy .process-step-card p { color: rgba(255,255,255,0.72); margin: 0; }
.process-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.process-step-card { background: var(--gray-light); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.process-step-card .step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--white); font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-step-card h4 { font-size: 0.95rem; font-weight: 600; color: var(--navy); margin: 0; }
.process-step-card p { font-size: 0.85rem; color: var(--gray-text); margin: 0; }

/* =============================================
   VALUE STRIP
   ============================================= */
.value-strip { padding: 48px 0; }
.value-strip--blue { background: var(--navy); }
.value-strip--blue .value-item h4 { color: #fff; }
.value-strip--blue .value-item p  { color: rgba(255,255,255,0.65); }
.value-strip--blue .value-icon { background: transparent; border-color: rgba(255,255,255,0.2); }
.value-strip--blue .value-icon i { color: rgba(255,255,255,0.85); }
.value-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value-item { display: flex; align-items: flex-start; gap: 16px; }
.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(37,99,235,0.08);
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg { width: 24px; height: 24px; stroke: var(--accent); }
.value-icon i {
  font-size: 26px;
  color: var(--accent);
  --ph-duotone-opacity: 0.25;
}
.value-item h4 { font-size: 1rem; color: var(--navy); margin: 0 0 6px 0; font-weight: 600; }
.value-item p  { font-size: 0.875rem; color: var(--gray-text); margin: 0; line-height: 1.6; }

/* =============================================
   THREE PILLARS
   ============================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.pillar-card:hover {
  box-shadow: 0 20px 56px rgba(27,42,74,0.14);
  transform: translateY(-6px);
  border-color: rgba(37,99,235,0.15);
}
.pillar-card:hover .pillar-icon {
  background: var(--accent);
  transition: background 0.25s ease;
}
.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.pillar-icon i {
  font-size: 28px;
  color: #fff;
  --ph-duotone-opacity: 0.35;
}
.pillar-card h3 { color: var(--navy); margin-bottom: 10px; }
.pillar-card p  { font-size: 0.95rem; margin-bottom: 24px; flex: 1; }
.pillar-card .btn,
.service-card .btn,
.contact-form-wrap .btn { align-self: flex-start; padding: 9px 18px; font-size: 0.88rem; }

/* =============================================
   CLIENTS / TRUST
   ============================================= */
/* Logo slider */
.logo-slider { overflow: hidden; position: relative; }
.logo-slider::before,
.logo-slider::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.logo-slider::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.logo-slider::after  { right: 0; background: linear-gradient(to left,  #fff, transparent); }
.logo-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: logoScroll 28s linear infinite;
  will-change: transform;
}
.logo-track:hover { animation-play-state: paused; }
.logo-slide img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
}
.logo-slide img:hover { opacity: 1; }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.clients-section { padding: 60px 0; }
.clients-label {
  text-align: center;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-text);
  margin-bottom: 32px;
  font-weight: 600;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 32px;
}
.clients-logos .client-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--gray-light);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  opacity: 0.7;
  transition: var(--transition);
}
.clients-logos .client-badge:hover { opacity: 1; }

.certs-row {
  margin-top: 32px;
  text-align: center;
}
.certs-row span {
  display: inline-block;
  margin: 4px 8px;
  font-size: 0.8rem;
  color: var(--gray-text);
  background: var(--white);
  border: 1px solid rgba(27,42,74,0.12);
  padding: 4px 12px;
  border-radius: 20px;
}

/* =============================================
   HOW WE WORK
   ============================================= */
.how-tabs { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; }
.how-tab-btn {
  padding: 10px 24px;
  border: 2px solid var(--navy);
  border-radius: 30px;
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.how-tab-btn.active,
.how-tab-btn:hover { background: var(--navy); color: var(--white); }

/* ENG1N3ER tab — accent blue */
.how-tab-btn[data-tab="tab-engineering"] {
  border-color: var(--accent);
  color: var(--accent);
}
.how-tab-btn[data-tab="tab-engineering"].active,
.how-tab-btn[data-tab="tab-engineering"]:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
#tab-engineering .step-circle {
  background: var(--accent);
}
#tab-engineering .how-step:not(:last-child)::after {
  color: var(--accent);
  opacity: 0.5;
}

.how-steps { display: none; }
.how-steps.active { display: flex; gap: 0; overflow-x: auto; }
.how-step {
  flex: 1;
  min-width: 130px;
  text-align: center;
  position: relative;
  padding: 20px 16px;
}
.how-step:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 28px;
  color: var(--accent);
  font-size: 1.2rem;
}
.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.how-step h4 { font-size: 0.85rem; color: var(--navy); line-height: 1.3; }
.how-step p  { font-size: 0.78rem; color: var(--gray-text); margin-top: 4px; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: #243659;
  padding: 72px 0;
  text-align: center;
  border-bottom: 3px solid rgba(255,255,255,0.08);
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p  { color: rgba(255,255,255,0.75); max-width: 640px; margin: 0 auto 36px; font-size: 1.05rem; }
.cta-banner--gray { background: #e8ebf0; border-bottom: none; border-top: 1px solid #d8dce3; }
.cta-banner--gray h2 { color: var(--navy); }
.cta-banner--gray p  { color: #6b7280; }
.cta-buttons   { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  background: var(--navy);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 85%;
  opacity: 0.28;
  z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.65); }
.page-hero .breadcrumb a:hover { color: var(--white); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero .subhead { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 680px; margin-bottom: 28px; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 720px; }

/* =============================================
   SERVICE SECTIONS
   ============================================= */
.service-block { padding: 72px 0; border-bottom: 1px solid var(--gray-mid); }
.service-block:last-child { border-bottom: none; }
.service-block h2 { color: var(--navy); margin-bottom: 8px; }
.service-block > .container > p { margin-bottom: 32px; }

.delivers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.deliver-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius);
}
.deliver-item--card {
  background: var(--gray-light);
}
.deliver-dot { display: none; }
.deliver-item .icon-box {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 8px;
  background: rgba(37,99,235,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
}
.deliver-item .icon-box i {
  font-size: 1.3rem;
  color: var(--accent);
}
.deliver-item p { font-size: 0.9rem; color: var(--navy); }
.deliver-item.deliver-item--slim { align-items: center; padding: 12px 0; border-radius: 0; }
.deliver-item.deliver-item--slim i { font-size: 1.2rem; color: var(--accent); flex-shrink: 0; }

/* Bullet list style */
.icon-list { list-style: none; margin: 20px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.icon-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; color: var(--navy); }
.icon-list li i { font-size: 1.3rem; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.icon-list li span { line-height: 1.6; }

.dotf-list { margin: 20px 0; }
.dotf-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-mid);
  font-size: 0.95rem;
  color: var(--navy);
}
.dotf-list li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  min-width: 20px;
}

/* Success story */
.story-card {
  background: var(--gray-light);
  border-radius: 10px;
  padding: 36px;
  margin-bottom: 20px;
  border-left: 4px solid var(--accent);
}
.story-card h3 { color: var(--navy); margin-bottom: 12px; }
.story-card .story-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.story-meta span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.story-card p { font-size: 0.95rem; }
.story-card .key-figures {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-mid);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}
.story-card .key-figures i { color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }

/* Process steps */
.process-steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.process-step { display: flex; align-items: center; gap: 8px; }
.process-num { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.process-label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.process-arrow { color: var(--accent); font-weight: 700; font-size: 1rem; }

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.stat-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 16px 14px;
  text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.stat-card:hover {
  background: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(37,99,235,0.35);
}
.stat-card .stat-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
  transition: color var(--transition);
}
.stat-card .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.stat-card:hover .stat-label {
  color: rgba(255,255,255,0.9);
}

/* Services overview cards */
.services-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.service-card {
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  padding: 36px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.service-card .card-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.service-card h3 { color: var(--navy); margin-bottom: 6px; }
.service-card .tagline {
  font-size: 0.88rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gray-text);
  margin-bottom: 14px;
}
.service-card p { font-size: 0.9rem; margin-bottom: 20px; }
.service-card ul { margin-bottom: 24px; flex: 1; }
.service-card ul li {
  font-size: 0.88rem;
  color: var(--navy);
  padding: 5px 0;
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  gap: 8px;
}
.service-card ul li::before { content: '→'; color: var(--accent); }

/* =============================================
   ABOUT
   ============================================= */
.about-intro-grid {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: 56px;
  align-items: start;
}
.about-intro-grid .dotf-list li { line-height: 1.5; padding-bottom: 10px; }
.about-intro-text h2 { margin-bottom: 20px; }
.about-intro-text p  { margin-bottom: 16px; }
.about-intro-grid > div h2 { margin-bottom: 16px; }

.approach-steps { counter-reset: step; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.approach-step {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-mid);
  counter-increment: step;
}
.approach-step::before {
  content: counter(step, decimal-leading-zero);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  min-width: 40px;
}
.approach-step p { font-size: 0.95rem; }

.leadership-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--gray-light);
  border-radius: 10px;
  padding: 40px;
}
.leadership-photo {
  width: 220px;
  height: 260px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gray-text);
}
.leadership-info h3 { margin-bottom: 4px; }
.leadership-title { color: var(--accent); font-weight: 600; margin-bottom: 16px; font-size: 0.95rem; }
.leadership-info p { margin-bottom: 20px; font-size: 0.95rem; }
.leadership-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.leadership-tags span {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 20px;
}
.credentials { margin-top: 12px; }
.credentials li {
  font-size: 0.88rem;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-mid);
  display: flex;
  gap: 10px;
}
.credentials li i { font-size: 1rem; color: var(--navy); flex-shrink: 0; margin-top: 1px; }

/* Languages */
.languages {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--gray-text);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { margin-bottom: 28px; font-size: 0.95rem; }

.form-tabs { display: flex; gap: 0; margin-bottom: 28px; border-bottom: 2px solid var(--gray-mid); }
.form-tab-btn {
  padding: 10px 20px;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gray-text);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
}
.form-tab-btn.active { color: var(--navy); border-bottom-color: var(--navy); }

.dotf-form { display: none; }
.dotf-form.active { display: block; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--navy);
  transition: var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}
.form-group textarea { height: 120px; resize: vertical; }

.contact-info-wrap { padding-top: 8px; }
.contact-person {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--gray-mid);
}
.contact-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  min-width: 72px;
}
.contact-person h3 { margin-bottom: 2px; }
.contact-person span { font-size: 0.88rem; color: var(--gray-text); }

.contact-details { margin-bottom: 32px; }
.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-mid);
}
.detail-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--navy);
  min-width: 44px;
}
.detail-label { font-size: 0.78rem; color: var(--gray-text); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.detail-value { font-size: 0.95rem; color: var(--navy); font-weight: 500; }
.detail-value a { color: var(--navy); transition: var(--transition); }
.detail-value a:hover { color: var(--accent); }

.company-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.8;
}
.company-box strong { color: var(--navy); display: block; margin-bottom: 8px; font-size: 0.9rem; }

.map-wrap { margin-top: 60px; border-radius: 10px; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Social links */
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* =============================================
   BLOG
   ============================================= */
.blog-hero { background: var(--navy); padding: 60px 0; position: relative; overflow: hidden; }
.blog-hero .container { position: relative; z-index: 1; }
.blog-hero h1 { color: var(--white); margin-bottom: 8px; }
.blog-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

.blog-grid-wrap { padding: 72px 0; }
.blog-featured {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-mid);
}
.post-card {
  border: 1px solid var(--gray-mid);
  border-radius: 10px;
  overflow: hidden;
  transition: var(--transition);
}
.post-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.post-thumb {
  height: 200px;
  background: var(--gray-mid);
  overflow: hidden;
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 24px; }
.post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.post-cat {
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.post-date, .post-read {
  font-size: 0.8rem;
  color: var(--gray-text);
}
.post-body h2, .post-body h3 {
  color: var(--navy);
  margin-bottom: 10px;
  transition: var(--transition);
}
.post-card:hover h2,
.post-card:hover h3 { color: var(--accent); }
.post-body p { font-size: 0.9rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: auto; max-height: 40px; width: auto; max-width: 220px; filter: brightness(0) invert(1); }
.footer-tagline { font-size: 0.88rem; line-height: 1.6; margin-bottom: 12px; }
.footer-desc { font-size: 0.85rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
}
.footer-contact-item span:first-child,
.footer-contact-item i { font-size: 1.1rem; min-width: 20px; color: rgba(255,255,255,0.7); }
.footer-contact-item a { color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* =============================================
   UTILS
   ============================================= */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }

/* Form success message */
.form-success {
  display: none;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-top: 16px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .leadership-card { grid-template-columns: 1fr; }
  .leadership-photo { width: 140px; height: 170px; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .value-strip-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .site-logo img { height: 20px; }
  .site-nav .nav-menu,
  .site-nav .header-cta { display: none; }
  .site-nav.open .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    padding: 24px;
    gap: 4px;
    overflow-y: auto;
  }
  .site-nav.open .header-cta { display: none; }
  .nav-mobile-cta { margin-top: auto; padding-top: 16px; }
  .nav-mobile-cta .btn { width: 100%; text-align: center; }
  .nav-menu .dropdown { text-align: center; }
  .nav-menu .dropdown-menu { position: static; box-shadow: none; border: none; padding-left: 0; display: none; text-align: center; }
  .nav-menu .dropdown-menu li a { font-size: 0.9rem; color: var(--gray-text); padding: 6px 0; }
  .nav-menu .dropdown.open .dropdown-menu { display: block; }
  .nav-toggle { display: flex; }
  .hero { min-height: 500px; }
  .hero-buttons { flex-direction: column; }
  .pillars-grid,
  .services-cards { grid-template-columns: 1fr; }
  .approach-steps { grid-template-columns: 1fr; }
  .clients-logos { gap: 10px 16px; }
  .clients-logos .client-badge { padding: 6px 14px; font-size: 0.85rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .value-strip-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .process-steps-grid { grid-template-columns: repeat(2, 1fr); }
  .how-steps.active { flex-direction: column; }
  .how-step::after { display: none; }
  .leadership-card { padding: 24px; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .value-strip-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .process-steps-grid { grid-template-columns: 1fr; }
  .btn { padding: 12px 20px; font-size: 0.88rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
}

/* Back to top button */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: #1B2A4A;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, background 0.2s;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(27,42,74,0.25);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#back-to-top:hover {
  background: #2563eb;
}

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
