/* =========================
   Base Reset
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================
   CSS Variables
========================= */
:root {
  --color-bg: #ffffff;
  --color-text: #1f2933;
  --color-muted: #6b7280;
  --color-accent: #0f3d3e;

  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 64px;
  --space-xl: 96px;
}

/* =========================
   Global Styles
========================= */
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

/* =========================
   Layout
========================= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section-alt {
  background: #f9fafb;
}

/* =========================
   Hero Section
========================= */
.hero {
  min-height: calc(100vh - 80px); /* adjust if header height changes */
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 96px;
}

.hero-inner {
  width: 100%;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 24px;
}

.hero-subtext {
  font-size: 16px;
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--color-muted);
}

.hero-divider {
  width: 48px;
  height: 3px;
  background-color: var(--color-accent);
  margin-bottom: 32px;
}

/* =========================
   Typography
========================= */
h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}

p {
  max-width: 720px;
  margin-bottom: var(--space-sm);
  color: var(--color-muted);
}

/* =========================
   Links & Buttons
========================= */
a {
  color: var(--color-accent);
  text-decoration: none;
}

.btn-primary {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  background: var(--color-accent);
  color: #ffffff;
  transition: background 0.2s ease;
}

.btn-primary:hover {
  background: #0b2f30;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

/* =========================
   Header
========================= */
.site-header {
  padding: var(--space-md) 0;
  border-bottom: 1px solid #e5e7eb;
}

.logo a {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-text);
}

.main-nav a {
  margin-left: var(--space-md);
  font-size: 14px;
  color: var(--color-muted);
}

.main-nav a:hover {
  color: var(--color-text);
}

/* =========================
   Footer
========================= */
.site-footer {
  padding: var(--space-lg) 0;
  border-top: 1px solid #e5e7eb;
  font-size: 14px;
  color: var(--color-muted);
}

/* =========================
   Mobile Refinement
========================= */
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 0 64px;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .main-nav {
    display: none;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }
}
/* =========================
   Services Section
========================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.service-card {
  padding: var(--space-md);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
  max-width: 90%;
}

.section h2 {
  margin-bottom: 12px;
}
/* Reduce gap between Hero and next section */
.section-after-hero {
  padding-top: var(--space-lg); /* 64px instead of 96px */
}


/* =========================
   Services - Mobile
========================= */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   Industries Section
========================= */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.industry-item {
  padding: var(--space-md);
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  background: #ffffff;
}

/* =========================
   Industries - Mobile
========================= */
@media (max-width: 768px) {
  .industries-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   How We Work (Process)
========================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.process-step {
  padding: var(--space-md);
}

.process-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-muted);
}

/* =========================
   Process - Mobile
========================= */
@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   Primary CTA Section
========================= */
.section-cta {
  text-align: center;
  background: #f9fafb;
}

.section-cta h2 {
  max-width: 640px;
  margin: 0 auto 16px;
}

.section-cta p {
  max-width: 520px;
  margin: 0 auto 32px;
}

/* =========================
   CTA - Mobile
========================= */
@media (max-width: 768px) {
  .section-cta {
    text-align: left;
  }

  .section-cta .btn-primary {
    width: 100%;
    text-align: center;
  }
}

