/* ── LOCAL FONTS: INTER ── */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-800.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-900.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* ══════════════════════════════════════════════════════════════
   EARTHLINE SOLUTIONS LIMITED — notify.africa aesthetic
   Clean · Light · Breathable · Professional
   Deep Blue (#0B1E3D) + Turquoise (#00BCD4 / #26C6DA) + White
══════════════════════════════════════════════════════════════ */

:root {
  --blue:        #0B1E3D;
  --blue-mid:    #1A3A6B;
  --teal:        #00BCD4;
  --teal-light:  #26C6DA;
  --teal-dark:   #0097A7;
  --teal-pale:   rgba(0,188,212,0.10);
  --teal-border: rgba(0,188,212,0.22);
  --white:       #FFFFFF;
  --off-white:   #F0F6FF;
  --cream:       #F7FAFF;
  --gray-line:   #E5EFF8;
  --gray-text:   #546E7A;
  --gray-light:  #B0BEC5;

  --shadow-xs:   0 1px 4px rgba(11,30,61,0.05);
  --shadow-sm:   0 2px 12px rgba(11,30,61,0.07);
  --shadow-md:   0 6px 28px rgba(11,30,61,0.10);
  --shadow-lg:   0 16px 56px rgba(11,30,61,0.14);

  --radius-sm:   8px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --ease:        cubic-bezier(0.4,0,0.2,1);
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);

  --font: 'Inter', sans-serif;
}

/* ── 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(--blue);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  line-height: 1.14;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.2rem); font-weight: 700; }
h4 { font-size: 0.95rem; font-weight: 700; }
p  { font-size: 1rem; color: var(--gray-text); line-height: 1.8; }

/* ── LAYOUT ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section    { padding: 96px 0; }
.section-alt { background: linear-gradient(135deg, #edfbfd 0%, #f0f9ff 100%); }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ── SECTION LABELS ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  background: none;
  border: none;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--teal);
  flex-shrink: 0;
  border-radius: 2px;
}
.section-title {
  color: var(--blue);
  margin-bottom: 14px;
  text-align: center;
}
.section-subtitle {
  text-align: center;
  color: var(--gray-text);
  max-width: 580px;
  margin: 0 auto 56px;
  font-size: 1.05rem;
}
.section-center-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ══════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.revealed { opacity: 1; transform: translateY(0) scale(1); }

.reveal-left {
  opacity: 0;
  transform: translateX(-56px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(56px);
  transition: opacity 0.75s cubic-bezier(0.22,1,0.36,1),
              transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.50s; }
.reveal-delay-6 { transition-delay: 0.60s; }

/* ══════════════════════════════
   WAVE DIVIDERS
══════════════════════════════ */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg {
  display: block;
  width: 100%;
}

/* ══════════════════════════════
   BUTTONS — flat, no gradients
══════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.1px;
  font-family: var(--font);
  white-space: nowrap;
}
.btn .arrow { transition: transform 0.22s; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

/* Primary — solid turquoise */
.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(0,188,212,0.30);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 4px 20px rgba(0,188,212,0.40);
  transform: translateY(-2px);
}

/* Secondary — outlined navy */
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* Outlined white (on dark BG) */
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-2px);
}

/* Solid navy */
.btn-blue {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(11,30,61,0.22);
}
.btn-blue:hover {
  background: var(--blue-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(11,30,61,0.30);
}

/* White on coloured BG */
.btn-white {
  background: var(--white);
  color: var(--blue);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* Ghost teal */
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
}
.btn-ghost:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

/* ══════════════════════════════
   NAVBAR — sticky, white, clean
══════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 2px solid var(--teal);
  box-shadow: 0 2px 12px rgba(0,188,212,0.12);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: contain;
  animation: logo-spin 12s linear infinite;
}
@keyframes logo-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-text strong {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.4px;
}
.logo-text small {
  color: var(--teal);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Nav links centered */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links li { display: flex; }
.nav-links a {
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-text);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--blue); background: var(--off-white); }
.nav-links a.active { color: var(--blue); font-weight: 700; }

