/* =========================================================
   TUSK RENEWABLE ENERGY — CLEAN MASTER STYLESHEET
   (No duplicate overrides / no broken sections)
   ========================================================= */

/* ============== THEME ============== */
:root{
    color-scheme: dark;
  --bg:#020617;
  --bg-alt:#050b1e;
  --bg-contrast:#050816;

  --card:#0b1220;
  --border:rgba(148,163,184,.28);

  --accent:#bbff33;   /* neon lime */
  --accent2:#2dd4ff;  /* cyan */

  --text:#e5e7eb;
  --muted:#9ca3af;

  --radius-xl:22px;
  --radius-lg:16px;

  --shadow-soft:0 18px 45px rgba(15,23,42,.85);
  --shadow-glow:0 0 34px rgba(190,242,100,.45);

  --font-heading:"Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:"Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}
:root{
  --max: 1120px;
  --pad: clamp(16px, 2.2vw, 26px);
  --gap: clamp(14px, 2vw, 22px);

  --h1: clamp(2.2rem, 4.2vw, 3.8rem);
  --h2: clamp(1.8rem, 3vw, 2.6rem);
  --h3: clamp(1.1rem, 1.5vw, 1.35rem);

  --text-1: #e8eef8;
  --text-2: #aebad1;

  --glass: rgba(10, 18, 40, 0.45);
  --glass-border: rgba(148,163,184,.28);
}

.container{ max-width: var(--max); padding: 0 var(--pad); }
.section{ padding: clamp(56px, 7vw, 92px) 0; }
.grid{ gap: var(--gap); }

body{ color: var(--text-1); }
p{ color: var(--text-2); }
.section-header h2{ font-size: var(--h2); }


/* ============== RESET ============== */
*,
*::before,
*::after{ box-sizing:border-box; }

html,body{
  margin:0;
  padding:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.65;
  scroll-behavior:smooth;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}


img{ max-width:100%; display:block; }
a{ color:inherit; }

/* ============== LAYOUT ============== */
.container{
  width:100%;
  max-width:1120px;
  margin:0 auto;
  padding:0 1.6rem;
}

.section{ padding:4.5rem 0; }

.section-contrast{
  background: radial-gradient(circle at top left, #020617 0, #020617 42%, #050816 100%);
}

.grid{ display:grid; gap:1.4rem; }
.grid-3{ grid-template-columns:repeat(3, minmax(0,1fr)); }

@media (max-width:880px){
  .grid-3{ grid-template-columns:minmax(0,1fr); }
}

/* ============== TYPOGRAPHY ============== */
h1,h2,h3,h4,h5,h6{
  font-family:var(--font-heading);
  font-weight:700;
  letter-spacing:-0.02em;
  margin:0;
}

p{ margin:0; color:#b9c3d9; }

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.13em;
  font-size:.75rem;
  color:var(--accent2);
  margin:0 0 .4rem;
}

.section-header{
  max-width:720px;
  margin:0 auto 2.8rem;
  text-align:center;
}
.section-header h2{
  font-size:2.2rem;
  line-height:1.1;
  margin:0 0 .7rem;

  background:linear-gradient(90deg,var(--accent),var(--accent2));
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;

  text-shadow:0 0 18px rgba(190,242,100,.30);
}
.section-header p{ color:#93a7c5; }

/* ============== HEADER ============== */
.site-header{
  position:fixed;
  top:0;
  z-index:50;
  width:100%;
  backdrop-filter:blur(16px);
  background:linear-gradient(
    to bottom,
    rgba(2,6,23,.92),
    rgba(2,6,23,.82),
    transparent
  );
  border-bottom:1px solid rgba(148,163,184,.27);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.8rem 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:.8rem;
}

/* ✅ CLEAN LOGO (no glass pill) */
.logo-image{ background:none; border:none; box-shadow:none; }
.logo-image img{
  height:52px;          /* bigger */
  width:auto;
  object-fit:contain;
  background:none;

  /* makes dark logo readable without changing logo color */
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,.75))
    drop-shadow(0 0 14px rgba(190,242,100,.28))
    brightness(1.18) contrast(1.12);
}

@media (max-width:768px){
  .logo-image img{ height:44px; }
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.logo-title{
  font-family:var(--font-heading);
  font-weight:800;
  letter-spacing:.12em;
  font-size:.95rem;
}
.logo-tagline{
  font-size:.72rem;
  color:var(--muted);
}

.nav{
  display:flex;
  align-items:center;
  gap:1rem;
  font-size:.9rem;
}

.nav-link{
  position:relative;
  text-decoration:none;
  color:var(--muted);
  padding:.3rem .6rem;
  border-radius:999px;
  transition:color .18s ease, background .18s ease;
}

.nav-link::after{
  content:"";
  position:absolute;
  left:.7rem; right:.7rem;
  bottom:.12rem;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  opacity:0;
  transform:scaleX(.3);
  transition:opacity .18s ease, transform .18s ease;
}

.nav-link:hover{ color:#f9fafb; }
.nav-link:hover::after{ opacity:1; transform:scaleX(1); }

.nav-link-active{ color:#f9fafb; }
.nav-link-active::after{ opacity:1; transform:scaleX(1); }

.nav-cta{
  border-radius:999px;
  border:1px solid rgba(190,242,100,.7);
  background:radial-gradient(circle at top left, var(--accent), #22c55e);
  color:#020617 !important;
  font-weight:800;
  padding:.35rem .9rem;
  box-shadow:var(--shadow-glow);
}

@media (max-width:880px){
  .nav{ display:none; }
}

/* ============== BUTTONS ============== */
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem 1.25rem;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.35);
  background:rgba(15,23,42,.90);
  color:var(--text);
  font-size:.9rem;
  font-weight:600;
  font-family:var(--font-heading);
  text-decoration:none;
  cursor:pointer;
  transition:transform .12s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.btn:hover{
  background:rgba(15,23,42,1);
  border-color:rgba(148,163,184,.7);
  transform:translateY(-1px);
}

.btn::after{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius:inherit;
  background:
    radial-gradient(circle at 30% 10%, rgba(187,255,51,.28), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(45,212,255,.18), transparent 60%);
  opacity:0;
  transition:opacity .18s ease;
  pointer-events:none;
}
.btn:hover::after{ opacity:1; }

.btn-full{ width:100%; }

.btn-primary{
  background:radial-gradient(circle at top left,var(--accent),var(--accent2));
  border-color:transparent;
  color:#020617;
  box-shadow:var(--shadow-glow);
}
.btn, .intro-btn {
  transition: transform 0.18s ease, filter 0.18s ease;
}

.btn:hover, .intro-btn:hover {
  filter: brightness(1.06);
}


/* ============== HERO ============== */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  padding-top:4.5rem;
  color:#f9fafb;

  background-image:
    linear-gradient(to bottom, rgba(2,6,23,.50), rgba(2,6,23,.92)),
    url("https://images.pexels.com/photos/14883264/pexels-photo-14883264.jpeg?auto=compress&cs=tinysrgb&w=1600");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.hero-overlay{
  position:absolute; inset:0;
  background:radial-gradient(circle at top, rgba(0,0,0,.35), rgba(0,0,0,.78));
}
.hero-inner{ position:relative; z-index:1; }
.hero-content{ max-width:820px; padding:3.2rem 0 2.5rem; }

.hero-heading{
  font-size:clamp(2.7rem, 4.2vw, 4rem);
  line-height:1.05;
  margin:0 0 .8rem;

  background:linear-gradient(90deg,var(--accent),var(--accent2));
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  text-shadow:0 0 18px rgba(190,242,100,.25);
}

.hero-subtitle{
  color:#e5e7eb;
  max-width:560px;
  font-size:1.02rem;
  margin:0 0 1.7rem;
}

.hero-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:.9rem;
  margin:0 0 1.5rem;
}

.hero-stats{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:1rem;
  max-width:760px;
}

.hero-stat-card{
  border-radius:999px;
  border:1px solid rgba(148,163,184,.5);
  background:rgba(15,23,42,.82);
  padding:.8rem .9rem;
  text-align:center;
  backdrop-filter:blur(8px);
}
.hero-stat-number{
  display:block;
  font-size:1.4rem;
  font-weight:800;
  color:var(--accent);
}
.hero-stat-label{
  display:block;
  font-size:.8rem;
  color:var(--muted);
}

@media (max-width:880px){
  .hero-stats{ grid-template-columns:repeat(2,minmax(0,1fr)); }
}
/* make sure hero is the positioning context */
#hero {
  position: relative;
  overflow: visible;
}

/* Energy peel glow */
#hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -70px;
  height: 220px;
  pointer-events: none;
  z-index: 5; /* above overlay */


  background:
    radial-gradient(140% 120% at 50% 0%,
      rgba(187,255,51,0.22),
      rgba(45,212,255,0.12) 42%,
      rgba(2,6,23,0) 72%),
    radial-gradient(120% 90% at 35% 30%,
      rgba(187,255,51,0.22),
      rgba(2,6,23,0) 60%);

  border-radius: 50%;
  opacity: 1;
  filter: blur(18px);
}

