:root{
  --scs-green:#11A85D;
  --scs-orange:#FF7A00;
  --scs-blue:#1E88E5;
  --scs-dark:#0A0F1A;
  --scs-light:#F4F7FB;
}

/* Global immersive background on ALL pages */
html, body{min-height:100%;}
body{
  position:relative;
  color:#0f172a;
}

/* Layer 1: crisp photo with gentle contrast pop */
body::before{
  content:"";
  position:fixed; inset:0;
  background: url('../img/scs-bg.webp') center/cover no-repeat fixed;
  filter: contrast(1.08) saturate(1.06) brightness(1.02);
  transform: translateZ(0);
  z-index:-2;
}

/* Layer 2: ultra-light polish (keeps content readable while keeping the image clear) */
body::after{
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(1400px 900px at 70% 30%, rgba(30,136,229,0.18), transparent 60%),
    linear-gradient(to bottom, rgba(10,15,26,0.10), rgba(10,15,26,0.30));
  z-index:-1;
  pointer-events:none;
}

/* Optional subtle grid for a techy feel (very faint) */
.scs-grid::before{
  content:"";
  position:fixed; inset:0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 80px);
  z-index:-1;
  pointer-events:none;
}

/* Glassy header/nav */
.scs-glass{
  background: rgba(10,15,26,0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border:1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  color:#EAF2FF;
}
header, nav{ position: sticky; top:0; z-index:30; }
header.scs-glass, nav.scs-glass{ margin:.75rem auto; width:min(1200px,96%); padding:.6rem 1rem; }

/* Content surface helpers – add class 'scs-surface' to important sections if needed */
.scs-surface{
  background: rgba(255,255,255,0.60);
  border:1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

/* Hero keeps the image visible—reduced darkening */
.scs-hero{
  position:relative;
  min-height:70vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:white;
}
.scs-hero::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(1200px 800px at 70% 30%, rgba(30,136,229,0.28), rgba(10,15,26,0.45));
  pointer-events:none;
}
.scs-hero .scs-hero-inner{ position:relative; z-index:2; padding:2rem; max-width:1100px; }
.scs-title{ font-size: clamp(2rem, 3.5vw, 3.5rem); line-height:1.1; margin:0 0 .75rem; }
.scs-kicker{ text-transform:uppercase; letter-spacing:.15em; font-weight:800; color:#CFE4FF; font-size:.85rem; }
.scs-sub{ font-size: clamp(1rem, 1.5vw, 1.25rem); color:#E6F0FF; max-width: 900px; margin: 0 auto 1.5rem; }

/* Buttons / cards */
.scs-card{
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.20);
  color: #F7FBFF;
}
.scs-btn{
  display:inline-block;
  padding: .9rem 1.25rem;
  border-radius: 12px;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.3px;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  box-shadow: 0 10px 24px rgba(30,136,229,0.25);
}
.scs-btn.primary{
  background: linear-gradient(90deg, var(--scs-blue), var(--scs-green));
  color:white;
}
.scs-btn.secondary{
  background: rgba(255,255,255,0.12);
  color: white;
  border:1px solid rgba(255,255,255,0.2);
}
.scs-btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 28px rgba(30,136,229,0.32); }

.scs-badges{ margin-top:1.25rem; display:flex; gap:.75rem; justify-content:center; flex-wrap:wrap; }
.scs-badge{
  padding:.4rem .7rem; border-radius:999px; font-size:.85rem; font-weight:600;
  background: rgba(30,136,229,0.18); border:1px solid rgba(30,136,229,0.28); color:#EEF6FF;
}

/* Utility containers */
.scs-section{ padding: 4rem 1rem; }
.scs-container{ width:min(1200px, 92%); margin-inline:auto; }

/* ===== Refinements: full-bleed hero, crisp copy, compact footer (Nested CSS) ===== */
.full-bleed{
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.scs-hero{
  position:relative;
  min-height:72vh;
  display:flex; align-items:center; justify-content:center;
  text-align:center; color:#ffffff;
  background: url('../img/scs-bg.webp') center/cover no-repeat fixed;
}
.scs-hero::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(to bottom, rgba(10,15,26,0.18), rgba(10,15,26,0.45));
  pointer-events:none;
}
.scs-hero .scs-hero-inner{ position:relative; z-index:2; padding:2rem; max-width:1100px; }

.scs-title{ font-weight:800; letter-spacing:.2px; font-size: clamp(2.2rem, 3.8vw, 3.6rem); line-height:1.1; }
.scs-sub{ font-size: clamp(1.075rem, 1.7vw, 1.25rem); line-height:1.55; color:#EAF2FF; max-width:940px; margin: 0 auto 1.25rem; }

.scs-btn{ font-size:1rem; }

/* Compact footer overrides with !important */
footer, .site-footer, .footer, #footer{
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  margin-top: 0 !important;
}
footer *{ line-height: 1.25 !important; }
footer p, .site-footer p, .footer p{ margin:6px 0 !important; }
.footer-spacer, .footer-space, .footer-gap{ height:0 !important; margin:0 !important; padding:0 !important; }

/* === High-specificity overrides to beat styles.css === */
.scs-hero .scs-title,
h1.scs-title{
  font-weight: 800;
  letter-spacing: .2px;
  font-size: clamp(2.4rem, 3.9vw, 3.8rem);
  line-height: 1.1;
}
.scs-hero .scs-sub,
p.scs-sub{
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: #EAF2FF;
  max-width: 960px;
  margin: 0 auto 1.25rem;
}

/* Ensure hero image fully covers width and overrides any default hero bg */
body .scs-hero.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: url('../img/scs-bg.webp') center/cover no-repeat fixed !important;
}
/* For any legacy .hero sections that are the masthead */
body .hero.full-bleed{
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: url('../img/scs-bg.webp') center/cover no-repeat fixed !important;
}

