/* ══════════════════════════════════════════════════════
   NOBSED ENGINEERING LIMITED — Shared Stylesheet
   Brand: Navy #0e1726 · Teal #16a3c6 · Slate accents (green & gold retired)
═══════════════════════════════════════════════════════ */

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

:root {
    /* ── Slate / Ink (refined, premium) ── */
  --navy:         #0e1726;
  --navy-dark:    #070c15;
  --navy-mid:     #1c2b44;
  --navy-light:   #e9edf3;
  --navy-pale:    #f4f6f9;
  --blue:         #16a3c6;
  --blue-dark:    #1187a6;
  --blue-mid:     #34bcdc;
  --blue-light:   #e2f5fa;

  /* ── Green remapped to slate (green retired) ── */
  --green:        #14202f;
  --green-dark:   #0b131d;
  --green-mid:    #1c2b44;
  --green-light:  #eef1f5;
  --green-pale:   #f5f7f9;

  /* ── Gold accent (signature) ── */
  --gold:         #16a3c6;
  --gold-dark:    #1187a6;
  --gold-light:   #e2f5fa;

  /* ── Neutrals ── */
  --charcoal:     #14181f;
  --charcoal-2:   #2d3748;
  --mid:          #515a66;
  --muted:        #8a93a0;
  --border:       #e6e8ec;
  --bg:           #f5f6f8;
  --white:        #ffffff;

  /* ── Shadows & radii ── */
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow:       0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.15);
  --shadow-xl:    0 24px 60px rgba(0,0,0,.20);
  --radius:       12px;
  --radius-lg:    18px;
  --radius-xl:    28px;
  --t:            all .2s ease;
  --t-slow:       all .4s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; max-width: 100%; }
