/* ═══════════════════════════════════════════
   ShaktiSquad Infotech — Main Stylesheet
   Fonts: Cormorant Garamond (display) + Outfit (body)
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=Outfit:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07080c;
  --bg2:       #0d0f17;
  --bg3:       #131520;
  --surface:   #1a1d2e;
  --accent:    #ffa300;
  --accent2:   #ffc84d;
  --accent-dim:rgba(255,163,0,0.13);
  --text:      #EEE9DF;
  --muted:     #7a7d8c;
  --subdued:   #3a3d50;
  --border:    rgba(255,255,255,0.06);
  --border2:   rgba(255,163,0,0.25);
  --r:  4px;
  --rl: 8px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar        { width: 4px; }
::-webkit-scrollbar-track  { background: var(--bg); }
::-webkit-scrollbar-thumb  { background: var(--accent); border-radius: 2px; }

/* ─── PAGE SYSTEM ─── */
.page         { display: none; }
.page.active  { display: block; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 5vw;
  transition: padding .4s, background .4s, border-color .4s;
  border-bottom: 2px solid #212837;
}
#nav.scrolled {
  padding: 1rem 5vw;
  background: rgba(7,8,12,.95);
  backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

.nav-logo { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.nav-logo-mark {
  width: 36px; height: 36px; border-radius: var(--r);
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-weight: 700; color: var(--bg); flex-shrink: 0;
}
.nav-logo-text {
  font-family: 'Outfit', sans-serif; font-size: .92rem;
  font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text);
}
.nav-logo-text span { color: var(--accent); }

.nav-center {
  display: flex; gap: 2.75rem; list-style: none;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-center a {
  font-size: .78rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color .2s;
  position: relative; padding-bottom: 3px;
}
.nav-center a::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-center a:hover                     { color: var(--text); }
.nav-center a:hover::after,
.nav-center a.active::after             { transform: scaleX(1); }
.nav-center a.active                    { color: var(--text); }

.btn-nav {
  font-size: .76rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent);
  text-decoration: none; border: 1px solid var(--border2);
  padding: .55rem 1.4rem; border-radius: var(--r);
  transition: background .2s, color .2s;
}
.btn-nav:hover { background: var(--accent); color: var(--bg); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 22px; height: 1.5px; background: var(--text); display: block; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: var(--bg2); flex-direction: column;
  padding: 7rem 5vw 3rem; gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem; font-weight: 600; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--border);
  padding: 1rem 0; transition: color .2s;
  opacity: 0; animation: fadeUp .4s forwards;
}
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu a:nth-child(1) { animation-delay: .05s; }
.mobile-menu a:nth-child(2) { animation-delay: .10s; }
.mobile-menu a:nth-child(3) { animation-delay: .15s; }
.mobile-menu a:nth-child(4) { animation-delay: .20s; }
.mobile-menu a:nth-child(5) { animation-delay: .25s; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh; height: 100svh;
  min-height: 640px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
#heroCanvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(0deg, rgba(7,8,12,.95) 0%, rgba(7,8,12,.4) 45%, rgba(7,8,12,.12) 75%, transparent 100%),
    linear-gradient(90deg, rgba(7,8,12,.45) 0%, transparent 60%);
}
/* Spacer pushes content down past nav height */
.hero-spacer { flex: 1; }
.hero-content {
  position: relative; z-index: 2;
  padding: 0 5vw 5.5rem;
  max-width: 920px; width: 100%;
}

