/* ============================================================
   M/s Omprakash Garhwal — brand site
   Brand teal mirrors the app (--color-brand #0f766e) — one identity.
   ============================================================ */

:root {
  --brand: #0f766e;
  --brand-bright: #2dd4bf;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --surface: #ffffff;
  --tint: #f8fafc;
  --dark: #0b1220;
  --radius: 14px;
  --max: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.25s, box-shadow 0.25s;
}
.nav--scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav__logo { height: 36px; width: 36px; object-fit: contain; }
.nav__name { font-weight: 700; font-size: 14px; letter-spacing: -0.01em; color: #fff; }
.nav--scrolled .nav__name { color: var(--ink); }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 13.5px; font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover { color: #fff; }
.nav--scrolled .nav__links a { color: var(--muted); }
.nav--scrolled .nav__links a:hover { color: var(--ink); }
.nav__login {
  padding: 7px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.nav--scrolled .nav__login { border-color: var(--line); color: var(--brand) !important; }
.nav__toggle { display: none; flex-direction: column; gap: 4px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 20px; height: 2px; background: #fff; transition: transform 0.2s; }
.nav--scrolled .nav__toggle span { background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--dark); color: #fff;
  padding: 168px 0 96px;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(45, 212, 191, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 212, 191, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; inset: auto -20% -40% -20%; height: 60%;
  background: radial-gradient(ellipse at center, rgba(15, 118, 110, 0.35), transparent 65%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-bright); margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 22px;
}
.hero__title em { font-style: normal; color: var(--brand-bright); }
.hero__sub { max-width: 560px; color: #94a3b8; font-size: 17px; margin-bottom: 34px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #64748b; }
.dot { width: 3px; height: 3px; border-radius: 50%; background: var(--brand-bright); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 999px;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-bright); color: var(--dark); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, 0.3); color: #fff; }
.btn--ghost:hover { border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section__eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
.section__eyebrow--light { color: var(--brand-bright); }
.section__title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em;
  line-height: 1.15; margin-bottom: 16px; max-width: 640px;
}
.section__sub { color: var(--muted); max-width: 560px; font-size: 15px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; margin-bottom: 56px; }
.about__lead h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.about__body p { color: var(--muted); font-size: 15px; margin-bottom: 14px; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.stat { background: var(--surface); padding: 26px 20px; }
.stat__num { display: block; font-size: 19px; font-weight: 800; color: var(--brand); letter-spacing: -0.01em; }
.stat__label { font-size: 12px; color: var(--muted); }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.14); border-color: var(--brand-bright); }
.card__num { font-size: 12px; font-weight: 700; color: var(--brand-bright); letter-spacing: 0.1em; }
.card h3 { font-size: 16px; font-weight: 700; margin: 10px 0 8px; letter-spacing: -0.01em; }
.card p { font-size: 13.5px; color: var(--muted); }

/* ---------- Departments ---------- */
.depts {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px;
}
.depts li {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--ink); background: var(--surface);
  transition: border-color 0.2s, color 0.2s;
}
.depts li:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Values (dark) ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 44px; }
.value { border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: 20px; }
.value h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.value p { font-size: 13px; color: #94a3b8; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.contact__card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  background: var(--tint);
}
.contact__line {
  display: flex; justify-content: space-between; gap: 16px; padding: 11px 0;
  font-size: 13.5px; border-bottom: 1px solid var(--line);
}
.contact__line:last-child { border-bottom: 0; }
.contact__line span { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.contact__line a { color: var(--brand); font-weight: 600; text-decoration: none; }
.contact__line a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer__logo { height: 30px; width: 30px; object-fit: contain; }
.footer__login { margin-left: auto; color: var(--brand); font-weight: 600; text-decoration: none; }
.footer__login:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .about, .contact { grid-template-columns: 1fr; gap: 28px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }

  .nav__links {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: flex-start;
    background: #fff; padding: 20px 24px 28px; gap: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: all 0.2s;
  }
  .nav__links--open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a, .nav--scrolled .nav__links a { color: var(--ink); }
  .nav__login { border-color: var(--line); color: var(--brand) !important; }
  .nav__toggle { display: flex; }
  .nav__name { color: var(--ink); }
  .nav { background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
}

@media (max-width: 560px) {
  .cards, .values { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero { padding: 140px 0 72px; }
}
