/*
  VOICE:  welcoming, trustworthy, plain-spoken – a local expert you can call
  IDEA:   the logo's three crescent arcs – momentum, "Always ahead"
  PICTURE: a browser + phone being built inside the brand arcs (hero SVG)
  COLOUR & TYPE: brand navy ink, sky-blue bands, orange as the single action colour;
                 Baloo 2 headings + Mukta body (both cover Marathi & English)
  LAYOUT: full-width bands, content max 1180px; stacks to one column on phones

  ---- EDIT BRAND COLOURS HERE ---- */
:root {
  color-scheme: light;
  --navy: #13294B;
  --navy-2: #1d3a66;
  --orange: #ED972A;       /* buttons / accents */
  --orange-ink: #9A5200;   /* orange text on white (accessible contrast) */
  --sky: #5AAAD0;
  --sky-ink: #1F6F99;
  --sky-bg: #EAF5FB;
  --soft-bg: #F6F8FB;
  --ink: #1A2533;
  --muted: #4A5868;
  --line: #DCE4EC;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(19, 41, 75, .08);
  --font-head: "Baloo 2", "Mukta", system-ui, sans-serif;
  --font-body: "Mukta", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 17px/1.65 var(--font-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--sky-ink); }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1180px; margin: 0 auto; padding-inline: max(5vw, 18px); }
