/* ============================================================
   MAI RAFIKI — Main Stylesheet
   Your Trusted Friend in Digital Transformation
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --navy:       #032D60;
  --blue:       #0176D3;
  --mid-blue:   #0B5CAB;
  --sky:        #1B96FF;
  --pale:       #E8F4FD;
  --ultra-pale: #F3F8FF;

  --white:      #FFFFFF;
  --gray-50:    #F9FAFB;
  --gray-100:   #F3F4F6;
  --gray-200:   #E5E7EB;
  --gray-400:   #9CA3AF;
  --gray-600:   #4B5563;
  --gray-800:   #1F2937;
  --dark:       #0A1628;

  --font:       'Poppins', sans-serif;
  --fw-light:   300;
  --fw-reg:     400;
  --fw-med:     500;
  --fw-semi:    600;
  --fw-bold:    700;
  --fw-xbold:   800;

  --sh-sm:  0 1px 4px rgba(1,118,211,.08);
  --sh-md:  0 4px 20px rgba(1,118,211,.12);
  --sh-lg:  0 8px 40px rgba(1,118,211,.18);
  --sh-xl:  0 20px 60px rgba(3,45,96,.15);

  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   22px;
  --r-xl:   32px;
  --r-full: 9999px;

  --ease:   cubic-bezier(.4,0,.2,1);
  --tr:     all .3s var(--ease);
  --tr-s:   all .55s var(--ease);

  --py:     100px;
  --max-w:  1220px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}
body  {
  font-family: var(--font);
  font-weight: var(--fw-light);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}
body.no-scroll { overflow: hidden; }
a    { text-decoration: none; color: inherit; transition: var(--tr); }
ul   { list-style: none; }
img  { max-width: 100%; display: block; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
h1,h2,h3,h4,h5,h6 { font-weight: var(--fw-semi); line-height: 1.2; color: var(--dark); }

.label-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: var(--fw-semi);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--pale);
  padding: 6px 16px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.label-chip::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}
.label-chip.light {
  background: rgba(255,255,255,.12);
  color: var(--sky);
  border: 1px solid rgba(255,255,255,.15);
}
.label-chip.light::before { background: var(--sky); }

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-bold);
  color: var(--navy);
  line-height: 1.18;
  margin-bottom: 16px;
}
.section-title span { color: var(--blue); }
.section-title.white { color: var(--white); }

.section-sub {
  font-size: 1.02rem;
  color: var(--gray-600);
  font-weight: var(--fw-light);
  line-height: 1.85;
  max-width: 600px;
}
.section-sub.white { color: rgba(255,255,255,.65); }

.s-header { margin-bottom: 60px; }
.s-header.center { text-align: center; }
.s-header.center .section-sub { margin: 0 auto; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: var(--py) 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: var(--fw-med);
  padding: 13px 30px;
  border-radius: var(--r-full);
  transition: var(--tr);
  white-space: nowrap;
}
.btn i { font-size: .85rem; }
.btn-blue {
  background: var(--blue);
  color: var(--white);
  border: 2px solid var(--blue);
  box-shadow: 0 6px 24px rgba(1,118,211,.35);
}
.btn-blue:hover {
  background: var(--sky);
  border-color: var(--sky);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(27,150,255,.45);
  color: var(--white);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.7);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn-white {
  background: var(--white);
  color: var(--blue);
  border: 2px solid var(--white);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
}
.btn-white:hover {
  background: var(--pale);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,.2);
}

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.done { opacity: 0; visibility: hidden; }

.pre-logo { width: 72px; animation: pre-pulse 1.6s ease-in-out infinite; }

.pre-track {
  width: 180px; height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-full);
  overflow: hidden;
}
.pre-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--blue));
  border-radius: var(--r-full);
  animation: pre-fill 2.2s ease forwards;
}
.pre-text {
  font-size: .72rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes pre-pulse {
  0%,100% { transform: scale(1);    opacity: 1; }
  50%      { transform: scale(.93); opacity: .75; }
}
@keyframes pre-fill {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  padding: 22px 0;
  transition: var(--tr-s);
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(3,45,96,.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 50%;
  transition: var(--tr);
}
#navbar.scrolled .nav-logo img {
  background: var(--blue);
  padding: 5px;
  box-shadow: 0 0 0 2px var(--blue);
}
.nav-logo-text {
  font-size: 1.2rem;
  font-weight: var(--fw-semi);
  color: var(--white);
  transition: var(--tr);
  white-space: nowrap;
}
#navbar.scrolled .nav-logo-text { color: var(--navy); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  font-size: .85rem;
  font-weight: var(--fw-med);
  color: rgba(255,255,255,.82);
  padding: 8px 15px;
  border-radius: var(--r-sm);
  transition: var(--tr);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--sky);
  border-radius: var(--r-full);
  transition: var(--tr);
}
.nav-link:hover::after,
.nav-link.active::after { width: calc(100% - 30px); }
.nav-link:hover  { color: var(--white); }

#navbar.scrolled .nav-link { color: var(--gray-600); }
#navbar.scrolled .nav-link:hover  { color: var(--blue); background: var(--pale); }
#navbar.scrolled .nav-link::after { background: var(--blue); }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--r-full);
  font-weight: var(--fw-med);
  font-size: .85rem;
  box-shadow: 0 4px 16px rgba(1,118,211,.35);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--mid-blue) !important; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1001;
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: var(--r-full);
  transition: var(--tr);
}
#navbar.scrolled .hamburger span { background: var(--navy); }
.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 overlay */
.nav-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.nav-mobile-overlay.open { display: flex; }
.nav-mobile-overlay .nav-link {
  font-size: 1.35rem;
  color: rgba(255,255,255,.8);
  padding: 14px 32px;
  width: 100%;
  text-align: center;
}
.nav-mobile-overlay .nav-link::after { background: var(--sky); }
.nav-mobile-overlay .nav-cta {
  margin-top: 16px;
  font-size: 1.1rem;
  padding: 14px 48px;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/transformation.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  animation: hero-zoom 12s ease-out forwards;
}
@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1); }
}

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(3,45,96,.93) 0%,
    rgba(11,92,171,.87) 45%,
    rgba(1,118,211,.78) 100%
  );
  z-index: 1;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(27,150,255,.14) 0%, transparent 60%);
  z-index: 2;
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  font-size: .76rem;
  font-weight: var(--fw-med);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--r-full);
  margin-bottom: 26px;
  width: fit-content;
}
.hero-eyebrow i { color: var(--sky); }

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1.13;
  margin-bottom: 26px;
}
.hero-title .accent {
  color: var(--sky);
  position: relative;
}
.hero-title .typewriter {
  color: var(--sky);
  border-right: 3px solid var(--sky);
  animation: blink .75s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-sub {
  font-size: clamp(.98rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,.78);
  font-weight: var(--fw-light);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 68px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 44px;
}
.hero-stat-num {
  font-size: 2.1rem;
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1;
}
.hero-stat-lbl {
  font-size: .76rem;
  color: rgba(255,255,255,.55);
  font-weight: var(--fw-light);
  margin-top: 4px;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.4);
  font-size: .72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bounce-hint 2s ease-in-out infinite;
}
.hero-scroll-hint i { font-size: 1rem; }
@keyframes bounce-hint {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
#strip {
  padding: 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}