.hero-eyebrow {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.75rem;
  opacity: 0; animation: fadeUp .7s .3s forwards;
}
.hero-line   { width: 40px; height: 1px; background: var(--accent); }
.hero-eyebrow span {
  font-size: .72rem; font-weight: 500; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent);
}
.hero-h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6.5vw, 6rem);
  font-weight: 600; line-height: .93; letter-spacing: -.025em; color: #fff;
  opacity: 0; animation: fadeUp .8s .45s forwards;
}
.hero-h1 em   { font-style: italic; color: var(--accent); }
.hero-h1 .thin{ font-weight: 400; }
.hero-sub {
  max-width: 510px; margin-top: 1.75rem;
  font-size: 1.02rem; line-height: 1.75;
  color: rgba(255,255,255,0.90); font-weight: 300;
  opacity: 0; animation: fadeUp .7s .6s forwards;
}
.hero-btns {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2.5rem;
  opacity: 0; animation: fadeUp .7s .75s forwards;
}
.hero-scroll-ind {
  position: absolute; bottom: 2.75rem; right: 5vw; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  opacity: 0; animation: fadeUp .6s 1.1s forwards;
}
.hsi-line {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, var(--accent) 0%, transparent 100%);
  animation: scPulse 2s ease-in-out infinite;
}
.hsi-text { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn-p {
  background: var(--accent); color: var(--bg);
  padding: .9rem 2.2rem; border-radius: var(--r);
  font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-decoration: none; text-transform: uppercase;
  transition: background .2s, transform .2s;
  display: inline-flex; align-items: center; gap: .6rem;
}
.btn-p:hover  { background: var(--accent2); transform: translateY(-2px); }
.btn-p svg    { width: 14px; height: 14px; stroke: var(--bg); fill: none; stroke-width: 2; }
.btn-g {
  color: var(--text); padding: .9rem 0;
  font-size: .8rem; font-weight: 500; letter-spacing: .1em;
  text-decoration: none; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .6rem;
  border-bottom: 1px solid var(--subdued); transition: border-color .2s, color .2s;
}
.btn-g:hover  { color: var(--accent); border-color: var(--accent); }

/* ═══════════════════════════════════════════
   TICKER / MARQUEE
═══════════════════════════════════════════ */
.ticker        { background: var(--accent); padding: .65rem 0; overflow: hidden; }
.ticker-track  { display: flex; animation: tickerAnim 28s linear infinite; width: max-content; }
.ticker-item   {
  display: flex; align-items: center; gap: 2.5rem; padding: 0 2.5rem;
  white-space: nowrap; font-size: .7rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--bg);
}
.ticker-dot    { width: 4px; height: 4px; border-radius: 50%; background: rgba(7,8,12,.35); }

/* ═══════════════════════════════════════════
   SECTION COMMONS
═══════════════════════════════════════════ */
section { padding: 7rem 5vw; }
.label {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .7rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 1.25rem;
}
.label::before { content: ''; width: 28px; height: 1px; background: var(--accent); }
.dtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem,4.5vw,3.8rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -.02em;
}
.dtitle em   { font-style: italic; color: var(--accent); }
.btext       { font-size: .96rem; line-height: 1.8; color: var(--muted); font-weight: 300; max-width: 560px; }

/* ═══════════════════════════════════════════
   ABOUT SECTION
═══════════════════════════════════════════ */
#about { background: var(--bg2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-visual { position: relative; }

/* Group photo card */
.acard {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden; position: relative;
}
.acard-img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block;
}
.acard-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(7,8,12,.95), transparent);
  padding: 2rem 1.75rem 1.75rem;
}
.acard-label h4  { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: .2rem; }
.acard-label span{ font-size: .78rem; color: var(--accent); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; }

