/* ============================================================
   FL LOH CONSULTANT — MAIN STYLESHEET v2
   Light Concept: Airy · Professional · Precise
   White Smoke × Pale Azure × Mint Tint × Charcoal Blue
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* === LIGHT CONCEPT PALETTE === */
  --bg-main: #F8F9FA;
  /* White Smoke — main canvas */
  --bg-section: #E1EBF4;
  /* Pale Azure — alternate sections */
  --bg-mint: #EBFAEF;
  /* Mint Tint — service cards & hover */
  --charcoal: #2C3E50;
  /* Charcoal Blue — all body text & headings */
  --charcoal-soft: #4A5568;
  /* Slightly lighter for body paragraphs */
  --charcoal-muted: #718096;
  /* Muted text, captions */

  /* === LOGO BRAND COLOURS (CTA only) === */
  --navy: #0a1628;
  /* Logo Navy — buttons, active nav */
  --navy-mid: #112240;
  --navy-light: #1a3a6b;
  --emerald: #2D9C5C;
  /* Logo Emerald Green — accent borders, icons */
  --emerald-light: #4AB87A;
  --emerald-bg: rgba(45, 156, 92, 0.08);

  /* === SURFACE & STROKE === */
  --white: #ffffff;
  --border-soft: rgba(44, 62, 80, 0.1);
  --border-mint: rgba(45, 156, 92, 0.2);
  --border-navy: rgba(10, 22, 40, 0.15);

  /* === SHADOWS (light & lifted) === */
  --shadow-sm: 0 2px 12px rgba(44, 62, 80, 0.06);
  --shadow-md: 0 8px 32px rgba(44, 62, 80, 0.10);
  --shadow-lg: 0 20px 60px rgba(44, 62, 80, 0.14);
  --shadow-card: 0 4px 24px rgba(44, 62, 80, 0.08);

  /* === GEOMETRY === */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* === TYPOGRAPHY === */
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --max-width: 1280px;
}

/* ── 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(--bg-main);
  color: var(--charcoal);
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
  color: var(--charcoal);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  color: var(--charcoal-soft);
  font-size: 1rem;
}

/* ── UTILITY ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 100px 0;
}

.section--azure {
  background: var(--bg-section);
}

.section--white {
  background: var(--white);
}

.section--dark {
  background: var(--navy);
}

/* Section tag — Emerald accent line */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
}

.section-heading {
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-heading--white {
  color: var(--white);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--charcoal-muted);
  max-width: 560px;
}

.section-sub--white {
  color: rgba(255, 255, 255, 0.65);
}

.text-emerald {
  color: var(--emerald);
}

.text-center {
  text-align: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition);
  font-family: var(--font-body);
}

/* Primary — Navy (CTA) */
.btn-primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(10, 22, 40, 0.2);
}

.btn-primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(10, 22, 40, 0.3);
}

/* Secondary — Emerald outline */
.btn-outline {
  border: 2px solid var(--emerald);
  color: var(--emerald);
  background: transparent;
}

.btn-outline:hover {
  background: var(--emerald);
  color: var(--white);
  transform: translateY(-2px);
}

/* Soft — White with border */
.btn-soft {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}

.btn-soft:hover {
  border-color: var(--emerald);
  color: var(--emerald);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Navy ghost (used on hero) */
.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 22, 40, 0.3);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  gap: 32px;
  justify-content: center;
}

.hero-stat {
  text-align: center;
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  /* Default — transparent over hero */
}

#navbar.scrolled {
  background: rgba(248, 249, 250, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(44, 62, 80, 0.08);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.nav-logo-img {
  height: 50px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
  /* Slight brightness boost so it pops on dark hero */
  filter: brightness(1.08);
  transition: filter var(--transition);
}

#navbar.scrolled .nav-logo-img {
  filter: none;
}

/* Footer version — convert to white for dark background */
.nav-logo-img-footer {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.nav-logo-tagline {
  font-size: 0.62rem;
  color: var(--emerald);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Over dark hero, tagline goes white */
#navbar:not(.scrolled) .nav-logo-tagline {
  color: rgba(255, 255, 255, 0.8);
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}

#navbar.scrolled .nav-links a {
  color: var(--charcoal-soft);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--emerald);
  border-radius: 2px;
  transition: right var(--transition);
}

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