/* CTA button in nav */
.btn-nav {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  box-shadow: 0 2px 10px rgba(0,188,212,0.28) !important;
}
.btn-nav:hover {
  background: var(--teal-dark) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(0,188,212,0.38) !important;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 4px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════
   HERO — light, breathable
══════════════════════════════ */
.hero {
  background: linear-gradient(160deg, #f0fbfd 0%, #ffffff 50%, #edf8fa 100%);
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

/* Decorative turquoise background orbs */
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -60px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,188,212,0.14) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,188,212,0.08) 0%, transparent 68%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 80px;
}

/* LEFT */
.hero-content {}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 26px;
  animation: fadeInDown 0.7s var(--ease) both;
}
.hero-badge .dot {
  width: 28px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  animation: none;
  flex-shrink: 0;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.35; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hero h1 {
  color: var(--blue);
  margin-bottom: 22px;
  line-height: 1.1;
  animation: fadeInUp 0.8s 0.12s var(--ease) both;
}
.hero h1 .accent {
  color: var(--teal);
}

.hero-desc {
  color: var(--gray-text);
  font-size: 1.08rem;
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.82;
  animation: fadeInUp 0.8s 0.22s var(--ease) both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.32s var(--ease) both;
}

/* Hero stats */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-line);
  animation: fadeInUp 0.8s 0.44s var(--ease) both;
}
.hero-stat {
  padding: 0 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--gray-line);
}
.hero-stat:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-stat strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat span {
  color: var(--gray-text);
  font-size: 0.78rem;
  line-height: 1.4;
}

/* RIGHT — dashboard mockup */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeInRight 0.9s 0.2s var(--ease) both;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.hero-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
  transform: translateX(-6px);
}
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.hero-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.hero-card-badge {
  display: inline-block;
  background: var(--off-white);
  color: var(--blue);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--gray-line);
  letter-spacing: 0.4px;
}
.hero-card h4 {
  color: var(--blue);
  font-size: 0.97rem;
  margin-bottom: 4px;
}
.hero-card p {
  color: var(--gray-text);
  font-size: 0.83rem;
  line-height: 1.55;
}

/* Wave divider colors */
.wave-white { fill: var(--white); }
.wave-off-white { fill: var(--off-white); }

/* ══════════════════════════════
   STATS STRIP — clean white bg
══════════════════════════════ */
/* ══════════════════════════════
   LOGO MARQUEE
══════════════════════════════ */
.marquee-section {
  background: linear-gradient(135deg, #f0fbfd 0%, #edfbfd 100%);
  padding: 52px 0 48px;
  overflow: hidden;
  border-top: 1px solid rgba(0,188,212,0.12);
  border-bottom: 1px solid rgba(0,188,212,0.12);
}
.marquee-label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.marquee-label::before,
.marquee-label::after {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  flex-shrink: 0;
}
.marquee-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-item {
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid rgba(0,188,212,0.18);
  border-radius: 12px;
  padding: 14px 28px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,188,212,0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}
.marquee-item:hover {
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,188,212,0.2);
  transform: translateY(-3px);
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════
   COMPANY OVERVIEW
══════════════════════════════ */
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: center;
}

.overview-visual {
  position: relative;
  background: linear-gradient(135deg, var(--teal) 0%, #00ACC1 60%, var(--blue) 100%);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.overview-visual::before {
  content: '';
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 68%);
  top: -60px; right: -60px;
  border-radius: 50%;
}
.overview-visual .big-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.overview-visual h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}
.overview-visual > p {
  color: rgba(255,255,255,0.65);
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
}
.overview-float {
  position: absolute;
  bottom: 22px;
  right: 22px;
  background: var(--teal);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 20px;
  text-align: center;
  z-index: 2;
}
.overview-float strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
}
.overview-float span {
  font-size: 0.7rem;
  opacity: 0.9;
  letter-spacing: 0.4px;
}