.astats { position: absolute; top: -1.5rem; right: -1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.astat  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: .9rem 1.25rem; text-align: right; min-width: 130px; }
.astat .v { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 700; color: var(--accent); line-height: 1; }
.astat .k { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

.about-txt .btext { margin: 1.25rem 0 2rem; }
.pillars { display: flex; flex-direction: column; gap: 1px; }
.pillar  {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; background: var(--bg3); border: 1px solid var(--border);
  transition: background .25s, border-color .25s; cursor: default;
}
.pillar:first-child { border-radius: var(--r) var(--r) 0 0; }
.pillar:last-child  { border-radius: 0 0 var(--r) var(--r); }
.pillar:hover       { background: var(--surface); border-color: var(--border2); }
.pl  { display: flex; align-items: center; gap: .9rem; }
.pn  { font-family: 'Cormorant Garamond', serif; font-size: .92rem; color: var(--accent); font-weight: 700; width: 22px; flex-shrink: 0; }
.pm  { font-size: .9rem; font-weight: 500; }
.pa  { font-size: .7rem; color: var(--accent); opacity: 0; transition: opacity .2s; }
.pillar:hover .pa { opacity: 1; }

/* ═══════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════ */
#services { background: var(--bg); }
.svc-top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2rem; margin-bottom: 4rem; }
.svc-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
}
.svc {
  background: var(--bg); padding: 3rem 2.5rem;
  position: relative; overflow: hidden; transition: background .3s; cursor: default;
}
.svc:hover { background: var(--bg2); }
.svc::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 3px;
  background: var(--accent); transform: scaleY(0); transform-origin: bottom;
  transition: transform .4s ease;
}
.svc:hover::before  { transform: scaleY(1); }
.svc-hdr { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; }
.svc-n {
  font-family: 'Cormorant Garamond', serif; font-size: 3rem;
  font-weight: 700; line-height: 1; color: var(--subdued); transition: color .3s;
}
.svc:hover .svc-n { color: rgba(255,163,0,.2); }
.svc-ico {
  width: 48px; height: 48px; border-radius: var(--r);
  border: 1px solid var(--border); background: var(--bg3);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s, background .3s;
}
.svc:hover .svc-ico          { border-color: var(--border2); background: var(--accent-dim); }
.svc-ico svg                 { width: 20px; height: 20px; stroke: var(--muted); fill: none; stroke-width: 1.5; transition: stroke .3s; }
.svc:hover .svc-ico svg      { stroke: var(--accent); }
.svc h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.55rem;
  font-weight: 600; line-height: 1.2; margin-bottom: .9rem;
}
.svc p       { font-size: .87rem; line-height: 1.72; color: var(--muted); }
.svc-lnk    {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.5rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); text-decoration: none;
  opacity: 0; transition: opacity .25s;
}
.svc:hover .svc-lnk { opacity: 1; }