/* =========================
   Section Divider
========================= */
.section-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}
.section-divider {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* =========================
   Contact Page
========================= */
.contact-form {
  max-width: 520px;
  margin-top: var(--space-lg);
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.form-field label {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-field input,
.form-field textarea {
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* =========================
   Services – Intro Section
========================= */

.section-intro {
  padding: 96px 0 64px;
}

.section-intro h1 {
  max-width: 720px;
}

.section-intro .lead {
  font-size: 17px;
  max-width: 640px;
  color: var(--color-muted);
}

/* =========================
   Section Divider
========================= */

.section-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* =========================
   Services Grid
========================= */

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

/* =========================
   Service Card
========================= */

.service-card {
  padding: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  transition: all 0.2s ease;
}

.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

/* Title */
.service-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Description */
.service-card p {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

/* Bullet list */
.service-card ul {
  padding-left: 18px;
  margin: 0;
}

.service-card li {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 6px;
}

/* =========================
   CTA Section
========================= */

.section-cta {
  padding: 72px 0;
}

.section-cta h2 {
  margin-bottom: 8px;
}

.section-cta p {
  max-width: 520px;
  margin-bottom: 20px;
}

/* =========================
   Mobile Responsive
========================= */

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

@media (max-width: 640px) {
  .section-intro {
    padding: 64px 0 48px;
  }

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

  .service-card {
    padding: 22px;
  }
}
/* =========================
   About – Intro
========================= */

.section-intro {
  padding: 96px 0 64px;
}

.section-intro h1 {
  max-width: 720px;
}

.section-intro .lead {
  font-size: 17px;
  max-width: 620px;
  color: var(--color-muted);
}

/* =========================
   Narrow Content Section
========================= */

.content-narrow {
  max-width: 1400px;
}

.content-narrow p {
  font-size: 15px;
  margin-bottom: 16px;
}

/* =========================
   Values / How We Work
========================= */

.values-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;
  max-width: 720px;
}

.values-list li {
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 15px;
  color: var(--color-muted);
}

.values-list li:last-child {
  border-bottom: none;
}

.values-list strong {
  color: var(--color-text);
  font-weight: 500;
}

/* =========================
   Section Divider
========================= */

.section-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0;
}

/* =========================
   Soft CTA Section
========================= */

.section-soft-cta {
  padding: 72px 0;
}

.section-soft-cta h2 {
  margin-bottom: 8px;
}

.section-soft-cta p {
  max-width: 520px;
  margin-bottom: 20px;
}

/* =========================
   Mobile Refinement
========================= */

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

  .content-narrow {
    padding-right: 0;
  }

  .values-list li {
    padding: 12px 0;
  }
}
/* =========================
   Wagtail RichText Lists Fix
========================= */

/* Target all rich text inside standard pages */
.rich-text ul,
.rich-text ol {
  margin: 16px 0;
  padding-left: 1.25rem;
}

.rich-text li {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Wagtail renders <li><p>...</p></li> */
.rich-text li p {
  margin: 0;
  color: var(--color-muted);
}

/* header nav bar design */

.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  transition: background 0.3s ease;
}

.nav-glass {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

.brand-logo {
  height: 44px;       /* desktop size */
  width: auto;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  color: #0A3A6E;
  letter-spacing: 0.02em;
}

.brand-divider {
  width: 110px;
  height: 2px;
  background-color: #F6C343; /* yellow accent */
  margin: 4px 0;
}

.brand-tagline {
  font-size: 10px;
  font-weight: 500;
  color: #6FB3E6;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}


.nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-toggle {
  display: none;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: white;
}

.nav-spacer {
  height: 80px;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .brand-logo { height: 36px;}
}

.hidden {
  display: none;
}
/* =========================
   Footer
========================= */

.site-footer {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  font-size: 14px;
  color: var(--color-muted);
}

.footer-col a:hover {
  color: var(--color-text);
}

/* Brand block */
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  color: var(--color-muted);
  max-width: 360px;
}

/* Social icons */
.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
}

/* Bottom strip */
.footer-bottom {
  width: 100%;
  border-top: 1px solid #e5e7eb;
  padding: 16px 24px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}
/* =========================
   Footer – Mobile
========================= */

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    }

  .footer-col {
    text-align: left;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

/* =========================
   MOBILE SLIDE DRAWER MENU
========================= */

/* Overlay (background fade) */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer base */
.mobile-drawer {
 position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: #fff;

  display: flex;
  flex-direction: column; /* 🔑 REQUIRED */

  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1001;
}

/* Drawer open */
.mobile-drawer.active {
  transform: translateX(0);
}

/* Drawer header */
.drawer-header {
 padding: 16px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-header button {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Drawer navigation */
.drawer-nav {
   flex: 1;                /* 🔑 takes remaining space */
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto; 
}

.drawer-nav a {
  font-size: 16px;
  color: var(--color-text);
  text-decoration: none;
}

.drawer-nav a.cta {
  margin-top: 12px;
  padding: 12px;
  text-align: center;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 6px;
}

/* Drawer footer */
/* Drawer footer */
.drawer-footer {
  padding: 16px;
  border-top: 1px solid #e5e7eb;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

.drawer-footer a {
  font-size: 20px;
  color: var(--color-muted);
  text-decoration: none;
}

.drawer-footer a:hover {
  color: var(--color-accent);
}

/* Hide drawer on desktop */
@media (min-width: 769px) {
  .mobile-drawer,
  .mobile-overlay,
  .nav-toggle {
    display: none;
  }
}