.strip-inner {
  display: flex;
  align-items: stretch;
}
.strip-label {
  white-space: nowrap;
  font-size: .72rem;
  font-weight: var(--fw-semi);
  color: var(--gray-400);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 18px 32px;
  border-right: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: var(--white);
}
.strip-track {
  display: flex;
  overflow: hidden;
  flex: 1;
}
.strip-marquee {
  display: flex;
  gap: 0;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  font-size: .82rem;
  font-weight: var(--fw-med);
  color: var(--gray-600);
  white-space: nowrap;
  border-right: 1px solid var(--gray-200);
}
.strip-item i { color: var(--blue); font-size: .85rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-main {
  width: 100%; height: 520px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
}
.about-img-accent {
  position: absolute;
  bottom: -28px; right: -28px;
  width: 195px; height: 195px;
  object-fit: cover;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  border: 6px solid var(--white);
}
.about-badge {
  position: absolute;
  top: 28px; left: -22px;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 16px 20px;
  box-shadow: var(--sh-lg);
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-badge .icon {
  width: 44px; height: 44px;
  background: var(--pale);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.1rem;
}
.about-badge strong { display: block; font-size: 1.1rem; font-weight: var(--fw-bold); color: var(--navy); }
.about-badge span   { font-size: .74rem; color: var(--gray-600); }

.about-text p {
  color: var(--gray-600);
  font-weight: var(--fw-light);
  margin-bottom: 18px;
  line-height: 1.9;
  font-size: .97rem;
}

.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 40px;
}
.mv-card {
  background: var(--ultra-pale);
  border: 1px solid var(--pale);
  border-radius: var(--r-md);
  padding: 24px;
  transition: var(--tr);
}
.mv-card:hover {
  background: var(--pale);
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}
.mv-icon {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: var(--r-xs);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .95rem;
  margin-bottom: 12px;
}
.mv-card h4 { font-size: .9rem; font-weight: var(--fw-semi); color: var(--navy); margin-bottom: 6px; }
.mv-card p  { font-size: .8rem; color: var(--gray-600); margin: 0; line-height: 1.65; }

/* ============================================================
   STATS BAR
   ============================================================ */
#stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--mid-blue) 100%);
  padding: 80px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 40px;
  text-align: center;
}
.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  height: 55px; width: 1px;
  background: rgba(255,255,255,.14);
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-num sup { font-size: 60%; vertical-align: super; color: var(--sky); }
.stat-lbl {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  font-weight: var(--fw-light);
}