/* ═══════════════════════════════════════════
   TEAM
═══════════════════════════════════════════ */
#team { background: var(--bg2); }
.team-layout  { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.team-sticky  { position: sticky; top: 7rem; }
.team-sticky .btext { margin: 1.25rem 0 2rem; }
.tgrid        { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.tc {
  background: var(--bg3); border: 1px solid var(--border);
  border-radius: var(--rl); overflow: hidden;
  transition: transform .25s, border-color .25s;
  position: relative;
}
.tc:hover           { transform: translateY(-4px); border-color: var(--border2); }
.tc::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.tc:hover::after    { transform: scaleX(1); }

/* Team photo — compact circular portrait */
.tc-photo-wrap {
  display: flex; justify-content: center;
  padding: 1.75rem 1.75rem 0;
}
.tc-photo-wrap img {
  width: 110px; height: 110px;
  border-radius: 50%;
  object-fit: cover; object-position: top center; display: block;
  border: 3px solid var(--border2);
  transition: transform .4s ease, border-color .3s;
}
.tc:hover .tc-photo-wrap img { transform: scale(1.05); border-color: var(--accent); }
.tc-info { padding: 1rem 1.5rem 1.5rem; text-align: center; }
.tc-name { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; font-weight: 600; margin-bottom: .3rem; }
.tc-role { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* ═══════════════════════════════════════════
   REVIEWS / TESTIMONIALS
═══════════════════════════════════════════ */
#reviews    { background: var(--bg); overflow: hidden; }
.rev-top    { margin-bottom: 3.5rem; }
.revmask {
  -webkit-mask: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.rev-track  { display: flex; gap: 1.5rem; animation: revScroll 42s linear infinite; width: max-content; }
.rev-track:hover { animation-play-state: paused; }
.rc { flex-shrink: 0; width: 340px; background: var(--bg3); border: 1px solid var(--border); border-radius: var(--rl); padding: 2rem 1.75rem; }
.rc-q  { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; color: var(--accent); line-height: 1; margin-bottom: .6rem; }
.rc-t  { font-size: .87rem; line-height: 1.72; color: var(--muted); margin-bottom: 1.5rem; }
.rc-f  { display: flex; align-items: center; gap: .9rem; }
.rc-av { width: 40px; height: 40px; border-radius: var(--r); background: linear-gradient(135deg, var(--accent), var(--accent2)); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; color: var(--bg); flex-shrink: 0; }
.rc-name  { font-size: .88rem; font-weight: 600; }
.rc-stars { font-size: .7rem; color: var(--accent); margin-top: .1rem; }

/* ═══════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════ */
#contact { background: var(--bg2); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: start; }
.cleft .btext { margin: 1.25rem 0 2.5rem; }
.ci {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.1rem 1.25rem; border: 1px solid var(--border);
  border-radius: var(--r); background: var(--bg3); margin-bottom: .75rem;
}
.ci-ico { width: 34px; height: 34px; border-radius: var(--r); background: var(--accent-dim); border: 1px solid var(--border2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ci-ico svg { width: 15px; height: 15px; stroke: var(--accent); fill: none; stroke-width: 1.8; }
.ci-l { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; display: block; margin-bottom: .25rem; }
.ci-v { font-size: .9rem; font-weight: 400; color: var(--text); }
.cform { display: flex; flex-direction: column; gap: 1.1rem; }
.crow  { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.fg    { display: flex; flex-direction: column; gap: .42rem; }
.fl    { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.fg input,
.fg textarea,
.fg select {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: .9rem 1.1rem; border-radius: var(--r);
  font-size: .9rem; font-family: 'Outfit', sans-serif; font-weight: 300;
  transition: border-color .2s, box-shadow .2s; outline: none; resize: vertical; appearance: none;
}
.fg input::placeholder,
.fg textarea::placeholder { color: var(--subdued); }
.fg select option { background: var(--bg3); }
.fg input:focus,
.fg textarea:focus,
.fg select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255,163,0,.1); }
.fg textarea  { min-height: 140px; }
.btn-send {
  background: var(--accent); color: var(--bg);
  padding: 1rem 2.5rem; border-radius: var(--r);
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; border: none; cursor: pointer;
  transition: background .2s, transform .2s;
  align-self: flex-start; display: inline-flex; align-items: center; gap: .6rem;
}
.btn-send:hover { background: var(--accent2); transform: translateY(-2px); }
.btn-send svg   { width: 13px; height: 13px; stroke: var(--bg); fill: none; stroke-width: 2; }
.cf-note { font-size: .74rem; color: var(--muted); margin-top: .2rem; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 5rem 5vw 2.5rem; }
.ft-top {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3.5rem; padding-bottom: 4rem;
  border-bottom: 1px solid var(--border); margin-bottom: 2.5rem;
}
.fb p { font-size: .85rem; color: var(--muted); line-height: 1.7; max-width: 250px; margin: .75rem 0 1.75rem; font-weight: 300; }
.fnl  { display: flex; gap: .5rem; }
.fnl input  {
  background: var(--bg3); border: 1px solid var(--border);
  color: var(--text); padding: .7rem 1rem; border-radius: var(--r);
  font-size: .85rem; font-family: 'Outfit', sans-serif; outline: none; flex: 1; min-width: 0;
}
.fnl input:focus { border-color: var(--accent); }
.fnl button {
  background: var(--accent); color: var(--bg); border: none;
  padding: .7rem 1.1rem; border-radius: var(--r); font-size: .78rem;
  font-weight: 700; cursor: pointer; white-space: nowrap; text-transform: uppercase;
}
.fcol h5 { font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--text); margin-bottom: 1.5rem; }
.fcol ul  { list-style: none; display: flex; flex-direction: column; gap: .75rem; }
.fcol ul a { font-size: .85rem; color: var(--muted); text-decoration: none; font-weight: 300; transition: color .2s; }
.fcol ul a:hover { color: var(--accent); }
.ft-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.ft-bot p { font-size: .78rem; color: var(--muted); }

/* ═══════════════════════════════════════════
   PORTFOLIO PAGE
═══════════════════════════════════════════ */
#page-portfolio { background: var(--bg); }
.pf-hero {
  padding: 10rem 5vw 4rem; border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.pf-hero::before {
  content: 'WORK'; position: absolute; right: 3vw; top: 50%; transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem,18vw,16rem); font-weight: 700;
  color: rgba(255,163,0,.05); line-height: 1;
  pointer-events: none; user-select: none;
}
.pf-hero-c { position: relative; z-index: 1; }
.pf-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem,7vw,6rem); font-weight: 600; line-height: .95; letter-spacing: -.025em;
}
.pf-hero h1 em { font-style: italic; color: var(--accent); }
.pf-hero p { margin-top: 1.25rem; max-width: 500px; font-size: 1rem; color: var(--muted); font-weight: 300; line-height: 1.75; }

/* Filter bar */
.pf-ctrl {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem; padding: 1.75rem 5vw;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 68px; z-index: 10;
  background: rgba(7,8,12,.97); backdrop-filter: blur(16px);
}
.ftabs  { display: flex; gap: .4rem; flex-wrap: wrap; }
.ftab {
  font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .48rem 1.1rem; border-radius: var(--r);
  border: 1px solid var(--border); background: transparent; color: var(--muted);
  cursor: pointer; transition: all .2s;
}
.ftab:hover  { color: var(--text); border-color: var(--subdued); }
.ftab.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.pf-cnt      { font-size: .76rem; color: var(--muted); letter-spacing: .08em; }
.pf-cnt span { color: var(--accent); font-weight: 600; }

/* Grid */
.pf-wrap { padding: 3rem 5vw 5rem; }
.pf-cat  { margin-bottom: 4rem; }
.pf-cat-hdr {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border);
}
.pf-cat-left  { display: flex; align-items: center; gap: 1rem; }
.pf-cat-name  { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 600; }
.pf-cat-badge { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--bg3); border: 1px solid var(--border); padding: .2rem .6rem; border-radius: 2rem; }
.pf-items { display: flex; flex-direction: column; gap: 1px; }

.pf-item {
  display: grid; grid-template-columns: 320px 1fr;
  align-items: start; gap: 2.5rem; padding: 2rem;
  background: var(--bg3); border: 1px solid var(--border);
  transition: background .25s, border-color .25s; cursor: default;
}
.pf-item:first-child { border-radius: var(--r) var(--r) 0 0; }
.pf-item:last-child  { border-radius: 0 0 var(--r) var(--r); }
.pf-item:only-child  { border-radius: var(--r); }
.pf-item + .pf-item  { border-top: none; }
.pf-item:hover       { background: var(--surface); border-color: var(--border2); }

.pf-thumb { width: 100%; border-radius: var(--r); overflow: hidden; background: var(--surface); flex-shrink: 0; }
.pf-thumb img { width: 100%; height: auto; display: block; object-fit: cover; transition: transform .4s ease; }
.pf-item:hover .pf-thumb img { transform: scale(1.02); }

.pf-meta      { flex: 1; min-width: 0; padding-top: .25rem; }
.pf-cat-tag   { font-size: .67rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: .55rem; }
.pf-title     { font-family: 'Cormorant Garamond', serif; font-size: 1.55rem; font-weight: 600; line-height: 1.2; margin-bottom: .5rem; }
.pf-desc      { font-size: .87rem; color: var(--muted); line-height: 1.65; font-weight: 300; }
.pf-tags      { display: flex; gap: .45rem; flex-wrap: wrap; margin-top: .8rem; }
.pf-tag       { font-size: .68rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--bg); border: 1px solid var(--border); padding: .18rem .55rem; border-radius: 2rem; }

