:root{
  --ink:#191521;
  --paper:#FAF9F5;
  --violet:#5B3DF5;
  --violet-deep:#3F2AC7;
  --gold:#F4B740;
  --lavender:#EDE9FE;
  --line: rgba(25,21,33,0.1);
  --max: 1180px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter', 'Noto Sans Devanagari', sans-serif;
  overflow-x:hidden;
}
h1,h2,h3,.display{
  font-family:'Space Grotesk', 'Noto Sans Devanagari', sans-serif;
  letter-spacing:-0.02em;
}
.mono{
  font-family:'Space Mono', 'Noto Sans Devanagari', monospace;
}
a{color:inherit; text-decoration:none;}
.wrap{max-width:var(--max); margin:0 auto; padding:0 32px;}
::selection{background:var(--gold); color:var(--ink);}

/* focus visibility */
a:focus-visible, button:focus-visible{
  outline:3px solid var(--violet); outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; scroll-behavior:auto !important;}
}

/* ---------- NAV ---------- */
header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(250,249,245,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid transparent;
  transform:translateY(-100%);
  opacity:0;
  transition: transform .4s ease, opacity .4s ease, border-color .4s ease;
}
header.show{
  transform:translateY(0);
  opacity:1;
  border-bottom:1px solid var(--line);
}

nav.wrap{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; padding-top:18px; padding-bottom:18px;
  position:relative;
}
.nav-logo{
  display:flex; align-items:center; justify-content:center;
  width:48px; height:48px;
  flex-shrink:0;
  transition: transform .2s ease;
}
.nav-logo:hover{ transform:translateY(-2px); }
.nav-logo img{ width:100%; height:100%; object-fit:contain; display:block; }
.nav-center{
  display:flex; align-items:center; justify-content:center;
  gap:36px;
  flex:1;
  min-width:0;
}
nav .side-links{display:flex; gap:32px; align-items:center;}
nav .side-links a{
  font-size:14.5px; font-weight:500; color:var(--ink); opacity:0.75;
  position:relative; padding:4px 0;
  transition:opacity .2s ease;
}
nav .side-links a:hover{opacity:1;}
nav .side-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--violet); transition:width .25s ease;
}
nav .side-links a:hover::after{width:100%;}

.nav-dropdown{
  position:relative;
  padding-bottom:16px; margin-bottom:-16px; /* invisible bridge so hover survives the gap */
}
.nav-dropdown-toggle{
  display:flex; align-items:center; gap:6px;
  background:none; border:none; cursor:pointer;
  font-size:14.5px; font-weight:500; color:var(--ink); opacity:0.75;
  padding:4px 0;
  font-family:'Inter', 'Noto Sans Devanagari', sans-serif;
  transition:opacity .2s ease, color .2s ease;
}
.nav-dropdown-toggle:hover{ opacity:1; }
.nav-dropdown-toggle .chevron{ transition: transform .25s ease; }
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle{ opacity:1; color:var(--violet); }
.nav-dropdown:hover .nav-dropdown-toggle .chevron,
.nav-dropdown:focus-within .nav-dropdown-toggle .chevron{ transform:rotate(180deg); }