/* Scanline */
#hero .hero-energy-scan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  z-index: 6; /* above glow */
  pointer-events: none;


  background: linear-gradient(
    90deg,
    transparent,
    rgba(248,250,252,0.55),
    rgba(187,255,51,0.65),
    rgba(45,212,255,0.55),
    transparent
  );

  opacity: 0.7;
  animation: heroScan 2.4s linear infinite;
}

@keyframes heroScan {
  0%   { transform: translateX(-40%); }
  100% { transform: translateX(40%); }
}

/* ===========================
   HERO → SECTION TRANSITION
   =========================== */

/* We control this with JS (0 → 1) */
:root {
  --hero-progress: 0;
}

/* Make sure hero can host the effect */
#hero.hero {
  position: relative;
  overflow: hidden;
}

/* Energy spill at the bottom of the hero */
#hero.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  z-index: 2;

  /* neon + deep fade */
  background:
    radial-gradient(circle at 50% 0%,
      rgba(187,255,51,0.35),
      rgba(45,212,255,0.18) 45%,
      rgba(2,6,23,0.0) 72%),
    linear-gradient(to bottom,
      rgba(2,6,23,0.0),
      rgba(2,6,23,0.85));

  /* it “powers on” as you scroll */
  opacity: calc(0.15 + (var(--hero-progress) * 0.95));
  transform: translateY(calc(28px * (1 - var(--hero-progress))));
  filter: blur(calc(10px * (1 - var(--hero-progress))));
  transition: opacity 0.08s linear, transform 0.08s linear, filter 0.08s linear;
}

/* Fade/blur the hero slightly as you scroll down */
#hero .hero-overlay {
  opacity: calc(0.55 + (var(--hero-progress) * 0.25));
}

#hero .hero-content,
#hero .hero-stats {
  transform: translateY(calc(var(--hero-progress) * 18px));
  opacity: calc(1 - (var(--hero-progress) * 0.25));
  transition: transform 0.08s linear, opacity 0.08s linear;
}
/* ===== ENERGY REVEAL HERO (overlay layer) ===== */
#hero { position: relative; overflow: hidden; }

/* this is the dark/brand layer that will be "cut open" by the mouse */
.energy-overlay{
  position: absolute;
  inset: 0;
  z-index: 0;                 /* behind content, above background */
  pointer-events: none;

  /* your brand darkness */
  background: radial-gradient(circle at top, rgba(2,6,23,0.35), rgba(2,6,23,0.92));

  /* default spotlight position (center) */
  --x: 50%;
  --y: 45%;
  --r: 160px;

  /* the magic: mask makes a hole where the mouse is */
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--x) var(--y),
    transparent 0%,
    rgba(0,0,0,0.95) 55%,
    rgba(0,0,0,1) 75%);
  mask-image: radial-gradient(circle var(--r) at var(--x) var(--y),
    transparent 0%,
    rgba(0,0,0,0.95) 55%,
    rgba(0,0,0,1) 75%);

  transition: -webkit-mask-position 120ms linear, mask-position 120ms linear;
}

/* ===========================
   HERO ENERGY PEEL + SCANLINE
   =========================== */

#hero.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -70px;
  height: 220px;
  pointer-events: none;
  z-index: 3;


  /* curved “peel” edge */
  background:
    radial-gradient(140% 120% at 50% 0%,
      rgba(187,255,51,0.22),
      rgba(45,212,255,0.12) 42%,
      rgba(2,6,23,0) 72%),
    radial-gradient(120% 90% at 35% 30%,
      rgba(187,255,51,0.22),
      rgba(2,6,23,0) 60%);

  /* make it feel curved */
  border-radius: 50%;
  transform: translateY(calc(40px * (1 - var(--hero-progress))));
  opacity: calc(0.15 + (var(--hero-progress) * 0.95));
  filter: blur(18px);
}

/* animated scanline that sweeps across the bottom */
.hero-energy-scan {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 2px;
  z-index: 4;
  pointer-events: none;


  background: linear-gradient(
    90deg,
    transparent,
    rgba(248,250,252,0.55),
    rgba(187,255,51,0.65),
    rgba(45,212,255,0.55),
    transparent
  );

  opacity: calc(0.10 + (var(--hero-progress) * 0.65));
  filter: blur(0.2px);
  transform: translateX(-40%) translateY(calc(10px * (1 - var(--hero-progress))));
  animation: heroScan 2.4s linear infinite;
}

@keyframes heroScan {
  0%   { transform: translateX(-40%) translateY(calc(10px * (1 - var(--hero-progress)))); }
  100% { transform: translateX(40%)  translateY(calc(10px * (1 - var(--hero-progress)))); }
}

/* ===========================
   TRUST STRIP – NEON DOT STYLE
   =========================== */

.trust-strip {
  margin-top: 0.6rem;              /* ⬅️ moved UP (was 1.2rem) */
  transform: translateY(-18px);     /* ⬅️ lifts it slightly */

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;

  padding: 0.65rem 0.9rem;
  border-radius: 999px;

  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(10px);

  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 18px rgba(190, 242, 100, 0.12);
}

@media (max-width: 700px) {
  .trust-strip {
    transform: none;
    border-radius: 18px;
  }
}


.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;

  font-size: 0.82rem;
  color: #cbd5e1;
  text-align: center;
  white-space: nowrap;
}

.trust-item strong {
  color: #e5e7eb;
  font-weight: 600;
}

/* 🔥 NEON DOT */
.trust-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;

  background: radial-gradient(circle at 30% 30%, #bbff33, #22c55e);
  box-shadow:
    0 0 8px rgba(190, 242, 100, 0.9),
    0 0 16px rgba(190, 242, 100, 0.6);
  flex-shrink: 0;
}

/* hover = subtle premium interaction */
.trust-item:hover .trust-dot {
  transform: scale(1.3);
  box-shadow:
    0 0 14px rgba(190, 242, 100, 1),
    0 0 26px rgba(56, 189, 248, 0.7);
}

/* responsive */
@media (max-width: 980px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 20px;
  }

  .trust-item {
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .trust-strip {
    grid-template-columns: minmax(0, 1fr);
    transform: translateY(-4px);
  }
}


/* responsive */
@media (max-width: 980px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 20px;
  }
  .trust-item {
    justify-content: flex-start;
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 520px) {
  .trust-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ============== INTRO OVERLAY ============== */
.intro-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  transition:opacity .7s ease, visibility .7s ease, transform .7s ease;

  background:
    radial-gradient(circle at 10% 0%, rgba(56,189,248,.30), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(34,197,94,.25), transparent 55%),
    radial-gradient(circle at 50% 100%, #020617, #020617 55%, #000 100%);
}
.intro-overlay.hidden{
  opacity:0;
  visibility:hidden;
  transform:scale(1.02);
}

.intro-bg-video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.55) saturate(1.1);
  z-index:-2;
}

.intro-noise{
  position:absolute;
  inset:-50px;
  pointer-events:none;
  opacity:.12;
  z-index:-1;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='noStitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.8'/%3E%3C/svg%3E");
}

.intro-panel{
  position:relative;
  max-width:540px;
  width:100%;
  padding:2rem 1.9rem 2.2rem;
  border-radius:22px;
  border:1px solid rgba(148,163,184,.55);
  background:radial-gradient(circle at top, rgba(15,23,42,.55), rgba(2,6,23,.55));
  backdrop-filter:blur(12px);
  box-shadow:0 28px 72px rgba(15,23,42,.95);
}