/* ═══════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════ */
@keyframes fadeUp    { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scPulse   { 0%,100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(.55); opacity: .4; } }
@keyframes tickerAnim{ 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes revScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.rev { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.rev.vis { opacity: 1; transform: none; }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .astats    { display: none; }
  .svc-grid  { grid-template-columns: 1fr; }
  .team-layout { grid-template-columns: 1fr; gap: 3rem; }
  .team-sticky { position: static; }
  .ft-top    { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav-center, .btn-nav { display: none; }
  .hamburger            { display: flex; }
  .about-grid           { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .pf-item              { grid-template-columns: 1fr; }
  .hero-h1              { font-size: clamp(2.6rem, 9vw, 4.5rem) !important; }
}
@media (max-width: 640px) {
  .ft-top  { grid-template-columns: 1fr; }
  .crow    { grid-template-columns: 1fr; }
  .pf-ctrl { flex-direction: column; align-items: flex-start; }
  .tgrid   { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   LOGO — SVG image variant
═══════════════════════════════════════════ */
.nav-logo-img {
  height: 32px;    /* fits neatly inside nav */
  width: auto;
  display: block;
  /* The SVG is golden — force it to white on dark bg for nav legibility */
  filter: brightness(0) invert(1);
  transition: filter .25s;
}
/* On scrolled/light contexts keep the original gold */
#nav.scrolled .nav-logo-img,
.nav-logo:hover .nav-logo-img {
  filter: none;   /* shows original #ffa300 gold */
}
.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: none;  /* always show gold in footer */
  opacity: .85;
  transition: opacity .2s;
}
.footer-logo-img:hover { opacity: 1; }

/* ═══════════════════════════════════════════
   LIGHTBOX / MEDIA POPUP
═══════════════════════════════════════════ */
.lightbox-backdrop {
  /* Hidden by default — JS adds .open to show */
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(7,8,12,0.95);
  backdrop-filter: blur(12px);
  align-items: center; justify-content: center;
  padding: 1.5rem;
}
.lightbox-backdrop.open {
  display: flex;
  animation: lbFadeIn .22s ease forwards;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox-box {
  position: relative;
  width: 100%; max-width: 1000px;
}
.lightbox-backdrop.open .lightbox-box {
  animation: lbSlideUp .28s ease forwards;
}
@keyframes lbSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Close button — top right corner */
.lightbox-close {
  position: absolute;
  top: -48px; right: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s, transform .2s;
  z-index: 2;
}
.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}

/* Media wrapper — 16:9 box that scales with viewport */
.lightbox-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--rl);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
}
.lightbox-media img,
.lightbox-media video,
.lightbox-media iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain; /* contain keeps full image visible */
  display: block;
  border: none;
}

/* Caption bar below media */
.lightbox-caption {
  display: flex; align-items: center; justify-content: space-between;
  padding: .85rem 0 0;
  flex-wrap: wrap; gap: .5rem;
}
.lightbox-caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; font-weight: 600;
  color: #fff;
}
.lightbox-caption-cat {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
}