/* ============================================================
   SERVICES
   ============================================================ */
#services { background: var(--gray-50); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}
.svc-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: var(--tr);
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--tr);
}
.svc-card:hover {
  border-color: var(--pale);
  box-shadow: var(--sh-lg);
  transform: translateY(-6px);
}
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 54px; height: 54px;
  background: var(--pale);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.35rem;
  margin-bottom: 20px;
  transition: var(--tr);
}
.svc-card:hover .svc-icon {
  background: var(--blue); color: var(--white);
  transform: rotate(-5deg) scale(1.05);
}
.svc-card h3 { font-size: .98rem; font-weight: var(--fw-semi); color: var(--navy); margin-bottom: 10px; }
.svc-card p  { font-size: .84rem; color: var(--gray-600); line-height: 1.78; font-weight: var(--fw-light); margin-bottom: 20px; }
.svc-link {
  font-size: .78rem; font-weight: var(--fw-med);
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
}
.svc-link:hover { color: var(--mid-blue); gap: 10px; }

/* ============================================================
   WHY MAI RAFIKI
   ============================================================ */
#why {
  background: var(--white);
  position: relative;
  overflow: hidden;
}
#why::before {
  content: '';
  position: absolute;
  top: -120px; right: -180px;
  width: 580px; height: 580px;
  background: radial-gradient(circle, var(--pale) 0%, transparent 68%);
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 88px;
  align-items: center;
}
.why-img-wrap { position: relative; }
.why-img {
  width: 100%; height: 560px;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xl);
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.why-feat { display: flex; gap: 16px; align-items: flex-start; }
.why-feat-icon {
  width: 44px; height: 44px; min-width: 44px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  transition: var(--tr);
}
.why-feat:nth-child(odd)  .why-feat-icon { background: var(--pale); color: var(--blue); }
.why-feat:nth-child(even) .why-feat-icon { background: rgba(27,150,255,.1); color: var(--sky); }
.why-feat h4 { font-size: .92rem; font-weight: var(--fw-semi); color: var(--navy); margin-bottom: 6px; }
.why-feat p  { font-size: .81rem; color: var(--gray-600); line-height: 1.72; font-weight: var(--fw-light); }

/* ============================================================
   APPROACH / PROCESS
   ============================================================ */