.intro-logo{
  display:flex;
  align-items:center;
  gap:.75rem;
  margin:0 0 .8rem;
}
.intro-logo img{
  height:44px;
  width:auto;
  object-fit:contain;
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,.70))
    drop-shadow(0 0 14px rgba(190,242,100,.22))
    brightness(1.18) contrast(1.12);
}

.intro-logo-title{
  font-family:var(--font-heading);
  font-weight:900;
  letter-spacing:.14em;
  font-size:.9rem;
}
.intro-logo-subtitle{ font-size:.75rem; color:var(--muted); }

.intro-heading{
  margin:1rem 0 .5rem;
  font-size:2.1rem;
  line-height:1.1;
  font-family:var(--font-heading);
}
.intro-heading span{
  display:block;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}

.intro-subtitle{ margin:0 0 1.2rem; font-size:.95rem; color:var(--muted); }

.intro-actions{ display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; margin:0 0 .9rem; }

.intro-btn{
  padding:.6rem 1.35rem;
  border-radius:999px;
  border:1px solid transparent;
  background:linear-gradient(90deg,#caff43,#3ae0ff);
  color:#020617;
  font-size:.9rem;
  font-weight:800;
  font-family:var(--font-heading);
  cursor:pointer;
  box-shadow:0 0 20px rgba(190,242,100,.35);
  transition:transform .16s ease, filter .16s ease, box-shadow .16s ease;
}
.intro-btn:hover{ transform:translateY(-2px); filter:brightness(1.06); box-shadow:0 0 28px rgba(190,242,100,.55); }

.intro-skip{
  background:none;
  border:none;
  color:var(--muted);
  font-size:.82rem;
  cursor:pointer;
  opacity:.8;
}
.intro-skip:hover{ opacity:1; }

.intro-scroll-hint{
  margin-top:.7rem;
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  font-size:.78rem;
  color:var(--muted);
}
.intro-loading-text{
  margin-top: .9rem;
  font-size: .85rem;
  color: rgba(229,231,235,.75);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.intro-loader{
  display:flex;
  gap:.45rem;
  align-items:center;
  margin-top:.6rem;
}

.intro-loader span{
  width:7px;
  height:7px;
  border-radius:999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(190,242,100,.75);
  opacity:.35;
  animation: introDot 1.1s infinite ease-in-out;
}

.intro-loader span:nth-child(2){ animation-delay:.15s; }
.intro-loader span:nth-child(3){ animation-delay:.3s; }
.intro-loader span:nth-child(4){ animation-delay:.45s; }

@keyframes introDot{
  0%, 100% { transform: translateY(0); opacity:.35; }
  50% { transform: translateY(-6px); opacity:1; }
}
.intro-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9998; /* below intro overlay (yours is 9999) */
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.22), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(190, 242, 100, 0.18), transparent 55%),
    radial-gradient(circle at 50% 100%, #020617, #020617 55%, #000 100%);
  transition: opacity .45s ease, visibility .45s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-card {
  width: min(560px, calc(100% - 2rem));
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.65), rgba(2, 6, 23, 0.65));
  backdrop-filter: blur(12px);
  padding: 1.8rem 1.6rem 1.4rem;
  text-align: center;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.95);
}

.page-loader-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.page-loader-logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 0 1px rgba(255,255,255,0.7))
    drop-shadow(0 0 18px rgba(190, 242, 100, 0.22));
  animation: loaderPulse 1.4s ease-in-out infinite;
}

