/* =========================================================
   Dharaksha Consultancy Services — Design System
   Palette: Brand Blue + Maroon-Red on clean white (matched to logo)
   Fonts: Poppins (headings) + Inter (body)
   ========================================================= */

:root {
  /* Brand colours — matched to the Dharaksha logo (blue wordmark + maroon-red icon).
     Note: variable names below are kept for legacy reasons —
     "--indigo-*" now holds the brand BLUE, "--gold-*" now holds the brand RED. */
  --indigo-900: #101f47;
  --indigo-800: #172c6a;
  --indigo-700: #1e3a8a;   /* primary blue — matches the DHARAKSHA wordmark */
  --indigo-600: #24469c;
  --indigo-500: #3a5bc4;
  --indigo-50:  #eef2fb;

  --gold-600: #8f1d24;     /* deep maroon-red — matches CONSULTANCY SERVICES text */
  --gold-500: #b02128;     /* brand red — matches the icon */
  --gold-400: #c9424a;
  --gold-100: #f8e5e6;

  --white: #ffffff;
  --ink:   #1f2233;
  --body:  #4a4f63;
  --muted: #6b7280;
  --line:  #e6e8f0;
  --bg-soft: #f7f8fc;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(30, 27, 75, .06), 0 2px 8px rgba(30, 27, 75, .05);
  --shadow-md: 0 6px 24px rgba(49, 46, 129, .10);
  --shadow-lg: 0 18px 48px rgba(49, 46, 129, .16);

  --container: 1160px;
  --gutter: clamp(16px, 4vw, 28px);

  --font-head: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset & base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--indigo-700); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--indigo-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.35rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p  { margin: 0 0 1rem; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
.section--indigo {
  background: linear-gradient(135deg, var(--indigo-800), var(--indigo-600));
  color: #dfe1f3;
}
.section--indigo h2, .section--indigo h3 { color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section--indigo .eyebrow { color: var(--gold-400); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section--indigo .section-head p { color: #c8caea; }

.text-gold { color: var(--gold-600); }
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-600));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { color: #fff; box-shadow: var(--shadow-lg); }
.btn--gold {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: #fff;
  box-shadow: 0 6px 20px rgba(176, 33, 40, .34);
}
.btn--gold:hover { color: #fff; }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.btn--outline {
  background: #fff;
  border-color: var(--line);
  color: var(--indigo-700);
}
.btn--outline:hover { color: var(--indigo-700); border-color: var(--indigo-500); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 72px;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.08rem; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-500));
  display: grid; place-items: center; color: #fff; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.brand__mark span { font-family: var(--font-head); }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-600); }

.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--font-head); font-weight: 500; font-size: .95rem;
  color: var(--body); padding: 9px 14px; border-radius: 8px;
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--indigo-700); background: var(--indigo-50); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.nav__ig { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); color: var(--indigo-700); }
.nav__ig:hover { background: var(--indigo-50); }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; position: relative; transition: transform .25s var(--ease), opacity .2s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }
body.nav-open .nav__toggle span { background: transparent; }
body.nav-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 480px at 88% -10%, rgba(176,33,40,.13), transparent 60%),
    radial-gradient(900px 520px at -5% 8%, rgba(37,64,140,.15), transparent 55%),
    var(--white);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 88px);
  overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--indigo-50); color: var(--indigo-700);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  padding: 8px 16px; border-radius: 999px; margin-bottom: 22px;
  border: 1px solid #dfe2fb;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.hero h1 span { color: var(--indigo-700); }
.hero__sub { font-size: 1.18rem; color: var(--muted); max-width: 34ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__stats { display: flex; gap: 30px; margin-top: 38px; flex-wrap: wrap; }
.hero__stat b { font-family: var(--font-head); font-size: 1.7rem; color: var(--ink); display: block; }
.hero__stat span { font-size: .85rem; color: var(--muted); }

.hero__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px;
}
.hero__card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.hero__card .muted { font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.hero__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); font-size: .98rem; }
.hero__list .tick {
  flex: none; width: 26px; height: 26px; border-radius: 8px;
  background: var(--indigo-50); color: var(--indigo-700);
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
}

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

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d7dbf0; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--indigo-50), #e7eb ff);
  background: linear-gradient(135deg, var(--indigo-50), #eaf0ff);
  color: var(--indigo-700);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .97rem; margin-bottom: 16px; }
.card__link { font-family: var(--font-head); font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 6px; }
.card__link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Feature (why choose us) */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-100); color: var(--gold-600);
  display: grid; place-items: center;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Startups strip ---------- */
