/* ═══════════════════════════════════════════════════════════════
   AMIEBOYE INTERNATIONAL — HOMEPAGE STYLES
   Design Tokens | Navigation | Hero Section
═══════════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand Colors — exact logo palette */
  --color-primary:       #EE8524;   /* Logo orange */
  --color-primary-light: #F59B4A;
  --color-primary-dark:  #D4741A;
  --color-primary-glow:  rgba(238, 133, 36, 0.25);

  --color-navy:          #1C354E;   /* Logo navy */
  --color-navy-mid:      #24456A;
  --color-navy-light:    #2E567F;

  /* Neutrals */
  --color-white:         #FFFFFF;
  --color-off-white:     #F8F9FA;
  --color-text-light:    rgba(255,255,255,0.88);
  --color-text-muted:    rgba(255,255,255,0.55);

  /* Typography */
  --font-primary:  'Plus Jakarta Sans', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Spacing */
  --nav-height:    80px;
  --nav-height-sm: 68px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-glow-orange: 0 0 40px rgba(238,133,36,0.35);
  --shadow-card:        0 8px 32px rgba(0,0,0,0.18);
}

/* ─── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-off-white);
  color: var(--color-navy);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}


/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */

.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.35s var(--ease-smooth),
              box-shadow  0.35s var(--ease-smooth),
              height      0.35s var(--ease-smooth);
}

/* Transparent state (at top of page — over dark hero) */
.nav-header.nav-transparent {
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, transparent 100%);
}

/* Scrolled — clean white background */
.nav-header.nav-scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(28, 53, 78, 0.1);
  height: var(--nav-height-sm);
}

.nav-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  height: 100%;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Right group: nav links + CTA pushed to the right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

/* Logo */
.nav-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  /* White pill behind logo — makes logo readable on any nav background */
  background: rgba(255, 255, 255, 0.95);
  padding: 5px 12px;
  border-radius: 8px;
  transition: transform 0.3s var(--ease-smooth),
              box-shadow 0.3s var(--ease-smooth);
}

.logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  /* No filter — show original logo colors (orange + navy) */
  filter: none;
}

/* Scrolled nav — white bg already, logo pill blends seamlessly */
.nav-scrolled .nav-logo {
  background: transparent;
  padding: 0;
}

.nav-logo:hover {
  transform: scale(1.03);
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Transparent nav — white links over dark hero */
.nav-transparent .nav-link {
  color: rgba(255,255,255,0.85);
}

/* Scrolled nav — navy links on white background */
.nav-scrolled .nav-link {
  color: var(--color-navy);
}

.nav-link {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  position: relative;
  transition: color 0.25s var(--ease-smooth);
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.28s var(--ease-bounce);
}

.nav-transparent .nav-link:hover,
.nav-transparent .nav-link.active {
  color: var(--color-white);
}

.nav-scrolled .nav-link:hover,
.nav-scrolled .nav-link.active {
  color: var(--color-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

/* Nav CTA Button */
.nav-cta-btn {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.2s var(--ease-bounce), box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(238,133,36,0.4);
}

.nav-cta-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(238,133,36,0.5);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-transparent .hamburger:hover {
  background: rgba(255,255,255,0.1);
}

.nav-scrolled .hamburger:hover {
  background: rgba(28,53,78,0.08);
}

/* Hamburger bar color adapts to nav state */
.nav-transparent .bar {
  background: var(--color-white);
}

.nav-scrolled .bar {
  background: var(--color-navy);
}

.bar {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.35s var(--ease-smooth), opacity 0.25s, background 0.3s;
}

/* Hamburger → X animation */
.hamburger.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(10, 21, 50, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 2rem 2rem;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease-smooth), opacity 0.3s;
}

.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav-link {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  padding: 0.85rem 1rem;
  border-radius: 10px;
  display: block;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(249,115,22,0.12);
  color: var(--color-white);
}

.mobile-cta-btn {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  background: var(--color-primary);
  text-align: center;
  padding: 0.9rem;
  border-radius: 50px;
  transition: background 0.25s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
}

.mobile-cta-btn:hover {
  background: var(--color-primary-dark);
  transform: translateY(-1px);
}


/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* ─── Background Layers ─────────────────────────────────────── */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Gradient overlay — dark navy to transparent */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 16, 40, 0.92) 0%,
    rgba(7, 16, 40, 0.78) 45%,
    rgba(7, 16, 40, 0.40) 100%
  );
}