.page-loader-title {
  margin: 0.2rem 0 0.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-loader-sub {
  margin: 0 0 1rem;
  color: #9aa7bf;
  font-size: 0.92rem;
}

.page-loader-bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.18);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.page-loader-bar span {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  box-shadow: 0 0 18px rgba(190, 242, 100, 0.35);
  animation: loaderBar 1.2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes loaderBar {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(80%); }
  100% { transform: translateX(220%); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-loader-logo img,
  .page-loader-bar span {
    animation: none;
  }
}


/* scroll mouse */
.scroll-mouse{
  width:26px;
  height:46px;
  border-radius:999px;
  border:2px solid var(--accent);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding-top:6px;
}
.scroll-wheel{
  width:6px;
  height:10px;
  border-radius:999px;
  background:var(--accent);
  animation:scroll-wheel 1.3s ease-in-out infinite;
}
@keyframes scroll-wheel{
  0%{ transform:translateY(0); opacity:1; }
  100%{ transform:translateY(10px); opacity:0; }
}

@media (max-width:700px){
  .intro-panel{ margin:0 1rem; padding:1.6rem 1.2rem 1.8rem; }
  .intro-heading{ font-size:1.7rem; }
  .intro-logo img{ height:38px; }
}

/* ============== CARDS ============== */
.card{
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  background: radial-gradient(circle at top left, rgba(15,23,42,.95), #020617);
  padding:1.3rem 1.3rem 1.4rem;
  box-shadow:var(--shadow-soft);
}

.card-list{
  margin:.8rem 0 0;
  padding-left:1rem;
  color:var(--muted);
  font-size:.86rem;
}
.card-list li + li{ margin-top:.3rem; }

/* ============== BRAND SLIDER (ROTATING STRIP) ============== */
.brand-section-full{
  position:relative;
  width:100%;
  padding:2.4rem 0;
  background:#020617;
  overflow:hidden;
}
.brand-section-full::before{
  content:"";
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  top:50%;
  width:100%;
  height:130px;
  background:radial-gradient(circle at center, rgba(190,242,100,.22), rgba(15,23,42,0) 75%);
  opacity:.55;
  pointer-events:none;
}


.brand-track{ width:100%; overflow:hidden; }
.brand-track-inner{
  display:flex;
  align-items:center;
  gap:3.5rem;
  width:max-content;
  padding:1.1rem 3rem;
  margin:0 auto;
  border-radius:999px;
  background:rgba(7,12,28,.98);
  box-shadow:0 18px 48px rgba(0,0,0,.9);

  /* ✅ This is what makes it move */
  animation:brand-scroll 10s linear infinite;
}


.brand-item{ flex:0 0 auto; display:flex; align-items:center; justify-content:center; }

.brand-item img{
  height:48px;
  width:auto;
  object-fit:contain;
  opacity:.94;
  filter:drop-shadow(0 0 6px rgba(15,23,42,.7));
  transition:transform .22s ease, opacity .22s ease, filter .22s ease;
}

.brand-item:hover img{
  transform:translateY(-6px) scale(1.12);
  opacity:1;
  filter:drop-shadow(0 0 18px rgba(190,242,100,.7));
}

@keyframes brand-scroll{
  0%{ transform:translateX(0); }
  100%{ transform:translateX(-50%); }
}

@media (max-width:768px){
  .brand-track-inner{ gap:2.2rem; padding:.9rem 2rem; }
  .brand-item img{ height:36px; }
}

/* ============== INNOVATION ============== */
.innovation-section{
  width:100%;
  padding:4.5rem 0 5rem;
  background:radial-gradient(circle at center, rgba(15,23,42,1) 0%, rgba(2,6,23,1) 100%);
  text-align:center;
  position:relative;
}
.innovation-section::before{
  content:"";
  position:absolute;
  top:90px;
  left:50%;
  transform:translateX(-50%);
  width:420px;
  height:140px;
  background:radial-gradient(circle, rgba(190,242,100,.16), rgba(15,23,42,0) 65%);
  filter:blur(25px);
  opacity:.7;
  pointer-events:none;
}
.innovation-inner{
  max-width:820px;
  margin:0 auto;
  padding:0 1.6rem;
}
.innovation-title{
  font-size:2.6rem;
  margin:0 0 1rem;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
  text-shadow:0 0 16px rgba(190,242,100,.30);
}
.innovation-description{
  font-size:1.1rem;
  line-height:1.7;
  color:#9ea7b5;
  margin:0 auto 2.2rem;
  max-width:680px;
}
.innovation-tags{
  display:flex;
  justify-content:center;
  gap:1rem;
  flex-wrap:wrap;
}
.innovation-tags span{
  padding:.55rem 1.4rem;
  border-radius:999px;
  background:rgba(15,23,42,.75);
  border:1px solid rgba(148,163,184,.35);
  color:#e5e7eb;
  font-size:.9rem;
  backdrop-filter:blur(6px);
  transition:.25s ease;
  box-shadow:0 0 12px rgba(15,23,42,.85);
}
.innovation-tags span:hover{
  transform:translateY(-3px);
  border-color:rgba(190,242,100,.8);
  box-shadow:0 0 22px rgba(190,242,100,.45);
}

/* ============== LOCATIONS ============== */
#locations{
  position:relative;
  padding:5rem 0 5.5rem;
  background:radial-gradient(circle at top,#020617 0%,#050816 70%,#020617 100%);
}
#locations::before{
  content:"";
  position:absolute;
  top:80px;
  left:50%;
  transform:translateX(-50%);
  width:460px;
  height:150px;
  background:radial-gradient(circle, rgba(190,242,100,.18), rgba(2,6,23,0) 65%);
  filter:blur(25px);
  opacity:.75;
  pointer-events:none;
}
.locations-grid .card{
  border-radius:24px;
  border:1px solid rgba(148,163,184,.45);
  background:radial-gradient(circle at top left, rgba(15,23,42,.97), #020617 80%);
  padding:1.6rem 1.7rem;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.locations-grid .card:hover{
  transform:translateY(-6px);
  border-color:rgba(190,242,100,.85);
  box-shadow:0 24px 60px rgba(15,23,42,1), 0 0 26px rgba(190,242,100,.45);
}
.locations-grid .muted{ color:#9ea7b5; }

/* ============== CONTACT ============== */
.contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:2rem;
  align-items:start;
}
@media (max-width:880px){ .contact-grid{ grid-template-columns:minmax(0,1fr); } }

.contact-details{
  list-style:none;
  padding:0;
  margin:1.2rem 0 0;
  color:var(--muted);
  font-size:.9rem;
}
.contact-details li + li{ margin-top:.3rem; }
.contact-details a{ color:var(--accent2); text-decoration:none; }
.contact-details a:hover{ text-decoration:underline; }

.contact-form{
  background:radial-gradient(circle at top, rgba(56,189,248,.18), #020617);
}

label{
  font-size:.82rem;
  color:#cbd5f5;
  display:flex;
  flex-direction:column;
  gap:.25rem;
}
.form-row{ margin-bottom:.85rem; }
.form-row-inline{ display:flex; gap:.8rem; }
@media (max-width:880px){ .form-row-inline{ flex-direction:column; } }

input,select,textarea{
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  background:rgba(15,23,42,.9);
  padding:.6rem .8rem;
  color:var(--text);
  font-family:inherit;
  font-size:.86rem;
  outline:none;
}
textarea{
  border-radius:14px;
  min-height:110px;
  resize:vertical;
}
input:focus,select:focus,textarea:focus{
  border-color:var(--accent);
  box-shadow:0 0 0 1px rgba(190,242,100,.7);
}
/* ===== Micro-animations upgrade (safe) ===== */
.fade-in{
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  filter: blur(6px);
  transition:
    opacity 700ms cubic-bezier(.2,.8,.2,1),
    transform 700ms cubic-bezier(.2,.8,.2,1),
    filter 700ms cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform, filter;
}

.fade-in.visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* ============== SOLAR FLOW ============== */
.solar-flow-layout{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) auto minmax(0,1.2fr) auto minmax(0,1.2fr);
  gap:1.4rem;
  align-items:center;
  margin-top:2rem;
}
@media (max-width:980px){
  .solar-flow-layout{ grid-template-columns:minmax(0,1fr); }
}

.solar-node{
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  background:radial-gradient(circle at top left, rgba(15,23,42,.96), #020617);
  padding:1.2rem 1.2rem 1.3rem;
  box-shadow:var(--shadow-soft);
}
.solar-node-icon{
  width:42px;height:42px;
  border-radius:999px;
  background:radial-gradient(circle at 30% 0, var(--accent), var(--accent2));
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-glow);
  margin:0 0 .7rem;
}
.solar-node h3{ font-size:1.05rem; margin:0 0 .45rem; }
.solar-node p{ font-size:.9rem; color:var(--muted); margin:0 0 .6rem; }
.solar-node-list{ margin:0; padding-left:1.1rem; font-size:.84rem; color:var(--muted); }
.solar-node-list li + li{ margin-top:.2rem; }

.solar-arrow{ display:flex; flex-direction:column; align-items:center; gap:.35rem; }
.solar-arrow-line{
  width:60px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  position:relative;
  overflow:hidden;
}
.solar-arrow-line::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(15,23,42,0), rgba(248,250,252,.9), rgba(15,23,42,0));
  transform:translateX(-120%);
  animation:solar-flow-glow 2.4s linear infinite;
}
@keyframes solar-flow-glow{ 0%{transform:translateX(-120%);} 100%{transform:translateX(120%);} }
.solar-arrow-head{
  width:0;height:0;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-left:8px solid var(--accent2);
}
.solar-arrow-label{ font-size:.75rem; color:var(--muted); }

@media (max-width:980px){
  .solar-arrow{ flex-direction:row; justify-content:center; margin:.4rem 0 .2rem; }
  .solar-arrow-line{ width:80px; }
}

/* ============== PROJECTS PAGE ============== */
.projects-top{
  padding-top:6rem; /* room for fixed header */
  padding-bottom:2.6rem;
  background:radial-gradient(circle at top left, #020617 0, #050816 90%);
}

.projects-heading{
  text-align:center;
  max-width:860px;
  margin:0 auto 1.8rem;
}

.projects-main-title{
  font-size:3rem;
  line-height:1.05;
  margin:0 0 .8rem;

  background:linear-gradient(90deg,var(--accent),var(--accent2));
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;

  text-shadow:0 0 18px rgba(190,242,100,.28);
}
.projects-main-subtitle{
  color:#93a7c5;
  max-width:720px;
  margin:0 auto;
}

.projects-stats-strip{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:.8rem;
  margin-top:1.4rem;
}
.projects-stat-pill{
  border-radius:999px;
  border:1px solid rgba(148,163,184,.45);
  background:rgba(15,23,42,.85);
  padding:.65rem 1rem;
  display:flex;
  gap:.6rem;
  align-items:baseline;
}
.pill-number{ font-weight:900; color:var(--accent); }
.pill-label{ font-size:.82rem; color:var(--muted); }

.projects-card-grid{ margin-top:1.2rem; }

.project-card{
  padding:0;
  overflow:hidden;
  border-radius:var(--radius-xl);
  background:#020617;
  border:1px solid rgba(148,163,184,.35);
  box-shadow:var(--shadow-soft);
  transition:transform .2s ease, box-shadow .2s ease;
}
.project-card:hover{
  transform:translateY(-4px);
  box-shadow:0 22px 55px rgba(15,23,42,1);
}

.project-image-wrapper{
  position:relative;
  width:100%;
  height:340px;
  overflow:hidden;
  border-radius:var(--radius-xl) var(--radius-xl) 0 0;
  background:#020617;
}
.project-main-image{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}

.project-tag{
  position:absolute;
  top:12px;
  right:12px;
  padding:4px 10px;
  font-size:.75rem;
  border-radius:999px;
  background:rgba(0,0,0,.65);
  color:#c7ff63;
  border:1px solid rgba(190,242,100,.28);
}

.project-gallery{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:10px;
  display:flex;
  gap:.5rem;
  padding:.35rem .75rem;
  border-radius:999px;

  /* ✅ green vibe instead of grey */
  background: radial-gradient(circle at center,
    rgba(187,255,51,.26),
    rgba(56,189,248,.14) 60%,
    rgba(2,6,23,.78) 100%
  );
  backdrop-filter:blur(12px);
  border:1px solid rgba(187,255,51,.35);
  box-shadow:0 10px 28px rgba(0,0,0,.85), 0 0 18px rgba(190,242,100,.25);

  overflow-x:auto;
  scroll-behavior:smooth; /* ✅ so it “moves” when we scroll in JS */
  max-width:92%;
}
/* Map → project highlight */
.project-card.map-hit {
  border-color: rgba(190, 242, 100, 0.9);
  box-shadow:
    0 0 0 1px rgba(190, 242, 100, 0.45),
    0 0 28px rgba(190, 242, 100, 0.35);
  transform: translateY(-4px);
}

.project-card.map-dim {
  opacity: 0.45;
  filter: saturate(0.85);
}


.project-thumb{
  width:60px;
  height:44px;
  border-radius:10px;
  overflow:hidden;
  cursor:pointer;
  border:1px solid rgba(187,255,51,.35);
  background:rgba(2,6,23,.35);
  opacity:.78;
  transition:transform .18s ease, opacity .18s ease, box-shadow .18s ease, border-color .18s ease;
  flex:0 0 auto;
}
.project-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.project-thumb:hover,
.project-thumb.is-active{
  opacity:1;
  border-color:rgba(187,255,51,.9);
  box-shadow:0 0 14px rgba(187,255,51,.7), 0 0 22px rgba(56,189,248,.35);
  transform:translateY(-2px);
}

@media (max-width:700px){
  .project-image-wrapper{ height:300px; }
  .project-thumb{ width:56px; height:40px; }
}

.project-body{ padding:1.1rem 1.2rem 1.2rem; }
.project-body h3{ margin:0 0 .25rem; font-size:1.15rem; }
.project-location,
.project-meta-line{ color:var(--muted); font-size:.86rem; }
.project-meta-line{ margin:.2rem 0 .6rem; }
.project-text{ margin:0; font-size:.9rem; color:#b9c3d9; }

/* ============== PROJECT MAP (PINS) ============== */
#project-map{ margin-top:2.5rem; }

.project-map-layout{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:1.8rem;
  align-items:flex-start;
  margin-top:2rem;
}
@media (max-width:880px){
  .project-map-layout{ grid-template-columns:minmax(0,1fr); }
}

.sa-map-card{ padding:1.4rem; }
.sa-map{
  position:relative;
  border-radius:20px;
  background:#020617;
  border:1px solid rgba(148,163,184,.4);
  min-height:350px;
  overflow:hidden;

  background-image:url("images/map.png");
  background-size:contain;
  background-repeat:no-repeat;
  background-position:center;
}

.map-pin{
  position:absolute;
  transform:translate(-50%,-50%);
  width:18px;height:18px;
  border-radius:999px;
  border:none;
  background:transparent;
  cursor:pointer;
  padding:0;
}
.map-pin span{
  display:block;
  width:100%;
  height:100%;
  border-radius:inherit;
  background:radial-gradient(circle at 30% 0, var(--accent), var(--accent2));
  box-shadow:0 0 14px rgba(190,242,100,.8);
  transition:transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}
.map-pin:hover span,
.map-pin.active span{
  transform:scale(1.25);
  box-shadow:0 0 22px rgba(190,242,100,1);
}

.map-hint{ margin-top:.9rem; font-size:.8rem; color:var(--muted); }

.map-detail-card{ display:flex; flex-direction:column; gap:.8rem; }
.map-region-subtitle{ color:var(--muted); font-size:.9rem; }

.map-stats-row{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:.8rem;
}
@media (max-width:880px){
  .map-stats-row{ grid-template-columns:minmax(0,1fr); }
}
.map-stat{
  border-radius:14px;
  padding:.6rem .7rem;
  background:rgba(15,23,42,.9);
  border:1px solid rgba(148,163,184,.4);
}
.map-stat-label{ display:block; font-size:.72rem; color:var(--muted); }
.map-stat-value{ display:block; margin-top:.2rem; font-size:.96rem; font-weight:800; color:var(--accent); }

.map-key{
  list-style:none;
  padding:0;
  margin:.2rem 0 0;
  display:flex;
  flex-wrap:wrap;
  gap:.4rem;
}
.map-key-item{
  border-radius:999px;
  border:1px solid rgba(148,163,184,.55);
  background:rgba(15,23,42,.9);
  color:var(--muted);
  font-size:.8rem;
  padding:.25rem .7rem;
  cursor:pointer;
  transition:background .14s ease, border-color .14s ease, color .14s ease;
}
.map-key-item.active,
.map-key-item:hover{
  border-color:rgba(190,242,100,.8);
  color:#e5e7eb;
  background:radial-gradient(circle at top, rgba(22,163,74,.3), #020617);
}

/* ============== FOOTER ============== */
.site-footer{
  border-top:1px solid rgba(30,64,175,.25);
  background:#020617;
  padding:1rem 0 1.4rem;
}
.footer-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
  font-size:.8rem;
  color:var(--muted);
}
.footer-links{ display:flex; gap:.8rem; }
.footer-links a{ color:var(--muted); text-decoration:none; }
.footer-links a:hover{ color:var(--accent2); }

@media (max-width:880px){
  .footer-inner{ flex-direction:column; align-items:flex-start; }
}
#scroll-progress{
  position:fixed;
  top:0; left:0;
  height:3px;
  width:0%;
  z-index:99999;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  box-shadow:0 0 18px rgba(190,242,100,.45);
}
/* ===========================
   FLOATING TRUST RAIL (LOCKS ON SCROLL)
   =========================== */

.trust-rail {
  position: relative;
  z-index: 6;                 /* above hero overlay content */
  margin-top: 0.2rem;         /* moves it UP a bit */
  transform: translateY(-18px); /* moves it UP more (adjust as needed) */
}

/* default state (in hero area) */
.trust-strip {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 999px;
}

/* locked state */
.trust-rail.is-sticky {
  position: sticky;
  top: 76px;  /* ⬅️ space under your fixed header (adjust if header taller) */
  padding-top: 0.6rem;
  z-index: 60;
}

/* when sticky: make it more “glass rail” */
.trust-rail.is-sticky .trust-strip {
  background: rgba(10, 16, 33, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.42);
  backdrop-filter: blur(14px);
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.55),
    0 0 22px rgba(190, 242, 100, 0.14);
}

/* optional: slightly tighter when sticky */
.trust-rail.is-sticky .trust-strip {
  padding: 0.55rem 0.9rem;
}

/* mobile: less aggressive lift */
@media (max-width: 700px) {
  .trust-rail {
    transform: translateY(-10px);
  }

  .trust-rail.is-sticky {
    top: 66px;
  }
}
#hero::before {
  opacity: calc(1 - var(--hero-energy, 0) * 0.9);
}