.overview-text .section-label { display: inline-flex; }
.overview-text h2 { color: var(--blue); margin-bottom: 18px; }
.overview-text > p { margin-bottom: 16px; }

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 30px;
}
.pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--off-white);
  color: var(--blue);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--gray-line);
  transition: var(--transition);
}
.pill::before {
  content: '✓';
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
}
.pill:hover {
  background: var(--teal-pale);
  border-color: var(--teal-border);
  color: var(--teal-dark);
}

/* Sustainability visual variant */
.overview-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 340px;
  background: linear-gradient(145deg, #0a3d20, #0e6030, #0f7a3a);
  display: flex;
  align-items: center;
  justify-content: center;
}
.overview-img-inner {
  padding: 48px 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.overview-img-inner .big-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  display: block;
}
.overview-img-inner h3 { color: var(--white); margin-bottom: 8px; }
.overview-img-inner p { color: rgba(255,255,255,0.72); }
.overview-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.overview-feature {
  background: rgba(0,188,212,0.18);
  color: var(--teal-light);
  border: 1px solid rgba(0,188,212,0.3);
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ══════════════════════════════
   SERVICE CARDS — 4-col grid
══════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--blue);
}
.service-card h3 {
  color: var(--blue);
  margin-bottom: 8px;
  font-size: 1rem;
}
.service-card > p {
  font-size: 0.88rem;
  line-height: 1.7;
}
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.84rem;
  margin-top: 16px;
  transition: var(--transition);
}
.learn-more:hover { gap: 9px; color: var(--teal-dark); }

/* ══════════════════════════════
   WHY CHOOSE US — 3-col
══════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-grid.why-grid-2col { grid-template-columns: repeat(2, 1fr); }
.why-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
}
.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 18px;
  transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--blue); }
.why-card h3 { color: var(--blue); margin-bottom: 8px; font-size: 1rem; }
.why-card p  { font-size: 0.88rem; }

/* ══════════════════════════════
   TESTIMONIALS — light cream bg
══════════════════════════════ */
.testimonials { background: var(--off-white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 0.95rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-card > p {
  color: var(--gray-text);
  font-style: italic;
  line-height: 1.82;
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--gray-line);
  padding-top: 20px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-author strong {
  color: var(--blue);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 1px;
}
.testimonial-author span {
  color: var(--gray-text);
  font-size: 0.78rem;
}

/* ══════════════════════════════
   PARTNERS ROW — grayscale
══════════════════════════════ */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.partner-logo {
  background: var(--white);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius-sm);
  padding: 16px 28px;
  font-weight: 700;
  color: var(--gray-light);
  font-size: 0.88rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  cursor: default;
}
.partner-logo:hover {
  border-color: var(--teal-border);
  color: var(--teal-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════
   CTA BANNER — two options
══════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--teal) 0%, #00ACC1 40%, var(--blue) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  top: -200px; right: -80px;
  border-radius: 50%;
  pointer-events: none;
}
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.cta-banner p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  font-size: 1.06rem;
  position: relative;
  z-index: 1;
}
.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════
   FOOTER — dark navy, 4 cols
══════════════════════════════ */
.footer {
  background: var(--blue);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-about .logo .logo-text strong { color: var(--white); }
.footer-about p {
  color: rgba(255,255,255,0.50);
  margin: 18px 0 24px;
  font-size: 0.88rem;
  line-height: 1.85;
}
.footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 26px; height: 2px;
  background: var(--teal);
  border-radius: 2px;
}
.footer-links a {
  display: block;
  color: rgba(255,255,255,0.48);
  font-size: 0.86rem;
  margin-bottom: 9px;
  transition: var(--transition);
}
.footer-links a:hover {
  color: var(--teal-light);
  padding-left: 6px;
}
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: flex-start;
}
.footer-contact-item span:first-child {
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.6;
}
.footer-contact-item span:last-child {
  color: rgba(255,255,255,0.48);
  font-size: 0.85rem;
  line-height: 1.6;
}
.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
}