/* Extra bottom gradient for smooth section transition */
.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(7,16,40,0.5) 0%, transparent 30%),
    linear-gradient(to right, rgba(249,115,22,0.06) 0%, transparent 60%);
}

/* ─── Particles ─────────────────────────────────────────────── */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0;
  animation: particleDrift linear infinite;
}

.p1 { width: 5px;  height: 5px;  top: 20%;  left: 15%;  animation-duration: 12s; animation-delay: 0s; }
.p2 { width: 3px;  height: 3px;  top: 60%;  left: 75%;  animation-duration: 16s; animation-delay: 2s; }
.p3 { width: 6px;  height: 6px;  top: 35%;  left: 55%;  animation-duration: 10s; animation-delay: 4s; }
.p4 { width: 4px;  height: 4px;  top: 75%;  left: 30%;  animation-duration: 14s; animation-delay: 1s; }
.p5 { width: 3px;  height: 3px;  top: 50%;  left: 85%;  animation-duration: 18s; animation-delay: 3s; }

@keyframes particleDrift {
  0%   { transform: translateY(0)   scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  80%  { opacity: 0.3; }
  100% { transform: translateY(-120px) scale(1.4); opacity: 0; }
}

/* ─── Hero Content ──────────────────────────────────────────── */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0; /* gaps controlled individually */
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-smooth) 0.2s forwards;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 6px var(--color-primary); }
  50%       { box-shadow: 0 0 14px var(--color-primary), 0 0 30px rgba(249,115,22,0.3); }
}

/* Headline */
.hero-headline {
  font-family: var(--font-primary);
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 820px;
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-smooth) 0.4s forwards;
}

.headline-accent {
  color: var(--color-primary);
  position: relative;
}

/* Subheading */
.hero-subheading {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text-light);
  max-width: 580px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-smooth) 0.6s forwards;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-smooth) 0.8s forwards;
}

/* Primary Button — Contact Us */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--color-primary);
  padding: 0.7rem 1.6rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 24px rgba(238,133,36,0.45);
  transition: background 0.25s, transform 0.25s var(--ease-bounce), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(238,133,36,0.55);
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-bounce);
  flex-shrink: 0;
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

/* ─── Trust Bar ─────────────────────────────────────────────── */
.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  animation: fadeSlideUp 0.7s var(--ease-smooth) 1.0s forwards;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

.trust-number {
  font-family: var(--font-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.trust-plus {
  font-size: 0.8em;
  font-weight: 700;
}

.trust-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ─── Scroll Indicator ──────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 0.7s var(--ease-smooth) 1.5s forwards;
  transition: opacity 0.3s;
}

.scroll-indicator:hover {
  opacity: 0.8;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
  animation: scrollWheel 1.8s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0);   opacity: 1; }
  80%  { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0);   opacity: 0; }
}

.scroll-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ─── Shared Animations ─────────────────────────────────────── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1024px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .nav-right {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }
}