.energy-trail {
  position: fixed;
  top: -12px;
  left: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;

  background: radial-gradient(
    circle,
    rgba(187,255,51,0.95),
    rgba(45,212,255,0.55),
    rgba(2,6,23,0) 70%
  );

  filter: blur(6px);
  mix-blend-mode: screen;
  opacity: 0.75;
}
/* ===========================
   PAGE TRANSITIONS
   =========================== */




.pt-glow{
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at center, rgba(190,242,100,.22), transparent 60%);
  filter: blur(24px);
  opacity: .9;
}

.pt-loader{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin-left: -27px;
  margin-top: -27px;
  border-radius: 999px;
  border: 2px solid rgba(148,163,184,.25);
  border-top-color: rgba(187,255,51,.95);
  border-right-color: rgba(45,212,255,.75);
  animation: ptSpin .9s linear infinite;
  box-shadow: 0 0 24px rgba(190,242,100,.25);
}

@keyframes ptSpin{
  to { transform: rotate(360deg); }
}
body{
  animation: pageIn .25s ease both;
}
@keyframes pageIn{
  from { opacity: 0; }
  to   { opacity: 1; }
}

img, video {
  max-width: 100%;
  height: auto;
}

/* HARD KILL: hide any loader/spinner overlays */
#loader, #page-loader, #loading, #loading-overlay, #transition-overlay,
.loader, .loading, .loading-overlay, .spinner, .spin, .preloader, .overlay-loader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
/* FINAL OVERRIDE: page transition must be hidden unless "is-active" is added */
#page-transition.page-transition {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#page-transition.page-transition.is-active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
html, body{ overflow-x:hidden; width:100%; }
img, video, canvas { max-width: 100%; }

/* ===== HERO: Mouse "energy light" reveal ===== */
.hero{
  position: relative;
  overflow: hidden;
}