#navbar.scrolled .nav-links a:hover {
  color: var(--charcoal);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  right: 0;
}

.nav-links a.active {
  color: var(--emerald) !important;
  font-weight: 600;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#navbar.scrolled .hamburger span {
  background: var(--charcoal);
}

.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 */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 20px 2rem 28px;
  border-top: 1px solid var(--border-soft);
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--charcoal-soft);
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border-soft);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--emerald);
}

.mobile-nav .btn {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* compensate for fixed navbar */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Light glassmorphism overlay — left panel effect */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(10, 22, 40, 0.88) 0%,
      rgba(10, 22, 40, 0.72) 45%,
      rgba(10, 22, 40, 0.30) 75%,
      rgba(10, 22, 40, 0.10) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  /* Glassmorphism panel */
  background: rgba(248, 249, 250, 0.07);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(45, 156, 92, 0.15);
  border: 1px solid rgba(45, 156, 92, 0.4);
  border-radius: 100px;
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ee8a2;
  margin-bottom: 28px;
}

.hero-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-light);
  animation: pulse 2s infinite;
}

.hero-h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  line-height: 1.08;
  margin-bottom: 24px;
}

.hero-h1 span {
  color: #7ee8a2;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero stats — clean pill tokens */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-num sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 6px;
  display: inline-block;
  color: #7ee8a2;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

.hero-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
}

.hero-scroll span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(45, 156, 92, 0.6), transparent);
  animation: scrollDown 2s ease-in-out infinite;
}

/* ── INTRO STRIP / ABOUT TEASER ── */
.intro-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border-soft);
  padding: 48px 0;
}

.intro-strip-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}

.intro-strip-text {
  flex: 1;
}

.intro-strip-text p {
  font-size: 1.08rem;
  line-height: 1.85;
}

.intro-strip-cert {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

.cert-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-section);
  border: 1.5px solid var(--border-mint);
  border-radius: 100px;
  padding: 10px 22px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.cert-pill svg {
  width: 16px;
  height: 16px;
  color: var(--emerald);
  flex-shrink: 0;
}

/* ── SERVICES BENTO GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

/* Mint Tint on hover */
.service-card:hover {
  background: var(--bg-mint);
  border-color: var(--border-mint);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

/* Left accent border reveal on hover */
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: var(--emerald);
  border-radius: 0 0 0 var(--radius-md);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

.service-card:hover::after {
  transform: scaleY(1);
}

/* Featured card — Navy bg */
.service-card.featured {
  background: var(--navy);
  border-color: var(--navy-mid);
}

.service-card.featured::after {
  background: var(--emerald-light);
}

.service-card.featured:hover {
  background: var(--navy-mid);
  border-color: var(--navy-light);
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.65);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-mint);
  border: 1.5px solid var(--border-mint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card.featured .service-icon {
  background: rgba(45, 156, 92, 0.12);
  border-color: rgba(45, 156, 92, 0.25);
}

.service-card:hover .service-icon {
  background: rgba(45, 156, 92, 0.15);
  border-color: rgba(45, 156, 92, 0.35);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--emerald);
}

.service-card.featured .service-icon svg {
  color: var(--emerald-light);
}

.service-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--charcoal);
}

.service-card.featured .service-title {
  color: var(--white);
}

