:root{
  --bg:#081737;
  --card:#F4F7FB;
  --accent:#1E90FF;
  --accent2:#00D4FF;
  --muted:#6B7A8A;
  --text:#0B1B2B;
  --radius:12px;
  --container:1100px;
  --gap:24px;
  
  /* BASE */
  --bg-main: #020617;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-soft: rgba(255,255,255,0.035);

  /* TEXT */
  --text-main: #ffffff;
  --text-soft: #cfe7ff;
  --text-muted: rgba(207,231,255,0.65);

  /* ACCENTS */
  --violet-main: #7c3aed;
  --violet-soft: #a78bfa;
  --violet-glow: rgba(124,58,237,0.55);

  /* BORDERS */
  --border-soft: rgba(255,255,255,0.12);
  --border-glow: rgba(124,58,237,0.45);
   /* green premium */
  --green-main: #22c55e;
  --green-soft: #4ade80;
  --green-glow: rgba(34,197,94,0.45);
}
*{box-sizing:border-box
/* ===============================
   PREMIUM BUTTON CLICK FEEDBACK
================================ */

/* shared base */
.btn-primary,
.btn-ghost {
  position: relative;
  overflow: hidden;
  transition:
    transform .12s cubic-bezier(.2,.9,.2,1),
    box-shadow .18s ease,
    filter .18s ease;
  will-change: transform;
}

/* ACTIVE (PRESS) STATE */
.btn-primary:active,
.btn-ghost:active {
  transform: scale(0.96) translateY(1px);
  filter: brightness(1.05);
}
}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0; color:var(--text); background:#020617;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:var(--container); margin:0 auto; padding:48px 20px;}
.site-header{position:sticky; top:0; z-index:40; backdrop-filter: blur(6px); background:#020617; border-bottom:1px solid rgba(255,255,255,0.03);}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0;}
.brand{color:white; font-weight:700; font-size:1.2rem; text-decoration:none;}
.nav a{font-size: large;color:#dfeefb; margin-left:18px; text-decoration:none;}
.btn-primary{background:linear-gradient(90deg, #7833fe, #9a6bff); color:white; padding:10px 16px; border-radius:10px; text-decoration:none; display:inline-block;}
.btn-ghost{background:transparent; border:1px solid rgba(255,255,255,0.08); color:#cfe7ff; padding:8px 14px; border-radius:10px; text-decoration:none;}
.btn-outline{border-radius:10px; border:1px solid rgba(255,255,255,0.12); padding:8px 12px; color:#cfe7ff; text-decoration:none;}
.hero{padding:80px 0; color:white;}
.hero-inner{display:flex; gap:36px; align-items:center; justify-content:space-between;}
.hero-copy h1{font-size:2.2rem; margin:0 0 12px;}
.lead{opacity:0.9; color:#d7eaff; margin-bottom:18px}
.hero-media{min-width:320px; max-width:460px;}
.project-preview{background:rgba(255,255,255,0.03); padding:18px; border-radius:12px; border:1px solid rgba(255,255,255,0.04)}
.section{padding:72px 0; background:transparent; color:var(--text)}
.section.alt{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent)}
h2{color:var(--card); margin-bottom:10px}
.muted{color:var(--muted); font-size:0.95rem; margin-bottom:20px}
/* Grid */
.grid{display:grid; gap:var(--gap)}
.team-grid{grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));}
.card{background:var(--card); border-radius:var(--radius); padding:18px; box-shadow:0 8px 30px rgba(2,6,23,0.4); transition:transform .18s ease, box-shadow .18s ease;}
.card:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(2,6,23,0.5)}
.avatar{width:100%; height:140px; object-fit:cover; border-radius:10px; margin-bottom:12px;}
.role{color:var(--muted); margin:6px 0 10px;}
.team-grid .card ul{padding-left:18px; margin:0 0 12px; color:#234;}
.btn-link{background:transparent; border:none; color:var(--accent); cursor:pointer; font-weight:600; padding:6px 0}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  background: #020617;
  color: var(--text-main);
}
.section,
.section.alt,
.hero-premium,
.team-section-premium {
  background: transparent !important;
}
@media (max-width: 900px) {
  * {
    backdrop-filter: none !important;
  }
}

/* Projects */
.projects-grid{grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));}
.project-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* Timeline */
/* .timeline{display:flex; flex-direction:column; gap:16px; margin-top:12px} */
.step{background:rgba(255,255,255,0.03); padding:12px 16px; border-radius:10px; color:white}

/* Contact form */
.contact-form{display:grid; gap:12px; max-width:640px}
.contact-form input, .contact-form textarea{padding:12px; border-radius:8px; border:1px solid rgba(11,27,43,0.06)}
.site-footer{padding:28px 0; border-top:1px solid rgba(255,255,255,0.03); color:#cfe7ff; background:transparent}
h1 span{
    color: green;
    font-size: larger;
}
.h{
  font-size: 8rem;
  font-weight: bolder;
  height: 10rem;
  /* font-style: ; */
}
.R{
   /* font-size: 10rem;
  font-weight: bolder;
  height: 10rem;
  font-style: ; */
}
/* FAST PREMIUM LOADING OVERLAY */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: auto ;
}

/* Minimal clean loader */
.fast-loader {
  width: 50px ;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #4ade80; /* green accent */
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* success check */
.fast-check {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform: scale(0.7);
  transition: 220ms ease;
}

.fast-check.show {
  opacity:1;
  transform: scale(1);
}

.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
/* prateek - form section  */
/* -------------------- Full-width contact + Premium form (UPDATED) -------------------- */

.contact-fullwidth { padding: 0; }
.contact-fullwidth-bg {
  width: 100%;
  /* background: linear-gradient(135deg, rgba(2,8,35,0.86) 0%, rgba(5,12,40,0.75) 60%); */
  /* border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02); */
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* soft decorative glow */
.contact-fullwidth-bg::before{
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(closest-side, rgba(30,144,255,0.06), transparent 40%),
              radial-gradient(closest-side, rgba(0,212,255,0.03), transparent 30%);
  transform: rotate(12deg);
  pointer-events: none;
}

/* container inside full width */
.contact-form-wrap { max-width: var(--container); padding: 40px 20px; margin: 0 auto; }

/* main form panel */
.form-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(8px) saturate(120%);
}

/* header */
.panel-head h2 { color: var(--card); margin: 0 0 6px; font-size: 1.6rem; }
.panel-head .muted { color: var(--muted); opacity: .95; margin-bottom: 6px; }

/* layout rows */
.premium-form .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width:900px){ .premium-form .row{ grid-template-columns: 1fr; } }

/* field base */
.field {
  position: relative;
  margin-bottom: 22px; /* extra breathing room for floating labels */
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--card);
  font-size: 0.98rem;
  outline: none;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
  caret-color: var(--accent2);
  -webkit-appearance: none;
}

/* placeholder trick (use placeholder=" " in HTML) */
.field input::placeholder, .field textarea::placeholder { color: transparent; }

/* floating label */
.field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all .22s cubic-bezier(.2,.9,.2,1);
  color: rgba(207,231,255,0.85);
  background: transparent;
  padding: 0 6px;
  z-index: 2;
}

/* focus/active state for inputs */
.premium-form input:focus,
.premium-form textarea:focus { 
  box-shadow: 0 6px 24px rgba(14,32,80,0.35);
  border-color: rgba(30,144,255,0.95);
  transform: translateY(-1px);
}

/* floating state (more vertical spacing) */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -12px;                 /* moved farther up so it doesn't collide */
  left: 12px;
  font-size: 0.78rem;
  color: var(--accent2);
  background: #071428;        /* matches dark theme behind label */
  padding: 0 6px;
  border-radius: 6px;
  z-index: 4;
}

/* ------------- Phone field (fixed & premium) ------------- */
.phone-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* +91 prefix block */
.phone-field .country{
  display:flex; align-items:center; justify-content:center;
  padding: 14px 14px; /* slightly wider for breathing room */
  border-radius:12px 0 0 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: var(--card);
  font-weight:700;
  z-index: 3;
  flex: 0 0 auto;
}

/* input inside phone field — push content right to avoid overlap */
.phone-field input {
  border-radius: 0 12px 12px 0;
  border-left: none;
  padding-left: 60px !important; /* IMPORTANT: keeps text clear of the prefix */
  min-width: 0; /* fixes flexbox overflow in some browsers */
}

/* floating label inside phone field: align with padded input area */
.phone-field label {
  left: 60px; /* align with input text area */
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* when floating, adjust left slightly to keep neat */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  top: -12px;
  left: 56px;
  font-size: 0.78rem;
  background: #071428;
  padding: 0 6px;
  z-index: 4;
}

/* textarea height */
.premium-form textarea { min-height:120px; resize:vertical; }

/* submit area */
.form-controls { display:flex; gap:12px; align-items:center; margin-top:4px; flex-wrap:wrap; }

/* submit button polished */
.submit-btn {
  display:inline-flex; align-items:center; gap:12px;
  padding:12px 18px; border-radius:12px; border:none;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:white; font-weight:700; cursor:pointer; box-shadow: 0 8px 30px rgba(30,144,255,0.18);
  transition: transform .12s ease, box-shadow .18s ease, opacity .12s ease;
  position:relative; overflow:hidden;
}
.submit-btn:active{ transform: translateY(1px) scale(.998); }
.submit-btn .icon-send { width:18px; height:18px; fill:rgba(255,255,255,0.95); transform: translateX(0); transition: transform .22s cubic-bezier(.2,.9,.2,1); }
.submit-btn .btn-text{ letter-spacing:.2px; }

/* spinner */
.btn-spinner{
  width:20px; height:20px; border-radius:50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: rgba(255,255,255,0.95);
  display:inline-block; margin-left:8px; transform: scale(.6); opacity:0; pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  animation: spin .8s linear infinite;
}

/* loading state */
.submit-btn.loading { pointer-events:none; opacity:.98; }
.submit-btn.loading .btn-text { opacity:0; transform: translateX(-6px); }
.submit-btn.loading .icon-send { transform: translateX(-8px); opacity:0.0; }
.submit-btn.loading .btn-spinner { opacity:1; transform: scale(1); }

/* small spinner keyframes (reused) */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* status message */
.status-msg { color: #bcdffb; font-size:0.95rem; margin-left:6px; }

/* success modal */
.success-modal {
  position: fixed; inset:0; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(3,6,12,0.45), rgba(3,6,12,0.6));
  z-index:9999; opacity:0; pointer-events:none; transition: opacity .22s ease;
}
.success-modal.show { opacity:1; pointer-events:auto; }
.success-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:14px; padding:28px; text-align:center; width: min(520px, 92%);
  border:1px solid rgba(255,255,255,0.06); box-shadow: 0 22px 70px rgba(2,6,23,0.6);
}
.checkmark svg { width:72px; height:72px; stroke: none; fill: none; }
.checkmark { width:92px; height:92px; border-radius:50%; margin: 0 auto 8px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(90deg,#22c55e,#16a34a); box-shadow: 0 8px 30px rgba(34,197,94,0.16);
}
.checkmark svg path { stroke: white; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; fill:none; }

/* small helpers */
.btn-ghost { background: transparent; border:1px solid rgba(255,255,255,0.06); color: #cfe7ff; padding:8px 12px; border-radius:10px; }

/* responsive tweaks */
@media (max-width:520px) {
  .phone-field .country { padding: 12px 10px; font-size: 0.95rem; }
  .phone-field input { padding-left: 54px !important; }
  .phone-field label { left: 54px; }
  .phone-field input:focus + label,
  .phone-field input:not(:placeholder-shown) + label { left: 50px; }
}
.invalid {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 10px rgba(255,0,0,0.3) !important;
}

.shake {
  animation: shakeAnim 0.25s ease;
}

@keyframes shakeAnim {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* modal animation */
.success-modal .success-card {
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .28s ease;
}
.success-modal.show .success-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* subtle toast/status emphasis */
.status-msg {
  transition: opacity .18s ease, transform .18s ease;
}

/* form-level shake for serious errors */
form.shake { animation: shakeAnim 0.28s ease; }
/* success popup (premium tick) */

/* GIF SUCCESS POPUP */
/* GIF SUCCESS POPUP */
.gif-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99999;
}

.gif-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.gif-panel {
  background: #020617;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  color: #dff6ff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.gif-popup.show .gif-panel {
  transform: scale(1);
}

.gif-tick {
  width: 130px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 14px;
}


/* Responsive */
@media (max-width:900px){ .hero-inner{flex-direction:column; align-items:flex-start} .header-inner{align-items:center} .nav{display:none} .nav-toggle{display:block} }
@media (prefers-reduced-motion: reduce){ *{transition:none!important} }
/* nav - by prateek */
/* ===============================
   PREMIUM BRAND (HackRoot)
================================ */
.premium-brand {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-h {
  color: #4ade80;
  font-size: 1.8rem;
}

.brand-r {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* subtle glow */
.premium-brand:hover {
  text-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}

/* ===============================
   NAVBAR POLISH
================================ */
.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* links */
.nav-link {
  position: relative;
  color: #dfeefb;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
} */

/* ===============================
   TOGGLE BUTTON (FA ICON)
================================ */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ===============================
   MOBILE NAV
================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 20px;
    width: min(280px, 90%);
    background: rgba(8, 23, 55, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after {
    display: none;
  }
}
/* ===== BRAND SYSTEM ===== */
.premium-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-main {
  color: #ffffff;
}

.brand-accent {
  margin-left: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hover polish */
.premium-brand:hover {
  opacity: 0.95;
}
/* ===============================
   MOBILE NAV SAFE PADDING FIX
================================ */
.site-header .header-inner {
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}

/* extra micro spacing for brand & toggle */
.premium-brand {
  margin-left: 2px;
}

.nav-toggle {
  margin-right: 2px;
}
@media (max-width: 480px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
/* ===============================
   LOGO SHRINK ON SCROLL
================================ */
.site-header {
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.premium-brand {
  transition: transform 0.25s ease, font-size 0.25s ease;
}

.site-header.scrolled .premium-brand {
  transform: scale(0.92);
  opacity: 0.95;
}
/* ===============================
   TOUCH RIPPLE EFFECT
================================ */
.nav-toggle,
.nav-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.35);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    width: min(300px, 92%);
    padding: 22px;

    background: rgba(8, 23, 55, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 16px;

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* stagger */
  .nav.open .nav-link:nth-child(1){ transition-delay: .05s }
  .nav.open .nav-link:nth-child(2){ transition-delay: .1s }
  .nav.open .nav-link:nth-child(3){ transition-delay: .15s }
  .nav.open .nav-link:nth-child(4){ transition-delay: .2s }
  .nav.open .nav-link:nth-child(5){ transition-delay: .25s }
}
/* ===============================
   NAV LINK PRESS + ACTIVE STATE
================================ */
.nav-link {
  transition:
    color 0.2s ease,
    transform 0.12s ease,
    background 0.2s ease;
}

.nav-link:active {
  transform: scale(0.96);
}

/* active section highlight */
.nav-link.active {
  color: white;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}
/* ===============================
   NAV BACKDROP (PREMIUM)
================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   TOGGLE ICON FEEDBACK
================================ */
.nav-toggle i {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open i {
  transform: rotate(90deg) scale(1.1);
}
.nav-toggle:active {
  transform: scale(0.94);
}
/* ===============================
   LOGO MORPH ON SCROLL
================================ */
.premium-brand {
  transition:
    letter-spacing 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* scrolled state */
.site-header.scrolled .premium-brand {
  letter-spacing: -0.4px;
  transform: scale(0.92);
  opacity: 0.95;
}

/* individual letter tuning */
.site-header.scrolled .brand-h {
  font-size: 1.6rem;
}

.site-header.scrolled .brand-r {
  filter: brightness(1.05);
}
.premium-brand:hover {
  text-shadow:
    0 0 12px rgba(74,222,128,0.35),
    0 0 20px rgba(0,212,255,0.25);
}
.premium-brand {
  position: relative;
  overflow: hidden;
}

.premium-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.25),
    transparent 70%
  );
  transform: translateX(-120%);
}

.site-header.loaded .premium-brand::after {
  animation: sheen 1.2s ease forwards;
}

@keyframes sheen {
  to { transform: translateX(120%); }
}
.header-inner {
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 520px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
                          
















/* team section */

/* ===============================
   TEAM – PREMIUM STANDARD
================================ */

.team-section-premium {
  background: #020617;
}

.team-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.team-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: #7833fe;
}

.team-title {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: white;
   font-weight: 900;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.team-subtitle {
  color: #9ca3af;
  line-height: 1.6;
}

/* GRID */
.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARD */
/* ===============================
   TEAM CARD – COMPACT PREMIUM
================================ */

.team-member-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55);
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}


/* AVATAR */
.team-member-avatar {
  position: relative;
  height: 180px;
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.team-member-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}

/* NAME */
.team-member-body h3 {
  color: #f0f6ff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.team-member-role{
  color: #9ca3af;
  font-size: 0.85rem;
}


/* PROJECT TAGS */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.team-member-projects span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.7rem;
  font-weight: 600;
}


/* ===============================
   PREMIUM CTA BUTTON
================================ */

.team-profile-btn {
  margin-top: auto;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.12);
  color: #dff0ff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all .25s ease;
}

.team-profile-btn i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform .25s ease;
}

.team-profile-btn:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 30px rgba(30,144,255,0.45);
}

.team-profile-btn:hover i {
  transform: translateX(4px);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 600px) {
  .team-member-avatar {
    height: 160px;
  }
}


/* toogle */
/* ===============================
   TEAM – ADVANCED INTERACTIONS
================================ */

.team-member-card {
  position: relative;
  overflow: hidden;
}

/* SOCIAL ICONS */
.team-member-social {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(5,12,40,0.6);
  opacity: 0;
  transition: opacity .25s ease;
}

.team-member-social a {
  color: white;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  border-radius: 50%;
}

.team-member-card:hover .team-member-social {
  opacity: 1;
}

/* WORKED ON BADGES */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.team-member-projects span {
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* TOGGLE BUTTON */
.team-profile-btn {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: var(--accent2);
  font-weight: 600;
  cursor: pointer;
}

/* EXPAND PANEL */


/* TIMELINE */
.member-timeline {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.member-timeline div {
  font-size: .9rem;
  color: #dff0ff;
  margin-bottom: 6px;
}

/* PHILOSOPHY */
.member-philosophy {
  padding: 16px 22px 22px;
}

.member-philosophy h4 {
  font-size: .85rem;
  letter-spacing: .18em;
  color: var(--accent2);
  margin-bottom: 6px;
}

.member-philosophy p {
  font-size: .9rem;
  color: #cfe7ff;
  line-height: 1.6;
}

/* AUTO HIGHLIGHT */
.team-member-card.highlight {
  box-shadow:
    0 0 0 2px var(--accent),
    0 30px 80px rgba(30,144,255,.45);
}

/* ===============================
   TEAM QUICK VIEW PANEL
================================ */

/* ===============================
   QUICK VIEW MODAL (ECOM STYLE)
================================ */

/* ===============================
   QUICK VIEW – DESKTOP + MOBILE
================================ */

.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,20,0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.quickview-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* CARD */
.quickview-card {
background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);

  color: #f0f6ff;  width: min(900px, 94%);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 26px;
  transform: scale(.94);
  transition: transform .3s ease;
  position: relative;
}

.quickview-overlay.show .quickview-card {
  transform: scale(1);
}

/* CLOSE */
.quickview-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
}

/* IMAGE + ZOOM */
.quickview-media {
  overflow: hidden;
  border-radius: 14px;
}

.quickview-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  transition: transform .4s ease;
}

.quickview-media:hover img {
  transform: scale(1.08);
}

/* CONTENT */
.qv-category {
  font-size: .7rem;
  letter-spacing: .25em;
  color: #7833fe;
  font-weight: 700;
}

.qv-role {
  color: #475569;
  margin: 6px 0 10px;
}

.qv-desc {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* TAGS */
.qv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.qv-tags span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .75rem;
}

/* TIMELINE */
.qv-timeline {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.qv-timeline li {
  font-size: .9rem;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.qv-timeline li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}

/* ACTIONS */
.qv-actions {
  display: flex;
  gap: 12px;
}

/* ===============================
   MOBILE BOTTOM SHEET
================================ */

@media (max-width: 768px) {
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
    width: 100%;
    height: 92vh;
    border-radius: 18px 18px 0 0;
    grid-template-columns: 1fr;
    transform: translateY(100%);
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  .quickview-media img {
    max-height: 260px;
  }
}
/* =========================================
   QUICK VIEW — MOBILE REFINED EXPERIENCE
========================================= */

@media (max-width: 768px) {

  /* Bottom-sheet behavior */
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
     background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);
    color: #f0f6ff;
    width: 100%;
    height: 94vh;
    border-radius: 22px 22px 0 0;
    grid-template-columns: 1fr;
    padding: 0;
    transform: translateY(100%);
    overflow: hidden;
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  /* Drag handle (visual cue) */
  .quickview-card::before {
    content: "";
    width: 44px;
    height: 5px;
    background: rgba(0,0,0,0.18);
    border-radius: 99px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Image becomes hero */
  .quickview-media {
    border-radius: 0;
  }

  .quickview-media img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
  }

  /* Content spacing */
  .quickview-content {
    padding: 18px 20px 24px;
    overflow-y: auto;
  }

  /* Typography scaling */
  #qvName {
    color: #f0f6ff;
    font-weight: 900;
    font-size: 1.45rem;
    margin-top: 6px;
  }

  .qv-role {
    color: #9ca3af;
    font-size: 0.95rem;
  }

  .qv-desc {
    color: #cfe7ff;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* Tags — more breathable */
  .qv-tags span {
    background: rgba(255,255,255,0.1);
    color: #f0f6ff;
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Timeline clarity */
  .qv-timeline li {
    color: #dff0ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* CTA buttons — thumb friendly */
  .qv-actions {
    position: sticky;
    bottom: 0;
    /* background: #ffffff; */
    padding: 14px 0 6px;
    gap: 12px;
  }

  .qv-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  /* Close button reposition */
  .quickview-close {
    top: 12px;
    right: 14px;
    font-size: 1.6rem;
    z-index: 2;
  }
  .qv-timeline li::before {
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
  }
}



/* ===============================
   SKELETON SHIMMER
================================ */

.skeleton .quickview-media img,
.skeleton #qvName,
.skeleton .qv-role,
.skeleton .qv-desc,
.skeleton .qv-tags,
.skeleton .qv-timeline,
.skeleton .qv-actions {
  color: transparent;
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.team-profile-btn:active,
.qv-actions a:active,
.quickview-close:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}

.quickview-card {
  animation: sheetPop 0.35s cubic-bezier(.2,.9,.2,1);
}

@keyframes sheetPop {
  from {
    transform: translateY(100%) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
/* ======================================
   PREMIUM LEAD BADGE (TOP-RIGHT CORNER)
====================================== */

.team-member-avatar {
  position: relative;
}

/* Badge base */
.team-lead-badge {
  position: absolute;
  top: 14px;
  right: 14px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #052e1a;
  background: linear-gradient(
    135deg,
    #22c55e,
    #4ade80
  );

  border: 1px solid rgba(255,255,255,0.45);

  box-shadow:
    0 8px 26px rgba(34,197,94,0.55),
    0 0 0 1px rgba(255,255,255,0.35);

  backdrop-filter: blur(6px);
  z-index: 3;
}

/* Subtle glow ring */
.team-member-card.lead .team-lead-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(34,197,94,0.35),
    transparent 70%
  );
  z-index: -1;
}

/* Hover enhancement */
.team-member-card.lead:hover .team-lead-badge {
  box-shadow:
    0 12px 40px rgba(34,197,94,0.75),
    0 0 0 1px rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

/* Mobile refinement */
@media (max-width: 768px) {
  .team-lead-badge {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.6rem;
  }
}



/* team section end her  */

/* hero section start here  */

/* =====================================
   PREMIUM HERO — HACKROOT
===================================== */

.hero-premium {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #020617;
  overflow: hidden;
}

/* subtle gradient backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(120,51,254,0.25), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(30,144,255,0.18), transparent 60%),
    radial-gradient(600px 400px at 50% 90%, rgba(34,197,94,0.15), transparent 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* ================= TEXT ================= */

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: #a78bfa; /* timeline violet */
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #f0f6ff;
  margin-bottom: 14px;
}

.hero-title .accent {
  color: #7833fe;
}

.hero-subline {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #9ca3af;
  margin-top: 10px;
}

.hero-desc {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cfe7ff;
  margin: 18px 0 32px;
}

/* ================= CTAs ================= */

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* ================= VISUAL ================= */

.hero-visual {
  position: relative;
  height: 420px;
}

/* glowing orb */
.hero-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #7833fe, transparent 60%),
    radial-gradient(circle at 70% 70%, #1e90ff, transparent 65%);
  filter: blur(30px);
  opacity: 0.75;
  animation: orbFloat 8s ease-in-out infinite;
}

/* grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    height: 300px;
    margin-top: 40px;
  }
}

/* ===============================
   HERO MOBILE — SINGLE FLOW
================================ */

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .hero-visual {
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .hero-orb {
    width: 220px;
    height: 220px;
    filter: blur(28px);
    opacity: 0.45;
  }

  .hero-grid {
    opacity: 0.45;
    background-size: 34px 34px;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-subline {
    font-size: 1.15rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin: 14px auto 28px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas a {
    width: 100%;
    padding: 14px 0;
    border-radius: 14px;
  }
}


/* hero end here */
/* nav starts here  */

/* ==================================================
   PREMIUM NAVBAR — HACKROOT
================================================== */

/* BASE */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* scrolled state */
.site-header.scrolled {
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

/* layout */
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================================
   BRAND
================================================== */

.premium-brand {
  position: relative;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.brand-main {
  color: #f0f6ff;
}

.brand-accent {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================================================
   DESKTOP NAV LINKS
================================================== */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* underline accent */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  transition: width 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
}

.nav-cta:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,0.45);
} */

/* ==================================================
   NAV TOGGLE (MOBILE BUTTON)
================================================== */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ==================================================
   MOBILE NAV — FLOATING PANEL
================================================== */

@media (max-width: 900px) {

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 16px;
    width: min(320px, 92%);
    padding: 24px;

    background: rgba(8, 23, 55, 0.94);
    backdrop-filter: blur(16px) saturate(160%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 18px;

    box-shadow: 0 28px 80px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-6px);
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.open .nav-link:nth-child(1){ transition-delay:.05s }
  .nav.open .nav-link:nth-child(2){ transition-delay:.1s }
  .nav.open .nav-link:nth-child(3){ transition-delay:.15s }
  .nav.open .nav-link:nth-child(4){ transition-delay:.2s }
  .nav.open .nav-link:nth-child(5){ transition-delay:.25s }


  .nav-link::after {
    display: none;
  }
}

/* ==================================================
   BACKDROP
================================================== */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ==================================================
   HACKROOT — PREMIUM NAV (FINAL)
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- BRAND ---------------- */

.premium-brand {
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand-main { color: #f0f6ff; }

.brand-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- DESKTOP NAV ---------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.nav-cta:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,.45);
} */

/* ---------------- TOGGLE ---------------- */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ---------------- MOBILE NAV ---------------- */

@media (max-width: 900px) {

  .nav-toggle { display: flex; }

   .nav {
    position: fixed;
    top: 78px;
    right: 14px;

    width: 260px;          /* 🔥 compact width */
    padding: 22px 20px;

    background: #020617;
    backdrop-filter: blur(18px) saturate(160%);
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
      0 24px 70px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.12);

    display: flex;
    flex-direction: column;
    gap: 14px;             /* tighter vertical rhythm */

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }
.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 12px;
    color: #e5f0ff;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(
  135deg,
  rgba(120, 51, 254, 0.22),
  rgba(120, 51, 254, 0.05)
);
    color: #ffffff;
  }

  /* .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
  } */

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after { display: none; }
}

/* ---------------- BACKDROP ---------------- */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   ACTIVE DOT INDICATOR
================================ */

@media (max-width: 900px) {
  .nav-link {
    position: relative;
  }

  .nav-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .nav-link.active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}
/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.nav-link:active,
.nav-cta:active,
.nav-toggle:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}
/* REMOVE BLUE TAP HIGHLIGHT (mobile) */
.nav-toggle {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* REMOVE DEFAULT FOCUS RING */
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

/* CLEAN ACTIVE STATE (no blue flash) */
.nav-toggle:active {
  background: transparent;
}
.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.quickview-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.projects-premium {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

.projects-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.projects-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--accent2);
}

.projects-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #f0f6ff;
  margin: 10px 0 8px;
}

.projects-subtitle {
  color: #9fb4d6;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
}

/* ---------- PROJECT STACK ---------- */
.projects-stack {
  display: grid;
  gap: 28px;
}

/* =====================================================
   PROJECT CARD (ARTICLE)
===================================================== */
.project-glass {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  cursor: pointer;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(2,6,23,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.03);

  transition: transform .25s ease, box-shadow .25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* title */
.project-glass h3 {
  color: #f0f6ff;
  font-size: 1.35rem;
  margin: 14px 0 10px;
}

/* description */
.project-desc {
  color: #cfe0ff;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- STATUS / BADGES ---------- */
.project-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.launch-badge,
.project-status {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.launch-badge.building {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}

.project-status.planning {
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* ---------- PROGRESS ---------- */
.progress-wrap {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9fb4d6;
  margin-bottom: 6px;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ---------- FOOT ---------- */
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}

.view-details {
  color: var(--accent2);
  font-weight: 600;
}

.github-link {
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

/* =====================================================
   MERGED PRINCIPLES (PROJECTS)
===================================================== */
/* ===============================
   PRINCIPLES — PREMIUM POSITIONING
================================ */

/* .principles-merged {
  margin-top: 64px; more breathing room 
  padding: 28px;

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(2,6,23,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
 */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.35rem; /* bigger */
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* .principles-head h3 {
  font-size: 1.15rem;
  color: #f0f6ff;
  display: flex;
  align-items: center;
  gap: 10px;
} */

/* badge */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;

  padding: 6px 12px;
  border-radius: 999px;

  background:
    linear-gradient(90deg, #ef4444, #f97316);

  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 10px 30px rgba(239,68,68,0.35);
}


/* toggle */
.principles-toggle {
  font-size: 0.8rem;
  font-weight: 600;

  padding: 8px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);

  color: #e6f1ff;
  transition: background 0.2s ease, transform 0.15s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}


/* list */
.principles-list {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.principles-list.collapsed {
  max-height: 0;
  opacity: 0;
}

.principles-list li {
  position: relative;
  padding: 18px 20px 18px 52px;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;

  font-size: 0.95rem;
  line-height: 1.6;

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(2,6,23,0.65);
}


.principles-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;

  color: #9fb4d6;
  opacity: 0.75;
}


/* =====================================================
   PROJECT MODAL — PREMIUM
===================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(6px);
}

.project-panel {
  position: relative;
  max-width: 860px;
  width: min(94%, 860px);
  margin: 6vh auto;
  padding: 32px;
  max-height: 88vh;
  overflow-y: auto;

  background: linear-gradient(
    180deg,
    rgba(8,23,55,0.98),
    rgba(8,23,55,0.94)
  );

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}

.project-close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #cfe7ff;
  cursor: pointer;
}

/* modal typography */
.pm-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.pm-section {
  margin-top: 26px;
}

.pm-section h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb4d6;
  margin-bottom: 8px;
}

.pm-section p {
  color: #e6f1ff;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* tags */
.pm-tags span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
}

/* confidence */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.confidence-grid div {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.confidence-grid span {
  display: block;
  font-size: 0.75rem;
  color: #9bbcff;
}

.confidence-grid strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

/* roadmap */
.roadmap {
  list-style: none;
  padding: 0;
}

.roadmap li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #d7eaff;
}

.roadmap li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #6b7280;
}

.roadmap li.done::before {
  content: "✓";
  color: #22c55e;
}

.roadmap li.active::before {
  content: "→";
  color: #60a5fa;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .project-glass {
    padding: 22px;
  }

  .project-panel {
    padding: 22px;
  }

  .pm-title {
    font-size: 1.6rem;
  }
}
/* ===============================
   PROJECT META — VISIBILITY FIX
================================ */

.project-focus,
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.project-focus span,
.project-tech span {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;

  color: #e6f1ff; /* FIXED: light text */
  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
/* =====================================================
   PROJECTS — TIMELINE DESIGN LANGUAGE
===================================================== */

.projects-premium {
  background: #020617;
}

.projects-eyebrow {
  color: #7833fe; /* same as timeline eyebrow */
}

.projects-title span {
  color: #7833fe; /* optional highlight */
}

.projects-subtitle {
  color: #9ca3af; /* same as timeline subtitle */
}
.project-glass {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 18px;
  cursor: pointer;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55); /* violet */
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-focus span,
.project-tech span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;

  background: rgba(255,255,255,0.1);
  color: white;

  border: 1px solid rgba(255,255,255,0.14);
}
/* =====================================================
   PRINCIPLES — EXECUTIVE PREMIUM
===================================================== */

/* .principles-merged {
  margin-top: 80px;
  padding: 40px;

  border-radius: 28px;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.12),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
} */
.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
}
.principles-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.principles-list li {
  padding: 22px 26px 22px 60px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.7;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.45);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.principles-list li:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 90px rgba(2,6,23,0.65);
}
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}

/* color sync */
.principles-list li[data-phase="learning"]::after {
  background: rgba(255,255,255,0.15);
}

.principles-list li[data-phase="building"]::after {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 16px rgba(120,51,254,0.6);
}

.principles-list li[data-phase="hackathon"]::after {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}
@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
  }

  .principles-list li {
    padding: 20px 20px 20px 54px;
    font-size: 0.95rem;
  }
}
/* =====================================================
   PRINCIPLES — ELITE EXPANDABLE PANEL
===================================================== */

.principles-merged {
  margin-top: 88px;
  padding: 36px 40px;

  border-radius: 28px;
  position: relative;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.14),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ---------------- HEADER ---------------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* NON-NEGOTIABLE BADGE */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #ef4444, #f97316);
  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 12px 30px rgba(239,68,68,0.45);
}

/* ---------------- TOGGLE ---------------- */

.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 0.85rem;
  font-weight: 700;

  padding: 10px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #e6f1ff;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.principles-toggle i {
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
}

/* rotate when open */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* ---------------- LIST WRAPPER ---------------- */

.principles-list {
  margin-top: 28px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 18px;

  overflow: hidden;
  max-height: 0;
  opacity: 0;

  transition:
    max-height 0.55s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-merged.open .principles-list {
  opacity: 1;
}

/* ---------------- ITEM ---------------- */

.principles-list li {
  position: relative;
  padding: 22px 26px 22px 68px;

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.65;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.55);

  transform: translateY(14px);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.45s ease,
    box-shadow 0.25s ease;
}

/* reveal when expanded */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

/* stagger */
.principles-merged.open .principles-list li:nth-child(1){transition-delay:.05s}
.principles-merged.open .principles-list li:nth-child(2){transition-delay:.12s}
.principles-merged.open .principles-list li:nth-child(3){transition-delay:.18s}
.principles-merged.open .principles-list li:nth-child(4){transition-delay:.24s}

/* hover lift */
.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.75);
}

/* LEFT ICON RAIL */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* PHASE LABEL */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #9fb4d6;
  opacity: 0.75;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
    margin-top: 64px;
  }

  .principles-head h3 {
    font-size: 1.35rem;
  }

  .principles-list li {
    padding: 20px 20px 20px 56px;
    font-size: 0.95rem;
  }
}
               

























/* ===============================
   PRINCIPLES — PREMIUM MERGED
================================ */

.principles-merged {
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(2,6,23,0.55);
  backdrop-filter: blur(10px);
}

/* header row */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-nonneg {
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #1f0a00;
}

/* toggle button */
.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  color: #cfe7ff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

/* list base */
.principles-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;

  display: grid;
  gap: 14px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.25s ease;
}

/* expanded */
.principles-merged.open .principles-list {
  max-height: 600px;
  opacity: 1;
}

/* rotate icon */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* list items */
.principles-list li {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #e6f1ff;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);

  transform: translateY(8px);
  opacity: 0;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* stagger reveal */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

.principles-merged.open .principles-list li:nth-child(1){ transition-delay:.05s }
.principles-merged.open .principles-list li:nth-child(2){ transition-delay:.1s }
.principles-merged.open .principles-list li:nth-child(3){ transition-delay:.15s }
.principles-merged.open .principles-list li:nth-child(4){ transition-delay:.2s }

/* mobile */
@media (max-width: 768px) {
  .principles-merged {
    padding: 22px 20px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===============================
   PRINCIPLE HIGHLIGHT STATES
================================ */

.principles-list li.active-principle {
 /*  border-color: rgba(120,51,254,0.65);
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.5),
    0 30px 80px rgba(120,51,254,0.45);
  transform: translateY(-6px); */
}

.principles-list li.dimmed {
  opacity: 0.45;
  filter: saturate(0.8);
}

/* scroll base */
.principles-merged {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.principles-merged.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   PRINCIPLES ITEM — FIXED LAYOUT
================================ */

.principles-list li {
  position: relative;
  padding: 22px 88px 22px 64px; /* RIGHT SPACE RESERVED FOR BADGE */
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;
  font-size: 1rem;
  line-height: 1.65;

  box-shadow: 0 20px 60px rgba(2,6,23,0.55);
}

/* LEFT BULLET — PERFECT CENTER */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* RIGHT PHASE BADGE — NO OVERLAP */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.14);
  color: #cfe7ff;
}
@media (max-width: 640px) {
  .principles-list li {
    padding: 20px 20px 20px 56px;
  }

  .principles-list li::after {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 10px;
    opacity: 0.85;
  }
}
/* ===============================
   PROJECT PANEL — ULTRA PREMIUM
================================ */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,8,25,0.65);
  backdrop-filter: blur(4px);
}

.premium-panel {
  position: relative;
  max-width: 1100px;
  height: 85vh;
  margin: 6vh auto;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  animation: panelIn .4s ease;
}

@keyframes panelIn {
  from { opacity:0; transform: translateY(20px) scale(.98); }
  to   { opacity:1; transform:none; }
}

/* CLOSE */
.project-close {
  position:absolute;
  top:16px;
  right:20px;
  background:none;
  border:none;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
}

/* HEADER */
.pp-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:28px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.pp-status {
  display:inline-block;
  font-size:.7rem;
  font-weight:800;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:10px;
}

.pp-status.building {
  background: linear-gradient(90deg,#22c55e,#4ade80);
  color:#022c22;
}

.pp-header h2 {
  margin:0;
  color:white;
  font-size:1.8rem;
}

.pp-header p {
  color:#bcdffb;
  max-width:520px;
}

.pp-actions {
  display:flex;
  gap:12px;
}

/* BODY */
.pp-body {
  display:grid;
  grid-template-columns: 300px 1fr;
  height:100%;
  overflow:hidden;
}

/* LEFT */
.pp-meta {
  padding:24px;
  border-right:1px solid rgba(255,255,255,0.06);
  overflow-y:auto;
}

.pp-meta h4 {
  color:white;
  margin-bottom:10px;
}

.tag-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tag-list span {
  padding:6px 12px;
  border-radius:999px;
  font-size:.75rem;
  background: rgba(255,255,255,0.1);
  color:#e6f1ff;
}

.readiness div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

meter {
  width:140px;
}

/* RIGHT */
.pp-content {
  padding:28px;
  overflow-y:auto;
}

.pp-content h3 {
  color:white;
  margin-bottom:8px;
}

.pp-content p,
.pp-content li {
  color:#cfe7ff;
  line-height:1.7;
}

/* TEAM */
.team-contrib {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap:14px;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-card h5 {
  margin:0;
  color:white;
}

.team-card span {
  font-size:.8rem;
  color:#9fb4d6;
}

/* ROADMAP */
.roadmap li {
  margin-bottom:8px;
}

.roadmap li.done { color:#22c55e; }
.roadmap li.active { color:#60a5fa; }
.project-modal {
  display: none;
}
.project-modal.show {
  display: block;
}
/* ===============================
   READINESS — ADVANCED
================================ */
.readiness-adv {
  display: grid;
  gap: 16px;
}

.readiness-item {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.r-head {
  display:flex;
  justify-content:space-between;
  margin-bottom:6px;
  color:white;
}

.r-status {
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
}

.r-bar {
  height:6px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
  overflow:hidden;
  margin:6px 0;
}

.r-bar span {
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg,#22c55e,#4ade80);
}

.r-desc {
  font-size:.85rem;
  color:#bcdffb;
}

/* ===============================
   CONTENT BLOCKS
================================ */
.pp-block {
  background: rgba(255,255,255,0.04);
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  margin-bottom:18px;
}

.pp-block h3 {
  color:white;
  margin-bottom:8px;
}

/* ===============================
   ARCHITECTURE
================================ */
.arch-steps {
  display:grid;
  gap:10px;
}

.arch-step {
  padding:12px 14px;
  border-left:3px solid #60a5fa;
  background: rgba(255,255,255,0.04);
  border-radius:10px;
  color:#dbeafe;
}

/* ===============================
   TEAM PREMIUM
================================ */
.team-premium {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.team-p-card {
  background: rgba(255,255,255,0.05);
  border-radius:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-p-card h5 {
  margin:0;
  color:white;
}

.team-role {
  display:inline-block;
  margin:6px 0;
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: linear-gradient(90deg,#1e90ff,#60a5fa);
  color:white;
}

.team-p-card ul {
  padding-left:18px;
  color:#cfe7ff;
  font-size:.85rem;
}
/* ===============================
   PRINCIPLES — TIMELINE SYNCED
================================ */

.principles-merged {
  margin-top: 72px;
  padding: 32px;
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  backdrop-filter: blur(10px);
}

/* ---------- HEADER ---------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
}

/* ---------- NON-NEGOTIABLE BADGE (FIXED) ---------- */

.badge-nonneg {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 7px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #7833fe, #22c55e);
  color: #041b12;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 35px rgba(120,51,254,0.45);

  text-transform: uppercase;
}

/* ---------- TOGGLE ---------- */

.principles-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e6f1ff;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.principles-toggle i {
  transition: transform 0.35s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ---------- LIST ---------- */

.principles-list {
  margin-top: 22px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.6s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-list.show {
  max-height: 800px;
  opacity: 1;
}

/* ---------- ITEM ---------- */

.principles-list li {
  position: relative;
  padding: 20px 22px 20px 56px;
  border-radius: 18px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  color: #e6f1ff;
  font-size: 0.95rem;
  line-height: 1.7;

  box-shadow: 0 18px 50px rgba(2,6,23,0.55);
  backdrop-filter: blur(6px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 80px rgba(2,6,23,0.75);
}

/* ---------- TIMELINE DOT ---------- */

.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.8);
}

/* ---------- PHASE TAG ---------- */

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #9ca3af;
  opacity: 0.85;
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  .principles-merged {
    padding: 22px;
  }

  .principles-head h3 {
    font-size: 1.25rem;
    flex-wrap: wrap;
  }

  .principles-list li {
    padding: 18px 18px 18px 50px;
  }

  .principles-list li::after {
    display: none; /* clean mobile UX */
  }
}
/* MODAL WRAPPER */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

/* overlay stays fixed */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.7);
  backdrop-filter: blur(6px);
}

/* MAIN PANEL */
.project-panel {
  position: relative;
  margin: auto;
  height: min(92vh, 900px);
  width: min(1200px, 96vw);
  background: linear-gradient(180deg, #071428, #081a36);
  border-radius: 20px;
  overflow: hidden; /* 🔑 important */
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 120px rgba(0,0,0,0.6);
}
.pp-header {
  flex-shrink: 0;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 23, 55, 0.85);
  backdrop-filter: blur(8px);
}
.pp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 28px;
  overflow-y: auto;     /* ✅ ONLY SCROLL HERE */
  overscroll-behavior: contain;
}

/* smooth premium scrollbar */
.pp-body::-webkit-scrollbar {
  width: 8px;
}
.pp-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: 999px;
}
.pp-meta,
.pp-content {
  overflow: visible; /* ❌ no scroll here */
}
@media (max-width: 900px) {
  .project-panel {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pp-meta {
    order: 2;
    background: rgba(255,255,255,0.02);
    padding: 18px;
    border-radius: 16px;
  }

  .pp-content {
    order: 1;
  }

  .pp-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.project-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 50;

  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(8,23,55,0.85);
  backdrop-filter: blur(6px);

  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .15s ease, background .2s ease;
}

.project-close:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.06);
}

.project-close:active {
  transform: scale(0.94);
}
.pp-header {
  position: sticky;
  top: 0;
  z-index: 10;

  padding: 28px 72px 24px 28px; /* space for close btn */
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
@media (max-width: 900px) {

  .project-panel {
    width: 100vw;
    height: 100dvh; /* better than 100vh on mobile */
    max-height: none;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px 18px 32px;
  }

  .pp-meta {
    order: 2;
    margin-top: 24px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .pp-content {
    order: 1;
  }

  .project-close {
    top: 14px;
    right: 14px;
  }
}
/* ===============================
   PRINCIPLES — MOBILE PREMIUM FIX
================================ */
@media (max-width: 768px) {

  .principles-merged {
    margin-top: 40px;
    padding: 20px;
    border-radius: 18px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .principles-head h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .badge-nonneg {
    font-size: 0.55rem;
    padding: 5px 10px;
  }

  .principles-toggle {
    width: 100%;
    justify-content: space-between;
    display: flex;
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  /* list container */
  .principles-list {
    margin-top: 14px;
    gap: 10px;
  }

  /* individual item */
  .principles-list li {
    padding: 14px 16px 14px 42px;
    font-size: 0.9rem;
    line-height: 1.55;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* remove hover lift on mobile */
  .principles-list li:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* bullet */
  .principles-list li::before {
    left: 16px;
    width: 8px;
    height: 8px;
  }

  /* phase label → inline, not floating */
  .principles-list li::after {
    position: static;
    display: block;
    margin-top: 6px;
    transform: none;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
  }
}
/* =====================================================
   CONTACT / JOIN FORM — ULTRA PREMIUM (TIMELINE SYNCED)
===================================================== */

.contact-fullwidth {
  padding: 0;
  background: #020617;
}

.contact-fullwidth-bg {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(1200px 600px at 10% -20%, rgba(120,51,254,0.18), transparent 40%),
    radial-gradient(900px 500px at 90% 20%, rgba(167,139,250,0.12), transparent 45%),
    linear-gradient(180deg, #020617, #030a1f);
  overflow: hidden;
}

/* ambient glow */
/* .contact-fullwidth-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: #020617;
  pointer-events: none;
} */

/* container */
.contact-form-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= PANEL ================= */

.form-panel {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 40px 120px rgba(2,6,23,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ================= HEADER ================= */

.panel-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.panel-head .muted {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================= FORM GRID ================= */

.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* ================= FIELD ================= */

.field {
  position: relative;
  margin-top: 26px;
}

.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .15s ease;
}

.premium-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* focus glow */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7833fe;
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.8),
    0 12px 40px rgba(120,51,254,0.35);
  transform: translateY(-1px);
}

/* ================= FLOATING LABEL ================= */

.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #c7d2fe;
  pointer-events: none;
  transition: all .25s cubic-bezier(.2,.9,.2,1);
  background: transparent;
}

/* active / floated */
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  top: -12px;
  font-size: 0.75rem;
  color: #a78bfa;
  background: #020617;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ================= PHONE FIELD ================= */

.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 17.5px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

.phone-field label {
  left: 64px;
}

.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 60px;
}

/* ================= CONTROLS ================= */

.form-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= SUBMIT BUTTON ================= */

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  border: none;
  cursor: pointer;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.3px;

  box-shadow:
    0 18px 50px rgba(120,51,254,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform .15s ease,
    box-shadow .25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(120,51,254,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.45);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* loading state */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.9;
}
.phone-field .country
/* ================= STATUS ================= */

.status-msg {
  font-size: 0.95rem;
  color: #c7d2fe;
}

/* ================= MOBILE ================= */

@media (max-width: 520px) {
  .form-panel {
    padding: 26px;
    border-radius: 20px;
  }

  .panel-head h2 {
    font-size: 1.4rem;
  }
}/* ===============================
   PROJECT PRINCIPLES – VISIBILITY FIX
================================ */

.principles-merged {
 /*  margin-top: 64px;
  padding: 32px; */
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 70px rgba(2,6,23,0.6);

  backdrop-filter: blur(10px);
}

/* header alignment */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  color: #f0f6ff;
  font-weight: 800;
}

/* NON-NEGOTIABLE badge */
.badge-nonneg {
  margin-left: 10px;
  font-size: 0.65rem;
  padding: 6px 14px;
  border-radius: 999px;
  /* background: linear-gradient(90deg,#ef4444,#f97316); */
  color: white;
  letter-spacing: 1px;
  font-weight: 800;
}
/* ===============================
   PRINCIPLES TOGGLE FIX
================================ */

.principles-list {
  margin-top: 24px;
  list-style: none;
  padding-left: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease;
}

.principles-list.open {
  max-height: 600px;
  opacity: 1;
}

/* items */
.principles-list li {
  padding: 18px 20px 18px 52px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  color: #f0f6ff;
  position: relative;
  font-size: 0.95rem;
}

/* bullet */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  transform: translateY(-50%);
}
.principles-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 16px;
  border-radius: 14px;
  color: #e6f1ff;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ===============================
   PRINCIPLES – VISIBILITY RESET (FIX)
================================ */

/* parent must ALWAYS be visible */
.principles-merged {
  opacity: 1 !important;
  transform: none !important;
}

/* list container controlled by toggle only */
.principles-list {
  opacity: 1;
}

/* items start hidden ONLY for reveal animation */
.principles-list li {
  opacity: 0;
  transform: translateY(14px);
}

/* revealed state */
.principles-list li.reveal {
  opacity: 1;
  transform: translateY(0);
}
.principles-list li::before {
  opacity: 0;
  transform: scale(0.6) translateY(-50%);
}

.principles-list li.reveal::before {
  opacity: 1;
  transform: scale(1) translateY(-50%);
}
.contrib-list {
  display: grid;
  gap: 10px;
}

.contrib-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.contrib-item strong {
  color: #f0f6ff;
  font-weight: 700;
}

.contrib-item span {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-left: 10px;
}
.roadmap-list {
  display: grid;
  gap: 10px;
  padding-left: 0px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.roadmap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  box-shadow: 0 0 10px rgba(30,144,255,0.6);
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}

.roadmap-item span {
  color: #e5f3ff;
  font-size: 0.9rem;
}
.pp-meta h3{
  color: white;
}
/* ===============================
   PROJECT PANEL – TEAM CONTENT
================================ */

.pp-team {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

.pp-team-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;
  border-radius: 14px;
  /* background: rgba(255,255,255,0.05); */
  border: 1px solid rgba(255,255,255,0.08);
}

.pp-team-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.pp-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-team-info strong {
  color: #f0f6ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.pp-team-info span {
  font-size: 0.75rem;
  color: #9ca3af;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: #e6f1ff;
}
.projects-premium , .project-panel {
  color: #00D4FF;
}

.projects-premium p,
.project-panel p {
  color: #cfe7ff;
}

.projects-premium .muted,
.project-panel .muted {
  color: #9ca3af;
}
.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}
.project-status.active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}

.project-status.completed {
  background: #22c55e;
  color: #052e1a;
}

.project-status.upcoming {
  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}
.pp-team-item,
.roadmap-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}

.roadmap-item span {
  color: #cfe7ff;
}
/* ===============================
   PROJECT PANEL – BASE
================================ */

.project-modal {
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(10px);
}

.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  color: #f0f6ff;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}
/* ===============================
   PP HEADER
================================ */

.pp-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.pp-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.pp-header p {
  color: #cfe7ff;
  max-width: 560px;
  line-height: 1.6;
}

/* STATUS BADGE */
.pp-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
}
.pp-actions a {
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.pp-actions .btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6f1ff;
}

.pp-actions .btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}
/* ===============================
   PP BODY LAYOUT
================================ */

.pp-body {
  display: grid;
  /* grid-template-columns: 360px 1fr; */
  gap: 28px;
  /* padding: 32px; */
}

/* LEFT META */
.pp-meta section {
  margin-bottom: 26px;
}

.pp-meta h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 12px;
}
.tag-list span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}
/* ===============================
   PP CONTENT BLOCKS
================================ */

.pp-content section {
  margin-bottom: 28px;
}

.pp-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 10px;
}

.pp-content p {
  color: #cfe7ff;
  line-height: 1.7;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e6f1ff;
}
.pp-team-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}
.roadmap-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.roadmap-item span {
  color: #cfe7ff;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}
.readiness-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.r-head span {
  color: #f0f6ff;
}

.r-desc {
  color: #9ca3af;
}


/* --------------------------Lakshya-section-Start------------------ */
/* ===============================
   TIMELINE SECTION
================================ */

.timeline-section {
  padding: 6rem 1rem 8rem;
  background: #020617;
}

/* ---------- HEADING ---------- */

.timeline-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
  animation: fadeUp 0.9s ease forwards;
}

.timeline-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #7833fe;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.timeline-title span {
  color: #7833fe;
}

.timeline-subtitle {
  max-width: 620px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* Divider */
.timeline-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timeline-divider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7833fe;
  opacity: 0.3;
}

.timeline-divider .line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
}

/* ---------- TIMELINE ---------- */

.timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* base line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,0.12);
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, #7833fe, #a78bfa);
  z-index: 1;
}

/* ---------- ITEMS ---------- */

.timeline-item {
  position: relative;
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* states */
.timeline-item.completed .timeline-dot {
  background: #22c55e;
}

.timeline-item.active .timeline-dot {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.7);
}

/* card */
.timeline-card {
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(2,6,23,0.65);
}

.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* tag */
.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  color: white;
}

.timeline-tag.glow {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 20px rgba(120,51,254,0.6);
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 16px;
    transform: none;
  }

  .timeline-dot {
    left: 16px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px;
    max-width: 100%; */
  }
}

/* ---------- ANIMATION ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------- CURRENT BADGE ---------- */
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
  box-shadow:
    0 6px 20px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);
  text-transform: uppercase;
  animation: pulseGlow 1.8s infinite ease-in-out;
  z-index: 5;
}

/* glowing pulse */
@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}

/* ---------- CARD BASE (YOUR EXISTING, WITH SMALL TWEAK) ---------- */
.timeline-card {
  position: relative;
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover lift */
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* stronger emphasis for current */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 70px rgba(34,197,94,0.35);
}

/* text */
.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ---------- RESPONSIVE FIX ---------- */
@media (max-width: 768px) {
  .timeline-card {
    margin-left: 32px;
    max-width: calc(100% - 32px);
  }

  .current-badge {
    right: 12px;
  }
}


















/* ===============================
   TIMELINE CORE
================================ */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
}

/* animated progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* ===============================
   TIMELINE ITEMS
================================ */
.timeline-item {
  position: relative;
  margin: 90px 0;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* ===============================
   CARDS (LEFT / RIGHT)
================================ */
.timeline-card {
  position: relative;
  width: min(420px, 90%);
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* LEFT */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-80px);
}

/* RIGHT */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(80px);
}

/* ===============================
   ACTIVE / VISIBLE
================================ */
.timeline-item.visible {
  opacity: 1;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0);
}

/* active dot */
.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 14px rgba(124,58,237,0.6);
}

/* ===============================
   CURRENT CARD
================================ */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 80px rgba(34,197,94,0.35);
}

/* ===============================
   MOBILE (STACKED)
================================ */
@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px !important;
    width: calc(100% - 48px);
    transform: translateY(40px); */
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0);
  }
}
/* ===============================
   PREMIUM ZIG-ZAG TIMELINE (FINAL)
================================ */

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center spine */
.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg, #7c3aed, #22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) scale(0.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* card base */
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 24px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(2,6,23,0.65);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    opacity 0.5s ease,
    box-shadow 0.35s ease;
}

/* ---------- LEFT ---------- */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform:
    translateX(-120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- RIGHT ---------- */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform:
    translateX(120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- VISIBLE ---------- */
.timeline-item.visible {
  opacity: 1;
  pointer-events: auto;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 18px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

/* hover micro-lift */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,0.75);
}

/* current emphasis */
.timeline-card.current {
  border-color: rgba(34,197,94,.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,.35),
    0 40px 120px rgba(34,197,94,.35);
}

/* ===============================
   MOBILE (STACKED + FADE UP)
================================ */
@media (max-width: 768px) {

  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: scale(0.6);
  }

  .timeline-card {
    margin-left: 52px !important;
    width: calc(100% - 52px);
    transform: translateY(60px) scale(0.97);
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0) scale(1);
  }
}

/* ===============================
   PREMIUM VISIBILITY STATES
================================ */

/* base */
.timeline-item {
  opacity: 0;
  pointer-events: none;
}

/* ACTIVE (focus card) */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

/* PAST (soft presence) */
.timeline-item.is-past {
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(0.97);
  filter: blur(0.3px);
}

/* FUTURE (hidden) */
.timeline-item.is-future {
  opacity: 0;
  pointer-events: none;
}

/* dot logic */
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past .timeline-dot {
  background: #22c55e;
  opacity: 0.6;
}

.timeline-item.is-future .timeline-dot {
  opacity: 0.25;
}
/* ===============================
   CINEMATIC TIMELINE
================================ */

.timeline-section {
  background: #020617;
  padding: 6rem 1rem 8rem;
}

/* spine */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  /* margin-right: 20px; */

}

.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height .25s ease;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%) scale(.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  transition: all .4s ease;
  z-index: 2;
}

/* card */
.timeline-card {
  width: min(420px,92%);
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03)
  );
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(2,6,23,.65);
  transition:
    transform .8s cubic-bezier(.2,.9,.2,1),
    box-shadow .4s ease;
}

/* zig-zag */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-120px) translateY(40px) scale(.96);
}
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(120px) translateY(40px) scale(.96);
}

/* STATES */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past {
  opacity: .35;
  z-index: 1;
}
.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(.97);
  filter: blur(.4px);
}

.timeline-item.is-future {
  opacity: 0;
}

/* hover */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,.75);
}

/* mobile */
@media (max-width:768px){
  .timeline-wrap::before,
  .timeline-progress{
    left:18px;
    transform:none;
  }
  .timeline-wrap{
  margin-right: 20px;
  }
  .timeline-dot{ left:18px; }
  .timeline-card{
    margin-left:52px!important;
    width:calc(100% - 52px);
    transform: translateY(60px) scale(.97);
  }
  .timeline-item.is-active .timeline-card{
    transform: translateY(0) scale(1);
  }
}
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 26px 26px 24px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.09),
      rgba(255,255,255,0.03)
    );

  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid var(--border-soft);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}
.timeline-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--violet-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.timeline-item.is-active .timeline-card::before {
  opacity: 1;
}
.timeline-card h3 {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.12);
}
.timeline-item.is-active .timeline-card {
  border-color: var(--border-glow);

  box-shadow:
    0 0 0 1px rgba(124,58,237,0.4),
    0 45px 140px rgba(124,58,237,0.45);
}
.timeline-item.is-past .timeline-card {
  opacity: 0.4;
  filter: blur(0.4px);
  transform: translateY(-18px) scale(0.97);
}
.timeline-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 50px 160px rgba(2,6,23,0.85),
    0 0 0 1px rgba(124,58,237,0.35);
}
/* ===============================
   CURRENT CARD — GREEN PREMIUM
================================ */

.timeline-card.current {
  background:
    linear-gradient(
      180deg,
      rgba(34,197,94,0.16),
      rgba(34,197,94,0.06)
    );

  border-color: rgba(34,197,94,0.55);

  box-shadow:
    0 0 0 1px rgba(34,197,94,0.45),
    0 45px 140px rgba(34,197,94,0.45),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.timeline-card.current::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--green-glow),
    transparent 70%
  );

  opacity: 0.9;
  pointer-events: none;
}
.timeline-card.current h3 {
  color: #ecfdf5; /* soft white-green */
}

.timeline-card.current p {
  color: #d1fae5; /* readable mint */
}
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;

  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;

  border-radius: 999px;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  box-shadow:
    0 8px 26px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  animation: pulseGreen 1.8s infinite ease-in-out;
}
@keyframes pulseGreen {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}
.timeline-card.current:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 60px 180px rgba(34,197,94,0.55),
    0 0 0 1px rgba(34,197,94,0.5);
}
/* ===============================
   DOT OPPOSITE ALIGNMENT (PREMIUM)
================================ */

/* base dot position (center reference) */
.timeline-dot {
  position: absolute;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* LEFT CARD → DOT SHIFTS LEFT */
.timeline-item:nth-child(odd) .timeline-dot {
  left: calc(50% - 18px);
  transform: translateX(-50%) scale(0.6);
}

/* RIGHT CARD → DOT SHIFTS RIGHT */
.timeline-item:nth-child(even) .timeline-dot {
  left: calc(50% + 18px);
  transform: translateX(-50%) scale(0.6);
}
.timeline-item.is-active:nth-child(odd) .timeline-dot,
.timeline-item.is-active:nth-child(even) .timeline-dot {
  transform: translateX(-50%) scale(1);
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
}
@media (max-width: 768px) {
  .timeline-dot {
    left: 18px !important;
    transform: scale(0.7) !important;
  }
}

/* --------------------------Lakshya-section-end------------------ */

/* form styling -add  */

/* =====================================================
   PREMIUM CONTACT / JOIN FORM (HACKROOT GRADE)
   Palette synced with Timeline + Projects
===================================================== */

/* section wrapper */
.contact-fullwidth {
  padding: 0;
  background-color: #020617;
}

/* cinematic background */
.contact-fullwidth-bg {
  position: relative;
  padding: 5rem 0;
  background-color:#020617;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
}

/* glass panel */
.form-panel {
  max-width: 820px;
  margin: auto;
  padding: 36px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* header */
.panel-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.panel-head .muted {
  color: rgba(207,231,255,0.7);
  margin-top: 6px;
}

/* grid rows */
.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* field wrapper */
.field {
  position: relative;
  margin-top: 18px;
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.12);
  outline: none;

  font-size: 0.95rem;
  letter-spacing: 0.2px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* floating labels */
.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;

  font-size: 0.85rem;
  color: rgba(207,231,255,0.8);
  transition: 0.25s ease;
  background: transparent;
  padding: 0 6px;
}

/* focus */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 28px rgba(124,58,237,0.35);
  transform: translateY(-1px);
}

/* float label */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.72rem;
  color: #a78bfa;
  background: #020617;
  border-radius: 6px;
}

/* phone field */
.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

/* textarea */
.premium-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* submit area */
.form-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

/* submit button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;
  border-radius: 14px;
  border: none;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow:
    0 10px 40px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 60px rgba(34,197,94,0.6);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

/* status text */
.status-msg {
  color: rgba(207,231,255,0.85);
  font-size: 0.95rem;
}

/* success modal */
.success-modal {
  backdrop-filter: blur(6px);
  background: rgba(2,6,23,0.65);
}

.success-card {
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 120px rgba(2,6,23,0.85);
}

/* ===============================
   PHONE FIELD FIX (FINAL)
================================ */
.phone-field {
  display: flex;
  align-items: stretch;
  position: relative;
}

.phone-field .country {
  min-width: 56px;
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  font-weight: 700;
  color: #ffffff;
}

.phone-field input {
  flex: 1;
  border-radius: 0 14px 14px 0;
  padding-left: 18px !important;
}

/* label alignment */
.phone-field label {
  left: 76px;
}

/* floating label */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 70px;
}
/* ===============================
   STEP FORM REVEAL
================================ */
.field {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.2,.9,.2,1);
}

.field.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   AI TYPING GLOW
================================ */
.premium-form input.is-typing,
.premium-form textarea.is-typing {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 32px rgba(124,58,237,0.45);
}
/* ===============================
   INLINE VALIDATION
================================ */
.field.invalid input,
.field.invalid textarea {
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239,68,68,0.45);
  animation: shake 0.25s ease;
}

.field.valid input,
.field.valid textarea {
  border-color: #22c55e;
  box-shadow: 0 0 18px rgba(34,197,94,0.45);
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
/* ===============================
   VERIFIED BADGE
================================ */
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;

  color: #022c22;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 999px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 30px rgba(34,197,94,0.45);

  opacity: 0;
  transform: scale(0.8);
  transition: 0.35s ease;
}

.verified-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   CONTACT SECTION HEADING
   (Matches Projects & Timeline)
================================ */

.contact-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #7c3aed;
  margin-bottom: 0.8rem;
}

.contact-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-title span {
  color: #7c3aed;
}

.contact-subtitle {
  max-width: 620px;
  margin: 1rem auto 1.8rem;
  font-size: 1.05rem;
  color: rgba(207,231,255,0.75);
  line-height: 1.7;
}
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  
}





















































































































.contact-fullwidth-bg{
  background: #020617;
}
@media (max-width: 900px) {
  .site-header,
  .nav,
  .project-glass,
  .team-member-card,
  .quickview-overlay,
  .form-panel ,
  .contact-fullwidth-bg{
    backdrop-filter: none !important;
  }
}





/* footer -suchi start here */

/* ===============================
   FOOTER — FULL PAGE PALETTE MATCH
================================ */

.site-footer {
  background:
    radial-gradient(900px 300px at top center,
      rgba(124,58,237,0.12),
      transparent 60%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
  color: var(--text-soft);
  position: relative;
  overflow: hidden;
}

/* subtle divider (timeline language) */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--violet-main),
    var(--green-main),
    transparent
  );
  opacity: 0.75;
}

/* ===============================
   GRID
================================ */
.footer-grid {
  max-width: 1180px;
  margin: auto;
  padding: 72px 24px 52px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 36px;
}

/* ===============================
   BRAND
================================ */
.footer-logo {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-h { color: #ffffff; }
.logo-r {
  background: linear-gradient(90deg, var(--violet-main), var(--violet-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  margin: 16px 0 14px;
  padding: 6px 16px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  color: #e9d5ff;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 420px;
  color: var(--text-muted);
}

.footer-email {
  margin-top: 12px;
  font-size: 0.75rem;
}

.footer-email a {
  color: var(--violet-soft);
  text-decoration: none;
  opacity: 0.85;
}

.footer-email a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===============================
   LINKS
================================ */
.footer-links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.footer-links a,
.footer-links span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  opacity: 0.75;
  transition: all 0.25s ease;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--green-soft);
}

/* ===============================
   BOTTOM BAR
================================ */
.footer-bottom {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 0.72rem;
  color: rgba(207,231,255,0.65);
}

/* socials */
.footer-socials a {
  margin-left: 14px;
  font-size: 1.05rem;
  color: #cfe7ff;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--green-main);
  transform: translateY(-3px);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-socials a {
    margin: 0 10px;
  }
}


.footer-socials a {
  text-decoration: none !important;
}

.footer-socials a::after,
.footer-socials a::before {
  content: none !important;
}
/* ===============================
   STATIC PAGE SUPPORT (IMPORTANT)
================================ */

.page-wrap {
  min-height: 60vh;
}

/* titles */
.page-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

/* subtitle */
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* list */
.simple-list {
  list-style: none;
  padding-left: 0;
}

.simple-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-main);
  font-size: 1.2rem;
  line-height: 1;
}
/* ===============================
   ENTERPRISE PAGE SYSTEM
================================ */

.page-enterprise {
  background: #020617;
}

.page-hero {
  margin-bottom: 64px;
}

.page-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--violet-soft);
}

.page-block {
  margin-bottom: 72px;
}

.page-block h2 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.page-block p {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 760px;
}

/* capability grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
}

.cap-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* process list */
.process-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  max-width: 760px;
}

.process-list li {
  counter-increment: step;
  margin-bottom: 22px;
  padding-left: 42px;
  position: relative;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet-main), var(--green-main));
  color: #020617;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* tags */
.tag-list.premium span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

/* highlight block */
.page-block.highlight {
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(124,58,237,0.12),
    rgba(34,197,94,0.08)
  );
  border: 1px solid rgba(255,255,255,0.12);
}




/* webicon -styling  */

.logo{
  height:48px;              /* ⬅ slightly bigger */
  width:48px;
  padding:10px;             /* ⬅ optical breathing space */
  border-radius:14px;

  /* Solid dark base (important) */
  background:#020617;

  /* Inner contrast ring */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 18px rgba(120,51,254,0.18), /* subtle violet lift */
    0 10px 28px rgba(2,6,23,0.85);        /* outer depth */

  border:1px solid rgba(255,255,255,0.18);

  display:flex;
  align-items:center;
  justify-content:center;
}













/* HERO → NEXT SECTION BLEND */
.hero-premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    to bottom,
    rgba(2,6,23,0) 0%,
    rgba(2,6,23,0.35) 40%,
    rgba(2,6,23,0.75) 70%,
    #020617 100%
  );
}
/* pull next section into hero */
.hero-premium + .section {
  margin-top: -120px;
  padding-top: 160px;
}
.hero-premium,
.team-section-premium,
.section {
  background: #020617;
}
.section {
  position: relative;
  z-index: 3;
}
:root{
  --bg:#081737;
  --card:#F4F7FB;
  --accent:#1E90FF;
  --accent2:#00D4FF;
  --muted:#6B7A8A;
  --text:#0B1B2B;
  --radius:12px;
  --container:1100px;
  --gap:24px;
  
  /* BASE */
  --bg-main: #020617;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-soft: rgba(255,255,255,0.035);

  /* TEXT */
  --text-main: #ffffff;
  --text-soft: #cfe7ff;
  --text-muted: rgba(207,231,255,0.65);

  /* ACCENTS */
  --violet-main: #7c3aed;
  --violet-soft: #a78bfa;
  --violet-glow: rgba(124,58,237,0.55);

  /* BORDERS */
  --border-soft: rgba(255,255,255,0.12);
  --border-glow: rgba(124,58,237,0.45);
   /* green premium */
  --green-main: #22c55e;
  --green-soft: #4ade80;
  --green-glow: rgba(34,197,94,0.45);
}
*{box-sizing:border-box}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0; color:var(--text); background:#020617;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:var(--container); margin:0 auto; padding:48px 20px;}
.site-header{position:sticky; top:0; z-index:40; backdrop-filter: blur(6px); background:#020617; border-bottom:1px solid rgba(255,255,255,0.03);}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0;}
.brand{color:white; font-weight:700; font-size:1.2rem; text-decoration:none;}
.nav a{font-size: large;color:#dfeefb; margin-left:18px; text-decoration:none;}
.btn-primary{background:linear-gradient(90deg, #7833fe, #9a6bff); color:white; padding:10px 16px; border-radius:10px; text-decoration:none; display:inline-block;}
.btn-ghost{background:transparent; border:1px solid rgba(255,255,255,0.08); color:#cfe7ff; padding:8px 14px; border-radius:10px; text-decoration:none;}
.btn-outline{border-radius:10px; border:1px solid rgba(255,255,255,0.12); padding:8px 12px; color:#cfe7ff; text-decoration:none;}
.hero{padding:80px 0; color:white;}
.hero-inner{display:flex; gap:36px; align-items:center; justify-content:space-between;}
.hero-copy h1{font-size:2.2rem; margin:0 0 12px;}
.lead{opacity:0.9; color:#d7eaff; margin-bottom:18px}
.hero-media{min-width:320px; max-width:460px;}
.project-preview{background:rgba(255,255,255,0.03); padding:18px; border-radius:12px; border:1px solid rgba(255,255,255,0.04)}
.section{padding:72px 0; background:transparent; color:var(--text)}
.section.alt{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent)}
h2{color:var(--card); margin-bottom:10px}
.muted{color:var(--muted); font-size:0.95rem; margin-bottom:20px}
/* Grid */
.grid{display:grid; gap:var(--gap)}
.team-grid{grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));}
.card{background:var(--card); border-radius:var(--radius); padding:18px; box-shadow:0 8px 30px rgba(2,6,23,0.4); transition:transform .18s ease, box-shadow .18s ease;}
.card:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(2,6,23,0.5)}
.avatar{width:100%; height:140px; object-fit:cover; border-radius:10px; margin-bottom:12px;}
.role{color:var(--muted); margin:6px 0 10px;}
.team-grid .card ul{padding-left:18px; margin:0 0 12px; color:#234;}
.btn-link{background:transparent; border:none; color:var(--accent); cursor:pointer; font-weight:600; padding:6px 0}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  background: #020617;
  color: var(--text-main);
}
.section,
.section.alt,
.hero-premium,
.team-section-premium {
  background: transparent !important;
}
@media (max-width: 900px) {
  * {
    backdrop-filter: none !important;
  }
}

/* Projects */
.projects-grid{grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));}
.project-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* Timeline */
/* .timeline{display:flex; flex-direction:column; gap:16px; margin-top:12px} */
.step{background:rgba(255,255,255,0.03); padding:12px 16px; border-radius:10px; color:white}

/* Contact form */
.contact-form{display:grid; gap:12px; max-width:640px}
.contact-form input, .contact-form textarea{padding:12px; border-radius:8px; border:1px solid rgba(11,27,43,0.06)}
.site-footer{padding:28px 0; border-top:1px solid rgba(255,255,255,0.03); color:#cfe7ff; background:transparent}
h1 span{
    color: green;
    font-size: larger;
}
.h{
  font-size: 8rem;
  font-weight: bolder;
  height: 10rem;
  /* font-style: ; */
}
.R{
   /* font-size: 10rem;
  font-weight: bolder;
  height: 10rem;
  font-style: ; */
}
/* FAST PREMIUM LOADING OVERLAY */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: auto ;
}

/* Minimal clean loader */
.fast-loader {
  width: 50px ;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #4ade80; /* green accent */
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* success check */
.fast-check {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform: scale(0.7);
  transition: 220ms ease;
}

.fast-check.show {
  opacity:1;
  transform: scale(1);
}

.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
/* prateek - form section  */
/* -------------------- Full-width contact + Premium form (UPDATED) -------------------- */

.contact-fullwidth { padding: 0; }
.contact-fullwidth-bg {
  width: 100%;
  /* background: linear-gradient(135deg, rgba(2,8,35,0.86) 0%, rgba(5,12,40,0.75) 60%); */
  /* border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02); */
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* soft decorative glow */
.contact-fullwidth-bg::before{
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(closest-side, rgba(30,144,255,0.06), transparent 40%),
              radial-gradient(closest-side, rgba(0,212,255,0.03), transparent 30%);
  transform: rotate(12deg);
  pointer-events: none;
}

/* container inside full width */
.contact-form-wrap { max-width: var(--container); padding: 40px 20px; margin: 0 auto; }

/* main form panel */
.form-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(8px) saturate(120%);
}

/* header */
.panel-head h2 { color: var(--card); margin: 0 0 6px; font-size: 1.6rem; }
.panel-head .muted { color: var(--muted); opacity: .95; margin-bottom: 6px; }

/* layout rows */
.premium-form .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width:900px){ .premium-form .row{ grid-template-columns: 1fr; } }

/* field base */
.field {
  position: relative;
  margin-bottom: 22px; /* extra breathing room for floating labels */
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--card);
  font-size: 0.98rem;
  outline: none;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
  caret-color: var(--accent2);
  -webkit-appearance: none;
}

/* placeholder trick (use placeholder=" " in HTML) */
.field input::placeholder, .field textarea::placeholder { color: transparent; }

/* floating label */
.field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all .22s cubic-bezier(.2,.9,.2,1);
  color: rgba(207,231,255,0.85);
  background: transparent;
  padding: 0 6px;
  z-index: 2;
}

/* focus/active state for inputs */
.premium-form input:focus,
.premium-form textarea:focus { 
  box-shadow: 0 6px 24px rgba(14,32,80,0.35);
  border-color: rgba(30,144,255,0.95);
  transform: translateY(-1px);
}

/* floating state (more vertical spacing) */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -12px;                 /* moved farther up so it doesn't collide */
  left: 12px;
  font-size: 0.78rem;
  color: var(--accent2);
  background: #071428;        /* matches dark theme behind label */
  padding: 0 6px;
  border-radius: 6px;
  z-index: 4;
}

/* ------------- Phone field (fixed & premium) ------------- */
.phone-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* +91 prefix block */
.phone-field .country{
  display:flex; align-items:center; justify-content:center;
  padding: 14px 14px; /* slightly wider for breathing room */
  border-radius:12px 0 0 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: var(--card);
  font-weight:700;
  z-index: 3;
  flex: 0 0 auto;
}

/* input inside phone field — push content right to avoid overlap */
.phone-field input {
  border-radius: 0 12px 12px 0;
  border-left: none;
  padding-left: 60px !important; /* IMPORTANT: keeps text clear of the prefix */
  min-width: 0; /* fixes flexbox overflow in some browsers */
}

/* floating label inside phone field: align with padded input area */
.phone-field label {
  left: 60px; /* align with input text area */
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* when floating, adjust left slightly to keep neat */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  top: -12px;
  left: 56px;
  font-size: 0.78rem;
  background: #071428;
  padding: 0 6px;
  z-index: 4;
}

/* textarea height */
.premium-form textarea { min-height:120px; resize:vertical; }

/* submit area */
.form-controls { display:flex; gap:12px; align-items:center; margin-top:4px; flex-wrap:wrap; }

/* submit button polished */
.submit-btn {
  display:inline-flex; align-items:center; gap:12px;
  padding:12px 18px; border-radius:12px; border:none;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:white; font-weight:700; cursor:pointer; box-shadow: 0 8px 30px rgba(30,144,255,0.18);
  transition: transform .12s ease, box-shadow .18s ease, opacity .12s ease;
  position:relative; overflow:hidden;
}
.submit-btn:active{ transform: translateY(1px) scale(.998); }
.submit-btn .icon-send { width:18px; height:18px; fill:rgba(255,255,255,0.95); transform: translateX(0); transition: transform .22s cubic-bezier(.2,.9,.2,1); }
.submit-btn .btn-text{ letter-spacing:.2px; }

/* spinner */
.btn-spinner{
  width:20px; height:20px; border-radius:50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: rgba(255,255,255,0.95);
  display:inline-block; margin-left:8px; transform: scale(.6); opacity:0; pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  animation: spin .8s linear infinite;
}

/* loading state */
.submit-btn.loading { pointer-events:none; opacity:.98; }
.submit-btn.loading .btn-text { opacity:0; transform: translateX(-6px); }
.submit-btn.loading .icon-send { transform: translateX(-8px); opacity:0.0; }
.submit-btn.loading .btn-spinner { opacity:1; transform: scale(1); }

/* small spinner keyframes (reused) */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* status message */
.status-msg { color: #bcdffb; font-size:0.95rem; margin-left:6px; }

/* success modal */
.success-modal {
  position: fixed; inset:0; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(3,6,12,0.45), rgba(3,6,12,0.6));
  z-index:9999; opacity:0; pointer-events:none; transition: opacity .22s ease;
}
.success-modal.show { opacity:1; pointer-events:auto; }
.success-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:14px; padding:28px; text-align:center; width: min(520px, 92%);
  border:1px solid rgba(255,255,255,0.06); box-shadow: 0 22px 70px rgba(2,6,23,0.6);
}
.checkmark svg { width:72px; height:72px; stroke: none; fill: none; }
.checkmark { width:92px; height:92px; border-radius:50%; margin: 0 auto 8px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(90deg,#22c55e,#16a34a); box-shadow: 0 8px 30px rgba(34,197,94,0.16);
}
.checkmark svg path { stroke: white; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; fill:none; }

/* small helpers */
.btn-ghost { background: transparent; border:1px solid rgba(255,255,255,0.06); color: #cfe7ff; padding:8px 12px; border-radius:10px; }

/* responsive tweaks */
@media (max-width:520px) {
  .phone-field .country { padding: 12px 10px; font-size: 0.95rem; }
  .phone-field input { padding-left: 54px !important; }
  .phone-field label { left: 54px; }
  .phone-field input:focus + label,
  .phone-field input:not(:placeholder-shown) + label { left: 50px; }
}
.invalid {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 10px rgba(255,0,0,0.3) !important;
}

.shake {
  animation: shakeAnim 0.25s ease;
}

@keyframes shakeAnim {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* modal animation */
.success-modal .success-card {
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .28s ease;
}
.success-modal.show .success-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* subtle toast/status emphasis */
.status-msg {
  transition: opacity .18s ease, transform .18s ease;
}

/* form-level shake for serious errors */
form.shake { animation: shakeAnim 0.28s ease; }
/* success popup (premium tick) */

/* GIF SUCCESS POPUP */
/* GIF SUCCESS POPUP */
.gif-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99999;
}

.gif-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.gif-panel {
  background: #020617;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  color: #dff6ff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.gif-popup.show .gif-panel {
  transform: scale(1);
}

.gif-tick {
  width: 130px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 14px;
}


/* Responsive */
@media (max-width:900px){ .hero-inner{flex-direction:column; align-items:flex-start} .header-inner{align-items:center} .nav{display:none} .nav-toggle{display:block} }
@media (prefers-reduced-motion: reduce){ *{transition:none!important} }
/* nav - by prateek */
/* ===============================
   PREMIUM BRAND (HackRoot)
================================ */
.premium-brand {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-h {
  color: #4ade80;
  font-size: 1.8rem;
}

.brand-r {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* subtle glow */
.premium-brand:hover {
  text-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}

/* ===============================
   NAVBAR POLISH
================================ */
.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* links */
.nav-link {
  position: relative;
  color: #dfeefb;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
} */

/* ===============================
   TOGGLE BUTTON (FA ICON)
================================ */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ===============================
   MOBILE NAV
================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 20px;
    width: min(280px, 90%);
    background: rgba(8, 23, 55, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after {
    display: none;
  }
}
/* ===== BRAND SYSTEM ===== */
.premium-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-main {
  color: #ffffff;
}

.brand-accent {
  margin-left: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hover polish */
.premium-brand:hover {
  opacity: 0.95;
}
/* ===============================
   MOBILE NAV SAFE PADDING FIX
================================ */
.site-header .header-inner {
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}

/* extra micro spacing for brand & toggle */
.premium-brand {
  margin-left: 2px;
}

.nav-toggle {
  margin-right: 2px;
}
@media (max-width: 480px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
/* ===============================
   LOGO SHRINK ON SCROLL
================================ */
.site-header {
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.premium-brand {
  transition: transform 0.25s ease, font-size 0.25s ease;
}

.site-header.scrolled .premium-brand {
  transform: scale(0.92);
  opacity: 0.95;
}
/* ===============================
   TOUCH RIPPLE EFFECT
================================ */
.nav-toggle,
.nav-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.35);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    width: min(300px, 92%);
    padding: 22px;

    background: rgba(8, 23, 55, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 16px;

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* stagger */
  .nav.open .nav-link:nth-child(1){ transition-delay: .05s }
  .nav.open .nav-link:nth-child(2){ transition-delay: .1s }
  .nav.open .nav-link:nth-child(3){ transition-delay: .15s }
  .nav.open .nav-link:nth-child(4){ transition-delay: .2s }
  .nav.open .nav-link:nth-child(5){ transition-delay: .25s }
}
/* ===============================
   NAV LINK PRESS + ACTIVE STATE
================================ */
.nav-link {
  transition:
    color 0.2s ease,
    transform 0.12s ease,
    background 0.2s ease;
}

.nav-link:active {
  transform: scale(0.96);
}

/* active section highlight */
.nav-link.active {
  color: white;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}
/* ===============================
   NAV BACKDROP (PREMIUM)
================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   TOGGLE ICON FEEDBACK
================================ */
.nav-toggle i {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open i {
  transform: rotate(90deg) scale(1.1);
}
.nav-toggle:active {
  transform: scale(0.94);
}
/* ===============================
   LOGO MORPH ON SCROLL
================================ */
.premium-brand {
  transition:
    letter-spacing 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* scrolled state */
.site-header.scrolled .premium-brand {
  letter-spacing: -0.4px;
  transform: scale(0.92);
  opacity: 0.95;
}

/* individual letter tuning */
.site-header.scrolled .brand-h {
  font-size: 1.6rem;
}

.site-header.scrolled .brand-r {
  filter: brightness(1.05);
}
.premium-brand:hover {
  text-shadow:
    0 0 12px rgba(74,222,128,0.35),
    0 0 20px rgba(0,212,255,0.25);
}
.premium-brand {
  position: relative;
  overflow: hidden;
}

.premium-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.25),
    transparent 70%
  );
  transform: translateX(-120%);
}

.site-header.loaded .premium-brand::after {
  animation: sheen 1.2s ease forwards;
}

@keyframes sheen {
  to { transform: translateX(120%); }
}
.header-inner {
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 520px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
                          
















/* team section */

/* ===============================
   TEAM – PREMIUM STANDARD
================================ */

.team-section-premium {
  background: #020617;
}

.team-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.team-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: #7833fe;
}

.team-title {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: white;
   font-weight: 900;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.team-subtitle {
  color: #9ca3af;
  line-height: 1.6;
}

/* GRID */
.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARD */
/* ===============================
   TEAM CARD – COMPACT PREMIUM
================================ */

.team-member-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55);
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}


/* AVATAR */
.team-member-avatar {
  position: relative;
  height: 180px;
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.team-member-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}

/* NAME */
.team-member-body h3 {
  color: #f0f6ff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.team-member-role{
  color: #9ca3af;
  font-size: 0.85rem;
}


/* PROJECT TAGS */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.team-member-projects span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.7rem;
  font-weight: 600;
}


/* ===============================
   PREMIUM CTA BUTTON
================================ */

.team-profile-btn {
  margin-top: auto;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.12);
  color: #dff0ff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all .25s ease;
}

.team-profile-btn i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform .25s ease;
}

.team-profile-btn:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 30px rgba(30,144,255,0.45);
}

.team-profile-btn:hover i {
  transform: translateX(4px);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 600px) {
  .team-member-avatar {
    height: 160px;
  }
}


/* toogle */
/* ===============================
   TEAM – ADVANCED INTERACTIONS
================================ */

.team-member-card {
  position: relative;
  overflow: hidden;
}

/* SOCIAL ICONS */
.team-member-social {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(5,12,40,0.6);
  opacity: 0;
  transition: opacity .25s ease;
}

.team-member-social a {
  color: white;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  border-radius: 50%;
}

.team-member-card:hover .team-member-social {
  opacity: 1;
}

/* WORKED ON BADGES */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.team-member-projects span {
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* TOGGLE BUTTON */
.team-profile-btn {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: var(--accent2);
  font-weight: 600;
  cursor: pointer;
}

/* EXPAND PANEL */


/* TIMELINE */
.member-timeline {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.member-timeline div {
  font-size: .9rem;
  color: #dff0ff;
  margin-bottom: 6px;
}

/* PHILOSOPHY */
.member-philosophy {
  padding: 16px 22px 22px;
}

.member-philosophy h4 {
  font-size: .85rem;
  letter-spacing: .18em;
  color: var(--accent2);
  margin-bottom: 6px;
}

.member-philosophy p {
  font-size: .9rem;
  color: #cfe7ff;
  line-height: 1.6;
}

/* AUTO HIGHLIGHT */
.team-member-card.highlight {
  box-shadow:
    0 0 0 2px var(--accent),
    0 30px 80px rgba(30,144,255,.45);
}

/* ===============================
   TEAM QUICK VIEW PANEL
================================ */

/* ===============================
   QUICK VIEW MODAL (ECOM STYLE)
================================ */

/* ===============================
   QUICK VIEW – DESKTOP + MOBILE
================================ */

.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,20,0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.quickview-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* CARD */
.quickview-card {
background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);

  color: #f0f6ff;  width: min(900px, 94%);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 26px;
  transform: scale(.94);
  transition: transform .3s ease;
  position: relative;
}

.quickview-overlay.show .quickview-card {
  transform: scale(1);
}

/* CLOSE */
.quickview-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
}

/* IMAGE + ZOOM */
.quickview-media {
  overflow: hidden;
  border-radius: 14px;
}

.quickview-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  transition: transform .4s ease;
}

.quickview-media:hover img {
  transform: scale(1.08);
}

/* CONTENT */
.qv-category {
  font-size: .7rem;
  letter-spacing: .25em;
  color: #7833fe;
  font-weight: 700;
}

.qv-role {
  color: #475569;
  margin: 6px 0 10px;
}

.qv-desc {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* TAGS */
.qv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.qv-tags span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .75rem;
}

/* TIMELINE */
.qv-timeline {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.qv-timeline li {
  font-size: .9rem;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.qv-timeline li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}

/* ACTIONS */
.qv-actions {
  display: flex;
  gap: 12px;
}

/* ===============================
   MOBILE BOTTOM SHEET
================================ */

@media (max-width: 768px) {
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
    width: 100%;
    height: 92vh;
    border-radius: 18px 18px 0 0;
    grid-template-columns: 1fr;
    transform: translateY(100%);
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  .quickview-media img {
    max-height: 260px;
  }
}
/* =========================================
   QUICK VIEW — MOBILE REFINED EXPERIENCE
========================================= */

@media (max-width: 768px) {

  /* Bottom-sheet behavior */
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
     background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);
    color: #f0f6ff;
    width: 100%;
    height: 94vh;
    border-radius: 22px 22px 0 0;
    grid-template-columns: 1fr;
    padding: 0;
    transform: translateY(100%);
    overflow: hidden;
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  /* Drag handle (visual cue) */
  .quickview-card::before {
    content: "";
    width: 44px;
    height: 5px;
    background: rgba(0,0,0,0.18);
    border-radius: 99px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Image becomes hero */
  .quickview-media {
    border-radius: 0;
  }

  .quickview-media img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
  }

  /* Content spacing */
  .quickview-content {
    padding: 18px 20px 24px;
    overflow-y: auto;
  }

  /* Typography scaling */
  #qvName {
    color: #f0f6ff;
    font-weight: 900;
    font-size: 1.45rem;
    margin-top: 6px;
  }

  .qv-role {
    color: #9ca3af;
    font-size: 0.95rem;
  }

  .qv-desc {
    color: #cfe7ff;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* Tags — more breathable */
  .qv-tags span {
    background: rgba(255,255,255,0.1);
    color: #f0f6ff;
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Timeline clarity */
  .qv-timeline li {
    color: #dff0ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* CTA buttons — thumb friendly */
  .qv-actions {
    position: sticky;
    bottom: 0;
    /* background: #ffffff; */
    padding: 14px 0 6px;
    gap: 12px;
  }

  .qv-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  /* Close button reposition */
  .quickview-close {
    top: 12px;
    right: 14px;
    font-size: 1.6rem;
    z-index: 2;
  }
  .qv-timeline li::before {
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
  }
}



/* ===============================
   SKELETON SHIMMER
================================ */

.skeleton .quickview-media img,
.skeleton #qvName,
.skeleton .qv-role,
.skeleton .qv-desc,
.skeleton .qv-tags,
.skeleton .qv-timeline,
.skeleton .qv-actions {
  color: transparent;
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.team-profile-btn:active,
.qv-actions a:active,
.quickview-close:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}

.quickview-card {
  animation: sheetPop 0.35s cubic-bezier(.2,.9,.2,1);
}

@keyframes sheetPop {
  from {
    transform: translateY(100%) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
/* ======================================
   PREMIUM LEAD BADGE (TOP-RIGHT CORNER)
====================================== */

.team-member-avatar {
  position: relative;
}

/* Badge base */
.team-lead-badge {
  position: absolute;
  top: 14px;
  right: 14px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #052e1a;
  background: linear-gradient(
    135deg,
    #22c55e,
    #4ade80
  );

  border: 1px solid rgba(255,255,255,0.45);

  box-shadow:
    0 8px 26px rgba(34,197,94,0.55),
    0 0 0 1px rgba(255,255,255,0.35);

  backdrop-filter: blur(6px);
  z-index: 3;
}

/* Subtle glow ring */
.team-member-card.lead .team-lead-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(34,197,94,0.35),
    transparent 70%
  );
  z-index: -1;
}

/* Hover enhancement */
.team-member-card.lead:hover .team-lead-badge {
  box-shadow:
    0 12px 40px rgba(34,197,94,0.75),
    0 0 0 1px rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

/* Mobile refinement */
@media (max-width: 768px) {
  .team-lead-badge {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.6rem;
  }
}



/* team section end her  */

/* hero section start here  */

/* =====================================
   PREMIUM HERO — HACKROOT
===================================== */

.hero-premium {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #020617;
  overflow: hidden;
}

/* subtle gradient backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(120,51,254,0.25), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(30,144,255,0.18), transparent 60%),
    radial-gradient(600px 400px at 50% 90%, rgba(34,197,94,0.15), transparent 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* ================= TEXT ================= */

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: #a78bfa; /* timeline violet */
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #f0f6ff;
  margin-bottom: 14px;
}

.hero-title .accent {
  color: #7833fe;
}

.hero-subline {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #9ca3af;
  margin-top: 10px;
}

.hero-desc {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cfe7ff;
  margin: 18px 0 32px;
}

/* ================= CTAs ================= */

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* ================= VISUAL ================= */

.hero-visual {
  position: relative;
  height: 420px;
}

/* glowing orb */
.hero-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #7833fe, transparent 60%),
    radial-gradient(circle at 70% 70%, #1e90ff, transparent 65%);
  filter: blur(30px);
  opacity: 0.75;
  animation: orbFloat 8s ease-in-out infinite;
}

/* grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    height: 300px;
    margin-top: 40px;
  }
}

/* ===============================
   HERO MOBILE — SINGLE FLOW
================================ */

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .hero-visual {
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .hero-orb {
    width: 220px;
    height: 220px;
    filter: blur(28px);
    opacity: 0.45;
  }

  .hero-grid {
    opacity: 0.45;
    background-size: 34px 34px;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-subline {
    font-size: 1.15rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin: 14px auto 28px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas a {
    width: 100%;
    padding: 14px 0;
    border-radius: 14px;
  }
}


/* hero end here */
/* nav starts here  */

/* ==================================================
   PREMIUM NAVBAR — HACKROOT
================================================== */

/* BASE */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* scrolled state */
.site-header.scrolled {
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

/* layout */
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================================
   BRAND
================================================== */

.premium-brand {
  position: relative;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.brand-main {
  color: #f0f6ff;
}

.brand-accent {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================================================
   DESKTOP NAV LINKS
================================================== */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* underline accent */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  transition: width 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
}

.nav-cta:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,0.45);
} */

/* ==================================================
   NAV TOGGLE (MOBILE BUTTON)
================================================== */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ==================================================
   MOBILE NAV — FLOATING PANEL
================================================== */

@media (max-width: 900px) {

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 16px;
    width: min(320px, 92%);
    padding: 24px;

    background: rgba(8, 23, 55, 0.94);
    backdrop-filter: blur(16px) saturate(160%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 18px;

    box-shadow: 0 28px 80px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-6px);
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.open .nav-link:nth-child(1){ transition-delay:.05s }
  .nav.open .nav-link:nth-child(2){ transition-delay:.1s }
  .nav.open .nav-link:nth-child(3){ transition-delay:.15s }
  .nav.open .nav-link:nth-child(4){ transition-delay:.2s }
  .nav.open .nav-link:nth-child(5){ transition-delay:.25s }


  .nav-link::after {
    display: none;
  }
}

/* ==================================================
   BACKDROP
================================================== */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ==================================================
   HACKROOT — PREMIUM NAV (FINAL)
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- BRAND ---------------- */

.premium-brand {
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand-main { color: #f0f6ff; }

.brand-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- DESKTOP NAV ---------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.nav-cta:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,.45);
} */

/* ---------------- TOGGLE ---------------- */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ---------------- MOBILE NAV ---------------- */

@media (max-width: 900px) {

  .nav-toggle { display: flex; }

   .nav {
    position: fixed;
    top: 78px;
    right: 14px;

    width: 260px;          /* 🔥 compact width */
    padding: 22px 20px;

    background: #020617;
    backdrop-filter: blur(18px) saturate(160%);
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
      0 24px 70px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.12);

    display: flex;
    flex-direction: column;
    gap: 14px;             /* tighter vertical rhythm */

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }
.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 12px;
    color: #e5f0ff;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(
  135deg,
  rgba(120, 51, 254, 0.22),
  rgba(120, 51, 254, 0.05)
);
    color: #ffffff;
  }

  /* .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
  } */

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after { display: none; }
}

/* ---------------- BACKDROP ---------------- */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   ACTIVE DOT INDICATOR
================================ */

@media (max-width: 900px) {
  .nav-link {
    position: relative;
  }

  .nav-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .nav-link.active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}
/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.nav-link:active,
.nav-cta:active,
.nav-toggle:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}
/* REMOVE BLUE TAP HIGHLIGHT (mobile) */
.nav-toggle {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* REMOVE DEFAULT FOCUS RING */
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

/* CLEAN ACTIVE STATE (no blue flash) */
.nav-toggle:active {
  background: transparent;
}
.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.quickview-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.projects-premium {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

.projects-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.projects-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--accent2);
}

.projects-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #f0f6ff;
  margin: 10px 0 8px;
}

.projects-subtitle {
  color: #9fb4d6;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
}

/* ---------- PROJECT STACK ---------- */
.projects-stack {
  display: grid;
  gap: 28px;
}

/* =====================================================
   PROJECT CARD (ARTICLE)
===================================================== */
.project-glass {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  cursor: pointer;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(2,6,23,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.03);

  transition: transform .25s ease, box-shadow .25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* title */
.project-glass h3 {
  color: #f0f6ff;
  font-size: 1.35rem;
  margin: 14px 0 10px;
}

/* description */
.project-desc {
  color: #cfe0ff;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- STATUS / BADGES ---------- */
.project-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.launch-badge,
.project-status {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.launch-badge.building {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}

.project-status.planning {
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* ---------- PROGRESS ---------- */
.progress-wrap {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9fb4d6;
  margin-bottom: 6px;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ---------- FOOT ---------- */
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}

.view-details {
  color: var(--accent2);
  font-weight: 600;
}

.github-link {
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

/* =====================================================
   MERGED PRINCIPLES (PROJECTS)
===================================================== */
/* ===============================
   PRINCIPLES — PREMIUM POSITIONING
================================ */

/* .principles-merged {
  margin-top: 64px; more breathing room 
  padding: 28px;

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(2,6,23,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
 */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.35rem; /* bigger */
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* .principles-head h3 {
  font-size: 1.15rem;
  color: #f0f6ff;
  display: flex;
  align-items: center;
  gap: 10px;
} */

/* badge */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;

  padding: 6px 12px;
  border-radius: 999px;

  background:
    linear-gradient(90deg, #ef4444, #f97316);

  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 10px 30px rgba(239,68,68,0.35);
}


/* toggle */
.principles-toggle {
  font-size: 0.8rem;
  font-weight: 600;

  padding: 8px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);

  color: #e6f1ff;
  transition: background 0.2s ease, transform 0.15s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}


/* list */
.principles-list {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.principles-list.collapsed {
  max-height: 0;
  opacity: 0;
}

.principles-list li {
  position: relative;
  padding: 18px 20px 18px 52px;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;

  font-size: 0.95rem;
  line-height: 1.6;

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(2,6,23,0.65);
}


.principles-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;

  color: #9fb4d6;
  opacity: 0.75;
}


/* =====================================================
   PROJECT MODAL — PREMIUM
===================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(6px);
}

.project-panel {
  position: relative;
  max-width: 860px;
  width: min(94%, 860px);
  margin: 6vh auto;
  padding: 32px;
  max-height: 88vh;
  overflow-y: auto;

  background: linear-gradient(
    180deg,
    rgba(8,23,55,0.98),
    rgba(8,23,55,0.94)
  );

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}

.project-close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #cfe7ff;
  cursor: pointer;
}

/* modal typography */
.pm-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.pm-section {
  margin-top: 26px;
}

.pm-section h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb4d6;
  margin-bottom: 8px;
}

.pm-section p {
  color: #e6f1ff;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* tags */
.pm-tags span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
}

/* confidence */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.confidence-grid div {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.confidence-grid span {
  display: block;
  font-size: 0.75rem;
  color: #9bbcff;
}

.confidence-grid strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

/* roadmap */
.roadmap {
  list-style: none;
  padding: 0;
}

.roadmap li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #d7eaff;
}

.roadmap li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #6b7280;
}

.roadmap li.done::before {
  content: "✓";
  color: #22c55e;
}

.roadmap li.active::before {
  content: "→";
  color: #60a5fa;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .project-glass {
    padding: 22px;
  }

  .project-panel {
    padding: 22px;
  }

  .pm-title {
    font-size: 1.6rem;
  }
}
/* ===============================
   PROJECT META — VISIBILITY FIX
================================ */

.project-focus,
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.project-focus span,
.project-tech span {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;

  color: #e6f1ff; /* FIXED: light text */
  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
/* =====================================================
   PROJECTS — TIMELINE DESIGN LANGUAGE
===================================================== */

.projects-premium {
  background: #020617;
}

.projects-eyebrow {
  color: #7833fe; /* same as timeline eyebrow */
}

.projects-title span {
  color: #7833fe; /* optional highlight */
}

.projects-subtitle {
  color: #9ca3af; /* same as timeline subtitle */
}
.project-glass {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 18px;
  cursor: pointer;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55); /* violet */
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-focus span,
.project-tech span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;

  background: rgba(255,255,255,0.1);
  color: white;

  border: 1px solid rgba(255,255,255,0.14);
}
/* =====================================================
   PRINCIPLES — EXECUTIVE PREMIUM
===================================================== */

/* .principles-merged {
  margin-top: 80px;
  padding: 40px;

  border-radius: 28px;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.12),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
} */
.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
}
.principles-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.principles-list li {
  padding: 22px 26px 22px 60px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.7;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.45);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.principles-list li:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 90px rgba(2,6,23,0.65);
}
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}

/* color sync */
.principles-list li[data-phase="learning"]::after {
  background: rgba(255,255,255,0.15);
}

.principles-list li[data-phase="building"]::after {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 16px rgba(120,51,254,0.6);
}

.principles-list li[data-phase="hackathon"]::after {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}
@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
  }

  .principles-list li {
    padding: 20px 20px 20px 54px;
    font-size: 0.95rem;
  }
}
/* =====================================================
   PRINCIPLES — ELITE EXPANDABLE PANEL
===================================================== */

.principles-merged {
  margin-top: 88px;
  padding: 36px 40px;

  border-radius: 28px;
  position: relative;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.14),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ---------------- HEADER ---------------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* NON-NEGOTIABLE BADGE */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #ef4444, #f97316);
  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 12px 30px rgba(239,68,68,0.45);
}

/* ---------------- TOGGLE ---------------- */

.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 0.85rem;
  font-weight: 700;

  padding: 10px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #e6f1ff;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.principles-toggle i {
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
}

/* rotate when open */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* ---------------- LIST WRAPPER ---------------- */

.principles-list {
  margin-top: 28px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 18px;

  overflow: hidden;
  max-height: 0;
  opacity: 0;

  transition:
    max-height 0.55s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-merged.open .principles-list {
  opacity: 1;
}

/* ---------------- ITEM ---------------- */

.principles-list li {
  position: relative;
  padding: 22px 26px 22px 68px;

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.65;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.55);

  transform: translateY(14px);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.45s ease,
    box-shadow 0.25s ease;
}

/* reveal when expanded */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

/* stagger */
.principles-merged.open .principles-list li:nth-child(1){transition-delay:.05s}
.principles-merged.open .principles-list li:nth-child(2){transition-delay:.12s}
.principles-merged.open .principles-list li:nth-child(3){transition-delay:.18s}
.principles-merged.open .principles-list li:nth-child(4){transition-delay:.24s}

/* hover lift */
.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.75);
}

/* LEFT ICON RAIL */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* PHASE LABEL */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #9fb4d6;
  opacity: 0.75;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
    margin-top: 64px;
  }

  .principles-head h3 {
    font-size: 1.35rem;
  }

  .principles-list li {
    padding: 20px 20px 20px 56px;
    font-size: 0.95rem;
  }
}
               

























/* ===============================
   PRINCIPLES — PREMIUM MERGED
================================ */

.principles-merged {
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(2,6,23,0.55);
  backdrop-filter: blur(10px);
}

/* header row */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-nonneg {
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #1f0a00;
}

/* toggle button */
.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  color: #cfe7ff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

/* list base */
.principles-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;

  display: grid;
  gap: 14px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.25s ease;
}

/* expanded */
.principles-merged.open .principles-list {
  max-height: 600px;
  opacity: 1;
}

/* rotate icon */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* list items */
.principles-list li {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #e6f1ff;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);

  transform: translateY(8px);
  opacity: 0;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* stagger reveal */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

.principles-merged.open .principles-list li:nth-child(1){ transition-delay:.05s }
.principles-merged.open .principles-list li:nth-child(2){ transition-delay:.1s }
.principles-merged.open .principles-list li:nth-child(3){ transition-delay:.15s }
.principles-merged.open .principles-list li:nth-child(4){ transition-delay:.2s }

/* mobile */
@media (max-width: 768px) {
  .principles-merged {
    padding: 22px 20px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===============================
   PRINCIPLE HIGHLIGHT STATES
================================ */

.principles-list li.active-principle {
 /*  border-color: rgba(120,51,254,0.65);
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.5),
    0 30px 80px rgba(120,51,254,0.45);
  transform: translateY(-6px); */
}

.principles-list li.dimmed {
  opacity: 0.45;
  filter: saturate(0.8);
}

/* scroll base */
.principles-merged {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.principles-merged.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   PRINCIPLES ITEM — FIXED LAYOUT
================================ */

.principles-list li {
  position: relative;
  padding: 22px 88px 22px 64px; /* RIGHT SPACE RESERVED FOR BADGE */
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;
  font-size: 1rem;
  line-height: 1.65;

  box-shadow: 0 20px 60px rgba(2,6,23,0.55);
}

/* LEFT BULLET — PERFECT CENTER */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* RIGHT PHASE BADGE — NO OVERLAP */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.14);
  color: #cfe7ff;
}
@media (max-width: 640px) {
  .principles-list li {
    padding: 20px 20px 20px 56px;
  }

  .principles-list li::after {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 10px;
    opacity: 0.85;
  }
}
/* ===============================
   PROJECT PANEL — ULTRA PREMIUM
================================ */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,8,25,0.65);
  backdrop-filter: blur(4px);
}

.premium-panel {
  position: relative;
  max-width: 1100px;
  height: 85vh;
  margin: 6vh auto;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  animation: panelIn .4s ease;
}

@keyframes panelIn {
  from { opacity:0; transform: translateY(20px) scale(.98); }
  to   { opacity:1; transform:none; }
}

/* CLOSE */
.project-close {
  position:absolute;
  top:16px;
  right:20px;
  background:none;
  border:none;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
}

/* HEADER */
.pp-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:28px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.pp-status {
  display:inline-block;
  font-size:.7rem;
  font-weight:800;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:10px;
}

.pp-status.building {
  background: linear-gradient(90deg,#22c55e,#4ade80);
  color:#022c22;
}

.pp-header h2 {
  margin:0;
  color:white;
  font-size:1.8rem;
}

.pp-header p {
  color:#bcdffb;
  max-width:520px;
}

.pp-actions {
  display:flex;
  gap:12px;
}

/* BODY */
.pp-body {
  display:grid;
  grid-template-columns: 300px 1fr;
  height:100%;
  overflow:hidden;
}

/* LEFT */
.pp-meta {
  padding:24px;
  border-right:1px solid rgba(255,255,255,0.06);
  overflow-y:auto;
}

.pp-meta h4 {
  color:white;
  margin-bottom:10px;
}

.tag-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tag-list span {
  padding:6px 12px;
  border-radius:999px;
  font-size:.75rem;
  background: rgba(255,255,255,0.1);
  color:#e6f1ff;
}

.readiness div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

meter {
  width:140px;
}

/* RIGHT */
.pp-content {
  padding:28px;
  overflow-y:auto;
}

.pp-content h3 {
  color:white;
  margin-bottom:8px;
}

.pp-content p,
.pp-content li {
  color:#cfe7ff;
  line-height:1.7;
}

/* TEAM */
.team-contrib {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap:14px;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-card h5 {
  margin:0;
  color:white;
}

.team-card span {
  font-size:.8rem;
  color:#9fb4d6;
}

/* ROADMAP */
.roadmap li {
  margin-bottom:8px;
}

.roadmap li.done { color:#22c55e; }
.roadmap li.active { color:#60a5fa; }
.project-modal {
  display: none;
}
.project-modal.show {
  display: block;
}
/* ===============================
   READINESS — ADVANCED
================================ */
.readiness-adv {
  display: grid;
  gap: 16px;
}

.readiness-item {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.r-head {
  display:flex;
  justify-content:space-between;
  margin-bottom:6px;
  color:white;
}

.r-status {
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
}

.r-bar {
  height:6px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
  overflow:hidden;
  margin:6px 0;
}

.r-bar span {
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg,#22c55e,#4ade80);
}

.r-desc {
  font-size:.85rem;
  color:#bcdffb;
}

/* ===============================
   CONTENT BLOCKS
================================ */
.pp-block {
  background: rgba(255,255,255,0.04);
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  margin-bottom:18px;
}

.pp-block h3 {
  color:white;
  margin-bottom:8px;
}

/* ===============================
   ARCHITECTURE
================================ */
.arch-steps {
  display:grid;
  gap:10px;
}

.arch-step {
  padding:12px 14px;
  border-left:3px solid #60a5fa;
  background: rgba(255,255,255,0.04);
  border-radius:10px;
  color:#dbeafe;
}

/* ===============================
   TEAM PREMIUM
================================ */
.team-premium {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.team-p-card {
  background: rgba(255,255,255,0.05);
  border-radius:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-p-card h5 {
  margin:0;
  color:white;
}

.team-role {
  display:inline-block;
  margin:6px 0;
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: linear-gradient(90deg,#1e90ff,#60a5fa);
  color:white;
}

.team-p-card ul {
  padding-left:18px;
  color:#cfe7ff;
  font-size:.85rem;
}
/* ===============================
   PRINCIPLES — TIMELINE SYNCED
================================ */

.principles-merged {
  margin-top: 72px;
  padding: 32px;
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  backdrop-filter: blur(10px);
}

/* ---------- HEADER ---------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
}

/* ---------- NON-NEGOTIABLE BADGE (FIXED) ---------- */

.badge-nonneg {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 7px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #7833fe, #22c55e);
  color: #041b12;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 35px rgba(120,51,254,0.45);

  text-transform: uppercase;
}

/* ---------- TOGGLE ---------- */

.principles-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e6f1ff;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.principles-toggle i {
  transition: transform 0.35s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ---------- LIST ---------- */

.principles-list {
  margin-top: 22px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.6s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-list.show {
  max-height: 800px;
  opacity: 1;
}

/* ---------- ITEM ---------- */

.principles-list li {
  position: relative;
  padding: 20px 22px 20px 56px;
  border-radius: 18px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  color: #e6f1ff;
  font-size: 0.95rem;
  line-height: 1.7;

  box-shadow: 0 18px 50px rgba(2,6,23,0.55);
  backdrop-filter: blur(6px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 80px rgba(2,6,23,0.75);
}

/* ---------- TIMELINE DOT ---------- */

.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.8);
}

/* ---------- PHASE TAG ---------- */

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #9ca3af;
  opacity: 0.85;
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  .principles-merged {
    padding: 22px;
  }

  .principles-head h3 {
    font-size: 1.25rem;
    flex-wrap: wrap;
  }

  .principles-list li {
    padding: 18px 18px 18px 50px;
  }

  .principles-list li::after {
    display: none; /* clean mobile UX */
  }
}
/* MODAL WRAPPER */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

/* overlay stays fixed */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.7);
  backdrop-filter: blur(6px);
}

/* MAIN PANEL */
.project-panel {
  position: relative;
  margin: auto;
  height: min(92vh, 900px);
  width: min(1200px, 96vw);
  background: linear-gradient(180deg, #071428, #081a36);
  border-radius: 20px;
  overflow: hidden; /* 🔑 important */
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 120px rgba(0,0,0,0.6);
}
.pp-header {
  flex-shrink: 0;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 23, 55, 0.85);
  backdrop-filter: blur(8px);
}
.pp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 28px;
  overflow-y: auto;     /* ✅ ONLY SCROLL HERE */
  overscroll-behavior: contain;
}

/* smooth premium scrollbar */
.pp-body::-webkit-scrollbar {
  width: 8px;
}
.pp-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: 999px;
}
.pp-meta,
.pp-content {
  overflow: visible; /* ❌ no scroll here */
}
@media (max-width: 900px) {
  .project-panel {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pp-meta {
    order: 2;
    background: rgba(255,255,255,0.02);
    padding: 18px;
    border-radius: 16px;
  }

  .pp-content {
    order: 1;
  }

  .pp-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.project-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 50;

  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(8,23,55,0.85);
  backdrop-filter: blur(6px);

  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .15s ease, background .2s ease;
}

.project-close:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.06);
}

.project-close:active {
  transform: scale(0.94);
}
.pp-header {
  position: sticky;
  top: 0;
  z-index: 10;

  padding: 28px 72px 24px 28px; /* space for close btn */
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
@media (max-width: 900px) {

  .project-panel {
    width: 100vw;
    height: 100dvh; /* better than 100vh on mobile */
    max-height: none;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px 18px 32px;
  }

  .pp-meta {
    order: 2;
    margin-top: 24px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .pp-content {
    order: 1;
  }

  .project-close {
    top: 14px;
    right: 14px;
  }
}
/* ===============================
   PRINCIPLES — MOBILE PREMIUM FIX
================================ */
@media (max-width: 768px) {

  .principles-merged {
    margin-top: 40px;
    padding: 20px;
    border-radius: 18px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .principles-head h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .badge-nonneg {
    font-size: 0.55rem;
    padding: 5px 10px;
  }

  .principles-toggle {
    width: 100%;
    justify-content: space-between;
    display: flex;
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  /* list container */
  .principles-list {
    margin-top: 14px;
    gap: 10px;
  }

  /* individual item */
  .principles-list li {
    padding: 14px 16px 14px 42px;
    font-size: 0.9rem;
    line-height: 1.55;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* remove hover lift on mobile */
  .principles-list li:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* bullet */
  .principles-list li::before {
    left: 16px;
    width: 8px;
    height: 8px;
  }

  /* phase label → inline, not floating */
  .principles-list li::after {
    position: static;
    display: block;
    margin-top: 6px;
    transform: none;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
  }
}
/* =====================================================
   CONTACT / JOIN FORM — ULTRA PREMIUM (TIMELINE SYNCED)
===================================================== */

.contact-fullwidth {
  padding: 0;
  background: #020617;
}

.contact-fullwidth-bg {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(1200px 600px at 10% -20%, rgba(120,51,254,0.18), transparent 40%),
    radial-gradient(900px 500px at 90% 20%, rgba(167,139,250,0.12), transparent 45%),
    linear-gradient(180deg, #020617, #030a1f);
  overflow: hidden;
}

/* ambient glow */
/* .contact-fullwidth-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: #020617;
  pointer-events: none;
} */

/* container */
.contact-form-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= PANEL ================= */

.form-panel {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 40px 120px rgba(2,6,23,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ================= HEADER ================= */

.panel-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.panel-head .muted {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================= FORM GRID ================= */

.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* ================= FIELD ================= */

.field {
  position: relative;
  margin-top: 26px;
}

.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .15s ease;
}

.premium-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* focus glow */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7833fe;
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.8),
    0 12px 40px rgba(120,51,254,0.35);
  transform: translateY(-1px);
}

/* ================= FLOATING LABEL ================= */

.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #c7d2fe;
  pointer-events: none;
  transition: all .25s cubic-bezier(.2,.9,.2,1);
  background: transparent;
}

/* active / floated */
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  top: -12px;
  font-size: 0.75rem;
  color: #a78bfa;
  background: #020617;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ================= PHONE FIELD ================= */

.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 17.5px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

.phone-field label {
  left: 64px;
}

.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 60px;
}

/* ================= CONTROLS ================= */

.form-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= SUBMIT BUTTON ================= */

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  border: none;
  cursor: pointer;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.3px;

  box-shadow:
    0 18px 50px rgba(120,51,254,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform .15s ease,
    box-shadow .25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(120,51,254,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.45);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* loading state */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.9;
}
.phone-field .country
/* ================= STATUS ================= */

.status-msg {
  font-size: 0.95rem;
  color: #c7d2fe;
}

/* ================= MOBILE ================= */

@media (max-width: 520px) {
  .form-panel {
    padding: 26px;
    border-radius: 20px;
  }

  .panel-head h2 {
    font-size: 1.4rem;
  }
}/* ===============================
   PROJECT PRINCIPLES – VISIBILITY FIX
================================ */

.principles-merged {
 /*  margin-top: 64px;
  padding: 32px; */
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 70px rgba(2,6,23,0.6);

  backdrop-filter: blur(10px);
}

/* header alignment */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  color: #f0f6ff;
  font-weight: 800;
}

/* NON-NEGOTIABLE badge */
.badge-nonneg {
  margin-left: 10px;
  font-size: 0.65rem;
  padding: 6px 14px;
  border-radius: 999px;
  /* background: linear-gradient(90deg,#ef4444,#f97316); */
  color: white;
  letter-spacing: 1px;
  font-weight: 800;
}
/* ===============================
   PRINCIPLES TOGGLE FIX
================================ */

.principles-list {
  margin-top: 24px;
  list-style: none;
  padding-left: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease;
}

.principles-list.open {
  max-height: 600px;
  opacity: 1;
}

/* items */
.principles-list li {
  padding: 18px 20px 18px 52px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  color: #f0f6ff;
  position: relative;
  font-size: 0.95rem;
}

/* bullet */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  transform: translateY(-50%);
}
.principles-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 16px;
  border-radius: 14px;
  color: #e6f1ff;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ===============================
   PRINCIPLES – VISIBILITY RESET (FIX)
================================ */

/* parent must ALWAYS be visible */
.principles-merged {
  opacity: 1 !important;
  transform: none !important;
}

/* list container controlled by toggle only */
.principles-list {
  opacity: 1;
}

/* items start hidden ONLY for reveal animation */
.principles-list li {
  opacity: 0;
  transform: translateY(14px);
}

/* revealed state */
.principles-list li.reveal {
  opacity: 1;
  transform: translateY(0);
}
.principles-list li::before {
  opacity: 0;
  transform: scale(0.6) translateY(-50%);
}

.principles-list li.reveal::before {
  opacity: 1;
  transform: scale(1) translateY(-50%);
}
.contrib-list {
  display: grid;
  gap: 10px;
}

.contrib-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.contrib-item strong {
  color: #f0f6ff;
  font-weight: 700;
}

.contrib-item span {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-left: 10px;
}
.roadmap-list {
  display: grid;
  gap: 10px;
  padding-left: 0px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.roadmap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  box-shadow: 0 0 10px rgba(30,144,255,0.6);
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}

.roadmap-item span {
  color: #e5f3ff;
  font-size: 0.9rem;
}
.pp-meta h3{
  color: white;
}
/* ===============================
   PROJECT PANEL – TEAM CONTENT
================================ */

.pp-team {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

.pp-team-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;
  border-radius: 14px;
  /* background: rgba(255,255,255,0.05); */
  border: 1px solid rgba(255,255,255,0.08);
}

.pp-team-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.pp-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-team-info strong {
  color: #f0f6ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.pp-team-info span {
  font-size: 0.75rem;
  color: #9ca3af;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: #e6f1ff;
}
.projects-premium , .project-panel {
  color: #00D4FF;
}

.projects-premium p,
.project-panel p {
  color: #cfe7ff;
}

.projects-premium .muted,
.project-panel .muted {
  color: #9ca3af;
}
.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}
.project-status.active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}

.project-status.completed {
  background: #22c55e;
  color: #052e1a;
}

.project-status.upcoming {
  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}
.pp-team-item,
.roadmap-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}

.roadmap-item span {
  color: #cfe7ff;
}
/* ===============================
   PROJECT PANEL – BASE
================================ */

.project-modal {
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(10px);
}

.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  color: #f0f6ff;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}
/* ===============================
   PP HEADER
================================ */

.pp-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.pp-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.pp-header p {
  color: #cfe7ff;
  max-width: 560px;
  line-height: 1.6;
}

/* STATUS BADGE */
.pp-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
}
.pp-actions a {
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.pp-actions .btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6f1ff;
}

.pp-actions .btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}
/* ===============================
   PP BODY LAYOUT
================================ */

.pp-body {
  display: grid;
  /* grid-template-columns: 360px 1fr; */
  gap: 28px;
  /* padding: 32px; */
}

/* LEFT META */
.pp-meta section {
  margin-bottom: 26px;
}

.pp-meta h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 12px;
}
.tag-list span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}
/* ===============================
   PP CONTENT BLOCKS
================================ */

.pp-content section {
  margin-bottom: 28px;
}

.pp-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 10px;
}

.pp-content p {
  color: #cfe7ff;
  line-height: 1.7;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e6f1ff;
}
.pp-team-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}
.roadmap-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.roadmap-item span {
  color: #cfe7ff;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}
.readiness-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.r-head span {
  color: #f0f6ff;
}

.r-desc {
  color: #9ca3af;
}


/* --------------------------Lakshya-section-Start------------------ */
/* ===============================
   TIMELINE SECTION
================================ */

.timeline-section {
  padding: 6rem 1rem 8rem;
  background: #020617;
}

/* ---------- HEADING ---------- */

.timeline-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
  animation: fadeUp 0.9s ease forwards;
}

.timeline-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #7833fe;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.timeline-title span {
  color: #7833fe;
}

.timeline-subtitle {
  max-width: 620px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* Divider */
.timeline-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timeline-divider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7833fe;
  opacity: 0.3;
}

.timeline-divider .line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
}

/* ---------- TIMELINE ---------- */

.timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* base line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,0.12);
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, #7833fe, #a78bfa);
  z-index: 1;
}

/* ---------- ITEMS ---------- */

.timeline-item {
  position: relative;
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* states */
.timeline-item.completed .timeline-dot {
  background: #22c55e;
}

.timeline-item.active .timeline-dot {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.7);
}

/* card */
.timeline-card {
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(2,6,23,0.65);
}

.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* tag */
.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  color: white;
}

.timeline-tag.glow {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 20px rgba(120,51,254,0.6);
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 16px;
    transform: none;
  }

  .timeline-dot {
    left: 16px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px;
    max-width: 100%; */
  }
}

/* ---------- ANIMATION ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------- CURRENT BADGE ---------- */
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
  box-shadow:
    0 6px 20px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);
  text-transform: uppercase;
  animation: pulseGlow 1.8s infinite ease-in-out;
  z-index: 5;
}

/* glowing pulse */
@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}

/* ---------- CARD BASE (YOUR EXISTING, WITH SMALL TWEAK) ---------- */
.timeline-card {
  position: relative;
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover lift */
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* stronger emphasis for current */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 70px rgba(34,197,94,0.35);
}

/* text */
.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ---------- RESPONSIVE FIX ---------- */
@media (max-width: 768px) {
  .timeline-card {
    margin-left: 32px;
    max-width: calc(100% - 32px);
  }

  .current-badge {
    right: 12px;
  }
}


















/* ===============================
   TIMELINE CORE
================================ */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
}

/* animated progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* ===============================
   TIMELINE ITEMS
================================ */
.timeline-item {
  position: relative;
  margin: 90px 0;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* ===============================
   CARDS (LEFT / RIGHT)
================================ */
.timeline-card {
  position: relative;
  width: min(420px, 90%);
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* LEFT */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-80px);
}

/* RIGHT */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(80px);
}

/* ===============================
   ACTIVE / VISIBLE
================================ */
.timeline-item.visible {
  opacity: 1;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0);
}

/* active dot */
.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 14px rgba(124,58,237,0.6);
}

/* ===============================
   CURRENT CARD
================================ */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 80px rgba(34,197,94,0.35);
}

/* ===============================
   MOBILE (STACKED)
================================ */
@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px !important;
    width: calc(100% - 48px);
    transform: translateY(40px); */
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0);
  }
}
/* ===============================
   PREMIUM ZIG-ZAG TIMELINE (FINAL)
================================ */

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center spine */
.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg, #7c3aed, #22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) scale(0.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* card base */
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 24px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(2,6,23,0.65);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    opacity 0.5s ease,
    box-shadow 0.35s ease;
}

/* ---------- LEFT ---------- */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform:
    translateX(-120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- RIGHT ---------- */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform:
    translateX(120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- VISIBLE ---------- */
.timeline-item.visible {
  opacity: 1;
  pointer-events: auto;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 18px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

/* hover micro-lift */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,0.75);
}

/* current emphasis */
.timeline-card.current {
  border-color: rgba(34,197,94,.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,.35),
    0 40px 120px rgba(34,197,94,.35);
}

/* ===============================
   MOBILE (STACKED + FADE UP)
================================ */
@media (max-width: 768px) {

  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: scale(0.6);
  }

  .timeline-card {
    margin-left: 52px !important;
    width: calc(100% - 52px);
    transform: translateY(60px) scale(0.97);
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0) scale(1);
  }
}

/* ===============================
   PREMIUM VISIBILITY STATES
================================ */

/* base */
.timeline-item {
  opacity: 0;
  pointer-events: none;
}

/* ACTIVE (focus card) */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

/* PAST (soft presence) */
.timeline-item.is-past {
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(0.97);
  filter: blur(0.3px);
}

/* FUTURE (hidden) */
.timeline-item.is-future {
  opacity: 0;
  pointer-events: none;
}

/* dot logic */
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past .timeline-dot {
  background: #22c55e;
  opacity: 0.6;
}

.timeline-item.is-future .timeline-dot {
  opacity: 0.25;
}
/* ===============================
   CINEMATIC TIMELINE
================================ */

.timeline-section {
  background: #020617;
  padding: 6rem 1rem 8rem;
}

/* spine */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  /* margin-right: 20px; */

}

.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height .25s ease;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%) scale(.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  transition: all .4s ease;
  z-index: 2;
}

/* card */
.timeline-card {
  width: min(420px,92%);
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03)
  );
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(2,6,23,.65);
  transition:
    transform .8s cubic-bezier(.2,.9,.2,1),
    box-shadow .4s ease;
}

/* zig-zag */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-120px) translateY(40px) scale(.96);
}
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(120px) translateY(40px) scale(.96);
}

/* STATES */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past {
  opacity: .35;
  z-index: 1;
}
.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(.97);
  filter: blur(.4px);
}

.timeline-item.is-future {
  opacity: 0;
}

/* hover */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,.75);
}

/* mobile */
@media (max-width:768px){
  .timeline-wrap::before,
  .timeline-progress{
    left:18px;
    transform:none;
  }
  .timeline-wrap{
  margin-right: 20px;
  }
  .timeline-dot{ left:18px; }
  .timeline-card{
    margin-left:52px!important;
    width:calc(100% - 52px);
    transform: translateY(60px) scale(.97);
  }
  .timeline-item.is-active .timeline-card{
    transform: translateY(0) scale(1);
  }
}
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 26px 26px 24px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.09),
      rgba(255,255,255,0.03)
    );

  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid var(--border-soft);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}
.timeline-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--violet-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.timeline-item.is-active .timeline-card::before {
  opacity: 1;
}
.timeline-card h3 {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.12);
}
.timeline-item.is-active .timeline-card {
  border-color: var(--border-glow);

  box-shadow:
    0 0 0 1px rgba(124,58,237,0.4),
    0 45px 140px rgba(124,58,237,0.45);
}
.timeline-item.is-past .timeline-card {
  opacity: 0.4;
  filter: blur(0.4px);
  transform: translateY(-18px) scale(0.97);
}
.timeline-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 50px 160px rgba(2,6,23,0.85),
    0 0 0 1px rgba(124,58,237,0.35);
}
/* ===============================
   CURRENT CARD — GREEN PREMIUM
================================ */

.timeline-card.current {
  background:
    linear-gradient(
      180deg,
      rgba(34,197,94,0.16),
      rgba(34,197,94,0.06)
    );

  border-color: rgba(34,197,94,0.55);

  box-shadow:
    0 0 0 1px rgba(34,197,94,0.45),
    0 45px 140px rgba(34,197,94,0.45),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.timeline-card.current::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--green-glow),
    transparent 70%
  );

  opacity: 0.9;
  pointer-events: none;
}
.timeline-card.current h3 {
  color: #ecfdf5; /* soft white-green */
}

.timeline-card.current p {
  color: #d1fae5; /* readable mint */
}
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;

  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;

  border-radius: 999px;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  box-shadow:
    0 8px 26px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  animation: pulseGreen 1.8s infinite ease-in-out;
}
@keyframes pulseGreen {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}
.timeline-card.current:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 60px 180px rgba(34,197,94,0.55),
    0 0 0 1px rgba(34,197,94,0.5);
}
/* ===============================
   DOT OPPOSITE ALIGNMENT (PREMIUM)
================================ */

/* base dot position (center reference) */
.timeline-dot {
  position: absolute;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* LEFT CARD → DOT SHIFTS LEFT */
.timeline-item:nth-child(odd) .timeline-dot {
  left: calc(50% - 18px);
  transform: translateX(-50%) scale(0.6);
}

/* RIGHT CARD → DOT SHIFTS RIGHT */
.timeline-item:nth-child(even) .timeline-dot {
  left: calc(50% + 18px);
  transform: translateX(-50%) scale(0.6);
}
.timeline-item.is-active:nth-child(odd) .timeline-dot,
.timeline-item.is-active:nth-child(even) .timeline-dot {
  transform: translateX(-50%) scale(1);
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
}
@media (max-width: 768px) {
  .timeline-dot {
    left: 18px !important;
    transform: scale(0.7) !important;
  }
}

/* --------------------------Lakshya-section-end------------------ */

/* form styling -add  */

/* =====================================================
   PREMIUM CONTACT / JOIN FORM (HACKROOT GRADE)
   Palette synced with Timeline + Projects
===================================================== */

/* section wrapper */
.contact-fullwidth {
  padding: 0;
  background-color: #020617;
}

/* cinematic background */
.contact-fullwidth-bg {
  position: relative;
  padding: 5rem 0;
  background-color:#020617;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
}

/* glass panel */
.form-panel {
  max-width: 820px;
  margin: auto;
  padding: 36px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* header */
.panel-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.panel-head .muted {
  color: rgba(207,231,255,0.7);
  margin-top: 6px;
}

/* grid rows */
.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* field wrapper */
.field {
  position: relative;
  margin-top: 18px;
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.12);
  outline: none;

  font-size: 0.95rem;
  letter-spacing: 0.2px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* floating labels */
.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;

  font-size: 0.85rem;
  color: rgba(207,231,255,0.8);
  transition: 0.25s ease;
  background: transparent;
  padding: 0 6px;
}

/* focus */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 28px rgba(124,58,237,0.35);
  transform: translateY(-1px);
}

/* float label */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.72rem;
  color: #a78bfa;
  background: #020617;
  border-radius: 6px;
}

/* phone field */
.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

/* textarea */
.premium-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* submit area */
.form-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

/* submit button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;
  border-radius: 14px;
  border: none;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow:
    0 10px 40px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 60px rgba(34,197,94,0.6);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

/* status text */
.status-msg {
  color: rgba(207,231,255,0.85);
  font-size: 0.95rem;
}

/* success modal */
.success-modal {
  backdrop-filter: blur(6px);
  background: rgba(2,6,23,0.65);
}

.success-card {
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 120px rgba(2,6,23,0.85);
}

/* ===============================
   PHONE FIELD FIX (FINAL)
================================ */
.phone-field {
  display: flex;
  align-items: stretch;
  position: relative;
}

.phone-field .country {
  min-width: 56px;
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  font-weight: 700;
  color: #ffffff;
}

.phone-field input {
  flex: 1;
  border-radius: 0 14px 14px 0;
  padding-left: 18px !important;
}

/* label alignment */
.phone-field label {
  left: 76px;
}

/* floating label */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 70px;
}
/* ===============================
   STEP FORM REVEAL
================================ */
.field {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.2,.9,.2,1);
}

.field.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   AI TYPING GLOW
================================ */
.premium-form input.is-typing,
.premium-form textarea.is-typing {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 32px rgba(124,58,237,0.45);
}
/* ===============================
   INLINE VALIDATION
================================ */
.field.invalid input,
.field.invalid textarea {
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239,68,68,0.45);
  animation: shake 0.25s ease;
}

.field.valid input,
.field.valid textarea {
  border-color: #22c55e;
  box-shadow: 0 0 18px rgba(34,197,94,0.45);
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
/* ===============================
   VERIFIED BADGE
================================ */
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;

  color: #022c22;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 999px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 30px rgba(34,197,94,0.45);

  opacity: 0;
  transform: scale(0.8);
  transition: 0.35s ease;
}

.verified-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   CONTACT SECTION HEADING
   (Matches Projects & Timeline)
================================ */

.contact-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #7c3aed;
  margin-bottom: 0.8rem;
}

.contact-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-title span {
  color: #7c3aed;
}

.contact-subtitle {
  max-width: 620px;
  margin: 1rem auto 1.8rem;
  font-size: 1.05rem;
  color: rgba(207,231,255,0.75);
  line-height: 1.7;
}
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  
}





















































































































.contact-fullwidth-bg{
  background: #020617;
}
@media (max-width: 900px) {
  .site-header,
  .nav,
  .project-glass,
  .team-member-card,
  .quickview-overlay,
  .form-panel ,
  .contact-fullwidth-bg{
    backdrop-filter: none !important;
  }
}





/* footer -suchi start here */

/* ===============================
   FOOTER — FULL PAGE PALETTE MATCH
================================ */

.site-footer {
  background:
    radial-gradient(900px 300px at top center,
      rgba(124,58,237,0.12),
      transparent 60%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
  color: var(--text-soft);
  position: relative;
  overflow: hidden;
}

/* subtle divider (timeline language) */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--violet-main),
    var(--green-main),
    transparent
  );
  opacity: 0.75;
}

/* ===============================
   GRID
================================ */
.footer-grid {
  max-width: 1180px;
  margin: auto;
  padding: 72px 24px 52px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 36px;
}

/* ===============================
   BRAND
================================ */
.footer-logo {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-h { color: #ffffff; }
.logo-r {
  background: linear-gradient(90deg, var(--violet-main), var(--violet-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  margin: 16px 0 14px;
  padding: 6px 16px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  color: #e9d5ff;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 420px;
  color: var(--text-muted);
}

.footer-email {
  margin-top: 12px;
  font-size: 0.75rem;
}

.footer-email a {
  color: var(--violet-soft);
  text-decoration: none;
  opacity: 0.85;
}

.footer-email a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===============================
   LINKS
================================ */
.footer-links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.footer-links a,
.footer-links span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  opacity: 0.75;
  transition: all 0.25s ease;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--green-soft);
}

/* ===============================
   BOTTOM BAR
================================ */
.footer-bottom {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 0.72rem;
  color: rgba(207,231,255,0.65);
}

/* socials */
.footer-socials a {
  margin-left: 14px;
  font-size: 1.05rem;
  color: #cfe7ff;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--green-main);
  transform: translateY(-3px);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-socials a {
    margin: 0 10px;
  }
}


.footer-socials a {
  text-decoration: none !important;
}

.footer-socials a::after,
.footer-socials a::before {
  content: none !important;
}
/* ===============================
   STATIC PAGE SUPPORT (IMPORTANT)
================================ */

.page-wrap {
  min-height: 60vh;
}

/* titles */
.page-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

/* subtitle */
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* list */
.simple-list {
  list-style: none;
  padding-left: 0;
}

.simple-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-main);
  font-size: 1.2rem;
  line-height: 1;
}
/* ===============================
   ENTERPRISE PAGE SYSTEM
================================ */

.page-enterprise {
  background: #020617;
}

.page-hero {
  margin-bottom: 64px;
}

.page-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--violet-soft);
}

.page-block {
  margin-bottom: 72px;
}

.page-block h2 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.page-block p {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 760px;
}

/* capability grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
}

.cap-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* process list */
.process-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  max-width: 760px;
}

.process-list li {
  counter-increment: step;
  margin-bottom: 22px;
  padding-left: 42px;
  position: relative;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet-main), var(--green-main));
  color: #020617;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* tags */
.tag-list.premium span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

/* highlight block */
.page-block.highlight {
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(124,58,237,0.12),
    rgba(34,197,94,0.08)
  );
  border: 1px solid rgba(255,255,255,0.12);
}




/* webicon -styling  */

.logo{
  height:48px;              /* ⬅ slightly bigger */
  width:48px;
  padding:10px;             /* ⬅ optical breathing space */
  border-radius:14px;

  /* Solid dark base (important) */
  background:#020617;

  /* Inner contrast ring */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 18px rgba(120,51,254,0.18), /* subtle violet lift */
    0 10px 28px rgba(2,6,23,0.85);        /* outer depth */

  border:1px solid rgba(255,255,255,0.18);

  display:flex;
  align-items:center;
  justify-content:center;
}













/* HERO → NEXT SECTION BLEND */
.hero-premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    to bottom,
    rgba(2,6,23,0) 0%,
    rgba(2,6,23,0.35) 40%,
    rgba(2,6,23,0.75) 70%,
    #020617 100%
  );
}
/* pull next section into hero */
.hero-premium + .section {
  margin-top: -120px;
  padding-top: 160px;
}
.hero-premium,
.team-section-premium,
.section {
  background: #020617;
}
.section {
  position: relative;
  z-index: 3;
}



/* all work done -now loading and more styling add */

/* ===============================
   PREMIUM PAGE LOADER
================================ */
/* =====================================================
   WORLD-CLASS BRAND LOADER — HACKROOT
===================================================== */

.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background:
    radial-gradient(800px 400px at 50% -120px, rgba(124,58,237,0.25), transparent),
    linear-gradient(180deg, #020617, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.brand-loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* inner stack */
.brand-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: loaderFadeIn .9s ease both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* logo container */
.brand-logo-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* logo itself */
.brand-logo {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 22px rgba(124,58,237,0.25),
    0 18px 50px rgba(2,6,23,0.9);
  z-index: 2;
}

/* animated energy ring */
.energy-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,0.45);
  box-shadow:
    0 0 22px rgba(124,58,237,0.45),
    inset 0 0 18px rgba(124,58,237,0.35);
  animation: ringPulse 1.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(.92); opacity:.6 }
  50%  { transform: scale(1.06); opacity:1 }
  100% { transform: scale(.92); opacity:.6 }
}

/* brand text */
.brand-loader-text {
  text-align: center;
}

.brand-name {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .4px;
  color: #ffffff;
}

.brand-name span {
  color: #7c3aed;
}

.brand-tagline {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(207,231,255,0.75);
}

/* exit animation polish */
.page-loaded .brand-loader-inner {
  animation: loaderExit .55s ease forwards;
}

@keyframes loaderExit {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }
}









/* Slowly Reveal */

/* =====================================================
   ULTRA-PREMIUM SCROLL REVEAL SYSTEM (MNC GRADE)
   Works once, smooth, GPU-safe
===================================================== */

/* ========== 1. BASE REVEAL (fallback / default) ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========== 2. HERO – SOFT FADE (Apple style) ========== */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ========== 3. TEAM / GRIDS – STAGGER SYSTEM ========== */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.reveal-stagger.visible > *:nth-child(1){transition-delay:.06s}
.reveal-stagger.visible > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.visible > *:nth-child(3){transition-delay:.18s}
.reveal-stagger.visible > *:nth-child(4){transition-delay:.24s}
.reveal-stagger.visible > *:nth-child(5){transition-delay:.30s}
.reveal-stagger.visible > *:nth-child(6){transition-delay:.36s}
.reveal-stagger.visible > *:nth-child(7){transition-delay:.42s}

/* ========== 4. PROJECTS – LIFT + BLUR (Premium cards) ========== */
.reveal-lift {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    filter 0.9s ease;
  will-change: transform, opacity;
}

.reveal-lift.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ========== 5. TIMELINE – DIRECTIONAL (Left / Right) ========== */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 6. FORMS – GLASS REVEAL (Theme matched) ========== */
.reveal-glass {
  opacity: 0;
  transform: translateY(36px);
  backdrop-filter: blur(0);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    backdrop-filter 0.9s ease;
}

.reveal-glass.visible {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(8px);
}

/* ========== 7. MODALS / STATS – SCALE IN ========== */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.9,.2,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== 8. PERFORMANCE & ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-stagger > *,
  .reveal-lift,
  .reveal-left,
  .reveal-right,
  .reveal-glass,
  .reveal-scale {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
:root{
  --bg:#081737;
  --card:#F4F7FB;
  --accent:#1E90FF;
  --accent2:#00D4FF;
  --muted:#6B7A8A;
  --text:#0B1B2B;
  --radius:12px;
  --container:1100px;
  --gap:24px;
  
  /* BASE */
  --bg-main: #020617;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-soft: rgba(255,255,255,0.035);

  /* TEXT */
  --text-main: #ffffff;
  --text-soft: #cfe7ff;
  --text-muted: rgba(207,231,255,0.65);

  /* ACCENTS */
  --violet-main: #7c3aed;
  --violet-soft: #a78bfa;
  --violet-glow: rgba(124,58,237,0.55);

  /* BORDERS */
  --border-soft: rgba(255,255,255,0.12);
  --border-glow: rgba(124,58,237,0.45);
   /* green premium */
  --green-main: #22c55e;
  --green-soft: #4ade80;
  --green-glow: rgba(34,197,94,0.45);
}
*{box-sizing:border-box}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0; color:var(--text); background:#020617;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:var(--container); margin:0 auto; padding:48px 20px;}
.site-header{position:sticky; top:0; z-index:40; backdrop-filter: blur(6px); background:#020617; border-bottom:1px solid rgba(255,255,255,0.03);}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0;}
.brand{color:white; font-weight:700; font-size:1.2rem; text-decoration:none;}
.nav a{font-size: large;color:#dfeefb; margin-left:18px; text-decoration:none;}
.btn-primary{background:linear-gradient(90deg, #7833fe, #9a6bff); color:white; padding:10px 16px; border-radius:10px; text-decoration:none; display:inline-block;}
.btn-ghost{background:transparent; border:1px solid rgba(255,255,255,0.08); color:#cfe7ff; padding:8px 14px; border-radius:10px; text-decoration:none;}
.btn-outline{border-radius:10px; border:1px solid rgba(255,255,255,0.12); padding:8px 12px; color:#cfe7ff; text-decoration:none;}
.hero{padding:80px 0; color:white;}
.hero-inner{display:flex; gap:36px; align-items:center; justify-content:space-between;}
.hero-copy h1{font-size:2.2rem; margin:0 0 12px;}
.lead{opacity:0.9; color:#d7eaff; margin-bottom:18px}
.hero-media{min-width:320px; max-width:460px;}
.project-preview{background:rgba(255,255,255,0.03); padding:18px; border-radius:12px; border:1px solid rgba(255,255,255,0.04)}
.section{padding:72px 0; background:transparent; color:var(--text)}
.section.alt{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent)}
h2{color:var(--card); margin-bottom:10px}
.muted{color:var(--muted); font-size:0.95rem; margin-bottom:20px}
/* Grid */
.grid{display:grid; gap:var(--gap)}
.team-grid{grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));}
.card{background:var(--card); border-radius:var(--radius); padding:18px; box-shadow:0 8px 30px rgba(2,6,23,0.4); transition:transform .18s ease, box-shadow .18s ease;}
.card:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(2,6,23,0.5)}
.avatar{width:100%; height:140px; object-fit:cover; border-radius:10px; margin-bottom:12px;}
.role{color:var(--muted); margin:6px 0 10px;}
.team-grid .card ul{padding-left:18px; margin:0 0 12px; color:#234;}
.btn-link{background:transparent; border:none; color:var(--accent); cursor:pointer; font-weight:600; padding:6px 0}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  background: #020617;
  color: var(--text-main);
}
.section,
.section.alt,
.hero-premium,
.team-section-premium {
  background: transparent !important;
}
@media (max-width: 900px) {
  * {
    backdrop-filter: none !important;
  }
}

/* Projects */
.projects-grid{grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));}
.project-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* Timeline */
/* .timeline{display:flex; flex-direction:column; gap:16px; margin-top:12px} */
.step{background:rgba(255,255,255,0.03); padding:12px 16px; border-radius:10px; color:white}

/* Contact form */
.contact-form{display:grid; gap:12px; max-width:640px}
.contact-form input, .contact-form textarea{padding:12px; border-radius:8px; border:1px solid rgba(11,27,43,0.06)}
.site-footer{padding:28px 0; border-top:1px solid rgba(255,255,255,0.03); color:#cfe7ff; background:transparent}
h1 span{
    color: green;
    font-size: larger;
}
.h{
  font-size: 8rem;
  font-weight: bolder;
  height: 10rem;
  /* font-style: ; */
}
.R{
   /* font-size: 10rem;
  font-weight: bolder;
  height: 10rem;
  font-style: ; */
}
/* FAST PREMIUM LOADING OVERLAY */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: auto ;
}

/* Minimal clean loader */
.fast-loader {
  width: 50px ;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #4ade80; /* green accent */
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* success check */
.fast-check {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform: scale(0.7);
  transition: 220ms ease;
}

.fast-check.show {
  opacity:1;
  transform: scale(1);
}

.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
/* prateek - form section  */
/* -------------------- Full-width contact + Premium form (UPDATED) -------------------- */

.contact-fullwidth { padding: 0; }
.contact-fullwidth-bg {
  width: 100%;
  /* background: linear-gradient(135deg, rgba(2,8,35,0.86) 0%, rgba(5,12,40,0.75) 60%); */
  /* border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02); */
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* soft decorative glow */
.contact-fullwidth-bg::before{
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(closest-side, rgba(30,144,255,0.06), transparent 40%),
              radial-gradient(closest-side, rgba(0,212,255,0.03), transparent 30%);
  transform: rotate(12deg);
  pointer-events: none;
}

/* container inside full width */
.contact-form-wrap { max-width: var(--container); padding: 40px 20px; margin: 0 auto; }

/* main form panel */
.form-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(8px) saturate(120%);
}

/* header */
.panel-head h2 { color: var(--card); margin: 0 0 6px; font-size: 1.6rem; }
.panel-head .muted { color: var(--muted); opacity: .95; margin-bottom: 6px; }

/* layout rows */
.premium-form .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width:900px){ .premium-form .row{ grid-template-columns: 1fr; } }

/* field base */
.field {
  position: relative;
  margin-bottom: 22px; /* extra breathing room for floating labels */
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--card);
  font-size: 0.98rem;
  outline: none;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
  caret-color: var(--accent2);
  -webkit-appearance: none;
}

/* placeholder trick (use placeholder=" " in HTML) */
.field input::placeholder, .field textarea::placeholder { color: transparent; }

/* floating label */
.field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all .22s cubic-bezier(.2,.9,.2,1);
  color: rgba(207,231,255,0.85);
  background: transparent;
  padding: 0 6px;
  z-index: 2;
}

/* focus/active state for inputs */
.premium-form input:focus,
.premium-form textarea:focus { 
  box-shadow: 0 6px 24px rgba(14,32,80,0.35);
  border-color: rgba(30,144,255,0.95);
  transform: translateY(-1px);
}

/* floating state (more vertical spacing) */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -12px;                 /* moved farther up so it doesn't collide */
  left: 12px;
  font-size: 0.78rem;
  color: var(--accent2);
  background: #071428;        /* matches dark theme behind label */
  padding: 0 6px;
  border-radius: 6px;
  z-index: 4;
}

/* ------------- Phone field (fixed & premium) ------------- */
.phone-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* +91 prefix block */
.phone-field .country{
  display:flex; align-items:center; justify-content:center;
  padding: 14px 14px; /* slightly wider for breathing room */
  border-radius:12px 0 0 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: var(--card);
  font-weight:700;
  z-index: 3;
  flex: 0 0 auto;
}

/* input inside phone field — push content right to avoid overlap */
.phone-field input {
  border-radius: 0 12px 12px 0;
  border-left: none;
  padding-left: 60px !important; /* IMPORTANT: keeps text clear of the prefix */
  min-width: 0; /* fixes flexbox overflow in some browsers */
}

/* floating label inside phone field: align with padded input area */
.phone-field label {
  left: 60px; /* align with input text area */
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* when floating, adjust left slightly to keep neat */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  top: -12px;
  left: 56px;
  font-size: 0.78rem;
  background: #071428;
  padding: 0 6px;
  z-index: 4;
}

/* textarea height */
.premium-form textarea { min-height:120px; resize:vertical; }

/* submit area */
.form-controls { display:flex; gap:12px; align-items:center; margin-top:4px; flex-wrap:wrap; }

/* submit button polished */
.submit-btn {
  display:inline-flex; align-items:center; gap:12px;
  padding:12px 18px; border-radius:12px; border:none;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:white; font-weight:700; cursor:pointer; box-shadow: 0 8px 30px rgba(30,144,255,0.18);
  transition: transform .12s ease, box-shadow .18s ease, opacity .12s ease;
  position:relative; overflow:hidden;
}
.submit-btn:active{ transform: translateY(1px) scale(.998); }
.submit-btn .icon-send { width:18px; height:18px; fill:rgba(255,255,255,0.95); transform: translateX(0); transition: transform .22s cubic-bezier(.2,.9,.2,1); }
.submit-btn .btn-text{ letter-spacing:.2px; }

/* spinner */
.btn-spinner{
  width:20px; height:20px; border-radius:50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: rgba(255,255,255,0.95);
  display:inline-block; margin-left:8px; transform: scale(.6); opacity:0; pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  animation: spin .8s linear infinite;
}

/* loading state */
.submit-btn.loading { pointer-events:none; opacity:.98; }
.submit-btn.loading .btn-text { opacity:0; transform: translateX(-6px); }
.submit-btn.loading .icon-send { transform: translateX(-8px); opacity:0.0; }
.submit-btn.loading .btn-spinner { opacity:1; transform: scale(1); }

/* small spinner keyframes (reused) */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* status message */
.status-msg { color: #bcdffb; font-size:0.95rem; margin-left:6px; }

/* success modal */
.success-modal {
  position: fixed; inset:0; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(3,6,12,0.45), rgba(3,6,12,0.6));
  z-index:9999; opacity:0; pointer-events:none; transition: opacity .22s ease;
}
.success-modal.show { opacity:1; pointer-events:auto; }
.success-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:14px; padding:28px; text-align:center; width: min(520px, 92%);
  border:1px solid rgba(255,255,255,0.06); box-shadow: 0 22px 70px rgba(2,6,23,0.6);
}
.checkmark svg { width:72px; height:72px; stroke: none; fill: none; }
.checkmark { width:92px; height:92px; border-radius:50%; margin: 0 auto 8px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(90deg,#22c55e,#16a34a); box-shadow: 0 8px 30px rgba(34,197,94,0.16);
}
.checkmark svg path { stroke: white; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; fill:none; }

/* small helpers */
.btn-ghost { background: transparent; border:1px solid rgba(255,255,255,0.06); color: #cfe7ff; padding:8px 12px; border-radius:10px; }

/* responsive tweaks */
@media (max-width:520px) {
  .phone-field .country { padding: 12px 10px; font-size: 0.95rem; }
  .phone-field input { padding-left: 54px !important; }
  .phone-field label { left: 54px; }
  .phone-field input:focus + label,
  .phone-field input:not(:placeholder-shown) + label { left: 50px; }
}
.invalid {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 10px rgba(255,0,0,0.3) !important;
}

.shake {
  animation: shakeAnim 0.25s ease;
}

@keyframes shakeAnim {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* modal animation */
.success-modal .success-card {
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .28s ease;
}
.success-modal.show .success-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* subtle toast/status emphasis */
.status-msg {
  transition: opacity .18s ease, transform .18s ease;
}

/* form-level shake for serious errors */
form.shake { animation: shakeAnim 0.28s ease; }
/* success popup (premium tick) */

/* GIF SUCCESS POPUP */
/* GIF SUCCESS POPUP */
.gif-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99999;
}

.gif-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.gif-panel {
  background: #020617;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  color: #dff6ff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.gif-popup.show .gif-panel {
  transform: scale(1);
}

.gif-tick {
  width: 130px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 14px;
}


/* Responsive */
@media (max-width:900px){ .hero-inner{flex-direction:column; align-items:flex-start} .header-inner{align-items:center} .nav{display:none} .nav-toggle{display:block} }
@media (prefers-reduced-motion: reduce){ *{transition:none!important} }
/* nav - by prateek */
/* ===============================
   PREMIUM BRAND (HackRoot)
================================ */
.premium-brand {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-h {
  color: #4ade80;
  font-size: 1.8rem;
}

.brand-r {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* subtle glow */
.premium-brand:hover {
  text-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}

/* ===============================
   NAVBAR POLISH
================================ */
.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* links */
.nav-link {
  position: relative;
  color: #dfeefb;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
} */

/* ===============================
   TOGGLE BUTTON (FA ICON)
================================ */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ===============================
   MOBILE NAV
================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 20px;
    width: min(280px, 90%);
    background: rgba(8, 23, 55, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after {
    display: none;
  }
}
/* ===== BRAND SYSTEM ===== */
.premium-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-main {
  color: #ffffff;
}

.brand-accent {
  margin-left: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hover polish */
.premium-brand:hover {
  opacity: 0.95;
}
/* ===============================
   MOBILE NAV SAFE PADDING FIX
================================ */
.site-header .header-inner {
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}

/* extra micro spacing for brand & toggle */
.premium-brand {
  margin-left: 2px;
}

.nav-toggle {
  margin-right: 2px;
}
@media (max-width: 480px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
/* ===============================
   LOGO SHRINK ON SCROLL
================================ */
.site-header {
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.premium-brand {
  transition: transform 0.25s ease, font-size 0.25s ease;
}

.site-header.scrolled .premium-brand {
  transform: scale(0.92);
  opacity: 0.95;
}
/* ===============================
   TOUCH RIPPLE EFFECT
================================ */
.nav-toggle,
.nav-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.35);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    width: min(300px, 92%);
    padding: 22px;

    background: rgba(8, 23, 55, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 16px;

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* stagger */
  .nav.open .nav-link:nth-child(1){ transition-delay: .05s }
  .nav.open .nav-link:nth-child(2){ transition-delay: .1s }
  .nav.open .nav-link:nth-child(3){ transition-delay: .15s }
  .nav.open .nav-link:nth-child(4){ transition-delay: .2s }
  .nav.open .nav-link:nth-child(5){ transition-delay: .25s }
}
/* ===============================
   NAV LINK PRESS + ACTIVE STATE
================================ */
.nav-link {
  transition:
    color 0.2s ease,
    transform 0.12s ease,
    background 0.2s ease;
}

.nav-link:active {
  transform: scale(0.96);
}

/* active section highlight */
.nav-link.active {
  color: white;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}
/* ===============================
   NAV BACKDROP (PREMIUM)
================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   TOGGLE ICON FEEDBACK
================================ */
.nav-toggle i {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open i {
  transform: rotate(90deg) scale(1.1);
}
.nav-toggle:active {
  transform: scale(0.94);
}
/* ===============================
   LOGO MORPH ON SCROLL
================================ */
.premium-brand {
  transition:
    letter-spacing 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* scrolled state */
.site-header.scrolled .premium-brand {
  letter-spacing: -0.4px;
  transform: scale(0.92);
  opacity: 0.95;
}

/* individual letter tuning */
.site-header.scrolled .brand-h {
  font-size: 1.6rem;
}

.site-header.scrolled .brand-r {
  filter: brightness(1.05);
}
.premium-brand:hover {
  text-shadow:
    0 0 12px rgba(74,222,128,0.35),
    0 0 20px rgba(0,212,255,0.25);
}
.premium-brand {
  position: relative;
  overflow: hidden;
}

.premium-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.25),
    transparent 70%
  );
  transform: translateX(-120%);
}

.site-header.loaded .premium-brand::after {
  animation: sheen 1.2s ease forwards;
}

@keyframes sheen {
  to { transform: translateX(120%); }
}
.header-inner {
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 520px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
                          
















/* team section */

/* ===============================
   TEAM – PREMIUM STANDARD
================================ */

.team-section-premium {
  background: #020617;
}

.team-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.team-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: #7833fe;
}

.team-title {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: white;
   font-weight: 900;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.team-subtitle {
  color: #9ca3af;
  line-height: 1.6;
}

/* GRID */
.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARD */
/* ===============================
   TEAM CARD – COMPACT PREMIUM
================================ */

.team-member-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55);
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}


/* AVATAR */
.team-member-avatar {
  position: relative;
  height: 180px;
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.team-member-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}

/* NAME */
.team-member-body h3 {
  color: #f0f6ff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.team-member-role{
  color: #9ca3af;
  font-size: 0.85rem;
}


/* PROJECT TAGS */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.team-member-projects span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.7rem;
  font-weight: 600;
}


/* ===============================
   PREMIUM CTA BUTTON
================================ */

.team-profile-btn {
  margin-top: auto;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.12);
  color: #dff0ff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all .25s ease;
}

.team-profile-btn i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform .25s ease;
}

.team-profile-btn:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 30px rgba(30,144,255,0.45);
}

.team-profile-btn:hover i {
  transform: translateX(4px);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 600px) {
  .team-member-avatar {
    height: 160px;
  }
}


/* toogle */
/* ===============================
   TEAM – ADVANCED INTERACTIONS
================================ */

.team-member-card {
  position: relative;
  overflow: hidden;
}

/* SOCIAL ICONS */
.team-member-social {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(5,12,40,0.6);
  opacity: 0;
  transition: opacity .25s ease;
}

.team-member-social a {
  color: white;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  border-radius: 50%;
}

.team-member-card:hover .team-member-social {
  opacity: 1;
}

/* WORKED ON BADGES */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.team-member-projects span {
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* TOGGLE BUTTON */
.team-profile-btn {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: var(--accent2);
  font-weight: 600;
  cursor: pointer;
}

/* EXPAND PANEL */


/* TIMELINE */
.member-timeline {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.member-timeline div {
  font-size: .9rem;
  color: #dff0ff;
  margin-bottom: 6px;
}

/* PHILOSOPHY */
.member-philosophy {
  padding: 16px 22px 22px;
}

.member-philosophy h4 {
  font-size: .85rem;
  letter-spacing: .18em;
  color: var(--accent2);
  margin-bottom: 6px;
}

.member-philosophy p {
  font-size: .9rem;
  color: #cfe7ff;
  line-height: 1.6;
}

/* AUTO HIGHLIGHT */
.team-member-card.highlight {
  box-shadow:
    0 0 0 2px var(--accent),
    0 30px 80px rgba(30,144,255,.45);
}

/* ===============================
   TEAM QUICK VIEW PANEL
================================ */

/* ===============================
   QUICK VIEW MODAL (ECOM STYLE)
================================ */

/* ===============================
   QUICK VIEW – DESKTOP + MOBILE
================================ */

.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,20,0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.quickview-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* CARD */
.quickview-card {
background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);

  color: #f0f6ff;  width: min(900px, 94%);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 26px;
  transform: scale(.94);
  transition: transform .3s ease;
  position: relative;
}

.quickview-overlay.show .quickview-card {
  transform: scale(1);
}

/* CLOSE */
.quickview-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
}

/* IMAGE + ZOOM */
.quickview-media {
  overflow: hidden;
  border-radius: 14px;
}

.quickview-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  transition: transform .4s ease;
}

.quickview-media:hover img {
  transform: scale(1.08);
}

/* CONTENT */
.qv-category {
  font-size: .7rem;
  letter-spacing: .25em;
  color: #7833fe;
  font-weight: 700;
}

.qv-role {
  color: #475569;
  margin: 6px 0 10px;
}

.qv-desc {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* TAGS */
.qv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.qv-tags span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .75rem;
}

/* TIMELINE */
.qv-timeline {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.qv-timeline li {
  font-size: .9rem;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.qv-timeline li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}

/* ACTIONS */
.qv-actions {
  display: flex;
  gap: 12px;
}

/* ===============================
   MOBILE BOTTOM SHEET
================================ */

@media (max-width: 768px) {
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
    width: 100%;
    height: 92vh;
    border-radius: 18px 18px 0 0;
    grid-template-columns: 1fr;
    transform: translateY(100%);
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  .quickview-media img {
    max-height: 260px;
  }
}
/* =========================================
   QUICK VIEW — MOBILE REFINED EXPERIENCE
========================================= */

@media (max-width: 768px) {

  /* Bottom-sheet behavior */
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
     background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);
    color: #f0f6ff;
    width: 100%;
    height: 94vh;
    border-radius: 22px 22px 0 0;
    grid-template-columns: 1fr;
    padding: 0;
    transform: translateY(100%);
    overflow: hidden;
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  /* Drag handle (visual cue) */
  .quickview-card::before {
    content: "";
    width: 44px;
    height: 5px;
    background: rgba(0,0,0,0.18);
    border-radius: 99px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Image becomes hero */
  .quickview-media {
    border-radius: 0;
  }

  .quickview-media img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
  }

  /* Content spacing */
  .quickview-content {
    padding: 18px 20px 24px;
    overflow-y: auto;
  }

  /* Typography scaling */
  #qvName {
    color: #f0f6ff;
    font-weight: 900;
    font-size: 1.45rem;
    margin-top: 6px;
  }

  .qv-role {
    color: #9ca3af;
    font-size: 0.95rem;
  }

  .qv-desc {
    color: #cfe7ff;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* Tags — more breathable */
  .qv-tags span {
    background: rgba(255,255,255,0.1);
    color: #f0f6ff;
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Timeline clarity */
  .qv-timeline li {
    color: #dff0ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* CTA buttons — thumb friendly */
  .qv-actions {
    position: sticky;
    bottom: 0;
    /* background: #ffffff; */
    padding: 14px 0 6px;
    gap: 12px;
  }

  .qv-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  /* Close button reposition */
  .quickview-close {
    top: 12px;
    right: 14px;
    font-size: 1.6rem;
    z-index: 2;
  }
  .qv-timeline li::before {
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
  }
}



/* ===============================
   SKELETON SHIMMER
================================ */

.skeleton .quickview-media img,
.skeleton #qvName,
.skeleton .qv-role,
.skeleton .qv-desc,
.skeleton .qv-tags,
.skeleton .qv-timeline,
.skeleton .qv-actions {
  color: transparent;
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.team-profile-btn:active,
.qv-actions a:active,
.quickview-close:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}

.quickview-card {
  animation: sheetPop 0.35s cubic-bezier(.2,.9,.2,1);
}

@keyframes sheetPop {
  from {
    transform: translateY(100%) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
/* ======================================
   PREMIUM LEAD BADGE (TOP-RIGHT CORNER)
====================================== */

.team-member-avatar {
  position: relative;
}

/* Badge base */
.team-lead-badge {
  position: absolute;
  top: 14px;
  right: 14px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #052e1a;
  background: linear-gradient(
    135deg,
    #22c55e,
    #4ade80
  );

  border: 1px solid rgba(255,255,255,0.45);

  box-shadow:
    0 8px 26px rgba(34,197,94,0.55),
    0 0 0 1px rgba(255,255,255,0.35);

  backdrop-filter: blur(6px);
  z-index: 3;
}

/* Subtle glow ring */
.team-member-card.lead .team-lead-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(34,197,94,0.35),
    transparent 70%
  );
  z-index: -1;
}

/* Hover enhancement */
.team-member-card.lead:hover .team-lead-badge {
  box-shadow:
    0 12px 40px rgba(34,197,94,0.75),
    0 0 0 1px rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

/* Mobile refinement */
@media (max-width: 768px) {
  .team-lead-badge {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.6rem;
  }
}



/* team section end her  */

/* hero section start here  */

/* =====================================
   PREMIUM HERO — HACKROOT
===================================== */

.hero-premium {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #020617;
  overflow: hidden;
}

/* subtle gradient backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(120,51,254,0.25), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(30,144,255,0.18), transparent 60%),
    radial-gradient(600px 400px at 50% 90%, rgba(34,197,94,0.15), transparent 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* ================= TEXT ================= */

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: #a78bfa; /* timeline violet */
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #f0f6ff;
  margin-bottom: 14px;
}

.hero-title .accent {
  color: #7833fe;
}

.hero-subline {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #9ca3af;
  margin-top: 10px;
}

.hero-desc {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cfe7ff;
  margin: 18px 0 32px;
}

/* ================= CTAs ================= */

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* ================= VISUAL ================= */

.hero-visual {
  position: relative;
  height: 420px;
}

/* glowing orb */
.hero-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #7833fe, transparent 60%),
    radial-gradient(circle at 70% 70%, #1e90ff, transparent 65%);
  filter: blur(30px);
  opacity: 0.75;
  animation: orbFloat 8s ease-in-out infinite;
}

/* grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    height: 300px;
    margin-top: 40px;
  }
}

/* ===============================
   HERO MOBILE — SINGLE FLOW
================================ */

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .hero-visual {
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .hero-orb {
    width: 220px;
    height: 220px;
    filter: blur(28px);
    opacity: 0.45;
  }

  .hero-grid {
    opacity: 0.45;
    background-size: 34px 34px;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-subline {
    font-size: 1.15rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin: 14px auto 28px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas a {
    width: 100%;
    padding: 14px 0;
    border-radius: 14px;
  }
}


/* hero end here */
/* nav starts here  */

/* ==================================================
   PREMIUM NAVBAR — HACKROOT
================================================== */

/* BASE */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* scrolled state */
.site-header.scrolled {
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

/* layout */
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================================
   BRAND
================================================== */

.premium-brand {
  position: relative;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.brand-main {
  color: #f0f6ff;
}

.brand-accent {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================================================
   DESKTOP NAV LINKS
================================================== */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* underline accent */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  transition: width 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
}

.nav-cta:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,0.45);
} */

/* ==================================================
   NAV TOGGLE (MOBILE BUTTON)
================================================== */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ==================================================
   MOBILE NAV — FLOATING PANEL
================================================== */

@media (max-width: 900px) {

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 16px;
    width: min(320px, 92%);
    padding: 24px;

    background: rgba(8, 23, 55, 0.94);
    backdrop-filter: blur(16px) saturate(160%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 18px;

    box-shadow: 0 28px 80px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-6px);
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.open .nav-link:nth-child(1){ transition-delay:.05s }
  .nav.open .nav-link:nth-child(2){ transition-delay:.1s }
  .nav.open .nav-link:nth-child(3){ transition-delay:.15s }
  .nav.open .nav-link:nth-child(4){ transition-delay:.2s }
  .nav.open .nav-link:nth-child(5){ transition-delay:.25s }


  .nav-link::after {
    display: none;
  }
}

/* ==================================================
   BACKDROP
================================================== */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ==================================================
   HACKROOT — PREMIUM NAV (FINAL)
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- BRAND ---------------- */

.premium-brand {
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand-main { color: #f0f6ff; }

.brand-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- DESKTOP NAV ---------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.nav-cta:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,.45);
} */

/* ---------------- TOGGLE ---------------- */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ---------------- MOBILE NAV ---------------- */

@media (max-width: 900px) {

  .nav-toggle { display: flex; }

   .nav {
    position: fixed;
    top: 78px;
    right: 14px;

    width: 260px;          /* 🔥 compact width */
    padding: 22px 20px;

    background: #020617;
    backdrop-filter: blur(18px) saturate(160%);
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
      0 24px 70px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.12);

    display: flex;
    flex-direction: column;
    gap: 14px;             /* tighter vertical rhythm */

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }
.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 12px;
    color: #e5f0ff;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(
  135deg,
  rgba(120, 51, 254, 0.22),
  rgba(120, 51, 254, 0.05)
);
    color: #ffffff;
  }

  /* .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
  } */

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after { display: none; }
}

/* ---------------- BACKDROP ---------------- */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   ACTIVE DOT INDICATOR
================================ */

@media (max-width: 900px) {
  .nav-link {
    position: relative;
  }

  .nav-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .nav-link.active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}
/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.nav-link:active,
.nav-cta:active,
.nav-toggle:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}
/* REMOVE BLUE TAP HIGHLIGHT (mobile) */
.nav-toggle {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* REMOVE DEFAULT FOCUS RING */
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

/* CLEAN ACTIVE STATE (no blue flash) */
.nav-toggle:active {
  background: transparent;
}
.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.quickview-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.projects-premium {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

.projects-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.projects-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--accent2);
}

.projects-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #f0f6ff;
  margin: 10px 0 8px;
}

.projects-subtitle {
  color: #9fb4d6;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
}

/* ---------- PROJECT STACK ---------- */
.projects-stack {
  display: grid;
  gap: 28px;
}

/* =====================================================
   PROJECT CARD (ARTICLE)
===================================================== */
.project-glass {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  cursor: pointer;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(2,6,23,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.03);

  transition: transform .25s ease, box-shadow .25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* title */
.project-glass h3 {
  color: #f0f6ff;
  font-size: 1.35rem;
  margin: 14px 0 10px;
}

/* description */
.project-desc {
  color: #cfe0ff;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- STATUS / BADGES ---------- */
.project-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.launch-badge,
.project-status {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.launch-badge.building {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}

.project-status.planning {
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* ---------- PROGRESS ---------- */
.progress-wrap {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9fb4d6;
  margin-bottom: 6px;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ---------- FOOT ---------- */
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}

.view-details {
  color: var(--accent2);
  font-weight: 600;
}

.github-link {
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

/* =====================================================
   MERGED PRINCIPLES (PROJECTS)
===================================================== */
/* ===============================
   PRINCIPLES — PREMIUM POSITIONING
================================ */

/* .principles-merged {
  margin-top: 64px; more breathing room 
  padding: 28px;

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(2,6,23,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
 */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.35rem; /* bigger */
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* .principles-head h3 {
  font-size: 1.15rem;
  color: #f0f6ff;
  display: flex;
  align-items: center;
  gap: 10px;
} */

/* badge */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;

  padding: 6px 12px;
  border-radius: 999px;

  background:
    linear-gradient(90deg, #ef4444, #f97316);

  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 10px 30px rgba(239,68,68,0.35);
}


/* toggle */
.principles-toggle {
  font-size: 0.8rem;
  font-weight: 600;

  padding: 8px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);

  color: #e6f1ff;
  transition: background 0.2s ease, transform 0.15s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}


/* list */
.principles-list {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.principles-list.collapsed {
  max-height: 0;
  opacity: 0;
}

.principles-list li {
  position: relative;
  padding: 18px 20px 18px 52px;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;

  font-size: 0.95rem;
  line-height: 1.6;

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(2,6,23,0.65);
}


.principles-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;

  color: #9fb4d6;
  opacity: 0.75;
}


/* =====================================================
   PROJECT MODAL — PREMIUM
===================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(6px);
}

.project-panel {
  position: relative;
  max-width: 860px;
  width: min(94%, 860px);
  margin: 6vh auto;
  padding: 32px;
  max-height: 88vh;
  overflow-y: auto;

  background: linear-gradient(
    180deg,
    rgba(8,23,55,0.98),
    rgba(8,23,55,0.94)
  );

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}

.project-close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #cfe7ff;
  cursor: pointer;
}

/* modal typography */
.pm-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.pm-section {
  margin-top: 26px;
}

.pm-section h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb4d6;
  margin-bottom: 8px;
}

.pm-section p {
  color: #e6f1ff;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* tags */
.pm-tags span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
}

/* confidence */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.confidence-grid div {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.confidence-grid span {
  display: block;
  font-size: 0.75rem;
  color: #9bbcff;
}

.confidence-grid strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

/* roadmap */
.roadmap {
  list-style: none;
  padding: 0;
}

.roadmap li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #d7eaff;
}

.roadmap li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #6b7280;
}

.roadmap li.done::before {
  content: "✓";
  color: #22c55e;
}

.roadmap li.active::before {
  content: "→";
  color: #60a5fa;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .project-glass {
    padding: 22px;
  }

  .project-panel {
    padding: 22px;
  }

  .pm-title {
    font-size: 1.6rem;
  }
}
/* ===============================
   PROJECT META — VISIBILITY FIX
================================ */

.project-focus,
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.project-focus span,
.project-tech span {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;

  color: #e6f1ff; /* FIXED: light text */
  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
/* =====================================================
   PROJECTS — TIMELINE DESIGN LANGUAGE
===================================================== */

.projects-premium {
  background: #020617;
}

.projects-eyebrow {
  color: #7833fe; /* same as timeline eyebrow */
}

.projects-title span {
  color: #7833fe; /* optional highlight */
}

.projects-subtitle {
  color: #9ca3af; /* same as timeline subtitle */
}
.project-glass {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 18px;
  cursor: pointer;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55); /* violet */
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-focus span,
.project-tech span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;

  background: rgba(255,255,255,0.1);
  color: white;

  border: 1px solid rgba(255,255,255,0.14);
}
/* =====================================================
   PRINCIPLES — EXECUTIVE PREMIUM
===================================================== */

/* .principles-merged {
  margin-top: 80px;
  padding: 40px;

  border-radius: 28px;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.12),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
} */
.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
}
.principles-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.principles-list li {
  padding: 22px 26px 22px 60px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.7;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.45);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.principles-list li:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 90px rgba(2,6,23,0.65);
}
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}

/* color sync */
.principles-list li[data-phase="learning"]::after {
  background: rgba(255,255,255,0.15);
}

.principles-list li[data-phase="building"]::after {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 16px rgba(120,51,254,0.6);
}

.principles-list li[data-phase="hackathon"]::after {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}
@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
  }

  .principles-list li {
    padding: 20px 20px 20px 54px;
    font-size: 0.95rem;
  }
}
/* =====================================================
   PRINCIPLES — ELITE EXPANDABLE PANEL
===================================================== */

.principles-merged {
  margin-top: 88px;
  padding: 36px 40px;

  border-radius: 28px;
  position: relative;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.14),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ---------------- HEADER ---------------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* NON-NEGOTIABLE BADGE */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #ef4444, #f97316);
  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 12px 30px rgba(239,68,68,0.45);
}

/* ---------------- TOGGLE ---------------- */

.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 0.85rem;
  font-weight: 700;

  padding: 10px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #e6f1ff;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.principles-toggle i {
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
}

/* rotate when open */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* ---------------- LIST WRAPPER ---------------- */

.principles-list {
  margin-top: 28px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 18px;

  overflow: hidden;
  max-height: 0;
  opacity: 0;

  transition:
    max-height 0.55s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-merged.open .principles-list {
  opacity: 1;
}

/* ---------------- ITEM ---------------- */

.principles-list li {
  position: relative;
  padding: 22px 26px 22px 68px;

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.65;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.55);

  transform: translateY(14px);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.45s ease,
    box-shadow 0.25s ease;
}

/* reveal when expanded */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

/* stagger */
.principles-merged.open .principles-list li:nth-child(1){transition-delay:.05s}
.principles-merged.open .principles-list li:nth-child(2){transition-delay:.12s}
.principles-merged.open .principles-list li:nth-child(3){transition-delay:.18s}
.principles-merged.open .principles-list li:nth-child(4){transition-delay:.24s}

/* hover lift */
.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.75);
}

/* LEFT ICON RAIL */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* PHASE LABEL */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #9fb4d6;
  opacity: 0.75;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
    margin-top: 64px;
  }

  .principles-head h3 {
    font-size: 1.35rem;
  }

  .principles-list li {
    padding: 20px 20px 20px 56px;
    font-size: 0.95rem;
  }
}
               

























/* ===============================
   PRINCIPLES — PREMIUM MERGED
================================ */

.principles-merged {
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(2,6,23,0.55);
  backdrop-filter: blur(10px);
}

/* header row */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-nonneg {
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #1f0a00;
}

/* toggle button */
.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  color: #cfe7ff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

/* list base */
.principles-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;

  display: grid;
  gap: 14px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.25s ease;
}

/* expanded */
.principles-merged.open .principles-list {
  max-height: 600px;
  opacity: 1;
}

/* rotate icon */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* list items */
.principles-list li {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #e6f1ff;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);

  transform: translateY(8px);
  opacity: 0;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* stagger reveal */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

.principles-merged.open .principles-list li:nth-child(1){ transition-delay:.05s }
.principles-merged.open .principles-list li:nth-child(2){ transition-delay:.1s }
.principles-merged.open .principles-list li:nth-child(3){ transition-delay:.15s }
.principles-merged.open .principles-list li:nth-child(4){ transition-delay:.2s }

/* mobile */
@media (max-width: 768px) {
  .principles-merged {
    padding: 22px 20px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===============================
   PRINCIPLE HIGHLIGHT STATES
================================ */

.principles-list li.active-principle {
 /*  border-color: rgba(120,51,254,0.65);
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.5),
    0 30px 80px rgba(120,51,254,0.45);
  transform: translateY(-6px); */
}

.principles-list li.dimmed {
  opacity: 0.45;
  filter: saturate(0.8);
}

/* scroll base */
.principles-merged {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.principles-merged.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   PRINCIPLES ITEM — FIXED LAYOUT
================================ */

.principles-list li {
  position: relative;
  padding: 22px 88px 22px 64px; /* RIGHT SPACE RESERVED FOR BADGE */
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;
  font-size: 1rem;
  line-height: 1.65;

  box-shadow: 0 20px 60px rgba(2,6,23,0.55);
}

/* LEFT BULLET — PERFECT CENTER */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* RIGHT PHASE BADGE — NO OVERLAP */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.14);
  color: #cfe7ff;
}
@media (max-width: 640px) {
  .principles-list li {
    padding: 20px 20px 20px 56px;
  }

  .principles-list li::after {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 10px;
    opacity: 0.85;
  }
}
/* ===============================
   PROJECT PANEL — ULTRA PREMIUM
================================ */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,8,25,0.65);
  backdrop-filter: blur(4px);
}

.premium-panel {
  position: relative;
  max-width: 1100px;
  height: 85vh;
  margin: 6vh auto;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  animation: panelIn .4s ease;
}

@keyframes panelIn {
  from { opacity:0; transform: translateY(20px) scale(.98); }
  to   { opacity:1; transform:none; }
}

/* CLOSE */
.project-close {
  position:absolute;
  top:16px;
  right:20px;
  background:none;
  border:none;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
}

/* HEADER */
.pp-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:28px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.pp-status {
  display:inline-block;
  font-size:.7rem;
  font-weight:800;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:10px;
}

.pp-status.building {
  background: linear-gradient(90deg,#22c55e,#4ade80);
  color:#022c22;
}

.pp-header h2 {
  margin:0;
  color:white;
  font-size:1.8rem;
}

.pp-header p {
  color:#bcdffb;
  max-width:520px;
}

.pp-actions {
  display:flex;
  gap:12px;
}

/* BODY */
.pp-body {
  display:grid;
  grid-template-columns: 300px 1fr;
  height:100%;
  overflow:hidden;
}

/* LEFT */
.pp-meta {
  padding:24px;
  border-right:1px solid rgba(255,255,255,0.06);
  overflow-y:auto;
}

.pp-meta h4 {
  color:white;
  margin-bottom:10px;
}

.tag-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tag-list span {
  padding:6px 12px;
  border-radius:999px;
  font-size:.75rem;
  background: rgba(255,255,255,0.1);
  color:#e6f1ff;
}

.readiness div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

meter {
  width:140px;
}

/* RIGHT */
.pp-content {
  padding:28px;
  overflow-y:auto;
}

.pp-content h3 {
  color:white;
  margin-bottom:8px;
}

.pp-content p,
.pp-content li {
  color:#cfe7ff;
  line-height:1.7;
}

/* TEAM */
.team-contrib {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap:14px;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-card h5 {
  margin:0;
  color:white;
}

.team-card span {
  font-size:.8rem;
  color:#9fb4d6;
}

/* ROADMAP */
.roadmap li {
  margin-bottom:8px;
}

.roadmap li.done { color:#22c55e; }
.roadmap li.active { color:#60a5fa; }
.project-modal {
  display: none;
}
.project-modal.show {
  display: block;
}
/* ===============================
   READINESS — ADVANCED
================================ */
.readiness-adv {
  display: grid;
  gap: 16px;
}

.readiness-item {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.r-head {
  display:flex;
  justify-content:space-between;
  margin-bottom:6px;
  color:white;
}

.r-status {
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
}

.r-bar {
  height:6px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
  overflow:hidden;
  margin:6px 0;
}

.r-bar span {
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg,#22c55e,#4ade80);
}

.r-desc {
  font-size:.85rem;
  color:#bcdffb;
}

/* ===============================
   CONTENT BLOCKS
================================ */
.pp-block {
  background: rgba(255,255,255,0.04);
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  margin-bottom:18px;
}

.pp-block h3 {
  color:white;
  margin-bottom:8px;
}

/* ===============================
   ARCHITECTURE
================================ */
.arch-steps {
  display:grid;
  gap:10px;
}

.arch-step {
  padding:12px 14px;
  border-left:3px solid #60a5fa;
  background: rgba(255,255,255,0.04);
  border-radius:10px;
  color:#dbeafe;
}

/* ===============================
   TEAM PREMIUM
================================ */
.team-premium {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.team-p-card {
  background: rgba(255,255,255,0.05);
  border-radius:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-p-card h5 {
  margin:0;
  color:white;
}

.team-role {
  display:inline-block;
  margin:6px 0;
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: linear-gradient(90deg,#1e90ff,#60a5fa);
  color:white;
}

.team-p-card ul {
  padding-left:18px;
  color:#cfe7ff;
  font-size:.85rem;
}
/* ===============================
   PRINCIPLES — TIMELINE SYNCED
================================ */

.principles-merged {
  margin-top: 72px;
  padding: 32px;
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  backdrop-filter: blur(10px);
}

/* ---------- HEADER ---------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
}

/* ---------- NON-NEGOTIABLE BADGE (FIXED) ---------- */

.badge-nonneg {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 7px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #7833fe, #22c55e);
  color: #041b12;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 35px rgba(120,51,254,0.45);

  text-transform: uppercase;
}

/* ---------- TOGGLE ---------- */

.principles-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e6f1ff;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.principles-toggle i {
  transition: transform 0.35s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ---------- LIST ---------- */

.principles-list {
  margin-top: 22px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.6s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-list.show {
  max-height: 800px;
  opacity: 1;
}

/* ---------- ITEM ---------- */

.principles-list li {
  position: relative;
  padding: 20px 22px 20px 56px;
  border-radius: 18px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  color: #e6f1ff;
  font-size: 0.95rem;
  line-height: 1.7;

  box-shadow: 0 18px 50px rgba(2,6,23,0.55);
  backdrop-filter: blur(6px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 80px rgba(2,6,23,0.75);
}

/* ---------- TIMELINE DOT ---------- */

.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.8);
}

/* ---------- PHASE TAG ---------- */

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #9ca3af;
  opacity: 0.85;
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  .principles-merged {
    padding: 22px;
  }

  .principles-head h3 {
    font-size: 1.25rem;
    flex-wrap: wrap;
  }

  .principles-list li {
    padding: 18px 18px 18px 50px;
  }

  .principles-list li::after {
    display: none; /* clean mobile UX */
  }
}
/* MODAL WRAPPER */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

/* overlay stays fixed */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.7);
  backdrop-filter: blur(6px);
}

/* MAIN PANEL */
.project-panel {
  position: relative;
  margin: auto;
  height: min(92vh, 900px);
  width: min(1200px, 96vw);
  background: linear-gradient(180deg, #071428, #081a36);
  border-radius: 20px;
  overflow: hidden; /* 🔑 important */
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 120px rgba(0,0,0,0.6);
}
.pp-header {
  flex-shrink: 0;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 23, 55, 0.85);
  backdrop-filter: blur(8px);
}
.pp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 28px;
  overflow-y: auto;     /* ✅ ONLY SCROLL HERE */
  overscroll-behavior: contain;
}

/* smooth premium scrollbar */
.pp-body::-webkit-scrollbar {
  width: 8px;
}
.pp-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: 999px;
}
.pp-meta,
.pp-content {
  overflow: visible; /* ❌ no scroll here */
}
@media (max-width: 900px) {
  .project-panel {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pp-meta {
    order: 2;
    background: rgba(255,255,255,0.02);
    padding: 18px;
    border-radius: 16px;
  }

  .pp-content {
    order: 1;
  }

  .pp-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.project-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 50;

  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(8,23,55,0.85);
  backdrop-filter: blur(6px);

  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .15s ease, background .2s ease;
}

.project-close:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.06);
}

.project-close:active {
  transform: scale(0.94);
}
.pp-header {
  position: sticky;
  top: 0;
  z-index: 10;

  padding: 28px 72px 24px 28px; /* space for close btn */
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
@media (max-width: 900px) {

  .project-panel {
    width: 100vw;
    height: 100dvh; /* better than 100vh on mobile */
    max-height: none;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px 18px 32px;
  }

  .pp-meta {
    order: 2;
    margin-top: 24px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .pp-content {
    order: 1;
  }

  .project-close {
    top: 14px;
    right: 14px;
  }
}
/* ===============================
   PRINCIPLES — MOBILE PREMIUM FIX
================================ */
@media (max-width: 768px) {

  .principles-merged {
    margin-top: 40px;
    padding: 20px;
    border-radius: 18px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .principles-head h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .badge-nonneg {
    font-size: 0.55rem;
    padding: 5px 10px;
  }

  .principles-toggle {
    width: 100%;
    justify-content: space-between;
    display: flex;
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  /* list container */
  .principles-list {
    margin-top: 14px;
    gap: 10px;
  }

  /* individual item */
  .principles-list li {
    padding: 14px 16px 14px 42px;
    font-size: 0.9rem;
    line-height: 1.55;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* remove hover lift on mobile */
  .principles-list li:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* bullet */
  .principles-list li::before {
    left: 16px;
    width: 8px;
    height: 8px;
  }

  /* phase label → inline, not floating */
  .principles-list li::after {
    position: static;
    display: block;
    margin-top: 6px;
    transform: none;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
  }
}
/* =====================================================
   CONTACT / JOIN FORM — ULTRA PREMIUM (TIMELINE SYNCED)
===================================================== */

.contact-fullwidth {
  padding: 0;
  background: #020617;
}

.contact-fullwidth-bg {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(1200px 600px at 10% -20%, rgba(120,51,254,0.18), transparent 40%),
    radial-gradient(900px 500px at 90% 20%, rgba(167,139,250,0.12), transparent 45%),
    linear-gradient(180deg, #020617, #030a1f);
  overflow: hidden;
}

/* ambient glow */
/* .contact-fullwidth-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: #020617;
  pointer-events: none;
} */

/* container */
.contact-form-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= PANEL ================= */

.form-panel {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 40px 120px rgba(2,6,23,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ================= HEADER ================= */

.panel-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.panel-head .muted {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================= FORM GRID ================= */

.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* ================= FIELD ================= */

.field {
  position: relative;
  margin-top: 26px;
}

.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .15s ease;
}

.premium-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* focus glow */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7833fe;
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.8),
    0 12px 40px rgba(120,51,254,0.35);
  transform: translateY(-1px);
}

/* ================= FLOATING LABEL ================= */

.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #c7d2fe;
  pointer-events: none;
  transition: all .25s cubic-bezier(.2,.9,.2,1);
  background: transparent;
}

/* active / floated */
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  top: -12px;
  font-size: 0.75rem;
  color: #a78bfa;
  background: #020617;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ================= PHONE FIELD ================= */

.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 17.5px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

.phone-field label {
  left: 64px;
}

.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 60px;
}

/* ================= CONTROLS ================= */

.form-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= SUBMIT BUTTON ================= */

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  border: none;
  cursor: pointer;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.3px;

  box-shadow:
    0 18px 50px rgba(120,51,254,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform .15s ease,
    box-shadow .25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(120,51,254,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.45);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* loading state */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.9;
}
.phone-field .country
/* ================= STATUS ================= */

.status-msg {
  font-size: 0.95rem;
  color: #c7d2fe;
}

/* ================= MOBILE ================= */

@media (max-width: 520px) {
  .form-panel {
    padding: 26px;
    border-radius: 20px;
  }

  .panel-head h2 {
    font-size: 1.4rem;
  }
}/* ===============================
   PROJECT PRINCIPLES – VISIBILITY FIX
================================ */

.principles-merged {
 /*  margin-top: 64px;
  padding: 32px; */
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 70px rgba(2,6,23,0.6);

  backdrop-filter: blur(10px);
}

/* header alignment */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  color: #f0f6ff;
  font-weight: 800;
}

/* NON-NEGOTIABLE badge */
.badge-nonneg {
  margin-left: 10px;
  font-size: 0.65rem;
  padding: 6px 14px;
  border-radius: 999px;
  /* background: linear-gradient(90deg,#ef4444,#f97316); */
  color: white;
  letter-spacing: 1px;
  font-weight: 800;
}
/* ===============================
   PRINCIPLES TOGGLE FIX
================================ */

.principles-list {
  margin-top: 24px;
  list-style: none;
  padding-left: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease;
}

.principles-list.open {
  max-height: 600px;
  opacity: 1;
}

/* items */
.principles-list li {
  padding: 18px 20px 18px 52px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  color: #f0f6ff;
  position: relative;
  font-size: 0.95rem;
}

/* bullet */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  transform: translateY(-50%);
}
.principles-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 16px;
  border-radius: 14px;
  color: #e6f1ff;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ===============================
   PRINCIPLES – VISIBILITY RESET (FIX)
================================ */

/* parent must ALWAYS be visible */
.principles-merged {
  opacity: 1 !important;
  transform: none !important;
}

/* list container controlled by toggle only */
.principles-list {
  opacity: 1;
}

/* items start hidden ONLY for reveal animation */
.principles-list li {
  opacity: 0;
  transform: translateY(14px);
}

/* revealed state */
.principles-list li.reveal {
  opacity: 1;
  transform: translateY(0);
}
.principles-list li::before {
  opacity: 0;
  transform: scale(0.6) translateY(-50%);
}

.principles-list li.reveal::before {
  opacity: 1;
  transform: scale(1) translateY(-50%);
}
.contrib-list {
  display: grid;
  gap: 10px;
}

.contrib-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.contrib-item strong {
  color: #f0f6ff;
  font-weight: 700;
}

.contrib-item span {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-left: 10px;
}
.roadmap-list {
  display: grid;
  gap: 10px;
  padding-left: 0px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.roadmap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  box-shadow: 0 0 10px rgba(30,144,255,0.6);
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}

.roadmap-item span {
  color: #e5f3ff;
  font-size: 0.9rem;
}
.pp-meta h3{
  color: white;
}
/* ===============================
   PROJECT PANEL – TEAM CONTENT
================================ */

.pp-team {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

.pp-team-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;
  border-radius: 14px;
  /* background: rgba(255,255,255,0.05); */
  border: 1px solid rgba(255,255,255,0.08);
}

.pp-team-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.pp-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-team-info strong {
  color: #f0f6ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.pp-team-info span {
  font-size: 0.75rem;
  color: #9ca3af;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: #e6f1ff;
}
.projects-premium , .project-panel {
  color: #00D4FF;
}

.projects-premium p,
.project-panel p {
  color: #cfe7ff;
}

.projects-premium .muted,
.project-panel .muted {
  color: #9ca3af;
}
.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}
.project-status.active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}

.project-status.completed {
  background: #22c55e;
  color: #052e1a;
}

.project-status.upcoming {
  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}
.pp-team-item,
.roadmap-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}

.roadmap-item span {
  color: #cfe7ff;
}
/* ===============================
   PROJECT PANEL – BASE
================================ */

.project-modal {
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(10px);
}

.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  color: #f0f6ff;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}
/* ===============================
   PP HEADER
================================ */

.pp-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.pp-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.pp-header p {
  color: #cfe7ff;
  max-width: 560px;
  line-height: 1.6;
}

/* STATUS BADGE */
.pp-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
}
.pp-actions a {
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.pp-actions .btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6f1ff;
}

.pp-actions .btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}
/* ===============================
   PP BODY LAYOUT
================================ */

.pp-body {
  display: grid;
  /* grid-template-columns: 360px 1fr; */
  gap: 28px;
  /* padding: 32px; */
}

/* LEFT META */
.pp-meta section {
  margin-bottom: 26px;
}

.pp-meta h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 12px;
}
.tag-list span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}
/* ===============================
   PP CONTENT BLOCKS
================================ */

.pp-content section {
  margin-bottom: 28px;
}

.pp-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 10px;
}

.pp-content p {
  color: #cfe7ff;
  line-height: 1.7;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e6f1ff;
}
.pp-team-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}
.roadmap-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.roadmap-item span {
  color: #cfe7ff;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}
.readiness-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.r-head span {
  color: #f0f6ff;
}

.r-desc {
  color: #9ca3af;
}


/* --------------------------Lakshya-section-Start------------------ */
/* ===============================
   TIMELINE SECTION
================================ */

.timeline-section {
  padding: 6rem 1rem 8rem;
  background: #020617;
}

/* ---------- HEADING ---------- */

.timeline-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
  animation: fadeUp 0.9s ease forwards;
}

.timeline-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #7833fe;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.timeline-title span {
  color: #7833fe;
}

.timeline-subtitle {
  max-width: 620px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* Divider */
.timeline-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timeline-divider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7833fe;
  opacity: 0.3;
}

.timeline-divider .line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
}

/* ---------- TIMELINE ---------- */

.timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* base line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,0.12);
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, #7833fe, #a78bfa);
  z-index: 1;
}

/* ---------- ITEMS ---------- */

.timeline-item {
  position: relative;
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* states */
.timeline-item.completed .timeline-dot {
  background: #22c55e;
}

.timeline-item.active .timeline-dot {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.7);
}

/* card */
.timeline-card {
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(2,6,23,0.65);
}

.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* tag */
.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  color: white;
}

.timeline-tag.glow {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 20px rgba(120,51,254,0.6);
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 16px;
    transform: none;
  }

  .timeline-dot {
    left: 16px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px;
    max-width: 100%; */
  }
}

/* ---------- ANIMATION ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------- CURRENT BADGE ---------- */
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
  box-shadow:
    0 6px 20px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);
  text-transform: uppercase;
  animation: pulseGlow 1.8s infinite ease-in-out;
  z-index: 5;
}

/* glowing pulse */
@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}

/* ---------- CARD BASE (YOUR EXISTING, WITH SMALL TWEAK) ---------- */
.timeline-card {
  position: relative;
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover lift */
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* stronger emphasis for current */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 70px rgba(34,197,94,0.35);
}

/* text */
.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ---------- RESPONSIVE FIX ---------- */
@media (max-width: 768px) {
  .timeline-card {
    margin-left: 32px;
    max-width: calc(100% - 32px);
  }

  .current-badge {
    right: 12px;
  }
}


















/* ===============================
   TIMELINE CORE
================================ */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
}

/* animated progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* ===============================
   TIMELINE ITEMS
================================ */
.timeline-item {
  position: relative;
  margin: 90px 0;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* ===============================
   CARDS (LEFT / RIGHT)
================================ */
.timeline-card {
  position: relative;
  width: min(420px, 90%);
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* LEFT */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-80px);
}

/* RIGHT */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(80px);
}

/* ===============================
   ACTIVE / VISIBLE
================================ */
.timeline-item.visible {
  opacity: 1;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0);
}

/* active dot */
.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 14px rgba(124,58,237,0.6);
}

/* ===============================
   CURRENT CARD
================================ */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 80px rgba(34,197,94,0.35);
}

/* ===============================
   MOBILE (STACKED)
================================ */
@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px !important;
    width: calc(100% - 48px);
    transform: translateY(40px); */
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0);
  }
}
/* ===============================
   PREMIUM ZIG-ZAG TIMELINE (FINAL)
================================ */

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center spine */
.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg, #7c3aed, #22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) scale(0.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* card base */
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 24px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(2,6,23,0.65);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    opacity 0.5s ease,
    box-shadow 0.35s ease;
}

/* ---------- LEFT ---------- */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform:
    translateX(-120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- RIGHT ---------- */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform:
    translateX(120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- VISIBLE ---------- */
.timeline-item.visible {
  opacity: 1;
  pointer-events: auto;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 18px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

/* hover micro-lift */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,0.75);
}

/* current emphasis */
.timeline-card.current {
  border-color: rgba(34,197,94,.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,.35),
    0 40px 120px rgba(34,197,94,.35);
}

/* ===============================
   MOBILE (STACKED + FADE UP)
================================ */
@media (max-width: 768px) {

  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: scale(0.6);
  }

  .timeline-card {
    margin-left: 52px !important;
    width: calc(100% - 52px);
    transform: translateY(60px) scale(0.97);
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0) scale(1);
  }
}

/* ===============================
   PREMIUM VISIBILITY STATES
================================ */

/* base */
.timeline-item {
  opacity: 0;
  pointer-events: none;
}

/* ACTIVE (focus card) */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

/* PAST (soft presence) */
.timeline-item.is-past {
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(0.97);
  filter: blur(0.3px);
}

/* FUTURE (hidden) */
.timeline-item.is-future {
  opacity: 0;
  pointer-events: none;
}

/* dot logic */
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past .timeline-dot {
  background: #22c55e;
  opacity: 0.6;
}

.timeline-item.is-future .timeline-dot {
  opacity: 0.25;
}
/* ===============================
   CINEMATIC TIMELINE
================================ */

.timeline-section {
  background: #020617;
  padding: 6rem 1rem 8rem;
}

/* spine */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  /* margin-right: 20px; */

}

.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height .25s ease;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%) scale(.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  transition: all .4s ease;
  z-index: 2;
}

/* card */
.timeline-card {
  width: min(420px,92%);
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03)
  );
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(2,6,23,.65);
  transition:
    transform .8s cubic-bezier(.2,.9,.2,1),
    box-shadow .4s ease;
}

/* zig-zag */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-120px) translateY(40px) scale(.96);
}
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(120px) translateY(40px) scale(.96);
}

/* STATES */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past {
  opacity: .35;
  z-index: 1;
}
.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(.97);
  filter: blur(.4px);
}

.timeline-item.is-future {
  opacity: 0;
}

/* hover */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,.75);
}

/* mobile */
@media (max-width:768px){
  .timeline-wrap::before,
  .timeline-progress{
    left:18px;
    transform:none;
  }
  .timeline-wrap{
  margin-right: 20px;
  }
  .timeline-dot{ left:18px; }
  .timeline-card{
    margin-left:52px!important;
    width:calc(100% - 52px);
    transform: translateY(60px) scale(.97);
  }
  .timeline-item.is-active .timeline-card{
    transform: translateY(0) scale(1);
  }
}
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 26px 26px 24px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.09),
      rgba(255,255,255,0.03)
    );

  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid var(--border-soft);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}
.timeline-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--violet-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.timeline-item.is-active .timeline-card::before {
  opacity: 1;
}
.timeline-card h3 {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.12);
}
.timeline-item.is-active .timeline-card {
  border-color: var(--border-glow);

  box-shadow:
    0 0 0 1px rgba(124,58,237,0.4),
    0 45px 140px rgba(124,58,237,0.45);
}
.timeline-item.is-past .timeline-card {
  opacity: 0.4;
  filter: blur(0.4px);
  transform: translateY(-18px) scale(0.97);
}
.timeline-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 50px 160px rgba(2,6,23,0.85),
    0 0 0 1px rgba(124,58,237,0.35);
}
/* ===============================
   CURRENT CARD — GREEN PREMIUM
================================ */

.timeline-card.current {
  background:
    linear-gradient(
      180deg,
      rgba(34,197,94,0.16),
      rgba(34,197,94,0.06)
    );

  border-color: rgba(34,197,94,0.55);

  box-shadow:
    0 0 0 1px rgba(34,197,94,0.45),
    0 45px 140px rgba(34,197,94,0.45),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.timeline-card.current::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--green-glow),
    transparent 70%
  );

  opacity: 0.9;
  pointer-events: none;
}
.timeline-card.current h3 {
  color: #ecfdf5; /* soft white-green */
}

.timeline-card.current p {
  color: #d1fae5; /* readable mint */
}
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;

  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;

  border-radius: 999px;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  box-shadow:
    0 8px 26px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  animation: pulseGreen 1.8s infinite ease-in-out;
}
@keyframes pulseGreen {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}
.timeline-card.current:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 60px 180px rgba(34,197,94,0.55),
    0 0 0 1px rgba(34,197,94,0.5);
}
/* ===============================
   DOT OPPOSITE ALIGNMENT (PREMIUM)
================================ */

/* base dot position (center reference) */
.timeline-dot {
  position: absolute;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* LEFT CARD → DOT SHIFTS LEFT */
.timeline-item:nth-child(odd) .timeline-dot {
  left: calc(50% - 18px);
  transform: translateX(-50%) scale(0.6);
}

/* RIGHT CARD → DOT SHIFTS RIGHT */
.timeline-item:nth-child(even) .timeline-dot {
  left: calc(50% + 18px);
  transform: translateX(-50%) scale(0.6);
}
.timeline-item.is-active:nth-child(odd) .timeline-dot,
.timeline-item.is-active:nth-child(even) .timeline-dot {
  transform: translateX(-50%) scale(1);
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
}
@media (max-width: 768px) {
  .timeline-dot {
    left: 18px !important;
    transform: scale(0.7) !important;
  }
}

/* --------------------------Lakshya-section-end------------------ */

/* form styling -add  */

/* =====================================================
   PREMIUM CONTACT / JOIN FORM (HACKROOT GRADE)
   Palette synced with Timeline + Projects
===================================================== */

/* section wrapper */
.contact-fullwidth {
  padding: 0;
  background-color: #020617;
}

/* cinematic background */
.contact-fullwidth-bg {
  position: relative;
  padding: 5rem 0;
  background-color:#020617;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
}

/* glass panel */
.form-panel {
  max-width: 820px;
  margin: auto;
  padding: 36px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* header */
.panel-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.panel-head .muted {
  color: rgba(207,231,255,0.7);
  margin-top: 6px;
}

/* grid rows */
.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* field wrapper */
.field {
  position: relative;
  margin-top: 18px;
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.12);
  outline: none;

  font-size: 0.95rem;
  letter-spacing: 0.2px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* floating labels */
.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;

  font-size: 0.85rem;
  color: rgba(207,231,255,0.8);
  transition: 0.25s ease;
  background: transparent;
  padding: 0 6px;
}

/* focus */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 28px rgba(124,58,237,0.35);
  transform: translateY(-1px);
}

/* float label */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.72rem;
  color: #a78bfa;
  background: #020617;
  border-radius: 6px;
}

/* phone field */
.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

/* textarea */
.premium-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* submit area */
.form-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

/* submit button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;
  border-radius: 14px;
  border: none;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow:
    0 10px 40px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 60px rgba(34,197,94,0.6);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

/* status text */
.status-msg {
  color: rgba(207,231,255,0.85);
  font-size: 0.95rem;
}

/* success modal */
.success-modal {
  backdrop-filter: blur(6px);
  background: rgba(2,6,23,0.65);
}

.success-card {
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 120px rgba(2,6,23,0.85);
}

/* ===============================
   PHONE FIELD FIX (FINAL)
================================ */
.phone-field {
  display: flex;
  align-items: stretch;
  position: relative;
}

.phone-field .country {
  min-width: 56px;
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  font-weight: 700;
  color: #ffffff;
}

.phone-field input {
  flex: 1;
  border-radius: 0 14px 14px 0;
  padding-left: 18px !important;
}

/* label alignment */
.phone-field label {
  left: 76px;
}

/* floating label */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 70px;
}
/* ===============================
   STEP FORM REVEAL
================================ */
.field {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.2,.9,.2,1);
}

.field.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   AI TYPING GLOW
================================ */
.premium-form input.is-typing,
.premium-form textarea.is-typing {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 32px rgba(124,58,237,0.45);
}
/* ===============================
   INLINE VALIDATION
================================ */
.field.invalid input,
.field.invalid textarea {
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239,68,68,0.45);
  animation: shake 0.25s ease;
}

.field.valid input,
.field.valid textarea {
  border-color: #22c55e;
  box-shadow: 0 0 18px rgba(34,197,94,0.45);
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
/* ===============================
   VERIFIED BADGE
================================ */
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;

  color: #022c22;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 999px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 30px rgba(34,197,94,0.45);

  opacity: 0;
  transform: scale(0.8);
  transition: 0.35s ease;
}

.verified-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   CONTACT SECTION HEADING
   (Matches Projects & Timeline)
================================ */

.contact-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #7c3aed;
  margin-bottom: 0.8rem;
}

.contact-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-title span {
  color: #7c3aed;
}

.contact-subtitle {
  max-width: 620px;
  margin: 1rem auto 1.8rem;
  font-size: 1.05rem;
  color: rgba(207,231,255,0.75);
  line-height: 1.7;
}
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  
}





















































































































.contact-fullwidth-bg{
  background: #020617;
}
@media (max-width: 900px) {
  .site-header,
  .nav,
  .project-glass,
  .team-member-card,
  .quickview-overlay,
  .form-panel ,
  .contact-fullwidth-bg{
    backdrop-filter: none !important;
  }
}





/* footer -suchi start here */

/* ===============================
   FOOTER — FULL PAGE PALETTE MATCH
================================ */

.site-footer {
  background:
    radial-gradient(900px 300px at top center,
      rgba(124,58,237,0.12),
      transparent 60%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
  color: var(--text-soft);
  position: relative;
  overflow: hidden;
}

/* subtle divider (timeline language) */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--violet-main),
    var(--green-main),
    transparent
  );
  opacity: 0.75;
}

/* ===============================
   GRID
================================ */
.footer-grid {
  max-width: 1180px;
  margin: auto;
  padding: 72px 24px 52px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 36px;
}

/* ===============================
   BRAND
================================ */
.footer-logo {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-h { color: #ffffff; }
.logo-r {
  background: linear-gradient(90deg, var(--violet-main), var(--violet-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  margin: 16px 0 14px;
  padding: 6px 16px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  color: #e9d5ff;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 420px;
  color: var(--text-muted);
}

.footer-email {
  margin-top: 12px;
  font-size: 0.75rem;
}

.footer-email a {
  color: var(--violet-soft);
  text-decoration: none;
  opacity: 0.85;
}

.footer-email a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===============================
   LINKS
================================ */
.footer-links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.footer-links a,
.footer-links span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  opacity: 0.75;
  transition: all 0.25s ease;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--green-soft);
}

/* ===============================
   BOTTOM BAR
================================ */
.footer-bottom {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 0.72rem;
  color: rgba(207,231,255,0.65);
}

/* socials */
.footer-socials a {
  margin-left: 14px;
  font-size: 1.05rem;
  color: #cfe7ff;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--green-main);
  transform: translateY(-3px);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-socials a {
    margin: 0 10px;
  }
}


.footer-socials a {
  text-decoration: none !important;
}

.footer-socials a::after,
.footer-socials a::before {
  content: none !important;
}
/* ===============================
   STATIC PAGE SUPPORT (IMPORTANT)
================================ */

.page-wrap {
  min-height: 60vh;
}

/* titles */
.page-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

/* subtitle */
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* list */
.simple-list {
  list-style: none;
  padding-left: 0;
}

.simple-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-main);
  font-size: 1.2rem;
  line-height: 1;
}
/* ===============================
   ENTERPRISE PAGE SYSTEM
================================ */

.page-enterprise {
  background: #020617;
}

.page-hero {
  margin-bottom: 64px;
}

.page-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--violet-soft);
}

.page-block {
  margin-bottom: 72px;
}

.page-block h2 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.page-block p {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 760px;
}

/* capability grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
}

.cap-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* process list */
.process-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  max-width: 760px;
}

.process-list li {
  counter-increment: step;
  margin-bottom: 22px;
  padding-left: 42px;
  position: relative;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet-main), var(--green-main));
  color: #020617;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* tags */
.tag-list.premium span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

/* highlight block */
.page-block.highlight {
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(124,58,237,0.12),
    rgba(34,197,94,0.08)
  );
  border: 1px solid rgba(255,255,255,0.12);
}




/* webicon -styling  */

.logo{
  height:48px;              /* ⬅ slightly bigger */
  width:48px;
  padding:10px;             /* ⬅ optical breathing space */
  border-radius:14px;

  /* Solid dark base (important) */
  background:#020617;

  /* Inner contrast ring */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 18px rgba(120,51,254,0.18), /* subtle violet lift */
    0 10px 28px rgba(2,6,23,0.85);        /* outer depth */

  border:1px solid rgba(255,255,255,0.18);

  display:flex;
  align-items:center;
  justify-content:center;
}













/* HERO → NEXT SECTION BLEND */
.hero-premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    to bottom,
    rgba(2,6,23,0) 0%,
    rgba(2,6,23,0.35) 40%,
    rgba(2,6,23,0.75) 70%,
    #020617 100%
  );
}
/* pull next section into hero */
.hero-premium + .section {
  margin-top: -120px;
  padding-top: 160px;
}
.hero-premium,
.team-section-premium,
.section {
  background: #020617;
}
.section {
  position: relative;
  z-index: 3;
}



/* all work done -now loading and more styling add */

/* ===============================
   PREMIUM PAGE LOADER
================================ */
/* =====================================================
   WORLD-CLASS BRAND LOADER — HACKROOT
===================================================== */

.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background:
    radial-gradient(800px 400px at 50% -120px, rgba(124,58,237,0.25), transparent),
    linear-gradient(180deg, #020617, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.brand-loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* inner stack */
.brand-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: loaderFadeIn .9s ease both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* logo container */
.brand-logo-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* logo itself */
.brand-logo {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 22px rgba(124,58,237,0.25),
    0 18px 50px rgba(2,6,23,0.9);
  z-index: 2;
}

/* animated energy ring */
.energy-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,0.45);
  box-shadow:
    0 0 22px rgba(124,58,237,0.45),
    inset 0 0 18px rgba(124,58,237,0.35);
  animation: ringPulse 1.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(.92); opacity:.6 }
  50%  { transform: scale(1.06); opacity:1 }
  100% { transform: scale(.92); opacity:.6 }
}

/* brand text */
.brand-loader-text {
  text-align: center;
}

.brand-name {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .4px;
  color: #ffffff;
}

.brand-name span {
  color: #7c3aed;
}

.brand-tagline {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(207,231,255,0.75);
}

/* exit animation polish */
.page-loaded .brand-loader-inner {
  animation: loaderExit .55s ease forwards;
}

@keyframes loaderExit {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }
}









/* Slowly Reveal */

/* =====================================================
   ULTRA-PREMIUM SCROLL REVEAL SYSTEM (MNC GRADE)
   Works once, smooth, GPU-safe
===================================================== */

/* ========== 1. BASE REVEAL (fallback / default) ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========== 2. HERO – SOFT FADE (Apple style) ========== */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ========== 3. TEAM / GRIDS – STAGGER SYSTEM ========== */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.reveal-stagger.visible > *:nth-child(1){transition-delay:.06s}
.reveal-stagger.visible > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.visible > *:nth-child(3){transition-delay:.18s}
.reveal-stagger.visible > *:nth-child(4){transition-delay:.24s}
.reveal-stagger.visible > *:nth-child(5){transition-delay:.30s}
.reveal-stagger.visible > *:nth-child(6){transition-delay:.36s}
.reveal-stagger.visible > *:nth-child(7){transition-delay:.42s}

/* ========== 4. PROJECTS – LIFT + BLUR (Premium cards) ========== */
.reveal-lift {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    filter 0.9s ease;
  will-change: transform, opacity;
}

.reveal-lift.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ========== 5. TIMELINE – DIRECTIONAL (Left / Right) ========== */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 6. FORMS – GLASS REVEAL (Theme matched) ========== */
.reveal-glass {
  opacity: 0;
  transform: translateY(36px);
  backdrop-filter: blur(0);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    backdrop-filter 0.9s ease;
}

.reveal-glass.visible {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(8px);
}

/* ========== 7. MODALS / STATS – SCALE IN ========== */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.9,.2,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== 8. PERFORMANCE & ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-stagger > *,
  .reveal-lift,
  .reveal-left,
  .reveal-right,
  .reveal-glass,
  .reveal-scale {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
:root{
  --bg:#081737;
  --card:#F4F7FB;
  --accent:#1E90FF;
  --accent2:#00D4FF;
  --muted:#6B7A8A;
  --text:#0B1B2B;
  --radius:12px;
  --container:1100px;
  --gap:24px;
  
  /* BASE */
  --bg-main: #020617;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-soft: rgba(255,255,255,0.035);

  /* TEXT */
  --text-main: #ffffff;
  --text-soft: #cfe7ff;
  --text-muted: rgba(207,231,255,0.65);

  /* ACCENTS */
  --violet-main: #7c3aed;
  --violet-soft: #a78bfa;
  --violet-glow: rgba(124,58,237,0.55);

  /* BORDERS */
  --border-soft: rgba(255,255,255,0.12);
  --border-glow: rgba(124,58,237,0.45);
   /* green premium */
  --green-main: #22c55e;
  --green-soft: #4ade80;
  --green-glow: rgba(34,197,94,0.45);
}
*{box-sizing:border-box}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0; color:var(--text); background:#020617;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:var(--container); margin:0 auto; padding:48px 20px;}
.site-header{position:sticky; top:0; z-index:40; backdrop-filter: blur(6px); background:#020617; border-bottom:1px solid rgba(255,255,255,0.03);}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0;}
.brand{color:white; font-weight:700; font-size:1.2rem; text-decoration:none;}
.nav a{font-size: large;color:#dfeefb; margin-left:18px; text-decoration:none;}
.btn-primary{background:linear-gradient(90deg, #7833fe, #9a6bff); color:white; padding:10px 16px; border-radius:10px; text-decoration:none; display:inline-block;}
.btn-ghost{background:transparent; border:1px solid rgba(255,255,255,0.08); color:#cfe7ff; padding:8px 14px; border-radius:10px; text-decoration:none;}
.btn-outline{border-radius:10px; border:1px solid rgba(255,255,255,0.12); padding:8px 12px; color:#cfe7ff; text-decoration:none;}
.hero{padding:80px 0; color:white;}
.hero-inner{display:flex; gap:36px; align-items:center; justify-content:space-between;}
.hero-copy h1{font-size:2.2rem; margin:0 0 12px;}
.lead{opacity:0.9; color:#d7eaff; margin-bottom:18px}
.hero-media{min-width:320px; max-width:460px;}
.project-preview{background:rgba(255,255,255,0.03); padding:18px; border-radius:12px; border:1px solid rgba(255,255,255,0.04)}
.section{padding:72px 0; background:transparent; color:var(--text)}
.section.alt{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent)}
h2{color:var(--card); margin-bottom:10px}
.muted{color:var(--muted); font-size:0.95rem; margin-bottom:20px}
/* Grid */
.grid{display:grid; gap:var(--gap)}
.team-grid{grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));}
.card{background:var(--card); border-radius:var(--radius); padding:18px; box-shadow:0 8px 30px rgba(2,6,23,0.4); transition:transform .18s ease, box-shadow .18s ease;}
.card:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(2,6,23,0.5)}
.avatar{width:100%; height:140px; object-fit:cover; border-radius:10px; margin-bottom:12px;}
.role{color:var(--muted); margin:6px 0 10px;}
.team-grid .card ul{padding-left:18px; margin:0 0 12px; color:#234;}
.btn-link{background:transparent; border:none; color:var(--accent); cursor:pointer; font-weight:600; padding:6px 0}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  background: #020617;
  color: var(--text-main);
}
.section,
.section.alt,
.hero-premium,
.team-section-premium {
  background: transparent !important;
}
@media (max-width: 900px) {
  * {
    backdrop-filter: none !important;
  }
}

/* Projects */
.projects-grid{grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));}
.project-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* Timeline */
/* .timeline{display:flex; flex-direction:column; gap:16px; margin-top:12px} */
.step{background:rgba(255,255,255,0.03); padding:12px 16px; border-radius:10px; color:white}

/* Contact form */
.contact-form{display:grid; gap:12px; max-width:640px}
.contact-form input, .contact-form textarea{padding:12px; border-radius:8px; border:1px solid rgba(11,27,43,0.06)}
.site-footer{padding:28px 0; border-top:1px solid rgba(255,255,255,0.03); color:#cfe7ff; background:transparent}
h1 span{
    color: green;
    font-size: larger;
}
.h{
  font-size: 8rem;
  font-weight: bolder;
  height: 10rem;
  /* font-style: ; */
}
.R{
   /* font-size: 10rem;
  font-weight: bolder;
  height: 10rem;
  font-style: ; */
}
/* FAST PREMIUM LOADING OVERLAY */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: auto ;
}

/* Minimal clean loader */
.fast-loader {
  width: 50px ;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #4ade80; /* green accent */
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* success check */
.fast-check {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform: scale(0.7);
  transition: 220ms ease;
}

.fast-check.show {
  opacity:1;
  transform: scale(1);
}

.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
/* prateek - form section  */
/* -------------------- Full-width contact + Premium form (UPDATED) -------------------- */

.contact-fullwidth { padding: 0; }
.contact-fullwidth-bg {
  width: 100%;
  /* background: linear-gradient(135deg, rgba(2,8,35,0.86) 0%, rgba(5,12,40,0.75) 60%); */
  /* border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02); */
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* soft decorative glow */
.contact-fullwidth-bg::before{
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(closest-side, rgba(30,144,255,0.06), transparent 40%),
              radial-gradient(closest-side, rgba(0,212,255,0.03), transparent 30%);
  transform: rotate(12deg);
  pointer-events: none;
}

/* container inside full width */
.contact-form-wrap { max-width: var(--container); padding: 40px 20px; margin: 0 auto; }

/* main form panel */
.form-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(8px) saturate(120%);
}

/* header */
.panel-head h2 { color: var(--card); margin: 0 0 6px; font-size: 1.6rem; }
.panel-head .muted { color: var(--muted); opacity: .95; margin-bottom: 6px; }

/* layout rows */
.premium-form .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width:900px){ .premium-form .row{ grid-template-columns: 1fr; } }

/* field base */
.field {
  position: relative;
  margin-bottom: 22px; /* extra breathing room for floating labels */
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--card);
  font-size: 0.98rem;
  outline: none;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
  caret-color: var(--accent2);
  -webkit-appearance: none;
}

/* placeholder trick (use placeholder=" " in HTML) */
.field input::placeholder, .field textarea::placeholder { color: transparent; }

/* floating label */
.field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all .22s cubic-bezier(.2,.9,.2,1);
  color: rgba(207,231,255,0.85);
  background: transparent;
  padding: 0 6px;
  z-index: 2;
}

/* focus/active state for inputs */
.premium-form input:focus,
.premium-form textarea:focus { 
  box-shadow: 0 6px 24px rgba(14,32,80,0.35);
  border-color: rgba(30,144,255,0.95);
  transform: translateY(-1px);
}

/* floating state (more vertical spacing) */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -12px;                 /* moved farther up so it doesn't collide */
  left: 12px;
  font-size: 0.78rem;
  color: var(--accent2);
  background: #071428;        /* matches dark theme behind label */
  padding: 0 6px;
  border-radius: 6px;
  z-index: 4;
}

/* ------------- Phone field (fixed & premium) ------------- */
.phone-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* +91 prefix block */
.phone-field .country{
  display:flex; align-items:center; justify-content:center;
  padding: 14px 14px; /* slightly wider for breathing room */
  border-radius:12px 0 0 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: var(--card);
  font-weight:700;
  z-index: 3;
  flex: 0 0 auto;
}

/* input inside phone field — push content right to avoid overlap */
.phone-field input {
  border-radius: 0 12px 12px 0;
  border-left: none;
  padding-left: 60px !important; /* IMPORTANT: keeps text clear of the prefix */
  min-width: 0; /* fixes flexbox overflow in some browsers */
}

/* floating label inside phone field: align with padded input area */
.phone-field label {
  left: 60px; /* align with input text area */
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* when floating, adjust left slightly to keep neat */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  top: -12px;
  left: 56px;
  font-size: 0.78rem;
  background: #071428;
  padding: 0 6px;
  z-index: 4;
}

/* textarea height */
.premium-form textarea { min-height:120px; resize:vertical; }

/* submit area */
.form-controls { display:flex; gap:12px; align-items:center; margin-top:4px; flex-wrap:wrap; }

/* submit button polished */
.submit-btn {
  display:inline-flex; align-items:center; gap:12px;
  padding:12px 18px; border-radius:12px; border:none;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:white; font-weight:700; cursor:pointer; box-shadow: 0 8px 30px rgba(30,144,255,0.18);
  transition: transform .12s ease, box-shadow .18s ease, opacity .12s ease;
  position:relative; overflow:hidden;
}
.submit-btn:active{ transform: translateY(1px) scale(.998); }
.submit-btn .icon-send { width:18px; height:18px; fill:rgba(255,255,255,0.95); transform: translateX(0); transition: transform .22s cubic-bezier(.2,.9,.2,1); }
.submit-btn .btn-text{ letter-spacing:.2px; }

/* spinner */
.btn-spinner{
  width:20px; height:20px; border-radius:50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: rgba(255,255,255,0.95);
  display:inline-block; margin-left:8px; transform: scale(.6); opacity:0; pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  animation: spin .8s linear infinite;
}

/* loading state */
.submit-btn.loading { pointer-events:none; opacity:.98; }
.submit-btn.loading .btn-text { opacity:0; transform: translateX(-6px); }
.submit-btn.loading .icon-send { transform: translateX(-8px); opacity:0.0; }
.submit-btn.loading .btn-spinner { opacity:1; transform: scale(1); }

/* small spinner keyframes (reused) */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* status message */
.status-msg { color: #bcdffb; font-size:0.95rem; margin-left:6px; }

/* success modal */
.success-modal {
  position: fixed; inset:0; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(3,6,12,0.45), rgba(3,6,12,0.6));
  z-index:9999; opacity:0; pointer-events:none; transition: opacity .22s ease;
}
.success-modal.show { opacity:1; pointer-events:auto; }
.success-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:14px; padding:28px; text-align:center; width: min(520px, 92%);
  border:1px solid rgba(255,255,255,0.06); box-shadow: 0 22px 70px rgba(2,6,23,0.6);
}
.checkmark svg { width:72px; height:72px; stroke: none; fill: none; }
.checkmark { width:92px; height:92px; border-radius:50%; margin: 0 auto 8px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(90deg,#22c55e,#16a34a); box-shadow: 0 8px 30px rgba(34,197,94,0.16);
}
.checkmark svg path { stroke: white; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; fill:none; }

/* small helpers */
.btn-ghost { background: transparent; border:1px solid rgba(255,255,255,0.06); color: #cfe7ff; padding:8px 12px; border-radius:10px; }

/* responsive tweaks */
@media (max-width:520px) {
  .phone-field .country { padding: 12px 10px; font-size: 0.95rem; }
  .phone-field input { padding-left: 54px !important; }
  .phone-field label { left: 54px; }
  .phone-field input:focus + label,
  .phone-field input:not(:placeholder-shown) + label { left: 50px; }
}
.invalid {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 10px rgba(255,0,0,0.3) !important;
}

.shake {
  animation: shakeAnim 0.25s ease;
}

@keyframes shakeAnim {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* modal animation */
.success-modal .success-card {
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .28s ease;
}
.success-modal.show .success-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* subtle toast/status emphasis */
.status-msg {
  transition: opacity .18s ease, transform .18s ease;
}

/* form-level shake for serious errors */
form.shake { animation: shakeAnim 0.28s ease; }
/* success popup (premium tick) */

/* GIF SUCCESS POPUP */
/* GIF SUCCESS POPUP */
.gif-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99999;
}

.gif-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.gif-panel {
  background: #020617;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  color: #dff6ff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.gif-popup.show .gif-panel {
  transform: scale(1);
}

.gif-tick {
  width: 130px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 14px;
}


/* Responsive */
@media (max-width:900px){ .hero-inner{flex-direction:column; align-items:flex-start} .header-inner{align-items:center} .nav{display:none} .nav-toggle{display:block} }
@media (prefers-reduced-motion: reduce){ *{transition:none!important} }
/* nav - by prateek */
/* ===============================
   PREMIUM BRAND (HackRoot)
================================ */
.premium-brand {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-h {
  color: #4ade80;
  font-size: 1.8rem;
}

.brand-r {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* subtle glow */
.premium-brand:hover {
  text-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}

/* ===============================
   NAVBAR POLISH
================================ */
.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* links */
.nav-link {
  position: relative;
  color: #dfeefb;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
} */

/* ===============================
   TOGGLE BUTTON (FA ICON)
================================ */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ===============================
   MOBILE NAV
================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 20px;
    width: min(280px, 90%);
    background: rgba(8, 23, 55, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after {
    display: none;
  }
}
/* ===== BRAND SYSTEM ===== */
.premium-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-main {
  color: #ffffff;
}

.brand-accent {
  margin-left: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hover polish */
.premium-brand:hover {
  opacity: 0.95;
}
/* ===============================
   MOBILE NAV SAFE PADDING FIX
================================ */
.site-header .header-inner {
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}

/* extra micro spacing for brand & toggle */
.premium-brand {
  margin-left: 2px;
}

.nav-toggle {
  margin-right: 2px;
}
@media (max-width: 480px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
/* ===============================
   LOGO SHRINK ON SCROLL
================================ */
.site-header {
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.premium-brand {
  transition: transform 0.25s ease, font-size 0.25s ease;
}

.site-header.scrolled .premium-brand {
  transform: scale(0.92);
  opacity: 0.95;
}
/* ===============================
   TOUCH RIPPLE EFFECT
================================ */
.nav-toggle,
.nav-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.35);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    width: min(300px, 92%);
    padding: 22px;

    background: rgba(8, 23, 55, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 16px;

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* stagger */
  .nav.open .nav-link:nth-child(1){ transition-delay: .05s }
  .nav.open .nav-link:nth-child(2){ transition-delay: .1s }
  .nav.open .nav-link:nth-child(3){ transition-delay: .15s }
  .nav.open .nav-link:nth-child(4){ transition-delay: .2s }
  .nav.open .nav-link:nth-child(5){ transition-delay: .25s }
}
/* ===============================
   NAV LINK PRESS + ACTIVE STATE
================================ */
.nav-link {
  transition:
    color 0.2s ease,
    transform 0.12s ease,
    background 0.2s ease;
}

.nav-link:active {
  transform: scale(0.96);
}

/* active section highlight */
.nav-link.active {
  color: white;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}
/* ===============================
   NAV BACKDROP (PREMIUM)
================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   TOGGLE ICON FEEDBACK
================================ */
.nav-toggle i {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open i {
  transform: rotate(90deg) scale(1.1);
}
.nav-toggle:active {
  transform: scale(0.94);
}
/* ===============================
   LOGO MORPH ON SCROLL
================================ */
.premium-brand {
  transition:
    letter-spacing 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* scrolled state */
.site-header.scrolled .premium-brand {
  letter-spacing: -0.4px;
  transform: scale(0.92);
  opacity: 0.95;
}

/* individual letter tuning */
.site-header.scrolled .brand-h {
  font-size: 1.6rem;
}

.site-header.scrolled .brand-r {
  filter: brightness(1.05);
}
.premium-brand:hover {
  text-shadow:
    0 0 12px rgba(74,222,128,0.35),
    0 0 20px rgba(0,212,255,0.25);
}
.premium-brand {
  position: relative;
  overflow: hidden;
}

.premium-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.25),
    transparent 70%
  );
  transform: translateX(-120%);
}

.site-header.loaded .premium-brand::after {
  animation: sheen 1.2s ease forwards;
}

@keyframes sheen {
  to { transform: translateX(120%); }
}
.header-inner {
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 520px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
                          
















/* team section */

/* ===============================
   TEAM – PREMIUM STANDARD
================================ */

.team-section-premium {
  background: #020617;
}

.team-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.team-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: #7833fe;
}

.team-title {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: white;
   font-weight: 900;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.team-subtitle {
  color: #9ca3af;
  line-height: 1.6;
}

/* GRID */
.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARD */
/* ===============================
   TEAM CARD – COMPACT PREMIUM
================================ */

.team-member-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55);
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}


/* AVATAR */
.team-member-avatar {
  position: relative;
  height: 180px;
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.team-member-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}

/* NAME */
.team-member-body h3 {
  color: #f0f6ff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.team-member-role{
  color: #9ca3af;
  font-size: 0.85rem;
}


/* PROJECT TAGS */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.team-member-projects span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.7rem;
  font-weight: 600;
}


/* ===============================
   PREMIUM CTA BUTTON
================================ */

.team-profile-btn {
  margin-top: auto;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.12);
  color: #dff0ff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all .25s ease;
}

.team-profile-btn i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform .25s ease;
}

.team-profile-btn:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 30px rgba(30,144,255,0.45);
}

.team-profile-btn:hover i {
  transform: translateX(4px);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 600px) {
  .team-member-avatar {
    height: 160px;
  }
}


/* toogle */
/* ===============================
   TEAM – ADVANCED INTERACTIONS
================================ */

.team-member-card {
  position: relative;
  overflow: hidden;
}

/* SOCIAL ICONS */
.team-member-social {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(5,12,40,0.6);
  opacity: 0;
  transition: opacity .25s ease;
}

.team-member-social a {
  color: white;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  border-radius: 50%;
}

.team-member-card:hover .team-member-social {
  opacity: 1;
}

/* WORKED ON BADGES */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.team-member-projects span {
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* TOGGLE BUTTON */
.team-profile-btn {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: var(--accent2);
  font-weight: 600;
  cursor: pointer;
}

/* EXPAND PANEL */


/* TIMELINE */
.member-timeline {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.member-timeline div {
  font-size: .9rem;
  color: #dff0ff;
  margin-bottom: 6px;
}

/* PHILOSOPHY */
.member-philosophy {
  padding: 16px 22px 22px;
}

.member-philosophy h4 {
  font-size: .85rem;
  letter-spacing: .18em;
  color: var(--accent2);
  margin-bottom: 6px;
}

.member-philosophy p {
  font-size: .9rem;
  color: #cfe7ff;
  line-height: 1.6;
}

/* AUTO HIGHLIGHT */
.team-member-card.highlight {
  box-shadow:
    0 0 0 2px var(--accent),
    0 30px 80px rgba(30,144,255,.45);
}

/* ===============================
   TEAM QUICK VIEW PANEL
================================ */

/* ===============================
   QUICK VIEW MODAL (ECOM STYLE)
================================ */

/* ===============================
   QUICK VIEW – DESKTOP + MOBILE
================================ */

.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,20,0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.quickview-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* CARD */
.quickview-card {
background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);

  color: #f0f6ff;  width: min(900px, 94%);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 26px;
  transform: scale(.94);
  transition: transform .3s ease;
  position: relative;
}

.quickview-overlay.show .quickview-card {
  transform: scale(1);
}

/* CLOSE */
.quickview-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
}

/* IMAGE + ZOOM */
.quickview-media {
  overflow: hidden;
  border-radius: 14px;
}

.quickview-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  transition: transform .4s ease;
}

.quickview-media:hover img {
  transform: scale(1.08);
}

/* CONTENT */
.qv-category {
  font-size: .7rem;
  letter-spacing: .25em;
  color: #7833fe;
  font-weight: 700;
}

.qv-role {
  color: #475569;
  margin: 6px 0 10px;
}

.qv-desc {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* TAGS */
.qv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.qv-tags span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .75rem;
}

/* TIMELINE */
.qv-timeline {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.qv-timeline li {
  font-size: .9rem;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.qv-timeline li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}

/* ACTIONS */
.qv-actions {
  display: flex;
  gap: 12px;
}

/* ===============================
   MOBILE BOTTOM SHEET
================================ */

@media (max-width: 768px) {
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
    width: 100%;
    height: 92vh;
    border-radius: 18px 18px 0 0;
    grid-template-columns: 1fr;
    transform: translateY(100%);
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  .quickview-media img {
    max-height: 260px;
  }
}
/* =========================================
   QUICK VIEW — MOBILE REFINED EXPERIENCE
========================================= */

@media (max-width: 768px) {

  /* Bottom-sheet behavior */
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
     background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);
    color: #f0f6ff;
    width: 100%;
    height: 94vh;
    border-radius: 22px 22px 0 0;
    grid-template-columns: 1fr;
    padding: 0;
    transform: translateY(100%);
    overflow: hidden;
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  /* Drag handle (visual cue) */
  .quickview-card::before {
    content: "";
    width: 44px;
    height: 5px;
    background: rgba(0,0,0,0.18);
    border-radius: 99px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Image becomes hero */
  .quickview-media {
    border-radius: 0;
  }

  .quickview-media img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
  }

  /* Content spacing */
  .quickview-content {
    padding: 18px 20px 24px;
    overflow-y: auto;
  }

  /* Typography scaling */
  #qvName {
    color: #f0f6ff;
    font-weight: 900;
    font-size: 1.45rem;
    margin-top: 6px;
  }

  .qv-role {
    color: #9ca3af;
    font-size: 0.95rem;
  }

  .qv-desc {
    color: #cfe7ff;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* Tags — more breathable */
  .qv-tags span {
    background: rgba(255,255,255,0.1);
    color: #f0f6ff;
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Timeline clarity */
  .qv-timeline li {
    color: #dff0ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* CTA buttons — thumb friendly */
  .qv-actions {
    position: sticky;
    bottom: 0;
    /* background: #ffffff; */
    padding: 14px 0 6px;
    gap: 12px;
  }

  .qv-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  /* Close button reposition */
  .quickview-close {
    top: 12px;
    right: 14px;
    font-size: 1.6rem;
    z-index: 2;
  }
  .qv-timeline li::before {
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
  }
}



/* ===============================
   SKELETON SHIMMER
================================ */

.skeleton .quickview-media img,
.skeleton #qvName,
.skeleton .qv-role,
.skeleton .qv-desc,
.skeleton .qv-tags,
.skeleton .qv-timeline,
.skeleton .qv-actions {
  color: transparent;
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.team-profile-btn:active,
.qv-actions a:active,
.quickview-close:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}

.quickview-card {
  animation: sheetPop 0.35s cubic-bezier(.2,.9,.2,1);
}

@keyframes sheetPop {
  from {
    transform: translateY(100%) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
/* ======================================
   PREMIUM LEAD BADGE (TOP-RIGHT CORNER)
====================================== */

.team-member-avatar {
  position: relative;
}

/* Badge base */
.team-lead-badge {
  position: absolute;
  top: 14px;
  right: 14px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #052e1a;
  background: linear-gradient(
    135deg,
    #22c55e,
    #4ade80
  );

  border: 1px solid rgba(255,255,255,0.45);

  box-shadow:
    0 8px 26px rgba(34,197,94,0.55),
    0 0 0 1px rgba(255,255,255,0.35);

  backdrop-filter: blur(6px);
  z-index: 3;
}

/* Subtle glow ring */
.team-member-card.lead .team-lead-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(34,197,94,0.35),
    transparent 70%
  );
  z-index: -1;
}

/* Hover enhancement */
.team-member-card.lead:hover .team-lead-badge {
  box-shadow:
    0 12px 40px rgba(34,197,94,0.75),
    0 0 0 1px rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

/* Mobile refinement */
@media (max-width: 768px) {
  .team-lead-badge {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.6rem;
  }
}



/* team section end her  */

/* hero section start here  */

/* =====================================
   PREMIUM HERO — HACKROOT
===================================== */

.hero-premium {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #020617;
  overflow: hidden;
}

/* subtle gradient backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(120,51,254,0.25), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(30,144,255,0.18), transparent 60%),
    radial-gradient(600px 400px at 50% 90%, rgba(34,197,94,0.15), transparent 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* ================= TEXT ================= */

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: #a78bfa; /* timeline violet */
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #f0f6ff;
  margin-bottom: 14px;
}

.hero-title .accent {
  color: #7833fe;
}

.hero-subline {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #9ca3af;
  margin-top: 10px;
}

.hero-desc {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cfe7ff;
  margin: 18px 0 32px;
}

/* ================= CTAs ================= */

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* ================= VISUAL ================= */

.hero-visual {
  position: relative;
  height: 420px;
}

/* glowing orb */
.hero-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #7833fe, transparent 60%),
    radial-gradient(circle at 70% 70%, #1e90ff, transparent 65%);
  filter: blur(30px);
  opacity: 0.75;
  animation: orbFloat 8s ease-in-out infinite;
}

/* grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    height: 300px;
    margin-top: 40px;
  }
}

/* ===============================
   HERO MOBILE — SINGLE FLOW
================================ */

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .hero-visual {
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .hero-orb {
    width: 220px;
    height: 220px;
    filter: blur(28px);
    opacity: 0.45;
  }

  .hero-grid {
    opacity: 0.45;
    background-size: 34px 34px;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-subline {
    font-size: 1.15rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin: 14px auto 28px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas a {
    width: 100%;
    padding: 14px 0;
    border-radius: 14px;
  }
}


/* hero end here */
/* nav starts here  */

/* ==================================================
   PREMIUM NAVBAR — HACKROOT
================================================== */

/* BASE */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* scrolled state */
.site-header.scrolled {
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

/* layout */
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================================
   BRAND
================================================== */

.premium-brand {
  position: relative;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.brand-main {
  color: #f0f6ff;
}

.brand-accent {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================================================
   DESKTOP NAV LINKS
================================================== */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* underline accent */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  transition: width 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
}

.nav-cta:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,0.45);
} */

/* ==================================================
   NAV TOGGLE (MOBILE BUTTON)
================================================== */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ==================================================
   MOBILE NAV — FLOATING PANEL
================================================== */

@media (max-width: 900px) {

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 16px;
    width: min(320px, 92%);
    padding: 24px;

    background: rgba(8, 23, 55, 0.94);
    backdrop-filter: blur(16px) saturate(160%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 18px;

    box-shadow: 0 28px 80px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-6px);
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.open .nav-link:nth-child(1){ transition-delay:.05s }
  .nav.open .nav-link:nth-child(2){ transition-delay:.1s }
  .nav.open .nav-link:nth-child(3){ transition-delay:.15s }
  .nav.open .nav-link:nth-child(4){ transition-delay:.2s }
  .nav.open .nav-link:nth-child(5){ transition-delay:.25s }


  .nav-link::after {
    display: none;
  }
}

/* ==================================================
   BACKDROP
================================================== */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ==================================================
   HACKROOT — PREMIUM NAV (FINAL)
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- BRAND ---------------- */

.premium-brand {
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand-main { color: #f0f6ff; }

.brand-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- DESKTOP NAV ---------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.nav-cta:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,.45);
} */

/* ---------------- TOGGLE ---------------- */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ---------------- MOBILE NAV ---------------- */

@media (max-width: 900px) {

  .nav-toggle { display: flex; }

   .nav {
    position: fixed;
    top: 78px;
    right: 14px;

    width: 260px;          /* 🔥 compact width */
    padding: 22px 20px;

    background: #020617;
    backdrop-filter: blur(18px) saturate(160%);
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
      0 24px 70px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.12);

    display: flex;
    flex-direction: column;
    gap: 14px;             /* tighter vertical rhythm */

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }
.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 12px;
    color: #e5f0ff;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(
  135deg,
  rgba(120, 51, 254, 0.22),
  rgba(120, 51, 254, 0.05)
);
    color: #ffffff;
  }

  /* .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
  } */

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after { display: none; }
}

/* ---------------- BACKDROP ---------------- */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   ACTIVE DOT INDICATOR
================================ */

@media (max-width: 900px) {
  .nav-link {
    position: relative;
  }

  .nav-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .nav-link.active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}
/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.nav-link:active,
.nav-cta:active,
.nav-toggle:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}
/* REMOVE BLUE TAP HIGHLIGHT (mobile) */
.nav-toggle {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* REMOVE DEFAULT FOCUS RING */
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

/* CLEAN ACTIVE STATE (no blue flash) */
.nav-toggle:active {
  background: transparent;
}
.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.quickview-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.projects-premium {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

.projects-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.projects-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--accent2);
}

.projects-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #f0f6ff;
  margin: 10px 0 8px;
}

.projects-subtitle {
  color: #9fb4d6;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
}

/* ---------- PROJECT STACK ---------- */
.projects-stack {
  display: grid;
  gap: 28px;
}

/* =====================================================
   PROJECT CARD (ARTICLE)
===================================================== */
.project-glass {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  cursor: pointer;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(2,6,23,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.03);

  transition: transform .25s ease, box-shadow .25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* title */
.project-glass h3 {
  color: #f0f6ff;
  font-size: 1.35rem;
  margin: 14px 0 10px;
}

/* description */
.project-desc {
  color: #cfe0ff;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- STATUS / BADGES ---------- */
.project-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.launch-badge,
.project-status {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.launch-badge.building {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}

.project-status.planning {
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* ---------- PROGRESS ---------- */
.progress-wrap {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9fb4d6;
  margin-bottom: 6px;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ---------- FOOT ---------- */
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}

.view-details {
  color: var(--accent2);
  font-weight: 600;
}

.github-link {
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

/* =====================================================
   MERGED PRINCIPLES (PROJECTS)
===================================================== */
/* ===============================
   PRINCIPLES — PREMIUM POSITIONING
================================ */

/* .principles-merged {
  margin-top: 64px; more breathing room 
  padding: 28px;

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(2,6,23,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
 */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.35rem; /* bigger */
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* .principles-head h3 {
  font-size: 1.15rem;
  color: #f0f6ff;
  display: flex;
  align-items: center;
  gap: 10px;
} */

/* badge */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;

  padding: 6px 12px;
  border-radius: 999px;

  background:
    linear-gradient(90deg, #ef4444, #f97316);

  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 10px 30px rgba(239,68,68,0.35);
}


/* toggle */
.principles-toggle {
  font-size: 0.8rem;
  font-weight: 600;

  padding: 8px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);

  color: #e6f1ff;
  transition: background 0.2s ease, transform 0.15s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}


/* list */
.principles-list {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.principles-list.collapsed {
  max-height: 0;
  opacity: 0;
}

.principles-list li {
  position: relative;
  padding: 18px 20px 18px 52px;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;

  font-size: 0.95rem;
  line-height: 1.6;

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(2,6,23,0.65);
}


.principles-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;

  color: #9fb4d6;
  opacity: 0.75;
}


/* =====================================================
   PROJECT MODAL — PREMIUM
===================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(6px);
}

.project-panel {
  position: relative;
  max-width: 860px;
  width: min(94%, 860px);
  margin: 6vh auto;
  padding: 32px;
  max-height: 88vh;
  overflow-y: auto;

  background: linear-gradient(
    180deg,
    rgba(8,23,55,0.98),
    rgba(8,23,55,0.94)
  );

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}

.project-close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #cfe7ff;
  cursor: pointer;
}

/* modal typography */
.pm-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.pm-section {
  margin-top: 26px;
}

.pm-section h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb4d6;
  margin-bottom: 8px;
}

.pm-section p {
  color: #e6f1ff;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* tags */
.pm-tags span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
}

/* confidence */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.confidence-grid div {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.confidence-grid span {
  display: block;
  font-size: 0.75rem;
  color: #9bbcff;
}

.confidence-grid strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

/* roadmap */
.roadmap {
  list-style: none;
  padding: 0;
}

.roadmap li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #d7eaff;
}

.roadmap li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #6b7280;
}

.roadmap li.done::before {
  content: "✓";
  color: #22c55e;
}

.roadmap li.active::before {
  content: "→";
  color: #60a5fa;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .project-glass {
    padding: 22px;
  }

  .project-panel {
    padding: 22px;
  }

  .pm-title {
    font-size: 1.6rem;
  }
}
/* ===============================
   PROJECT META — VISIBILITY FIX
================================ */

.project-focus,
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.project-focus span,
.project-tech span {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;

  color: #e6f1ff; /* FIXED: light text */
  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
/* =====================================================
   PROJECTS — TIMELINE DESIGN LANGUAGE
===================================================== */

.projects-premium {
  background: #020617;
}

.projects-eyebrow {
  color: #7833fe; /* same as timeline eyebrow */
}

.projects-title span {
  color: #7833fe; /* optional highlight */
}

.projects-subtitle {
  color: #9ca3af; /* same as timeline subtitle */
}
.project-glass {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 18px;
  cursor: pointer;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55); /* violet */
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-focus span,
.project-tech span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;

  background: rgba(255,255,255,0.1);
  color: white;

  border: 1px solid rgba(255,255,255,0.14);
}
/* =====================================================
   PRINCIPLES — EXECUTIVE PREMIUM
===================================================== */

/* .principles-merged {
  margin-top: 80px;
  padding: 40px;

  border-radius: 28px;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.12),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
} */
.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
}
.principles-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.principles-list li {
  padding: 22px 26px 22px 60px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.7;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.45);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.principles-list li:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 90px rgba(2,6,23,0.65);
}
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}

/* color sync */
.principles-list li[data-phase="learning"]::after {
  background: rgba(255,255,255,0.15);
}

.principles-list li[data-phase="building"]::after {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 16px rgba(120,51,254,0.6);
}

.principles-list li[data-phase="hackathon"]::after {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}
@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
  }

  .principles-list li {
    padding: 20px 20px 20px 54px;
    font-size: 0.95rem;
  }
}
/* =====================================================
   PRINCIPLES — ELITE EXPANDABLE PANEL
===================================================== */

.principles-merged {
  margin-top: 88px;
  padding: 36px 40px;

  border-radius: 28px;
  position: relative;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.14),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ---------------- HEADER ---------------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* NON-NEGOTIABLE BADGE */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #ef4444, #f97316);
  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 12px 30px rgba(239,68,68,0.45);
}

/* ---------------- TOGGLE ---------------- */

.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 0.85rem;
  font-weight: 700;

  padding: 10px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #e6f1ff;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.principles-toggle i {
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
}

/* rotate when open */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* ---------------- LIST WRAPPER ---------------- */

.principles-list {
  margin-top: 28px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 18px;

  overflow: hidden;
  max-height: 0;
  opacity: 0;

  transition:
    max-height 0.55s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-merged.open .principles-list {
  opacity: 1;
}

/* ---------------- ITEM ---------------- */

.principles-list li {
  position: relative;
  padding: 22px 26px 22px 68px;

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.65;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.55);

  transform: translateY(14px);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.45s ease,
    box-shadow 0.25s ease;
}

/* reveal when expanded */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

/* stagger */
.principles-merged.open .principles-list li:nth-child(1){transition-delay:.05s}
.principles-merged.open .principles-list li:nth-child(2){transition-delay:.12s}
.principles-merged.open .principles-list li:nth-child(3){transition-delay:.18s}
.principles-merged.open .principles-list li:nth-child(4){transition-delay:.24s}

/* hover lift */
.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.75);
}

/* LEFT ICON RAIL */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* PHASE LABEL */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #9fb4d6;
  opacity: 0.75;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
    margin-top: 64px;
  }

  .principles-head h3 {
    font-size: 1.35rem;
  }

  .principles-list li {
    padding: 20px 20px 20px 56px;
    font-size: 0.95rem;
  }
}
               

























/* ===============================
   PRINCIPLES — PREMIUM MERGED
================================ */

.principles-merged {
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(2,6,23,0.55);
  backdrop-filter: blur(10px);
}

/* header row */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-nonneg {
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #1f0a00;
}

/* toggle button */
.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  color: #cfe7ff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

/* list base */
.principles-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;

  display: grid;
  gap: 14px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.25s ease;
}

/* expanded */
.principles-merged.open .principles-list {
  max-height: 600px;
  opacity: 1;
}

/* rotate icon */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* list items */
.principles-list li {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #e6f1ff;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);

  transform: translateY(8px);
  opacity: 0;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* stagger reveal */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

.principles-merged.open .principles-list li:nth-child(1){ transition-delay:.05s }
.principles-merged.open .principles-list li:nth-child(2){ transition-delay:.1s }
.principles-merged.open .principles-list li:nth-child(3){ transition-delay:.15s }
.principles-merged.open .principles-list li:nth-child(4){ transition-delay:.2s }

/* mobile */
@media (max-width: 768px) {
  .principles-merged {
    padding: 22px 20px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===============================
   PRINCIPLE HIGHLIGHT STATES
================================ */

.principles-list li.active-principle {
 /*  border-color: rgba(120,51,254,0.65);
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.5),
    0 30px 80px rgba(120,51,254,0.45);
  transform: translateY(-6px); */
}

.principles-list li.dimmed {
  opacity: 0.45;
  filter: saturate(0.8);
}

/* scroll base */
.principles-merged {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.principles-merged.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   PRINCIPLES ITEM — FIXED LAYOUT
================================ */

.principles-list li {
  position: relative;
  padding: 22px 88px 22px 64px; /* RIGHT SPACE RESERVED FOR BADGE */
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;
  font-size: 1rem;
  line-height: 1.65;

  box-shadow: 0 20px 60px rgba(2,6,23,0.55);
}

/* LEFT BULLET — PERFECT CENTER */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* RIGHT PHASE BADGE — NO OVERLAP */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.14);
  color: #cfe7ff;
}
@media (max-width: 640px) {
  .principles-list li {
    padding: 20px 20px 20px 56px;
  }

  .principles-list li::after {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 10px;
    opacity: 0.85;
  }
}
/* ===============================
   PROJECT PANEL — ULTRA PREMIUM
================================ */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,8,25,0.65);
  backdrop-filter: blur(4px);
}

.premium-panel {
  position: relative;
  max-width: 1100px;
  height: 85vh;
  margin: 6vh auto;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  animation: panelIn .4s ease;
}

@keyframes panelIn {
  from { opacity:0; transform: translateY(20px) scale(.98); }
  to   { opacity:1; transform:none; }
}

/* CLOSE */
.project-close {
  position:absolute;
  top:16px;
  right:20px;
  background:none;
  border:none;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
}

/* HEADER */
.pp-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:28px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.pp-status {
  display:inline-block;
  font-size:.7rem;
  font-weight:800;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:10px;
}

.pp-status.building {
  background: linear-gradient(90deg,#22c55e,#4ade80);
  color:#022c22;
}

.pp-header h2 {
  margin:0;
  color:white;
  font-size:1.8rem;
}

.pp-header p {
  color:#bcdffb;
  max-width:520px;
}

.pp-actions {
  display:flex;
  gap:12px;
}

/* BODY */
.pp-body {
  display:grid;
  grid-template-columns: 300px 1fr;
  height:100%;
  overflow:hidden;
}

/* LEFT */
.pp-meta {
  padding:24px;
  border-right:1px solid rgba(255,255,255,0.06);
  overflow-y:auto;
}

.pp-meta h4 {
  color:white;
  margin-bottom:10px;
}

.tag-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tag-list span {
  padding:6px 12px;
  border-radius:999px;
  font-size:.75rem;
  background: rgba(255,255,255,0.1);
  color:#e6f1ff;
}

.readiness div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

meter {
  width:140px;
}

/* RIGHT */
.pp-content {
  padding:28px;
  overflow-y:auto;
}

.pp-content h3 {
  color:white;
  margin-bottom:8px;
}

.pp-content p,
.pp-content li {
  color:#cfe7ff;
  line-height:1.7;
}

/* TEAM */
.team-contrib {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap:14px;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-card h5 {
  margin:0;
  color:white;
}

.team-card span {
  font-size:.8rem;
  color:#9fb4d6;
}

/* ROADMAP */
.roadmap li {
  margin-bottom:8px;
}

.roadmap li.done { color:#22c55e; }
.roadmap li.active { color:#60a5fa; }
.project-modal {
  display: none;
}
.project-modal.show {
  display: block;
}
/* ===============================
   READINESS — ADVANCED
================================ */
.readiness-adv {
  display: grid;
  gap: 16px;
}

.readiness-item {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.r-head {
  display:flex;
  justify-content:space-between;
  margin-bottom:6px;
  color:white;
}

.r-status {
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
}

.r-bar {
  height:6px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
  overflow:hidden;
  margin:6px 0;
}

.r-bar span {
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg,#22c55e,#4ade80);
}

.r-desc {
  font-size:.85rem;
  color:#bcdffb;
}

/* ===============================
   CONTENT BLOCKS
================================ */
.pp-block {
  background: rgba(255,255,255,0.04);
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  margin-bottom:18px;
}

.pp-block h3 {
  color:white;
  margin-bottom:8px;
}

/* ===============================
   ARCHITECTURE
================================ */
.arch-steps {
  display:grid;
  gap:10px;
}

.arch-step {
  padding:12px 14px;
  border-left:3px solid #60a5fa;
  background: rgba(255,255,255,0.04);
  border-radius:10px;
  color:#dbeafe;
}

/* ===============================
   TEAM PREMIUM
================================ */
.team-premium {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.team-p-card {
  background: rgba(255,255,255,0.05);
  border-radius:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-p-card h5 {
  margin:0;
  color:white;
}

.team-role {
  display:inline-block;
  margin:6px 0;
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: linear-gradient(90deg,#1e90ff,#60a5fa);
  color:white;
}

.team-p-card ul {
  padding-left:18px;
  color:#cfe7ff;
  font-size:.85rem;
}
/* ===============================
   PRINCIPLES — TIMELINE SYNCED
================================ */

.principles-merged {
  margin-top: 72px;
  padding: 32px;
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  backdrop-filter: blur(10px);
}

/* ---------- HEADER ---------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
}

/* ---------- NON-NEGOTIABLE BADGE (FIXED) ---------- */

.badge-nonneg {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 7px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #7833fe, #22c55e);
  color: #041b12;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 35px rgba(120,51,254,0.45);

  text-transform: uppercase;
}

/* ---------- TOGGLE ---------- */

.principles-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e6f1ff;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.principles-toggle i {
  transition: transform 0.35s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ---------- LIST ---------- */

.principles-list {
  margin-top: 22px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.6s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-list.show {
  max-height: 800px;
  opacity: 1;
}

/* ---------- ITEM ---------- */

.principles-list li {
  position: relative;
  padding: 20px 22px 20px 56px;
  border-radius: 18px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  color: #e6f1ff;
  font-size: 0.95rem;
  line-height: 1.7;

  box-shadow: 0 18px 50px rgba(2,6,23,0.55);
  backdrop-filter: blur(6px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 80px rgba(2,6,23,0.75);
}

/* ---------- TIMELINE DOT ---------- */

.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.8);
}

/* ---------- PHASE TAG ---------- */

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #9ca3af;
  opacity: 0.85;
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  .principles-merged {
    padding: 22px;
  }

  .principles-head h3 {
    font-size: 1.25rem;
    flex-wrap: wrap;
  }

  .principles-list li {
    padding: 18px 18px 18px 50px;
  }

  .principles-list li::after {
    display: none; /* clean mobile UX */
  }
}
/* MODAL WRAPPER */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

/* overlay stays fixed */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.7);
  backdrop-filter: blur(6px);
}

/* MAIN PANEL */
.project-panel {
  position: relative;
  margin: auto;
  height: min(92vh, 900px);
  width: min(1200px, 96vw);
  background: linear-gradient(180deg, #071428, #081a36);
  border-radius: 20px;
  overflow: hidden; /* 🔑 important */
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 120px rgba(0,0,0,0.6);
}
.pp-header {
  flex-shrink: 0;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 23, 55, 0.85);
  backdrop-filter: blur(8px);
}
.pp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 28px;
  overflow-y: auto;     /* ✅ ONLY SCROLL HERE */
  overscroll-behavior: contain;
}

/* smooth premium scrollbar */
.pp-body::-webkit-scrollbar {
  width: 8px;
}
.pp-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: 999px;
}
.pp-meta,
.pp-content {
  overflow: visible; /* ❌ no scroll here */
}
@media (max-width: 900px) {
  .project-panel {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pp-meta {
    order: 2;
    background: rgba(255,255,255,0.02);
    padding: 18px;
    border-radius: 16px;
  }

  .pp-content {
    order: 1;
  }

  .pp-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.project-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 50;

  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(8,23,55,0.85);
  backdrop-filter: blur(6px);

  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .15s ease, background .2s ease;
}

.project-close:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.06);
}

.project-close:active {
  transform: scale(0.94);
}
.pp-header {
  position: sticky;
  top: 0;
  z-index: 10;

  padding: 28px 72px 24px 28px; /* space for close btn */
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
@media (max-width: 900px) {

  .project-panel {
    width: 100vw;
    height: 100dvh; /* better than 100vh on mobile */
    max-height: none;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px 18px 32px;
  }

  .pp-meta {
    order: 2;
    margin-top: 24px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .pp-content {
    order: 1;
  }

  .project-close {
    top: 14px;
    right: 14px;
  }
}
/* ===============================
   PRINCIPLES — MOBILE PREMIUM FIX
================================ */
@media (max-width: 768px) {

  .principles-merged {
    margin-top: 40px;
    padding: 20px;
    border-radius: 18px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .principles-head h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .badge-nonneg {
    font-size: 0.55rem;
    padding: 5px 10px;
  }

  .principles-toggle {
    width: 100%;
    justify-content: space-between;
    display: flex;
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  /* list container */
  .principles-list {
    margin-top: 14px;
    gap: 10px;
  }

  /* individual item */
  .principles-list li {
    padding: 14px 16px 14px 42px;
    font-size: 0.9rem;
    line-height: 1.55;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* remove hover lift on mobile */
  .principles-list li:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* bullet */
  .principles-list li::before {
    left: 16px;
    width: 8px;
    height: 8px;
  }

  /* phase label → inline, not floating */
  .principles-list li::after {
    position: static;
    display: block;
    margin-top: 6px;
    transform: none;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
  }
}
/* =====================================================
   CONTACT / JOIN FORM — ULTRA PREMIUM (TIMELINE SYNCED)
===================================================== */

.contact-fullwidth {
  padding: 0;
  background: #020617;
}

.contact-fullwidth-bg {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(1200px 600px at 10% -20%, rgba(120,51,254,0.18), transparent 40%),
    radial-gradient(900px 500px at 90% 20%, rgba(167,139,250,0.12), transparent 45%),
    linear-gradient(180deg, #020617, #030a1f);
  overflow: hidden;
}

/* ambient glow */
/* .contact-fullwidth-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: #020617;
  pointer-events: none;
} */

/* container */
.contact-form-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= PANEL ================= */

.form-panel {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 40px 120px rgba(2,6,23,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ================= HEADER ================= */

.panel-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.panel-head .muted {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================= FORM GRID ================= */

.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* ================= FIELD ================= */

.field {
  position: relative;
  margin-top: 26px;
}

.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .15s ease;
}

.premium-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* focus glow */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7833fe;
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.8),
    0 12px 40px rgba(120,51,254,0.35);
  transform: translateY(-1px);
}

/* ================= FLOATING LABEL ================= */

.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #c7d2fe;
  pointer-events: none;
  transition: all .25s cubic-bezier(.2,.9,.2,1);
  background: transparent;
}

/* active / floated */
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  top: -12px;
  font-size: 0.75rem;
  color: #a78bfa;
  background: #020617;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ================= PHONE FIELD ================= */

.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 17.5px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

.phone-field label {
  left: 64px;
}

.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 60px;
}

/* ================= CONTROLS ================= */

.form-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= SUBMIT BUTTON ================= */

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  border: none;
  cursor: pointer;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.3px;

  box-shadow:
    0 18px 50px rgba(120,51,254,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform .15s ease,
    box-shadow .25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(120,51,254,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.45);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* loading state */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.9;
}
.phone-field .country
/* ================= STATUS ================= */

.status-msg {
  font-size: 0.95rem;
  color: #c7d2fe;
}

/* ================= MOBILE ================= */

@media (max-width: 520px) {
  .form-panel {
    padding: 26px;
    border-radius: 20px;
  }

  .panel-head h2 {
    font-size: 1.4rem;
  }
}/* ===============================
   PROJECT PRINCIPLES – VISIBILITY FIX
================================ */

.principles-merged {
 /*  margin-top: 64px;
  padding: 32px; */
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 70px rgba(2,6,23,0.6);

  backdrop-filter: blur(10px);
}

/* header alignment */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  color: #f0f6ff;
  font-weight: 800;
}

/* NON-NEGOTIABLE badge */
.badge-nonneg {
  margin-left: 10px;
  font-size: 0.65rem;
  padding: 6px 14px;
  border-radius: 999px;
  /* background: linear-gradient(90deg,#ef4444,#f97316); */
  color: white;
  letter-spacing: 1px;
  font-weight: 800;
}
/* ===============================
   PRINCIPLES TOGGLE FIX
================================ */

.principles-list {
  margin-top: 24px;
  list-style: none;
  padding-left: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease;
}

.principles-list.open {
  max-height: 600px;
  opacity: 1;
}

/* items */
.principles-list li {
  padding: 18px 20px 18px 52px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  color: #f0f6ff;
  position: relative;
  font-size: 0.95rem;
}

/* bullet */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  transform: translateY(-50%);
}
.principles-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 16px;
  border-radius: 14px;
  color: #e6f1ff;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ===============================
   PRINCIPLES – VISIBILITY RESET (FIX)
================================ */

/* parent must ALWAYS be visible */
.principles-merged {
  opacity: 1 !important;
  transform: none !important;
}

/* list container controlled by toggle only */
.principles-list {
  opacity: 1;
}

/* items start hidden ONLY for reveal animation */
.principles-list li {
  opacity: 0;
  transform: translateY(14px);
}

/* revealed state */
.principles-list li.reveal {
  opacity: 1;
  transform: translateY(0);
}
.principles-list li::before {
  opacity: 0;
  transform: scale(0.6) translateY(-50%);
}

.principles-list li.reveal::before {
  opacity: 1;
  transform: scale(1) translateY(-50%);
}
.contrib-list {
  display: grid;
  gap: 10px;
}

.contrib-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.contrib-item strong {
  color: #f0f6ff;
  font-weight: 700;
}

.contrib-item span {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-left: 10px;
}
.roadmap-list {
  display: grid;
  gap: 10px;
  padding-left: 0px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.roadmap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  box-shadow: 0 0 10px rgba(30,144,255,0.6);
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}

.roadmap-item span {
  color: #e5f3ff;
  font-size: 0.9rem;
}
.pp-meta h3{
  color: white;
}
/* ===============================
   PROJECT PANEL – TEAM CONTENT
================================ */

.pp-team {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

.pp-team-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;
  border-radius: 14px;
  /* background: rgba(255,255,255,0.05); */
  border: 1px solid rgba(255,255,255,0.08);
}

.pp-team-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.pp-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-team-info strong {
  color: #f0f6ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.pp-team-info span {
  font-size: 0.75rem;
  color: #9ca3af;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: #e6f1ff;
}
.projects-premium , .project-panel {
  color: #00D4FF;
}

.projects-premium p,
.project-panel p {
  color: #cfe7ff;
}

.projects-premium .muted,
.project-panel .muted {
  color: #9ca3af;
}
.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}
.project-status.active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}

.project-status.completed {
  background: #22c55e;
  color: #052e1a;
}

.project-status.upcoming {
  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}
.pp-team-item,
.roadmap-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}

.roadmap-item span {
  color: #cfe7ff;
}
/* ===============================
   PROJECT PANEL – BASE
================================ */

.project-modal {
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(10px);
}

.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  color: #f0f6ff;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}
/* ===============================
   PP HEADER
================================ */

.pp-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.pp-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.pp-header p {
  color: #cfe7ff;
  max-width: 560px;
  line-height: 1.6;
}

/* STATUS BADGE */
.pp-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
}
.pp-actions a {
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.pp-actions .btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6f1ff;
}

.pp-actions .btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}
/* ===============================
   PP BODY LAYOUT
================================ */

.pp-body {
  display: grid;
  /* grid-template-columns: 360px 1fr; */
  gap: 28px;
  /* padding: 32px; */
}

/* LEFT META */
.pp-meta section {
  margin-bottom: 26px;
}

.pp-meta h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 12px;
}
.tag-list span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}
/* ===============================
   PP CONTENT BLOCKS
================================ */

.pp-content section {
  margin-bottom: 28px;
}

.pp-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 10px;
}

.pp-content p {
  color: #cfe7ff;
  line-height: 1.7;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e6f1ff;
}
.pp-team-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}
.roadmap-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.roadmap-item span {
  color: #cfe7ff;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}
.readiness-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.r-head span {
  color: #f0f6ff;
}

.r-desc {
  color: #9ca3af;
}


/* --------------------------Lakshya-section-Start------------------ */
/* ===============================
   TIMELINE SECTION
================================ */

.timeline-section {
  padding: 6rem 1rem 8rem;
  background: #020617;
}

/* ---------- HEADING ---------- */

.timeline-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
  animation: fadeUp 0.9s ease forwards;
}

.timeline-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #7833fe;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.timeline-title span {
  color: #7833fe;
}

.timeline-subtitle {
  max-width: 620px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* Divider */
.timeline-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timeline-divider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7833fe;
  opacity: 0.3;
}

.timeline-divider .line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
}

/* ---------- TIMELINE ---------- */

.timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* base line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,0.12);
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, #7833fe, #a78bfa);
  z-index: 1;
}

/* ---------- ITEMS ---------- */

.timeline-item {
  position: relative;
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* states */
.timeline-item.completed .timeline-dot {
  background: #22c55e;
}

.timeline-item.active .timeline-dot {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.7);
}

/* card */
.timeline-card {
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(2,6,23,0.65);
}

.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* tag */
.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  color: white;
}

.timeline-tag.glow {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 20px rgba(120,51,254,0.6);
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 16px;
    transform: none;
  }

  .timeline-dot {
    left: 16px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px;
    max-width: 100%; */
  }
}

/* ---------- ANIMATION ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------- CURRENT BADGE ---------- */
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
  box-shadow:
    0 6px 20px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);
  text-transform: uppercase;
  animation: pulseGlow 1.8s infinite ease-in-out;
  z-index: 5;
}

/* glowing pulse */
@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}

/* ---------- CARD BASE (YOUR EXISTING, WITH SMALL TWEAK) ---------- */
.timeline-card {
  position: relative;
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover lift */
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* stronger emphasis for current */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 70px rgba(34,197,94,0.35);
}

/* text */
.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ---------- RESPONSIVE FIX ---------- */
@media (max-width: 768px) {
  .timeline-card {
    margin-left: 32px;
    max-width: calc(100% - 32px);
  }

  .current-badge {
    right: 12px;
  }
}


















/* ===============================
   TIMELINE CORE
================================ */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
}

/* animated progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* ===============================
   TIMELINE ITEMS
================================ */
.timeline-item {
  position: relative;
  margin: 90px 0;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* ===============================
   CARDS (LEFT / RIGHT)
================================ */
.timeline-card {
  position: relative;
  width: min(420px, 90%);
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* LEFT */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-80px);
}

/* RIGHT */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(80px);
}

/* ===============================
   ACTIVE / VISIBLE
================================ */
.timeline-item.visible {
  opacity: 1;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0);
}

/* active dot */
.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 14px rgba(124,58,237,0.6);
}

/* ===============================
   CURRENT CARD
================================ */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 80px rgba(34,197,94,0.35);
}

/* ===============================
   MOBILE (STACKED)
================================ */
@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px !important;
    width: calc(100% - 48px);
    transform: translateY(40px); */
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0);
  }
}
/* ===============================
   PREMIUM ZIG-ZAG TIMELINE (FINAL)
================================ */

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center spine */
.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg, #7c3aed, #22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) scale(0.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* card base */
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 24px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(2,6,23,0.65);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    opacity 0.5s ease,
    box-shadow 0.35s ease;
}

/* ---------- LEFT ---------- */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform:
    translateX(-120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- RIGHT ---------- */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform:
    translateX(120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- VISIBLE ---------- */
.timeline-item.visible {
  opacity: 1;
  pointer-events: auto;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 18px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

/* hover micro-lift */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,0.75);
}

/* current emphasis */
.timeline-card.current {
  border-color: rgba(34,197,94,.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,.35),
    0 40px 120px rgba(34,197,94,.35);
}

/* ===============================
   MOBILE (STACKED + FADE UP)
================================ */
@media (max-width: 768px) {

  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: scale(0.6);
  }

  .timeline-card {
    margin-left: 52px !important;
    width: calc(100% - 52px);
    transform: translateY(60px) scale(0.97);
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0) scale(1);
  }
}

/* ===============================
   PREMIUM VISIBILITY STATES
================================ */

/* base */
.timeline-item {
  opacity: 0;
  pointer-events: none;
}

/* ACTIVE (focus card) */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

/* PAST (soft presence) */
.timeline-item.is-past {
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(0.97);
  filter: blur(0.3px);
}

/* FUTURE (hidden) */
.timeline-item.is-future {
  opacity: 0;
  pointer-events: none;
}

/* dot logic */
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past .timeline-dot {
  background: #22c55e;
  opacity: 0.6;
}

.timeline-item.is-future .timeline-dot {
  opacity: 0.25;
}
/* ===============================
   CINEMATIC TIMELINE
================================ */

.timeline-section {
  background: #020617;
  padding: 6rem 1rem 8rem;
}

/* spine */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  /* margin-right: 20px; */

}

.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height .25s ease;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%) scale(.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  transition: all .4s ease;
  z-index: 2;
}

/* card */
.timeline-card {
  width: min(420px,92%);
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03)
  );
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(2,6,23,.65);
  transition:
    transform .8s cubic-bezier(.2,.9,.2,1),
    box-shadow .4s ease;
}

/* zig-zag */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-120px) translateY(40px) scale(.96);
}
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(120px) translateY(40px) scale(.96);
}

/* STATES */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past {
  opacity: .35;
  z-index: 1;
}
.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(.97);
  filter: blur(.4px);
}

.timeline-item.is-future {
  opacity: 0;
}

/* hover */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,.75);
}

/* mobile */
@media (max-width:768px){
  .timeline-wrap::before,
  .timeline-progress{
    left:18px;
    transform:none;
  }
  .timeline-wrap{
  margin-right: 20px;
  }
  .timeline-dot{ left:18px; }
  .timeline-card{
    margin-left:52px!important;
    width:calc(100% - 52px);
    transform: translateY(60px) scale(.97);
  }
  .timeline-item.is-active .timeline-card{
    transform: translateY(0) scale(1);
  }
}
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 26px 26px 24px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.09),
      rgba(255,255,255,0.03)
    );

  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid var(--border-soft);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}
.timeline-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--violet-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.timeline-item.is-active .timeline-card::before {
  opacity: 1;
}
.timeline-card h3 {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.12);
}
.timeline-item.is-active .timeline-card {
  border-color: var(--border-glow);

  box-shadow:
    0 0 0 1px rgba(124,58,237,0.4),
    0 45px 140px rgba(124,58,237,0.45);
}
.timeline-item.is-past .timeline-card {
  opacity: 0.4;
  filter: blur(0.4px);
  transform: translateY(-18px) scale(0.97);
}
.timeline-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 50px 160px rgba(2,6,23,0.85),
    0 0 0 1px rgba(124,58,237,0.35);
}
/* ===============================
   CURRENT CARD — GREEN PREMIUM
================================ */

.timeline-card.current {
  background:
    linear-gradient(
      180deg,
      rgba(34,197,94,0.16),
      rgba(34,197,94,0.06)
    );

  border-color: rgba(34,197,94,0.55);

  box-shadow:
    0 0 0 1px rgba(34,197,94,0.45),
    0 45px 140px rgba(34,197,94,0.45),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.timeline-card.current::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--green-glow),
    transparent 70%
  );

  opacity: 0.9;
  pointer-events: none;
}
.timeline-card.current h3 {
  color: #ecfdf5; /* soft white-green */
}

.timeline-card.current p {
  color: #d1fae5; /* readable mint */
}
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;

  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;

  border-radius: 999px;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  box-shadow:
    0 8px 26px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  animation: pulseGreen 1.8s infinite ease-in-out;
}
@keyframes pulseGreen {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}
.timeline-card.current:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 60px 180px rgba(34,197,94,0.55),
    0 0 0 1px rgba(34,197,94,0.5);
}
/* ===============================
   DOT OPPOSITE ALIGNMENT (PREMIUM)
================================ */

/* base dot position (center reference) */
.timeline-dot {
  position: absolute;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* LEFT CARD → DOT SHIFTS LEFT */
.timeline-item:nth-child(odd) .timeline-dot {
  left: calc(50% - 18px);
  transform: translateX(-50%) scale(0.6);
}

/* RIGHT CARD → DOT SHIFTS RIGHT */
.timeline-item:nth-child(even) .timeline-dot {
  left: calc(50% + 18px);
  transform: translateX(-50%) scale(0.6);
}
.timeline-item.is-active:nth-child(odd) .timeline-dot,
.timeline-item.is-active:nth-child(even) .timeline-dot {
  transform: translateX(-50%) scale(1);
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
}
@media (max-width: 768px) {
  .timeline-dot {
    left: 18px !important;
    transform: scale(0.7) !important;
  }
}

/* --------------------------Lakshya-section-end------------------ */

/* form styling -add  */

/* =====================================================
   PREMIUM CONTACT / JOIN FORM (HACKROOT GRADE)
   Palette synced with Timeline + Projects
===================================================== */

/* section wrapper */
.contact-fullwidth {
  padding: 0;
  background-color: #020617;
}

/* cinematic background */
.contact-fullwidth-bg {
  position: relative;
  padding: 5rem 0;
  background-color:#020617;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
}

/* glass panel */
.form-panel {
  max-width: 820px;
  margin: auto;
  padding: 36px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* header */
.panel-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.panel-head .muted {
  color: rgba(207,231,255,0.7);
  margin-top: 6px;
}

/* grid rows */
.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* field wrapper */
.field {
  position: relative;
  margin-top: 18px;
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.12);
  outline: none;

  font-size: 0.95rem;
  letter-spacing: 0.2px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* floating labels */
.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;

  font-size: 0.85rem;
  color: rgba(207,231,255,0.8);
  transition: 0.25s ease;
  background: transparent;
  padding: 0 6px;
}

/* focus */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 28px rgba(124,58,237,0.35);
  transform: translateY(-1px);
}

/* float label */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.72rem;
  color: #a78bfa;
  background: #020617;
  border-radius: 6px;
}

/* phone field */
.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

/* textarea */
.premium-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* submit area */
.form-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

/* submit button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;
  border-radius: 14px;
  border: none;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow:
    0 10px 40px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 60px rgba(34,197,94,0.6);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

/* status text */
.status-msg {
  color: rgba(207,231,255,0.85);
  font-size: 0.95rem;
}

/* success modal */
.success-modal {
  backdrop-filter: blur(6px);
  background: rgba(2,6,23,0.65);
}

.success-card {
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 120px rgba(2,6,23,0.85);
}

/* ===============================
   PHONE FIELD FIX (FINAL)
================================ */
.phone-field {
  display: flex;
  align-items: stretch;
  position: relative;
}

.phone-field .country {
  min-width: 56px;
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  font-weight: 700;
  color: #ffffff;
}

.phone-field input {
  flex: 1;
  border-radius: 0 14px 14px 0;
  padding-left: 18px !important;
}

/* label alignment */
.phone-field label {
  left: 76px;
}

/* floating label */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 70px;
}
/* ===============================
   STEP FORM REVEAL
================================ */
.field {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.2,.9,.2,1);
}

.field.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   AI TYPING GLOW
================================ */
.premium-form input.is-typing,
.premium-form textarea.is-typing {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 32px rgba(124,58,237,0.45);
}
/* ===============================
   INLINE VALIDATION
================================ */
.field.invalid input,
.field.invalid textarea {
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239,68,68,0.45);
  animation: shake 0.25s ease;
}

.field.valid input,
.field.valid textarea {
  border-color: #22c55e;
  box-shadow: 0 0 18px rgba(34,197,94,0.45);
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
/* ===============================
   VERIFIED BADGE
================================ */
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;

  color: #022c22;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 999px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 30px rgba(34,197,94,0.45);

  opacity: 0;
  transform: scale(0.8);
  transition: 0.35s ease;
}

.verified-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   CONTACT SECTION HEADING
   (Matches Projects & Timeline)
================================ */

.contact-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #7c3aed;
  margin-bottom: 0.8rem;
}

.contact-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-title span {
  color: #7c3aed;
}

.contact-subtitle {
  max-width: 620px;
  margin: 1rem auto 1.8rem;
  font-size: 1.05rem;
  color: rgba(207,231,255,0.75);
  line-height: 1.7;
}
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  
}





















































































































.contact-fullwidth-bg{
  background: #020617;
}
@media (max-width: 900px) {
  .site-header,
  .nav,
  .project-glass,
  .team-member-card,
  .quickview-overlay,
  .form-panel ,
  .contact-fullwidth-bg{
    backdrop-filter: none !important;
  }
}





/* footer -suchi start here */

/* ===============================
   FOOTER — FULL PAGE PALETTE MATCH
================================ */

.site-footer {
  background:
    radial-gradient(900px 300px at top center,
      rgba(124,58,237,0.12),
      transparent 60%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
  color: var(--text-soft);
  position: relative;
  overflow: hidden;
}

/* subtle divider (timeline language) */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--violet-main),
    var(--green-main),
    transparent
  );
  opacity: 0.75;
}

/* ===============================
   GRID
================================ */
.footer-grid {
  max-width: 1180px;
  margin: auto;
  padding: 72px 24px 52px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 36px;
}

/* ===============================
   BRAND
================================ */
.footer-logo {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-h { color: #ffffff; }
.logo-r {
  background: linear-gradient(90deg, var(--violet-main), var(--violet-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  margin: 16px 0 14px;
  padding: 6px 16px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  color: #e9d5ff;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 420px;
  color: var(--text-muted);
}

.footer-email {
  margin-top: 12px;
  font-size: 0.75rem;
}

.footer-email a {
  color: var(--violet-soft);
  text-decoration: none;
  opacity: 0.85;
}

.footer-email a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===============================
   LINKS
================================ */
.footer-links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.footer-links a,
.footer-links span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  opacity: 0.75;
  transition: all 0.25s ease;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--green-soft);
}

/* ===============================
   BOTTOM BAR
================================ */
.footer-bottom {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 0.72rem;
  color: rgba(207,231,255,0.65);
}

/* socials */
.footer-socials a {
  margin-left: 14px;
  font-size: 1.05rem;
  color: #cfe7ff;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--green-main);
  transform: translateY(-3px);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-socials a {
    margin: 0 10px;
  }
}


.footer-socials a {
  text-decoration: none !important;
}

.footer-socials a::after,
.footer-socials a::before {
  content: none !important;
}
/* ===============================
   STATIC PAGE SUPPORT (IMPORTANT)
================================ */

.page-wrap {
  min-height: 60vh;
}

/* titles */
.page-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

/* subtitle */
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* list */
.simple-list {
  list-style: none;
  padding-left: 0;
}

.simple-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-main);
  font-size: 1.2rem;
  line-height: 1;
}
/* ===============================
   ENTERPRISE PAGE SYSTEM
================================ */

.page-enterprise {
  background: #020617;
}

.page-hero {
  margin-bottom: 64px;
}

.page-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--violet-soft);
}

.page-block {
  margin-bottom: 72px;
}

.page-block h2 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.page-block p {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 760px;
}

/* capability grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
}

.cap-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* process list */
.process-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  max-width: 760px;
}

.process-list li {
  counter-increment: step;
  margin-bottom: 22px;
  padding-left: 42px;
  position: relative;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet-main), var(--green-main));
  color: #020617;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* tags */
.tag-list.premium span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

/* highlight block */
.page-block.highlight {
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(124,58,237,0.12),
    rgba(34,197,94,0.08)
  );
  border: 1px solid rgba(255,255,255,0.12);
}




/* webicon -styling  */

.logo{
  height:48px;              /* ⬅ slightly bigger */
  width:48px;
  padding:10px;             /* ⬅ optical breathing space */
  border-radius:14px;

  /* Solid dark base (important) */
  background:#020617;

  /* Inner contrast ring */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 18px rgba(120,51,254,0.18), /* subtle violet lift */
    0 10px 28px rgba(2,6,23,0.85);        /* outer depth */

  border:1px solid rgba(255,255,255,0.18);

  display:flex;
  align-items:center;
  justify-content:center;
}













/* HERO → NEXT SECTION BLEND */
.hero-premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    to bottom,
    rgba(2,6,23,0) 0%,
    rgba(2,6,23,0.35) 40%,
    rgba(2,6,23,0.75) 70%,
    #020617 100%
  );
}
/* pull next section into hero */
.hero-premium + .section {
  margin-top: -120px;
  padding-top: 160px;
}
.hero-premium,
.team-section-premium,
.section {
  background: #020617;
}
.section {
  position: relative;
  z-index: 3;
}



/* all work done -now loading and more styling add */

/* ===============================
   PREMIUM PAGE LOADER
================================ */
/* =====================================================
   WORLD-CLASS BRAND LOADER — HACKROOT
===================================================== */

.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background:
    radial-gradient(800px 400px at 50% -120px, rgba(124,58,237,0.25), transparent),
    linear-gradient(180deg, #020617, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.brand-loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* inner stack */
.brand-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: loaderFadeIn .9s ease both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* logo container */
.brand-logo-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* logo itself */
.brand-logo {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 22px rgba(124,58,237,0.25),
    0 18px 50px rgba(2,6,23,0.9);
  z-index: 2;
}

/* animated energy ring */
.energy-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,0.45);
  box-shadow:
    0 0 22px rgba(124,58,237,0.45),
    inset 0 0 18px rgba(124,58,237,0.35);
  animation: ringPulse 1.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(.92); opacity:.6 }
  50%  { transform: scale(1.06); opacity:1 }
  100% { transform: scale(.92); opacity:.6 }
}

/* brand text */
.brand-loader-text {
  text-align: center;
}

.brand-name {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .4px;
  color: #ffffff;
}

.brand-name span {
  color: #7c3aed;
}

.brand-tagline {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(207,231,255,0.75);
}

/* exit animation polish */
.page-loaded .brand-loader-inner {
  animation: loaderExit .55s ease forwards;
}

@keyframes loaderExit {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }
}









/* Slowly Reveal */

/* =====================================================
   ULTRA-PREMIUM SCROLL REVEAL SYSTEM (MNC GRADE)
   Works once, smooth, GPU-safe
===================================================== */

/* ========== 1. BASE REVEAL (fallback / default) ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========== 2. HERO – SOFT FADE (Apple style) ========== */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ========== 3. TEAM / GRIDS – STAGGER SYSTEM ========== */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.reveal-stagger.visible > *:nth-child(1){transition-delay:.06s}
.reveal-stagger.visible > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.visible > *:nth-child(3){transition-delay:.18s}
.reveal-stagger.visible > *:nth-child(4){transition-delay:.24s}
.reveal-stagger.visible > *:nth-child(5){transition-delay:.30s}
.reveal-stagger.visible > *:nth-child(6){transition-delay:.36s}
.reveal-stagger.visible > *:nth-child(7){transition-delay:.42s}

/* ========== 4. PROJECTS – LIFT + BLUR (Premium cards) ========== */
.reveal-lift {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    filter 0.9s ease;
  will-change: transform, opacity;
}

.reveal-lift.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ========== 5. TIMELINE – DIRECTIONAL (Left / Right) ========== */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 6. FORMS – GLASS REVEAL (Theme matched) ========== */
.reveal-glass {
  opacity: 0;
  transform: translateY(36px);
  backdrop-filter: blur(0);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    backdrop-filter 0.9s ease;
}

.reveal-glass.visible {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(8px);
}

/* ========== 7. MODALS / STATS – SCALE IN ========== */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.9,.2,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== 8. PERFORMANCE & ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-stagger > *,
  .reveal-lift,
  .reveal-left,
  .reveal-right,
  .reveal-glass,
  .reveal-scale {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
:root{
  --bg:#081737;
  --card:#F4F7FB;
  --accent:#1E90FF;
  --accent2:#00D4FF;
  --muted:#6B7A8A;
  --text:#0B1B2B;
  --radius:12px;
  --container:1100px;
  --gap:24px;
  
  /* BASE */
  --bg-main: #020617;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-soft: rgba(255,255,255,0.035);

  /* TEXT */
  --text-main: #ffffff;
  --text-soft: #cfe7ff;
  --text-muted: rgba(207,231,255,0.65);

  /* ACCENTS */
  --violet-main: #7c3aed;
  --violet-soft: #a78bfa;
  --violet-glow: rgba(124,58,237,0.55);

  /* BORDERS */
  --border-soft: rgba(255,255,255,0.12);
  --border-glow: rgba(124,58,237,0.45);
   /* green premium */
  --green-main: #22c55e;
  --green-soft: #4ade80;
  --green-glow: rgba(34,197,94,0.45);
}
*{box-sizing:border-box}
body{
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  margin:0; color:var(--text); background:#020617;
  -webkit-font-smoothing:antialiased;
}
.container{max-width:var(--container); margin:0 auto; padding:48px 20px;}
.site-header{position:sticky; top:0; z-index:40; backdrop-filter: blur(6px); background:#020617; border-bottom:1px solid rgba(255,255,255,0.03);}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0;}
.brand{color:white; font-weight:700; font-size:1.2rem; text-decoration:none;}
.nav a{font-size: large;color:#dfeefb; margin-left:18px; text-decoration:none;}
.btn-primary{background:linear-gradient(90deg, #7833fe, #9a6bff); color:white; padding:10px 16px; border-radius:10px; text-decoration:none; display:inline-block;}
.btn-ghost{background:transparent; border:1px solid rgba(255,255,255,0.08); color:#cfe7ff; padding:8px 14px; border-radius:10px; text-decoration:none;}
.btn-outline{border-radius:10px; border:1px solid rgba(255,255,255,0.12); padding:8px 12px; color:#cfe7ff; text-decoration:none;}
.hero{padding:80px 0; color:white;}
.hero-inner{display:flex; gap:36px; align-items:center; justify-content:space-between;}
.hero-copy h1{font-size:2.2rem; margin:0 0 12px;}
.lead{opacity:0.9; color:#d7eaff; margin-bottom:18px}
.hero-media{min-width:320px; max-width:460px;}
.project-preview{background:rgba(255,255,255,0.03); padding:18px; border-radius:12px; border:1px solid rgba(255,255,255,0.04)}
.section{padding:72px 0; background:transparent; color:var(--text)}
.section.alt{background:linear-gradient(180deg, rgba(255,255,255,0.02), transparent)}
h2{color:var(--card); margin-bottom:10px}
.muted{color:var(--muted); font-size:0.95rem; margin-bottom:20px}
/* Grid */
.grid{display:grid; gap:var(--gap)}
.team-grid{grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));}
.card{background:var(--card); border-radius:var(--radius); padding:18px; box-shadow:0 8px 30px rgba(2,6,23,0.4); transition:transform .18s ease, box-shadow .18s ease;}
.card:hover{transform:translateY(-6px); box-shadow:0 18px 40px rgba(2,6,23,0.5)}
.avatar{width:100%; height:140px; object-fit:cover; border-radius:10px; margin-bottom:12px;}
.role{color:var(--muted); margin:6px 0 10px;}
.team-grid .card ul{padding-left:18px; margin:0 0 12px; color:#234;}
.btn-link{background:transparent; border:none; color:var(--accent); cursor:pointer; font-weight:600; padding:6px 0}
html, body {
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}
body {
  background: #020617;
  color: var(--text-main);
}
.section,
.section.alt,
.hero-premium,
.team-section-premium {
  background: transparent !important;
}
@media (max-width: 900px) {
  * {
    backdrop-filter: none !important;
  }
}

/* Projects */
.projects-grid{grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));}
.project-glass {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* Timeline */
/* .timeline{display:flex; flex-direction:column; gap:16px; margin-top:12px} */
.step{background:rgba(255,255,255,0.03); padding:12px 16px; border-radius:10px; color:white}

/* Contact form */
.contact-form{display:grid; gap:12px; max-width:640px}
.contact-form input, .contact-form textarea{padding:12px; border-radius:8px; border:1px solid rgba(11,27,43,0.06)}
.site-footer{padding:28px 0; border-top:1px solid rgba(255,255,255,0.03); color:#cfe7ff; background:transparent}
h1 span{
    color: green;
    font-size: larger;
}
.h{
  font-size: 8rem;
  font-weight: bolder;
  height: 10rem;
  /* font-style: ; */
}
.R{
   /* font-size: 10rem;
  font-weight: bolder;
  height: 10rem;
  font-style: ; */
}
/* FAST PREMIUM LOADING OVERLAY */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease;
}

.loading-overlay.show {
  opacity: 1;
  pointer-events: auto ;
}

/* Minimal clean loader */
.fast-loader {
  width: 50px ;
  height: 50px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #4ade80; /* green accent */
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* success check */
.fast-check {
  width: 60px;
  height: 60px;
  background: #22c55e;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform: scale(0.7);
  transition: 220ms ease;
}

.fast-check.show {
  opacity:1;
  transform: scale(1);
}

.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
.fast-check svg {
  width: 28px;
  height: 28px;
  fill: white;
}
/* prateek - form section  */
/* -------------------- Full-width contact + Premium form (UPDATED) -------------------- */

.contact-fullwidth { padding: 0; }
.contact-fullwidth-bg {
  width: 100%;
  /* background: linear-gradient(135deg, rgba(2,8,35,0.86) 0%, rgba(5,12,40,0.75) 60%); */
  /* border-top: 1px solid rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.02); */
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* soft decorative glow */
.contact-fullwidth-bg::before{
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(closest-side, rgba(30,144,255,0.06), transparent 40%),
              radial-gradient(closest-side, rgba(0,212,255,0.03), transparent 30%);
  transform: rotate(12deg);
  pointer-events: none;
}

/* container inside full width */
.contact-form-wrap { max-width: var(--container); padding: 40px 20px; margin: 0 auto; }

/* main form panel */
.form-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(8px) saturate(120%);
}

/* header */
.panel-head h2 { color: var(--card); margin: 0 0 6px; font-size: 1.6rem; }
.panel-head .muted { color: var(--muted); opacity: .95; margin-bottom: 6px; }

/* layout rows */
.premium-form .row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width:900px){ .premium-form .row{ grid-template-columns: 1fr; } }

/* field base */
.field {
  position: relative;
  margin-bottom: 22px; /* extra breathing room for floating labels */
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 16px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  color: var(--card);
  font-size: 0.98rem;
  outline: none;
  transition: box-shadow .18s ease, transform .12s ease, border-color .18s ease;
  caret-color: var(--accent2);
  -webkit-appearance: none;
}

/* placeholder trick (use placeholder=" " in HTML) */
.field input::placeholder, .field textarea::placeholder { color: transparent; }

/* floating label */
.field label {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  transition: all .22s cubic-bezier(.2,.9,.2,1);
  color: rgba(207,231,255,0.85);
  background: transparent;
  padding: 0 6px;
  z-index: 2;
}

/* focus/active state for inputs */
.premium-form input:focus,
.premium-form textarea:focus { 
  box-shadow: 0 6px 24px rgba(14,32,80,0.35);
  border-color: rgba(30,144,255,0.95);
  transform: translateY(-1px);
}

/* floating state (more vertical spacing) */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -12px;                 /* moved farther up so it doesn't collide */
  left: 12px;
  font-size: 0.78rem;
  color: var(--accent2);
  background: #071428;        /* matches dark theme behind label */
  padding: 0 6px;
  border-radius: 6px;
  z-index: 4;
}

/* ------------- Phone field (fixed & premium) ------------- */
.phone-field {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

/* +91 prefix block */
.phone-field .country{
  display:flex; align-items:center; justify-content:center;
  padding: 14px 14px; /* slightly wider for breathing room */
  border-radius:12px 0 0 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: var(--card);
  font-weight:700;
  z-index: 3;
  flex: 0 0 auto;
}

/* input inside phone field — push content right to avoid overlap */
.phone-field input {
  border-radius: 0 12px 12px 0;
  border-left: none;
  padding-left: 60px !important; /* IMPORTANT: keeps text clear of the prefix */
  min-width: 0; /* fixes flexbox overflow in some browsers */
}

/* floating label inside phone field: align with padded input area */
.phone-field label {
  left: 60px; /* align with input text area */
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

/* when floating, adjust left slightly to keep neat */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  top: -12px;
  left: 56px;
  font-size: 0.78rem;
  background: #071428;
  padding: 0 6px;
  z-index: 4;
}

/* textarea height */
.premium-form textarea { min-height:120px; resize:vertical; }

/* submit area */
.form-controls { display:flex; gap:12px; align-items:center; margin-top:4px; flex-wrap:wrap; }

/* submit button polished */
.submit-btn {
  display:inline-flex; align-items:center; gap:12px;
  padding:12px 18px; border-radius:12px; border:none;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color:white; font-weight:700; cursor:pointer; box-shadow: 0 8px 30px rgba(30,144,255,0.18);
  transition: transform .12s ease, box-shadow .18s ease, opacity .12s ease;
  position:relative; overflow:hidden;
}
.submit-btn:active{ transform: translateY(1px) scale(.998); }
.submit-btn .icon-send { width:18px; height:18px; fill:rgba(255,255,255,0.95); transform: translateX(0); transition: transform .22s cubic-bezier(.2,.9,.2,1); }
.submit-btn .btn-text{ letter-spacing:.2px; }

/* spinner */
.btn-spinner{
  width:20px; height:20px; border-radius:50%;
  border: 2px solid rgba(255,255,255,0.35); border-top-color: rgba(255,255,255,0.95);
  display:inline-block; margin-left:8px; transform: scale(.6); opacity:0; pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  animation: spin .8s linear infinite;
}

/* loading state */
.submit-btn.loading { pointer-events:none; opacity:.98; }
.submit-btn.loading .btn-text { opacity:0; transform: translateX(-6px); }
.submit-btn.loading .icon-send { transform: translateX(-8px); opacity:0.0; }
.submit-btn.loading .btn-spinner { opacity:1; transform: scale(1); }

/* small spinner keyframes (reused) */
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* status message */
.status-msg { color: #bcdffb; font-size:0.95rem; margin-left:6px; }

/* success modal */
.success-modal {
  position: fixed; inset:0; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(180deg, rgba(3,6,12,0.45), rgba(3,6,12,0.6));
  z-index:9999; opacity:0; pointer-events:none; transition: opacity .22s ease;
}
.success-modal.show { opacity:1; pointer-events:auto; }
.success-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-radius:14px; padding:28px; text-align:center; width: min(520px, 92%);
  border:1px solid rgba(255,255,255,0.06); box-shadow: 0 22px 70px rgba(2,6,23,0.6);
}
.checkmark svg { width:72px; height:72px; stroke: none; fill: none; }
.checkmark { width:92px; height:92px; border-radius:50%; margin: 0 auto 8px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(90deg,#22c55e,#16a34a); box-shadow: 0 8px 30px rgba(34,197,94,0.16);
}
.checkmark svg path { stroke: white; stroke-width:4; stroke-linecap:round; stroke-linejoin:round; fill:none; }

/* small helpers */
.btn-ghost { background: transparent; border:1px solid rgba(255,255,255,0.06); color: #cfe7ff; padding:8px 12px; border-radius:10px; }

/* responsive tweaks */
@media (max-width:520px) {
  .phone-field .country { padding: 12px 10px; font-size: 0.95rem; }
  .phone-field input { padding-left: 54px !important; }
  .phone-field label { left: 54px; }
  .phone-field input:focus + label,
  .phone-field input:not(:placeholder-shown) + label { left: 50px; }
}
.invalid {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 10px rgba(255,0,0,0.3) !important;
}

.shake {
  animation: shakeAnim 0.25s ease;
}

@keyframes shakeAnim {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

/* modal animation */
.success-modal .success-card {
  transform: translateY(8px) scale(.98);
  opacity: 0;
  transition: transform .28s cubic-bezier(.2,.9,.2,1), opacity .28s ease;
}
.success-modal.show .success-card {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* subtle toast/status emphasis */
.status-msg {
  transition: opacity .18s ease, transform .18s ease;
}

/* form-level shake for serious errors */
form.shake { animation: shakeAnim 0.28s ease; }
/* success popup (premium tick) */

/* GIF SUCCESS POPUP */
/* GIF SUCCESS POPUP */
.gif-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 99999;
}

.gif-popup.show {
  opacity: 1;
  pointer-events: auto;
}

.gif-panel {
  background: #020617;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  color: #dff6ff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  transform: scale(0.85);
  transition: transform 0.25s ease;
}

.gif-popup.show .gif-panel {
  transform: scale(1);
}

.gif-tick {
  width: 130px;
  height: auto;
  margin-bottom: 12px;
  border-radius: 14px;
}


/* Responsive */
@media (max-width:900px){ .hero-inner{flex-direction:column; align-items:flex-start} .header-inner{align-items:center} .nav{display:none} .nav-toggle{display:block} }
@media (prefers-reduced-motion: reduce){ *{transition:none!important} }
/* nav - by prateek */
/* ===============================
   PREMIUM BRAND (HackRoot)
================================ */
.premium-brand {
  font-weight: 900;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  color: white;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-h {
  color: #4ade80;
  font-size: 1.8rem;
}

.brand-r {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

/* subtle glow */
.premium-brand:hover {
  text-shadow: 0 0 18px rgba(74, 222, 128, 0.35);
}

/* ===============================
   NAVBAR POLISH
================================ */
.site-header {
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* links */
.nav-link {
  position: relative;
  color: #dfeefb;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: white;
}

/* animated underline */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
} */

/* ===============================
   TOGGLE BUTTON (FA ICON)
================================ */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  color: white;
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ===============================
   MOBILE NAV
================================ */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 72px;
    right: 20px;
    width: min(280px, 90%);
    background: rgba(8, 23, 55, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    padding: 18px;

    display: flex;
    flex-direction: column;
    gap: 14px;

    opacity: 0;
    transform: translateY(-10px) scale(0.96);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after {
    display: none;
  }
}
/* ===== BRAND SYSTEM ===== */
.premium-brand {
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.brand-main {
  color: #ffffff;
}

.brand-accent {
  margin-left: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* hover polish */
.premium-brand:hover {
  opacity: 0.95;
}
/* ===============================
   MOBILE NAV SAFE PADDING FIX
================================ */
.site-header .header-inner {
  padding-left: max(12px, env(safe-area-inset-left));
  padding-right: max(12px, env(safe-area-inset-right));
}

/* extra micro spacing for brand & toggle */
.premium-brand {
  margin-left: 2px;
}

.nav-toggle {
  margin-right: 2px;
}
@media (max-width: 480px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
/* ===============================
   LOGO SHRINK ON SCROLL
================================ */
.site-header {
  transition: padding 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.premium-brand {
  transition: transform 0.25s ease, font-size 0.25s ease;
}

.site-header.scrolled .premium-brand {
  transform: scale(0.92);
  opacity: 0.95;
}
/* ===============================
   TOUCH RIPPLE EFFECT
================================ */
.nav-toggle,
.nav-link {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.35);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 76px;
    right: 16px;
    width: min(300px, 92%);
    padding: 22px;

    background: rgba(8, 23, 55, 0.92);
    backdrop-filter: blur(14px) saturate(140%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 16px;

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  /* stagger */
  .nav.open .nav-link:nth-child(1){ transition-delay: .05s }
  .nav.open .nav-link:nth-child(2){ transition-delay: .1s }
  .nav.open .nav-link:nth-child(3){ transition-delay: .15s }
  .nav.open .nav-link:nth-child(4){ transition-delay: .2s }
  .nav.open .nav-link:nth-child(5){ transition-delay: .25s }
}
/* ===============================
   NAV LINK PRESS + ACTIVE STATE
================================ */
.nav-link {
  transition:
    color 0.2s ease,
    transform 0.12s ease,
    background 0.2s ease;
}

.nav-link:active {
  transform: scale(0.96);
}

/* active section highlight */
.nav-link.active {
  color: white;
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}
/* ===============================
   NAV BACKDROP (PREMIUM)
================================ */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 30;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   TOGGLE ICON FEEDBACK
================================ */
.nav-toggle i {
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.open i {
  transform: rotate(90deg) scale(1.1);
}
.nav-toggle:active {
  transform: scale(0.94);
}
/* ===============================
   LOGO MORPH ON SCROLL
================================ */
.premium-brand {
  transition:
    letter-spacing 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* scrolled state */
.site-header.scrolled .premium-brand {
  letter-spacing: -0.4px;
  transform: scale(0.92);
  opacity: 0.95;
}

/* individual letter tuning */
.site-header.scrolled .brand-h {
  font-size: 1.6rem;
}

.site-header.scrolled .brand-r {
  filter: brightness(1.05);
}
.premium-brand:hover {
  text-shadow:
    0 0 12px rgba(74,222,128,0.35),
    0 0 20px rgba(0,212,255,0.25);
}
.premium-brand {
  position: relative;
  overflow: hidden;
}

.premium-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.25),
    transparent 70%
  );
  transform: translateX(-120%);
}

.site-header.loaded .premium-brand::after {
  animation: sheen 1.2s ease forwards;
}

@keyframes sheen {
  to { transform: translateX(120%); }
}
.header-inner {
  padding-left: 12px;
  padding-right: 12px;
}

@media (max-width: 520px) {
  .premium-brand {
    margin-left: 4px;
  }

  .nav-toggle {
    margin-right: 4px;
  }
}
                          
















/* team section */

/* ===============================
   TEAM – PREMIUM STANDARD
================================ */

.team-section-premium {
  background: #020617;
}

.team-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.team-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: #7833fe;
}

.team-title {
  font-size: clamp(2.2rem, 4vw, 2.8rem);
  color: white;
   font-weight: 900;
  letter-spacing: -0.03em;
  margin: 10px 0 12px;
}

.team-subtitle {
  color: #9ca3af;
  line-height: 1.6;
}

/* GRID */
.team-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARD */
/* ===============================
   TEAM CARD – COMPACT PREMIUM
================================ */

.team-member-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55);
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}


/* AVATAR */
.team-member-avatar {
  position: relative;
  height: 180px;
}

.team-member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BODY */
.team-member-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}

/* NAME */
.team-member-body h3 {
  color: #f0f6ff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.team-member-role{
  color: #9ca3af;
  font-size: 0.85rem;
}


/* PROJECT TAGS */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.team-member-projects span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.7rem;
  font-weight: 600;
}


/* ===============================
   PREMIUM CTA BUTTON
================================ */

.team-profile-btn {
  margin-top: auto;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border: 1px solid rgba(255,255,255,0.12);
  color: #dff0ff;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all .25s ease;
}

.team-profile-btn i {
  font-size: 0.85rem;
  opacity: 0.7;
  transition: transform .25s ease;
}

.team-profile-btn:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 30px rgba(30,144,255,0.45);
}

.team-profile-btn:hover i {
  transform: translateX(4px);
  opacity: 1;
}

/* MOBILE */
@media (max-width: 600px) {
  .team-member-avatar {
    height: 160px;
  }
}


/* toogle */
/* ===============================
   TEAM – ADVANCED INTERACTIONS
================================ */

.team-member-card {
  position: relative;
  overflow: hidden;
}

/* SOCIAL ICONS */
.team-member-social {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  background: rgba(5,12,40,0.6);
  opacity: 0;
  transition: opacity .25s ease;
}

.team-member-social a {
  color: white;
  font-size: 1.2rem;
  background: rgba(255,255,255,0.12);
  padding: 10px;
  border-radius: 50%;
}

.team-member-card:hover .team-member-social {
  opacity: 1;
}

/* WORKED ON BADGES */
.team-member-projects {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.team-member-projects span {
  font-size: .7rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* TOGGLE BUTTON */
.team-profile-btn {
  margin-top: 10px;
  background: transparent;
  border: none;
  color: var(--accent2);
  font-weight: 600;
  cursor: pointer;
}

/* EXPAND PANEL */


/* TIMELINE */
.member-timeline {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.member-timeline div {
  font-size: .9rem;
  color: #dff0ff;
  margin-bottom: 6px;
}

/* PHILOSOPHY */
.member-philosophy {
  padding: 16px 22px 22px;
}

.member-philosophy h4 {
  font-size: .85rem;
  letter-spacing: .18em;
  color: var(--accent2);
  margin-bottom: 6px;
}

.member-philosophy p {
  font-size: .9rem;
  color: #cfe7ff;
  line-height: 1.6;
}

/* AUTO HIGHLIGHT */
.team-member-card.highlight {
  box-shadow:
    0 0 0 2px var(--accent),
    0 30px 80px rgba(30,144,255,.45);
}

/* ===============================
   TEAM QUICK VIEW PANEL
================================ */

/* ===============================
   QUICK VIEW MODAL (ECOM STYLE)
================================ */

/* ===============================
   QUICK VIEW – DESKTOP + MOBILE
================================ */

.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4,8,20,0.65);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 9999;
}

.quickview-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* CARD */
.quickview-card {
background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);

  color: #f0f6ff;  width: min(900px, 94%);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  padding: 26px;
  transform: scale(.94);
  transition: transform .3s ease;
  position: relative;
}

.quickview-overlay.show .quickview-card {
  transform: scale(1);
}

/* CLOSE */
.quickview-close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: none;
  background: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #64748b;
}

/* IMAGE + ZOOM */
.quickview-media {
  overflow: hidden;
  border-radius: 14px;
}

.quickview-media img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  transition: transform .4s ease;
}

.quickview-media:hover img {
  transform: scale(1.08);
}

/* CONTENT */
.qv-category {
  font-size: .7rem;
  letter-spacing: .25em;
  color: #7833fe;
  font-weight: 700;
}

.qv-role {
  color: #475569;
  margin: 6px 0 10px;
}

.qv-desc {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* TAGS */
.qv-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.qv-tags span {
  background: rgba(255,255,255,0.1);
  color: #f0f6ff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .75rem;
}

/* TIMELINE */
.qv-timeline {
  list-style: none;
  padding: 0;
  margin-bottom: 18px;
}

.qv-timeline li {
  font-size: .9rem;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}

.qv-timeline li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 6px;
}

/* ACTIONS */
.qv-actions {
  display: flex;
  gap: 12px;
}

/* ===============================
   MOBILE BOTTOM SHEET
================================ */

@media (max-width: 768px) {
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
    width: 100%;
    height: 92vh;
    border-radius: 18px 18px 0 0;
    grid-template-columns: 1fr;
    transform: translateY(100%);
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  .quickview-media img {
    max-height: 260px;
  }
}
/* =========================================
   QUICK VIEW — MOBILE REFINED EXPERIENCE
========================================= */

@media (max-width: 768px) {

  /* Bottom-sheet behavior */
  .quickview-overlay {
    align-items: flex-end;
  }

  .quickview-card {
     background: linear-gradient(
  180deg,
  #020617 0%,
  #030a1f 50%,
  #020617 100%
);
    color: #f0f6ff;
    width: 100%;
    height: 94vh;
    border-radius: 22px 22px 0 0;
    grid-template-columns: 1fr;
    padding: 0;
    transform: translateY(100%);
    overflow: hidden;
  }

  .quickview-overlay.show .quickview-card {
    transform: translateY(0);
  }

  /* Drag handle (visual cue) */
  .quickview-card::before {
    content: "";
    width: 44px;
    height: 5px;
    background: rgba(0,0,0,0.18);
    border-radius: 99px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Image becomes hero */
  .quickview-media {
    border-radius: 0;
  }

  .quickview-media img {
    max-height: 240px;
    width: 100%;
    object-fit: cover;
  }

  /* Content spacing */
  .quickview-content {
    padding: 18px 20px 24px;
    overflow-y: auto;
  }

  /* Typography scaling */
  #qvName {
    color: #f0f6ff;
    font-weight: 900;
    font-size: 1.45rem;
    margin-top: 6px;
  }

  .qv-role {
    color: #9ca3af;
    font-size: 0.95rem;
  }

  .qv-desc {
    color: #cfe7ff;
    font-size: 0.95rem;
    line-height: 1.65;
  }

  /* Tags — more breathable */
  .qv-tags span {
    background: rgba(255,255,255,0.1);
    color: #f0f6ff;
    border: 1px solid rgba(255,255,255,0.14);
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  /* Timeline clarity */
  .qv-timeline li {
    color: #dff0ff;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  /* CTA buttons — thumb friendly */
  .qv-actions {
    position: sticky;
    bottom: 0;
    /* background: #ffffff; */
    padding: 14px 0 6px;
    gap: 12px;
  }

  .qv-actions a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  /* Close button reposition */
  .quickview-close {
    top: 12px;
    right: 14px;
    font-size: 1.6rem;
    z-index: 2;
  }
  .qv-timeline li::before {
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
  }
}



/* ===============================
   SKELETON SHIMMER
================================ */

.skeleton .quickview-media img,
.skeleton #qvName,
.skeleton .qv-role,
.skeleton .qv-desc,
.skeleton .qv-tags,
.skeleton .qv-timeline,
.skeleton .qv-actions {
  color: transparent;
  background: linear-gradient(
    90deg,
    #e5e7eb 25%,
    #f3f4f6 37%,
    #e5e7eb 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.4s ease infinite;
  border-radius: 8px;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}


/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.team-profile-btn:active,
.qv-actions a:active,
.quickview-close:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}

.quickview-card {
  animation: sheetPop 0.35s cubic-bezier(.2,.9,.2,1);
}

@keyframes sheetPop {
  from {
    transform: translateY(100%) scale(0.98);
  }
  to {
    transform: translateY(0) scale(1);
  }
}
/* ======================================
   PREMIUM LEAD BADGE (TOP-RIGHT CORNER)
====================================== */

.team-member-avatar {
  position: relative;
}

/* Badge base */
.team-lead-badge {
  position: absolute;
  top: 14px;
  right: 14px;

  padding: 6px 14px;
  border-radius: 999px;

  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;

  color: #052e1a;
  background: linear-gradient(
    135deg,
    #22c55e,
    #4ade80
  );

  border: 1px solid rgba(255,255,255,0.45);

  box-shadow:
    0 8px 26px rgba(34,197,94,0.55),
    0 0 0 1px rgba(255,255,255,0.35);

  backdrop-filter: blur(6px);
  z-index: 3;
}

/* Subtle glow ring */
.team-member-card.lead .team-lead-badge::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(34,197,94,0.35),
    transparent 70%
  );
  z-index: -1;
}

/* Hover enhancement */
.team-member-card.lead:hover .team-lead-badge {
  box-shadow:
    0 12px 40px rgba(34,197,94,0.75),
    0 0 0 1px rgba(255,255,255,0.45);
  transform: translateY(-1px);
}

/* Mobile refinement */
@media (max-width: 768px) {
  .team-lead-badge {
    top: 10px;
    right: 10px;
    padding: 5px 12px;
    font-size: 0.6rem;
  }
}



/* team section end her  */

/* hero section start here  */

/* =====================================
   PREMIUM HERO — HACKROOT
===================================== */

.hero-premium {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #020617;
  overflow: hidden;
}

/* subtle gradient backdrop */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(120,51,254,0.25), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(30,144,255,0.18), transparent 60%),
    radial-gradient(600px 400px at 50% 90%, rgba(34,197,94,0.15), transparent 60%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

/* ================= TEXT ================= */

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  font-weight: 700;
  color: #a78bfa; /* timeline violet */
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #f0f6ff;
  margin-bottom: 14px;
}

.hero-title .accent {
  color: #7833fe;
}

.hero-subline {
  display: block;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: #9ca3af;
  margin-top: 10px;
}

.hero-desc {
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #cfe7ff;
  margin: 18px 0 32px;
}

/* ================= CTAs ================= */

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* ================= VISUAL ================= */

.hero-visual {
  position: relative;
  height: 420px;
}

/* glowing orb */
.hero-orb {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #7833fe, transparent 60%),
    radial-gradient(circle at 70% 70%, #1e90ff, transparent 65%);
  filter: blur(30px);
  opacity: 0.75;
  animation: orbFloat 8s ease-in-out infinite;
}

/* grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    height: 300px;
    margin-top: 40px;
  }
}

/* ===============================
   HERO MOBILE — SINGLE FLOW
================================ */

@media (max-width: 900px) {
  .hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media (max-width: 900px) {
  .hero-visual {
    position: absolute;
    inset: 0;
    height: 100%;
    pointer-events: none;
    z-index: 0;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }
}
@media (max-width: 900px) {
  .hero-orb {
    width: 220px;
    height: 220px;
    filter: blur(28px);
    opacity: 0.45;
  }

  .hero-grid {
    opacity: 0.45;
    background-size: 34px 34px;
  }
}
@media (max-width: 520px) {
  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .hero-subline {
    font-size: 1.15rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin: 14px auto 28px;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas a {
    width: 100%;
    padding: 14px 0;
    border-radius: 14px;
  }
}


/* hero end here */
/* nav starts here  */

/* ==================================================
   PREMIUM NAVBAR — HACKROOT
================================================== */

/* BASE */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* scrolled state */
.site-header.scrolled {
  background: rgba(2, 6, 23, 0.9);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
}

/* layout */
.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================================
   BRAND
================================================== */

.premium-brand {
  position: relative;
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.brand-main {
  color: #f0f6ff;
}

.brand-accent {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==================================================
   DESKTOP NAV LINKS
================================================== */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #ffffff;
}

/* underline accent */
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  transition: width 0.25s ease;
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
}

.nav-cta:hover {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2)
  );
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,0.45);
} */

/* ==================================================
   NAV TOGGLE (MOBILE BUTTON)
================================================== */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.08);
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ==================================================
   MOBILE NAV — FLOATING PANEL
================================================== */

@media (max-width: 900px) {

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 78px;
    right: 16px;
    width: min(320px, 92%);
    padding: 24px;

    background: rgba(8, 23, 55, 0.94);
    backdrop-filter: blur(16px) saturate(160%);
    border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    gap: 18px;

    box-shadow: 0 28px 80px rgba(0,0,0,0.6);

    opacity: 0;
    transform: translateY(-16px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    opacity: 0;
    transform: translateX(-6px);
  }

  .nav.open .nav-link {
    opacity: 1;
    transform: translateX(0);
  }

  .nav.open .nav-link:nth-child(1){ transition-delay:.05s }
  .nav.open .nav-link:nth-child(2){ transition-delay:.1s }
  .nav.open .nav-link:nth-child(3){ transition-delay:.15s }
  .nav.open .nav-link:nth-child(4){ transition-delay:.2s }
  .nav.open .nav-link:nth-child(5){ transition-delay:.25s }


  .nav-link::after {
    display: none;
  }
}

/* ==================================================
   BACKDROP
================================================== */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ==================================================
   HACKROOT — PREMIUM NAV (FINAL)
================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #020617;
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .25s ease, box-shadow .25s ease;
}

.site-header.scrolled {
  background: #020617;
  box-shadow: 0 16px 48px rgba(0,0,0,.45);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- BRAND ---------------- */

.premium-brand {
  font-weight: 900;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.brand-main { color: #f0f6ff; }

.brand-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------------- DESKTOP NAV ---------------- */

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: #cfe7ff;
  padding: 6px 2px;
  transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transition: width .25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* CTA */
/* .nav-cta {
  padding: 8px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
}

.nav-cta:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #081737;
  box-shadow: 0 10px 32px rgba(30,144,255,.45);
} */

/* ---------------- TOGGLE ---------------- */

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
}

.nav-toggle.open {
  transform: rotate(90deg);
}

/* ---------------- MOBILE NAV ---------------- */

@media (max-width: 900px) {

  .nav-toggle { display: flex; }

   .nav {
    position: fixed;
    top: 78px;
    right: 14px;

    width: 260px;          /* 🔥 compact width */
    padding: 22px 20px;

    background: #020617;
    backdrop-filter: blur(18px) saturate(160%);
    border-radius: 20px;

    border: 1px solid rgba(255,255,255,0.1);
    box-shadow:
      0 24px 70px rgba(0,0,0,0.65),
      inset 0 1px 0 rgba(255,255,255,0.12);

    display: flex;
    flex-direction: column;
    gap: 14px;             /* tighter vertical rhythm */

    opacity: 0;
    transform: translateY(-14px) scale(0.96);
    pointer-events: none;

    transition:
      opacity 0.28s ease,
      transform 0.28s cubic-bezier(.2,.9,.2,1);
  }
.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 10px;
    border-radius: 12px;
    color: #e5f0ff;
  }

  .nav-link:hover,
  .nav-link.active {
    background: linear-gradient(
  135deg,
  rgba(120, 51, 254, 0.22),
  rgba(120, 51, 254, 0.05)
);
    color: #ffffff;
  }

  /* .nav-cta {
    margin-top: 8px;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
  } */

  .nav.open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link::after { display: none; }
}

/* ---------------- BACKDROP ---------------- */

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 900;
}

.nav-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}
/* ===============================
   ACTIVE DOT INDICATOR
================================ */

@media (max-width: 900px) {
  .nav-link {
    position: relative;
  }

  .nav-link::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent2)
    );
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: all 0.2s ease;
  }

  .nav-link.active::before {
    transform: translateY(-50%) scale(1);
    opacity: 1;
  }
}
/* ===============================
   HAPTIC MICRO FEEDBACK
================================ */

.nav-link:active,
.nav-cta:active,
.nav-toggle:active {
  transform: scale(0.96);
  transition: transform 0.12s ease;
}
/* REMOVE BLUE TAP HIGHLIGHT (mobile) */
.nav-toggle {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* REMOVE DEFAULT FOCUS RING */
.nav-toggle:focus,
.nav-toggle:focus-visible {
  outline: none;
}

/* CLEAN ACTIVE STATE (no blue flash) */
.nav-toggle:active {
  background: transparent;
}
.quickview-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3,8,20,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.quickview-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.projects-premium {
  background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent);
}

.projects-head {
  max-width: 760px;
  margin-bottom: 48px;
}

.projects-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  font-weight: 700;
  color: var(--accent2);
}

.projects-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: #f0f6ff;
  margin: 10px 0 8px;
}

.projects-subtitle {
  color: #9fb4d6;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 640px;
}

/* ---------- PROJECT STACK ---------- */
.projects-stack {
  display: grid;
  gap: 28px;
}

/* =====================================================
   PROJECT CARD (ARTICLE)
===================================================== */
.project-glass {
  position: relative;
  padding: 26px;
  border-radius: 20px;
  cursor: pointer;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 60px rgba(2,6,23,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.03);

  transition: transform .25s ease, box-shadow .25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* title */
.project-glass h3 {
  color: #f0f6ff;
  font-size: 1.35rem;
  margin: 14px 0 10px;
}

/* description */
.project-desc {
  color: #cfe0ff;
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- STATUS / BADGES ---------- */
.project-top {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.launch-badge,
.project-status {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.launch-badge.building {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}

.project-status.planning {
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}

/* ---------- PROGRESS ---------- */
.progress-wrap {
  margin: 18px 0;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #9fb4d6;
  margin-bottom: 6px;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

/* ---------- FOOT ---------- */
.project-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}

.view-details {
  color: var(--accent2);
  font-weight: 600;
}

.github-link {
  font-size: 0.85rem;
  opacity: 0.6;
  pointer-events: none;
}

/* =====================================================
   MERGED PRINCIPLES (PROJECTS)
===================================================== */
/* ===============================
   PRINCIPLES — PREMIUM POSITIONING
================================ */

/* .principles-merged {
  margin-top: 64px; more breathing room 
  padding: 28px;

  border-radius: 22px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.045),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 30px 80px rgba(2,6,23,0.55),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}
 */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.35rem; /* bigger */
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
}


/* .principles-head h3 {
  font-size: 1.15rem;
  color: #f0f6ff;
  display: flex;
  align-items: center;
  gap: 10px;
} */

/* badge */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;

  padding: 6px 12px;
  border-radius: 999px;

  background:
    linear-gradient(90deg, #ef4444, #f97316);

  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 10px 30px rgba(239,68,68,0.35);
}


/* toggle */
.principles-toggle {
  font-size: 0.8rem;
  font-weight: 600;

  padding: 8px 14px;
  border-radius: 12px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);

  color: #e6f1ff;
  transition: background 0.2s ease, transform 0.15s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}


/* list */
.principles-list {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.principles-list.collapsed {
  max-height: 0;
  opacity: 0;
}

.principles-list li {
  position: relative;
  padding: 18px 20px 18px 52px;

  border-radius: 16px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;

  font-size: 0.95rem;
  line-height: 1.6;

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 26px 70px rgba(2,6,23,0.65);
}


.principles-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;

  color: #9fb4d6;
  opacity: 0.75;
}


/* =====================================================
   PROJECT MODAL — PREMIUM
===================================================== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.75);
  backdrop-filter: blur(6px);
}

.project-panel {
  position: relative;
  max-width: 860px;
  width: min(94%, 860px);
  margin: 6vh auto;
  padding: 32px;
  max-height: 88vh;
  overflow-y: auto;

  background: linear-gradient(
    180deg,
    rgba(8,23,55,0.98),
    rgba(8,23,55,0.94)
  );

  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}

.project-close {
  position: sticky;
  top: 0;
  float: right;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #cfe7ff;
  cursor: pointer;
}

/* modal typography */
.pm-title {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.pm-section {
  margin-top: 26px;
}

.pm-section h4 {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fb4d6;
  margin-bottom: 8px;
}

.pm-section p {
  color: #e6f1ff;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* tags */
.pm-tags span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
}

/* confidence */
.confidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.confidence-grid div {
  background: rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.confidence-grid span {
  display: block;
  font-size: 0.75rem;
  color: #9bbcff;
}

.confidence-grid strong {
  display: block;
  font-size: 1.05rem;
  color: #ffffff;
}

/* roadmap */
.roadmap {
  list-style: none;
  padding: 0;
}

.roadmap li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: #d7eaff;
}

.roadmap li::before {
  content: "○";
  position: absolute;
  left: 0;
  color: #6b7280;
}

.roadmap li.done::before {
  content: "✓";
  color: #22c55e;
}

.roadmap li.active::before {
  content: "→";
  color: #60a5fa;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {
  .project-glass {
    padding: 22px;
  }

  .project-panel {
    padding: 22px;
  }

  .pm-title {
    font-size: 1.6rem;
  }
}
/* ===============================
   PROJECT META — VISIBILITY FIX
================================ */

.project-focus,
.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.project-focus span,
.project-tech span {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 999px;

  color: #e6f1ff; /* FIXED: light text */
  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
/* =====================================================
   PROJECTS — TIMELINE DESIGN LANGUAGE
===================================================== */

.projects-premium {
  background: #020617;
}

.projects-eyebrow {
  color: #7833fe; /* same as timeline eyebrow */
}

.projects-title span {
  color: #7833fe; /* optional highlight */
}

.projects-subtitle {
  color: #9ca3af; /* same as timeline subtitle */
}
.project-glass {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: 18px;
  cursor: pointer;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 14px 40px rgba(2,6,23,0.45);

  backdrop-filter: blur(6px);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.project-glass:hover {
  transform: translateY(-6px);
  border-color: rgba(120,51,254,0.55); /* violet */
  box-shadow:
    0 28px 70px rgba(2,6,23,0.65),
    0 0 0 1px rgba(120,51,254,0.25);
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-glass h3 {
  color: white;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.project-desc {
  color: #cfe7ff;
  font-size: 0.95rem;
  line-height: 1.6;
}
.project-focus span,
.project-tech span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;

  background: rgba(255,255,255,0.1);
  color: white;

  border: 1px solid rgba(255,255,255,0.14);
}
/* =====================================================
   PRINCIPLES — EXECUTIVE PREMIUM
===================================================== */

/* .principles-merged {
  margin-top: 80px;
  padding: 40px;

  border-radius: 28px;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.12),
      transparent 40%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.05),
      rgba(255,255,255,0.015)
    );

  border: 1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.04);
} */
.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: white;
}
.principles-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.principles-list li {
  padding: 22px 26px 22px 60px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.7;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.45);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.principles-list li:hover {
  transform: translateY(-6px);
  box-shadow:
    0 36px 90px rgba(2,6,23,0.65);
}
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}

/* color sync */
.principles-list li[data-phase="learning"]::after {
  background: rgba(255,255,255,0.15);
}

.principles-list li[data-phase="building"]::after {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 16px rgba(120,51,254,0.6);
}

.principles-list li[data-phase="hackathon"]::after {
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
}
@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
  }

  .principles-list li {
    padding: 20px 20px 20px 54px;
    font-size: 0.95rem;
  }
}
/* =====================================================
   PRINCIPLES — ELITE EXPANDABLE PANEL
===================================================== */

.principles-merged {
  margin-top: 88px;
  padding: 36px 40px;

  border-radius: 28px;
  position: relative;

  background:
    radial-gradient(
      1200px 400px at top center,
      rgba(120,51,254,0.14),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06),
      rgba(255,255,255,0.02)
    );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 40px 120px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ---------------- HEADER ---------------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.principles-head h3 {
  font-size: 1.6rem;
  font-weight: 900;
  color: white;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* NON-NEGOTIABLE BADGE */
.badge-nonneg {
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  padding: 6px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #ef4444, #f97316);
  color: white;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.25),
    0 12px 30px rgba(239,68,68,0.45);
}

/* ---------------- TOGGLE ---------------- */

.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  font-size: 0.85rem;
  font-weight: 700;

  padding: 10px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #e6f1ff;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

.principles-toggle i {
  transition: transform 0.35s cubic-bezier(.2,.9,.2,1);
}

/* rotate when open */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* ---------------- LIST WRAPPER ---------------- */

.principles-list {
  margin-top: 28px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 18px;

  overflow: hidden;
  max-height: 0;
  opacity: 0;

  transition:
    max-height 0.55s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-merged.open .principles-list {
  opacity: 1;
}

/* ---------------- ITEM ---------------- */

.principles-list li {
  position: relative;
  padding: 22px 26px 22px 68px;

  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;

  font-size: 1rem;
  line-height: 1.65;

  box-shadow:
    0 20px 60px rgba(2,6,23,0.55);

  transform: translateY(14px);
  opacity: 0;

  transition:
    transform 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.45s ease,
    box-shadow 0.25s ease;
}

/* reveal when expanded */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

/* stagger */
.principles-merged.open .principles-list li:nth-child(1){transition-delay:.05s}
.principles-merged.open .principles-list li:nth-child(2){transition-delay:.12s}
.principles-merged.open .principles-list li:nth-child(3){transition-delay:.18s}
.principles-merged.open .principles-list li:nth-child(4){transition-delay:.24s}

/* hover lift */
.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.75);
}

/* LEFT ICON RAIL */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* PHASE LABEL */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;

  color: #9fb4d6;
  opacity: 0.75;
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 768px) {
  .principles-merged {
    padding: 26px;
    margin-top: 64px;
  }

  .principles-head h3 {
    font-size: 1.35rem;
  }

  .principles-list li {
    padding: 20px 20px 20px 56px;
    font-size: 0.95rem;
  }
}
               

























/* ===============================
   PRINCIPLES — PREMIUM MERGED
================================ */

.principles-merged {
  margin-top: 64px;
  padding: 28px 32px;
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.015)
  );
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 70px rgba(2,6,23,0.55);
  backdrop-filter: blur(10px);
}

/* header row */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.badge-nonneg {
  margin-left: 10px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: #1f0a00;
}

/* toggle button */
.principles-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 8px 16px;
  color: #cfe7ff;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.06);
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

/* list base */
.principles-list {
  list-style: none;
  padding: 0;
  margin-top: 24px;

  display: grid;
  gap: 14px;

  max-height: 0;
  opacity: 0;
  overflow: hidden;

  transition:
    max-height 0.45s cubic-bezier(.2,.9,.2,1),
    opacity 0.25s ease;
}

/* expanded */
.principles-merged.open .principles-list {
  max-height: 600px;
  opacity: 1;
}

/* rotate icon */
.principles-merged.open .principles-toggle i {
  transform: rotate(180deg);
}

/* list items */
.principles-list li {
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  color: #e6f1ff;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);

  transform: translateY(8px);
  opacity: 0;

  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}

/* stagger reveal */
.principles-merged.open .principles-list li {
  transform: translateY(0);
  opacity: 1;
}

.principles-merged.open .principles-list li:nth-child(1){ transition-delay:.05s }
.principles-merged.open .principles-list li:nth-child(2){ transition-delay:.1s }
.principles-merged.open .principles-list li:nth-child(3){ transition-delay:.15s }
.principles-merged.open .principles-list li:nth-child(4){ transition-delay:.2s }

/* mobile */
@media (max-width: 768px) {
  .principles-merged {
    padding: 22px 20px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===============================
   PRINCIPLE HIGHLIGHT STATES
================================ */

.principles-list li.active-principle {
 /*  border-color: rgba(120,51,254,0.65);
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.5),
    0 30px 80px rgba(120,51,254,0.45);
  transform: translateY(-6px); */
}

.principles-list li.dimmed {
  opacity: 0.45;
  filter: saturate(0.8);
}

/* scroll base */
.principles-merged {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.principles-merged.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   PRINCIPLES ITEM — FIXED LAYOUT
================================ */

.principles-list li {
  position: relative;
  padding: 22px 88px 22px 64px; /* RIGHT SPACE RESERVED FOR BADGE */
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.08),
      rgba(255,255,255,0.03)
    );

  border: 1px solid rgba(255,255,255,0.14);
  color: #f0f6ff;
  font-size: 1rem;
  line-height: 1.65;

  box-shadow: 0 20px 60px rgba(2,6,23,0.55);
}

/* LEFT BULLET — PERFECT CENTER */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.6);
}

/* RIGHT PHASE BADGE — NO OVERLAP */
.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);

  padding: 4px 12px;
  border-radius: 999px;

  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  background: rgba(255,255,255,0.14);
  color: #cfe7ff;
}
@media (max-width: 640px) {
  .principles-list li {
    padding: 20px 20px 20px 56px;
  }

  .principles-list li::after {
    position: static;
    transform: none;
    display: inline-block;
    margin-top: 10px;
    opacity: 0.85;
  }
}
/* ===============================
   PROJECT PANEL — ULTRA PREMIUM
================================ */

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.project-modal.show {
  display: block;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2,8,25,0.65);
  backdrop-filter: blur(4px);
}

.premium-panel {
  position: relative;
  max-width: 1100px;
  height: 85vh;
  margin: 6vh auto;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 120px rgba(0,0,0,0.65);
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  animation: panelIn .4s ease;
}

@keyframes panelIn {
  from { opacity:0; transform: translateY(20px) scale(.98); }
  to   { opacity:1; transform:none; }
}

/* CLOSE */
.project-close {
  position:absolute;
  top:16px;
  right:20px;
  background:none;
  border:none;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
}

/* HEADER */
.pp-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  padding:28px;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.pp-status {
  display:inline-block;
  font-size:.7rem;
  font-weight:800;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:10px;
}

.pp-status.building {
  background: linear-gradient(90deg,#22c55e,#4ade80);
  color:#022c22;
}

.pp-header h2 {
  margin:0;
  color:white;
  font-size:1.8rem;
}

.pp-header p {
  color:#bcdffb;
  max-width:520px;
}

.pp-actions {
  display:flex;
  gap:12px;
}

/* BODY */
.pp-body {
  display:grid;
  grid-template-columns: 300px 1fr;
  height:100%;
  overflow:hidden;
}

/* LEFT */
.pp-meta {
  padding:24px;
  border-right:1px solid rgba(255,255,255,0.06);
  overflow-y:auto;
}

.pp-meta h4 {
  color:white;
  margin-bottom:10px;
}

.tag-list {
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.tag-list span {
  padding:6px 12px;
  border-radius:999px;
  font-size:.75rem;
  background: rgba(255,255,255,0.1);
  color:#e6f1ff;
}

.readiness div {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

meter {
  width:140px;
}

/* RIGHT */
.pp-content {
  padding:28px;
  overflow-y:auto;
}

.pp-content h3 {
  color:white;
  margin-bottom:8px;
}

.pp-content p,
.pp-content li {
  color:#cfe7ff;
  line-height:1.7;
}

/* TEAM */
.team-contrib {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap:14px;
}

.team-card {
  background: rgba(255,255,255,0.05);
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-card h5 {
  margin:0;
  color:white;
}

.team-card span {
  font-size:.8rem;
  color:#9fb4d6;
}

/* ROADMAP */
.roadmap li {
  margin-bottom:8px;
}

.roadmap li.done { color:#22c55e; }
.roadmap li.active { color:#60a5fa; }
.project-modal {
  display: none;
}
.project-modal.show {
  display: block;
}
/* ===============================
   READINESS — ADVANCED
================================ */
.readiness-adv {
  display: grid;
  gap: 16px;
}

.readiness-item {
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
}

.r-head {
  display:flex;
  justify-content:space-between;
  margin-bottom:6px;
  color:white;
}

.r-status {
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
}

.r-bar {
  height:6px;
  border-radius:999px;
  background: rgba(255,255,255,0.12);
  overflow:hidden;
  margin:6px 0;
}

.r-bar span {
  display:block;
  height:100%;
  width:0%;
  background: linear-gradient(90deg,#22c55e,#4ade80);
}

.r-desc {
  font-size:.85rem;
  color:#bcdffb;
}

/* ===============================
   CONTENT BLOCKS
================================ */
.pp-block {
  background: rgba(255,255,255,0.04);
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.08);
  margin-bottom:18px;
}

.pp-block h3 {
  color:white;
  margin-bottom:8px;
}

/* ===============================
   ARCHITECTURE
================================ */
.arch-steps {
  display:grid;
  gap:10px;
}

.arch-step {
  padding:12px 14px;
  border-left:3px solid #60a5fa;
  background: rgba(255,255,255,0.04);
  border-radius:10px;
  color:#dbeafe;
}

/* ===============================
   TEAM PREMIUM
================================ */
.team-premium {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
}

.team-p-card {
  background: rgba(255,255,255,0.05);
  border-radius:16px;
  padding:16px;
  border:1px solid rgba(255,255,255,0.08);
}

.team-p-card h5 {
  margin:0;
  color:white;
}

.team-role {
  display:inline-block;
  margin:6px 0;
  font-size:.75rem;
  padding:4px 10px;
  border-radius:999px;
  background: linear-gradient(90deg,#1e90ff,#60a5fa);
  color:white;
}

.team-p-card ul {
  padding-left:18px;
  color:#cfe7ff;
  font-size:.85rem;
}
/* ===============================
   PRINCIPLES — TIMELINE SYNCED
================================ */

.principles-merged {
  margin-top: 72px;
  padding: 32px;
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow:
    0 32px 90px rgba(2,6,23,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.04);

  backdrop-filter: blur(10px);
}

/* ---------- HEADER ---------- */

.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.principles-head h3 {
  font-size: 1.45rem;
  font-weight: 900;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
}

/* ---------- NON-NEGOTIABLE BADGE (FIXED) ---------- */

.badge-nonneg {
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 7px 14px;
  border-radius: 999px;

  background: linear-gradient(90deg, #7833fe, #22c55e);
  color: #041b12;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 35px rgba(120,51,254,0.45);

  text-transform: uppercase;
}

/* ---------- TOGGLE ---------- */

.principles-toggle {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e6f1ff;

  display: flex;
  align-items: center;
  gap: 8px;

  transition: all 0.25s ease;
}

.principles-toggle:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.principles-toggle i {
  transition: transform 0.35s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ---------- LIST ---------- */

.principles-list {
  margin-top: 22px;
  list-style: none;
  padding: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.6s cubic-bezier(.2,.9,.2,1),
    opacity 0.35s ease;
}

.principles-list.show {
  max-height: 800px;
  opacity: 1;
}

/* ---------- ITEM ---------- */

.principles-list li {
  position: relative;
  padding: 20px 22px 20px 56px;
  border-radius: 18px;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);

  color: #e6f1ff;
  font-size: 0.95rem;
  line-height: 1.7;

  box-shadow: 0 18px 50px rgba(2,6,23,0.55);
  backdrop-filter: blur(6px);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.principles-list li:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 80px rgba(2,6,23,0.75);
}

/* ---------- TIMELINE DOT ---------- */

.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);

  width: 10px;
  height: 10px;
  border-radius: 50%;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.8);
}

/* ---------- PHASE TAG ---------- */

.principles-list li::after {
  content: attr(data-phase);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);

  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #9ca3af;
  opacity: 0.85;
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
  .principles-merged {
    padding: 22px;
  }

  .principles-head h3 {
    font-size: 1.25rem;
    flex-wrap: wrap;
  }

  .principles-list li {
    padding: 18px 18px 18px 50px;
  }

  .principles-list li::after {
    display: none; /* clean mobile UX */
  }
}
/* MODAL WRAPPER */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
}

/* overlay stays fixed */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 20, 0.7);
  backdrop-filter: blur(6px);
}

/* MAIN PANEL */
.project-panel {
  position: relative;
  margin: auto;
  height: min(92vh, 900px);
  width: min(1200px, 96vw);
  background: linear-gradient(180deg, #071428, #081a36);
  border-radius: 20px;
  overflow: hidden; /* 🔑 important */
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 120px rgba(0,0,0,0.6);
}
.pp-header {
  flex-shrink: 0;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  background: rgba(8, 23, 55, 0.85);
  backdrop-filter: blur(8px);
}
.pp-body {
  flex: 1;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  padding: 28px;
  overflow-y: auto;     /* ✅ ONLY SCROLL HERE */
  overscroll-behavior: contain;
}

/* smooth premium scrollbar */
.pp-body::-webkit-scrollbar {
  width: 8px;
}
.pp-body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #4ade80, #22c55e);
  border-radius: 999px;
}
.pp-meta,
.pp-content {
  overflow: visible; /* ❌ no scroll here */
}
@media (max-width: 900px) {
  .project-panel {
    height: 100vh;
    width: 100vw;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .pp-meta {
    order: 2;
    background: rgba(255,255,255,0.02);
    padding: 18px;
    border-radius: 16px;
  }

  .pp-content {
    order: 1;
  }

  .pp-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.project-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 50;

  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);

  background: rgba(8,23,55,0.85);
  backdrop-filter: blur(6px);

  color: white;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform .15s ease, background .2s ease;
}

.project-close:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.06);
}

.project-close:active {
  transform: scale(0.94);
}
.pp-header {
  position: sticky;
  top: 0;
  z-index: 10;

  padding: 28px 72px 24px 28px; /* space for close btn */
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
@media (max-width: 900px) {

  .project-panel {
    width: 100vw;
    height: 100dvh; /* better than 100vh on mobile */
    max-height: none;
    border-radius: 0;
  }

  .pp-body {
    grid-template-columns: 1fr;
    padding: 20px 18px 32px;
  }

  .pp-meta {
    order: 2;
    margin-top: 24px;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .pp-content {
    order: 1;
  }

  .project-close {
    top: 14px;
    right: 14px;
  }
}
/* ===============================
   PRINCIPLES — MOBILE PREMIUM FIX
================================ */
@media (max-width: 768px) {

  .principles-merged {
    margin-top: 40px;
    padding: 20px;
    border-radius: 18px;
  }

  .principles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .principles-head h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .badge-nonneg {
    font-size: 0.55rem;
    padding: 5px 10px;
  }

  .principles-toggle {
    width: 100%;
    justify-content: space-between;
    display: flex;
    font-size: 0.75rem;
    padding: 10px 14px;
  }

  /* list container */
  .principles-list {
    margin-top: 14px;
    gap: 10px;
  }

  /* individual item */
  .principles-list li {
    padding: 14px 16px 14px 42px;
    font-size: 0.9rem;
    line-height: 1.55;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* remove hover lift on mobile */
  .principles-list li:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(2,6,23,0.4);
  }

  /* bullet */
  .principles-list li::before {
    left: 16px;
    width: 8px;
    height: 8px;
  }

  /* phase label → inline, not floating */
  .principles-list li::after {
    position: static;
    display: block;
    margin-top: 6px;
    transform: none;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    opacity: 0.6;
  }
}
/* =====================================================
   CONTACT / JOIN FORM — ULTRA PREMIUM (TIMELINE SYNCED)
===================================================== */

.contact-fullwidth {
  padding: 0;
  background: #020617;
}

.contact-fullwidth-bg {
  position: relative;
  padding: 72px 0;
  background:
    radial-gradient(1200px 600px at 10% -20%, rgba(120,51,254,0.18), transparent 40%),
    radial-gradient(900px 500px at 90% 20%, rgba(167,139,250,0.12), transparent 45%),
    linear-gradient(180deg, #020617, #030a1f);
  overflow: hidden;
}

/* ambient glow */
/* .contact-fullwidth-bg::after {
  content: "";
  position: absolute;
  inset: -30%;
  background: #020617;
  pointer-events: none;
} */

/* container */
.contact-form-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= PANEL ================= */

.form-panel {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    0 40px 120px rgba(2,6,23,0.75),
    inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* ================= HEADER ================= */

.panel-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.panel-head .muted {
  color: #9ca3af;
  font-size: 1rem;
  line-height: 1.6;
}

/* ================= FORM GRID ================= */

.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* ================= FIELD ================= */

.field {
  position: relative;
  margin-top: 26px;
}

.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.12);
  color: #f0f6ff;
  font-size: 0.98rem;
  outline: none;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .15s ease;
}

.premium-form textarea {
  min-height: 130px;
  resize: vertical;
}

/* focus glow */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7833fe;
  box-shadow:
    0 0 0 1px rgba(120,51,254,0.8),
    0 12px 40px rgba(120,51,254,0.35);
  transform: translateY(-1px);
}

/* ================= FLOATING LABEL ================= */

.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: #c7d2fe;
  pointer-events: none;
  transition: all .25s cubic-bezier(.2,.9,.2,1);
  background: transparent;
}

/* active / floated */
.field input:focus + label,
.field textarea:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:not(:placeholder-shown) + label {
  top: -12px;
  font-size: 0.75rem;
  color: #a78bfa;
  background: #020617;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ================= PHONE FIELD ================= */

.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 17.5px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

.phone-field label {
  left: 64px;
}

.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 60px;
}

/* ================= CONTROLS ================= */

.form-controls {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= SUBMIT BUTTON ================= */

.submit-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 16px;
  border: none;
  cursor: pointer;

  background: linear-gradient(90deg, #7833fe, #a78bfa);
  color: #020617;
  font-weight: 800;
  letter-spacing: 0.3px;

  box-shadow:
    0 18px 50px rgba(120,51,254,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform .15s ease,
    box-shadow .25s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 28px 80px rgba(120,51,254,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.45);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

.submit-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* loading state */
.submit-btn.loading {
  pointer-events: none;
  opacity: 0.9;
}
.phone-field .country
/* ================= STATUS ================= */

.status-msg {
  font-size: 0.95rem;
  color: #c7d2fe;
}

/* ================= MOBILE ================= */

@media (max-width: 520px) {
  .form-panel {
    padding: 26px;
    border-radius: 20px;
  }

  .panel-head h2 {
    font-size: 1.4rem;
  }
}/* ===============================
   PROJECT PRINCIPLES – VISIBILITY FIX
================================ */

.principles-merged {
 /*  margin-top: 64px;
  padding: 32px; */
  border-radius: 24px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.02)
  );

  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 70px rgba(2,6,23,0.6);

  backdrop-filter: blur(10px);
}

/* header alignment */
.principles-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.principles-head h3 {
  color: #f0f6ff;
  font-weight: 800;
}

/* NON-NEGOTIABLE badge */
.badge-nonneg {
  margin-left: 10px;
  font-size: 0.65rem;
  padding: 6px 14px;
  border-radius: 999px;
  /* background: linear-gradient(90deg,#ef4444,#f97316); */
  color: white;
  letter-spacing: 1px;
  font-weight: 800;
}
/* ===============================
   PRINCIPLES TOGGLE FIX
================================ */

.principles-list {
  margin-top: 24px;
  list-style: none;
  padding-left: 0;

  display: grid;
  gap: 14px;

  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.45s ease,
    opacity 0.35s ease;
}

.principles-list.open {
  max-height: 600px;
  opacity: 1;
}

/* items */
.principles-list li {
  padding: 18px 20px 18px 52px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  color: #f0f6ff;
  position: relative;
  font-size: 0.95rem;
}

/* bullet */
.principles-list li::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  transform: translateY(-50%);
}
.principles-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 10px 16px;
  border-radius: 14px;
  color: #e6f1ff;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.principles-toggle i {
  transition: transform 0.3s ease;
}

.principles-toggle[aria-expanded="true"] i {
  transform: rotate(180deg);
}

/* ===============================
   PRINCIPLES – VISIBILITY RESET (FIX)
================================ */

/* parent must ALWAYS be visible */
.principles-merged {
  opacity: 1 !important;
  transform: none !important;
}

/* list container controlled by toggle only */
.principles-list {
  opacity: 1;
}

/* items start hidden ONLY for reveal animation */
.principles-list li {
  opacity: 0;
  transform: translateY(14px);
}

/* revealed state */
.principles-list li.reveal {
  opacity: 1;
  transform: translateY(0);
}
.principles-list li::before {
  opacity: 0;
  transform: scale(0.6) translateY(-50%);
}

.principles-list li.reveal::before {
  opacity: 1;
  transform: scale(1) translateY(-50%);
}
.contrib-list {
  display: grid;
  gap: 10px;
}

.contrib-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.contrib-item strong {
  color: #f0f6ff;
  font-weight: 700;
}

.contrib-item span {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-left: 10px;
}
.roadmap-list {
  display: grid;
  gap: 10px;
  padding-left: 0px;
}

.roadmap-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.roadmap-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  box-shadow: 0 0 10px rgba(30,144,255,0.6);
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}

.roadmap-item span {
  color: #e5f3ff;
  font-size: 0.9rem;
}
.pp-meta h3{
  color: white;
}
/* ===============================
   PROJECT PANEL – TEAM CONTENT
================================ */

.pp-team {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 12px;
}

.pp-team-item {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 10px 14px;
  border-radius: 14px;
  /* background: rgba(255,255,255,0.05); */
  border: 1px solid rgba(255,255,255,0.08);
}

.pp-team-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.15);
}

.pp-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pp-team-info strong {
  color: #f0f6ff;
  font-size: 0.9rem;
  font-weight: 700;
}

.pp-team-info span {
  font-size: 0.75rem;
  color: #9ca3af;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: #e6f1ff;
}
.projects-premium , .project-panel {
  color: #00D4FF;
}

.projects-premium p,
.project-panel p {
  color: #cfe7ff;
}

.projects-premium .muted,
.project-panel .muted {
  color: #9ca3af;
}
.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 90px rgba(0,0,0,0.7);
}
.project-status.active {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}

.project-status.completed {
  background: #22c55e;
  color: #052e1a;
}

.project-status.upcoming {
  background: rgba(255,255,255,0.12);
  color: #cfe7ff;
}
.pp-team-item,
.roadmap-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}

.roadmap-item span {
  color: #cfe7ff;
}
/* ===============================
   PROJECT PANEL – BASE
================================ */

.project-modal {
  background: rgba(2,6,23,0.6);
  backdrop-filter: blur(10px);
}

.project-panel {
  background: linear-gradient(
    180deg,
    #020617 0%,
    #030a1f 50%,
    #020617 100%
  );
  color: #f0f6ff;

  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 40px 120px rgba(0,0,0,0.75);
}
/* ===============================
   PP HEADER
================================ */

.pp-header {
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.pp-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 6px;
}

.pp-header p {
  color: #cfe7ff;
  max-width: 560px;
  line-height: 1.6;
}

/* STATUS BADGE */
.pp-status {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: #fff;
}
.pp-actions a {
  padding: 10px 18px;
  border-radius: 14px;
  font-weight: 600;
}

.pp-actions .btn-ghost {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e6f1ff;
}

.pp-actions .btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  color: white;
}
/* ===============================
   PP BODY LAYOUT
================================ */

.pp-body {
  display: grid;
  /* grid-template-columns: 360px 1fr; */
  gap: 28px;
  /* padding: 32px; */
}

/* LEFT META */
.pp-meta section {
  margin-bottom: 26px;
}

.pp-meta h4 {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #9ca3af;
  margin-bottom: 12px;
}
.tag-list span {
  display: inline-block;
  margin: 6px 6px 0 0;
  padding: 6px 12px;
  font-size: 0.7rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #cfe7ff;
}
/* ===============================
   PP CONTENT BLOCKS
================================ */

.pp-content section {
  margin-bottom: 28px;
}

.pp-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #f0f6ff;
  margin-bottom: 10px;
}

.pp-content p {
  color: #cfe7ff;
  line-height: 1.7;
}
.arch-steps {
  display: grid;
  gap: 10px;
}

.arch-step {
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e6f1ff;
}
.pp-team-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f0f6ff;
}
.roadmap-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.roadmap-item span {
  color: #cfe7ff;
}

.roadmap-item.done .roadmap-dot {
  background: #22c55e;
}

.roadmap-item.active .roadmap-dot {
  background: linear-gradient(90deg, var(--accent), var(--accent2));
}

.roadmap-item.pending .roadmap-dot {
  background: #64748b;
}
.readiness-item {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
}

.r-head span {
  color: #f0f6ff;
}

.r-desc {
  color: #9ca3af;
}


/* --------------------------Lakshya-section-Start------------------ */
/* ===============================
   TIMELINE SECTION
================================ */

.timeline-section {
  padding: 6rem 1rem 8rem;
  background: #020617;
}

/* ---------- HEADING ---------- */

.timeline-heading {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 5rem;
  animation: fadeUp 0.9s ease forwards;
}

.timeline-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #7833fe;
  margin-bottom: 0.75rem;
}

.timeline-title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: white;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.timeline-title span {
  color: #7833fe;
}

.timeline-subtitle {
  max-width: 620px;
  margin: 1rem auto 2rem;
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.7;
}

/* Divider */
.timeline-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.timeline-divider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7833fe;
  opacity: 0.3;
}

.timeline-divider .line {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7833fe, #a78bfa);
}

/* ---------- TIMELINE ---------- */

.timeline-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* base line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: rgba(255,255,255,0.12);
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 0%;
  background: linear-gradient(180deg, #7833fe, #a78bfa);
  z-index: 1;
}

/* ---------- ITEMS ---------- */

.timeline-item {
  position: relative;
  margin-bottom: 72px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* states */
.timeline-item.completed .timeline-dot {
  background: #22c55e;
}

.timeline-item.active .timeline-dot {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 14px rgba(120,51,254,0.7);
}

/* card */
.timeline-card {
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(2,6,23,0.65);
}

.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* tag */
.timeline-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.1);
  color: white;
}

.timeline-tag.glow {
  background: linear-gradient(90deg, #7833fe, #a78bfa);
  box-shadow: 0 0 20px rgba(120,51,254,0.6);
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 16px;
    transform: none;
  }

  .timeline-dot {
    left: 16px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px;
    max-width: 100%; */
  }
}

/* ---------- ANIMATION ---------- */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ---------- CURRENT BADGE ---------- */
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;
  box-shadow:
    0 6px 20px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);
  text-transform: uppercase;
  animation: pulseGlow 1.8s infinite ease-in-out;
  z-index: 5;
}

/* glowing pulse */
@keyframes pulseGlow {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 12px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}

/* ---------- CARD BASE (YOUR EXISTING, WITH SMALL TWEAK) ---------- */
.timeline-card {
  position: relative;
  /* margin-left: calc(50% + 40px); */
  max-width: 520px;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 40px rgba(2,6,23,0.45);
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* hover lift */
.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(2,6,23,0.65);
}

/* stronger emphasis for current */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 70px rgba(34,197,94,0.35);
}

/* text */
.timeline-card h3 {
  color: white;
  margin-bottom: 6px;
}

.timeline-card p {
  color: #cfe7ff;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ---------- RESPONSIVE FIX ---------- */
@media (max-width: 768px) {
  .timeline-card {
    margin-left: 32px;
    max-width: calc(100% - 32px);
  }

  .current-badge {
    right: 12px;
  }
}


















/* ===============================
   TIMELINE CORE
================================ */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center line */
.timeline-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
}

/* animated progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* ===============================
   TIMELINE ITEMS
================================ */
.timeline-item {
  position: relative;
  margin: 90px 0;
  opacity: 0;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
}

/* ===============================
   CARDS (LEFT / RIGHT)
================================ */
.timeline-card {
  position: relative;
  width: min(420px, 90%);
  padding: 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 18px 50px rgba(0,0,0,0.45);
}

/* LEFT */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-80px);
}

/* RIGHT */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(80px);
}

/* ===============================
   ACTIVE / VISIBLE
================================ */
.timeline-item.visible {
  opacity: 1;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0);
}

/* active dot */
.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 14px rgba(124,58,237,0.6);
}

/* ===============================
   CURRENT CARD
================================ */
.timeline-card.current {
  border-color: rgba(34,197,94,0.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,0.4),
    0 28px 80px rgba(34,197,94,0.35);
}

/* ===============================
   MOBILE (STACKED)
================================ */
@media (max-width: 768px) {
  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: none;
  }

  .timeline-card {
    /* margin-left: 48px !important;
    width: calc(100% - 48px);
    transform: translateY(40px); */
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0);
  }
}
/* ===============================
   PREMIUM ZIG-ZAG TIMELINE (FINAL)
================================ */

.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* center spine */
.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg, #7c3aed, #22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height 0.25s ease-out;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
}

/* dot */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 24px;
  transform: translateX(-50%) scale(0.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* card base */
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 24px;
  border-radius: 18px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 90px rgba(2,6,23,0.65);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    opacity 0.5s ease,
    box-shadow 0.35s ease;
}

/* ---------- LEFT ---------- */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform:
    translateX(-120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- RIGHT ---------- */
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform:
    translateX(120px)
    translateY(40px)
    scale(0.96);
}

/* ---------- VISIBLE ---------- */
.timeline-item.visible {
  opacity: 1;
  pointer-events: auto;
}

.timeline-item.visible .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

.timeline-item.visible .timeline-dot {
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 18px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

/* hover micro-lift */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,0.75);
}

/* current emphasis */
.timeline-card.current {
  border-color: rgba(34,197,94,.6);
  box-shadow:
    0 0 0 1px rgba(34,197,94,.35),
    0 40px 120px rgba(34,197,94,.35);
}

/* ===============================
   MOBILE (STACKED + FADE UP)
================================ */
@media (max-width: 768px) {

  .timeline-wrap::before,
  .timeline-progress {
    left: 18px;
    transform: none;
  }

  .timeline-dot {
    left: 18px;
    transform: scale(0.6);
  }

  .timeline-card {
    margin-left: 52px !important;
    width: calc(100% - 52px);
    transform: translateY(60px) scale(0.97);
  }

  .timeline-item.visible .timeline-card {
    transform: translateY(0) scale(1);
  }
}

/* ===============================
   PREMIUM VISIBILITY STATES
================================ */

/* base */
.timeline-item {
  opacity: 0;
  pointer-events: none;
}

/* ACTIVE (focus card) */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}

.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}

/* PAST (soft presence) */
.timeline-item.is-past {
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(0.97);
  filter: blur(0.3px);
}

/* FUTURE (hidden) */
.timeline-item.is-future {
  opacity: 0;
  pointer-events: none;
}

/* dot logic */
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past .timeline-dot {
  background: #22c55e;
  opacity: 0.6;
}

.timeline-item.is-future .timeline-dot {
  opacity: 0.25;
}
/* ===============================
   CINEMATIC TIMELINE
================================ */

.timeline-section {
  background: #020617;
  padding: 6rem 1rem 8rem;
}

/* spine */
.timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  /* margin-right: 20px; */

}

.timeline-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.18),
    transparent
  );
}

/* progress line */
.timeline-progress {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  height: 0%;
  background: linear-gradient(180deg,#7c3aed,#22c55e);
  filter: drop-shadow(0 0 12px rgba(124,58,237,.5));
  transition: height .25s ease;
  z-index: 1;
}

/* items */
.timeline-item {
  position: relative;
  margin: 110px 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

/* dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  top: 26px;
  transform: translateX(-50%) scale(.6);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  transition: all .4s ease;
  z-index: 2;
}

/* card */
.timeline-card {
  width: min(420px,92%);
  padding: 24px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.08),
    rgba(255,255,255,.03)
  );
  backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(2,6,23,.65);
  transition:
    transform .8s cubic-bezier(.2,.9,.2,1),
    box-shadow .4s ease;
}

/* zig-zag */
.timeline-item:nth-child(odd) .timeline-card {
  margin-right: auto;
  transform: translateX(-120px) translateY(40px) scale(.96);
}
.timeline-item:nth-child(even) .timeline-card {
  margin-left: auto;
  transform: translateX(120px) translateY(40px) scale(.96);
}

/* STATES */
.timeline-item.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
}
.timeline-item.is-active .timeline-card {
  transform: translateX(0) translateY(0) scale(1);
}
.timeline-item.is-active .timeline-dot {
  background: linear-gradient(90deg,#7c3aed,#22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,.7);
  transform: translateX(-50%) scale(1);
}

.timeline-item.is-past {
  opacity: .35;
  z-index: 1;
}
.timeline-item.is-past .timeline-card {
  transform: translateX(0) translateY(-18px) scale(.97);
  filter: blur(.4px);
}

.timeline-item.is-future {
  opacity: 0;
}

/* hover */
.timeline-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 40px 120px rgba(2,6,23,.75);
}

/* mobile */
@media (max-width:768px){
  .timeline-wrap::before,
  .timeline-progress{
    left:18px;
    transform:none;
  }
  .timeline-wrap{
  margin-right: 20px;
  }
  .timeline-dot{ left:18px; }
  .timeline-card{
    margin-left:52px!important;
    width:calc(100% - 52px);
    transform: translateY(60px) scale(.97);
  }
  .timeline-item.is-active .timeline-card{
    transform: translateY(0) scale(1);
  }
}
.timeline-card {
  position: relative;
  width: min(420px, 92%);
  padding: 26px 26px 24px;
  border-radius: 20px;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.09),
      rgba(255,255,255,0.03)
    );

  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  border: 1px solid var(--border-soft);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);

  transition:
    transform 0.8s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.5s ease,
    border-color 0.4s ease;
}
.timeline-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--violet-glow),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.timeline-item.is-active .timeline-card::before {
  opacity: 1;
}
.timeline-card h3 {
  color: var(--text-main);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.timeline-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(255,255,255,0.08);
  color: var(--text-soft);
  border: 1px solid rgba(255,255,255,0.12);
}
.timeline-item.is-active .timeline-card {
  border-color: var(--border-glow);

  box-shadow:
    0 0 0 1px rgba(124,58,237,0.4),
    0 45px 140px rgba(124,58,237,0.45);
}
.timeline-item.is-past .timeline-card {
  opacity: 0.4;
  filter: blur(0.4px);
  transform: translateY(-18px) scale(0.97);
}
.timeline-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 50px 160px rgba(2,6,23,0.85),
    0 0 0 1px rgba(124,58,237,0.35);
}
/* ===============================
   CURRENT CARD — GREEN PREMIUM
================================ */

.timeline-card.current {
  background:
    linear-gradient(
      180deg,
      rgba(34,197,94,0.16),
      rgba(34,197,94,0.06)
    );

  border-color: rgba(34,197,94,0.55);

  box-shadow:
    0 0 0 1px rgba(34,197,94,0.45),
    0 45px 140px rgba(34,197,94,0.45),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.timeline-card.current::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    transparent 30%,
    var(--green-glow),
    transparent 70%
  );

  opacity: 0.9;
  pointer-events: none;
}
.timeline-card.current h3 {
  color: #ecfdf5; /* soft white-green */
}

.timeline-card.current p {
  color: #d1fae5; /* readable mint */
}
.current-badge {
  position: absolute;
  top: -14px;
  right: 18px;

  padding: 6px 14px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;

  border-radius: 999px;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  box-shadow:
    0 8px 26px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  animation: pulseGreen 1.8s infinite ease-in-out;
}
@keyframes pulseGreen {
  0% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0.55),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  70% {
    box-shadow:
      0 0 0 14px rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
  100% {
    box-shadow:
      0 0 0 0 rgba(34,197,94,0),
      inset 0 0 0 1px rgba(255,255,255,0.35);
  }
}
.timeline-card.current:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow:
    0 60px 180px rgba(34,197,94,0.55),
    0 0 0 1px rgba(34,197,94,0.5);
}
/* ===============================
   DOT OPPOSITE ALIGNMENT (PREMIUM)
================================ */

/* base dot position (center reference) */
.timeline-dot {
  position: absolute;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #64748b;
  z-index: 2;
  transition: all 0.4s ease;
}

/* LEFT CARD → DOT SHIFTS LEFT */
.timeline-item:nth-child(odd) .timeline-dot {
  left: calc(50% - 18px);
  transform: translateX(-50%) scale(0.6);
}

/* RIGHT CARD → DOT SHIFTS RIGHT */
.timeline-item:nth-child(even) .timeline-dot {
  left: calc(50% + 18px);
  transform: translateX(-50%) scale(0.6);
}
.timeline-item.is-active:nth-child(odd) .timeline-dot,
.timeline-item.is-active:nth-child(even) .timeline-dot {
  transform: translateX(-50%) scale(1);
  background: linear-gradient(90deg, #7c3aed, #22c55e);
  box-shadow: 0 0 20px rgba(124,58,237,0.7);
}
@media (max-width: 768px) {
  .timeline-dot {
    left: 18px !important;
    transform: scale(0.7) !important;
  }
}

/* --------------------------Lakshya-section-end------------------ */

/* form styling -add  */

/* =====================================================
   PREMIUM CONTACT / JOIN FORM (HACKROOT GRADE)
   Palette synced with Timeline + Projects
===================================================== */

/* section wrapper */
.contact-fullwidth {
  padding: 0;
  background-color: #020617;
}

/* cinematic background */
.contact-fullwidth-bg {
  position: relative;
  padding: 5rem 0;
  background-color:#020617;
  overflow: hidden;
  border-top: none;
  border-bottom: none;
}

/* glass panel */
.form-panel {
  max-width: 820px;
  margin: auto;
  padding: 36px;
  border-radius: 22px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );

  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 30px 90px rgba(2,6,23,0.75),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

/* header */
.panel-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.panel-head .muted {
  color: rgba(207,231,255,0.7);
  margin-top: 6px;
}

/* grid rows */
.premium-form .row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

@media (max-width: 900px) {
  .premium-form .row {
    grid-template-columns: 1fr;
  }
}

/* field wrapper */
.field {
  position: relative;
  margin-top: 18px;
}

/* inputs & textarea */
.premium-form input,
.premium-form textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 14px;

  background: rgba(255,255,255,0.04);
  color: #ffffff;

  border: 1px solid rgba(255,255,255,0.12);
  outline: none;

  font-size: 0.95rem;
  letter-spacing: 0.2px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* floating labels */
.field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;

  font-size: 0.85rem;
  color: rgba(207,231,255,0.8);
  transition: 0.25s ease;
  background: transparent;
  padding: 0 6px;
}

/* focus */
.premium-form input:focus,
.premium-form textarea:focus {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 28px rgba(124,58,237,0.35);
  transform: translateY(-1px);
}

/* float label */
.premium-form input:focus + label,
.premium-form textarea:focus + label,
.premium-form input:not(:placeholder-shown) + label,
.premium-form textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.72rem;
  color: #a78bfa;
  background: #020617;
  border-radius: 6px;
}

/* phone field */
.phone-field {
  display: flex;
  align-items: center;
}

.phone-field .country {
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  color: #ffffff;
  font-weight: 700;
}

.phone-field input {
  border-radius: 0 14px 14px 0;
  padding-left: 64px !important;
}

/* textarea */
.premium-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* submit area */
.form-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

/* submit button */
.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  padding: 14px 22px;
  border-radius: 14px;
  border: none;

  background: linear-gradient(90deg, #22c55e, #4ade80);
  color: #022c22;

  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;

  box-shadow:
    0 10px 40px rgba(34,197,94,0.45),
    inset 0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 18px 60px rgba(34,197,94,0.6);
}

.submit-btn:active {
  transform: translateY(0) scale(0.98);
}

/* status text */
.status-msg {
  color: rgba(207,231,255,0.85);
  font-size: 0.95rem;
}

/* success modal */
.success-modal {
  backdrop-filter: blur(6px);
  background: rgba(2,6,23,0.65);
}

.success-card {
  border-radius: 20px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 40px 120px rgba(2,6,23,0.85);
}

/* ===============================
   PHONE FIELD FIX (FINAL)
================================ */
.phone-field {
  display: flex;
  align-items: stretch;
  position: relative;
}

.phone-field .country {
  min-width: 56px;
  padding: 16px 14px;
  border-radius: 14px 0 0 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-right: none;
  font-weight: 700;
  color: #ffffff;
}

.phone-field input {
  flex: 1;
  border-radius: 0 14px 14px 0;
  padding-left: 18px !important;
}

/* label alignment */
.phone-field label {
  left: 76px;
}

/* floating label */
.phone-field input:focus + label,
.phone-field input:not(:placeholder-shown) + label {
  left: 70px;
}
/* ===============================
   STEP FORM REVEAL
================================ */
.field {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.2,.9,.2,1);
}

.field.reveal {
  opacity: 1;
  transform: translateY(0);
}
/* ===============================
   AI TYPING GLOW
================================ */
.premium-form input.is-typing,
.premium-form textarea.is-typing {
  border-color: #7c3aed;
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.6),
    0 0 32px rgba(124,58,237,0.45);
}
/* ===============================
   INLINE VALIDATION
================================ */
.field.invalid input,
.field.invalid textarea {
  border-color: #ef4444;
  box-shadow: 0 0 18px rgba(239,68,68,0.45);
  animation: shake 0.25s ease;
}

.field.valid input,
.field.valid textarea {
  border-color: #22c55e;
  box-shadow: 0 0 18px rgba(34,197,94,0.45);
}

@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
/* ===============================
   VERIFIED BADGE
================================ */
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.8px;

  color: #022c22;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  border-radius: 999px;

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.35),
    0 10px 30px rgba(34,197,94,0.45);

  opacity: 0;
  transform: scale(0.8);
  transition: 0.35s ease;
}

.verified-badge.show {
  opacity: 1;
  transform: scale(1);
}

/* ===============================
   CONTACT SECTION HEADING
   (Matches Projects & Timeline)
================================ */

.contact-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.contact-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  color: #7c3aed;
  margin-bottom: 0.8rem;
}

.contact-title {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.contact-title span {
  color: #7c3aed;
}

.contact-subtitle {
  max-width: 620px;
  margin: 1rem auto 1.8rem;
  font-size: 1.05rem;
  color: rgba(207,231,255,0.75);
  line-height: 1.7;
}
.verified-badge {
  display: inline-block;
  margin-top: 10px;
  
}





















































































































.contact-fullwidth-bg{
  background: #020617;
}
@media (max-width: 900px) {
  .site-header,
  .nav,
  .project-glass,
  .team-member-card,
  .quickview-overlay,
  .form-panel ,
  .contact-fullwidth-bg{
    backdrop-filter: none !important;
  }
}





/* footer -suchi start here */

/* ===============================
   FOOTER — FULL PAGE PALETTE MATCH
================================ */

.site-footer {
  background:
    radial-gradient(900px 300px at top center,
      rgba(124,58,237,0.12),
      transparent 60%),
    linear-gradient(180deg, #020617 0%, #020617 100%);
  color: var(--text-soft);
  position: relative;
  overflow: hidden;
}

/* subtle divider (timeline language) */
.footer-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--violet-main),
    var(--green-main),
    transparent
  );
  opacity: 0.75;
}

/* ===============================
   GRID
================================ */
.footer-grid {
  max-width: 1180px;
  margin: auto;
  padding: 72px 24px 52px;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 36px;
}

/* ===============================
   BRAND
================================ */
.footer-logo {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-h { color: #ffffff; }
.logo-r {
  background: linear-gradient(90deg, var(--violet-main), var(--violet-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  margin: 16px 0 14px;
  padding: 6px 16px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  border-radius: 999px;

  background: rgba(124,58,237,0.12);
  border: 1px solid rgba(124,58,237,0.35);
  color: #e9d5ff;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 420px;
  color: var(--text-muted);
}

.footer-email {
  margin-top: 12px;
  font-size: 0.75rem;
}

.footer-email a {
  color: var(--violet-soft);
  text-decoration: none;
  opacity: 0.85;
}

.footer-email a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* ===============================
   LINKS
================================ */
.footer-links h4 {
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: var(--violet-soft);
}

.footer-links a,
.footer-links span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.86rem;
  color: var(--text-soft);
  opacity: 0.75;
  transition: all 0.25s ease;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(4px);
  color: var(--green-soft);
}

/* ===============================
   BOTTOM BAR
================================ */
.footer-bottom {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px 22px;
  border-top: 1px solid rgba(255,255,255,0.06);

  display: flex;
  align-items: center;
  justify-content: space-between;

  font-size: 0.72rem;
  color: rgba(207,231,255,0.65);
}

/* socials */
.footer-socials a {
  margin-left: 14px;
  font-size: 1.05rem;
  color: #cfe7ff;
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-socials a:hover {
  color: var(--green-main);
  transform: translateY(-3px);
}

/* ===============================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-tagline {
    margin-inline: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-socials a {
    margin: 0 10px;
  }
}


.footer-socials a {
  text-decoration: none !important;
}

.footer-socials a::after,
.footer-socials a::before {
  content: none !important;
}
/* ===============================
   STATIC PAGE SUPPORT (IMPORTANT)
================================ */

.page-wrap {
  min-height: 60vh;
}

/* titles */
.page-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 12px;
}

/* subtitle */
.page-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 28px;
}

/* list */
.simple-list {
  list-style: none;
  padding-left: 0;
}

.simple-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.simple-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--green-main);
  font-size: 1.2rem;
  line-height: 1;
}
/* ===============================
   ENTERPRISE PAGE SYSTEM
================================ */

.page-enterprise {
  background: #020617;
}

.page-hero {
  margin-bottom: 64px;
}

.page-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  font-weight: 700;
  color: var(--violet-soft);
}

.page-block {
  margin-bottom: 72px;
}

.page-block h2 {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 14px;
}

.page-block p {
  color: var(--text-soft);
  line-height: 1.75;
  max-width: 760px;
}

/* capability grid */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.cap-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 22px;
}

.cap-card h3 {
  color: #ffffff;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.cap-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* process list */
.process-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  max-width: 760px;
}

.process-list li {
  counter-increment: step;
  margin-bottom: 22px;
  padding-left: 42px;
  position: relative;
}

.process-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--violet-main), var(--green-main));
  color: #020617;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* tags */
.tag-list.premium span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

/* highlight block */
.page-block.highlight {
  padding: 32px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(124,58,237,0.12),
    rgba(34,197,94,0.08)
  );
  border: 1px solid rgba(255,255,255,0.12);
}




/* webicon -styling  */

.logo{
  height:48px;              /* ⬅ slightly bigger */
  width:48px;
  padding:10px;             /* ⬅ optical breathing space */
  border-radius:14px;

  /* Solid dark base (important) */
  background:#020617;

  /* Inner contrast ring */
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 18px rgba(120,51,254,0.18), /* subtle violet lift */
    0 10px 28px rgba(2,6,23,0.85);        /* outer depth */

  border:1px solid rgba(255,255,255,0.18);

  display:flex;
  align-items:center;
  justify-content:center;
}













/* HERO → NEXT SECTION BLEND */
.hero-premium::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 160px;
  pointer-events: none;
  z-index: 2;

  background: linear-gradient(
    to bottom,
    rgba(2,6,23,0) 0%,
    rgba(2,6,23,0.35) 40%,
    rgba(2,6,23,0.75) 70%,
    #020617 100%
  );
}
/* pull next section into hero */
.hero-premium + .section {
  margin-top: -120px;
  padding-top: 160px;
}
.hero-premium,
.team-section-premium,
.section {
  background: #020617;
}
.section {
  position: relative;
  z-index: 3;
}



/* all work done -now loading and more styling add */

/* ===============================
   PREMIUM PAGE LOADER
================================ */
/* =====================================================
   WORLD-CLASS BRAND LOADER — HACKROOT
===================================================== */

.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background:
    radial-gradient(800px 400px at 50% -120px, rgba(124,58,237,0.25), transparent),
    linear-gradient(180deg, #020617, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.brand-loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* inner stack */
.brand-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: loaderFadeIn .9s ease both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* logo container */
.brand-logo-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* logo itself */
.brand-logo {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 22px rgba(124,58,237,0.25),
    0 18px 50px rgba(2,6,23,0.9);
  z-index: 2;
}

/* animated energy ring */
.energy-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,0.45);
  box-shadow:
    0 0 22px rgba(124,58,237,0.45),
    inset 0 0 18px rgba(124,58,237,0.35);
  animation: ringPulse 1.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(.92); opacity:.6 }
  50%  { transform: scale(1.06); opacity:1 }
  100% { transform: scale(.92); opacity:.6 }
}

/* brand text */
.brand-loader-text {
  text-align: center;
}

.brand-name {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .4px;
  color: #ffffff;
}

.brand-name span {
  color: #7c3aed;
}

.brand-tagline {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(207,231,255,0.75);
}

/* exit animation polish */
.page-loaded .brand-loader-inner {
  animation: loaderExit .55s ease forwards;
}

@keyframes loaderExit {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }
}









/* Slowly Reveal */

/* =====================================================
   ULTRA-PREMIUM SCROLL REVEAL SYSTEM (MNC GRADE)
   Works once, smooth, GPU-safe
===================================================== */

/* ========== 1. BASE REVEAL (fallback / default) ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========== 2. HERO – SOFT FADE (Apple style) ========== */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ========== 3. TEAM / GRIDS – STAGGER SYSTEM ========== */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.reveal-stagger.visible > *:nth-child(1){transition-delay:.06s}
.reveal-stagger.visible > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.visible > *:nth-child(3){transition-delay:.18s}
.reveal-stagger.visible > *:nth-child(4){transition-delay:.24s}
.reveal-stagger.visible > *:nth-child(5){transition-delay:.30s}
.reveal-stagger.visible > *:nth-child(6){transition-delay:.36s}
.reveal-stagger.visible > *:nth-child(7){transition-delay:.42s}

/* ========== 4. PROJECTS – LIFT + BLUR (Premium cards) ========== */
.reveal-lift {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    filter 0.9s ease;
  will-change: transform, opacity;
}

.reveal-lift.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ========== 5. TIMELINE – DIRECTIONAL (Left / Right) ========== */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 6. FORMS – GLASS REVEAL (Theme matched) ========== */
.reveal-glass {
  opacity: 0;
  transform: translateY(36px);
  backdrop-filter: blur(0);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    backdrop-filter 0.9s ease;
}

.reveal-glass.visible {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(8px);
}

/* ========== 7. MODALS / STATS – SCALE IN ========== */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.9,.2,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== 8. PERFORMANCE & ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-stagger > *,
  .reveal-lift,
  .reveal-left,
  .reveal-right,
  .reveal-glass,
  .reveal-scale {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
/* ===============================
   FORM PANEL — MOBILE COLOR FIX
================================ */

@media (max-width: 900px) {
  .form-panel {
    /* replace glass blur with solid premium surface */
    backdrop-filter: none !important;

    background:
      linear-gradient(
        180deg,
        rgba(8, 23, 55, 0.96),
        rgba(4, 10, 31, 0.96)
      );

    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
      0 18px 50px rgba(2,6,23,0.65),
      inset 0 1px 0 rgba(255,255,255,0.08);
  }
}

/* click ripple */
.btn-primary::after,
.btn-ghost::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(255,255,255,0.35),
    transparent 60%
  );
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}

/* fire ripple */
.btn-primary:active::after,
.btn-ghost:active::after {
  opacity: 1;
  transform: scale(1.2);
}
.hero-ctas .btn-primary:active {
  box-shadow:
    0 6px 24px rgba(124,58,237,0.55),
    0 0 0 1px rgba(124,58,237,0.45);
}

.hero-ctas .btn-ghost:active {
  box-shadow:
    0 6px 20px rgba(30,144,255,0.35);
}


/* all work done -now loading and more styling add */

/* ===============================
   PREMIUM PAGE LOADER
================================ */
/* =====================================================
   WORLD-CLASS BRAND LOADER — HACKROOT
===================================================== */

.brand-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background:
    radial-gradient(800px 400px at 50% -120px, rgba(124,58,237,0.25), transparent),
    linear-gradient(180deg, #020617, #020617);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}

.brand-loader.hide {
  opacity: 0;
  visibility: hidden;
}

/* inner stack */
.brand-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  animation: loaderFadeIn .9s ease both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* logo container */
.brand-logo-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* logo itself */
.brand-logo {
  width: 64px;
  height: 64px;
  padding: 14px;
  border-radius: 18px;
  background: #020617;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.12),
    inset 0 0 22px rgba(124,58,237,0.25),
    0 18px 50px rgba(2,6,23,0.9);
  z-index: 2;
}

/* animated energy ring */
.energy-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,0.45);
  box-shadow:
    0 0 22px rgba(124,58,237,0.45),
    inset 0 0 18px rgba(124,58,237,0.35);
  animation: ringPulse 1.4s ease-in-out infinite;
}

@keyframes ringPulse {
  0%   { transform: scale(.92); opacity:.6 }
  50%  { transform: scale(1.06); opacity:1 }
  100% { transform: scale(.92); opacity:.6 }
}

/* brand text */
.brand-loader-text {
  text-align: center;
}

.brand-name {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: .4px;
  color: #ffffff;
}

.brand-name span {
  color: #7c3aed;
}

.brand-tagline {
  display: block;
  margin-top: 6px;
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(207,231,255,0.75);
}

/* exit animation polish */
.page-loaded .brand-loader-inner {
  animation: loaderExit .55s ease forwards;
}

@keyframes loaderExit {
  to {
    opacity: 0;
    transform: translateY(-8px) scale(.96);
  }
}









/* Slowly Reveal */

/* =====================================================
   ULTRA-PREMIUM SCROLL REVEAL SYSTEM (MNC GRADE)
   Works once, smooth, GPU-safe
===================================================== */

/* ========== 1. BASE REVEAL (fallback / default) ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========== 2. HERO – SOFT FADE (Apple style) ========== */
.reveal-fade {
  opacity: 0;
  transition: opacity 1.1s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ========== 3. TEAM / GRIDS – STAGGER SYSTEM ========== */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(.2,.9,.2,1);
  will-change: transform, opacity;
}

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.reveal-stagger.visible > *:nth-child(1){transition-delay:.06s}
.reveal-stagger.visible > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.visible > *:nth-child(3){transition-delay:.18s}
.reveal-stagger.visible > *:nth-child(4){transition-delay:.24s}
.reveal-stagger.visible > *:nth-child(5){transition-delay:.30s}
.reveal-stagger.visible > *:nth-child(6){transition-delay:.36s}
.reveal-stagger.visible > *:nth-child(7){transition-delay:.42s}

/* ========== 4. PROJECTS – LIFT + BLUR (Premium cards) ========== */
.reveal-lift {
  opacity: 0;
  transform: translateY(42px);
  filter: blur(6px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    filter 0.9s ease;
  will-change: transform, opacity;
}

.reveal-lift.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ========== 5. TIMELINE – DIRECTIONAL (Left / Right) ========== */
.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1);
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ========== 6. FORMS – GLASS REVEAL (Theme matched) ========== */
.reveal-glass {
  opacity: 0;
  transform: translateY(36px);
  backdrop-filter: blur(0);
  transition:
    opacity 0.9s ease,
    transform 0.9s cubic-bezier(.2,.9,.2,1),
    backdrop-filter 0.9s ease;
}

.reveal-glass.visible {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(8px);
}

/* ========== 7. MODALS / STATS – SCALE IN ========== */
.reveal-scale {
  opacity: 0;
  transform: scale(0.94);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(.2,.9,.2,1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========== 8. PERFORMANCE & ACCESSIBILITY ========== */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-fade,
  .reveal-stagger > *,
  .reveal-lift,
  .reveal-left,
  .reveal-right,
  .reveal-glass,
  .reveal-scale {
    transition: none !important;
    transform: none !important;
    filter: none !important;
    opacity: 1 !important;
  }
}
.captcha-wrap {
  margin: 18px 0 6px;
  display: flex;
  justify-content: flex-start;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* ===============================
   CAPTCHA – PREMIUM HACKROOT STYLE
================================ */

.captcha-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: flex-start;
  animation: fadeUp .25s ease;
}

/* glass panel */
.captcha-frame {
  padding: 14px 16px;
  border-radius: 14px;

  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.04),
    rgba(255,255,255,0.015)
  );

  border: 1px solid rgba(255,255,255,0.12);

  box-shadow:
    0 10px 32px rgba(2,6,23,0.55),
    inset 0 1px 0 rgba(255,255,255,0.12);

  backdrop-filter: blur(8px) saturate(120%);
}

/* scale captcha slightly for balance */
.captcha-frame iframe {
  transform: scale(0.92);
  transform-origin: left top;
}

/* subtle hover glow */
.captcha-frame:hover {
  border-color: rgba(124,58,237,0.55);
  box-shadow:
    0 0 0 1px rgba(124,58,237,0.35),
    0 14px 40px rgba(124,58,237,0.35);
}

/* fade animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.captcha-wrap.error .captcha-frame {
  border-color: rgba(255,77,77,0.8);
  box-shadow:
    0 0 0 1px rgba(255,77,77,0.5),
    0 12px 40px rgba(255,77,77,0.35);
    
}
 /* ===============================
   CAPTCHA – MOBILE SAFE FIX
================================ */

.captcha-wrap {
  width: 100%;
  max-width: 100%;
  overflow: hidden;   /* 🔥 critical */
}

.captcha-frame {
  /* width: 100%; */
  max-width: 100%;
  overflow: hidden;
}
/* desktop only */
@media (min-width: 520px) {
  .captcha-frame iframe {
    transform: scale(0.92);
    transform-origin: left top;
  }
}

/* mobile reset */
@media (max-width: 519px) {
  .captcha-frame iframe {
    transform: scale(1);   /* 🔥 important */
  }
}
.premium-form .captcha-wrap {
  grid-column: 1 / -1;   /* span full width */
}
@media (max-width: 520px) {
  .captcha-frame {
    padding: 10px;
    border-radius: 12px;
  }
}
/* ===============================
   MOBILE FORM SPACING FIX
================================ */
@media (max-width: 520px) {

  /* tighten overall panel spacing */
  .form-panel {
    gap: 14px;
    padding: 20px;
  }

  /* remove double spacing */
  .premium-form .row {
    gap: 14px;
  }

  /* normalize field spacing */
  .field {
    margin-bottom: 14px; /* was 22px */
  }

  /* inputs slightly shorter for mobile */
  .premium-form input,
  .premium-form textarea {
    padding: 14px 14px;
    font-size: 0.95rem;
  }

  /* textarea not too tall */
  .premium-form textarea {
    min-height: 100px;
  }

  /* captcha spacing fix */
  .captcha-wrap {
    margin-top: 8px;
  }

  /* submit area breathing room */
  .form-controls {
    margin-top: 10px;
    gap: 10px;
  }
}
/* ==================================================
   GUARANTEED SAFE MOBILE — 375px & ABOVE
================================================== */
@media (max-width: 420px) {

  /* ---------- PANEL ---------- */
  .form-panel {
    padding: 16px;
    gap: 12px;
    border-radius: 16px;
  }

  .premium-form .row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .field {
    margin-bottom: 12px;
  }

  /* ---------- INPUTS ---------- */
  .premium-form input,
  .premium-form textarea {
    padding: 12px 12px;
    font-size: 0.92rem;
    border-radius: 11px;
  }

  .premium-form textarea {
    min-height: 90px;
  }

  /* ---------- PHONE FIELD (CRITICAL FIX) ---------- */
  .phone-field {
    align-items: stretch;
  }

  .phone-field .country {
    padding: 0 10px;
    font-size: 0.88rem;
    border-radius: 11px 0 0 11px;
  }

  .phone-field input {
    padding-left: 50px !important;   /* 🔥 reduced for 375px */
    border-radius: 0 11px 11px 0;
  }

  .phone-field label {
    left: 50px;
  }

  .phone-field input:focus + label,
  .phone-field input:not(:placeholder-shown) + label {
    left: 46px;
  }

  /* ---------- CAPTCHA (NO JUMP, NO OVERFLOW) ---------- */
  .captcha-wrap {
    margin-top: 6px;
  }

  .captcha-frame {
    padding: 6px;
    border-radius: 12px;
    overflow: hidden;
  }

  .captcha-frame iframe {
    max-width: 100%;
    transform: scale(0.94);
    transform-origin: center top;
  }

  /* ---------- SUBMIT ---------- */
  .form-controls {
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
  }

  .submit-btn {
    width: 100%;
    height: 46px;
    font-size: 0.94rem;
    border-radius: 14px;
  }

  .status-msg {
    font-size: 0.85rem;
    text-align: center;
  }
}
/* MESSAGE BOX — STABLE & PREMIUM */
.premium-form textarea {
  min-height: 110px;   /* desktop */
  max-height: 160px;
  resize: vertical;    /* user-controlled only */
  overflow-y: auto;
}
@media (max-width: 420px) {
  .premium-form textarea {
    min-height: 90px;
    max-height: 130px;
    resize: none;      /* 🔥 important for mobile */
  }
}

/* Make all NON-lead cards identical */
.team-member-card:not(.lead) {
  height: 420px;
  display: flex;
  flex-direction: column;
}
.team-member-card:not(.lead) .team-member-avatar {
  height: 170px;
}
.team-member-card:not(.lead) .team-member-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.team-member-card:not(.lead) .team-profile-btn {
  margin-top: auto;
}
