/* ============================================================
   TAFFTIDY — Redesigned Stylesheet
   Font: Poppins (Google Fonts)
   Palette:
     Navy     #073B70
     Blue     #087DC1
     Green    #55B52E
     White    #FFFFFF
     Light    #F4F8FD
     Text     #1E2D3D
     Muted    #5A6B7B
   ============================================================ */

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden; /* prevent horizontal scroll on all pages */
}
body {
  font-family: 'Poppins', sans-serif;
  color: #1E2D3D;
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* belt-and-braces: no horizontal scroll */
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
p   { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section        { padding: 5rem 0; }
.section--sm    { padding: 3rem 0; }
.section--lg    { padding: 7rem 0; }
.text-center    { text-align: center; }
.text-white     { color: #fff; }
.text-navy      { color: #073B70; }
.text-green     { color: #55B52E; }
.text-muted     { color: #5A6B7B; }
.bg-white       { background: #fff; }
.bg-light       { background: #F4F8FD; }
.bg-navy        { background: #073B70; }
.bg-green       { background: #55B52E; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Typography ───────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: 'Poppins', sans-serif;
  color: #073B70;
  line-height: 1.2;
  font-weight: 700;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); }
h4 { font-size: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #55B52E;
  background: #edfbdf;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.section-title  { color: #073B70; margin-bottom: 1rem; }
.section-intro  { font-size: 1.05rem; color: #5A6B7B; max-width: 620px; margin-bottom: 2.5rem; }
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.78rem 1.9rem;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600; font-size: 0.9rem;
  cursor: pointer; border: 2px solid transparent;
  transition: all 0.22s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid #55B52E; outline-offset: 3px; }
.btn:active { transform: translateY(1px); }

.btn-green  { background: #55B52E; color: #fff; border-color: #55B52E; }
.btn-green:hover { background: #46991f; border-color: #46991f; }

.btn-navy   { background: #073B70; color: #fff; border-color: #073B70; }
.btn-navy:hover { background: #052d56; border-color: #052d56; }

.btn-white  { background: #fff; color: #073B70; border-color: #fff; }
.btn-white:hover { background: #e8f0fa; }

.btn-outline-navy { background: transparent; color: #073B70; border-color: #073B70; }
.btn-outline-navy:hover { background: #073B70; color: #fff; }

.btn-outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: #073B70; }

.btn-outline-green { background: transparent; color: #55B52E; border-color: #55B52E; }
.btn-outline-green:hover { background: #55B52E; color: #fff; }

.btn-sm { padding: 0.55rem 1.35rem; font-size: 0.82rem; }
.btn-lg { padding: 0.9rem 2.3rem; font-size: 0.95rem; }

.btn-group { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ── TOP BAR ──────────────────────────────────────────────── */
.top-bar {
  background: #073B70;
  color: #b8d4ec;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.5rem 0;
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-bar__left, .top-bar__right {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.top-bar__item {
  display: flex; align-items: center; gap: 0.4rem;
  color: #b8d4ec;
}
.top-bar__item a { color: #b8d4ec; transition: color 0.2s; }
.top-bar__item a:hover { color: #55B52E; }
.top-bar__icon { font-size: 0.85rem; }
.top-bar__social { display: flex; gap: 0.75rem; }
.top-bar__social a {
  color: #b8d4ec;
  transition: color 0.2s;
  font-size: 0.9rem;
}
.top-bar__social a:hover { color: #55B52E; }

/* ── HEADER / NAV ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(7,59,112,0.08);
}
/* The top-bar is NOT sticky — it scrolls away */
.top-bar-wrapper { position: relative; z-index: 1001; }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 1rem;
}

/* Logo */
.header__logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none; flex-shrink: 0;
}
.header__logo img {
  height: 48px; width: auto; object-fit: contain;
}
.logo-text       { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name       { font-size: 1.4rem; font-weight: 800; color: #073B70; letter-spacing: -0.02em; }
.logo-tagline    { font-size: 0.58rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #55B52E; }

/* Centered desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1E2D3D;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: #073B70; background: #F4F8FD; }
.nav-link.active { color: #073B70; }
.nav-link.active::after {
  content: ''; display: block;
  height: 2px; background: #55B52E;
  border-radius: 2px; margin-top: 2px;
}
.nav-link:focus-visible { outline: 2px solid #55B52E; outline-offset: 2px; }

.header__cta { flex-shrink: 0; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 6px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: #073B70; border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger:focus-visible { outline: 2px solid #55B52E; }

/* Mobile menu */
.mobile-nav {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid #e5edf5;
  padding: 1rem 1.5rem 1.5rem; gap: 0.25rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav .nav-link { display: block; padding: 0.7rem 1rem; font-size: 0.95rem; border-radius: 6px; }
.mobile-nav .btn { margin-top: 0.75rem; width: 100%; justify-content: center; }

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; margin-bottom: 1.25rem;
  justify-content: center; flex-wrap: wrap;
}
.breadcrumb a { color: #87c4e8; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb__sep { color: #87c4e8; }
.breadcrumb__current { color: #fff; font-weight: 600; }

/* ── PAGE BANNER ──────────────────────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, #073B70 0%, #0a5299 100%);
  padding: 5rem 0 4rem;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #55B52E, #087DC1, #55B52E);
}
.page-banner__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.page-banner h1 { color: #fff; margin-bottom: 0.5rem; position: relative; }
.page-banner p  { color: #b8d4ec; font-size: 1.1rem; max-width: 560px; margin: 0 auto; position: relative; }

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #073B70;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://images.pexels.com/photos/4108715/pexels-photo-4108715.jpeg?auto=compress&cs=tinysrgb&w=1600');
  background-size: cover;
  background-position: center;
  opacity: 0.25;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(7,59,112,0.96) 45%, rgba(7,59,112,0.55) 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 5rem 0;
}
.hero__content { color: #fff; max-width: 580px; }
.hero__label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #55B52E; background: rgba(85,181,46,0.12);
  padding: 0.3rem 1rem; border-radius: 20px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(85,181,46,0.35);
}
.hero__title { color: #fff; font-size: clamp(2.4rem, 4.5vw, 3.5rem); line-height: 1.15; margin-bottom: 1.25rem; }
.hero__title span { color: #55B52E; }
.hero__text { color: #b8d4ec; font-size: 1.05rem; line-height: 1.75; margin-bottom: 2.25rem; max-width: 500px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero__stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num  { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; }
.hero__stat-label{ font-size: 0.75rem; color: #87c4e8; margin-top: 0.2rem; }

.hero__image-wrap {
  position: relative;
}
.hero__image-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative;
}
.hero__image-card img {
  width: 100%; height: 520px;
  object-fit: cover;
  display: block;
}
.hero__badge {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.hero__badge-icon { font-size: 1.75rem; }
.hero__badge-text strong { display: block; font-size: 0.85rem; font-weight: 700; color: #073B70; }
.hero__badge-text span   { font-size: 0.72rem; color: #5A6B7B; }

.hero__float {
  position: absolute;
  top: 1.5rem; right: -1rem;
  background: #55B52E;
  color: #fff;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(85,181,46,0.4);
}
.hero__float strong { display: block; font-size: 1.1rem; font-weight: 800; }
.hero__float span   { font-size: 0.7rem; font-weight: 500; opacity: 0.9; }

/* ── SECTION: STATS BAR ───────────────────────────────────── */
.stats-bar {
  background: #073B70;
  padding: 2.5rem 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item { padding: 1rem; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-item__num   { font-size: 2rem; font-weight: 800; color: #55B52E; line-height: 1; margin-bottom: 0.4rem; }
.stat-item__label { font-size: 0.8rem; color: #b8d4ec; font-weight: 500; }

/* ── SERVICES GRID ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.service-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(7,59,112,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(7,59,112,0.14); }
.service-card__img  { width: 100%; height: 210px; object-fit: cover; }
.service-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.service-card__tag  {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #55B52E; background: #edfbdf;
  padding: 0.2rem 0.7rem; border-radius: 20px;
  margin-bottom: 0.65rem;
}
.service-card__title { font-size: 1.05rem; margin-bottom: 0.5rem; }
.service-card__desc  { font-size: 0.875rem; color: #5A6B7B; flex: 1; margin-bottom: 1rem; }
.service-card__link  {
  font-size: 0.82rem; font-weight: 700;
  color: #073B70; display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap 0.2s, color 0.2s;
}
.service-card__link:hover { color: #55B52E; gap: 0.7rem; }
.service-card__link::after { content: '→'; }

/* ── WHY CHOOSE (image + list) ────────────────────────────── */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-grid.reverse { }
.split-grid__image {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(7,59,112,0.12);
}
.split-grid__image img { width: 100%; height: 480px; object-fit: cover; }
.split-grid__image-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: #55B52E; color: #fff;
  border-radius: 10px; padding: 0.75rem 1.1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(85,181,46,0.35);
}
.split-grid__image-badge strong { display: block; font-size: 1.1rem; font-weight: 800; }
.split-grid__image-badge span   { font-size: 0.7rem; opacity: 0.9; }

.benefit-list { display: flex; flex-direction: column; gap: 1rem; margin: 1.5rem 0 2rem; }
.benefit-item { display: flex; align-items: flex-start; gap: 0.85rem; }
.benefit-item__check {
  width: 24px; height: 24px; border-radius: 50%;
  background: #55B52E; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 900; flex-shrink: 0; margin-top: 1px;
}
.benefit-item__text { font-size: 0.9rem; color: #1E2D3D; font-weight: 500; line-height: 1.5; }

/* ── PROCESS STEPS ────────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 36px; left: calc(16.6% + 0.5rem); right: calc(16.6% + 0.5rem);
  height: 2px;
  background: linear-gradient(90deg, #55B52E, #087DC1, #55B52E);
  pointer-events: none;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.process-step__num {
  width: 72px; height: 72px;
  background: #073B70; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; font-weight: 800;
  margin: 0 auto 1.25rem;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px #073B70;
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p  { font-size: 0.85rem; color: #5A6B7B; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 24px rgba(7,59,112,0.07);
  border-top: 4px solid #55B52E;
  display: flex; flex-direction: column; gap: 1rem;
}
.testimonial-card__stars { color: #f5a623; font-size: 1rem; letter-spacing: 2px; }
.testimonial-card__text  { font-size: 0.875rem; color: #5A6B7B; line-height: 1.75; flex: 1; font-style: italic; }
.testimonial-card__author{ display: flex; align-items: center; gap: 0.85rem; }
.testimonial-card__avatar{
  width: 46px; height: 46px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
}
.testimonial-card__name  { font-size: 0.875rem; font-weight: 700; color: #073B70; }
.testimonial-card__role  { font-size: 0.75rem; color: #5A6B7B; }

/* ── IMAGE GALLERY STRIP ──────────────────────────────────── */
.gallery-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 0.75rem;
  border-radius: 16px;
  overflow: hidden;
}
.gallery-strip__item { overflow: hidden; }
.gallery-strip__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.gallery-strip__item:hover img { transform: scale(1.05); }
.gallery-strip__item:first-child { grid-row: 1 / 3; }

/* ── FEATURE CARDS (about/services) ──────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(7,59,112,0.07);
  transition: transform 0.22s, box-shadow 0.22s;
  border-bottom: 3px solid transparent;
}
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 14px 36px rgba(7,59,112,0.13); border-bottom-color: #55B52E; }
.feature-card__img  { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; margin-bottom: 1.1rem; }
.feature-card__icon { font-size: 2.5rem; margin-bottom: 0.9rem; display: block; }
.feature-card h3    { font-size: 0.95rem; margin-bottom: 0.4rem; }
.feature-card p     { font-size: 0.82rem; color: #5A6B7B; margin: 0; }

/* ── SERVICE DETAIL (services page) ──────────────────────── */
.service-section { padding: 4.5rem 0; border-bottom: 1px solid #e8eef5; }
.service-section:last-of-type { border-bottom: none; }

/* Alternating background variant */
.service-section--alt {
  background: #F4F8FD;
  border-radius: 16px;
  padding: 3rem;
}

.service-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Reverse column order for alternating sections — CSS only, no direction:rtl */
.service-section__inner--reverse {
  direction: ltr; /* ensure text stays LTR */
}
.service-section__inner--reverse .service-section__image { order: 2; }
.service-section__inner--reverse > div:last-child        { order: 1; }
.service-section__image {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(7,59,112,0.1);
}
.service-section__image img { width: 100%; height: 380px; object-fit: cover; }
.service-section__tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #55B52E; background: #edfbdf;
  padding: 0.25rem 0.8rem; border-radius: 20px; margin-bottom: 0.75rem;
}
.service-section h2 { margin-bottom: 0.75rem; }
.task-list          { display: flex; flex-direction: column; gap: 0.5rem; margin: 1rem 0 1.5rem; }
.task-item          { display: flex; align-items: center; gap: 0.6rem; font-size: 0.875rem; color: #1E2D3D; }
.task-item::before  { content: '✓'; color: #55B52E; font-weight: 800; width: 16px; flex-shrink: 0; }
.service-note       { font-size: 0.8rem; color: #5A6B7B; font-style: italic; margin-bottom: 1.5rem; }

/* ── FAQ ACCORDION ────────────────────────────────────────── */
.faq-wrap { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1.5px solid #d8e8f5; border-radius: 10px; background: #fff; overflow: hidden; }
.faq-item__btn {
  width: 100%; background: none; border: none;
  padding: 1.1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem; font-weight: 600; color: #073B70;
  transition: background 0.2s;
}
.faq-item__btn:hover { background: #F4F8FD; }
.faq-item__btn:focus-visible { outline: 2px solid #55B52E; outline-offset: -2px; }
.faq-item__icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: #55B52E; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.faq-item__answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.875rem; color: #5A6B7B; line-height: 1.75;
  border-top: 1px solid #e8eef5; padding-top: 1rem;
}
.faq-item.is-open .faq-item__answer { display: block; }
.faq-item__answer a { color: #087DC1; text-decoration: underline; }
.faq-cat-title {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #087DC1;
  margin: 2.25rem auto 0.75rem; max-width: 820px;
}
.faq-cat-title:first-child { margin-top: 0; }

/* ── CONTACT ──────────────────────────────────────────────── */
/* Info cards row (4-col → 2-col → 1-col) */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.7fr;
  gap: 3rem;
  align-items: start;
}
.contact-card {
  background: #F4F8FD;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1rem;
  transition: transform 0.2s;
}
.contact-card:hover { transform: translateY(-2px); }
.contact-card:last-child { margin-bottom: 0; }
.contact-card__icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: #073B70; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; flex-shrink: 0;
}
.contact-card__label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #087DC1; margin-bottom: 0.2rem; }
.contact-card__value { font-size: 0.95rem; font-weight: 600; color: #073B70; }
.contact-card__value a { color: #073B70; }
.contact-card__value a:hover { color: #55B52E; }

/* Enquiry form */
.enquiry-form {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 8px 40px rgba(7,59,112,0.1);
}
.enquiry-form h2 { margin-bottom: 0.4rem; }
.form-intro { font-size: 0.875rem; color: #5A6B7B; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; display: flex; flex-direction: column; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: #073B70; margin-bottom: 0.4rem; }
.required-mark { color: #e53e3e; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.72rem 1rem;
  border: 1.5px solid #cdd8e6;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: #1E2D3D;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: #087DC1;
  box-shadow: 0 0 0 3px rgba(8,125,193,0.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #e53e3e; box-shadow: 0 0 0 3px rgba(229,62,62,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { font-size: 0.75rem; color: #e53e3e; margin-top: 0.3rem; display: none; }
.form-error.visible { display: block; }
.form-checkbox { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.5rem; }
.form-checkbox input[type="checkbox"] { width: 17px; height: 17px; margin-top: 2px; flex-shrink: 0; accent-color: #55B52E; cursor: pointer; }
.form-checkbox label { font-size: 0.8rem; color: #5A6B7B; line-height: 1.5; cursor: pointer; }
.form-checkbox label a { color: #087DC1; text-decoration: underline; }
.form-submit-btn { width: 100%; justify-content: center; font-size: 0.95rem; border-radius: 50px; }
.form-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success,
.form-failure { display: none; border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1.25rem; font-size: 0.875rem; font-weight: 500; }
.form-success { background: #edfbdf; border-left: 4px solid #55B52E; color: #2d6a0f; }
.form-failure { background: #fff5f5; border-left: 4px solid #e53e3e; color: #c53030; }
.form-success.visible,
.form-failure.visible { display: block; }

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  position: relative;
  background: #073B70;
  padding: 5.5rem 0;
  text-align: center;
  overflow: hidden;
}
.cta-banner__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.12;
}
.cta-banner::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #55B52E, #087DC1, #55B52E);
}
.cta-banner h2 { color: #fff; margin-bottom: 1rem; position: relative; }
.cta-banner p  { color: #b8d4ec; font-size: 1.05rem; margin-bottom: 2rem; max-width: 580px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .btn-group { justify-content: center; position: relative; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: #0b2a4a; color: #b8d4ec; }
.footer__accent { height: 4px; background: linear-gradient(90deg, #55B52E, #087DC1, #55B52E); }
.footer__main { padding: 4rem 0 3rem; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Column 1: logo image only */
.footer__logo-wrap {
  display: block;
  margin-bottom: 1.5rem;
}
.footer__logo-wrap img {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.footer__desc {
  font-size: 0.84rem;
  color: #87a9c4;
  max-width: 260px;
  line-height: 1.75;
  margin-bottom: 0;
}

/* Columns 2–4 titles */
.footer__col-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #fff;
  margin-bottom: 1.25rem;
}

/* Link lists */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__links a {
  font-size: 0.85rem;
  color: #87a9c4;
  display: block;
  transition: color 0.2s, padding-left 0.2s;
}
.footer__links a:hover { color: #55B52E; padding-left: 4px; }

/* Contact list */
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  line-height: 1.5;
}
.footer__contact-item span.ic {
  flex-shrink: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  width: 1.2em;
}
.footer__contact-item a { color: #87a9c4; transition: color 0.2s; }
.footer__contact-item a:hover { color: #55B52E; }

/* Social icons */
.footer__social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #87a9c4;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.footer__social a:hover { background: #55B52E; color: #fff; }
.footer__social a:focus-visible { outline: 2px solid #55B52E; outline-offset: 2px; }

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: #5a7e9a;
}
.footer__legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__legal a { color: #5a7e9a; transition: color 0.2s; }
.footer__legal a:hover { color: #55B52E; }

/* ── ABOUT SPECIFIC ───────────────────────────────────────── */
.about-mission-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem;
}
.about-mission-card {
  border-radius: 14px; padding: 2rem; border-top: 4px solid #087DC1;
  background: #F4F8FD;
}
.about-mission-card.green { border-top-color: #55B52E; }
.about-mission-card h3 { margin-bottom: 0.75rem; }
.about-mission-card p  { font-size: 0.875rem; color: #5A6B7B; margin: 0; }

/* ── POLICY PAGES ─────────────────────────────────────────── */
.policy-content { max-width: 820px; margin: 0 auto; padding: 4rem 1.5rem; }
.policy-content h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.policy-content h3 { font-size: 1.05rem; margin: 1.5rem 0 0.5rem; }
.policy-content p,
.policy-content li { font-size: 0.95rem; color: #5A6B7B; line-height: 1.8; }
.policy-content ul { padding-left: 1.5rem; list-style: disc; margin-bottom: 1rem; }

/* ── RESPONSIVE ───────────────────────────────────────────── */

/* ─── 1024px — Tablet ──────────────────────────────────────── */
@media (max-width: 1024px) {
  /* De-absolute the centred nav so it can't overflow the header */
  .main-nav            { position: static; transform: none; }
  .header__inner       { justify-content: space-between; }

  .stats-bar__grid     { grid-template-columns: repeat(2, 1fr); }
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .feature-grid        { grid-template-columns: repeat(2, 1fr); }
  .footer__grid        { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .testimonials-grid   { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before{ display: none; }
  .service-section__inner { gap: 2.5rem; }
  .contact-info-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ─── 768px — Mobile ───────────────────────────────────────── */
@media (max-width: 768px) {

  /* ── Global: tighter container, reduced section padding ── */
  .container           { padding: 0 1rem; }
  .section             { padding: 3rem 0; }
  .page-banner         { padding: 3rem 0 2.5rem; }
  .cta-banner          { padding: 3rem 0; }

  /* ── Header / top bar ── */
  .top-bar__left       { gap: 0.75rem; flex-wrap: wrap; }
  .top-bar__right      { display: none; }
  .main-nav            { display: none; }
  .hamburger           { display: flex; }
  .header__cta         { display: none; }

  /* ── Buttons: allow text to wrap so they don't force a scroll ── */
  .btn                 { white-space: normal; word-break: break-word; text-align: center; }

  /* ── Hero ── */
  .hero__inner         { grid-template-columns: 1fr; padding: 3rem 0; }
  .hero__image-wrap    { display: none; }
  .hero                { min-height: auto; }

  /* ── Services page ── */
  .service-section     { padding: 2.5rem 0; }
  /* Coloured-bg alternate sections: keep them inset with a horizontal margin */
  .service-section--alt {
    padding: 2rem 1rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  /* Stack 2-col layout to 1 col */
  .service-section__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  /* Reset order reversal — image always first on mobile */
  .service-section__inner--reverse .service-section__image { order: 0; }
  .service-section__inner--reverse > div:last-child        { order: 1; }
  /* Keep images visible */
  .service-section__image        { display: block; }
  .service-section__image img    { height: 220px; }

  /* ── About page ── */
  .split-grid          { grid-template-columns: 1fr; }
  .split-grid__image   { display: none; }
  .about-mission-grid  { grid-template-columns: 1fr; }

  /* ── Contact page ── */
  .contact-info-grid   { grid-template-columns: repeat(2, 1fr); }
  .contact-layout      { grid-template-columns: 1fr; }
  .form-row            { grid-template-columns: 1fr; }
  .contact-card        { padding: 1.25rem; }
  .enquiry-form        { padding: 1.75rem 1.25rem; }

  /* ── FAQ page ── */
  .faq-cat-title       { margin-top: 1.5rem; }
  .faq-item__btn       { font-size: 0.85rem; padding: 1rem 1.1rem; }
  .faq-item__answer    { padding: 0.85rem 1.1rem 1rem; }

  /* ── Shared grids ── */
  .services-grid       { grid-template-columns: 1fr; }
  .process-grid        { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .feature-grid        { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__grid     { grid-template-columns: repeat(2, 1fr); }
  .footer__grid        { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery-strip       { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-strip__item:first-child { grid-row: auto; }

  /* Remove border-right dividers in stat items to avoid visual bleed */
  .stat-item           { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child{ border-bottom: none; }
}

/* ─── 480px — Small mobile ─────────────────────────────────── */
@media (max-width: 480px) {
  .container           { padding: 0 0.875rem; }

  /* Full-width stacked button groups */
  .btn-group           { flex-direction: column; align-items: stretch; }
  .btn-group .btn      { width: 100%; justify-content: center; }

  /* Services */
  .service-section--alt { margin-left: 0; margin-right: 0; border-radius: 0; }
  .service-section__image img { height: 185px; }

  /* Contact */
  .contact-info-grid   { grid-template-columns: 1fr; }

  /* About */
  .feature-grid        { grid-template-columns: 1fr; }
  .about-mission-card  { padding: 1.5rem; }

  /* Misc */
  .hero__stats         { gap: 1.25rem; }
  .stats-bar__grid     { grid-template-columns: 1fr 1fr; }
  .process-step__num   { width: 54px; height: 54px; font-size: 1.05rem; }
  .footer__bottom-inner{ flex-direction: column; text-align: center; }
  .footer__legal       { justify-content: center; }

  /* Hide the location tag in the top bar on very small screens */
  .top-bar__item:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