/* Newsletter form */
.newsletter-form {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-size: 0.85rem;
  font-family: var(--font);
  outline: none;
  transition: var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.32); }
.newsletter-form input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,188,212,0.12);
}
.newsletter-form button {
  padding: 10px 18px;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: var(--font);
}
.newsletter-form button:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.82rem; }
.footer-tagline {
  color: rgba(0,188,212,0.7) !important;
  font-style: italic;
}

/* ══════════════════════════════
   PAGE HERO — inner pages, light
══════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--teal) 0%, #00ACC1 45%, var(--blue) 100%);
  padding: 100px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 450px; height: 450px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero-orb { display: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .section-label {
  margin-bottom: 18px;
  color: rgba(255,255,255,0.9);
}
.page-hero .section-label::before { background: rgba(255,255,255,0.9); }
.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero > .container > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.08rem;
  max-width: 560px;
  margin: 0 auto 20px;
  line-height: 1.8;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--gray-light);
  margin-top: 6px;
}
.breadcrumb a { color: rgba(255,255,255,0.9); font-weight: 600; transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.55); }

/* ══════════════════════════════
   ABOUT — Vision/Mission cards
══════════════════════════════ */
.vision-mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.vm-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.vm-card.vision { background: var(--blue); }
.vm-card.mission { background: var(--teal); }
.vm-card::before {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -60px; right: -60px;
}
.vm-card h3 { font-size: 1.25rem; color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.vm-card p  { color: rgba(255,255,255,0.88); position: relative; z-index: 1; line-height: 1.85; }

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}
.value-card {
  text-align: center;
  padding: 34px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
}
.value-icon { font-size: 2.2rem; margin-bottom: 14px; display: block; }
.value-card h3 { color: var(--blue); font-size: 0.95rem; margin-bottom: 7px; }
.value-card p  { font-size: 0.84rem; }

/* Leadership */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-line);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.leader-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
}
.leader-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-border);
  box-shadow: var(--shadow-lg);
}
.leader-avatar {
  width: 80px; height: 80px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font);
}
.leader-card h3 { color: var(--blue); margin-bottom: 5px; }
.leader-role {
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
  display: block;
}
.leader-card p { font-size: 0.88rem; }

/* Timeline */
.timeline { position: relative; padding: 16px 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-line);
  transform: translateX(-50%);
}
.timeline-item {
  display: flex;
  gap: 40px;
  margin-bottom: 48px;
  align-items: flex-start;
}
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--gray-line);
  transition: var(--transition);
}
.timeline-content:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.timeline-year {
  flex-shrink: 0;
  width: 72px; height: 72px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.74rem;
  text-align: center;
  line-height: 1.3;
}
.timeline-content h3 { color: var(--blue); margin-bottom: 7px; font-size: 1rem; }
.timeline-content p  { font-size: 0.88rem; }