/* Make sure your hero background image is set */
.hero.hero-parallax{
  background-image: url("home\ background.jpg"); /* <-- change to your real path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Keep your content above overlays */
.hero-inner{
  position: relative;
  z-index: 3;
}

/* Dark layer that gets "cut out" by spotlight */
.energy-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  /* darkness */
  background: rgba(2, 6, 23, 0.94);

  /* spotlight variables */
  --x: 50%;
  --y: 40%;
  --r: 240px;

  /* mask creates the "hole" where light reveals image */
  -webkit-mask: radial-gradient(circle var(--r) at var(--x) var(--y),
    transparent 0%,
    rgba(0,0,0,0.7) 45%,
    rgba(0,0,0,1) 65%);
  mask: radial-gradient(circle var(--r) at var(--x) var(--y),
    transparent 0%,
    rgba(0,0,0,0.7) 45%,
    rgba(0,0,0,1) 65%);
}

/* Your existing hero overlay should remain under the energy overlay */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
}
.energy-overlay::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: radial-gradient(
    circle 260px at var(--x) var(--y),
    rgba(187,255,51,0.18),
    transparent 60%
  );
}
.contact-form details[open] {
  box-shadow: 0 0 0 1px rgba(57,255,20,0.25);
}
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  z-index: 9999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Mobile spacing */
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
  }
}
/* WhatsApp Tooltip Bubble */
.whatsapp-tooltip {
  position: fixed;
  bottom: 92px;
  right: 22px;
  background: rgba(15, 25, 40, 0.95);
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.3;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9998;
}

/* little arrow */
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  background: rgba(15, 25, 40, 0.95);
  transform: rotate(45deg);
}

/* visible state */
.whatsapp-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* mobile spacing */
@media (max-width: 640px) {
  .whatsapp-tooltip {
    right: 16px;
    bottom: 84px;
    font-size: 12px;
  }
}
/* WhatsApp Tooltip – permanent + highly visible */
.whatsapp-tooltip {
  position: fixed;
  right: 92px;              /* sits next to the button */
  bottom: 26px;
  background: #0f1928;      /* solid dark */
  color: #ffffff;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.25;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(57, 255, 20, 0.35); /* subtle neon edge */
  z-index: 999999;          /* above everything */
  max-width: 240px;

  /* permanent visibility */
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;

  /* don't block clicks to the WhatsApp button */
  pointer-events: none;
}

/* Arrow pointing to the WhatsApp button */
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: 12px;
  height: 12px;
  background: #0f1928;
  border-right: 1px solid rgba(57, 255, 20, 0.35);
  border-bottom: 1px solid rgba(57, 255, 20, 0.35);
  transform: rotate(-45deg);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .whatsapp-tooltip {
    right: 84px;
    bottom: 18px;
    font-size: 12px;
    max-width: 200px;
  }
}
/* Match the heading width to the cards row width */
.projects-section-header {
  width: min(1200px, calc(100% - 48px)); /* 24px left + 24px right */
  margin: 0 auto;                        /* center the block like the cards */
  text-align: left;
  padding: 0;                            /* important: don't add extra padding */
}

/* tighten text spacing */
.projects-section-header h2 {
  margin: 0 0 6px;
}

.projects-section-header p {
  margin: 0;
  opacity: 0.85;
}
/* Remove the big gap between header and cards */
.projects-section-header {
  margin-bottom: 14px !important;
}

/* If your cards wrapper has a top margin, kill it */
.projects-cards,
.projects-list,
.projects-container,
.projects-row {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Green gradient heading style (reusable) */
.heading-green {
  background: linear-gradient(
    90deg,
    #39ff14 0%,
    #6bff9f 40%,
    #39ff14 80%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  /* subtle glow */
  text-shadow:
    0 0 18px rgba(57, 255, 20, 0.25),
    0 0 32px rgba(57, 255, 20, 0.15);
}
/* Left-align section header but keep the same green styling */
.section-header.section-header-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

/* Prevent the text block from being limited/centered */
.section-header.section-header-left p {
  margin-left: 0;
  margin-right: 0;
}
.section-header.section-header-left {
  transform: translateX(0);
}


/* =========================================================
   FINAL OVERRIDE — Automation Capabilities cards
   Headings = same green/gradient as site headings
   Body text = white
   Boxes = green glow like other cards
   ========================================================= */

/* 1) Heading inside each small card = SAME gradient as your section headers */
#automation-capabilities .map-stat-label{
  display:block;
  font-size:.78rem;
  font-weight:800;
  margin:0;

  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 18px rgba(190,242,100,.30);
}

/* 2) Text under the heading = WHITE */
#automation-capabilities .map-stat-value{
  display:block;
  margin-top:.25rem;
  color:#ffffff !important;
  font-size:.92rem;
  font-weight:600;
  text-shadow:none !important;
}

/* 3) Small boxes = green glow look */
#automation-capabilities .map-stat{
  border-radius:14px;
  padding:.85rem .9rem;

  background: rgba(15,23,42,.90);
  border: 1px solid rgba(187,255,51,.28);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.03) inset,
    0 0 18px rgba(190,242,100,.18);
}

/* 4) Big cards glow (same vibe as project/map cards) */
#automation-capabilities .card{
  border: 1px solid rgba(187,255,51,.20);
  box-shadow:
    0 18px 45px rgba(15,23,42,.85),
    0 0 34px rgba(190,242,100,.18);
}
/* =========================================
   PROJECT CARDS — REMOVE GAP ABOVE FIRST ROW
   Works for Projects + Automations pages
   ========================================= */

/* 1) Cards section: kill the default .section top padding */
.section.projects-list{
  padding-top: 0 !important;
}

/* 2) If any wrapper/grid adds extra top space, kill it */
.section.projects-list .projects-card-grid,
.section.projects-list .grid{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 3) Bring the heading block closer to the cards */
.section.projects-top{
  padding-bottom: 0.8rem !important; /* lower = tighter */
}

.projects-heading{
  margin-bottom: 0.6rem !important;
}

/* 4) If you use that "Automations" sub-header block above cards, tighten it too */
.section-header{
  margin-bottom: 1rem !important; /* was ~2.8rem */
}
/* =========================================
   ABOUT — MAKE IT LOOK PREMIUM
   ========================================= */

.about-header{
  text-align:center;
  max-width: 920px;
  margin: 0 auto 1.6rem;
}

.about-title{
  font-size: var(--h2);
  line-height: 1.1;
  margin: 0 0 .6rem;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 18px rgba(190,242,100,.22);
}

.about-lead{
  max-width: 760px;
  margin: 0 auto;
  color: #93a7c5;
  font-size: 1.02rem;
}

.about-card{
  border-radius: 24px;
  padding: 1.8rem;
}

.about-text{
  max-width: 820px;
  margin: 0 auto 1.4rem;
  text-align: left;                 /* ✅ key change */
}

.about-text p{
  color: #b9c3d9;
  font-size: 0.98rem;
  line-height: 1.85;
  margin: 0;
}

.about-text p + p{
  margin-top: 1rem;                 /* ✅ spacing between paragraphs */
}

.about-caps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.cap{
  border-radius: 16px;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(187,255,51,0.18);
  box-shadow: 0 0 26px rgba(190,242,100,.06);
}

.cap-title{
  display:block;
  font-weight: 800;
  color: var(--accent);             /* ✅ your site green */
  margin-bottom: .25rem;
}

.cap-sub{
  display:block;
  color: #e5e7eb;
  opacity: .85;
  font-size: .88rem;
}