.band { padding-block: clamp(56px, 8vw, 104px); }
.band-sky { background: var(--sky-bg); }
.band-soft { background: var(--soft-bg); }
.band-navy { background: var(--navy); color: #E7EEF7; }
.band-navy h2, .band-navy h3 { color: #fff; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font: 700 17px/1.2 var(--font-body); text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-primary { background: var(--orange); color: var(--navy); box-shadow: 0 8px 20px rgba(237, 151, 42, .35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(237, 151, 42, .45); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.link { font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: center; gap: 20px; min-height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: auto; }
.brand-name { font: 800 21px/1 var(--font-head); color: var(--navy); white-space: nowrap; }
.brand-name span { color: var(--orange-ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap; }
.nav a:hover { background: var(--sky-bg); color: var(--navy); }
.nav a.nav-cta { background: var(--navy); color: #fff; padding-inline: 18px; }
.nav a.nav-cta:hover { background: var(--navy-2); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.lang { min-height: 44px; padding: 8px 14px; border: 2px solid var(--sky); background: #fff; color: var(--navy); border-radius: 999px; font: 700 15px/1 var(--font-body); cursor: pointer; }
.lang:hover { background: var(--sky-bg); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: var(--sky-bg); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger i { display: block; width: 22px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] i:nth-of-type(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] i:nth-of-type(2) { opacity: 0; }
.burger[aria-expanded="true"] i:nth-of-type(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 80px); background: radial-gradient(1000px 500px at 85% 10%, var(--sky-bg), transparent 70%), #fff; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.kicker { display: inline-block; font-weight: 600; color: var(--sky-ink); background: var(--sky-bg); padding: 6px 14px; border-radius: 999px; font-size: 15px; margin-bottom: 18px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 28px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15.5px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none; }
.hero-art svg { width: 100%; max-width: 560px; margin-inline: auto; }
.hero-art .arcs path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 1.6s ease-out forwards; }
.hero-art .arcs path:nth-child(2) { animation-delay: .15s; }
.hero-art .arcs path:nth-child(3) { animation-delay: .3s; }
.hero-art .float { animation: bob 6s ease-in-out infinite; }
.hero-art .float2 { animation: bob 7s ease-in-out infinite reverse; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ---------- Section headings ---------- */
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--muted); font-size: 18px; }
.band-navy .sec-head p { color: #C9D6E6; }
.note { font-size: 15px; color: var(--muted); margin-top: 22px; }

/* ---------- Cards / Services ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.svc { padding: 28px; transition: transform .25s, box-shadow .25s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(19, 41, 75, .12); }
.svc p { color: var(--muted); }
.svc-wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 20px; align-items: start; }
.svc-wide .ico { grid-row: span 3; margin: 0; }
.ico { width: 52px; height: 52px; border-radius: 14px; background: var(--sky-bg); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 28px; height: 28px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc:nth-child(odd) .ico { background: #FDF0DF; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 14px; height: 8px; border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg); }

/* ---------- Industries ---------- */
.ind-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ind-grid li { background: #fff; border-radius: 14px; padding: 18px 20px 18px 22px; border: 1px solid #D3E6F1; position: relative; overflow: hidden; }
.ind-grid li::after { content: ""; position: absolute; right: -26px; top: -26px; width: 64px; height: 64px; border-radius: 50%; border: 6px solid var(--sky); opacity: .22; }
.ind-grid b { display: block; font-family: var(--font-head); color: var(--navy); font-size: 18px; line-height: 1.3; }
.ind-grid span { color: var(--muted); font-size: 15.5px; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.work { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.work img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .5s; }
.work:hover img { transform: scale(1.03); }
.work-body { padding: 20px 24px 24px; }
.work-body p:last-child { margin: 0; color: var(--muted); }
.tag { font-size: 14px; font-weight: 700; color: var(--orange-ink); margin-bottom: 4px; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--navy); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* ---------- Process ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 10px, transparent 10px 18px); opacity: .6; }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); border: 3px solid var(--orange); color: #fff; font: 800 22px/1 var(--font-head); margin-bottom: 16px; position: relative; }
.steps h3 { font-size: 19px; margin-bottom: 6px; }
.steps p { color: #C9D6E6; font-size: 16px; margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; max-width: 400px; aspect-ratio: 5 / 6; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.about-photo::before { content: ""; position: absolute; inset: 18px -14px -14px 18px; max-width: 400px; border-radius: 24px; border: 3px solid var(--orange); }
.about-name { font: 700 22px/1.3 var(--font-head); color: var(--navy); margin-bottom: 0; }
.about-name span { font-weight: 600; color: var(--muted); font-size: 18px; }
.about-role { color: var(--orange-ink); font-weight: 600; margin-bottom: 18px; }
.values { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.values li { background: var(--soft-bg); border-radius: 14px; padding: 16px; }
.values b { display: block; color: var(--navy); font-family: var(--font-head); font-size: 17px; }
.values span { font-size: 15px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--navy); font-size: 17.5px; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; background: var(--sky-bg); display: grid; place-items: center; font-size: 22px; color: var(--navy); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: #FDF0DF; }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info p { color: var(--muted); font-size: 18px; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list b { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-list a, .contact-list li > div > span { font-weight: 700; color: var(--navy); font-size: 18px; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--sky-ink); text-decoration: underline; }
.ci { width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; box-shadow: var(--shadow); }
.ci svg { width: 22px; height: 22px; fill: none; stroke: var(--orange-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form { padding: clamp(22px, 3vw, 34px); }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
label { font-weight: 600; font-size: 15.5px; color: var(--navy); }
input, select, textarea { width: 100%; font: 16px/1.4 var(--font-body); color: var(--ink); background: #fff; border: 1.5px solid #C6D2DE; border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s, box-shadow .2s; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky-ink); box-shadow: 0 0 0 4px rgba(90, 170, 208, .25); }
[aria-invalid="true"] { border-color: #B3261E; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-err { color: #B3261E; font-weight: 600; }
.fine { font-size: 14px; color: var(--muted); margin: 14px 0 0; }
.form-ok { margin-top: 16px; padding: 14px 16px; background: #EEF8F1; border: 1px solid #BFE3CB; border-radius: 12px; }
.form-ok p { margin: 0 0 4px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding: 44px 0 24px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px 48px; align-items: center; }
.foot-logo { width: 240px; }
.site-footer nav, .foot-contact { display: flex; flex-direction: column; gap: 6px; }
.site-footer nav a, .foot-contact a { color: var(--ink); text-decoration: none; padding: 2px 0; overflow-wrap: anywhere; }
.site-footer nav a:hover, .foot-contact a:hover { color: var(--sky-ink); text-decoration: underline; }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- Floating WhatsApp ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; gap: 8px; background: #1F8F4E; color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); min-height: 50px; }
.wa-float svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linejoin: round; }
.wa-float svg .fill { fill: #fff; stroke: none; }
.wa-float:hover { background: #187a42; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .burger { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: #fff; border-bottom: 1px solid var(--line); padding: 10px max(5vw, 18px) 18px; box-shadow: 0 16px 30px rgba(19, 41, 75, .1); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .nav a.nav-cta { text-align: center; margin-top: 6px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .steps::before { display: none; }
  .ind-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-art { order: -1; max-width: 440px; margin-inline: auto; width: 100%; }
  .about-photo { max-width: 320px; }
  .values { grid-template-columns: minmax(0, 1fr); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .hero-art { order: 0; }
  .brand-name { font-size: 18px; }
  .brand-name span { display: none; }
  .svc-grid, .work-grid, .ind-grid, .row2 { grid-template-columns: minmax(0, 1fr); }
  .svc-wide { display: block; }
  .svc-wide .ico { margin-bottom: 16px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .cta-row .btn, .form-actions .btn { width: 100%; }
  .wa-float span { display: none; }
  .wa-float { padding: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-art .arcs path { stroke-dashoffset: 0; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Public visitor count (added by js/main.js when enabled in the admin panel) */
.visits { display: inline-block; margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); white-space: nowrap; }
@media (max-width: 600px) { .visits { display: block; margin: 6px 0 0; padding: 0; border: 0; } }

/* Projects added from the admin panel */
.work-body .wd { color: var(--muted); margin: 0 0 12px; }
.work-body .wd:last-child { margin: 0; }
.work-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--orange-ink); text-decoration: none; }
.work-link:hover { text-decoration: underline; }
.work-ph { aspect-ratio: 16 / 11; display: grid; place-items: center; padding: 24px; text-align: center;
  background: radial-gradient(circle at 80% 20%, rgba(237,151,42,.35), transparent 45%), linear-gradient(135deg, var(--navy), var(--navy-2)); }
.work-ph span { font: 800 clamp(22px, 3vw, 30px)/1.2 var(--font-head); color: #fff; }