/* ══════════════════════════════
   SERVICES DETAIL
══════════════════════════════ */
.services-detail { display: grid; gap: 18px; }
.service-detail-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 30px;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  align-items: start;
}
.service-detail-card:hover {
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.service-detail-icon {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.service-detail-card:hover .service-detail-icon { background: var(--blue); }
.service-detail-text h3 { color: var(--blue); margin-bottom: 8px; font-size: 1.1rem; }
.service-detail-text p  { margin-bottom: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.service-tag {
  background: var(--off-white);
  color: var(--blue-mid);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid var(--gray-line);
  transition: var(--transition);
}
.service-tag:hover {
  background: var(--teal-pale);
  border-color: var(--teal-border);
  color: var(--teal-dark);
}

/* ══════════════════════════════
   PROJECTS
══════════════════════════════ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-7px);
  border-color: var(--teal-border);
  box-shadow: var(--shadow-lg);
}
.project-img {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.project-body { padding: 24px; }
.project-badge {
  display: inline-block;
  background: var(--teal-pale);
  color: var(--teal-dark);
  border: 1px solid var(--teal-border);
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.project-card h3 { color: var(--blue); margin-bottom: 8px; font-size: 1.02rem; }
.project-card p  { font-size: 0.88rem; margin-bottom: 14px; }
.project-outcome {
  background: var(--off-white);
  border-left: 3px solid var(--teal);
  border-radius: 0 6px 6px 0;
  padding: 9px 14px;
  font-size: 0.82rem;
  color: var(--teal-dark);
  font-weight: 600;
}

/* ══════════════════════════════
   SUSTAINABILITY
══════════════════════════════ */
.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.sus-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 24px;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-xs);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.sus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--teal);
}
.sus-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-border);
  box-shadow: var(--shadow-md);
}
.sus-icon { font-size: 2.8rem; margin-bottom: 16px; display: block; }
.sus-card h3 { color: var(--blue); margin-bottom: 10px; }
.sus-card p  { font-size: 0.88rem; }

/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
}
.contact-info h2 { color: var(--blue); margin-bottom: 14px; font-size: 1.8rem; }
.contact-info > p { margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item-text strong {
  display: block;
  color: var(--blue);
  margin-bottom: 2px;
  font-size: 0.87rem;
}
.contact-item-text span {
  color: var(--gray-text);
  font-size: 0.9rem;
}
.social-links {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.social-link {
  width: 42px; height: 42px;
  background: var(--off-white);
  color: var(--blue);
  border: 1px solid var(--gray-line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-3px);
}
/* Interactive map embed */
.map-embed {
  margin: 8px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-xs);
  background: var(--off-white);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
  /* Subtle brand tint that lifts on hover/focus */
  filter: grayscale(0.15);
  transition: filter var(--transition);
}
.map-embed:hover iframe,
.map-embed:focus-within iframe { filter: grayscale(0); }
.map-caption {
  font-size: 0.8rem;
  color: var(--gray-text);
  padding: 10px 14px;
  background: var(--white);
  border-top: 1px solid var(--gray-line);
}
.map-caption a { color: var(--teal-dark); font-weight: 700; }
.map-caption a:hover { text-decoration: underline; }

/* Legacy placeholder (kept as a graceful fallback if reused) */
.map-placeholder {
  background: var(--off-white);
  border-radius: var(--radius);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  border: 1px solid var(--gray-line);
}
.map-placeholder span { color: var(--gray-text); font-size: 0.88rem; }

/* Contact form card */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-line);
}
.contact-form h3 {
  color: var(--blue);
  margin-bottom: 28px;
  font-size: 1.4rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 7px;
  font-size: 0.83rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-line);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  font-family: var(--font);
  transition: var(--transition);
  outline: none;
  color: var(--blue);
  background: var(--off-white);
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,188,212,0.10);
}
.form-group textarea {
  resize: vertical;
  min-height: 130px;
}
.form-full-btn { width: 100%; font-size: 1rem; }

/* ══════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(37,211,102,0.42);
  z-index: 999;
  transition: var(--transition);
  font-size: 1.6rem;
}
.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.52);
}

/* ══════════════════════════════
   RESPONSIVE — 992px
══════════════════════════════ */
@media (max-width: 992px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .overview-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .vision-mission { grid-template-columns: 1fr; }
  .timeline::before { left: 36px; }
  .timeline-item,
  .timeline-item:nth-child(even) { flex-direction: row; }
}

