/* ===== Vikshu's Hub – styles ===== */
:root {
  --purple-900: #1e0a3c;
  --purple-800: #2d0f5a;
  --purple-700: #3d1677;
  --purple-500: #6b2fc4;
  --purple-100: #f1eafb;
  --orange: #f7931e;
  --orange-dark: #e2700f;
  --green: #25d366;
  --green-dark: #1da851;
  --ink: #1b1530;
  --muted: #625b75;
  --tint: #f8f5fd;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(45, 15, 90, 0.10);
  --shadow-lg: 0 20px 50px rgba(45, 15, 90, 0.18);
  --rainbow: linear-gradient(90deg, #6b2fc4, #e8336d, #f7931e, #f2c230, #3bb54a, #1e88e5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--purple-900); }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
.h2-sm { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.h3 { font-size: 1.25rem; font-weight: 700; }
small { font-weight: 500; color: var(--muted); }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; margin-top: 2rem; }
.muted { color: var(--muted); font-size: .92rem; }
.muted-light { color: rgba(255,255,255,.7); margin: .25em 0; }
.small { font-size: .85rem; }
.lead { font-size: 1.08rem; color: var(--muted); }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--orange-dark); margin-bottom: .6rem;
}
.eyebrow--light { color: var(--orange); }

.grad {
  background: linear-gradient(90deg, var(--purple-500), #e8336d 55%, var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad--light { background-image: linear-gradient(90deg, #ffb347, #ff6fa0 50%, #b88cff); }

.script { font-family: "Caveat", cursive; font-size: 1.9rem; margin: 0 0 .3em; }
.script--light { color: #ffd59a; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: inherit; font-weight: 600; border: 0; border-radius: 999px; padding: .75em 1.4em;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--wa { background: var(--green); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.btn--wa:hover { background: var(--green-dark); }
.btn--ghost { background: #fff; color: var(--purple-800); border: 2px solid var(--purple-800); }
.btn--ghost:hover { background: var(--purple-800); color: #fff; }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }
.btn--lg { padding: .95em 1.7em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ===== Top bar ===== */
.topbar {
  display: block; text-align: center; font-size: .85rem; padding: .55rem 16px;
  background: var(--purple-900); color: #fff;
}
.topbar strong { color: var(--orange); letter-spacing: .05em; }
.topbar u { text-underline-offset: 3px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(45,15,90,.08);
}
.header::after { content: ""; display: block; height: 3px; background: var(--rainbow); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; height: 92px; }
/* logo.jpg has lots of white space around the mark – crop it inside a fixed box */
.brand { position: relative; flex: none; width: 230px; height: 84px; overflow: hidden; }
.brand__logo {
  position: absolute; left: 50%; top: 50%; width: 330px; max-width: none;
  transform: translate(-49%, -49%); mix-blend-mode: multiply;
}
.nav { display: flex; gap: 1.8rem; margin-left: auto; font-weight: 500; }
.nav a { position: relative; color: var(--purple-900); }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
  background: var(--orange); transition: width .2s;
}
.nav a:hover::after { width: 100%; }
.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; padding: 4rem 0 4.5rem; background: linear-gradient(180deg, #fff 0%, var(--tint) 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero__lead { font-size: 1.1rem; color: var(--muted); max-width: 520px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.6rem 0 2rem; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badges li {
  background: #fff; border-radius: 14px; padding: .7rem 1.1rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; min-width: 120px;
}
.hero__badges strong { color: var(--purple-800); font-size: 1.15rem; }
.hero__badges span { font-size: .8rem; color: var(--muted); }

.hero__collage { position: relative; height: 460px; }
.hero__collage img {
  position: absolute; width: 58%; aspect-ratio: 4/5; object-fit: cover; border-radius: 20px;
  border: 6px solid #fff; box-shadow: var(--shadow-lg); background: #fff;
}
.hero__collage .c1 { left: 0; top: 30px; transform: rotate(-5deg); z-index: 1; }
.hero__collage .c2 { right: 0; top: 0; transform: rotate(4deg); z-index: 2; }
.hero__collage .c3 { left: 22%; bottom: -10px; width: 50%; transform: rotate(-1deg); z-index: 3; }

.splash { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none; }
.splash--1 { width: 340px; height: 340px; background: #f7931e; top: -80px; right: 8%; }
.splash--2 { width: 300px; height: 300px; background: #6b2fc4; bottom: -120px; left: -60px; }

/* ===== Client logos marquee ===== */
.clients { padding: 2.2rem 0; border-bottom: 1px solid #eee7f7; background: #fff; }
.clients__title { text-align: center; font-weight: 600; color: var(--muted); font-size: .95rem; margin-bottom: 1.3rem; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 1.2rem; width: max-content; animation: scroll 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-card {
  flex: none; width: 170px; height: 96px; border-radius: 14px; overflow: hidden;
  background: #fff; border: 1px solid #eee7f7; display: block; padding: 6px;
  box-shadow: 0 4px 12px rgba(45,15,90,.06);
}
.logo-card img { width: 100%; height: 100%; object-fit: contain; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Top brands ===== */
.center-text { display: block; text-align: center; }
.top-brands { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 0 0 2.2rem; }
.top-brand {
  margin: 0; background: #fff; border-radius: 18px; overflow: hidden; cursor: zoom-in;
  border: 1px solid #eee7f7; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
}
.top-brand:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.top-brand--static { cursor: default; }
.top-brand__logo { aspect-ratio: 4 / 3; background: #fff; display: block; }
.top-brand__logo img { width: 100%; height: 100%; object-fit: contain; }
.top-brand figcaption { padding: .7rem .8rem .9rem; text-align: center; border-top: 1px solid #f1ecf8; }
.top-brand strong { display: block; font-size: .92rem; color: var(--purple-900); line-height: 1.3; }
.top-brand span { font-size: .78rem; color: var(--orange-dark); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 5rem 0; }
.section--slim { padding: 3.2rem 0; }
.section--tint { background: var(--tint); }
.section--dark { background: radial-gradient(1200px 500px at 80% 0%, #4a1c8f 0%, var(--purple-900) 60%); color: #fff; }
.section--dark h2 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head--left { text-align: left; margin: 0 0 1.5rem; max-width: none; }
.section__sub { color: var(--muted); margin: 0; }

/* ===== Corporate special ===== */
.corp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.ribbon {
  display: inline-block; background: linear-gradient(90deg, var(--orange), #e8336d); color: #fff;
  font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .4em 1em; border-radius: 6px; margin-bottom: 1rem;
}
.perks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.perks li { display: flex; gap: .8rem; align-items: flex-start; background: var(--tint); border-radius: 14px; padding: .85rem 1rem; }
.perks b { font-size: 1.4rem; line-height: 1; }
.perks strong { display: block; font-size: .95rem; color: var(--purple-900); }
.perks span { font-size: .82rem; color: var(--muted); }
.uses { font-size: .88rem; font-weight: 600; color: var(--purple-900); margin-bottom: 1.6rem; }
.uses span {
  display: inline-block; font-weight: 500; background: #fff; border: 1px solid #e3d9f3;
  border-radius: 999px; padding: .15em .8em; margin: .25rem .25rem 0 0; color: var(--purple-700);
}
.corp__visual img { border-radius: 24px; box-shadow: var(--shadow-lg); cursor: zoom-in; }

/* ===== Case study ===== */
.case { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.case__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.case__imgs img { border-radius: 14px; cursor: zoom-in; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; background: #fff; }
.case__imgs img:last-child { grid-column: span 2; aspect-ratio: 2 / 1; }
.case__text p { color: rgba(255,255,255,.8); }
.timeline { list-style: none; padding: 0; margin: 1.5rem 0 1.8rem; display: grid; gap: .7rem; counter-reset: t; }
.timeline li {
  counter-increment: t; position: relative; padding: .7rem 1rem .7rem 3.2rem; border-radius: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-size: .9rem; color: rgba(255,255,255,.8);
}
.timeline li::before {
  content: counter(t); position: absolute; left: .9rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .85rem;
}
.timeline strong { display: block; color: #fff; }

/* ===== Our work ===== */
.work { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.work__item {
  position: relative; margin: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in;
  background: #f4f2f7; box-shadow: var(--shadow); aspect-ratio: 1;
}
.work__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work__item:hover img { transform: scale(1.05); }
.work__item figcaption {
  position: absolute; left: 10px; bottom: 10px; background: rgba(30,10,60,.88); color: #fff;
  font-size: .78rem; font-weight: 600; padding: .3em .8em; border-radius: 999px;
}
.work__item--wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ===== Products (compact) ===== */
.products { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.prod {
  background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; text-align: center; transition: transform .2s;
}
.prod:hover { transform: translateY(-4px); }
.prod img { aspect-ratio: 1; object-fit: cover; object-position: top; width: 100%; }
.prod div { padding: .8rem .6rem 1rem; }
.prod strong { display: block; font-size: .92rem; color: var(--purple-900); line-height: 1.3; }
.prod span { font-size: .8rem; color: var(--green-dark); font-weight: 600; }

/* ===== Festival scroller ===== */
.scroller { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .8rem; scroll-snap-type: x mandatory; }
.scroller::-webkit-scrollbar { height: 6px; }
.scroller::-webkit-scrollbar-thumb { background: #d9cdea; border-radius: 3px; }
.fest { flex: none; width: 190px; margin: 0; scroll-snap-align: start; cursor: zoom-in; }
.fest img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }
.fest figcaption { font-size: .82rem; font-weight: 600; margin-top: .4rem; color: var(--purple-900); }
.fest small { display: block; font-size: .75rem; }

/* ===== Steps ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.steps li { display: flex; align-items: center; gap: .8rem; font-size: .88rem; color: var(--muted); }
.steps li > span {
  flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--purple-800); color: #fff;
  display: grid; place-items: center; font-weight: 800;
}
.steps strong { display: block; color: var(--purple-900); font-size: 1rem; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.card { background: #fff; border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); }
.people { display: grid; gap: .7rem; margin: 1.5rem 0; }
.person {
  display: flex; align-items: center; gap: 1rem; background: var(--tint); border-radius: 14px; padding: .8rem 1.1rem;
  transition: transform .15s;
}
.person:hover { transform: translateX(4px); }
.person__ico { width: 42px; height: 42px; border-radius: 50%; background: var(--purple-800); display: grid; place-items: center; }
.person strong { display: block; color: var(--purple-900); }
.address p { color: var(--muted); font-size: .9rem; margin-bottom: .4em; }
.address strong { color: var(--purple-900); }
.link { display: inline-block; color: var(--purple-500); font-weight: 600; margin: .5rem 1.2rem 0 0; }
.link:hover { color: var(--orange-dark); }

.enquiry label { display: block; font-weight: 600; font-size: .88rem; color: var(--purple-900); margin-bottom: .9rem; }
.enquiry input, .enquiry select {
  display: block; width: 100%; margin-top: .35rem; font: inherit; font-weight: 400; font-size: .95rem;
  padding: .7rem .9rem; border: 2px solid #e7e0f3; border-radius: 10px; background: #fff; color: var(--ink);
}
.enquiry input:focus, .enquiry select:focus { outline: none; border-color: var(--purple-500); }
.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.enquiry .is-invalid { border-color: #e8336d; }

/* ===== Footer ===== */
.footer { background: var(--purple-900); color: #fff; padding: 0 0 6rem; text-align: center; }
.footer::before { content: ""; display: block; height: 4px; background: var(--rainbow); margin-bottom: 3rem; }
.footer__logo { width: 300px; height: 120px; object-fit: cover; margin: 0 auto 1rem; background: #fff; border-radius: 16px; }

/* ===== Floating buttons ===== */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; align-items: center; gap: .5rem;
  background: var(--green); color: #fff; border-radius: 999px; padding: 14px; box-shadow: 0 10px 25px rgba(37,211,102,.45);
  transition: transform .15s;
}
.fab svg { width: 30px; height: 30px; }
.fab__label { font-weight: 600; padding-right: .4rem; }
.fab:hover { transform: scale(1.06); }
.fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--green);
  animation: pulse 2s infinite; pointer-events: none;
}
.fab--call { bottom: 90px; background: var(--purple-800); box-shadow: 0 10px 25px rgba(45,15,90,.4); padding: 13px; }
.fab--call svg { width: 24px; height: 24px; }
.fab--call::before { display: none; }
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(15,5,30,.92); display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 92vh; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__close {
  position: absolute; top: 14px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: #fff; color: var(--purple-900); font-size: 1.8rem; line-height: 1; cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track, .fab::before { animation: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1000px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .top-brands { grid-template-columns: repeat(3, 1fr); }
  .work { grid-template-columns: repeat(3, 1fr); }
  .work__item--wide { grid-column: span 3; aspect-ratio: 3 / 1.4; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff;
    box-shadow: var(--shadow); max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav.is-open { max-height: 400px; }
  .nav a { padding: 1rem 16px; border-top: 1px solid #f0eaf8; }
  .nav a::after { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .nav-toggle span { width: 24px; height: 2.5px; background: var(--purple-900); border-radius: 2px; transition: .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header__cta { margin-left: auto; }

  .hero { padding: 2.5rem 0 3rem; }
  .hero__inner, .corp, .case, .contact { grid-template-columns: 1fr; }
  .hero__collage { height: 340px; max-width: 460px; width: 100%; margin-inline: auto; }
  .section { padding: 3.5rem 0; }
  .section--slim { padding: 2.5rem 0; }
}

@media (max-width: 560px) {
  .topbar { font-size: .78rem; }
  .header__cta span { display: none; }
  .header__cta { padding: .55em .7em; }
  .header__inner { height: 74px; gap: .8rem; }
  .brand { width: 170px; height: 64px; }
  .brand__logo { width: 245px; }
  .hero__ctas .btn { width: 100%; }
  .hero__badges li { flex: 1; min-width: 0; padding: .6rem .7rem; }
  .hero__badges strong { font-size: .95rem; white-space: nowrap; }
  .hero__badges span { font-size: .72rem; }
  .hero__collage { height: 280px; }
  .perks { grid-template-columns: 1fr; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .top-brands { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .top-brand:last-child { grid-column: span 2; }
  .top-brand:last-child .top-brand__logo { aspect-ratio: 8 / 3; }
  .work { grid-template-columns: repeat(2, 1fr); }
  .work__item--wide { grid-column: span 2; aspect-ratio: 2 / 1.2; }
  .steps { grid-template-columns: 1fr 1fr; }
  .enquiry .row { grid-template-columns: 1fr; gap: 0; }
  .logo-card { width: 130px; height: 76px; }
  .fab__label { display: none; }
}