/* Make portfolio thumbnails feel clickable */
.pf-thumb { cursor: zoom-in; }
.pf-thumb img { transition: transform .35s ease, opacity .25s; }
.pf-item:hover .pf-thumb img { transform: scale(1.03); }

/* ═══════════════════════════════════════════
   VIDEO THUMBNAIL — play button overlay
═══════════════════════════════════════════ */

/* Position the thumb wrapper as a relative container */
.pf-thumb--video {
  position: relative;
  cursor: pointer;
}

/* Play button sits centred over the thumbnail image */
.pf-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* the parent .pf-item handles the click */
  transition: opacity .25s;
}
.pf-play-btn svg {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform .25s;
}

/* Slightly dim the thumbnail and enlarge the play icon on hover */
.pf-item:hover .pf-thumb--video img {
  opacity: 0.85;
}
.pf-item:hover .pf-play-btn svg {
  transform: scale(1.12);
}

/* "VIDEO" badge in top-left corner of video thumbs */
.pf-thumb--video::before {
  content: '▶ VIDEO';
  position: absolute;
  top: .6rem;
  left: .6rem;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--bg);
  background: var(--accent);
  padding: .2rem .55rem;
  border-radius: 2px;
  z-index: 1;
  pointer-events: none;
}


/* ═══════════════════════════════════════════
   SHAKTI CHATBOT WIDGET
═══════════════════════════════════════════ */

/* Toggle button */
#ss-chat-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(255,163,0,0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}
#ss-chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(255,163,0,0.5);
}
#ss-chat-toggle svg {
  width: 24px;
  height: 24px;
  stroke: var(--bg);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.15s;
}
#ss-chat-toggle .ico-open  { display: block; }
#ss-chat-toggle .ico-close { display: none; }
#ss-chat-toggle.open .ico-open  { display: none; }
#ss-chat-toggle.open .ico-close { display: block; }

