/* ==========================================================================
   Ayushman Upchar — 24-04-2026- www.nextrtechnology.com
   ========================================================================== */

:root {
  --teal-900: #0a3a36;
  --teal-700: #0f5c56;
  --teal-500: #187b73;
  --teal-100: #dceee9;
  --gold-600: #0f766e;
  --gold-500: #0f766e;
  --gold-100: #0f766e;
  --ink: #142b28;
  --ink-soft: #3f5551;
  --bg: #f4f7f5;
  --bg-card: #ffffff;
  --line: #d7e3e0;
  --danger: #b3382c;
  --radius: 14px;
  --max: 1160px;
  --shadow: 0 6px 24px rgba(15, 92, 86, 0.08);
  --shadow-lift: 0 14px 36px rgba(15, 92, 86, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Work Sans", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--teal-900);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); font-weight: 560; }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--teal-700); }
img { max-width: 100%; display: block; }

.eyebrow {
  font-family: "Arial", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-block;
  margin-bottom: 0.9em;
}

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--teal-900);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 247, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 5px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--teal-900);
}

.brand-mark {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.brand-sub {
  display: block;
  font-family: "Arial", monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--teal-500);
  font-weight: 600;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.main-nav a[aria-current="page"] {
  color: var(--teal-700);
}

.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold-600);
  border-radius: 2px;
}

.nav-cta {
  background: var(--teal-700);
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--teal-900); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: "Work Sans", sans-serif;
}

.btn-primary {
  background: var(--gold-600);
  color: #fff;
}
.btn-primary:hover { background: #b3791f; transform: translateY(-2px); box-shadow: var(--shadow-lift); }

.btn-outline {
  background: transparent;
  border-color: var(--teal-700);
  color: var(--teal-700);
}
.btn-outline:hover { background: var(--teal-100); }

.btn-light {
  background: #fff;
  color: var(--teal-800, var(--teal-700));
}

/* ---------- Pulse divider (signature element) ---------- */
.pulse-divider {
  width: 100%;
  height: 44px;
  display: block;
  margin: 0 auto;
}
.pulse-divider path {
  fill: none;
  stroke: var(--gold-600);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--teal-100) 0%, var(--bg) 78%);
  padding: 64px 0 20px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy p.lead {
  font-size: 1.12rem;
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 1.6em;
}

.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 2.4em;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
  color: var(--teal-800, var(--teal-700));
}
.hero-stats div span {
  font-family: "Arial", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero-art {
  position: relative;
  aspect-ratio: 4 / 3.2;
  border-radius: 24px;
  background: var(--teal-900);
  overflow: hidden;
}
.hero-art svg { width: 100%; height: 100%; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-teal { background: var(--teal-900); color: #fff; }
.section-teal h2, .section-teal h3 { color: #fff; }
.section-teal p { color: #cfe4e0; }

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}

/* ---------- Cards / grids ---------- */
.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: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.card .icon {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
}

.badge {
  display: inline-block;
  background: var(--gold-100);
  color: #ffffff;
  font-family: "Arial", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 32px;
  justify-content: center;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-row span {
  font-family: "Arial", monospace;
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- Timeline (About) ---------- */
.timeline {
  position: relative;
  padding-left: 28px;
  border-left: 2px solid var(--teal-100);
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-600);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--gold-600);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  font-family: "Arial", monospace;
  font-size: 0.75rem;
  color: var(--teal-500);
  letter-spacing: 0.04em;
}

/* ---------- Team ---------- */
.team-card { text-align: left; }
.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: var(--teal-100);
  margin-bottom: 16px;
}

/* ---------- Forms ---------- */
.form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--teal-900);
}
.field .req { color: var(--danger); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fbfdfc;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(24, 123, 115, 0.15);
}

.field textarea { resize: vertical; min-height: 120px; }

.field-error {
  display: none;
  color: var(--danger);
  font-size: 0.8rem;
  margin-top: 5px;
  font-family: "Arial", monospace;
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: var(--danger);
}
.field.invalid .field-error { display: block; }

.consent-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.consent-row input { margin-top: 4px; }

.form-status {
  display: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.form-status.show { display: block; }
.form-status.success { background: var(--teal-100); color: var(--teal-900); }
.form-status.error { background: #fbe8e5; color: var(--danger); }

/* ---------- Contact info cards ---------- */
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.info-item .icon-sm {
  width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px;
  color: var(--teal-700);
}
.info-item h4 { margin-bottom: 2px; font-size: 1rem; }
.info-item p { margin: 0; font-size: 0.92rem; }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Emergency strip ---------- */
.emergency-strip {
  background: var(--gold-600);
  color: #fff;
  text-align: center;
  font-size: 0.88rem;
  padding: 8px 16px;
  font-family: "Arial", monospace;
  letter-spacing: 0.01em;
}
.emergency-strip a { color: #fff; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: #cfe4e0;
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 { color: #fff; font-size: 0.9rem; font-family: "Arial", monospace; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px;}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: #cfe4e0; text-decoration: none; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand p { color: #a9c9c3; font-size: 0.88rem; max-width: 32ch; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: #93b8b1;
}
.footer-bottom a { color: #cfe4e0; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--teal-100);
  border: 2px solid var(--teal-700);
}

.policy-content h2 { margin-top: 1.6em; }
.policy-content h2:first-of-type { margin-top: 0; }
.policy-content ul { color: var(--ink-soft); }
.policy-meta {
  font-family: "Arial", monospace;
  font-size: 0.8rem;
  color: var(--teal-500);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-row { gap: 10px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
/*social media icons*/
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfe4e0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.social-icon:hover,
.social-icon:focus-visible {
  background: #c98a2e;  
  border-color: #c98a2e;
  color: #ffffff;
  transform: translateY(-3px);
}
/*social media icons styling end here*/