/* AAHLAAD revamp — static, dependency-free stylesheet */

:root {
  --blue-900: #0b2f5c;
  --blue-800: #123f7a;
  --blue-700: #1861ac;
  --blue-600: #1b6ec2;   /* primary brand blue (from original site) */
  --blue-400: #4ea8ea;
  --blue-100: #e6f1fc;
  --accent:   #7fd1ff;
  --ink:      #1d2939;
  --muted:    #5b6b7f;
  --line:     #e3eaf3;
  --bg:       #ffffff;
  --bg-soft:  #f5f9fd;
  --radius:   14px;
  --shadow:   0 10px 30px rgba(18, 63, 122, .08);
  --shadow-hover: 0 16px 40px rgba(18, 63, 122, .16);
  --max:      1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 8px; background: var(--blue-600); color: #fff;
  padding: 8px 14px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 12px; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--ink); font-weight: 500; font-size: .95rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--blue-600); background: var(--blue-100); text-decoration: none; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 10px; cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px; font-weight: 600;
  border: 2px solid transparent; cursor: pointer; font-size: 1rem; text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px rgba(27, 110, 194, .3); }
.btn-primary:hover { background: var(--blue-700); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue-600); border-color: var(--blue-600); }
.btn-ghost:hover { background: var(--blue-100); color: var(--blue-700); }

/* ---------- Sections ---------- */
section { padding: 88px 0; scroll-margin-top: 80px; }
section.alt { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px;
}
h1, h2, h3 { line-height: 1.2; color: var(--blue-900); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Hero ---------- */
.hero {
  padding: 150px 0 96px;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(78, 168, 234, .22), transparent 60%),
    linear-gradient(160deg, #f7fbff 0%, #e9f3fd 55%, #dcecfb 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin: 0 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art svg { width: 100%; height: auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cfe0f4; }
.card p { color: var(--muted); margin: 0 0 14px; font-size: .97rem; }
.icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); color: #fff; margin-bottom: 18px;
}
.icon svg { width: 26px; height: 26px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.tags li {
  font-size: .78rem; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-100); color: var(--blue-700); font-weight: 600;
}
.about-card .icon { background: linear-gradient(135deg, var(--blue-800), var(--blue-400)); }

.sanskrit {
  margin-top: 32px; padding: 20px 24px; border-left: 4px solid var(--blue-600);
  background: #fff; border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted);
}
.sanskrit strong { color: var(--blue-900); }

.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 40px; margin-top: 56px; }
.partners img { height: 64px; width: auto; opacity: .9; }

/* ---------- Product callout ---------- */
.product-callout {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  color: #fff; border-radius: 22px; padding: 56px; box-shadow: var(--shadow-hover);
}
.product-callout h2, .product-callout h3 { color: #fff; }
.product-callout p { color: #d7e8fb; }
.product-callout ul { color: #e6f1fc; padding-left: 20px; margin: 0 0 24px; }
.product-callout .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.product-callout .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* ---------- Team / insights / openings (data-driven) ---------- */
.empty {
  text-align: center; padding: 48px 28px; border: 2px dashed #bcd3ec; border-radius: var(--radius);
  color: var(--muted); background: #fff;
}
.empty strong { display: block; color: var(--blue-900); font-size: 1.1rem; margin-bottom: 6px; }
.person .avatar {
  width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--blue-100);
  overflow: hidden; margin-bottom: 16px; object-fit: cover;
}
.person .role { color: var(--blue-600); font-weight: 600; font-size: .9rem; margin: 0 0 8px; }
.post .meta { color: var(--muted); font-size: .85rem; margin-bottom: 8px; }
.opening { display: flex; flex-direction: column; gap: 10px; }
.opening .apply { margin-top: auto; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 44px; }
.perks .card h3 { font-size: 1.05rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { margin: 0; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--blue-900); }
.contact-list span { color: var(--muted); }
form.contact-form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--blue-900); }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfdcea; border-radius: 10px;
  font: inherit; color: var(--ink); background: #fbfdff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #c9dcf2; padding: 40px 0; font-size: .95rem; }
.site-footer .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer a { color: #fff; }
.site-footer img { height: 36px; width: auto; background: #fff; padding: 6px 10px; border-radius: 10px; }

/* ---------- Products page (embed) ---------- */
.embed-page main { padding-top: 72px; }
#frameSaarathy { display: block; width: 100%; height: calc(100vh - 72px); min-height: 640px; border: 0; }

/* ---------- Text pages (privacy, reviews) ---------- */
.prose { padding: 130px 0 80px; max-width: 760px; }
.prose h1 { font-size: 2.2rem; }
.prose p, .prose li { color: #334155; }
.prose .callout { background: var(--blue-100); padding: 16px 20px; border-radius: 10px; color: var(--blue-900); }

/* ---------- Animation (respects reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .product-callout, .contact-grid { grid-template-columns: 1fr; }
  .product-callout { padding: 36px 28px; }
  .hero-art { order: -1; max-width: 420px; margin: 0 auto; }
  .hero { padding-top: 120px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 20px; display: none;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  section { padding: 64px 0; }
}
@media (max-width: 600px) {
  .grid-2, .grid-3, .grid-4, .perks { grid-template-columns: 1fr; }
  .card, form.contact-form { padding: 22px; }
  .partners img { height: 48px; }
}

/* ---- About (top) ---- */
.about-top { padding-top: 130px; }
.motive {
  background: linear-gradient(135deg, var(--blue-900), var(--blue-600));
  color: #fff; border-radius: 22px; padding: 44px 48px; margin-bottom: 40px;
  text-align: center; box-shadow: var(--shadow-hover);
}
.motive .eyebrow { color: #bfe3ff; }
.motive-word { font-size: clamp(1.9rem, 3.8vw, 2.7rem); font-weight: 700; margin: 0 0 14px; color: #fff; }
.motive p:last-child { color: #e6f1fc; max-width: 760px; margin: 0 auto; font-size: 1.08rem; }
.icon-img {
  width: 68px; height: 68px; border-radius: 50%; background: #fff;
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow);
}
.icon-img img { width: 40px; height: 40px; }
@media (max-width: 600px) { .motive { padding: 30px 22px; } .about-top { padding-top: 110px; } }
