/* ====================================================================
   Samrudhi Venture — IT Services Design System
   Palette: deep navy + electric blue + cyan
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* Brand */
  --primary: #1e3a8a;          /* navy 900 */
  --primary-2: #2563eb;        /* electric blue 600 */
  --primary-3: #1d4ed8;        /* blue 700 */
  --accent: #06b6d4;           /* cyan 500 */
  --accent-2: #0ea5e9;          /* sky 500 */
  --accent-soft: #7dd3fc;       /* sky 300 — highlights */

  /* Surfaces */
  --bg: #ffffff;
  --bg-soft: #f1f5f9;           /* slate 100 */
  --bg-tint: #f8fafc;           /* slate 50 */
  --bg-dark: #0a1838;            /* deep navy */
  --bg-darker: #06122a;          /* near-black navy */

  /* Text */
  --text: #0f172a;               /* slate 900 */
  --text-soft: #334155;          /* slate 700 */
  --muted: #64748b;              /* slate 500 */
  --on-dark: #e2e8f0;            /* slate 200 */
  --on-dark-soft: #94a3b8;        /* slate 400 */

  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 28px 60px rgba(30, 58, 138, 0.18);

  --radius: 14px;
  --radius-lg: 20px;
  --radius-full: 999px;

  --max-w: 1200px;

  --grad-brand: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #06b6d4 100%);
  --grad-accent: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --grad-deep: linear-gradient(135deg, #0a1838 0%, #1e3a8a 60%, #2563eb 100%);
  --grad-soft: linear-gradient(135deg, #1d4ed8 0%, #06b6d4 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: -0.02em; line-height: 1.2; color: var(--text); }

a { color: var(--primary-2); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-3); }

img, svg { max-width: 100%; display: block; }
button { font-family: inherit; }

::selection { background: var(--primary-2); color: #fff; }

/* Gradient text utility */
.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- Container ---------------- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(203, 213, 225, 0.5);
  isolation: isolate;
}

.nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background-color: #ffffff;
  background-image: url('samrudhi_icon.jpeg');
  background-repeat: no-repeat;
  background-position: center;
  /* 'contain' ensures the logo is sharp and fully visible */
  background-size: contain;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}
.brand-mark::after {
  display: none;
}
.brand-mark svg { display: none; }

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  line-height: 1;
}
.brand-name span {
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.15rem;
}
.brand-name.on-dark { color: #fff; }
.brand-name.on-dark span { color: var(--accent-soft); }

.nav-links { list-style: none; display: flex; gap: 0.3rem; align-items: center; }
.nav-links a {
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  transition: background 0.18s, color 0.18s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--primary-2); }
.nav-links a.active { color: var(--primary-2); background: rgba(37, 99, 235, 0.08); }

.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: none; border: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn svg { width: 16px; height: 16px; }

.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.32);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(37, 99, 235, 0.42); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--primary-2);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.btn-light:hover { color: var(--primary); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-outline:hover { border-color: var(--primary-2); color: var(--primary-2); background: var(--bg-soft); }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); color: #fff; }

.btn-row { display: flex; gap: 0.85rem; flex-wrap: wrap; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  padding: 3rem 1.5rem 4rem;
  background: var(--bg-dark);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}
.hero::before {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #1e3a8a, transparent 70%);
  top: -120px; left: -120px;
  animation: float1 14s ease-in-out infinite;
}
.hero::after {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  bottom: -200px; right: -180px;
  animation: float2 16s ease-in-out infinite;
}
.hero-blob-3 {
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, #2563eb, transparent 70%);
  filter: blur(80px);
  opacity: 0.4;
  top: 40%; left: 50%;
  z-index: -1;
  animation: float3 18s ease-in-out infinite;
  pointer-events: none;
}

@keyframes float1 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(60px, 40px); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0); }
  50% { transform: translate(-50px, -30px); }
}
@keyframes float3 {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-30%, -60%); }
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  z-index: -1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-soft);
  box-shadow: 0 0 12px var(--accent-soft);
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 1.4rem;
  max-width: 980px;
  color: #fff;
}
.hero h1 .grad,
.page-hero h1 .grad {
  background: linear-gradient(135deg, #7dd3fc 0%, #06b6d4 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--on-dark-soft);
}
.hero .tagline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  margin: 1.5rem 0 2.2rem;
  color: #fff;
}
.hero .btn-row { margin-top: 0.5rem; }