.nav-dropdown-menu{
  display:flex; flex-direction:column; gap:3px;
  position:absolute; top:calc(100% + 16px); left:50%;
  width:max-content; min-width:190px;
  padding:10px;
  background:linear-gradient(180deg, #fff, #fdfcff);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 24px 48px -20px rgba(63,42,199,0.28), 0 4px 10px -4px rgba(25,21,33,0.08);
  z-index:20;
  opacity:0; visibility:hidden; pointer-events:none;
  transform:translateX(-50%) translateY(4px) scale(0.98);
  transform-origin:top center;
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}
.nav-dropdown-menu::before{
  content:"";
  position:absolute; top:-6px; left:50%; transform:translateX(-50%) rotate(45deg);
  width:12px; height:12px;
  background:#fff;
  border-left:1px solid var(--line);
  border-top:1px solid var(--line);
  border-radius:3px 0 0 0;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu{
  opacity:1; visibility:visible; pointer-events:auto;
  transform:translateX(-50%) translateY(0) scale(1);
}
.nav-dropdown-menu a{
  position:relative;
  display:flex; align-items:center; gap:11px;
  padding:11px 14px;
  border-radius:11px;
  font-size:14px;
  font-weight:600;
  color:var(--ink);
  white-space:nowrap;
  opacity:0.82;
  transition: background .18s ease, color .18s ease, opacity .18s ease, transform .18s ease;
}
.nav-dropdown-menu a:hover{
  background:var(--lavender);
  color:var(--violet-deep);
  opacity:1;
  transform:translateX(2px);
}
.nav-dropdown-menu a::after{ display:none; }
.nav-dropdown-menu .nd-icon{
  display:flex; align-items:center; justify-content:center;
  width:30px; height:30px; flex-shrink:0;
  border-radius:9px;
  background:var(--lavender);
  color:var(--violet);
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-dropdown-menu .nd-icon svg{ width:16px; height:16px; }
.nav-dropdown-menu a:hover .nd-icon{
  background:var(--violet);
  color:#fff;
  transform:scale(1.08);
}

.brand-pill{
  background:var(--gold);
  color:var(--violet-deep);
  font-family:'Space Grotesk', 'Noto Sans Devanagari', sans-serif;
  font-weight:700;
  font-size:17px;
  padding:10px 24px;
  border-radius:999px;
  white-space:nowrap;
  box-shadow: 0 3px 0 rgba(25,21,33,0.12);
}
.nav-controls{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}
.side-rail{
  position:fixed;
  top:100px; right:10px;
  z-index:110;
  display:flex; flex-direction:row;
  gap:10px;
  transition: top .3s ease;
}
.side-rail.vertical{
  flex-direction:column;
  top:96px;
}
.side-rail-btn{
  width:48px; height:48px;
  border:none;
  border-radius:14px;
  background:#EDEBF3;
  color:var(--ink);
  cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px -12px rgba(25,21,33,0.28);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.side-rail-btn svg{ width:20px; height:20px; }
.side-rail-btn:hover{
  background:var(--violet);
  color:#fff;
  transform:translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(91,61,245,0.45);
}
.lang-toggle{
  font-family:'Space Mono', monospace;
  font-weight:700;
  font-size:14px;
}

.nav-toggle{
  display:none;
  width:40px; height:40px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  cursor:pointer;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:5px;
  flex-shrink:0;
}
.nav-toggle span{
  display:block; width:20px; height:2px; background:var(--ink);
  border-radius:2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu{
  display:none;
  flex-direction:column;
  max-height:0;
  overflow:hidden;
  border-top:1px solid transparent;
  background:var(--paper);
  transition: max-height .3s ease, border-color .3s ease;
}
.mobile-menu.show{
  max-height:340px;
  border-top:1px solid var(--line);
}
.mobile-menu a{
  padding:16px 32px;
  font-size:15px; font-weight:500; color:var(--ink);
  border-bottom:1px solid var(--line);
}
.mobile-menu a:hover{ color:var(--violet); }

.mobile-dropdown-toggle{
  width:100%;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 32px;
  font-size:15px; font-weight:500; color:var(--ink);
  background:none; border:none; cursor:pointer;
  border-bottom:1px solid var(--line);
  font-family:'Inter', 'Noto Sans Devanagari', sans-serif;
}
.mobile-dropdown-toggle .chevron{ transition: transform .2s ease; flex-shrink:0; }
.mobile-dropdown.open .mobile-dropdown-toggle .chevron{ transform:rotate(180deg); }
.mobile-dropdown-menu{
  display:none;
  flex-direction:column;
  background:rgba(25,21,33,0.03);
}
.mobile-dropdown.open .mobile-dropdown-menu{ display:flex; }
.mobile-dropdown-menu a{
  display:flex; align-items:center; gap:12px;
  padding:14px 32px 14px 40px;
  font-size:14.5px; font-weight:500; color:var(--ink); opacity:0.85;
  border-bottom:1px solid var(--line);
  transition: color .18s ease, opacity .18s ease;
}
.mobile-dropdown-menu a:hover{ color:var(--violet); opacity:1; }
.mobile-dropdown-menu .nd-icon{
  display:flex; align-items:center; justify-content:center;
  width:28px; height:28px; flex-shrink:0;
  border-radius:8px;
  background:var(--lavender);
  color:var(--violet);
}
.mobile-dropdown-menu .nd-icon svg{ width:15px; height:15px; }
.mobile-dropdown-menu a:hover .nd-icon{ background:var(--violet); color:#fff; }

.mobile-menu-utility{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:20px 32px 24px;
}
.mobile-menu-utility .side-rail-btn{ width:42px; height:42px; }
.mobile-menu-utility .side-rail-btn svg{ width:18px; height:18px; }

@media (max-width: 880px){
  nav.wrap{ gap:12px; padding-left:16px; padding-right:16px; }
  .nav-center{ justify-content:space-between; gap:8px; }
  nav .side-links{
    display:none;
  }
  .brand-pill{order:0;}
  .nav-toggle{ display:flex; }
  .mobile-menu{ display:flex; }
  .nav-logo{ width:38px; height:38px; }
  .brand-pill{ font-size:15px; padding:9px 18px; }
  .side-rail{ display:none; }
}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  padding-top:40px;
  min-height:100vh;
  display:flex; align-items:center;
  overflow:hidden;
}
.hero-bg{
  position:absolute; inset:0; z-index:0; overflow:hidden; pointer-events:none;
}
.hero-bg-layer{
  position:absolute; inset:0;
  opacity:0;
  transition: opacity 1.2s ease;
}
.hero-bg-layer.active{ opacity:1; }
.hero-bg-layer[data-bg="0"]{
  background:
    linear-gradient(160deg, rgba(250,249,245,0.86), rgba(250,249,245,0.9)),
    url('assets/images/header_img/hi1.jpg') center/cover no-repeat;
}
.hero-bg-layer[data-bg="1"]{
  background:
    linear-gradient(160deg, rgba(250,249,245,0.86), rgba(250,249,245,0.9)),
    url('assets/images/header_img/hi2.jpg') center/cover no-repeat;
}
.hero-bg-layer[data-bg="2"]{
  background:
    linear-gradient(160deg, rgba(250,249,245,0.86), rgba(250,249,245,0.9)),
    url('assets/images/header_img/hi3.jpg') center/cover no-repeat;
}
.hero-bg-layer[data-bg="3"]{
  background:
    linear-gradient(160deg, rgba(250,249,245,0.88), rgba(250,249,245,0.92)),
    url('assets/images/header_img/hi1.jpg') center/cover no-repeat;
}
.hero .wrap{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:40px;
  align-items:center;
  width:100%;
}
.splash-bg{
  position:absolute; inset:0; z-index:0; pointer-events:none;
  overflow:hidden;
}
.splash-bg svg{position:absolute;}
.splash-tl{ top:-60px; left:-80px; width:520px; opacity:0.9; }
.splash-br{ bottom:-100px; right:-60px; width:560px; opacity:0.55; }

.eyebrow-tags{
  font-family:'Anton', 'Noto Sans Devanagari', sans-serif;
  text-transform:uppercase;
  color:var(--ink);
  font-size:clamp(18px, 2.2vw, 26px);
  letter-spacing:0.01em;
  display:flex;
  flex-wrap:wrap;
  gap:16px 22px;
  align-items:center;
  margin-bottom:16px;
  position:relative; z-index:2;
}
.eyebrow-tags span{ white-space:nowrap; }
.hero h1{
  font-size:clamp(42px, 6vw, 74px);
  line-height:1.02;
  font-weight:700;
  position:relative; z-index:2;
}
.hero h1 span{ color:var(--violet); }
.role-line{
  margin-top:18px;
  font-size:clamp(20px, 2.4vw, 28px);
  font-weight:500;
  min-height:38px;
  position:relative; z-index:2;
}
.role-line .cursor{
  display:inline-block;
  width:2px; background:var(--ink);
  margin-left:2px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink{ 50%{opacity:0;} }

.hero p.lede{
  max-width:460px;
  margin-top:20px;
  color:rgba(25,21,33,0.7);
  font-size:16px;
  line-height:1.6;
  position:relative; z-index:2;
}
.hero-ctas{
  margin-top:34px;
  display:flex; align-items:center; gap:22px;
  position:relative; z-index:2;
}
.btn-primary{
  background:var(--violet);
  color:#fff;
  padding:15px 30px;
  border-radius:10px;
  font-weight:600;
  font-size:15px;
  display:inline-block;
  box-shadow:0 4px 0 var(--violet-deep);
  transition: transform .15s ease;
  border:none; cursor:pointer;
}
.btn-primary:hover{ transform:translateY(-2px); }
.btn-primary:active{ transform:translateY(2px); box-shadow:0 1px 0 var(--violet-deep); }

.play-link{
  display:flex; align-items:center; gap:14px;
  font-weight:600; font-size:15px;
  background:none; border:none; cursor:pointer; color:var(--ink);
}
.play-circle{
  width:52px; height:52px; border-radius:50%;
  border:2px solid var(--violet);
  display:flex; align-items:center; justify-content:center;
  position:relative;
}
.play-circle::before{
  content:"";
  position:absolute; inset:-8px;
  border-radius:50%;
  border:2px solid rgba(91,61,245,0.25);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse{
  0%{ transform:scale(0.9); opacity:0.8; }
  100%{ transform:scale(1.35); opacity:0; }
}
.play-circle svg{ margin-left:3px; }

.hero-portrait{
  position:relative; z-index:3;
  display:flex; justify-content:center;
}
.img-portrait{
  width:100%; max-width:380px;
  height:auto;
  display:block;
  filter:grayscale(100%);
  transition: filter .45s ease;
}
.hero-portrait:hover .img-portrait{ filter:grayscale(0%); }
.float-chip{
  position:absolute;
  z-index:5;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 16px;
  font-size:13px;
  font-weight:600;
  box-shadow:0 12px 24px -12px rgba(25,21,33,0.25);
  display:flex; align-items:center; gap:8px;
  animation: floaty 5s ease-in-out infinite;
}
.chip-1{ top:8%; left:-8%; animation-delay:0s; }
.chip-2{ bottom:10%; right:-10%; animation-delay:1.2s; }
@keyframes floaty{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-12px); }
}
.dot{ width:8px; height:8px; border-radius:50%; background:var(--gold); }

@media (max-width: 900px){
  .hero .wrap{ grid-template-columns:1fr; text-align:left; }
  .hero-portrait{ order:-1; margin-bottom:10px; }
  .chip-1{left:4%;} .chip-2{right:4%;}
}

/* ---------- SECTION SHELL ---------- */
section{ padding:110px 0; position:relative; }
.section-tag{
  font-family:'Space Mono', monospace;
  font-size:13px;
  color:var(--violet);
  text-transform:uppercase;
  letter-spacing:0.12em;
  display:flex; align-items:center; gap:10px;
  margin-bottom:14px;
}
.section-tag::before{
  content:""; width:24px; height:2px; background:var(--gold);
}
.section-head{ max-width:640px; margin-bottom:60px; }
.section-head h2{ font-size:clamp(30px,4vw,44px); font-weight:700; line-height:1.1; }
.section-head p{ margin-top:16px; color:rgba(25,21,33,0.65); font-size:16px; line-height:1.6; }

.reveal{
  opacity:0; transform:translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- ABOUT / STATS ---------- */
.about-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap:64px; align-items:center;
}
.years-block{ display:flex; align-items:flex-end; gap:18px; margin-bottom:26px; }
.years-num{ font-size:96px; font-weight:700; line-height:0.8; color:var(--ink); }
.years-cap{ font-family:'Space Mono'; letter-spacing:0.3em; font-size:14px; color:rgba(25,21,33,0.55); padding-bottom:6px;}
.years-text{ font-size:20px; font-weight:600; max-width:280px; line-height:1.3; }
.checklist{ margin-top:26px; display:flex; flex-direction:column; gap:14px; }
.checklist li{ list-style:none; display:flex; align-items:center; gap:12px; font-weight:500; }
.check-ico{
  width:22px; height:22px; border-radius:50%; background:var(--lavender);
  color:var(--violet); display:flex; align-items:center; justify-content:center; flex-shrink:0;
  font-size:13px; font-weight:700;
}
.about-visual{ position:relative; }
.duo-cards{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:16px; }
.duo-card{
  border-radius:16px; aspect-ratio:1/1.05; overflow:hidden; position:relative;
  background:
    linear-gradient(150deg, rgba(91,61,245,0.72), rgba(63,42,199,0.8)),
    url('assets/images/header_img/hi1.jpg');
  background-size:cover; background-position:center;
}
.duo-card.alt{
  background:
    linear-gradient(150deg, rgba(44,39,64,0.78), rgba(25,21,33,0.85)),
    url('assets/images/header_img/hi3.jpg');
  background-size:cover; background-position:center;
  margin-top:34px;
}
.duo-card .texture{
  position:absolute; inset:0;
  background-image: radial-gradient(circle at 30% 30%, rgba(244,183,64,0.35), transparent 55%);
}
.stat-row{
  display:flex; gap:48px; margin-top:28px;
}
.stat-item .num{ font-size:34px; font-weight:700; color:var(--violet); font-family:'Space Grotesk'; }
.stat-item .lab{ font-size:13.5px; color:rgba(25,21,33,0.6); margin-top:4px; }

@media (max-width: 880px){
  .about-grid{ grid-template-columns:1fr; }
  .about-visual{ order:-1; }
}

/* ---------- SERVICES ---------- */
.services-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.service-card{
  border:1px solid var(--line);
  border-radius:18px;
  padding:34px 28px;
  background:#fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  box-shadow:0 20px 40px -22px rgba(25,21,33,0.25);
  border-color:transparent;
}
.service-num{ font-family:'Space Mono'; color:var(--gold); font-weight:700; font-size:14px; }
.service-icon{
  width:48px; height:48px; border-radius:12px; background:var(--lavender);
  display:flex; align-items:center; justify-content:center; margin:16px 0 20px;
  color:var(--violet);
}
.service-card h3{ font-size:20px; font-weight:600; margin-bottom:10px; }
.service-card p{ font-size:14.5px; color:rgba(25,21,33,0.65); line-height:1.6; }
@media (max-width: 880px){ .services-grid{ grid-template-columns:1fr; } }

/* ---------- WORK ---------- */
.work-tabs{ display:flex; gap:10px; margin-bottom:40px; flex-wrap:wrap; }
.work-tab{
  font-family:'Space Mono'; font-size:13px;
  padding:9px 18px; border-radius:999px; border:1px solid var(--line);
  cursor:pointer; background:#fff; transition:.2s ease;
}
.work-tab.active, .work-tab:hover{ background:var(--ink); color:#fff; border-color:var(--ink); }
.work-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:22px;
}
.work-card{
  border-radius:18px; overflow:hidden; position:relative;
  aspect-ratio:4/5; cursor:pointer;
  background:linear-gradient(160deg, var(--lavender), #eee);
  background-size:cover; background-position:center;
}
.work-card:nth-child(3n+1){ background-image:url('assets/images/header_img/hi1.jpg'); }
.work-card:nth-child(3n+2){ background-image:url('assets/images/header_img/hi2.jpg'); }
.work-card:nth-child(3n+3){ background-image:url('assets/images/header_img/hi3.jpg'); }
.work-card .wc-fill{
  position:absolute; inset:0;
  background: linear-gradient(145deg, var(--violet-op, var(--violet)), transparent 70%);
  opacity:0.85;
}
.work-card:nth-child(2) .wc-fill{ --violet-op:#2c2740; }
.work-card:nth-child(3) .wc-fill{ --violet-op:#b5852c; }
.work-card:nth-child(5) .wc-fill{ --violet-op:#2c2740; }
.work-card:nth-child(6) .wc-fill{ --violet-op:#b5852c; }
.work-info{
  position:absolute; left:0; right:0; bottom:0; padding:22px;
  color:#fff; transform:translateY(60%); opacity:0; transition:.3s ease;
  background:linear-gradient(0deg, rgba(15,12,20,0.82) 0%, rgba(15,12,20,0.5) 60%, transparent 100%);
}
.work-card:hover .work-info{ transform:translateY(0); opacity:1; }
.work-card:hover{ transform:scale(1.02); }
.work-card{ transition:transform .3s ease; }
.work-info .tag{ font-family:'Space Mono'; font-size:12px; opacity:0.8; }
.work-info h3{ font-size:19px; margin-top:6px; font-weight:600; }
@media (max-width: 980px){ .work-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width: 620px){ .work-grid{ grid-template-columns:1fr; } }

/* ---------- TESTIMONIALS ---------- */
.testi-wrap{ position:relative; }
.testi-track{
  display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:10px;
  scrollbar-width:none;
}
.testi-track::-webkit-scrollbar{ display:none; }
.testi-card{
  min-width:340px; scroll-snap-align:start;
  background:#fff; border:1px solid var(--line); border-radius:18px; padding:32px;
}
.stars{ color:var(--gold); letter-spacing:2px; margin-bottom:16px; font-size:15px; }
.testi-card p{ font-size:15.5px; line-height:1.6; color:rgba(25,21,33,0.8); }
.testi-person{ display:flex; align-items:center; gap:12px; margin-top:22px; }
.avatar{
  width:42px; height:42px; border-radius:50%;
  background:var(--lavender); color:var(--violet); font-weight:700;
  display:flex; align-items:center; justify-content:center; font-family:'Space Grotesk';
}
.testi-person .name{ font-weight:600; font-size:14.5px; }
.testi-person .role{ font-size:12.5px; color:rgba(25,21,33,0.55); }

/* ---------- CONTACT ---------- */
.contact-panel{
  background:var(--ink);
  border-radius:28px;
  padding:70px 60px;
  color:#fff;
  display:grid; grid-template-columns:1fr 1fr; gap:50px;
  position:relative; overflow:hidden;
}
.contact-panel::before{
  content:""; position:absolute; width:400px; height:400px; border-radius:50%;
  background:radial-gradient(circle, rgba(91,61,245,0.5), transparent 65%);
  top:-160px; right:-120px;
}
.contact-panel h2{ font-size:clamp(28px,3.4vw,38px); position:relative; z-index:1; }
.contact-panel p{ margin-top:14px; color:rgba(255,255,255,0.65); max-width:380px; position:relative; z-index:1;}
.contact-form{ position:relative; z-index:1; display:flex; flex-direction:column; gap:14px; }
.contact-form input, .contact-form textarea{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.15);
  border-radius:10px; padding:14px 16px; color:#fff; font-family:'Inter';
  font-size:14.5px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder{ color:rgba(255,255,255,0.4); }
.contact-form textarea{ min-height:100px; resize:vertical; }
.btn-gold{
  background:var(--gold); color:var(--ink); font-weight:700;
  padding:14px 22px; border-radius:10px; border:none; cursor:pointer; font-size:15px;
  align-self:flex-start;
}
.btn-gold:disabled{ opacity:0.7; cursor:default; }
.form-msg{ font-size:13.5px; margin-top:4px; color:rgba(255,255,255,0.75); }
.form-msg.error{ color:#ffb3ab; }
@media (max-width: 880px){
  .contact-panel{ grid-template-columns:1fr; padding:44px 28px; border-radius:20px; }
}

/* ---------- FOOTER ---------- */
footer{ padding:50px 0 70px; }
.footer-inner{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:20px;
  border-top:1px solid var(--line); padding-top:34px;
}
.footer-inner .fmono{ font-family:'Space Mono'; font-size:13px; color:rgba(25,21,33,0.55); }
.foot-links{ display:flex; gap:24px; }
.foot-links a{ font-size:14px; font-weight:500; opacity:0.75; }
.foot-links a:hover{ opacity:1; color:var(--violet); }

/* ---------- INFO GRID (Education page personal details) ---------- */
.info-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:16px;
}
.info-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px 20px;
}
.info-card .lab{
  font-family:'Space Mono';
  font-size:11.5px;
  text-transform:uppercase;
  letter-spacing:0.06em;
  color:var(--violet);
  display:block;
  margin-bottom:6px;
}
.info-card .val{ font-size:15px; font-weight:600; line-height:1.4; }
.info-section-title{
  font-size:22px; font-weight:700; margin:48px 0 20px;
  font-family:'Space Grotesk', 'Noto Sans Devanagari', sans-serif;
}
.info-section-title:first-of-type{ margin-top:0; }
@media (max-width: 880px){
  .info-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px){
  .info-grid{ grid-template-columns:1fr; }
}

/* ---------- SUB-PAGE BANNER (News / Events) ---------- */
.page-banner{
  padding:150px 0 50px;
}
.page-banner h1{
  font-size:clamp(32px, 5vw, 50px);
  font-weight:700;
  line-height:1.08;
}
.page-banner p{
  margin-top:14px;
  color:rgba(25,21,33,0.65);
  font-size:16px;
  max-width:560px;
  line-height:1.6;
}

/* ---------- POST LIST (News / Events) ---------- */
.post-list{
  display:flex; flex-direction:column; gap:18px;
}
.post-card{
  display:flex; gap:22px; align-items:flex-start;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:26px 28px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 40px -24px rgba(25,21,33,0.25);
}
.post-date-badge{
  flex-shrink:0;
  min-width:80px;
  text-align:center;
  background:var(--lavender);
  color:var(--violet-deep);
  border-radius:12px;
  padding:12px 10px;
}
.post-date-badge .num{
  font-family:'Space Grotesk';
  font-weight:700;
  font-size:19px;
  line-height:1;
  display:block;
}
.post-date-badge .lab{
  font-family:'Space Mono';
  font-size:10.5px;
  opacity:0.75;
  margin-top:4px;
  display:block;
  letter-spacing:0.04em;
}
.post-body .post-tag{
  font-family:'Space Mono';
  font-size:12px;
  color:var(--violet);
  text-transform:uppercase;
  letter-spacing:0.08em;
  display:block;
  margin-bottom:6px;
}
.post-body h3{ font-size:19px; font-weight:600; margin-bottom:6px; }
.post-body p{ font-size:14.5px; color:rgba(25,21,33,0.65); line-height:1.6; }

.page-note{
  margin-top:40px;
  padding:22px 26px;
  border:1px dashed var(--line);
  border-radius:14px;
  color:rgba(25,21,33,0.6);
  font-size:14px;
  line-height:1.6;
}

/* ---------- GALLERY ---------- */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));
  gap:18px;
}
.gallery-item{
  position:relative;
  aspect-ratio:1/1;
  border-radius:16px;
  overflow:hidden;
  cursor:pointer;
  border:1px solid var(--line);
  background:var(--lavender);
}
.gallery-item img{
  width:100%; height:100%;
  object-fit:cover;
  display:block;
  filter:grayscale(100%);
  transition: transform .35s ease, filter .45s ease;
}
.gallery-item:hover img{ transform:scale(1.06); filter:grayscale(0%); }
.gallery-item::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(200deg, rgba(25,21,33,0) 55%, rgba(25,21,33,0.35));
  opacity:0; transition:opacity .25s ease;
}
.gallery-item:hover::after{ opacity:1; }

.lightbox{
  position:fixed; inset:0; z-index:200;
  background:rgba(15,12,20,0.92);
  display:none; align-items:center; justify-content:center;
  padding:40px;
}
.lightbox.open{ display:flex; }
.lightbox img{
  max-width:min(90vw, 1000px); max-height:85vh;
  border-radius:14px;
  box-shadow:0 30px 70px -20px rgba(0,0,0,0.6);
}
.lightbox-close, .lightbox-nav{
  position:absolute;
  background:rgba(255,255,255,0.12);
  border:none; color:#fff;
  border-radius:50%;
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  cursor:pointer;
  transition: background .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover{ background:rgba(255,255,255,0.24); }
.lightbox-close{ top:24px; right:24px; }
.lightbox-nav.prev{ left:24px; top:50%; transform:translateY(-50%); }
.lightbox-nav.next{ right:24px; top:50%; transform:translateY(-50%); }
@media (max-width: 640px){
  .lightbox{ padding:16px; }
  .lightbox-nav, .lightbox-close{ width:40px; height:40px; }
}

@media (max-width: 600px){

  .post-card{ flex-direction:column; gap:12px; }
  .post-date-badge{ display:inline-flex; align-items:center; gap:6px; padding:6px 12px; }
  .post-date-badge .num,.post-date-badge .lab{ display:inline; margin:0; }
}


/* ---------- BACK TO TOP ---------- */
.to-top{
  position:fixed; bottom:28px; right:28px; z-index:90;
  width:48px; height:48px; border-radius:12px;
  background:var(--violet); color:#fff;
  display:flex; align-items:center; justify-content:center;
  border:none; cursor:pointer;
  opacity:0; pointer-events:none; transform:translateY(10px);
  transition:.3s ease;
  box-shadow:0 10px 22px -10px rgba(91,61,245,0.6);
}
.to-top.show{ opacity:1; pointer-events:auto; transform:translateY(0); }