/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root {
    --nav-height:    64px;
    --nav-height-sm: 56px;
  }

  .nav-container {
    padding: 0 1.25rem;
  }

  .logo-img {
    height: 34px;
  }

  .hero-content {
    padding: 3rem 1.25rem 5rem;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
  }

  .hero-subheading {
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
  }

  .hero-trust-bar {
    gap: 1.25rem;
    padding: 1rem 1.25rem;
    width: 100%;
    justify-content: space-around;
  }

  .trust-label {
    font-size: 0.6rem;
  }

  .scroll-indicator {
    bottom: 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — VERY SMALL (≤ 380px)
═══════════════════════════════════════════════════════════════ */
@media (max-width: 380px) {
  .hero-trust-bar {
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .trust-divider {
    height: 28px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   GLOBAL SCROLL-ANIMATION UTILITIES
   (Used across all sections)
═══════════════════════════════════════════════════════════════ */

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.75s var(--ease-smooth),
              transform 0.75s var(--ease-smooth);
}

.anim-fade-left  { transform: translateX(-40px); }
.anim-fade-right { transform: translateX(40px);  }
.anim-fade-up    { transform: translateY(40px);  }

.animate-on-scroll.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger children when parent enters view */
.animate-on-scroll.in-view .stagger-child:nth-child(1) { transition-delay: 0.05s; }
.animate-on-scroll.in-view .stagger-child:nth-child(2) { transition-delay: 0.15s; }
.animate-on-scroll.in-view .stagger-child:nth-child(3) { transition-delay: 0.25s; }
.animate-on-scroll.in-view .stagger-child:nth-child(4) { transition-delay: 0.35s; }


/* ═══════════════════════════════════════════════════════════════
   SHARED SECTION EYEBROW
═══════════════════════════════════════════════════════════════ */

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.eyebrow-line {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════════════════════════ */

.about {
  background: var(--color-white);
  padding: 6rem 0;
  overflow: hidden;
}

.about-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* ─── Left: Text ─────────────────────────────── */
.about-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
}

.about-heading-accent {
  color: var(--color-primary);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2.5rem;
}

.about-body p {
  font-family: var(--font-body);
  font-size: 0.975rem;
  line-height: 1.8;
  color: #4A5568;
}

.about-body strong {
  color: var(--color-navy);
  font-weight: 600;
}

/* Stats */
.about-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #E8EDF2;
}

.about-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.about-stat-number {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}

.about-stat-sup {
  font-size: 0.75em;
  font-weight: 700;
}

.about-stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: #718096;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.about-stat-divider {
  width: 1px;
  height: 40px;
  background: #D1DBE6;
  flex-shrink: 0;
}

/* ─── Right: Image Panel ─────────────────────── */
.about-image-wrap {
  position: relative;
  /* delay slightly more than the text column */
  transition-delay: 0.15s;
}

.about-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(28, 53, 78, 0.2);
  /* Offset border accent */
  outline: 3px solid rgba(238, 133, 36, 0.18);
  outline-offset: 8px;
}

.about-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s var(--ease-smooth);
}

.about-image-frame:hover .about-img {
  transform: scale(1.04);
}

/* Blue-navy tint overlay on image */
.about-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 53, 78, 0.35) 0%,
    rgba(28, 53, 78, 0.10) 60%,
    transparent 100%
  );
  pointer-events: none;
}

/* Floating EPC Badge */
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: var(--color-primary);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(238, 133, 36, 0.45);
  z-index: 2;
  animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 12px 32px rgba(238,133,36,0.45); }
  50%       { box-shadow: 0 16px 44px rgba(238,133,36,0.65); }
}

.about-badge-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  letter-spacing: 0.02em;
}

.about-badge-sub {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Decorative ring behind image */
.about-deco-ring {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px dashed rgba(238, 133, 36, 0.25);
  animation: spinSlow 20s linear infinite;
  pointer-events: none;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}


/* ─── About Responsive ──────────────────────── */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .about-image-wrap {
    order: -1; /* image above text on tablet */
  }

  .about-img {
    height: 360px;
  }

  .about-badge {
    left: 1rem;
    bottom: -1rem;
  }
}

@media (max-width: 640px) {
  .about {
    padding: 4rem 0;
  }

  .about-container {
    padding: 0 1.25rem;
    gap: 2.5rem;
  }

  .about-img {
    height: 260px;
  }

  .about-stats {
    gap: 1.25rem;
    flex-wrap: wrap;
  }

  .about-badge {
    width: 76px;
    height: 76px;
    border-radius: 10px;
  }

  .about-badge-title {
    font-size: 1.1rem;
  }

  .about-deco-ring {
    width: 80px;
    height: 80px;
    top: -10px;
    right: -10px;
  }
}