@media (max-width: 980px){
  .about-caps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .about-caps{ grid-template-columns: minmax(0, 1fr); }
  .about-card{ padding: 1.2rem; }
}
/* ===== SERVICES: 6 SMALL CAPABILITY CARDS ===== */
.services-capabilities{
  width: min(1120px, calc(100% - 48px));
  margin: 1.4rem auto 1.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px){
  .services-capabilities{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px){
  .services-capabilities{ grid-template-columns: 1fr; }
}

.cap-card{
  border-radius: 18px;
  padding: 1.05rem 1.15rem;
  background: radial-gradient(circle at top left, rgba(15,23,42,.95), #020617);
  border: 1px solid rgba(187,255,51,.18);
  box-shadow:
    0 14px 45px rgba(0,0,0,0.45),
    0 0 26px rgba(190,242,100,0.10);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.cap-card:hover{
  transform: translateY(-6px);
  border-color: rgba(187,255,51,.55);
  box-shadow:
    0 22px 60px rgba(0,0,0,0.6),
    0 0 38px rgba(190,242,100,0.22);
}

.cap-card h3{
  margin: 0 0 .35rem;
  color: var(--accent); /* ✅ uses your site green (#bbff33) */
  font-weight: 800;
  font-size: 1.02rem;
}

.cap-card p{
  margin: 0;
  color: #b9c3d9;
  font-size: .9rem;
}
/* ===== Make the "How TUSK Systems Work" section wider ===== */
#solar-flow .container{
  max-width: 1400px; /* was 1120 */
}

/* Make cards bigger and reduce arrow column size */
#solar-flow .solar-flow-layout{
  grid-template-columns: minmax(320px, 1fr) 90px minmax(320px, 1fr) 90px minmax(320px, 1fr);
  gap: 2rem;
}

/* Bigger cards */
#solar-flow .solar-node{
  padding: 1.6rem 1.6rem 1.7rem;
  min-height: 420px;
}

/* Slightly bigger text inside cards */
#solar-flow .solar-node h3{
  font-size: 1.18rem;
}

#solar-flow .solar-node p{
  font-size: .95rem;
}

#solar-flow .solar-node-list{
  font-size: .88rem;
}
/* Solar / Automation flow card headings */
#solar-flow .solar-node h3{
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
  margin-bottom: .6rem;
}
/* Make text feel wider and more solid */
#solar-flow .solar-node p{
  max-width: none;       /* remove any width restriction */
  text-align: left;      /* no center feel */
  line-height: 1.65;
  margin-bottom: .9rem;
}

/* Lists also fill the card properly */
#solar-flow .solar-node-list{
  max-width: none;
  padding-left: 1.1rem;
}
/* Bigger paragraph text inside the "How TUSK Systems Work" cards */
#solar-flow .solar-node p{
  font-size: 1rem;        /* default is ~0.9rem */
  line-height: 1.7;
}
.hero-capability-strip{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin: 1.05rem 0 1.1rem;
}

.hero-capability-strip span{
  display:inline-flex;
  align-items:center;
  padding:.35rem .75rem;
  border-radius:999px;
  background:rgba(15,23,42,.55);
  border:1px solid rgba(148,163,184,.35);
  color:#e8eef8;
  font-size:.82rem;
  line-height:1;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px rgba(190,242,100,.08);
}

.hero-capability-strip span:hover{
  border-color: rgba(190,242,100,.75);
  box-shadow: 0 0 22px rgba(190,242,100,.16);
  transform: translateY(-1px);
}
/* ===== Services capability grid fix ===== */
.services-capabilities{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

/* Make the last card (Gas Installation) span full width */
.services-capabilities .cap-card:last-child{
  grid-column: 1 / -1;
  max-width: 100%;
}

/* Optional: center content so it looks intentional */
.services-capabilities .cap-card:last-child{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* =========================================================
   MOBILE OVERRIDES (SAFE PATCH)
   Paste this at the VERY BOTTOM of your CSS.
   It will NOT change desktop layout.
   ========================================================= */

/* 1) Global mobile safety: prevent sideways overflow + iPhone safe areas */
html { width: 100%; }
body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}


/* 2) The REAL cause of “cut off right side”:
      big glow elements extending outside viewport.
      Clip them INSIDE their sections (not the whole page). */
#hero.hero,
.hero,
.brand-section-full,
.innovation-section,
#locations,
.projects-top,
.site-header,
.intro-overlay {
  overflow: hidden;
}


/* 3) Fix hero glow + scanline that currently uses negative left/right (%)
      This stops iPhone overflow without killing your effect */
#hero.hero::before,
#hero.hero::after,
#hero::before,
#hero::after {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* scanline: don't extend past viewport */
#hero .hero-energy-scan,
.hero-energy-scan {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

/* 4) Fix overlay layers that use inset:-50px or inset:-20% (mobile overflow) */
@media (max-width: 700px){
  .intro-noise { inset: 0 !important; }
  .pt-glow { inset: 0 !important; }
}

/* 5) Container padding: keep it clean on small screens */
@media (max-width: 520px){
  .container{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* 6) Header + logo: prevent crowding */
@media (max-width: 900px){
  .header-inner{
    gap: 10px !important;
    padding: .65rem 0 !important;
  }

  .logo-image img{
    height: 40px !important;
  }

  .logo-title{ font-size: .85rem !important; }
  .logo-tagline{ font-size: .68rem !important; }

  /* Hide desktop nav on mobile (use a hamburger later if you want) */
  .nav{ display: none !important; }
}

/* 7) Hero: reduce height pressure and make typography wrap nicely */
@media (max-width: 900px){
  .hero{
    min-height: 82vh !important;
    padding-top: 4.2rem !important;
  }

  .hero-content{
    max-width: 100% !important;
    padding: 2.2rem 0 1.4rem !important;
  }

  .hero-heading{
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .hero-subtitle{
    font-size: 0.98rem !important;
    max-width: 100% !important;
  }

  .hero-cta-row{
    gap: .7rem !important;
  }

  /* hero stats grid: 2 columns on phones */
  .hero-stats{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
  }
}

@media (max-width: 520px){
  .hero-stats{
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* 8) Trust strip: ensure it never overflows */
.trust-strip{
  max-width: 100%;
}

/* 9) Solar-flow section: your desktop layout is wide; force a clean stack on mobile */
@media (max-width: 980px){
  /* You already stack, but make sure no leftover wide columns stay */
  #solar-flow .solar-flow-layout{
    grid-template-columns: minmax(0,1fr) !important;
    gap: 1rem !important;
  }

  #solar-flow .solar-node{
    min-height: auto !important;
    padding: 1.25rem !important;
  }

  .solar-arrow{
    display: none !important; /* optional: hides arrows on mobile for clean look */
  }
}

/* 10) Projects page: make headings and cards scale nicely */
@media (max-width: 700px){
  .projects-main-title{
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
  }

  .project-image-wrapper{
    height: 260px !important;
  }

  .project-gallery{
    max-width: 94% !important;
  }
}

/* 11) WhatsApp tooltip: make sure it doesn't force extra width */
@media (max-width: 640px){
  .whatsapp-tooltip{
    right: 78px !important;
    max-width: 180px !important;
    white-space: normal !important;
  }
}

/* 12) Extra hard safety for any rogue element */
*{
  max-width: 100%;
}
/* =========================================================
   MOBILE NAV (hamburger + dropdown)
   ========================================================= */

/* hidden on desktop */
.nav-toggle, .mobile-nav { display: none; }

/* make header-inner a positioning context for dropdown */
.header-inner{ position: relative; }

@media (max-width: 900px){

  /* hide desktop nav only on mobile */
  .nav{ display: none !important; }

  /* show hamburger */
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.35);
    background: rgba(15,23,42,.72);
    backdrop-filter: blur(10px);
    cursor: pointer;
    padding: 0;
    z-index: 999;
  }

  .nav-toggle span{
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    margin: 2.5px 0;
    transition: transform .18s ease, opacity .18s ease;
  }

  /* dropdown panel */
  .mobile-nav{
    display: block;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    width: min(340px, calc(100vw - 28px));
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(148,163,184,.35);
    background: rgba(2,6,23,.92);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 70px rgba(0,0,0,.55), 0 0 26px rgba(190,242,100,.12);

    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    z-index: 998;
  }

  .mobile-nav.is-open{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .mobile-link{
    display: block;
    padding: 12px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #e5e7eb;
    font-size: 0.95rem;
  }

  .mobile-link:hover{
    background: rgba(148,163,184,.10);
  }

  .mobile-cta{
    display: flex;
    justify-content: center;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    color: #020617;
    background: radial-gradient(circle at top left, var(--accent), #22c55e);
    box-shadow: 0 0 24px rgba(190,242,100,.22);
  }
}
/* FIX: ensure mobile nav button is clickable above overlays */
.site-header { z-index: 99999 !important; overflow: visible !important; }
.header-inner { position: relative; z-index: 99999 !important; overflow: visible !important; }

.nav-toggle{
  position: relative !important;
  z-index: 100000 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
}

/* dropdown must also be above */
.mobile-nav{
  z-index: 100000 !important;
}
.nav-toggle { display: none; }
@media (max-width: 900px){
  .nav { display: none !important; }
  .nav-toggle { display: inline-flex !important; }
}
/* ===========================
   SLICK MOBILE HAMBURGER
   =========================== */
.nav-toggle{ display:none; } /* default: hidden on desktop */

@media (max-width: 900px){
  /* hide desktop nav, show toggle */
  .nav{ display:none !important; }
  .nav-toggle{ display:inline-flex !important; }

  .nav-toggle-slick{
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,.35);
    background: rgba(15,23,42,.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: relative;
    padding: 0;
    cursor: pointer;
    z-index: 100000;

    /* soft depth */
    box-shadow:
      0 18px 55px rgba(0,0,0,.42),
      0 0 24px rgba(190,242,100,.10);
  }

  /* neon ring */
  .nav-toggle-slick::before{
    content:"";
    position:absolute;
    inset:-1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg,
      rgba(187,255,51,.65),
      rgba(45,212,255,.55)
    );
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: .65;
    pointer-events: none;
  }

  /* subtle inner shine */
  .nav-toggle-slick::after{
    content:"";
    position:absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 30% 25%,
      rgba(255,255,255,.12),
      transparent 55%);
    opacity: .8;
    pointer-events:none;
  }

  /* the 3 lines */
  .nav-toggle-slick span{
    position:absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    box-shadow: 0 0 14px rgba(190,242,100,.18);
    transition:
      transform .18s ease,
      top .18s ease,
      opacity .18s ease,
      width .18s ease;
  }
  .nav-toggle-slick span:nth-child(1){ top: 16px; }
  .nav-toggle-slick span:nth-child(2){ top: 22px; width: 14px; opacity: .95; }
  .nav-toggle-slick span:nth-child(3){ top: 28px; }

  /* hover/press */
  .nav-toggle-slick:hover{
    transform: translateY(-1px);
    border-color: rgba(190,242,100,.35);
    box-shadow:
      0 22px 70px rgba(0,0,0,.48),
      0 0 30px rgba(190,242,100,.14);
  }
  .nav-toggle-slick:active{
    transform: translateY(1px) scale(.99);
  }

  /* OPEN STATE -> X */
  .nav-toggle-slick.is-open span:nth-child(1){
    top: 22px;
    transform: translateX(-50%) rotate(45deg);
    width: 18px;
  }
  .nav-toggle-slick.is-open span:nth-child(2){
    opacity: 0;
  }
  .nav-toggle-slick.is-open span:nth-child(3){
    top: 22px;
    transform: translateX(-50%) rotate(-45deg);
    width: 18px;
  }
}
.logo-link{
  display:flex;
  align-items:center;
  gap:.8rem;
  text-decoration:none;
  color:inherit;
  cursor:pointer;
}

/* optional premium hover */
.logo-link:hover .logo-image img{
  transform: scale(1.03);
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,.8))
    drop-shadow(0 0 18px rgba(190,242,100,.45))
    brightness(1.22) contrast(1.15);
}

