  /* ============================================================
   YOUR TOKENS + BASE + UTILITIES (kept as supplied)
============================================================ */

/* ── TOKENS ────────────────────────────────────────── */
:root {
  --navy:       #0A192F;
  --navy-dark:  #060f1e;
  --navy-mid:   #112240;
  --gold:       #D4AF37;
  --gold-light: #e8c84a;
  --white:      #FFFFFF;
  --offwhite:   #F8F9FA;
  --gray-100:   #f1f3f5;
  --gray-300:   #dee2e6;
  --gray-500:   #adb5bd;
  --gray-600:   #6c757d;
  --text-body:  #2d3748;
  --font-main: 'Manrope', system-ui, sans-serif;
  --nav-h: 80px;
  --nav-h-scrolled: 68px;
  --section-py: 110px;
  --section-py-sm: 72px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── BASE ────────────────────────────────────────────── */
*, *::before, *::after{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
     scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  color: var(--navy);
  line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}

/* ── UTILITY ─────────────────────────────────────────── */
.text-gold { color: var(--gold) !important; }
.bg-navy   { background-color: var(--navy) !important; }
.bg-navy-mid { background-color: var(--navy-mid) !important; }
.bg-offwhite { background-color: var(--offwhite) !important; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--gold);
  color: var(--navy);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 14px 32px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-gold:hover {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: transparent;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 13px 30px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-outline-white:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.divider-gold {
  width: 48px;
  height: 3px;
  background: var(--gold);
  display: block;
  margin: 18px 0 28px;
}


   
   /* ── Slideshow wrapper replaces .industry-visual img ── */
    .industry-slideshow {
      position: relative;
      width: 100%;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      border-radius: 12px;          /* match your existing .industry-visual radius */
      background: #0a192f;
    }

    /* Each slide */
    .slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      transition: opacity 0.7s ease;
      pointer-events: none;
    }
    .slide.active {
      opacity: 1;
      pointer-events: auto;
    }
    .slide img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 6s ease;   /* subtle Ken Burns */
    }
    .slide.active img {
      transform: scale(1.04);
    }

    /* Gradient overlay — same as original .industry-visual::after */
    .industry-slideshow::after {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10,25,47,.65) 0%, transparent 55%);
      pointer-events: none;
      z-index: 2;
    }

    /* Sector label (bottom-left) — same as .industry-visual-label */
    .slideshow-label {
      position: absolute;
      bottom: 16px;
      left: 20px;
      z-index: 3;
      font-family: 'Manrope', sans-serif;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.75);
    }

    /* Dot indicators */
    .slideshow-dots {
      position: absolute;
      bottom: 16px;
      right: 16px;
      z-index: 3;
      display: flex;
      gap: 6px;
      align-items: center;
    }
    .slideshow-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(255,255,255,0.35);
      border: none;
      padding: 0;
      cursor: pointer;
      transition: background 0.3s, transform 0.3s;
    }
    .slideshow-dot.active {
      background: #D4AF37;           /* HEMAC gold */
      transform: scale(1.3);
    }

    /* Prev / Next arrow buttons */
    .slideshow-prev,
    .slideshow-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      z-index: 3;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(10,25,47,0.55);
      border: 1px solid rgba(212,175,55,0.3);
      color: #D4AF37;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 0.9rem;
      transition: background 0.25s, border-color 0.25s;
      opacity: 0;                    /* hidden until hover on container */
    }
    .industry-slideshow:hover .slideshow-prev,
    .industry-slideshow:hover .slideshow-next {
      opacity: 1;
    }
    .slideshow-prev { left: 12px; }
    .slideshow-next { right: 12px; }
    .slideshow-prev:hover,
    .slideshow-next:hover {
      background: rgba(212,175,55,0.25);
      border-color: #D4AF37;
    }

    /* Gold accent bar — mirrors .industry-visual-accent */
    .slideshow-accent {
      position: absolute;
      bottom: -6px;
      right: -6px;
      width: 60%;
      height: 4px;
      background: linear-gradient(90deg, #D4AF37, #f0d060);
      z-index: 4;
      border-radius: 2px;
    }

    /* Touch / swipe hint on mobile */
    @media (max-width: 767px) {
      .slideshow-prev,
      .slideshow-next { opacity: 1; width: 30px; height: 30px; font-size: 0.75rem; }
      .industry-slideshow { aspect-ratio: 16/10; }
    }


    /* ═══════════════════════════════════════════════
       INDUSTRIES PAGE — SCOPED STYLES
    ═══════════════════════════════════════════════ */

    /* ── PAGE HERO ── */
    #page-hero {
      position: relative;
      min-height: 520px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background: var(--navy);
      padding: 140px 0 100px;
    }

    #page-hero .hero-bg-industry {
      position: absolute;
      inset: 0;
      background:
        linear-gradient(135deg, rgba(10,25,47,0.7) 40%, rgba(10,25,47,0.7) 100%),
        url('../images/industries.jpg') center/cover no-repeat;
      z-index: 0;
    }

    #page-hero .hero-grid {
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
      z-index: 1;
    }

    /* Animated sector rings */
    #page-hero .hero-pulse {
      position: absolute;
      right: 8%;
      top: 50%;
      transform: translateY(-50%);
      width: 340px;
      height: 340px;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    @media (max-width: 991px) { #page-hero .hero-pulse { display: none; } }

    #page-hero .pulse-ring {
      position: absolute;
      border-radius: 50%;
      border: 1px solid rgba(212,175,55,0.15);
      animation: pulseExpand 3.5s ease-out infinite;
    }

    #page-hero .pulse-ring:nth-child(1) { width: 100px; height: 100px; animation-delay: 0s; }
    #page-hero .pulse-ring:nth-child(2) { width: 180px; height: 180px; animation-delay: 0.7s; }
    #page-hero .pulse-ring:nth-child(3) { width: 260px; height: 260px; animation-delay: 1.4s; }
    #page-hero .pulse-ring:nth-child(4) { width: 340px; height: 340px; animation-delay: 2.1s; }

    @keyframes pulseExpand {
      0%   { opacity: 0.6; transform: scale(0.92); }
      100% { opacity: 0;   transform: scale(1.08); }
    }

    #page-hero .pulse-center {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: var(--gold);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      color: var(--navy);
      z-index: 2;
      box-shadow: 0 0 0 8px rgba(212,175,55,0.12);
    }

    #page-hero .container { position: relative; z-index: 2; }

    .breadcrumb-nav {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 20px;
      font-size: 0.8rem;
      font-weight: 500;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.45);
    }
    .breadcrumb-nav a { color: var(--gold); text-decoration: none; }
    .breadcrumb-nav a:hover { text-decoration: underline; }
    .breadcrumb-nav .sep { color: rgba(255,255,255,0.25); }
    .breadcrumb-nav .current { color: rgba(255,255,255,0.45); }

    .hero-title {
      font-size: clamp(2.4rem, 5vw, 3.8rem);
      font-weight: 800;
      color: var(--white);
      line-height: 1.12;
      margin-bottom: 20px;
      letter-spacing: -0.02em;
    }
    .hero-title .gold { color: var(--gold); }

    #page-hero .hero-sub {
      font-size: 1rem;
      color: rgba(255,255,255,0.6);
      line-height: 1.8;
      max-width: 560px;
      margin-bottom: 36px;
    }

    #page-hero .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    /* ── SECTOR NAVIGATION TABS ── */
    #sector-nav {
      background: var(--white);
      border-bottom: 1px solid var(--gray-200);
      position: sticky;
      top: 72px;
      z-index: 100;
    }

    .sector-tabs {
      display: flex;
      gap: 0;
      overflow-x: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      padding: 0;
      margin: 0;
      list-style: none;
    }
    .sector-tabs::-webkit-scrollbar { display: none; }

    .sector-tabs li a {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 18px 22px;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: var(--gray-500);
      text-decoration: none;
      border-bottom: 2px solid transparent;
      white-space: nowrap;
      transition: all 0.2s ease;
    }
    .sector-tabs li a i { font-size: 1rem; }
    .sector-tabs li a:hover,
    .sector-tabs li a.active {
      color: var(--navy);
      border-bottom-color: var(--gold);
    }

    /* ── INTRO STRIP ── */
    #industries-intro {
      padding: 100px 0 80px;
      background: var(--white);
    }

    .intro-stat {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 24px 28px;
      background: var(--gray-50);
      border-left: 3px solid var(--gold);
    }

    .intro-stat-val {
      font-size: 2rem;
      font-weight: 800;
      color: var(--navy);
      line-height: 1;
      flex-shrink: 0;
    }

    .intro-stat-label {
      font-size: 0.8rem;
      color: var(--gray-500);
      font-weight: 500;
      line-height: 1.4;
    }

    /* ── INDUSTRY CARDS — LARGE FEATURE LAYOUT ── */
    #industries-grid {
      padding: 0 0 120px;
      background: var(--white);
    }

    .industry-block {
      padding: 80px 0;
      border-top: 1px solid var(--gray-200);
      scroll-margin-top: 140px;
    }

    .industry-block:first-child { border-top: none; }

    .industry-block-num {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 12px;
    }

    .industry-block-icon {
      width: 64px;
      height: 64px;
      border-radius: 0;
      background: var(--navy);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      color: var(--gold);
      margin-bottom: 24px;
      flex-shrink: 0;
    }

    .industry-block-title {
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      color: var(--navy);
      line-height: 1.2;
      margin-bottom: 12px;
      letter-spacing: -0.02em;
    }

    .industry-block-sub {
      font-size: 0.95rem;
      color: var(--gray-500);
      line-height: 1.8;
      margin-bottom: 28px;
    }

    .industry-services-list {
      list-style: none;
      padding: 0;
      margin: 0 0 28px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .industry-services-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.88rem;
      color: var(--gray-600);
      font-weight: 500;
      line-height: 1.5;
    }

    .industry-services-list li i {
      color: var(--gold);
      font-size: 0.9rem;
      margin-top: 2px;
      flex-shrink: 0;
    }

    .industry-visual {
      position: relative;
      height: 360px;
      overflow: hidden;
    }

    .industry-visual img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.6s ease;
    }

    .industry-visual:hover img { transform: scale(1.04); }

    .industry-visual-label {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(10,25,47,0.88));
      padding: 40px 24px 20px;
      color: var(--white);
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .industry-visual-accent {
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: var(--gold);
    }

    /* Alternate layout — image left, text right */
    .industry-block.reverse .industry-visual {
      order: -1;
    }
    @media (max-width: 991px) {
      .industry-block.reverse .industry-visual { order: 0; }
      .industry-visual { height: 260px; }
    }

    /* ── CTA BAND ── */
    #industries-cta {
      background: var(--navy);
      padding: 80px 0;
      position: relative;
      overflow: hidden;
    }

    #industries-cta::before {
      content: '';
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
      background-size: 60px 60px;
    }

    #industries-cta .container { position: relative; z-index: 1; }

    /* ── WHY SECTOR EXPERTISE ── */
    #sector-expertise {
      padding: 110px 0;
      background: var(--gray-50);
    }

    .expertise-card {
      background: var(--navy);
      border: 1px solid var(--gray-200);
      padding: 36px 32px;
      height: 100%;
      transition: border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .expertise-card:hover {
      border-color: var(--gold);
      box-shadow: 0 8px 32px rgba(10,25,47,0.08);
    }

    .expertise-card-icon {
      font-size: 1.6rem;
      color: var(--gold);
      margin-bottom: 16px;
    }

    .expertise-card h4 {
      font-size: 1rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 10px;
    }

    .expertise-card p {
      font-size: 0.88rem;
      color: var(--gray-500);
      line-height: 1.75;
      margin: 0;
    }


    
    /* ════════════════════════════════════════════════════
       FOOTER TEASER (bottom nav strip)
    ════════════════════════════════════════════════════ */
    #footer-cta {
      background: var(--gold);
      padding: 56px 0;
    }
    #footer-cta h2 {
      font-size: clamp(1.6rem, 3vw, 2.2rem);
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 8px;
    }
    #footer-cta p {
      color: rgba(10,25,47,0.7);
      font-size: 0.95rem;
      margin: 0;
    }

    .btn-navy {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background-color: var(--navy);
      color: var(--white);
      font-family: var(--font-main);
      font-weight: 700;
      font-size: 0.875rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 14px 32px;
      border: 2px solid var(--navy);
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: var(--transition);
      white-space: nowrap;
    }
    .btn-navy:hover {
      background: transparent;
      color: var(--navy);
    }

    /* ════════════════════════════════════════════════════
       SITE FOOTER
    ════════════════════════════════════════════════════ */
    #site-footer {
      background: var(--navy-dark);
      padding: 72px 0 0;
    }

    .footer-brand strong {
      display: block;
      font-size: 1.1rem;
      font-weight: 800;
      color: var(--white);
      letter-spacing: 0.04em;
      margin-bottom: 4px;
    }
    .footer-brand span {
      font-size: 0.65rem;
      letter-spacing: 0.14em;
      color: var(--gold);
      text-transform: uppercase;
      font-weight: 600;
    }
    .footer-brand p {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.45);
      line-height: 1.7;
      margin-top: 16px;
      max-width: 280px;
    }

    .footer-heading {
      font-size: 0.65rem;
      font-weight: 800;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 18px;
    }

    .footer-links {
      list-style: none;
      padding: 0;
    }
    .footer-links li { margin-bottom: 10px; }
    .footer-links li a {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.5);
      transition: color 0.2s;
    }
    .footer-links li a:hover { color: var(--gold); }

    .footer-contact-item {
      display: flex;
      gap: 12px;
      margin-bottom: 16px;
    }
    .footer-contact-item i {
      color: var(--gold);
      font-size: 0.9rem;
      margin-top: 3px;
      flex-shrink: 0;
    }
    .footer-contact-item p {
      font-size: 0.82rem;
      color: rgba(255,255,255,0.5);
      line-height: 1.55;
      margin: 0;
    }

    .footer-bottom {
      margin-top: 56px;
      padding: 20px 0;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-bottom p {
      font-size: 0.72rem;
      color: rgba(255,255,255,0.3);
      line-height: 1.55;
      margin: 0;
    }
    .footer-bottom a {
      color: rgba(255,255,255,0.4);
      transition: color 0.2s;
    }
    .footer-bottom a:hover { color: var(--gold); }

    .footer-legal {
      font-size: 0.68rem;
      color: rgba(255,255,255,0.25);
      line-height: 1.6;
      margin-top: 8px;
    }


    
@media (max-width: 991px) {

  :root{
    --section-py: var(--section-py-sm);
  }

  /* ===== CONTENT ===== */

  .metrics-inner{
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-item:nth-child(2){
    border-right: none;
  }

  .metric-item:nth-child(3),
  .metric-item:nth-child(4){
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .metric-item:nth-child(4){
    border-right: none;
  }

  .portrait-frame{
    max-width: 100%;
  }

  .portrait-years{
    right: 16px;
  }

}


@media (max-width: 767px) {

  .metrics-inner{
    grid-template-columns: 1fr 1fr;
  }

  .hero-headline{
    font-size: clamp(1.9rem, 7vw, 2.6rem);
  }

  .hero-trust{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  #footer-cta .d-flex{
    flex-direction: column;
    gap: 20px;
  }

}


@media (max-width: 480px) {


  .metrics-inner{
    grid-template-columns: 1fr;
  }

  .metric-item{
    border-right: none;
    border-top: 1px solid rgba(255,255,255,0.06);
  }

  .metric-item:first-child{
    border-top: none;
  }

}


/* ===== GLOBAL MOBILE OVERFLOW FIX ===== */

html,
body{
  max-width: 100%;
  overflow-x: clip;
}




