/* ==========================================================
   GLOBAL.CSS (Grey Gradient + White Theme)
   - Body: NO background (transparent)
   - Header: modern floating pill + blur
   - Mobile nav: clean dark grey (no green)
   - Footer: white/grey band
   - Bootstrap-friendly (no .container override)
   ========================================================== */

/* ---------- Theme Tokens ---------- */
:root{
  --dark-950:#07080c;
  --dark-900:#0b0d12;
  --dark-850:#0f1117;
  --dark-800:#141821;

  --white:#ffffff;
  --light-100:#f7f8fb;
  --light-200:#eef1f6;
  --light-300:#e6eaf2;

  --text-dark:#0b0d12;
  --text-light:#f6f7fb;

  --muted-dark: rgba(11,13,18,.70);
  --muted-light: rgba(246,247,251,.72);

  --radius-16:16px;
  --radius-20:20px;
  --radius-24:24px;
  --pill:999px;

  --focus: rgba(255,255,255,.85);
}

/* ---------- Base Reset ---------- */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: "Switzer", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: transparent;          /* ✅ NO BODY BACKGROUND */
  color: var(--text-dark);
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
p{ margin:0; }

::selection{
  background: rgba(0,0,0,.15);
}

/* ---------- Accessibility ---------- */
.skip-link{
  position:absolute;
  left:-999px;
  top:12px;
  background:#fff;
  color:#000;
  padding:10px 12px;
  border-radius:12px;
  z-index:9999;
}
.skip-link:focus{ left:12px; }

:focus-visible{
  outline: 3px solid rgba(255,255,255,.45);
  outline-offset: 3px;
  border-radius: 10px;
}

/* ==========================================================
   HEADER (Modern grey/white theme)
   ========================================================== */

.site-header{
  position: fixed;
  left:0; right:0; top:0;
  z-index:1000;
  padding: 14px 0;
}

/* Floating pill bar */
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;

  padding: 10px 14px;
  border-radius: var(--pill);

  background: rgba(15, 17, 23, .55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: background .2s ease;
}

/* stronger on scroll (main.js adds .is-scrolled) */
.site-header.is-scrolled .header__inner{
  background: rgba(15, 17, 23, .78);
}

.brand__name{
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .2px;
  white-space: nowrap;
  color: rgba(255,255,255,.92);
}

/* Desktop nav */
.site-header .nav__list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  align-items:center;
  gap: 22px;
}

.site-header .nav__link{
  font-size: 14px;
  color: rgba(255,255,255,.72);
  position: relative;
  transition: color .18s ease;
}

.site-header .nav__link:hover{
  color: rgba(255,255,255,.96);
}

.site-header .nav__link.is-active{
  color: rgba(255,255,255,.96);
}

.site-header .nav__link.is-active::after{
  content:"";
  position:absolute;
  left:0; right:0;
  bottom:-10px;
  height:2px;
  border-radius:2px;
  background: rgba(255,255,255,.75);
}

.header__actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

/* Hamburger button */
.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: var(--pill);
  border: 0;
  background: rgba(255,255,255,.10);
  cursor:pointer;
}
.nav-toggle__bars{
  display:block;
  width:18px;
  height:2px;
  background:#fff;
  margin:0 auto;
  position:relative;
  border-radius:2px;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#fff;
  border-radius:2px;
}
.nav-toggle__bars::before{ top:-6px; }
.nav-toggle__bars::after{ top:6px; }

/* ==========================================================
   MOBILE NAV (no green, clean dark grey)
   - collapse earlier to avoid menu wrapping
   ========================================================== */
@media (max-width: 1100px){
   .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    position: relative;
    z-index: 1401; /* ✅ overlay se upar */
  }

  .header__cta{ display:none !important; }

  .site-header #primaryNav{
    position: fixed;
    top: 0;
    right: 0;                 /* ✅ bilkul corner */
    height: 100vh;

    width: min(360px, 92vw);  /* ✅ thora wide, gap less feel */
    padding: 80px 18px 18px;  /* ✅ right padding kam */

    background: rgba(15, 17, 23, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    transform: translateX(110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: transform .25s ease, opacity .2s ease, visibility .2s ease;
    z-index: 1300;
  }

  body.nav-open .site-header #primaryNav{
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  

  .site-header .nav__list{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  body.nav-open .site-header .nav{ transform: translateX(0); }
  body.nav-open{ overflow:hidden; }
  
  body.nav-open::before{
    content:"";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1100; 
    pointer-events: auto;
  }

  /* header pill becomes slightly rounded on mobile */
  .header__inner{
    border-radius: 22px;
  }
}

/* ==========================================================
   PAGE DEFAULT (for pages using .page class)
   - since body has no bg, pages should set bg here
   ========================================================== */
.page{
  padding: 140px 0 90px;
  background: linear-gradient(180deg, var(--white), var(--light-200));
  color: var(--text-dark);
}

@media (max-width: 992px){
  .page{
    padding: 120px 0 70px;
  }
}




/* Hamburger -> Cross when menu open */
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after{
  transition: transform .2s ease, top .2s ease, opacity .2s ease, background .2s ease;
}

body.nav-open #navToggle .nav-toggle__bars{
  background: transparent;
}

body.nav-open #navToggle .nav-toggle__bars::before{
  top: 0;
  transform: rotate(45deg);
}

body.nav-open #navToggle .nav-toggle__bars::after{
  top: 0;
  transform: rotate(-45deg);
}/* Hamburger -> Cross when menu open */
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after{
  transition: transform .2s ease, top .2s ease, opacity .2s ease, background .2s ease;
}

body.nav-open #navToggle .nav-toggle__bars{
  background: transparent;
}

body.nav-open #navToggle .nav-toggle__bars::before{
  top: 0;
  transform: rotate(45deg);
}

body.nav-open #navToggle .nav-toggle__bars::after{
  top: 0;
  transform: rotate(-45deg);
}












/* ===== Footer (Theme-matched) ===== */
.site-footer{
  background: linear-gradient(135deg, #0f1218, #2b313c);
  color: rgba(255,255,255,.82);
  padding: 70px 0 28px;
  overflow: hidden;
}

.site-footer .home-container{
  text-align: center;
  position: relative;
}

/* subtle glow */
.site-footer .home-container::before{
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.10), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(255,255,255,.08), transparent 50%);
  pointer-events: none;
}

.site-footer .home-container > *{
  position: relative;
  z-index: 1;
}

.footer-title{
  margin: 0 0 12px 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.footer-text{
  margin: 0 auto 18px;
  max-width: 820px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,.70);
}

/* Social */
.footer-social{
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 22px;
}

.footer-social-link{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;

  background: rgba(255,255,255,.92);
  color: #101319;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.10);
}

.footer-social-link:hover{
  background: rgba(255,255,255,.80);
}

/* Links */
.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a{
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.footer-links a:hover{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Bottom */
.footer-bottom{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 575.98px){
  .site-footer{
    padding: 55px 0 24px;
  }
  .footer-title{ font-size: 20px; }
  .footer-links{ gap: 14px; }
  .footer-social-link{ width: 42px; height: 42px; }
}








/* ==========================================================
   Small helpers
   ========================================================== */
.text-muted-theme{ color: var(--muted-dark) !important; }