/* ══════════════════════════════
   RESPONSIVE — 768px
══════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .navbar .container { height: 60px; }

  /* Mobile nav */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 1px);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-line);
    padding: 16px;
    gap: 3px;
    box-shadow: var(--shadow-md);
    z-index: 100;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 10px 14px; width: 100%; border-radius: 8px; }
  .btn-nav { text-align: center !important; }
  .nav-toggle { display: flex; }

  .hero { padding-top: 60px; }
  .hero-stats { gap: 14px; }
  .hero-stat { padding-right: 14px; margin-right: 14px; }
  .hero-stat strong { font-size: 1.6rem; }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid.why-grid-2col { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-detail-card { grid-template-columns: 1fr; }
}

/* ══════════════════════════════
   RESPONSIVE — 480px
══════════════════════════════ */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .container { padding: 0 18px; }
  .hero { padding-top: 50px; padding-bottom: 0; }
  .hero-stats { flex-direction: column; gap: 14px; }
  .hero-stat {
    border-right: none;
    border-bottom: 1px solid var(--gray-line);
    padding-bottom: 14px;
    margin-right: 0;
    padding-right: 0;
  }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .cta-buttons .btn { width: 100%; max-width: 320px; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .leadership-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .newsletter-form { flex-direction: column; }
  .logo-text { display: none; }
  .vision-mission { grid-template-columns: 1fr; }
  .vm-card { padding: 30px 24px; }
  .timeline::before { left: 28px; }
  .timeline-year { width: 58px; height: 58px; font-size: 0.68rem; }
}

/* ══════════════════════════════════════════════════════════════
   ACCESSIBILITY, PROGRESSIVE ENHANCEMENT & FORM FEEDBACK
══════════════════════════════════════════════════════════════ */

/* Visually-hidden but available to screen readers */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* Skip-to-content link — appears on keyboard focus */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 2000;
  background: var(--blue);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: top 0.2s var(--ease);
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

/* Give the main landmark a clean focus target (no visible ring on click) */
#main:focus { outline: none; }

/* Visible focus styles for keyboard users across interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* Scroll progress bar (class-based; injected by JS) */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  z-index: 9999;
  box-shadow: 0 0 8px rgba(0,188,212,0.6);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* No-JS fallback: reveal content is always visible without JavaScript */
.no-js .reveal,
.no-js .reveal-left,
.no-js .reveal-right {
  opacity: 1 !important;
  transform: none !important;
}
.no-js .scroll-progress { display: none; }

/* Honeypot anti-spam field — hidden from humans, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* Inline form validation + status messaging */
.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 18px;
  padding: 0;
}
.form-status:empty { display: none; }
.form-status.is-success {
  color: var(--teal-dark);
  background: var(--teal-pale);
  border: 1px solid var(--teal-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.form-status.is-error {
  color: #B3261E;
  background: rgba(179,38,30,0.06);
  border: 1px solid rgba(179,38,30,0.25);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
/* Newsletter status sits on the dark footer */
.footer-form-status { margin-top: 10px; margin-bottom: 0; }
.footer-form-status.is-success {
  color: var(--teal-light);
  background: rgba(0,188,212,0.12);
  border-color: rgba(0,188,212,0.3);
}
.footer-form-status.is-error {
  color: #FFB4AB;
  background: rgba(255,180,171,0.10);
  border-color: rgba(255,180,171,0.3);
}

.field-error {
  display: block;
  color: #B3261E;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
}
.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] {
  border-color: #B3261E;
  background: rgba(179,38,30,0.04);
}
.form-group input[aria-invalid="true"]:focus,
.form-group select[aria-invalid="true"]:focus,
.form-group textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(179,38,30,0.12);
}

/* ══════════════════════════════════════════════════════════════
   REDUCED MOTION — honour the visitor's OS preference
══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Ensure all scroll-reveal content is visible */
  .reveal, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Stop the continuously-scrolling marquee */
  .marquee-track { animation: none !important; transform: none !important; }
  .scroll-progress { display: none; }
}