/* ═══════════════════════════════════════════════════════════════
   SERVICES SECTION
═══════════════════════════════════════════════════════════════ */

.services {
  background: var(--color-off-white);
  padding: 6rem 0;
  position: relative;
}

.services-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Header ─────────────────────────────────── */
.services-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4rem;
  gap: 1.25rem;
}

.services-header-left {
  max-width: 500px;
}

.services-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.services-header-desc {
  max-width: 460px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4A5568;
}

/* ─── Grid ───────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Make 7th card span 2 columns on desktop to fill out row nicely, or just center it */
.services-grid .service-card:nth-child(7) {
  /* Using grid-column to span or we could just let it be. Let's let it naturally flow,
     but it will leave empty space. Alternatively, we can use flex/auto-fit.
     For a strict 3-col grid, the 7th item takes 1 slot. */
}

/* ─── Cards ──────────────────────────────────── */
.service-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(28, 53, 78, 0.05);
  border: 1px solid rgba(28, 53, 78, 0.04);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  
  /* Stagger animation delay based on inline style */
  transition-delay: var(--card-delay, 0s);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(28, 53, 78, 0.12);
  border-color: rgba(238, 133, 36, 0.2);
}

/* Top accent line on hover */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-bounce);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Icon */
.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--color-primary-glow);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s, transform 0.3s var(--ease-bounce);
}

.service-card:hover .service-icon-wrap {
  background: var(--color-primary);
  transform: scale(1.1) rotate(-5deg);
}

.service-icon {
  width: 28px;
  height: 28px;
  color: var(--color-primary-dark);
  transition: color 0.3s;
}

.service-card:hover .service-icon {
  color: var(--color-white);
}

/* Text */
.service-title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #718096;
  line-height: 1.6;
  flex-grow: 1; /* Pushes footer down */
}

/* Footer / Arrow */
.service-card-footer {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s var(--ease-bounce);
}

.service-card:hover .service-card-footer {
  opacity: 1;
  transform: translateX(0);
}

.service-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(238, 133, 36, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.service-arrow svg {
  width: 16px;
  height: 16px;
}

/* ─── Bottom CTA ─────────────────────────────── */
.services-cta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(28, 53, 78, 0.08);
}

.services-cta-text {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
}

/* Outline Button */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-primary);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-navy);
  background: transparent;
  border: 2px solid var(--color-navy);
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  letter-spacing: 0.01em;
  transition: all 0.25s var(--ease-bounce);
}

.btn-outline:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(28, 53, 78, 0.2);
}

.btn-icon-sm {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-bounce);
}

.btn-outline:hover .btn-icon-sm {
  transform: translateX(4px);
}

/* ─── Services Responsive ────────────────────── */
@media (max-width: 1024px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .services-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  .services {
    padding: 4rem 0;
  }
  
  .services-container {
    padding: 0 1.25rem;
  }
  
  .service-card {
    padding: 2rem 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   INDUSTRIES SECTION
═══════════════════════════════════════════════════════════════ */

.industries {
  background: var(--color-navy);
  padding: 6rem 0 8rem;
  color: var(--color-white);
}

.industries-container {
  max-width: 1000px; /* slightly narrower for a tighter grid */
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Header ─────────────────────────────────── */
.industries-header {
  text-align: center;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.industries-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-white);
}

/* ─── Grid ───────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* ─── Industry Pill ──────────────────────────── */
.industry-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem 1.5rem;
  border-radius: 12px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  transition: transform 0.3s var(--ease-bounce), background 0.3s, border-color 0.3s;
  cursor: default;
  
  /* For staggered animation */
  transition-delay: var(--card-delay, 0s);
}

.industry-pill:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(238, 133, 36, 0.4);
}

.industry-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(238, 133, 36, 0.6);
  transition: transform 0.3s var(--ease-bounce);
}