/* Hero stats strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-stats .stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-stats .stat .num .grad {
  background: linear-gradient(135deg, #7dd3fc, #60a5fa);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats .stat .label {
  color: var(--on-dark-soft);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}
@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}

/* Inner page hero */
.page-hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--on-dark);
  padding: 2.5rem 1.5rem 3rem;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(30,58,138,0.7), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(6,182,212,0.45), transparent 50%);
  filter: blur(40px);
  z-index: -1;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: #fff;
  margin-bottom: 0.6rem;
}
.page-hero p { color: var(--on-dark-soft); max-width: 720px; font-size: 1.05rem; }
.crumbs {
  display: inline-flex; gap: 0.5rem; align-items: center;
  font-size: 0.85rem; color: var(--on-dark-soft);
  margin-bottom: 1rem;
}
.crumbs a { color: var(--on-dark-soft); }
.crumbs a:hover { color: #fff; }
.crumbs .sep { opacity: 0.5; }

/* ---------------- Sections ---------------- */
section { padding: 5.5rem 1.5rem; }
.section-soft { background: var(--bg-tint); }

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(6,182,212,0.10));
  color: var(--primary-2);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 720px;
}

/* ---------------- Grids & Cards ---------------- */
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: var(--grad-brand);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(30,58,138,0.10), rgba(37,99,235,0.10));
  color: var(--primary-2);
}
.card-icon svg { width: 26px; height: 26px; }
.card.cool .card-icon { background: linear-gradient(135deg, rgba(6,182,212,0.14), rgba(14,165,233,0.10)); color: #0891b2; }
.card.warm .card-icon { background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.10)); color: #4f46e5; }

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1rem; }
.card ul { list-style: none; }
.card ul li {
  padding: 0.35rem 0 0.35rem 1.6rem;
  position: relative;
  color: var(--text-soft);
  font-size: 0.93rem;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.8rem;
  width: 16px; height: 2px;
  background: var(--grad-accent);
  border-radius: 2px;
}

/* App store download badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1rem;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid #0f172a;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  min-width: 150px;
}
.store-badge:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.store-badge-icon { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge-small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.store-badge-large {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* Feature list (pill grid) */
.feature-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature-list li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem 0.9rem 3rem;
  position: relative;
  font-weight: 500;
  font-size: 0.96rem;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 50%;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad-brand);
  transform: translateY(-50%);
}
.feature-list li::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 50%;
  width: 5px; height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: translateY(-65%) rotate(45deg);
}
.feature-list li:hover { transform: translateY(-3px); border-color: var(--primary-2); box-shadow: var(--shadow-sm); }

/* Two-col */
.two-col {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
}

/* ---------------- Stats strip ---------------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  background: var(--grad-deep);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats-strip::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(125, 211, 252, 0.18), transparent 60%);
  pointer-events: none;
}
.stats-strip .stat { position: relative; z-index: 1; text-align: center; }
.stats-strip .stat .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
}
.stats-strip .stat .label { font-size: 0.92rem; opacity: 0.92; margin-top: 0.25rem; }
@media (max-width: 720px) { .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; padding: 1.75rem; } }

/* ---------------- Testimonials ---------------- */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testimonial .quote-mark {
  position: absolute;
  top: -18px; left: 24px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-brand);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}
.testimonial blockquote {
  font-size: 1.02rem;
  color: var(--text-soft);
  font-style: italic;
  margin-bottom: 1.25rem;
  margin-top: 0.5rem;
}
.testimonial .person { display: flex; align-items: center; gap: 0.85rem; }
.testimonial .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
}
.testimonial .avatar.brand { background: var(--grad-brand); }
.testimonial .avatar.soft { background: var(--grad-soft); }
.testimonial .who { font-weight: 700; color: var(--text); font-size: 0.95rem; }
.testimonial .role { font-size: 0.85rem; color: var(--muted); }

/* ---------------- Callout ---------------- */
.callout {
  position: relative;
  background: var(--bg-dark);
  color: #fff;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius-lg);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.callout::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(30,58,138,0.7), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(6,182,212,0.55), transparent 50%);
  filter: blur(30px);
  z-index: -1;
}
.callout h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 0.6rem; color: #fff; }
.callout p { font-size: 1.05rem; opacity: 0.92; margin-bottom: 1.5rem; max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---------------- Forms ---------------- */
.contact-form { display: grid; gap: 1rem; max-width: 560px; }
.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: var(--text);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.contact-form textarea { resize: vertical; min-height: 140px; }

.info-block {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.info-block:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--primary-2); }
.info-block .ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(30,58,138,0.10), rgba(6,182,212,0.10));
  color: var(--primary-2);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.info-block .ic svg { width: 22px; height: 22px; }