body { font-family: 'Inter', sans-serif; color: var(--charcoal); background: var(--white); line-height: 1.6; overflow-x: hidden; max-width: 100%; }
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Prevent ANY element from causing horizontal scroll ── */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .section   { padding: 3rem 0; }
  /* Make sure grids/flex rows wrap and don't overflow */
  [class*="grid"], [class*="-grid"] { min-width: 0; }
  /* Marquee and wide strips stay contained */
  .marquee-outer, .marquee-track { max-width: 100vw; }
  /* Stats bars, process strips etc */
  .stats-bar, .process-strip, .footer-top { overflow: hidden; }
}

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.2; color: var(--charcoal); }
h1 { font-size: clamp(2rem,5vw,3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p  { color: var(--mid); line-height: 1.75; }

/* ── LAYOUT ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--charcoal); }

/* ── TAG / BADGE ── */
/* Eyebrow with a surveyor's crosshair marker */
.tag { display:inline-block; background:transparent; color:var(--blue); font-family:'Inter',sans-serif; font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; padding:0; margin-bottom:.85rem; }
.tag::before { content:''; display:inline-block; vertical-align:middle; width:13px; height:13px; margin:-3px .6rem 0 0; background:linear-gradient(var(--blue),var(--blue)) no-repeat center/100% 2px, linear-gradient(var(--blue),var(--blue)) no-repeat center/2px 100%; }
.tag-gold { color:var(--blue); }
/* Divider removed — kept as an invisible spacer to preserve heading rhythm */
.divider { display:block; height:0; border:0; background:none; margin:.2rem 0 1.25rem; }
.divider::before, .divider::after { display:none; }
h1 em, h2 em, h3 em { font-style:italic; color:var(--blue); }

/* ── BUTTONS ── */
.btn { display:inline-flex; align-items:center; gap:.5rem; font-family:'Inter',sans-serif; font-weight:600; font-size:.82rem; letter-spacing:.07em; text-transform:uppercase; padding:.9rem 2rem; border-radius:4px; transition:var(--t); cursor:pointer; }
.btn-primary { background:var(--navy); color:#fff; }
.btn-primary:hover { background:var(--navy-dark); transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,43,109,.35); }
.btn-gold { background:var(--gold); color:#fff; }
.btn-gold:hover { background:var(--gold-dark); transform:translateY(-2px); box-shadow:0 8px 24px rgba(22,163,198,.4); }
.btn-outline { background:transparent; color:var(--navy); border:2px solid var(--navy); }
.btn-outline:hover { background:var(--navy); color:#fff; }
.btn-white { background:#fff; color:var(--navy); }
.btn-white:hover { background:var(--navy-pale); }
.btn-white-outline { background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.55); }
.btn-white-outline:hover { background:rgba(255,255,255,.1); border-color:rgba(255,255,255,.85); }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(28px); transition:opacity .65s ease, transform .65s ease; }
.reveal.up { transform:translateY(28px); }
.reveal.left { transform:translateX(-28px); }
.reveal.right { transform:translateX(28px); }
.reveal.visible { opacity:1; transform:none; }
.d1 { transition-delay:.1s; }
.d2 { transition-delay:.2s; }
.d3 { transition-delay:.3s; }
.d4 { transition-delay:.4s; }
.d5 { transition-delay:.5s; }

/* ══════════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════════ */
/* ── Floating pill navbar ── */
#navbar { position:fixed; top:0; left:0; right:0; z-index:100; padding:1.1rem 1.5rem; transition:var(--t-slow); }
#navbar.scrolled { padding-top:.6rem; padding-bottom:.6rem; }

.nav-inner { display:flex; align-items:center; justify-content:space-between; max-width:1180px; margin:0 auto; padding:.55rem .55rem .55rem 1.6rem; background:rgba(255,255,255,.55); backdrop-filter:blur(20px) saturate(180%); -webkit-backdrop-filter:blur(20px) saturate(180%); border:1px solid rgba(255,255,255,.55); border-radius:100px; box-shadow:0 12px 40px rgba(14,23,38,.14); }
#navbar.scrolled .nav-inner { background:rgba(255,255,255,.78); box-shadow:0 8px 26px rgba(14,23,38,.16); }

/* Logo */
.nav-logo { display:flex; align-items:center; gap:.65rem; padding:.1rem .3rem; border-radius:var(--radius); transition:var(--t); }
.nav-logo-img { height:36px; width:auto; object-fit:contain; transition:filter .3s ease; }
.nav-logo-text { display:flex; flex-direction:column; }
.nav-logo-name { font-family:'Playfair Display',serif; font-size:1.02rem; font-weight:800; letter-spacing:-.01em; color:var(--navy); line-height:1.05; transition:var(--t); }
.nav-logo-sub { font-size:.6rem; font-weight:500; color:var(--muted); letter-spacing:.09em; text-transform:uppercase; }

/* Links */
.nav-links { display:flex; align-items:center; gap:2.1rem; }
.nav-link { font-family:'Inter',sans-serif; font-size:.88rem; font-weight:600; color:var(--navy); transition:var(--t); position:relative; }
.nav-link::after { content:''; position:absolute; bottom:-5px; left:0; right:0; height:2px; background:var(--blue); border-radius:2px; transform:scaleX(0); transition:var(--t); }
.nav-link:hover { color:var(--blue); }
.nav-link:hover::after, .nav-link.active::after { transform:scaleX(1); }
.nav-link.active { color:var(--blue); }

/* CTA pill with circular icon */
.nav-cta { display:inline-flex; align-items:center; gap:.7rem; font-family:'Inter',sans-serif; font-size:.85rem; font-weight:600; background:var(--blue); color:#fff; padding:.45rem .45rem .45rem 1.3rem; border-radius:100px; transition:var(--t); }
.nav-cta:hover { background:var(--blue-dark); }
.nav-cta .cta-ico { display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border-radius:50%; background:#fff; flex-shrink:0; transition:var(--t); }
.nav-cta .cta-ico svg { width:15px; height:15px; stroke:var(--blue); fill:none; stroke-width:2.3; }
.nav-cta:hover .cta-ico { transform:rotate(45deg); }

/* Hamburger */
.hamburger { display:none; flex-direction:column; gap:5px; cursor:pointer; padding:.5rem; }
.hamburger span { display:block; width:24px; height:2px; background:var(--navy); border-radius:2px; transition:var(--t); }

/* Mobile nav */
.mobile-nav { display:none; position:fixed; inset:0; z-index:300; flex-direction:column; padding:1.6rem 1.75rem 2.25rem; opacity:0; transition:opacity .3s ease; background:radial-gradient(125% 80% at 100% 0%, var(--navy-mid), var(--navy) 62%); }
.mobile-nav::before { content:''; position:absolute; inset:0; background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size:44px 44px; pointer-events:none; }
.mobile-nav.open { display:flex; opacity:1; }
.mobile-nav > * { position:relative; z-index:1; }
.mobile-nav-logo { position:static; display:flex; align-items:center; gap:.7rem; margin-bottom:2.25rem; }
.mobile-nav-logo img { height:40px; width:auto; object-fit:contain; }
.mobile-nav-logo span { font-family:'Playfair Display',serif; font-size:1rem; font-weight:700; color:#fff; }
.mobile-nav-close { position:absolute; top:1.5rem; right:1.5rem; width:44px; height:44px; border-radius:50%; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; color:#fff; font-size:1.6rem; line-height:1; cursor:pointer; transition:var(--t); }
.mobile-nav-close:hover { background:var(--blue); border-color:var(--blue); }
.mobile-nav a:not(.btn) { display:flex; align-items:center; justify-content:space-between; font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:600; color:#fff; padding:1.05rem .15rem; border-bottom:1px solid rgba(255,255,255,.1); transition:var(--t); }
.mobile-nav a:not(.btn)::after { content:'→'; font-family:'Inter',sans-serif; font-size:1.05rem; color:var(--blue); opacity:0; transform:translateX(-8px); transition:var(--t); }
.mobile-nav a:not(.btn):hover, .mobile-nav a.active { color:var(--blue-mid); padding-left:.55rem; }
.mobile-nav a:not(.btn):hover::after, .mobile-nav a.active::after { opacity:1; transform:none; }
.mobile-nav .btn { margin-top:auto !important; justify-content:center; width:100%; padding:1rem; font-size:.95rem; }
.mobile-nav .btn-gold { background:var(--blue); color:#fff; }
.mobile-nav .btn-gold:hover { background:var(--blue-dark); }

/* ══════════════════════════════════════════════════════
   PAGE HERO BANNER (inner pages)
═══════════════════════════════════════════════════════ */
.page-hero { position:relative; height:340px; display:flex; align-items:center; overflow:hidden; }
.page-hero-bg { position:absolute; inset:0; background-size:cover; background-position:center; }
.page-hero-overlay { position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,8,28,.65) 0%, rgba(0,8,28,.90) 100%); }
.page-hero-content { position:relative; z-index:2; padding-top:5rem; max-width:100%; overflow:hidden; }
/* Page hero label — clean sans-pill style */
.page-hero-content .tag {
  background: none;
  border: none;
  border-left: 3px solid var(--blue);
  padding: .15rem 0 .15rem .75rem;
  border-radius: 0;
  color: var(--blue-mid);
  font-size: .72rem;
  letter-spacing: .14em;
}
.page-hero-content h1 { color:#fff; margin-bottom:.75rem; }
.page-hero-content p { color:rgba(255,255,255,.75); max-width:55ch; font-size:1rem; }
.breadcrumb { display:flex; align-items:center; gap:.5rem; margin-top:1rem; }
.breadcrumb a, .breadcrumb span { font-family:'Inter',sans-serif; font-size:.8rem; color:rgba(255,255,255,.5); transition:var(--t); }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb-sep { color:rgba(255,255,255,.3); }
.breadcrumb .current { color:var(--gold); }

/* ══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer { background:var(--charcoal); color:rgba(255,255,255,.7); padding:4rem 0 0; }
.footer-top { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:3rem; margin-bottom:3rem; }

.footer-brand .nav-logo { margin-bottom:1.25rem; }
.footer-brand .nav-logo-name { color:#fff !important; font-size:.95rem; }
.footer-brand .nav-logo-sub { color:rgba(255,255,255,.55) !important; }
.footer-brand p { font-size:.84rem; color:rgba(255,255,255,.55); line-height:1.85; max-width:28ch; margin-bottom:1.5rem; }

.footer-social { display:flex; gap:.75rem; }
.social-btn { width:38px; height:38px; border-radius:8px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.12); transition:var(--t); cursor:pointer; }
.social-btn:hover { background:var(--green); border-color:var(--green); transform:translateY(-2px); }
.social-btn svg { width:17px; height:17px; fill:rgba(255,255,255,.7); }
.social-btn:hover svg { fill:#fff; }

.footer-col h5 { font-family:'Inter',sans-serif; font-size:.88rem; font-weight:700; color:#fff; margin-bottom:1.25rem; padding-bottom:.5rem; border-bottom:2px solid var(--gold); display:inline-block; }
.footer-col ul { display:flex; flex-direction:column; gap:.65rem; }
.footer-col li a { font-size:.83rem; color:rgba(255,255,255,.55); transition:var(--t); display:flex; align-items:center; gap:.4rem; }
.footer-col li a:hover { color:var(--gold); padding-left:.3rem; }
.footer-col li a::before { content:''; width:4px; height:4px; border-radius:50%; background:var(--green); flex-shrink:0; opacity:.6; }

.footer-contact-item { display:flex; align-items:flex-start; gap:.75rem; margin-bottom:1rem; }
.footer-contact-item svg { width:16px; height:16px; fill:var(--gold); flex-shrink:0; margin-top:.25rem; }
.footer-contact-item span { font-size:.82rem; color:rgba(255,255,255,.55); line-height:1.6; }
.footer-contact-item a { color:rgba(255,255,255,.55); transition:var(--t); font-size:.82rem; }
.footer-contact-item a:hover { color:var(--gold); }

.footer-bottom { border-top:1px solid rgba(255,255,255,.07); padding:1.5rem 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-size:.78rem; color:rgba(255,255,255,.35); }
.footer-bottom-links { display:flex; gap:1.5rem; }
.footer-bottom-links a { font-size:.78rem; color:rgba(255,255,255,.35); transition:var(--t); }
.footer-bottom-links a:hover { color:rgba(255,255,255,.75); }
.footer-accent-bar { width:100%; height:4px; background:linear-gradient(to right, var(--navy), var(--blue)); margin-bottom:3.5rem; }

/* ══════════════════════════════════════════════════════
   SHARED COMPONENTS
═══════════════════════════════════════════════════════ */
/* Stats bar */
.stats-bar { display:grid; grid-template-columns:repeat(4,1fr); gap:0; background:var(--navy); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xl); }
.stat-item { padding:1.75rem 1.5rem; text-align:center; border-right:1px solid rgba(255,255,255,.12); }
.stat-item:last-child { border-right:none; }
.stat-num { font-family:'Inter',sans-serif; font-size:2.2rem; font-weight:800; color:#fff; line-height:1; }
.stat-plus { color:var(--gold); }
.stat-label { font-size:.78rem; color:rgba(255,255,255,.7); margin-top:.35rem; letter-spacing:.04em; }

/* Section header */
.sh { margin-bottom:3rem; }
.sh.center { text-align:center; }
.sh.center .divider { margin:0 auto 1.5rem; }
.sh.center p { margin:0 auto; max-width:60ch; }
.sh h2 { margin-bottom:.5rem; }
.sh p { max-width:60ch; }

/* Cards */
.card { background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); overflow:hidden; transition:var(--t-slow); }
.card:hover { box-shadow:var(--shadow-lg); transform:translateY(-4px); }

/* Form elements */
.form-group { display:flex; flex-direction:column; gap:.4rem; margin-bottom:1.25rem; }
.form-group label { font-family:'Inter',sans-serif; font-size:.82rem; font-weight:600; color:var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  width:100%; padding:.8rem 1rem; border:1.5px solid var(--border);
  border-radius:var(--radius); font-family:'Inter',sans-serif;
  font-size:.9rem; color:var(--charcoal); background:#fff;
  transition:var(--t); outline:none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color:var(--green); box-shadow:0 0 0 3px rgba(22,163,198,.1);
}
.form-group textarea { resize:vertical; min-height:130px; }
.form-group select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5568' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 1rem center; }

/* Floating contact widget (free, native — Call / WhatsApp / SMS / Inquire) */
.fab-contact { position:fixed; bottom:1.75rem; right:1.75rem; z-index:200; display:flex; flex-direction:column; align-items:flex-end; gap:.85rem; }
.fab-menu { display:flex; flex-direction:column; gap:.85rem; opacity:0; transform:translateY(14px) scale(.96); transform-origin:bottom right; pointer-events:none; transition:opacity .28s ease, transform .28s ease; }
.fab-contact.open .fab-menu { opacity:1; transform:none; pointer-events:auto; }
.fab-item { display:flex; align-items:center; gap:.75rem; text-decoration:none; justify-content:flex-end; }
.fab-label { background:#fff; color:var(--navy); font-family:'Inter',sans-serif; font-size:.84rem; font-weight:600; padding:.5rem .9rem; border-radius:9px; box-shadow:0 4px 16px rgba(0,0,0,.14); white-space:nowrap; }
.fab-ic { width:46px; height:46px; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(0,0,0,.22); flex-shrink:0; transition:transform .2s ease; }
.fab-item:hover .fab-ic { transform:scale(1.1); }
.fab-ic svg { width:22px; height:22px; fill:#fff; }
.fab-ic.call { background:var(--blue); }
.fab-ic.wa   { background:#25d366; }
.fab-ic.sms  { background:var(--navy); }
.fab-ic.inq  { background:var(--blue-mid); }
.fab-toggle { width:60px; height:60px; border-radius:50%; background:var(--blue); border:none; cursor:pointer; box-shadow:0 6px 22px rgba(22,163,198,.5); display:flex; align-items:center; justify-content:center; transition:transform .25s ease, background .25s ease; align-self:flex-end; animation:waPulse 2.6s ease infinite; }
.fab-toggle:hover { background:var(--blue-dark); transform:scale(1.06); }
.fab-toggle svg { width:27px; height:27px; fill:#fff; transition:transform .3s ease; }
.fab-icon-x { display:none; }
.fab-contact.open .fab-icon-chat { display:none; }
.fab-contact.open .fab-icon-x { display:block; }
.fab-contact.open .fab-toggle { animation:none; }
@keyframes waPulse { 0%,100%{box-shadow:0 6px 22px rgba(22,163,198,.45)} 50%{box-shadow:0 6px 30px rgba(22,163,198,.75)} }

/* ══════════════════════════════════════════════════════
   CLIENT MARQUEE
═══════════════════════════════════════════════════════ */
.marquee-outer { overflow:hidden; position:relative; padding:1.5rem 0; }
.marquee-outer::before,
.marquee-outer::after { content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none; }
.marquee-outer::before { left:0; background:linear-gradient(to right, var(--bg), transparent); }
.marquee-outer::after  { right:0; background:linear-gradient(to left,  var(--bg), transparent); }
.marquee-track { display:flex; gap:1.5rem; width:max-content; animation:marqueeScroll 32s linear infinite; }
.marquee-track:hover { animation-play-state:paused; }
@keyframes marqueeScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.client-logo-card {
  flex-shrink:0;
  background:#fff;
  border:1.5px solid var(--border);
  border-radius:var(--radius-lg);
  padding:1.4rem 2rem;
  min-width:190px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  cursor:pointer;
  filter:grayscale(1) opacity(.65);
  transition:all .35s ease;
  text-decoration:none;
  position:relative;
}
.client-logo-card:hover {
  filter:grayscale(0) opacity(1);
  border-color:var(--navy);
  box-shadow:var(--shadow-lg);
  transform:translateY(-4px);
}
.client-logo-card .clc-name {
  font-family:'Inter',sans-serif;
  font-size:.88rem;
  font-weight:800;
  color:var(--navy);
  text-align:center;
  line-height:1.2;
  letter-spacing:-.01em;
}
.client-logo-card .clc-sub {
  font-family:'Inter',sans-serif;
  font-size:.68rem;
  font-weight:500;
  color:var(--muted);
  text-align:center;
  line-height:1.35;
}
.client-logo-card .clc-badge {
  display:inline-block;
  background:var(--navy);
  color:#fff;
  font-family:'Inter',sans-serif;
  font-size:.6rem;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
  padding:.2rem .65rem;
  border-radius:100px;
  margin-top:.2rem;
}
.client-logo-card .clc-badge-gold {
  background:var(--gold);
}
.client-logo-card .clc-badge-blue {
  background:var(--blue);
}
.client-logo-card .clc-icon {
  width:46px;
  height:46px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:.35rem;
  font-family:'Inter',sans-serif;
  font-size:1.1rem;
  font-weight:900;
  color:#fff;
  letter-spacing:-.03em;
}

/* ══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media(max-width:1024px) {
  .footer-top { grid-template-columns:1fr 1fr; gap:2rem; }
  .stats-bar { grid-template-columns:repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right:none; }
}
@media(max-width:768px) {
  .section { padding:3.5rem 0; }
  .nav-links, .nav-cta { display:none; }
  .hamburger { display:flex; }
  .footer-top { grid-template-columns:1fr; gap:2rem; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .stats-bar { grid-template-columns:1fr 1fr; }

  /* Hide the in-hero stats on mobile — stats bar below handles it */
  .hero-stats { display:none; }

  /* Remove negative translateY that pulls stats bar into hero on mobile */
  .stats-bar-wrap { transform:none !important; padding-top:1.5rem !important; }

  /* Make sure grids stack properly instead of clipping */
  .form-row-2,
  .about-strip,
  .contact-layout,
  .pillars-row,
  .projects-grid { grid-template-columns:1fr !important; }

  /* Services section headers */
  .svc-section-header { flex-direction:column; align-items:flex-start; gap:.75rem; }

  /* Process steps scroll horizontally with visible scroll indicator instead of clipping */
  .process-steps { overflow-x:auto; padding-bottom:1rem; scroll-snap-type:x mandatory; -webkit-overflow-scrolling:touch; }
  .process-step  { scroll-snap-align:start; min-width:200px; }
}
@media(max-width:480px) {
  .stats-bar { grid-template-columns:1fr 1fr; }
  .stat-item { padding:1.25rem 1rem; }
  .stat-num { font-size:1.75rem; }

  /* Service big grid and intro: single column */
  .svc-big-grid { grid-template-columns:1fr !important; }
  .svc-intro-grid { grid-template-columns:1fr !important; }

  /* Client marquee cards narrower on small screens */
  .client-logo-card { min-width:140px; padding:.75rem 1rem; }

  /* Footer columns stack */
  .footer-col h5 { margin-top:1.25rem; }
}
@media(prefers-reduced-motion:reduce) {
  .reveal, .fab-toggle { animation:none; transition:none; }
  * { transition:none!important; }
}

/* Teal primary button (rebrand) */
.btn-teal{background:var(--blue);color:#fff}
.btn-teal:hover{background:var(--blue-dark);transform:translateY(-2px);box-shadow:0 8px 24px rgba(22,163,198,.4)}
.btn-teal svg{fill:none;stroke:#fff}