.industry-pill:hover .industry-dot {
  transform: scale(1.5);
}


/* ─── Industries Responsive ──────────────────── */
@media (max-width: 1024px) {
  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .industries {
    padding: 4rem 0 5rem;
  }
  
  .industries-container {
    padding: 0 1.25rem;
  }
  
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .industry-pill {
    padding: 1rem 1.25rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   WHY CHOOSE US SECTION
═══════════════════════════════════════════════════════════════ */

.why-choose-us {
  background: var(--color-white);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.why-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: center;
}

/* ─── Left: Text Column ──────────────────────── */
.why-text-col {
  max-width: 500px;
}

.why-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.why-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4A5568;
}

/* ─── Right: Features Grid ───────────────────── */
.why-features-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* Feature Card */
.why-feature-card {
  background: var(--color-off-white);
  padding: 2.25rem 2rem;
  border-radius: 16px;
  border: 1px solid rgba(28, 53, 78, 0.05);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s, background 0.3s;
  
  /* For staggered animation */
  transition-delay: var(--card-delay, 0s);
}

.why-feature-card:hover {
  transform: translateY(-6px);
  background: var(--color-white);
  box-shadow: 0 16px 40px rgba(28, 53, 78, 0.08);
  border-color: rgba(238, 133, 36, 0.2);
}

/* Feature Icon */
.why-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(238, 133, 36, 0.12);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-bounce);
}

.why-icon svg {
  width: 24px;
  height: 24px;
}

.why-feature-card:hover .why-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.1) rotate(5deg);
}

/* Feature Text */
.why-feature-title {
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.why-feature-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #718096;
  line-height: 1.5;
}


/* ─── Why Choose Us Responsive ───────────────── */
@media (max-width: 1024px) {
  .why-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .why-text-col {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
  }
  
  .why-text-col .section-eyebrow {
    margin: 0 auto 1rem;
  }
}

@media (max-width: 640px) {
  .why-choose-us {
    padding: 5rem 0;
  }
  
  .why-container {
    padding: 0 1.25rem;
    gap: 3rem;
  }
  
  .why-features-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .why-feature-card {
    padding: 2rem 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════════════════════════ */

.contact {
  background: var(--color-off-white);
  padding: 8rem 0; /* Consistent top and bottom padding */
}

.contact-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

.contact-box {
  background: var(--color-navy);
  border-radius: 24px;
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(28, 53, 78, 0.25);
}

/* Background Glow */
.contact-glow {
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(238, 133, 36, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.contact-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  position: relative;
}

.contact-desc {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.contact-btn {
  position: relative;
  /* Override btn-primary default padding slightly for impact */
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}


/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */

.footer {
  background: #142738; /* Slightly darker than navy for depth */
  padding: 5rem 0 3rem; /* Standard padding */
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.footer-container {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr;
  gap: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 4rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* Brand Column */
.brand-col {
  gap: 1.25rem;
}

.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1); 
  opacity: 0.9;
  align-self: flex-start;
  margin-bottom: 0.5rem;
}

.footer-copyright {
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s var(--ease-bounce);
}

.footer-socials a svg {
  width: 18px;
  height: 18px;
}

.footer-socials a:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-4px);
}

/* Common Headings */
.footer-heading {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

/* Contact List */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  line-height: 1.5;
}

.footer-contact-list svg {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-list a,
.footer-contact-list span {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-contact-list a:hover {
  color: var(--color-primary);
}

/* Quick Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s var(--ease-bounce), transform 0.25s;
  display: inline-block;
  align-self: flex-start;
}

.footer-links a:hover {
  color: var(--color-primary);
  transform: translateX(4px);
}


/* ─── Contact/Footer Responsive ──────────────── */
@media (max-width: 768px) {
  .contact {
    padding: 5rem 0;
  }
  
  .contact-box {
    padding: 3.5rem 1.5rem;
    border-radius: 20px;
  }
  
  .footer {
    padding: 4rem 0 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    padding-top: 3.5rem;
  }
  
  .footer-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}