.info-block h4 { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.info-block p {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
  word-break: break-word;
  font-size: 0.93rem;
  line-height: 1.45;
}
.info-block a { word-break: break-all; }
.info-block p + p { margin-top: 0.2rem; }
.info-block > div { min-width: 0; flex: 1; }

/* ---------------- Contact page layout ---------------- */
.page-hero-tight { padding: 2rem 1.5rem 2.5rem; }
.page-hero-center { text-align: center; }
.page-hero-center .crumbs {
  display: flex;
  justify-content: flex-start;
  text-align: left;
}
.page-hero-center p { margin-left: auto; margin-right: auto; }
.page-hero-center h1 { margin-left: auto; margin-right: auto; }

.contact-section { padding: 3.5rem 1.5rem 4.5rem; }
.section-tight { padding: 3.75rem 1.5rem; }

/* Plain role list (used on Careers — Current Openings) */
.role-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem 2.5rem;
  max-width: 720px;
}
.role-list li {
  padding: 0.6rem 0 0.6rem 1.25rem;
  position: relative;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 500;
}
.role-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-2);
  transform: translateY(-50%);
}
@media (max-width: 600px) {
  .role-list { grid-template-columns: 1fr; }
}

/* Process steps (horizontal pills) */
.process-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}
.process-steps .step {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}
.process-steps .step:hover {
  border-color: var(--primary-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.process-steps .step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.30);
}
.process-steps .step-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.process-steps .step-text strong {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}
.process-steps .step-text span {
  font-size: 0.8rem;
  color: var(--muted);
}
.process-steps .step-sep {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 600;
}
@media (max-width: 820px) {
  .process-steps .step-sep { display: none; }
  .process-steps { gap: 0.5rem; }
  .process-steps .step { width: 100%; }
}

/* Centered form card */
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form-wrap > .section-tag { margin-bottom: 0.6rem; }
.contact-form-wrap > .section-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin-bottom: 0.4rem;
}
.contact-form-wrap > .section-subtitle { margin-bottom: 1.75rem; }
.contact-form-wrap .contact-form { max-width: none; }
@media (max-width: 600px) { .contact-form-wrap { padding: 1.75rem 1.25rem; } }

/* Two-up rows inside the form */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .contact-form .form-row { grid-template-columns: 1fr; } }

/* Select styling */
.contact-form select {
  width: 100%;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--text);
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.contact-form select:focus {
  outline: none;
  border-color: var(--primary-2);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

/* File upload (resume) */
.contact-form input[type="file"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px dashed var(--border-strong);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-soft);
  background: var(--bg-tint);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.contact-form input[type="file"]:hover {
  border-color: var(--primary-2);
  background: #fff;
}
.contact-form input[type="file"]:focus {
  outline: none;
  border-color: var(--primary-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}
.contact-form input[type="file"]::file-selector-button {
  margin-right: 0.9rem;
  padding: 0.5rem 0.95rem;
  border: 0;
  border-radius: 8px;
  background: var(--grad-brand);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: opacity 0.18s;
}
.contact-form input[type="file"]::file-selector-button:hover { opacity: 0.92; }

.form-hint {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.4rem;
  margin-bottom: 0;
}

/* Inline form status (success/error) */
.form-status {
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.form-status.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.30);
  color: #047857;
}
.form-status.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.10);
  border: 1px solid rgba(239, 68, 68, 0.30);
  color: #b91c1c;
}

/* Privacy note */
.form-privacy {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}
.form-privacy svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-details-strip {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.info-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--bg-darker);
  color: var(--on-dark-soft);
  padding: 4rem 1.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(30,58,138,0.22), transparent 50%),
    radial-gradient(circle at 10% 90%, rgba(6,182,212,0.14), transparent 50%);
  pointer-events: none;
}
.footer-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  position: relative;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { margin-bottom: 1rem; }
.site-footer p { font-size: 0.93rem; line-height: 1.7; margin-bottom: 0.6rem; }
.site-footer h4 {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 0.6rem; }
.site-footer a { color: var(--on-dark-soft); font-size: 0.93rem; }
.site-footer a:hover { color: #fff; }

.socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.18s, transform 0.18s, border-color 0.18s;
  color: var(--on-dark-soft);
}
.socials a:hover { background: var(--primary-2); transform: translateY(-2px); border-color: var(--primary-2); color: #fff; }
.socials svg { width: 18px; height: 18px; }

.footer-bottom {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.86rem;
  color: var(--on-dark-soft);
  position: relative;
}

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after, .hero-blob-3 { animation: none; }
}

/* ---------------- Mobile nav ---------------- */
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(15,23,42,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 0.85rem 1rem; border-radius: 10px; }
  .nav-cta { width: 100%; margin-left: 0; margin-top: 0.5rem; }
  .nav-cta .btn { width: 100%; }
}