.service-list {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.87rem;
  color: var(--charcoal-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.service-card.featured .service-list li {
  color: rgba(255, 255, 255, 0.55);
}

.service-list li::before {
  content: '→';
  color: var(--emerald);
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.85rem;
}

/* ── COUNTER SECTION ── */
#counter {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#counter::before {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(45, 156, 92, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

#counter::after {
  content: '';
  position: absolute;
  bottom: -180px;
  left: -120px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(45, 156, 92, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(10, 22, 40, 0.82) 0%,
      rgba(10, 22, 40, 0.65) 50%,
      rgba(10, 22, 40, 0.40) 100%);
  z-index: 0;
}

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

.page-hero--about {
  background-image: url('../images/hero-about.jpg');
}

.page-hero--services {
  background-image: url('../images/hero-services.jpg');
}

.page-hero--projects {
  background-image: url('../images/hero-projects.jpg');
}

.page-hero--contact {
  background-image: url('../images/hero-contact.jpg');
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.counter-card {
  text-align: center;
  padding: 44px 24px;
  border: 1px solid rgba(45, 156, 92, 0.15);
  border-radius: var(--radius-md);
  position: relative;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.02);
}

.counter-card:hover {
  border-color: rgba(45, 156, 92, 0.4);
  background: rgba(45, 156, 92, 0.04);
  transform: translateY(-4px);
}

.counter-num {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-suffix {
  font-size: 1.8rem;
  color: var(--emerald-light);
}

.counter-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 12px;
}

.counter-divider {
  width: 28px;
  height: 2px;
  background: var(--emerald);
  margin: 14px auto 0;
  opacity: 0.5;
  border-radius: 2px;
}

/* ── PROJECT GALLERY ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
  margin-top: 60px;
}

.project-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.project-card:nth-child(1) {
  grid-column: 1 / 3;
  grid-row: 1;
}

.project-card:nth-child(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.project-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:nth-child(1) .project-img,
.project-card:nth-child(4) .project-img {
  height: 360px;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

/* Light-frosted info bar at bottom */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(10, 22, 40, 0.85) 0%,
      rgba(10, 22, 40, 0.35) 50%,
      rgba(10, 22, 40, 0.0) 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  opacity: 0.75;
  transition: opacity var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7ee8a2;
  margin-bottom: 6px;
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.35;
}

.project-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  background: rgba(248, 249, 250, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8) rotate(-45deg);
  transition: var(--transition);
}

.project-card:hover .project-arrow {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.project-arrow svg {
  width: 14px;
  height: 14px;
  color: var(--white);
}

/* ── SERVICES PAGE SPECIFIC ── */
.service-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 60px;
}

.service-detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-soft);
  transition: var(--transition);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-mint);
  transform: translateY(-4px);
}

.service-detail-header {
  background: var(--bg-section);
  padding: 28px 32px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-bottom: 1.5px solid var(--border-soft);
}

.service-detail-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-mint);
  border: 1.5px solid var(--border-mint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-detail-icon svg {
  width: 26px;
  height: 26px;
  color: var(--emerald);
}

.service-detail-title {
  font-size: 1.3rem;
  color: var(--charcoal);
}

.service-detail-sub {
  font-size: 0.83rem;
  color: var(--charcoal-muted);
  margin-top: 4px;
}

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

.service-detail-body p {
  margin-bottom: 18px;
}

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
}

.check-icon {
  width: 20px;
  height: 20px;
  background: var(--bg-mint);
  border: 1px solid var(--border-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-icon svg {
  width: 11px;
  height: 11px;
  color: var(--emerald);
}

/* ── WHY CHOOSE US ── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 540px;
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-md);
}

.why-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-badge {
  position: absolute;
  bottom: 28px;
  right: -18px;
  background: var(--white);
  border: 1.5px solid var(--border-mint);
  color: var(--charcoal);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.why-badge-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--navy);
}

.why-badge-text {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-top: 4px;
}

.why-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.why-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.why-point-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-mint);
  border: 1.5px solid var(--border-mint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.why-point:hover .why-point-icon {
  background: var(--emerald);
  border-color: var(--emerald);
}

.why-point:hover .why-point-icon svg {
  color: var(--white);
}

.why-point-icon svg {
  width: 22px;
  height: 22px;
  color: var(--emerald);
  transition: color var(--transition);
}

.why-point h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.why-point p {
  font-size: 0.88rem;
}

/* ── MISSION/VISION GRID (about.html) ── */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 60px;
}

.mv-card-navy,
.mv-card-azure {
  border-radius: var(--radius-md);
  padding: 40px 36px;
}

.mv-card-navy {
  background: var(--navy);
}

.mv-card-azure {
  background: var(--bg-section);
  border: 1.5px solid var(--border-soft);
}

.mv-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(45, 156, 92, 0.12);
  border: 1.5px solid rgba(45, 156, 92, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

/* ── TEAM GRID (about.html) ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.team-img-wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}

.team-info {
  padding: 24px;
}

.team-name {
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--emerald);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.team-quals {
  font-size: 0.82rem;
  color: var(--charcoal-muted);
  line-height: 1.6;
}

/* ── PORTFOLIO FILTER & GRID (projects.html) ── */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--border-soft);
  background: var(--white);
  color: var(--charcoal-soft);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

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

.portfolio-card {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-card);
  transform: translateY(-4px);
}