#approach {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
#approach::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(27,150,255,.08) 0%, transparent 48%),
    radial-gradient(ellipse at 85% 50%, rgba(1,118,211,.06) 0%, transparent 48%);
  pointer-events: none;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 0;
  position: relative;
  margin-top: 64px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 39px; left: 10%; right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--sky), var(--blue), var(--sky));
  opacity: .25;
}

.proc-step {
  text-align: center;
  padding: 0 14px;
  position: relative;
  z-index: 1;
}
.proc-num {
  width: 78px; height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 26px;
  font-size: 1.45rem;
  color: var(--sky);
  transition: var(--tr);
}
.proc-step:hover .proc-num {
  background: var(--blue);
  border-color: var(--sky);
  color: var(--white);
  transform: scale(1.1);
}
.proc-step h4 { font-size: .92rem; font-weight: var(--fw-semi); color: var(--white); margin-bottom: 10px; }
.proc-step p  { font-size: .78rem; color: rgba(255,255,255,.52); line-height: 1.72; font-weight: var(--fw-light); }

/* ============================================================
   SOLUTIONS / INDUSTRIES
   ============================================================ */
#solutions { background: var(--gray-50); }

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 22px;
}
.sol-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 288px;
  cursor: default;
}
.sol-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--tr-s);
}
.sol-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,45,96,.92) 0%, rgba(1,118,211,.55) 55%, rgba(1,118,211,.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  transition: var(--tr);
}
.sol-card:hover .sol-img      { transform: scale(1.06); }
.sol-card:hover .sol-overlay  {
  background: linear-gradient(to top, rgba(3,45,96,.97) 0%, rgba(1,118,211,.78) 60%, rgba(1,118,211,.32) 100%);
}
.sol-icon { font-size: 1.5rem; color: var(--sky); margin-bottom: 10px; }
.sol-card h3 { font-size: 1rem; font-weight: var(--fw-semi); color: var(--white); margin-bottom: 6px; }
.sol-card p  {
  font-size: .77rem; color: rgba(255,255,255,.7); line-height: 1.6;
  max-height: 0; overflow: hidden; transition: var(--tr-s);
}
.sol-card:hover p { max-height: 72px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--white); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.testi-card {
  background: var(--ultra-pale);
  border: 1px solid var(--pale);
  border-radius: var(--r-lg);
  padding: 36px;
  position: relative;
  transition: var(--tr);
}
.testi-card:hover {
  box-shadow: var(--sh-lg);
  border-color: rgba(1,118,211,.3);
  transform: translateY(-5px);
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 26px;
  font-size: 5.5rem; line-height: 1;
  color: var(--pale);
  font-family: Georgia, serif;
  pointer-events: none;
}
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars i { color: #F59E0B; font-size: .78rem; }
.testi-text {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.88;
  font-weight: var(--fw-light);
  font-style: italic;
  margin-bottom: 28px;
}
.testi-author { display: flex; align-items: center; gap: 14px; }
.author-av {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem;
  font-weight: var(--fw-semi);
  color: var(--blue);
  flex-shrink: 0;
}
.author-name { font-size: .88rem; font-weight: var(--fw-semi); color: var(--navy); }
.author-role { font-size: .76rem; color: var(--gray-400); }

/* ============================================================
   CTA BANNER
   ============================================================ */
#cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  padding: var(--py) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(27,150,255,.14) 0%, transparent 42%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.04) 0%, transparent 42%);
  pointer-events: none;
}
#cta-banner .section-title { max-width: 680px; margin: 0 auto 18px; }
#cta-banner .section-sub   { max-width: 520px; margin: 0 auto 40px; }
.cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   CONTACT
   ============================================================ */
#contact { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 88px;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.5rem; font-weight: var(--fw-semi); color: var(--navy); margin-bottom: 14px;
}
.contact-info > p {
  color: var(--gray-600); font-weight: var(--fw-light); line-height: 1.85;
  margin-bottom: 40px; font-size: .95rem;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.c-item { display: flex; align-items: flex-start; gap: 16px; }
.c-item-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--pale); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: .95rem;
}
.c-item strong { display: block; font-size: .84rem; font-weight: var(--fw-semi); color: var(--navy); margin-bottom: 2px; }
.c-item span   { font-size: .84rem; color: var(--gray-600); font-weight: var(--fw-light); }

