/* =========================================================
   ApisBee – premium navy & gold theme
   Design refs: iit.semesterguru.com + semesterguru.com/layout1
   ========================================================= */
:root {
    /* apisbee.in brand theme: charcoal-green + amber */
    --navy: #1c2624;
    --deep: #14201d;
    --navy-soft: #2b3a37;
    --blue: #4d7c0f;
    --gold: #ffb703;
    --gold-hover: #ffc533;
    --mint: #b6e229;
    --ink: #1c2624;
    --muted: #5b6b66;
    --line: #e3e6e4;
    --bg: #f6f7f6;
    --cream: #f8f7f2;
    --white: #fff;
    --radius: 14px;
    --shadow: 0 18px 38px rgba(28, 38, 36, .14);
    --shadow-sm: 0 4px 14px rgba(28, 38, 36, .08);
    --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
    --serif: "Playfair Display", Georgia, serif;
    --wrap: 1200px;
    --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: 15.5px; line-height: 1.6; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
h1, h2 { font-family: var(--serif); font-weight: 700; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--gold); font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 8px; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.btn i { font-size: .9em; transition: transform .2s; }
.btn:hover i.fa-arrow-right { transform: translateX(3px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 15.5px; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 18px rgba(255, 183, 3, .3); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 7px; color: var(--blue); font-weight: 700; font-size: 14px; }
.link i { font-size: .85em; transition: transform .2s; }
.link:hover i { transform: translateX(3px); }

/* ---------- top bar (layout1) ---------- */
.topbar { background: var(--gold); color: var(--ink); font-size: 12.5px; font-weight: 700; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar-links { display: flex; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { text-decoration: underline; }
.topbar-social { display: flex; gap: 14px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.4) blur(8px); transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 8px 24px rgba(28, 38, 36, .1); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--gold); font-size: 21px; box-shadow: var(--shadow-sm); }
.brand b { display: block; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.03em; line-height: 1.1; }
.brand b em { font-style: normal; color: var(--gold); }
.brand small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 13px; font-size: 14.5px; font-weight: 600; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:hover { color: var(--blue); }
.nav a.is-active { color: var(--navy); }
.nav a.is-active::after, .nav a:hover::after { transform: scaleX(1); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--navy); font-size: 18px; }

/* ---------- home hero (layout1 arch + floats) ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at top left, #2b3a37 0%, #14201d 60%, #0e1614 100%); isolation: isolate; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: 600px; padding-top: 60px; padding-bottom: 96px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); }
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gold); }
.hero .eyebrow, .page-hero .eyebrow, .dark .eyebrow { color: var(--mint); }
.hero h1 { margin: 18px 0 20px; font-size: clamp(40px, 5vw, 66px); line-height: 1.05; letter-spacing: -.03em; }
.hero h1 em, .page-hero h1 em, .dark h2 em { font-style: normal; color: var(--gold); }
.hero-copy > p { max-width: 540px; margin-bottom: 30px; font-size: clamp(16px, 1.4vw, 18px); color: #dfe4e2; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 42px; }
.trust b { display: block; font-size: 26px; font-weight: 800; color: var(--gold); line-height: 1.1; }
.trust span { font-size: 12.5px; color: #a8b8b0; }
.visual { position: relative; display: flex; justify-content: center; align-items: center; height: 450px; }
.arch { width: 350px; height: 420px; border-radius: 175px 175px 12px 12px; background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(7,29,68,.35)), url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=900&q=80&auto=format&fit=crop") center/cover; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); outline: 1px solid rgba(255, 183, 3, .5); outline-offset: 10px; }
.float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 10px; background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(10, 16, 14, .4); font-size: 12.5px; animation: bob 5s ease-in-out infinite; }
.float i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 183, 3, .18); color: #a06f00; }
.float b { display: block; font-size: 14px; }
.float small { color: var(--muted); }
.float.f1 { left: 0; top: 60px; }
.float.f2 { right: 0; bottom: 50px; animation-delay: -2.5s; }
.float.f3 { right: 10px; top: 20px; animation-delay: -1.2s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at top left, #2b3a37 0%, #14201d 60%, #0e1614 100%); isolation: isolate; }
.page-hero .wrap { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 104px; }

/* ---------- hero effects (from apisbee.in): honeycomb, glow, floating hexagons, wave ---------- */
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fx-pattern { position: absolute; inset: 0; opacity: .5; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 25% 20%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 25% 20%, #000 0%, transparent 75%); animation: honeyFade 1.6s ease both; }
.fx-glow { position: absolute; right: -140px; top: -120px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(182, 226, 41, .18), transparent 70%); animation: pulseGlow 6s ease-in-out infinite; }
.fx-glow-2 { right: auto; top: auto; left: -160px; bottom: -200px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 183, 3, .12), transparent 70%); animation-delay: -3s; }
.fx-layer { position: absolute; inset: 0; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.float-shape { position: absolute; animation: floatY 6s ease-in-out infinite; }
.float-shape.slow { animation-duration: 9s; }
.float-shape.alt { animation: floatY2 7s ease-in-out infinite; }
.float-shape.spin { animation: spinSlow 22s linear infinite; }
.float-shape.spin.rev { animation-direction: reverse; animation-duration: 30s; }
.fx-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 60px; display: block; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes floatY2 { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(10px) rotate(6deg); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }
@keyframes pulseGlow { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
@keyframes honeyFade { from { opacity: 0; } to { opacity: .5; } }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroPop { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }

/* staggered entrance */
.hero-copy > *, .page-hero .wrap > * { opacity: 0; animation: heroIn .8s ease forwards; }
.hero-copy > :nth-child(1), .page-hero .wrap > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2), .page-hero .wrap > :nth-child(2) { animation-delay: .25s; }
.hero-copy > :nth-child(3), .page-hero .wrap > :nth-child(3) { animation-delay: .4s; }
.hero-copy > :nth-child(4), .page-hero .wrap > :nth-child(4) { animation-delay: .55s; }
.hero-copy > :nth-child(5), .page-hero .wrap > :nth-child(5) { animation-delay: .7s; }
.page-hero .wrap > :nth-child(6) { animation-delay: .85s; }
.hero .visual { opacity: 0; animation: heroPop 1s cubic-bezier(.2, .7, .2, 1) forwards .35s; }
.hero .float { opacity: 0; animation: heroPop .7s ease forwards, bob 5s ease-in-out infinite 1.6s; }
.hero .float.f1 { animation-delay: .9s, 1.6s; }
.hero .float.f3 { animation-delay: 1.1s, 2.4s; }
.hero .float.f2 { animation-delay: 1.3s, 3.2s; }

/* scroll progress (apisbee.in) */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 200; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--mint)); box-shadow: 0 0 10px rgba(255, 183, 3, .6); }
.crumb { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: #a8b8b0; }
.crumb a:hover { color: var(--gold); }
.crumb i { font-size: 9px; }
.page-hero h1 { max-width: 820px; margin: 14px 0 16px; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.page-hero p.lead { max-width: 640px; font-size: 17.5px; color: #dfe4e2; }
.page-hero .actions { margin-top: 28px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pill { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); font-size: 13px; font-weight: 600; color: #e8ede9; }
.pill.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ---------- partner card buttons (IIT Patna style) ---------- */
.partners { padding: 30px 0 26px; background: #fff; border-bottom: 1px solid var(--line); }
.partners .wrap { display: flex; align-items: center; gap: 28px; }
.partners-label { flex: none; max-width: 150px; font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); }
.carousel { position: relative; flex: 1; min-width: 0; }
.partner-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 10px; scrollbar-width: none; }
.partner-track::-webkit-scrollbar { display: none; }
.partner { flex: 0 0 auto; scroll-snap-align: start; display: flex; align-items: center; gap: 12px; min-width: 196px; padding: 12px 18px 12px 12px; background: #fff; border: 1.5px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s, box-shadow .2s; }
.partner:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--gold); }
.partner.is-active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 183, 3, .2), var(--shadow-sm); }
.partner b { display: block; font-size: 14.5px; font-weight: 700; }
.partner small { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; }
.badge { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: color-mix(in srgb, var(--badge, var(--navy)) 10%, #fff); border: 2px solid var(--badge, var(--navy)); color: var(--badge, var(--navy)); font-size: 12px; font-weight: 800; }
img.badge { border: 0; background: none; object-fit: contain; }
.carousel-btn { position: absolute; top: 50%; z-index: 2; translate: 0 -55%; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); transition: opacity .2s, background .2s; }
.carousel-btn:hover { background: var(--navy); color: #fff; }
.carousel-btn.prev { left: -18px; }
.carousel-btn.next { right: -18px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }

/* ---------- sections ---------- */
.section { padding: 88px 0; }
.section.tight { padding: 64px 0; }
.bg { background: var(--bg); }
.cream { background: var(--cream); }
.dark { background: var(--deep); color: #fff; }
.head { max-width: 680px; margin-bottom: 40px; }
.head.center { margin-left: auto; margin-right: auto; }
.head h2 { margin-top: 12px; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.02em; }
.head h2 em { font-style: italic; color: var(--navy-soft); }
.dark .head h2 em { color: var(--gold); }
.head p { margin-top: 14px; font-size: 16.5px; color: var(--muted); }
.dark .head p { color: #a8b8b0; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 40px; }
.head-row .head { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ---------- cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc:hover, .value:hover, .platform:hover, .member:hover { transform: perspective(900px) rotateX(4deg) rotateY(-4deg) translateY(-8px); box-shadow: 0 24px 40px -18px rgba(28, 38, 36, .32); }
.icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px; border-radius: 14px; background: #fff4d6; color: var(--navy); font-size: 22px; transition: background .25s, color .25s; }
.card:hover .icon { background: var(--navy); color: var(--gold); }

.svc { position: relative; padding: 30px 26px; overflow: hidden; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc:hover::before { transform: scaleX(1); }
.svc .num { position: absolute; right: 22px; top: 18px; font-family: var(--serif); font-size: 40px; font-weight: 700; color: #eef1ef; }
.svc h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.svc p { margin-bottom: 16px; color: var(--muted); font-size: 14.5px; }

/* work card */
.work { overflow: hidden; display: flex; flex-direction: column; }
.work-img { position: relative; overflow: hidden; }
.work-img img { width: 100%; aspect-ratio: 12 / 7; object-fit: cover; transition: transform .5s; }
.work:hover .work-img img { transform: scale(1.06); }
.work-img .chip-tag { position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); font-size: 11.5px; font-weight: 700; color: var(--navy); }
.work-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.work-body small { font-size: 11.5px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .7px; }
.work-body h3 { font-size: 19px; }
.work-body p { font-size: 14px; color: var(--muted); }
.work-body .link { margin-top: auto; padding-top: 8px; }
.work.is-hidden { display: none; }

/* art card (layout1 gradient tiles, for projects without photos) */
.art { display: flex; align-items: flex-end; aspect-ratio: 12 / 7; padding: 22px; color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.1; background: linear-gradient(125deg, var(--a1, #14201d), var(--a2, #3d5650)); }

/* chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 17px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; transition: all .2s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 28px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); text-align: center; }
.stat strong { display: block; font-family: var(--serif); font-size: 46px; font-weight: 700; color: var(--gold); line-height: 1.05; }
.stat span { font-size: 14px; color: #a8b8b0; }

/* values */
.value { padding: 28px 24px; }
.value h3 { font-size: 18px; margin-bottom: 8px; }
.value p { font-size: 14.5px; color: var(--muted); }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { position: relative; padding: 26px 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: border-color .25s, background .25s, transform .25s; }
.step:hover { border-color: var(--gold); background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.step span { display: block; margin-bottom: 14px; font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1; }
.step b { display: block; font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: #a8b8b0; }

/* testimonials */
.quote { margin: 0; padding: 28px; display: flex; flex-direction: column; }
.quote .stars { color: var(--gold); font-size: 17px; letter-spacing: 2px; }
.quote blockquote { margin: 14px 0 22px; font-size: 15px; flex: 1; }
.quote figcaption { display: grid; grid-template-columns: auto 1fr auto; column-gap: 12px; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); }
.quote .avatar { grid-row: span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 14px; }
.quote figcaption b { font-size: 14.5px; }
.quote figcaption small { grid-column: 2; color: var(--muted); font-size: 12.5px; }
.quotes { gap: 20px; padding: 10px 4px 24px; }
.quotes .quote { flex: 0 0 min(370px, 86vw); scroll-snap-align: start; }
.quote .sector { grid-row: 1 / span 2; grid-column: 3; padding: 4px 10px; border-radius: 999px; background: var(--bg); font-size: 11.5px; font-weight: 700; color: var(--navy); }

/* industries / platforms / tech */
.tags { display: flex; flex-wrap: wrap; gap: 12px; }
.tags li { display: flex; align-items: center; gap: 10px; padding: 13px 20px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-weight: 600; font-size: 14.5px; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.tags li:hover { border-color: var(--gold); transform: translateY(-2px); }
.tags i { color: var(--navy); }
.platform { padding: 30px 24px; text-align: center; }
.platform .icon { margin: 0 auto 16px; }
.platform h3 { font-size: 18px; margin-bottom: 8px; }
.platform p { font-size: 14px; color: var(--muted); }
.techbar { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; color: #7d8c86; font-weight: 700; font-size: 15px; }
.techbar span { display: inline-flex; align-items: center; gap: 8px; }

/* split (about-like) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-img { position: relative; }
.split-img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 180px 180px 16px 16px; box-shadow: var(--shadow); }
.split-img .float { left: -20px; bottom: 30px; top: auto; }
.checks { display: grid; gap: 10px; margin-top: 20px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.checks li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: rgba(255, 183, 3, .2); color: #a06f00; font-size: 11px; }

/* timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 22px; height: 2px; background: linear-gradient(90deg, var(--gold), var(--navy-soft)); }
.tl { position: relative; padding-top: 58px; }
.tl::before { content: ""; position: absolute; left: 0; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 0 0 5px rgba(255, 183, 3, .15); }
.tl small { font-size: 11.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--blue); }
.tl h3 { margin: 6px 0 8px; font-size: 18px; }
.tl p { font-size: 14px; color: var(--muted); }

/* team */
.member { padding: 30px 22px; text-align: center; }
.member .avatar { display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color: var(--gold); font-family: var(--serif); font-size: 30px; font-weight: 700; outline: 2px solid var(--gold); outline-offset: 5px; }
.member h3 { font-size: 17px; }
.member p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* service detail rows */
.svc-tabs { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.svc-tabs .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.svc-tabs a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; transition: all .2s; }
.svc-tabs a:hover, .svc-tabs a.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row:nth-child(even) .svc-visual { order: -1; }
.svc-row h2 { margin: 10px 0 14px; font-size: clamp(28px, 3vw, 38px); }
.svc-row > div > p { color: var(--muted); font-size: 16px; }
.svc-row .checks { grid-template-columns: 1fr 1fr; margin: 22px 0 26px; }
.svc-visual { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: 22px; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 50%), linear-gradient(135deg, var(--a1, #14201d), var(--a2, #3d5650)); color: #fff; font-size: 82px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.svc-visual::after { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); right: -20%; bottom: -30%; }
.svc-visual i { color: var(--gold); filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); }

/* project detail */
.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.detail h2 { font-size: clamp(26px, 3vw, 36px); margin: 10px 0 18px; }
.detail h3 { font-size: 19px; margin: 28px 0 10px; }
.detail p { color: var(--muted); }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.result { padding: 18px; border-radius: 12px; background: var(--bg); border-left: 4px solid var(--gold); font-weight: 600; font-size: 14.5px; }
.result b { display: block; font-family: var(--serif); font-size: 30px; color: var(--navy); line-height: 1.1; }
.testimonial-box { margin-top: 30px; padding: 28px; border-radius: 16px; background: var(--deep); color: #fff; position: relative; }
.testimonial-box::before { content: "\201C"; position: absolute; right: 22px; top: -10px; font-family: var(--serif); font-size: 120px; color: var(--gold); opacity: .4; }
.testimonial-box p { color: #e8ede9; font-size: 17px; font-style: italic; }
.testimonial-box small { display: block; margin-top: 12px; color: var(--gold); font-weight: 700; }
.sidebar-card { position: sticky; top: calc(var(--header-h) + 20px); padding: 26px; }
.sidebar-card h3 { margin: 0 0 14px; font-size: 18px; }
.sidebar-card dl { margin: 0 0 22px; display: grid; gap: 12px; }
.sidebar-card dt { font-size: 11.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.sidebar-card dd { margin: 2px 0 0; font-weight: 600; }
.sidebar-card .btn { width: 100%; margin-top: 10px; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow-sm); transition: transform .3s; }
.gallery img:hover { transform: scale(1.03); }

/* contact cards */
.info-card { padding: 26px 22px; }
.info-card h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 16.5px; font-weight: 700; color: var(--navy); word-break: break-word; }
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.contact-list { display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
.contact-list a:hover { border-color: var(--gold); }
.contact-list i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: #fff4d6; color: var(--navy); }
.contact-list small { display: block; font-size: 12px; color: var(--muted); }
.contact-list b { font-size: 15px; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq.center { margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary { padding: 18px 0; font-weight: 700; font-size: 15.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); font-size: 18px; line-height: 1; color: var(--navy); }
.faq details[open] summary::after { content: "–"; background: var(--gold); }
.faq details p { margin: 0 0 18px; color: var(--muted); }

/* form */
.form { padding: 34px; border-top: 4px solid var(--gold); }
.form:hover { transform: none; }
.form h3 { font-family: var(--serif); font-size: 26px; }
.form > p { margin: 6px 0 22px; color: var(--muted); font-size: 14.5px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form label { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 700; }
.form label.full { grid-column: 1 / -1; }
.form input, .form select, .form textarea { display: block; width: 100%; height: 48px; margin-top: 6px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 9px; background: var(--bg); font: inherit; font-size: 14.5px; color: var(--ink); outline: none; transition: border-color .2s, background .2s; }
.form textarea { height: 110px; padding: 12px 14px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); background: #fff; }
.form .btn { width: 100%; margin-top: 4px; }
.talk { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.talk-copy h2 { margin: 12px 0 16px; font-size: clamp(30px, 3.4vw, 44px); }
.talk-copy p { color: #a8b8b0; font-size: 16.5px; }
.talk-copy .contact-list { margin-top: 28px; }
.talk-copy .contact-list a { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.talk-copy .contact-list a:hover { border-color: var(--gold); }
.talk-copy .contact-list i { background: rgba(246,185,13,.15); color: var(--gold); }
.talk-copy .contact-list small { color: #8fa399; }
.talk .form { color: var(--ink); }

/* cta band */
.cta { position: relative; overflow: hidden; padding: 56px 48px; border-radius: 24px; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-soft) 100%); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cg fill='none' stroke='rgba(182,226,41,0.35)' stroke-width='1'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2Z'/%3E%3Cpath d='M28 64.7 56 80.8V97M28 64.7 0 80.8V97'/%3E%3C/g%3E%3C/svg%3E"); opacity: .45; -webkit-mask-image: radial-gradient(ellipse 60% 120% at 90% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse 60% 120% at 90% 0%, #000, transparent 70%); animation: honeyDrift 30s linear infinite; }
.cta::after { content: ""; position: absolute; z-index: -1; width: 70px; height: 70px; right: 34%; top: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 2 60 17.5v29L32 62 4 46.5v-29Z' fill='none' stroke='rgba(255,183,3,0.45)' stroke-width='2' stroke-dasharray='6 8'/%3E%3C/svg%3E") center/contain no-repeat; animation: spinSlow 22s linear infinite; }
.cta h2 { font-size: clamp(26px, 3vw, 38px); max-width: 620px; }
.cta h2 em { font-style: normal; color: var(--gold); }
.cta p { margin-top: 10px; color: #dfe4e2; max-width: 560px; }

/* policy pages */
.policy { display: grid; grid-template-columns: 260px 1fr; gap: 50px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); padding: 22px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.toc h4 { font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { display: block; padding: 6px 10px; border-left: 2px solid transparent; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: all .2s; }
.toc a:hover, .toc a.is-active { border-color: var(--gold); color: var(--blue); background: #fff; }
.prose section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.prose section:first-child { padding-top: 0; }
.prose h2 { font-size: 26px; margin-bottom: 12px; display: flex; gap: 12px; align-items: baseline; }
.prose h2 span { font-family: var(--font); font-size: 14px; font-weight: 800; color: var(--gold); background: var(--deep); padding: 3px 9px; border-radius: 6px; }
.prose p { color: var(--muted); margin-bottom: 12px; }
.prose ul { display: grid; gap: 10px; margin-top: 8px; }
.prose li { position: relative; padding-left: 22px; color: var(--muted); }
.prose li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); }
.prose li b { color: var(--ink); }
.updated { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); font-size: 13px; font-weight: 600; }
.refund-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.refund-flow div { padding: 16px; border-radius: 12px; background: var(--bg); text-align: center; font-weight: 700; font-size: 14px; border-top: 3px solid var(--gold); }
.refund-flow small { display: block; font-weight: 500; color: var(--muted); font-size: 12.5px; }

/* ---------- footer ---------- */
.footer { background: var(--deep); color: #a8b8b0; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; }
.footer .brand b { color: #fff; }
.footer .brand small { color: #8fa399; }
.footer p { margin: 18px 0 20px; font-size: 14px; max-width: 300px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; font-family: var(--font); }
.footer address { font-style: normal; }
.footer-grid a:not(.brand):not(.social a), .footer address span { display: block; padding: 5px 0; font-size: 14px; transition: color .2s; }
.footer-grid a:not(.brand):not(.social a):hover { color: var(--gold); }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; transition: background .2s, color .2s; }
.social a:hover { background: var(--gold); color: var(--ink); }
.copy { padding: 18px 24px; text-align: center; font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .1); }
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; font-size: 28px; box-shadow: 0 10px 24px rgba(37, 211, 102, .4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- site-wide motion (apisbee.in style) ---------- */
/* honeycomb + glow on dark sections and footer */
.dark, .footer { position: relative; isolation: isolate; overflow: hidden; }
.dark::before, .footer::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97'%3E%3Cg fill='none' stroke='rgba(182,226,41,0.35)' stroke-width='1'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2Z'/%3E%3Cpath d='M28 64.7 56 80.8V97M28 64.7 0 80.8V97'/%3E%3C/g%3E%3C/svg%3E"); opacity: .35; -webkit-mask-image: radial-gradient(ellipse 55% 80% at 15% 10%, #000, transparent 70%); mask-image: radial-gradient(ellipse 55% 80% at 15% 10%, #000, transparent 70%); animation: honeyDrift 40s linear infinite; }
.dark::after { content: ""; position: absolute; z-index: -1; pointer-events: none; right: -160px; top: -160px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(182, 226, 41, .14), transparent 70%); animation: pulseGlow 6s ease-in-out infinite; }
.footer::after { content: ""; position: absolute; z-index: -1; pointer-events: none; right: 6%; top: 40px; width: 34px; height: 34px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 1 21 6.5v9L11 21 1 15.5v-9Z' fill='rgba(182,226,41,0.18)' stroke='rgba(182,226,41,0.6)' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; animation: floatY 6s ease-in-out infinite; }
@keyframes honeyDrift { to { background-position: 56px 97px; } }
.trust b span, .stat strong span { font-size: inherit; color: inherit; }

/* section heading: gold line draws in */
.head.reveal .eyebrow::before { width: 0; transition: width .7s ease .2s; }
.head.reveal.is-in .eyebrow::before { width: 28px; }

/* gold buttons: light sweep on hover */
.btn-gold { position: relative; overflow: hidden; isolation: isolate; }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s ease; }
.btn-gold:hover::after { transform: translateX(120%); }

/* icon wiggle on card hover */
.card:hover .icon i { animation: wiggle .6s ease; }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.1); } 60% { transform: rotate(8deg) scale(1.1); } }

/* project image overlay (like apisbee.in cards) */
.work-img::after { content: "35d"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; color: var(--ink); background: radial-gradient(circle, var(--gold) 0 26px, transparent 27px), linear-gradient(180deg, rgba(20, 32, 29, .1), rgba(20, 32, 29, .55)); opacity: 0; transform: scale(.9); transition: opacity .35s, transform .35s; }
.work:hover .work-img::after { opacity: 1; transform: none; }

/* timeline line draws across */
.timeline::before { transform: scaleX(0); transform-origin: left; transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }
.timeline.is-in::before { transform: scaleX(1); }
.timeline.is-in .tl::before { animation: dotPop .5s ease both; }
.timeline.is-in .tl:nth-child(2)::before { animation-delay: .35s; }
.timeline.is-in .tl:nth-child(3)::before { animation-delay: .7s; }
.timeline.is-in .tl:nth-child(4)::before { animation-delay: 1.05s; }
@keyframes dotPop { from { transform: scale(0); } 70% { transform: scale(1.25); } to { transform: scale(1); } }

/* process steps: gold bar fills on hover */
.step::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--gold), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.step:hover::after { transform: scaleX(1); }

/* stats: soft glow ring on hover */
.stat { transition: border-color .3s, box-shadow .3s, transform .3s; }
.stat:hover { border-color: rgba(255, 183, 3, .5); box-shadow: 0 0 0 4px rgba(255, 183, 3, .08), 0 18px 40px -20px rgba(255, 183, 3, .5); transform: translateY(-4px); }

/* partner cards + industry tags: gentle lift already; add shine border */
.partner, .tags li { position: relative; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .dark::before, .dark::after, .footer::before, .footer::after, .cta::before, .cta::after, .timeline::before, .work-img::after, .btn-gold::after { animation: none !important; transition: none !important; } .timeline::before { transform: none; } .head.reveal .eyebrow::before { width: 28px; transition: none; } .card:hover .icon i { animation: none; } .reveal, .hero-copy > *, .page-hero .wrap > *, .hero .visual, .hero .float { opacity: 1; transform: none; animation: none !important; } .float-shape, .fx-glow, .fx-pattern { animation: none !important; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
    .grid-4, .stats { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .burger { display: grid; place-items: center; margin-left: auto; }
    .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 10px 16px 18px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
    .nav.is-open { display: flex; }
    .nav a { padding: 12px; }
    .nav a::after { display: none; }
    .header .wrap > .btn { display: none; }
    .hero .wrap, .split, .talk, .detail, .contact-grid, .policy, .svc-row { grid-template-columns: 1fr; }
    .svc-row:nth-child(even) .svc-visual { order: 0; }
    .visual { height: 400px; }
    .grid-3 { grid-template-columns: 1fr 1fr; }
    .timeline { grid-template-columns: 1fr 1fr; row-gap: 30px; }
    .timeline::before { display: none; }
    .toc { position: static; }
    .sidebar-card { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .partners .wrap { flex-direction: column; align-items: stretch; gap: 12px; }
    .partners-label { max-width: none; }
}
@media (max-width: 640px) {
    .wrap { padding: 0 16px; }
    .topbar-social, .topbar .hide-sm { display: none; }
    .section { padding: 60px 0; }
    .grid-2, .grid-3, .grid-4, .steps, .stats, .timeline, .form-grid, .result-grid, .svc-row .checks, .refund-flow, .footer-grid { grid-template-columns: 1fr; }
    .arch { width: 270px; height: 330px; }
    .visual { height: 360px; }
    .float.f3 { display: none; }
    .carousel-btn { display: none; }
    .cta { padding: 38px 24px; }
    .form { padding: 24px; }
    .gallery { grid-template-columns: 1fr 1fr; }
}