/* Footer compaction – target inner grid and footnote as well */
footer .footer-grid{ padding: 10px 0 !important; }
footer .footnote{ padding: 6px 0 !important; margin-top: 6px !important; }
footer .footer-logo{ height: 28px !important; }
footer p, footer li, footer a, footer small{ line-height: 1.25 !important; }

/* === Spacing fixes: remove gap above footer & crop footer === */
footer, .site-footer, .footer, #footer{ margin-top: 0 !important; }
footer .footer-grid{ padding: 8px 0 !important; gap: 12px !important; }
footer .footnote{ padding: 6px 0 !important; margin: 0 !important; }
footer .footer-logo{ height: 26px !important; }
footer p, footer li, footer a, footer small{ line-height: 1.22 !important; }

/* Last content block should not leave extra white space */
main > section:last-of-type,
main > .section:last-of-type,
main > div:last-of-type{ margin-bottom: 0 !important; padding-bottom: 16px !important; }

/* Neutralize any generic big block before footer */
.pre-footer, .prefooter, .pre-footer-gap, .footer-space, .footer-gap{
  display:none !important; height:0 !important; margin:0 !important; padding:0 !important;
}

/* Common logo/partner grids: trim bottom margin */
.partners, .partners-grid, .logos, .logo-strip{ margin-bottom: 8px !important; }

/* Compact lists inside partner cards */
.partner.card ul.compact{ margin:0; padding-left:1.1rem; }
.partner.card ul.compact li{ margin:.25rem 0; }

/* ===== Global typography override: all headings/body text white ===== */
html, body { color: #FFFFFF !important; }
h1, h2, h3, h4, h5, h6 { color: #FFFFFF !important; font-weight: 800 !important; }
p, li, a, span, small, strong, em, blockquote, dd, dt { color: #FFFFFF !important; }
a:hover, a:focus { text-decoration: underline; }

/* Slim top bar */
.scs-topbar{
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,15,26,0.65);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 6px 0;
}
.scs-btn.small{ padding: .55rem .9rem; font-size: .95rem; border-radius: 999px; }

/* Bottom spacing trim for last content block */
main > section:last-of-type,
main > .section:last-of-type,
main > div:last-of-type{ margin-bottom: 0 !important; padding-bottom: 16px !important; }

/* === Global typography override (strong specificity) === */
html, body, body * { color: #FFFFFF !important; }
h1, h2, h3, h4, h5, h6 { color: #FFFFFF !important; font-weight: 800 !important; }
p, li, a, span, small, strong, em, blockquote, dd, dt { color: #FFFFFF !important; }
nav *, header * { color: #FFFFFF !important; }

/* === Bottom spacing trim & footer crop === */
footer, .site-footer, .footer, #footer{ margin-top: 0 !important; }
footer .footer-grid{ padding: 8px 0 !important; gap: 12px !important; }
footer .footnote{ padding: 6px 0 !important; margin: 0 !important; }
footer .footer-logo{ height: 26px !important; }
footer p, footer li, footer a, footer small{ line-height: 1.22 !important; }
main > section:last-of-type,
main > .section:last-of-type,
main > div:last-of-type{ margin-bottom: 0 !important; padding-bottom: 16px !important; }
.pre-footer, .prefooter, .pre-footer-gap, .footer-space, .footer-gap{
  display:none !important; height:0 !important; margin:0 !important; padding:0 !important;
}

/* === Remove "white cloudy banner" overlays and tints === */
body::after{ background: none !important; }
.hero{ background: none !important; }
.hero::before, .hero::after{ background: none !important; display: none !important; }
.hero-art .glass-card{ background: rgba(0,0,0,0.25) !important; border-color: rgba(255,255,255,0.12) !important; }
.section.alt{ background: transparent !important; }
.scs-surface{ background: rgba(0,0,0,0.25) !important; border-color: rgba(255,255,255,0.10) !important; }

/* === Fixed Google Map directly beneath footer === */
.scs-map-wrap{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#000;
}
.scs-map{
  width:100%;
  height:260px; /* adjust if you want */
  border:0;
  pointer-events:none; /* lock map to prevent panning/zooming */
  filter: saturate(0.9) contrast(1.05);
}
.scs-map-links{
  text-align:center;
  padding:8px 0 14px;
}
.scs-map-links a{
  margin:0 12px;
  font-weight:800;
  text-decoration:none;
}
.scs-map-links a:hover{ text-decoration:underline; }

/* === Footer map links only (no iframe) === */
.scs-foot-links{
  text-align:center;
  padding: 8px 0 14px;
}
.scs-foot-links .scs-btn{ margin: 0 8px; }