.logo-image img{
  transition: transform .18s ease, filter .18s ease;
}
/* ===========================
   MOBILE PILL CARDS: FIX TEXT WRAP
   =========================== */

/* If these are your "services-capabilities" pills */
@media (max-width: 640px){
  .services-capabilities{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* was 3 */
    gap: 0.9rem;
  }

  /* if you want even safer on very small screens */
  @media (max-width: 420px){
    .services-capabilities{
      grid-template-columns: 1fr !important;
    }
  }

  .cap-card{
    min-width: 0;                  /* important inside grid */
    padding: 1rem 1rem;
  }

  .cap-card h3{
    font-size: 1rem;
    line-height: 1.15;
    word-break: normal;            /* don't chop words */
    overflow-wrap: normal;
    hyphens: none;
    white-space: normal;           /* allow wrap */
  }

  /* prevent the grey text from forcing weird spacing */
  .cap-card p{
    font-size: .88rem;
    line-height: 1.55;
  }
}
/* WhatsApp list dock */
.wa-dock{
  position: fixed;
  right: 16px;
  bottom: 90px;
  width: min(360px, calc(100% - 32px));
  max-height: 52vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(187,255,51,.22);
  background: rgba(10,16,33,.62);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 55px rgba(0,0,0,.55), 0 0 22px rgba(190,242,100,.12);
  z-index: 99998;
}
.wa-dock-head{ display:flex; justify-content:space-between; align-items:center; font-size:.92rem; }
.wa-count{ color: rgba(229,231,235,.75); font-size:.82rem; }

.wa-items{ overflow:auto; padding-right:4px; display:grid; gap:8px; }

.wa-item{
  display:grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items:center;
  padding:10px;
  border-radius:14px;
  border:1px solid rgba(148,163,184,.25);
  background: rgba(2,6,23,.65);
}
.wa-item strong{ display:block; font-size:.9rem; line-height:1.15; }
.wa-item small{ display:block; color: rgba(156,163,175,.9); font-size:.78rem; margin-top:2px; }

.wa-qty{
  width:56px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.35);
  background: rgba(15,23,42,.85);
  color:#e5e7eb;
  padding:6px 8px;
  text-align:center;
}
.wa-remove{
  border:none;
  background:transparent;
  color: rgba(229,231,235,.8);
  font-size:18px;
  cursor:pointer;
  padding:6px 8px;
  border-radius:12px;
}
.wa-remove:hover{ background: rgba(255,255,255,.06); }

.wa-actions{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }

@media (max-width: 520px){
  .wa-dock{ bottom: 84px; right: 12px; width: calc(100% - 24px); }
}
/* ===========================
   STORE FILTER BAR (TUSK VIBE)
   =========================== */

.store-filterbar{
  padding: 1rem 1.1rem;
  margin: 1rem 0 1.3rem;
  border-radius: 22px;
}

.store-filter-row{
  display: grid;
  grid-template-columns: 220px 220px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.store-filter-search{ width: 100%; }

.store-label{
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(229,231,235,.7);
  margin: 0 0 .35rem;
}

.store-select,
.store-input{
  width: 100%;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.35);
  background: rgba(15,23,42,.82);
  color: #e8eef8;
  padding: 0 .95rem;
  outline: none;
}

.store-select:focus,
.store-input:focus{
  border-color: rgba(187,255,51,.85);
  box-shadow: 0 0 0 2px rgba(187,255,51,.18);
}

.store-select:disabled{
  opacity: .55;
  cursor: not-allowed;
}

.store-filter-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: .85rem;
  color: rgba(229,231,235,.75);
  font-size: .9rem;
}

@media (max-width: 900px){
  .store-filter-row{
    grid-template-columns: 1fr 1fr;
  }
  .store-filter-search{
    grid-column: 1 / -1;
  }
}
.admin-section {
  padding-top: 80px;
}

.admin-help {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
}

.admin-tabs {
  display: flex;
  gap: 10px;
  margin: 16px 0 24px;
}

.admin-tab {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}

.admin-tab.is-active {
  background: linear-gradient(135deg, #8dff6a, #00d8ff);
  color: #0a0f1f;
  border-color: transparent;
}

.admin-panel {
  display: block;
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-section-card {
  margin-bottom: 24px;
}

.admin-section-header {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-items {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-item-card {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  display: grid;
  gap: 10px;
}

.admin-field {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.admin-input,
.admin-textarea {
  background: rgba(9, 12, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-family: inherit;
}

.admin-textarea {
  resize: vertical;
}

.admin-dropzone {
  margin-top: 6px;
  padding: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(9, 12, 24, 0.7);
  cursor: pointer;
}

.admin-dropzone.is-dragover {
  border-color: #8dff6a;
  color: #8dff6a;
  background: rgba(141, 255, 106, 0.08);
}

.admin-image-preview {
  margin-top: 8px;
  width: 100%;
  max-height: 140px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.button {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 16px;
  border-radius: 12px;
  font-family: inherit;
  cursor: pointer;
}

.button.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.25);
}