/* Unread badge */
#ss-chat-badge {
  position: absolute;
  top: 2px; right: 2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #e05c5c;
  border: 2px solid var(--bg);
  display: none;
}
#ss-chat-badge.show { display: block; }

/* Chat window */
#ss-chat-window {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  z-index: 9998;
  width: 360px;
  max-height: 560px;
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.92) translateY(12px);
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
#ss-chat-window.open {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

/* Header */
#ss-chat-header {
  background: var(--bg3);
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.ss-chat-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ss-chat-avatar svg {
  width: 18px; height: 18px;
  stroke: var(--bg);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ss-chat-header-info { flex: 1; }
.ss-chat-header-info strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}
.ss-chat-header-info span {
  font-size: 11px;
  color: var(--muted);
}
.ss-chat-status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #2dd4a0;
  display: inline-block;
  margin-right: 4px;
  vertical-align: middle;
  animation: ss-pulse 2s infinite;
}
@keyframes ss-pulse {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.35; }
}
#ss-chat-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  line-height: 1;
  font-size: 18px;
  transition: color 0.15s;
}
#ss-chat-close-btn:hover { color: var(--text); }

/* Messages area */
#ss-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  max-height: 340px;
}
#ss-chat-messages::-webkit-scrollbar { width: 3px; }
#ss-chat-messages::-webkit-scrollbar-track { background: transparent; }
#ss-chat-messages::-webkit-scrollbar-thumb { background: var(--subdued); border-radius: 2px; }

/* Message bubbles */
.ss-msg {
  max-width: 86%;
  display: flex;
  flex-direction: column;
  gap: 3px;
  animation: ss-fadeup 0.2s ease;
}
@keyframes ss-fadeup {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
.ss-msg.bot  { align-self: flex-start; }
.ss-msg.user { align-self: flex-end; }

.ss-msg-bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  font-family: 'Outfit', sans-serif;
}
.ss-msg.bot .ss-msg-bubble {
  background: var(--surface);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.ss-msg.user .ss-msg-bubble {
  background: var(--accent);
  color: var(--bg);
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.ss-msg-time {
  font-size: 10px;
  color: var(--subdued);
  font-family: 'Outfit', sans-serif;
}
.ss-msg.user .ss-msg-time { text-align: right; }

/* Typing indicator */
.ss-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 13px;
  background: var(--surface);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  width: fit-content;
  align-self: flex-start;
  animation: ss-fadeup 0.2s ease;
}
.ss-typing span {
  width: 6px; height: 6px;
  background: var(--muted);
  border-radius: 50%;
  display: inline-block;
  animation: ss-bounce 1.2s infinite;
}
.ss-typing span:nth-child(2) { animation-delay: 0.2s; }
.ss-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes ss-bounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-5px); }
}

/* Quick chips */
#ss-chat-chips {
  padding: 0 14px 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex-shrink: 0;
}
.ss-chip {
  background: transparent;
  border: 1px solid var(--subdued);
  color: var(--muted);
  font-family: 'Outfit', sans-serif;
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 20px;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.ss-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Input row */
#ss-chat-input-row {
  padding: 12px 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg2);
  flex-shrink: 0;
}
#ss-chat-input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--subdued);
  border-radius: 24px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  padding: 9px 14px;
  outline: none;
  transition: border-color 0.15s;
}
#ss-chat-input:focus { border-color: var(--accent); }
#ss-chat-input::placeholder { color: var(--subdued); }
#ss-chat-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
}
#ss-chat-send:hover {
  transform: scale(1.08);
  box-shadow: 0 3px 14px rgba(255,163,0,0.4);
}
#ss-chat-send svg {
  width: 15px; height: 15px;
  stroke: var(--bg);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Mobile responsive */
@media (max-width: 480px) {
  #ss-chat-window {
    right: 1rem;
    left: 1rem;
    width: auto;
    bottom: 5.5rem;
  }
  #ss-chat-toggle {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}