.contact-form-wrap {
  background: var(--ultra-pale);
  border: 1px solid var(--pale);
  border-radius: var(--r-xl);
  padding: 48px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.f-group label { font-size: .8rem; font-weight: var(--fw-med); color: var(--navy); }
.f-group input,
.f-group select,
.f-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: .86rem;
  font-weight: var(--fw-light);
  color: var(--gray-800);
  background: var(--white);
  transition: var(--tr);
  outline: none;
}
.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(1,118,211,.08);
}
.f-group textarea { min-height: 130px; resize: vertical; }
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--r-full);
  font-family: var(--font);
  font-size: .9rem;
  font-weight: var(--fw-med);
  cursor: pointer;
  transition: var(--tr);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: none;
}
.btn-submit:hover {
  background: var(--mid-blue);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: var(--dark);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr 1.2fr 1.8fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer-brand img { height: 42px; width: auto; margin-bottom: 16px; }
.footer-brand p {
  font-size: .84rem; color: rgba(255,255,255,.48);
  line-height: 1.82; font-weight: var(--fw-light);
  margin-bottom: 24px; max-width: 270px;
}
.f-socials { display: flex; gap: 10px; }
.f-social {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.48); font-size: .82rem;
  transition: var(--tr);
}
.f-social:hover { background: var(--blue); border-color: var(--blue); color: var(--white); transform: translateY(-3px); }

.f-col h5 { font-size: .82rem; font-weight: var(--fw-semi); color: var(--white); margin-bottom: 22px; letter-spacing: .5px; }
.f-links { display: flex; flex-direction: column; gap: 12px; }
.f-links a {
  font-size: .82rem; color: rgba(255,255,255,.48); font-weight: var(--fw-light);
  display: flex; align-items: center; gap: 6px; transition: var(--tr);
}
.f-links a::before { content: '›'; color: var(--blue); font-size: 1rem; }
.f-links a:hover { color: var(--sky); padding-left: 4px; }

.f-contact-list { display: flex; flex-direction: column; gap: 16px; }
.f-c-item { display: flex; gap: 12px; align-items: flex-start; }
.f-c-item i { color: var(--sky); font-size: .85rem; margin-top: 3px; flex-shrink: 0; }
.f-c-item span { font-size: .82rem; color: rgba(255,255,255,.48); font-weight: var(--fw-light); line-height: 1.6; }

.footer-bottom {
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.28); font-weight: var(--fw-light); }
.footer-bottom a { color: rgba(255,255,255,.4); transition: var(--tr); }
.footer-bottom a:hover { color: var(--sky); }

/* ============================================================
   SCROLL-TO-TOP
   ============================================================ */
#back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 44px; height: 44px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem;
  box-shadow: var(--sh-md);
  z-index: 500;
  transition: var(--tr);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  cursor: pointer; border: none;
}
#back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-top:hover { background: var(--mid-blue); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  :root { --py: 80px; }
  .process-timeline { grid-template-columns: repeat(3,1fr); gap: 36px; }
  .process-timeline::before { display: none; }
  .solutions-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 992px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .about-grid, .why-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-accent { display: none; }
  .about-img-main, .why-img { height: 360px; }
  .about-badge { left: 0; right: auto; max-width: calc(100% - 20px); }

  .services-grid { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 36px; }
  .stat-item:nth-child(2)::after,
  .stat-item:nth-child(4)::after { display: none; }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-wrap { padding: 32px; }
  .mv-cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --py: 64px; }
  .services-grid  { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .testi-grid     { grid-template-columns: 1fr; }
  .process-timeline { grid-template-columns: 1fr 1fr; }
  .hero-actions   { flex-direction: column; align-items: flex-start; }
  .hero-stats     { gap: 28px; }
  .why-features   { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .mv-cards       { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .process-timeline { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item::after { display: none !important; }
  .contact-form-wrap { padding: 24px; }
  .hero-title { font-size: 2.1rem; }
}