.portfolio-card[style*="display:none"],
.portfolio-card.hidden {
  display: none;
}

.portfolio-img-wrap {
  position: relative;
  overflow: hidden;
}

.portfolio-img-wrap img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.portfolio-card:hover .portfolio-img-wrap img {
  transform: scale(1.05);
}

.portfolio-cat-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}

.portfolio-body {
  padding: 24px;
}

.portfolio-body h3 {
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.portfolio-body p {
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
  margin-bottom: 16px;
}

.portfolio-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-soft);
  padding-top: 14px;
  margin-top: 14px;
}

.portfolio-meta-item {
  font-size: 0.78rem;
  color: var(--charcoal-muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portfolio-meta-item strong {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal-soft);
  display: block;
}

/* ── PARTNERS ── */
.partners-track-wrap {
  overflow: hidden;
  margin-top: 56px;
  -webkit-mask: linear-gradient(90deg, transparent, var(--bg-main) 10%, var(--bg-main) 90%, transparent);
  mask: linear-gradient(90deg, transparent, var(--bg-main) 10%, var(--bg-main) 90%, transparent);
}

.section--azure .partners-track-wrap {
  -webkit-mask: linear-gradient(90deg, transparent, var(--bg-section) 10%, var(--bg-section) 90%, transparent);
  mask: linear-gradient(90deg, transparent, var(--bg-section) 10%, var(--bg-section) 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 32px;
  animation: slide 28s linear infinite;
  width: max-content;
}

.partner-logo {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0 28px;
  white-space: nowrap;
  font-weight: 600;
  font-size: 0.83rem;
  color: var(--charcoal-muted);
  min-width: 160px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.partner-logo:hover {
  border-color: var(--border-mint);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}

/* ── TRUST SIGNALS ── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.trust-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}

.trust-card:hover {
  background: rgba(45, 156, 92, 0.07);
  border-color: rgba(45, 156, 92, 0.25);
  transform: translateY(-4px);
}

.trust-badge-icon {
  width: 64px;
  height: 64px;
  background: rgba(45, 156, 92, 0.12);
  border: 1px solid rgba(45, 156, 92, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.trust-badge-icon svg {
  width: 28px;
  height: 28px;
  color: var(--emerald-light);
}

.trust-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--white);
}

.trust-card p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.52);
}

/* Light trust cards (for sections not on dark bg) */
.trust-card--light {
  background: var(--white);
  border: 1.5px solid var(--border-soft);
}

.trust-card--light:hover {
  border-color: var(--border-mint);
  background: var(--bg-mint);
}

.trust-card--light .trust-badge-icon {
  background: var(--bg-mint);
  border-color: var(--border-mint);
}

.trust-card--light .trust-badge-icon svg {
  color: var(--emerald);
}

.trust-card--light h3 {
  color: var(--charcoal);
}

.trust-card--light p {
  color: var(--charcoal-muted);
}

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border-soft);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-mint);
}

.team-img-wrap {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--bg-section);
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s;
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}

.team-info {
  padding: 24px;
}

.team-name {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.team-role {
  font-size: 0.76rem;
  color: var(--emerald);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.team-exp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-section);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 10px;
}

.team-quals {
  font-size: 0.82rem;
  color: var(--charcoal-muted);
  margin-top: 10px;
  line-height: 1.55;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  border: 1.5px solid var(--border-soft);
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 28px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-mint);
  border: 1.5px solid var(--border-mint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  color: var(--emerald);
}

.contact-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-val {
  font-size: 0.92rem;
  color: var(--charcoal-soft);
  line-height: 1.65;
}

