@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/figtree-400.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/figtree-500.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/figtree-600.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/figtree-700.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/figtree-800.woff2") format("woff2"); }

/* =========================================================
   Parth Computers — public website styles
   ========================================================= */
:root {
    --navy: #0b1b3f;
    --navy-2: #13285a;
    --blue: #1d4ed8;
    --blue-soft: #e8efff;
    --orange: #f97316;
    --orange-dark: #ea580c;
    --green: #16a34a;
    --wa: #25d366;
    --ink: #0f172a;
    --muted: #5b6475;
    --line: #e5e8ef;
    --bg: #ffffff;
    --bg-alt: #f6f8fc;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(15, 23, 42, .18);
    --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: ui-monospace, "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy); color: #dbe3f5; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); margin-bottom: .7rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.dark .section-head p { color: #b8c4e0; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: .2s; text-decoration: none !important; line-height: 1.2; font-family: inherit; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); }
.btn-outline { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1eb457; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #cfd8ee; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar .pill { background: var(--orange); color: #fff; border-radius: 999px; padding: 2px 10px; font-weight: 700; font-size: .75rem; margin-right: .5rem; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: var(--navy); text-decoration: none !important; }
.brand-mark { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.25rem; }
.brand img { height: 46px; width: auto; }
.brand-text { line-height: 1; }
.brand-text strong { display: block; font-size: 1.15rem; letter-spacing: .06em; }
.brand-text small { font-size: .62rem; letter-spacing: .14em; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .8rem; border-radius: 8px; }
.nav a:hover, .nav a.active { color: var(--blue); background: var(--blue-soft); text-decoration: none; }
.nav .btn { margin-left: .5rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .nav { position: absolute; top: 74px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 1rem 20px 1.5rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
    .nav.open { display: flex; }
    .nav .btn { margin: .5rem 0 0; justify-content: center; }
    .topbar .hide-sm { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: radial-gradient(1000px 500px at 85% -10%, rgba(29, 78, 216, .35), transparent 60%), radial-gradient(700px 400px at -10% 110%, rgba(249, 115, 22, .25), transparent 60%), var(--navy); color: #dbe3f5; padding: 80px 0 90px; overflow: hidden; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #c3cde6; max-width: 560px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.2rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.badge.orange { background: var(--orange); border-color: var(--orange); }
.hero .tagline { font-weight: 700; color: var(--orange); letter-spacing: .02em; margin-bottom: .5rem; }
.rating { margin-top: 1.4rem; font-size: .9rem; color: #c3cde6; }
.rating b { color: #fbbf24; }
.checks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; }
.checks li { display: flex; gap: .5rem; align-items: center; font-size: .92rem; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--green); color: #fff; font-size: .7rem; font-weight: 800; flex-shrink: 0; }
.light .checks li::before { background: var(--green); }

.code-card { background: #0a1430; border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); overflow: hidden; font-family: var(--mono); font-size: .82rem; }
.code-card .bar { display: flex; align-items: center; gap: .4rem; padding: 12px 14px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid rgba(255, 255, 255, .08); color: #8ea0c8; }
.code-card .dot { width: 11px; height: 11px; border-radius: 50%; background: #ef4444; }
.code-card .dot:nth-child(2) { background: #f59e0b; }
.code-card .dot:nth-child(3) { background: #22c55e; margin-right: .6rem; }
.code-card .tabs { margin-left: auto; display: flex; gap: .3rem; }
.code-card .tabs span { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); font-size: .72rem; }
.code-card pre { margin: 0; padding: 18px; color: #d6deff; white-space: pre-wrap; line-height: 1.7; }
.code-card .k { color: #c084fc; } .code-card .s { color: #86efac; } .code-card .c { color: #64748b; } .code-card .f { color: #7dd3fc; }
.code-card .foot { padding: 10px 18px; font-size: .72rem; color: #8ea0c8; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; justify-content: space-between; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #c9d3ec; padding: 56px 0 60px; }
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.page-hero p { max-width: 760px; font-size: 1.08rem; }
.crumbs { font-size: .85rem; margin-bottom: 1rem; color: #9fb0d6; }
.crumbs a { color: #fff; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } .hero-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .checks { grid-template-columns: 1fr; } .section { padding: 56px 0; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: .2s; position: relative; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card p { color: var(--muted); }
.card .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 1rem; }
.card.feature .ico { background: #fff1e6; color: var(--orange); }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #dbe3f5; }
.dark .card p { color: #aebbdb; }
.card-link { font-weight: 700; font-size: .92rem; }

.course-card { display: flex; flex-direction: column; }
.course-card .meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .8rem; }
.chip { font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--bg-alt); color: var(--muted); border: 1px solid var(--line); }
.chip.blue { background: var(--blue-soft); color: var(--blue); border-color: transparent; }
.chip.orange { background: #fff1e6; color: var(--orange-dark); border-color: transparent; }
.course-card h3 a { color: var(--ink); }
.topics-label { font-size: .7rem; letter-spacing: .1em; font-weight: 800; color: var(--muted); margin: .4rem 0 .4rem; }
.topics { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.topics span { font-size: .78rem; background: var(--bg-alt); padding: .2rem .55rem; border-radius: 6px; }
.ideal { font-size: .85rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: .8rem; margin-top: auto; }
.course-card .actions { display: flex; gap: .5rem; margin-top: 1rem; }
.course-card .thumb { margin: -26px -26px 18px; aspect-ratio: 16 / 9; background: #fff; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; border-bottom: 1px solid var(--line); }
.course-card .thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 32px; }
.filters a, .filters button { padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: .88rem; cursor: pointer; font-family: inherit; }
.filters a.active, .filters button.active, .filters a:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }

/* Who can join */
.pills { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.pills span { padding: .6rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.dark .pills span { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 20px; text-align: center; }
.stat b { display: block; font-size: 1.8rem; color: #fff; }
.stat span { font-size: .85rem; color: #b8c4e0; }
@media (max-width: 640px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Gallery */
.gallery-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.gallery-card .media { aspect-ratio: 4 / 3; position: relative; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; color: #fff; }
.gallery-card .media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.gallery-card .media .ph { font-size: 2.6rem; opacity: .9; }
.gallery-card .media .label { position: absolute; left: 12px; top: 12px; background: rgba(0, 0, 0, .45); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; padding: .3rem .6rem; border-radius: 6px; }
.gallery-card .body { padding: 18px; }
.gallery-card .body p { color: var(--muted); font-size: .92rem; margin: 0; }
.gallery-card .cat { font-size: .78rem; color: var(--orange-dark); font-weight: 700; }
.ph-1 { background: linear-gradient(135deg, #0b1b3f, #1d4ed8) !important; }
.ph-2 { background: linear-gradient(135deg, #1e1b4b, #7c3aed) !important; }
.ph-3 { background: linear-gradient(135deg, #7c2d12, #f97316) !important; }
.ph-4 { background: linear-gradient(135deg, #064e3b, #10b981) !important; }
.ph-5 { background: linear-gradient(135deg, #831843, #ec4899) !important; }
.ph-0 { background: linear-gradient(135deg, #0c4a6e, #0ea5e9) !important; }

/* Blog */
.post-card { display: flex; flex-direction: column; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; background: #fff; transition: .2s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card .cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy), var(--blue)); display: grid; place-items: center; color: #fff; font-size: 2.4rem; overflow: hidden; }
.post-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card .meta { font-size: .8rem; color: var(--muted); margin-bottom: .5rem; }
.post-card .meta b { color: var(--orange-dark); }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: .94rem; }
.post-card .more { margin-top: auto; font-weight: 700; }
.featured-post { display: grid; grid-template-columns: 1fr 1fr; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #fff; margin-bottom: 40px; }
.featured-post .cover { background: linear-gradient(135deg, var(--orange), #fb923c); min-height: 280px; display: grid; place-items: center; font-size: 4rem; color: #fff; }
.featured-post .cover img { width: 100%; height: 100%; object-fit: cover; }
.featured-post .body { padding: 36px; }
@media (max-width: 760px) { .featured-post { grid-template-columns: 1fr; } }

.prose { max-width: 780px; margin: 0 auto; font-size: 1.07rem; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose img { border-radius: 12px; margin: 1.5rem 0; }
.prose blockquote { margin: 1.5rem 0; padding: 1rem 1.4rem; border-left: 4px solid var(--orange); background: var(--bg-alt); border-radius: 0 10px 10px 0; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 700; list-style: none; display: flex; gap: 1rem; align-items: flex-start; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .n { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: .85rem; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 22px 20px 66px; color: var(--muted); }

/* Course detail */
.course-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
@media (max-width: 960px) { .course-layout { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 1.5rem 0; }
.facts div { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; padding: 12px 14px; }
.facts small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #9fb0d6; }
.facts b { color: #fff; font-size: .98rem; }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr 1fr; } }
.sticky-box { position: sticky; top: 96px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.sticky-box h3 { margin-bottom: .3rem; }
.sticky-box .btn { width: 100%; justify-content: center; margin-top: .6rem; }
.module-list { counter-reset: mod; list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.module-list li { counter-increment: mod; background: var(--bg-alt); border-radius: 10px; padding: 12px 14px 12px 50px; position: relative; font-weight: 600; }
.module-list li::before { content: counter(mod, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font-weight: 800; color: var(--orange); font-size: .85rem; }
@media (max-width: 640px) { .module-list { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; }
.ticks li { padding-left: 30px; position: relative; margin-bottom: .6rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #dcfce7; color: var(--green); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.content-block { margin-bottom: 44px; }
.content-block h2 { font-size: 1.55rem; }

/* MS-CIT modules */
.mod-card { border: 1px solid var(--line); border-radius: 14px; background: #fff; overflow: hidden; }
.mod-card summary { list-style: none; cursor: pointer; padding: 20px 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: start; }
.mod-card summary::-webkit-details-marker { display: none; }
.mod-card .num { font-weight: 800; color: var(--orange); font-size: .75rem; letter-spacing: .1em; }
.mod-card .hrs { background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: .78rem; border-radius: 8px; padding: .3rem .6rem; white-space: nowrap; }
.mod-card h3 { margin: .2rem 0 .3rem; font-size: 1.05rem; }
.mod-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.mod-card .tog { font-weight: 700; font-size: .82rem; color: var(--blue); }
.mod-card[open] .tog::after { content: " ▲"; } .mod-card:not([open]) .tog::after { content: " ▼"; }
.mod-card .inner { padding: 0 22px 20px; border-top: 1px dashed var(--line); padding-top: 16px; }
.tool-card { border: 1px solid var(--line); border-radius: 14px; padding: 18px; background: #fff; }
.tool-card .em { font-size: 1.6rem; }
.tool-card small { font-size: .68rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); display: block; margin-top: .4rem; }
.tool-card h3 { margin: .1rem 0 .4rem; font-size: 1.02rem; }
.tool-card p { font-size: .88rem; color: var(--muted); margin-bottom: .5rem; }
.tool-card .cat { font-size: .75rem; color: var(--blue); font-weight: 700; }
.exam-card { border-radius: 16px; padding: 26px; background: #fff; border: 1px solid var(--line); }
.exam-card .marks { font-size: 2.2rem; font-weight: 800; color: var(--navy); }
.grades { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.grades div { text-align: center; padding: 14px; border-radius: 12px; background: var(--bg-alt); }
.grades b { display: block; font-size: 1.3rem; color: var(--navy); }
@media (max-width: 640px) { .grades { grid-template-columns: 1fr 1fr; } }
.batch { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.batch b { color: var(--orange-dark); white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.steps div { counter-increment: st; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px; text-align: center; }
.steps div::before { content: counter(st); display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto 10px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.steps small { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
.toc { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.toc a { padding: .45rem .9rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: .85rem; color: var(--ink); }
.subnav { background: #fff; border-bottom: 1px solid var(--line); padding: 14px 0; position: sticky; top: 74px; z-index: 20; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--orange), #fb923c); color: #fff; border-radius: 22px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { margin: 0; opacity: .95; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.info-list { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.info-list li { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.info-list small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.socials { display: grid; gap: 8px; }
.socials a { display: flex; justify-content: space-between; padding: 12px 16px; border-radius: 10px; background: var(--bg-alt); color: var(--ink); font-weight: 600; }
.map-embed { border: 0; width: 100%; height: 320px; border-radius: 14px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .9rem; border-radius: 10px; border: 1px solid #cfd5e2; font: inherit; font-size: .95rem; background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field .err { color: #dc2626; font-size: .82rem; margin-top: 4px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .row-2 { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.alert { padding: 14px 18px; border-radius: 12px; margin-bottom: 18px; font-weight: 600; }
.alert-success { background: #dcfce7; color: #166534; }
.alert-error { background: #fee2e2; color: #991b1b; }

/* Areas */
.areas { display: flex; flex-wrap: wrap; gap: .4rem; }
.areas span { font-size: .82rem; padding: .3rem .7rem; border-radius: 6px; background: rgba(255, 255, 255, .08); color: #dbe3f5; }

/* Footer */
.site-footer { background: #071230; color: #aab6d3; padding: 64px 0 0; font-size: .93rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #cdd6ee; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-bottom { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; }
.social-row { display: flex; gap: .5rem; margin-top: 1rem; }
.social-row a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; }
.social-row a:hover { background: var(--orange); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6); }
.wa-float svg { width: 30px; height: 30px; }

/* Pagination */
.pagination { display: flex; gap: .4rem; justify-content: center; margin-top: 40px; list-style: none; padding: 0; }
.pagination a, .pagination span { display: block; padding: .5rem .9rem; border-radius: 8px; border: 1px solid var(--line); color: var(--ink); }
.pagination .active span { background: var(--navy); color: #fff; border-color: var(--navy); }
.pagination .disabled span { opacity: .4; }

/* ---------- Language switch (Google Translate) ---------- */
.header-right { display: flex; align-items: center; gap: .6rem; }
.lang-switch { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: var(--bg-alt); flex-shrink: 0; }
.lang-switch button { border: 0; background: transparent; font: inherit; font-size: .82rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; cursor: pointer; color: var(--muted); line-height: 1.2; }
.lang-switch button.active { background: var(--navy); color: #fff; }
.lang-switch button:hover:not(.active) { color: var(--navy); }
@media (max-width: 960px) { .header-right { gap: .3rem; } .lang-switch button { padding: .3rem .6rem; } }
/* Hide Google's own toolbar, tooltip and spacing */
iframe.skiptranslate, .goog-te-banner-frame, body > .skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
font[style] { background: none !important; box-shadow: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* ---------- Google rating + Follow us ---------- */
.social-proof-wrap { padding: 40px 0; background: var(--bg-alt); }
.social-proof { display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; }
@media (max-width: 900px) { .social-proof { grid-template-columns: 1fr; } }
.sp-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 12px 30px -18px rgba(15, 23, 42, .25); }
.sp-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 14px; }
.sp-rating-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.sp-g { width: 64px; height: 64px; border-radius: 16px; border: 1px solid var(--line); display: grid; place-items: center; background: #fff; box-shadow: 0 4px 12px -6px rgba(0, 0, 0, .2); }
.sp-score { font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.sp-stars { color: #fbbf24; font-size: 1.5rem; letter-spacing: 2px; }
.sp-count { font-weight: 800; font-size: 1.1rem; margin-top: 12px; }
.sp-updated { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sp-btn { display: inline-block; padding: .65rem 1.1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none !important; border: 2px solid var(--navy); }
.sp-btn-solid { background: var(--navy); color: #fff; }
.sp-btn-solid:hover { background: var(--navy-2); }
.sp-btn-ghost { color: var(--navy); background: #fff; }
.sp-btn-ghost:hover { background: var(--blue-soft); }
.sp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 640px) { .sp-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .sp-grid { grid-template-columns: 1fr; } }
.sp-social { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); color: var(--ink); text-decoration: none !important; transition: .2s; }
.sp-social:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-2px); }
.sp-social b { display: block; font-size: .95rem; }
.sp-social small { display: block; white-space: nowrap; color: var(--muted); font-weight: 600; font-size: .82rem; }
.sp-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.sp-ico svg { width: 22px; height: 22px; }
.sp-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sp-facebook { background: #1877f2; }
.sp-youtube { background: #ff0000; border-radius: 12px; }
.sp-youtube svg { width: 26px; height: 26px; }
.sp-linkedin { background: #0a66c2; }
.sp-x { background: #111; }
/* social block sits directly above the footer */
.social-proof-wrap { border-top: 1px solid var(--line); }
.sp-card { display: flex; flex-direction: column; }
.sp-grid { align-content: start; }

/* ---------- Live code card (home hero) ---------- */
.live-code pre { min-height: 330px; }
.live-code .tabs button { padding: 2px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); font: inherit; font-size: .72rem; color: #8ea0c8; border: 1px solid transparent; cursor: pointer; }
.live-code .tabs button:hover { color: #fff; }
.live-code .tabs button.active { background: rgba(249, 115, 22, .18); color: #fdba74; border-color: rgba(249, 115, 22, .45); }
.lc-caret { display: inline-block; width: 8px; height: 1.1em; background: #f97316; vertical-align: text-bottom; margin-left: 1px; animation: lcBlink 1s steps(1) infinite; }
@keyframes lcBlink { 50% { opacity: 0; } }
.lc-term { border-top: 1px solid rgba(255, 255, 255, .08); background: #050c22; padding: 12px 18px; min-height: 96px; color: #cbd5f5; font-size: .78rem; line-height: 1.7; }
.lc-prompt { color: #22c55e; font-weight: 700; }
#lc-cmd { color: #8ea0c8; }
.lc-run-line { color: #fbbf24; }
.lc-ok { color: #86efac; font-weight: 600; }
.lc-run { background: #16a34a; color: #fff; border: 0; border-radius: 6px; padding: 2px 10px; font: inherit; font-size: .72rem; font-weight: 700; cursor: pointer; margin-right: 8px; }
.lc-run:hover { background: #15803d; }
@media (max-width: 640px) { .live-code pre { min-height: 300px; font-size: .74rem; } }

/* ---------- Logo size (bigger) ---------- */
.site-header .container { height: 84px; }
.brand { gap: .8rem; }
.brand-mark { width: 54px; height: 54px; border-radius: 14px; font-size: 1.6rem; }
.brand img { height: 60px; }
.brand-text strong { font-size: 1.35rem; letter-spacing: .05em; line-height: 1.05; }
.brand-text small { font-size: .66rem; white-space: nowrap; display: block; margin-top: 5px; }
.subnav { top: 84px; }
@media (max-width: 960px) {
    .nav { top: 84px; }
}
@media (max-width: 560px) {
    .site-header .container { height: 72px; }
    .nav { top: 72px; }
    .subnav { top: 72px; }
    .brand-mark { width: 44px; height: 44px; font-size: 1.3rem; }
    .brand img { height: 48px; }
    .brand-text strong { font-size: 1.05rem; }
    .brand-text small { font-size: .5rem; letter-spacing: .08em; }
}
@media (max-width: 560px) {
    .site-header .container { padding-left: 14px; padding-right: 10px; gap: .4rem; }
    .brand { gap: .5rem; min-width: 0; }
    .brand-text small { letter-spacing: .04em; }
    .lang-switch button { padding: .25rem .5rem; font-size: .76rem; }
    .nav-toggle { padding: 4px; }
}

/* ---------- Brand logo (adjustable: change --logo-size) ---------- */
:root { --logo-size: 58px; }
.brand-icon { width: var(--logo-size); height: var(--logo-size); object-fit: contain; flex-shrink: 0; }
.brand-mark { display: none; }
.footer-logo { width: 150px; height: auto; margin-bottom: 1rem; }
@media (max-width: 560px) { :root { --logo-size: 46px; } }

/* ---------- Contact: official social profiles with brand tiles ---------- */
.socials .social-row-item { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink); text-decoration: none !important; transition: .2s; }
.socials .social-row-item:hover { background: #fff; box-shadow: var(--shadow); transform: translateY(-1px); }
.social-row-item .sr-text { flex: 1; min-width: 0; }
.social-row-item .sr-text b { display: block; font-size: .98rem; }
.social-row-item .sr-text small { display: block; color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.social-row-item .sr-arrow { color: var(--muted); font-size: 1.1rem; }
.social-row-item:hover .sr-arrow { color: var(--orange); }
.sp-google { background: #fff; border: 1px solid var(--line); }
.sp-google svg { width: 24px; height: 24px; }

/* ---------- Chatbot ---------- */
.cb { position: fixed; right: 20px; bottom: 20px; z-index: 80; font-family: var(--font); }
.cb-launcher { width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--orange), #fb923c); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(249, 115, 22, .65); position: relative; transition: transform .2s; }
.cb-launcher:hover { transform: scale(1.06); }
.cb-ic-close { display: none; font-size: 1.4rem; font-weight: 700; }
.cb.open .cb-ic-open, .cb.open .cb-badge { display: none; }
.cb.open .cb-ic-close { display: block; }
.cb-badge { position: absolute; top: -2px; right: -2px; background: #dc2626; color: #fff; font-size: .7rem; font-weight: 800; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #fff; }
.cb-badge[hidden] { display: none; }
.cb-teaser { position: absolute; right: 74px; bottom: 10px; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow); font-size: .88rem; font-weight: 600; width: 230px; cursor: pointer; border: 1px solid var(--line); animation: cbPop .3s ease; }
.cb-panel { position: absolute; right: 0; bottom: 76px; width: 370px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 110px); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -20px rgba(11, 27, 63, .45); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; animation: cbPop .22s ease; }
.cb-panel[hidden] { display: none; }
@keyframes cbPop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.cb-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.cb-avatar { width: 40px; height: 40px; border-radius: 12px; background: #fff; padding: 3px; object-fit: contain; }
.cb-title { flex: 1; line-height: 1.25; }
.cb-title b { display: block; font-size: 1rem; }
.cb-title small { font-size: .74rem; color: #b8c4e0; }
.cb-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; margin-right: 3px; }
.cb-icon-btn { width: 34px; height: 34px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; font-size: 1rem; text-decoration: none !important; }
.cb-icon-btn:hover { background: rgba(255, 255, 255, .2); }
.cb-wa { background: var(--wa); }
.cb-wa:hover { background: #1eb457; }
.cb-body { flex: 1; overflow-y: auto; padding: 16px 14px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 10px; }
.cb-msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; line-height: 1.5; word-wrap: break-word; }
.cb-bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.cb-me { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.cb-msg a { font-weight: 700; }
.cb-msg small { color: var(--muted); }
.cb-card > b { font-size: 1rem; }
.cb-card small b { font-size: inherit; }
.cb-card p { margin: .4rem 0; color: var(--muted); font-size: .86rem; }
.cb-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cb-chips span { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); }
.cb-chips span:empty { display: none; }
.cb-list { display: flex; flex-direction: column; gap: 4px; margin: 8px 0; }
.cb-list a { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 9px; background: var(--bg-alt); color: var(--ink); font-weight: 600; font-size: .85rem; text-decoration: none !important; }
.cb-list a:hover { background: var(--blue-soft); color: var(--blue); }
.cb-list small { color: var(--muted); font-weight: 500; white-space: nowrap; }
.cb-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px 0; background: #fff; max-height: 110px; overflow-y: auto; }
.cb-quick:empty { display: none; }
.cb-quick button { border: 1px solid #fed7aa; background: #fff7ed; color: #9a3412; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.cb-quick button:hover { background: var(--orange); color: #fff; border-color: var(--orange); }
.cb-input { display: flex; gap: 8px; padding: 12px; background: #fff; border-top: 1px solid var(--line); }
.cb-input input { flex: 1; border: 1px solid #cfd5e2; border-radius: 999px; padding: 10px 16px; font: inherit; font-size: .92rem; min-width: 0; }
.cb-input input:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.cb-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--orange); color: #fff; display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.cb-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; animation: cbDot 1s infinite; }
.cb-typing i:nth-child(2) { animation-delay: .15s; } .cb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cbDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 480px) {
    .cb { right: 14px; bottom: 14px; }
    .cb-panel { position: fixed; inset: auto 8px 86px 8px; width: auto; max-width: none; height: calc(100vh - 110px); }
    .cb-teaser { width: 200px; }
}

/* ---------- Quick enquiry popup ---------- */
.eq-overlay { position: fixed; inset: 0; background: rgba(7, 18, 48, .6); backdrop-filter: blur(3px); z-index: 100; display: grid; place-items: center; padding: 16px; }
.eq-overlay[hidden] { display: none; }
.eq-box { position: relative; background: #fff; border-radius: 20px; padding: 28px; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .5); animation: cbPop .2s ease; }
.eq-box h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.eq-box .field { margin-bottom: 12px; }
.eq-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 10px; border: 0; background: var(--bg-alt); cursor: pointer; font-size: 1rem; }
.eq-err { background: #fee2e2; color: #991b1b; padding: 10px 12px; border-radius: 10px; font-size: .88rem; font-weight: 600; margin-bottom: 12px; }
.eq-err[hidden] { display: none; }
.eq-tick { width: 64px; height: 64px; border-radius: 50%; background: #dcfce7; color: var(--green); font-size: 2rem; font-weight: 800; display: grid; place-items: center; margin: 10px auto 16px; }
button.card-link.btn-link { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; font-weight: 700; cursor: pointer; }

/* =========================================================
   Diwali festival theme (body.theme-diwali)
   ========================================================= */
.theme-diwali { --orange: #f59e0b; --orange-dark: #d97706; }
.dw-banner { background: linear-gradient(90deg, #4a0d1f, #8a1538 35%, #b4321d 65%, #4a0d1f); color: #fff3c4; position: relative; overflow: hidden; }
.dw-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 50%, rgba(255, 210, 63, .25), transparent 25%), radial-gradient(circle at 90% 50%, rgba(255, 210, 63, .25), transparent 25%); pointer-events: none; }
.dw-banner .container { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 8px; padding-bottom: 8px; text-align: center; flex-wrap: wrap; }
.dw-text { font-weight: 700; font-size: .95rem; letter-spacing: .01em; text-shadow: 0 1px 0 rgba(0, 0, 0, .25); }
.dw-cta { background: linear-gradient(135deg, #ffd23f, #f59e0b); color: #4a0d1f; border: 0; border-radius: 999px; padding: .4rem 1rem; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; box-shadow: 0 0 0 0 rgba(255, 210, 63, .7); animation: dwPulse 2.2s infinite; }
@keyframes dwPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 210, 63, .6); } 70% { box-shadow: 0 0 0 10px rgba(255, 210, 63, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 210, 63, 0); } }
.dw-diyas { display: inline-flex; gap: 4px; }
.diya { width: 34px; height: 34px; overflow: visible; }
.diya .flame { transform-origin: 32px 30px; animation: dwFlicker 1.4s ease-in-out infinite alternate; }
.diya .glow { animation: dwGlow 1.8s ease-in-out infinite alternate; }
@keyframes dwFlicker { 0% { transform: scale(1, 1) rotate(-2deg); } 50% { transform: scale(.92, 1.08) rotate(2deg); } 100% { transform: scale(1.05, .95) rotate(-1deg); } }
@keyframes dwGlow { from { opacity: .35; } to { opacity: .75; } }
@media (max-width: 640px) { .dw-diyas:last-child { display: none; } .dw-text { font-size: .82rem; } .diya { width: 26px; height: 26px; } }

/* Marigold toran under the header */
.theme-diwali .site-header { border-bottom: 0; }
.dw-toran { position: relative; z-index: 3; height: 0; display: flex; justify-content: space-between; padding: 0 6px; pointer-events: none; }
.dw-toran i { width: 16px; height: 16px; border-radius: 50%; margin-top: -7px; background: radial-gradient(circle at 35% 35%, #ffe08a, #f59e0b 55%, #ea580c); box-shadow: 0 2px 2px rgba(0, 0, 0, .15); }
.dw-toran i:nth-child(3n) { background: radial-gradient(circle at 35% 35%, #fff3b0, #facc15 55%, #ca8a04); }
.dw-toran i:nth-child(4n) { width: 10px; height: 18px; border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%; background: #16a34a; margin-top: -4px; }
@media (max-width: 560px) { .dw-toran i:nth-child(n+22) { display: none; } }

/* Twinkling string lights across the top of the hero */
.dw-lights { position: relative; z-index: 2; height: 0; display: flex; justify-content: space-around; pointer-events: none; }
.dw-lights::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 18px; border-top: 2px solid rgba(255, 255, 255, .25); border-radius: 50%; }
.dw-lights i { position: relative; top: 20px; width: 9px; height: 13px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; background: #fde047; box-shadow: 0 0 10px 3px rgba(253, 224, 71, .8); animation: dwTwinkle 1.6s infinite alternate; }
.dw-lights i:nth-child(odd) { top: 26px; }
.dw-lights i:nth-child(4n+1) { background: #f97316; box-shadow: 0 0 10px 3px rgba(249, 115, 22, .8); animation-delay: .4s; }
.dw-lights i:nth-child(4n+2) { background: #ef4444; box-shadow: 0 0 10px 3px rgba(239, 68, 68, .75); animation-delay: .8s; }
.dw-lights i:nth-child(4n+3) { background: #22c55e; box-shadow: 0 0 10px 3px rgba(34, 197, 94, .7); animation-delay: 1.2s; }
@keyframes dwTwinkle { from { opacity: .45; filter: saturate(.6); } to { opacity: 1; filter: saturate(1.3); } }
@media (max-width: 560px) { .dw-lights i:nth-child(n+19) { display: none; } }

/* Warmer hero & sparkles */
.theme-diwali .hero, .theme-diwali .page-hero { position: relative; overflow: hidden; }
.theme-diwali .hero { background: radial-gradient(900px 500px at 85% -10%, rgba(245, 158, 11, .35), transparent 60%), radial-gradient(700px 420px at -10% 110%, rgba(190, 24, 93, .35), transparent 60%), linear-gradient(160deg, #1a0b2e, #2a0f3a 45%, #0b1b3f); }
.theme-diwali .page-hero { background: radial-gradient(700px 300px at 90% 0%, rgba(245, 158, 11, .3), transparent 60%), linear-gradient(135deg, #2a0f3a, #0b1b3f); }
.theme-diwali .hero > .container, .theme-diwali .page-hero > .container { position: relative; z-index: 1; }
.theme-diwali .hero .tagline, .theme-diwali .eyebrow { color: #f59e0b; }
.dw-sparkles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.dw-sparkles i { position: absolute; background: radial-gradient(circle, #fff7c2 0, #ffd23f 35%, transparent 70%); border-radius: 50%; opacity: 0; animation: dwSpark 4s infinite; }
@keyframes dwSpark { 0%, 100% { opacity: 0; transform: scale(.4); } 50% { opacity: 1; transform: scale(1); } }
.theme-diwali .cta-band { background: linear-gradient(120deg, #8a1538, #d97706); }
.theme-diwali .site-footer { background: linear-gradient(180deg, #1a0b2e, #071230 40%); }

/* Corner diya (bottom-left, away from the chatbot) */
.dw-corner { position: fixed; left: 16px; bottom: 14px; z-index: 70; pointer-events: none; filter: drop-shadow(0 4px 12px rgba(245, 158, 11, .6)); }
.dw-corner .diya { width: 54px; height: 54px; }
@media (max-width: 560px) { .dw-corner .diya { width: 40px; height: 40px; } }

@media (prefers-reduced-motion: reduce) {
    .diya .flame, .diya .glow, .dw-lights i, .dw-cta { animation: none; }
}
@media (max-width: 640px) {
    .dw-banner .container { gap: 8px; padding-top: 6px; padding-bottom: 6px; flex-wrap: nowrap; text-align: left; }
    .dw-banner .dw-diyas { display: none; }
    .dw-text { font-size: .76rem; line-height: 1.35; }
    .dw-cta { padding: .35rem .7rem; font-size: .72rem; white-space: nowrap; }
}

/* ---------- Diwali v2: orange strip + marigold toran below the menu ---------- */
.dw-banner, .dw-toran, .dw-lights { display: none !important; }
.dw-festive { position: relative; z-index: 30; }
.dw-strip { background: linear-gradient(90deg, #ff7a00, #ff8f00 30%, #ff9a00 50%, #ff8f00 70%, #ff6a00); color: #fff; box-shadow: 0 2px 0 rgba(0, 0, 0, .04); }
.dw-strip .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 7px; padding-bottom: 7px; text-align: center; }
.dw-strip .dw-text { font-weight: 800; font-size: .98rem; letter-spacing: .005em; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); }
.dw-strip .diya { width: 34px; height: 34px; flex-shrink: 0; }
.dw-garland { position: absolute; left: 0; right: 0; top: 100%; height: 62px; background: url('/images/diwali-toran.svg') repeat-x left top; background-size: 120px 62px; pointer-events: none; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .18)); }
.dw-star { position: absolute; top: 12px; width: 11px; height: 11px; background: #ffc21a; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: dwSpark 3s ease-in-out infinite; }
.dw-star:nth-child(2) { animation-delay: .8s; } .dw-star:nth-child(3) { animation-delay: 1.6s; } .dw-star:nth-child(4) { animation-delay: 2.2s; }
@media (max-width: 640px) {
    .dw-strip .container { gap: 8px; padding-top: 6px; padding-bottom: 6px; }
    .dw-strip .dw-text { font-size: .76rem; line-height: 1.35; }
    .dw-strip .diya { width: 26px; height: 26px; }
    .dw-garland { height: 47px; background-size: 90px 47px; }
    .dw-star { display: none; }
}

.theme-diwali .page-hero { padding-top: 76px; }
.theme-diwali .hero { padding-top: 96px; }
@media (max-width: 640px) { .theme-diwali .page-hero { padding-top: 62px; } .theme-diwali .hero { padding-top: 68px; } }

/* ---------- "Ask us" pill launcher ---------- */
.cb-launcher { width: auto; height: 54px; padding: 0 22px 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, #3b0a63 0%, #6d1a8a 55%, #a0247f 100%); border: 2px solid rgba(255, 255, 255, .35);
  box-shadow: 0 0 0 3px rgba(160, 36, 127, .35), 0 14px 30px -8px rgba(59, 10, 99, .7); font-family: var(--font); }
.cb-launcher:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px rgba(160, 36, 127, .45), 0 18px 34px -8px rgba(59, 10, 99, .75); }
.cb-label { font-weight: 800; font-size: 1.05rem; color: #fff; letter-spacing: .01em; }
.cb.open .cb-label::before { content: "Close"; }
.cb.open .cb-label { font-size: 0; }
.cb.open .cb-label::before { font-size: 1rem; }
.cb-ic-close { font-size: 1.1rem; }
.cb-badge { top: -6px; right: -4px; }
.cb-teaser { right: 0; bottom: 66px; }
.cb-panel { bottom: 70px; }
@media (max-width: 480px) {
  .cb-launcher { height: 50px; padding: 0 18px 0 14px; }
  .cb-label { font-size: .98rem; }
  .cb-panel { inset: auto 8px 78px 8px; }
}

/* ---------- Header "Book Admission" button ---------- */
.btn-book { background: #a3195b; color: #fff; border: 0; border-radius: 999px; padding: .7rem 1.4rem; font-size: .98rem; font-weight: 800; margin-left: .5rem; box-shadow: 0 8px 18px -8px rgba(163, 25, 91, .7); }
.btn-book:hover { background: #8a1250; color: #fff; transform: translateY(-1px); }
@media (max-width: 960px) { .nav .btn-book { margin: .5rem 0 0; justify-content: center; } }

/* =========================================================
   Light / dark theme toggle
   ========================================================= */
.theme-toggle { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; transition: background .2s, transform .2s; }
.theme-toggle:hover { transform: rotate(-12deg); background: var(--bg-alt); }
.theme-toggle .ti-moon { display: none; }
html[data-theme="dark"] .theme-toggle .ti-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ti-moon { display: block; }
@media (max-width: 560px) { .theme-toggle { width: 36px; height: 36px; } .theme-toggle svg { width: 17px; height: 17px; } }
body, .card, .site-header, .post-card, .gallery-card, .sp-card, .faq details { transition: background-color .25s, color .25s, border-color .25s; }

html[data-theme="dark"] {
    color-scheme: dark;
    --ink: #e7ecf7;
    --muted: #9eabc6;
    --line: #26324f;
    --bg: #0a1120;
    --bg-alt: #0f1a30;
    --blue: #7aa2ff;
    --blue-soft: #18284a;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .site-header { background: rgba(10, 17, 32, .94); border-bottom-color: var(--line); }
html[data-theme="dark"] .brand, html[data-theme="dark"] .nav-toggle { color: #fff; }
html[data-theme="dark"] .nav a { color: var(--ink); }
html[data-theme="dark"] .nav a:hover, html[data-theme="dark"] .nav a.active { color: #fff; background: var(--blue-soft); }
html[data-theme="dark"] .theme-toggle, html[data-theme="dark"] .lang-switch { background: var(--bg-alt); border-color: var(--line); color: #fde68a; }
html[data-theme="dark"] .lang-switch button { color: var(--muted); }
html[data-theme="dark"] .lang-switch button.active { background: #e7ecf7; color: #0a1120; }
@media (max-width: 960px) { html[data-theme="dark"] .nav { background: #0d1628; border-color: var(--line); } }

html[data-theme="dark"] .card, html[data-theme="dark"] .post-card, html[data-theme="dark"] .gallery-card, html[data-theme="dark"] .featured-post,
html[data-theme="dark"] .faq details, html[data-theme="dark"] .form-card, html[data-theme="dark"] .sticky-box, html[data-theme="dark"] .mod-card,
html[data-theme="dark"] .tool-card, html[data-theme="dark"] .exam-card, html[data-theme="dark"] .batch, html[data-theme="dark"] .steps div,
html[data-theme="dark"] .sp-card, html[data-theme="dark"] .eq-box, html[data-theme="dark"] .cb-panel, html[data-theme="dark"] .cb-bot,
html[data-theme="dark"] .cb-quick, html[data-theme="dark"] .cb-input, html[data-theme="dark"] .cb-teaser, html[data-theme="dark"] .subnav {
    background: #111c33; border-color: var(--line); color: var(--ink);
}
html[data-theme="dark"] .pills span, html[data-theme="dark"] .filters a, html[data-theme="dark"] .filters button, html[data-theme="dark"] .toc a,
html[data-theme="dark"] .sp-social, html[data-theme="dark"] .socials .social-row-item, html[data-theme="dark"] .cb-list a, html[data-theme="dark"] .eq-close,
html[data-theme="dark"] .grades div, html[data-theme="dark"] .module-list li, html[data-theme="dark"] .topics span, html[data-theme="dark"] .chip {
    background: #16233f; border-color: var(--line); color: var(--ink);
}
html[data-theme="dark"] .sp-social:hover, html[data-theme="dark"] .socials .social-row-item:hover { background: #1b2a4b; }
html[data-theme="dark"] .filters a.active, html[data-theme="dark"] .filters button.active, html[data-theme="dark"] .filters a:hover { background: #e7ecf7; color: #0a1120; border-color: #e7ecf7; }
html[data-theme="dark"] .field input, html[data-theme="dark"] .field select, html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .cb-input input { background: #0b1426; border-color: #2c3a5c; color: var(--ink); }
html[data-theme="dark"] .course-card h3 a, html[data-theme="dark"] .post-card h3 a, html[data-theme="dark"] .exam-card .marks,
html[data-theme="dark"] .grades b, html[data-theme="dark"] .sp-score, html[data-theme="dark"] .sp-count { color: #fff; }
html[data-theme="dark"] .btn-outline { color: var(--ink); }
html[data-theme="dark"] .btn-outline:hover { background: #e7ecf7; color: #0a1120; border-color: #e7ecf7; }
html[data-theme="dark"] .btn-dark { background: #e7ecf7; color: #0a1120; }
html[data-theme="dark"] .btn-dark:hover { background: #fff; }
html[data-theme="dark"] .sp-btn-solid { background: #e7ecf7; color: #0a1120; border-color: #e7ecf7; }
html[data-theme="dark"] .sp-btn-ghost { background: transparent; color: #e7ecf7; border-color: #e7ecf7; }
html[data-theme="dark"] .sp-g, html[data-theme="dark"] .sp-google { background: #fff; }
html[data-theme="dark"] .card .ico { background: var(--blue-soft); }
html[data-theme="dark"] .card.feature .ico { background: rgba(249, 115, 22, .15); }
html[data-theme="dark"] .chip.blue { background: var(--blue-soft); color: #9db8ff; }
html[data-theme="dark"] .chip.orange { background: rgba(249, 115, 22, .15); color: #fdba74; }
html[data-theme="dark"] .ticks li::before { background: rgba(34, 197, 94, .18); }
html[data-theme="dark"] .prose blockquote { background: var(--bg-alt); }
html[data-theme="dark"] .alert-success { background: rgba(34, 197, 94, .15); color: #86efac; }
html[data-theme="dark"] .alert-error, html[data-theme="dark"] .eq-err { background: rgba(239, 68, 68, .15); color: #fca5a5; }
html[data-theme="dark"] .social-proof-wrap { background: var(--bg-alt); border-top-color: var(--line); }
html[data-theme="dark"] .cb-body { background: #0b1426; }
html[data-theme="dark"] .cb-me { background: #2f4a8a; }
html[data-theme="dark"] .cb-quick button { background: rgba(249, 115, 22, .12); border-color: rgba(249, 115, 22, .4); color: #fdba74; }
html[data-theme="dark"] .pagination a, html[data-theme="dark"] .pagination span { border-color: var(--line); color: var(--ink); }
html[data-theme="dark"] .pagination .active span { background: #e7ecf7; color: #0a1120; }
html[data-theme="dark"] .section.alt { background: var(--bg-alt); }
html[data-theme="dark"] .site-footer { background: #060c1a; }

/* header fit with theme toggle */
.nav a, .btn-book { white-space: nowrap; }
.nav { gap: .1rem; }
.nav a { padding: .5rem .7rem; }
.btn-book { padding: .65rem 1.2rem; }
@media (max-width: 1240px) and (min-width: 961px) {
    .nav a { padding: .45rem .5rem; font-size: .9rem; }
    .btn-book { padding: .6rem 1rem; font-size: .9rem; margin-left: .3rem; }
    .brand-text small { display: none; }
    .header-right { gap: .4rem; }
}

/* Figtree typography tuning */
body { letter-spacing: 0; }
h1, h2 { letter-spacing: -.015em; }
.nav a { font-weight: 500; font-size: 1rem; }

/* "Admission Open" badge in the same magenta as Book Admission */
.badge.orange, .theme-diwali .badge.orange { background: #a3195b; border-color: #a3195b; color: #fff; box-shadow: 0 6px 16px -8px rgba(163, 25, 91, .8); }

/* Home hero: slogan big, keyword line small */
.hero .hero-kicker { font-size: 1rem; font-weight: 700; line-height: 1.4; letter-spacing: .01em; margin: 0 0 .6rem; color: var(--orange); }
.hero .hero-title { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }

/* Footer: official brand-colour social icons */
.social-row { gap: .6rem; }
.social-row a { width: auto; height: auto; background: none; border-radius: 12px; transition: transform .2s; }
.social-row a:hover { background: none; transform: translateY(-3px); }
.social-row .sp-ico { width: 40px; height: 40px; border-radius: 11px; }
.social-row .sp-ico svg { width: 21px; height: 21px; }
.social-row .sp-youtube svg { width: 26px; height: 26px; }
.social-row .sp-x { background: #000; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.social-row .sp-google { border: 0; }

/* =========================================================
   Accessibility: WCAG AA contrast (4.5:1) + heading styles
   ========================================================= */
.btn-primary, .theme-diwali .btn-primary { background: #c2410c; color: #fff; }
.btn-primary:hover, .theme-diwali .btn-primary:hover { background: #9a3412; }
.theme-diwali .btn-primary { background: #b45309; }
.theme-diwali .btn-primary:hover { background: #92400e; }
.topbar .pill { background: #c2410c; }
.btn-wa { background: #15803d; }
.btn-wa:hover { background: #166534; }
.lc-run { background: #15803d; }
.lc-run:hover { background: #166534; }
.code-card .foot { color: #a5b4d4; }
.code-card .c { color: #8b9bbb; }
.site-footer .footer-title { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
h2.h3 { font-size: 1.15rem; }
/* orange text on light backgrounds -> amber-700 (5:1); bright amber on dark backgrounds */
.eyebrow, .theme-diwali .eyebrow { color: #b45309; }
.hero .eyebrow, .page-hero .eyebrow, .section.dark .eyebrow, .cta-band .eyebrow,
.theme-diwali .hero .eyebrow, .theme-diwali .page-hero .eyebrow, .theme-diwali .section.dark .eyebrow,
html[data-theme="dark"] .eyebrow { color: #fbbf24; }
.chip.orange { color: #9a3412; }
.post-card .meta b, .gallery-card .cat, .mod-card .num, .module-list li::before, .featured-post .eyebrow { color: #b45309; }
html[data-theme="dark"] .post-card .meta b, html[data-theme="dark"] .gallery-card .cat, html[data-theme="dark"] .mod-card .num, html[data-theme="dark"] .module-list li::before { color: #fdba74; }
.tool-card .cat { color: #1d4ed8; }
html[data-theme="dark"] .tool-card .cat { color: #9db8ff; }
.batch b { color: #b45309; }
html[data-theme="dark"] .batch b { color: #fdba74; }


/* ---------- Header dropdown menus (Admin → Menus) ---------- */
.nav-drop { position: relative; }
.nav-drop .caret { font-size: .7em; opacity: .65; margin-left: 2px; }
.nav .drop-label { background: none; border: 0; font: inherit; color: var(--ink); font-weight: 500; font-size: 1rem; padding: .5rem .7rem; border-radius: 8px; cursor: pointer; white-space: nowrap; }
.nav .drop-label:hover, .nav .drop-label.active { color: var(--blue); background: var(--blue-soft); }
.nav-drop .drop { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .4rem; display: none; flex-direction: column; z-index: 60; }
.nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { display: flex; }
.nav-drop .drop a { padding: .55rem .8rem; border-radius: 8px; font-size: .95rem; }
@media (max-width: 960px) {
    .nav-drop .drop { position: static; display: flex; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 0 0 0 .6rem; margin: 0 0 .3rem .8rem; min-width: 0; background: transparent; }
    .nav .drop-label { width: 100%; text-align: left; }
}
html[data-theme="dark"] .nav-drop .drop { background: #0d1628; border-color: var(--line); }
@media (max-width: 960px) { html[data-theme="dark"] .nav-drop .drop { background: transparent; } }

/* ---------- Page builder sections (custom pages) ---------- */
.ps-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.ps-split.no-media { grid-template-columns: 1fr; max-width: 820px; }
.ps-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
.ps-text { color: var(--muted); font-size: 1.05rem; }
.section.dark .ps-text { color: #b8c4e0; }
.ps-faq { max-width: 820px; margin: 0 auto; }
.ps-contact { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.ps-contact li { display: flex; gap: .6rem; align-items: flex-start; }
@media (max-width: 860px) { .ps-split { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Header layout: logo | menu | Book Admission + theme + language ---------- */
.site-header .brand { flex-shrink: 0; }
@media (min-width: 961px) {
    .site-header .container { max-width: 1440px; padding-left: 28px; padding-right: 28px; }  /* header wider than content = more room for the menu */
    .header-right { flex: 1; min-width: 0; margin-left: 1.5rem; }
    .header-right .nav { flex: 1; min-width: 0; }
    .header-right .nav .btn-book { margin-left: auto; }
}
/* medium laptops: tighter menu and smaller logo so nothing overlaps */
@media (min-width: 961px) and (max-width: 1360px) {
    :root { --logo-size: 50px; }
    .brand { gap: .6rem; }
    .brand-text strong { font-size: 1.15rem; }
    .brand-text small { font-size: .55rem; letter-spacing: .1em; }
    .nav a, .nav .drop-label { padding: .45rem .55rem; font-size: .93rem; }
    .btn-book { padding: .6rem 1.05rem; font-size: .9rem; }
    .header-right { gap: .45rem; margin-left: 1rem; }
}
@media (min-width: 961px) and (max-width: 1180px) {
    .site-header .container { padding-left: 16px; padding-right: 16px; }
    :root { --logo-size: 44px; }
    .brand-text strong { font-size: 1rem; }
    .brand-text small { display: none; }
    .nav a, .nav .drop-label { padding: .4rem .4rem; font-size: .86rem; }
    .btn-book { padding: .55rem .85rem; font-size: .84rem; margin-left: .4rem; }
    .lang-switch button { padding: .3rem .5rem; }
    .header-right { margin-left: .6rem; }
}

/* Top strip in the Book Admission magenta */
.topbar, html[data-theme="dark"] .topbar { background: #a3195b; color: #fde7f1; }
.topbar a { color: #fff; }
.topbar .pill, html[data-theme="dark"] .topbar .pill { background: #fff; color: #a3195b; }