.startup-strip {
  background: linear-gradient(135deg, var(--indigo-800), var(--indigo-600));
  border-radius: var(--radius-lg); color: #fff; padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.startup-strip::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(176,33,40,.38), transparent 70%);
}
.startup-strip h2 { color: #fff; }
.startup-strip p { color: #d5d7f0; margin: 0; max-width: 52ch; position: relative; }
.startup-strip .btn { position: relative; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step__num {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--indigo-700), var(--indigo-500));
  color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Testimonials ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.quote__stars { color: var(--gold-500); margin-bottom: 12px; letter-spacing: 2px; }
.quote p { font-size: 1.02rem; color: var(--ink); font-style: italic; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--indigo-50); color: var(--indigo-700); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.quote__by b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; display: block; }
.quote__by span { font-size: .82rem; color: var(--muted); }

/* ---------- Page header (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 360px at 90% -30%, rgba(176,33,40,.12), transparent 60%),
    linear-gradient(180deg, var(--indigo-50), #fff);
  padding: clamp(44px, 6vw, 72px) 0 clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb a { color: var(--indigo-700); }
.page-hero h1 { max-width: 20ch; }
.page-hero p { max-width: 60ch; font-size: 1.12rem; color: var(--muted); }

/* Split content */
.split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.prose h2 { margin-top: 8px; }
.prose h3 { margin-top: 28px; }
.check-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); }
.check-list .tick { flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--indigo-50); color: var(--indigo-700); display: grid; place-items: center; font-weight: 700; font-size: .78rem; margin-top: 2px; }

.sidecard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-md); position: sticky; top: 92px; }
.sidecard h3 { font-size: 1.15rem; }
.sidecard p { font-size: .93rem; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 22px; }
.tag { font-size: .8rem; font-family: var(--font-head); font-weight: 500; background: var(--indigo-50); color: var(--indigo-700); padding: 6px 12px; border-radius: 999px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form--card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); }
.field .req { color: #c0392b; }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; width: 100%; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 4px rgba(37,64,140,.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__note { font-size: .82rem; color: var(--muted); margin: 0; }
.form__status { display: none; padding: 13px 16px; border-radius: var(--radius-sm); font-size: .92rem; font-weight: 500; }
.form__status.is-ok { display: block; background: #eafaf0; color: #1e7e46; border: 1px solid #bfe8cf; }
.form__status.is-err { display: block; background: #fdecea; color: #b0322a; border: 1px solid #f5c6c2; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------- Contact info list ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
  flex: none; width: 46px; height: 46px; border-radius: 12px;
  background: var(--indigo-50); color: var(--indigo-700); display: grid; place-items: center;
}
.contact-list b { font-family: var(--font-head); color: var(--ink); display: block; font-size: .95rem; }
.contact-list a, .contact-list span { color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.contact-list > li { min-width: 0; }
.footer__contact a { overflow-wrap: anywhere; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--indigo-900); color: #b9bcd8; padding: clamp(48px, 6vw, 72px) 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: #b9bcd8; }
.site-footer a:hover { color: var(--gold-400); }
.footer__brand { display: flex; align-items: center; gap: 11px; color: #fff; font-family: var(--font-head); font-weight: 700; margin-bottom: 14px; }
.footer__brand .brand__mark { box-shadow: none; }
.footer__about { font-size: .93rem; max-width: 34ch; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .93rem; }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; }
.footer__social a:hover { background: rgba(255,255,255,.1); border-color: var(--gold-400); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: center; text-align: center; gap: 12px; flex-wrap: wrap; font-size: .85rem; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: waPulse 2.4s infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Brand logos ---------- */
.brand__logo { height: 42px; width: auto; display: block; }
.footer__logo { width: 190px; max-width: 72%; height: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .split { grid-template-columns: 1fr; }
  .sidecard { position: static; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .startup-strip { grid-template-columns: 1fr; text-align: left; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  /* Header: show only the hamburger — the big CTA + links live in the menu */
  .nav__links, .nav__ig, .nav__right .btn--primary { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav.is-mobile .nav__links {
    display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px var(--gutter) 20px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-mobile .nav__links a { padding: 13px 12px; font-size: 1rem; }
  /* Prominent "Book" CTA inside the open mobile menu */
  .nav.is-mobile .nav__links li:last-child a {
    margin-top: 8px; text-align: center; color: #fff;
    background: linear-gradient(135deg, var(--indigo-700), var(--indigo-600));
    border-radius: 999px; font-weight: 600;
  }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { justify-content: center; }
  /* Full-width, easy-to-tap hero buttons on phones */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; justify-content: center; }
}
/* Belt-and-braces: never allow sideways scroll on small screens */
@media (max-width: 760px) { html, body { overflow-x: hidden; max-width: 100%; } }