/* ── FORM ── */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-soft);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--bg-main);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--emerald);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(45, 156, 92, 0.1);
}

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

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.08);
}

.page-hero .section-tag {
  color: var(--emerald-light);
}

.page-hero h1 {
  color: var(--white) !important;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.72);
}

.page-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero .breadcrumb span {
  color: rgba(255, 255, 255, 0.9);
}


.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--charcoal-muted);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--charcoal-muted);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--emerald);
}

.breadcrumb span {
  color: var(--emerald);
  font-weight: 600;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 156, 92, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── MISSION/VISION CARDS ── */
.mv-card-navy {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
}

.mv-card-azure {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  border: 1.5px solid var(--border-soft);
}

.mv-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.mv-card-navy .mv-icon-wrap {
  background: rgba(45, 156, 92, 0.12);
  border: 1px solid rgba(45, 156, 92, 0.25);
}

.mv-card-azure .mv-icon-wrap {
  background: var(--bg-mint);
  border: 1.5px solid var(--border-mint);
}

/* ── FOOTER ── */
#footer {
  background: var(--navy);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.65);
  border-top: 2px solid rgba(45, 156, 92, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 56px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

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

.footer-brand .nav-logo-name {
  color: var(--white) !important;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.85;
  margin-bottom: 22px;
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.footer-badge {
  background: rgba(45, 156, 92, 0.1);
  border: 1px solid rgba(45, 156, 92, 0.25);
  border-radius: var(--radius-sm);
  padding: 7px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald-light);
  letter-spacing: 0.06em;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-col ul li a:hover {
  color: var(--emerald-light);
}

.footer-offices {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-office-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--emerald-light);
  margin-bottom: 5px;
}

.footer-office-addr {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

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

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

.delay-5 {
  transition-delay: 0.5s;
}

.delay-6 {
  transition-delay: 0.6s;
}

/* ── KEYFRAMES ── */
@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.75);
  }
}

@keyframes scrollDown {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .why-img-wrap {
    height: 420px;
  }

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

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

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

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

  .mv-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .page-hero {
    padding: 140px 0 60px;
    background-attachment: scroll;
    /* iOS fix */
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Navbar logo smaller on mobile */
  .nav-logo-img {
    height: 36px;
  }

  .nav-logo-tagline {
    font-size: 0.52rem;
  }

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

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

  .project-card:nth-child(1),
  .project-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .project-img {
    height: 240px !important;
  }

  /* Portfolio page grid */
  .portfolio-grid {
    grid-template-columns: 1fr !important;
  }

  .portfolio-img-wrap img {
    height: 220px;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    gap: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-content {
    padding: 28px 20px;
    margin-top: 24px;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
  }

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

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

  .service-page-grid {
    grid-template-columns: 1fr;
  }

  .why-badge {
    right: 0;
  }

  .intro-strip-inner {
    flex-direction: column;
    gap: 28px;
  }

  .intro-strip-cert {
    flex-wrap: wrap;
  }

  /* Mission/Vision grid collapse */
  .mv-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Page hero subpages */
  .page-hero {
    padding: 120px 0 52px;
    background-attachment: scroll;
    /* iOS Safari fix */
  }

  /* Section tag on dark hero */
  .page-hero .section-tag {
    font-size: 0.65rem;
  }

  /* CTA section */
  .cta-section .btn {
    width: 100%;
    justify-content: center;
  }

  /* Process steps */
  .process-steps {
    grid-template-columns: 1fr;
  }

  /* Values grid */
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

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

  .hero-content {
    padding: 20px 16px;
    margin-top: 16px;
  }

  /* Nav logo on tiny screens */
  .nav-logo-img {
    height: 32px;
  }

  /* Page hero on tiny screens */
  .page-hero {
    padding: 100px 0 44px;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.4rem) !important;
  }

  /* Hero scroll indicator */
  .hero-scroll {
    margin-top: 20px;
  }

  /* Footer badges */
  .footer-badges {
    flex-wrap: wrap;
  }

  /* Team card */
  .team-img-wrap {
    height: 260px;
  }

  /* Section spacing */
  .section {
    padding: 56px 0;
  }
}