/* ============================================================
   about.css
   Companion stylesheet for about.html
   Mirrors AboutPage.tsx style exactly
   ============================================================ */

/* ── Reset / Base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #0f172a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

/* ── Design tokens ───────────────────────────────────────────── */
:root {
  --sky-50:  #f0f9ff;
  --sky-100: #e0f2fe;
  --sky-200: #bae6fd;
  --sky-300: #7dd3fc;
  --sky-400: #38bdf8;
  --sky-500: #0ea5e9;
  --sky-600: #0284c7;
  --sky-700: #0369a1;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;

  --emerald-50:  #ecfdf5;
  --emerald-100: #d1fae5;
  --emerald-600: #059669;
}

/* ── Spacing / Helpers ───────────────────────────────────────── */
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-4 { padding-top: 1rem !important; }
.pb-16 { padding-bottom: 4rem !important; }
.pb-20 { padding-top: 6rem; padding-bottom: 5rem; }

/* ── Page Wrapper ────────────────────────────────────────────── */
.ab-page {
  background: #ffffff;
}

/* ── Breadcrumb ──────────────────────────────────────────────── */
.ab-breadcrumb {
  margin-bottom: 1.5rem;
  padding-top: 0.5rem;
}
.ab-back-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-500);
  transition: color 0.2s;
  text-decoration: none;
}
.ab-back-btn:hover { color: var(--sky-600); }
.ab-back-icon { transition: transform 0.2s; }
.ab-back-btn:hover .ab-back-icon { transform: translateX(-4px); }

/* ── Icon sizes ──────────────────────────────────────────────── */
.ab-icon-xs { width: 0.875rem; height: 0.875rem; flex-shrink: 0; }
.ab-icon-sm { width: 1.25rem;  height: 1.25rem;  flex-shrink: 0; }
.ab-icon-md { width: 1.5rem;   height: 1.5rem;   flex-shrink: 0; }
.ab-icon-lg { width: 1.75rem;  height: 1.75rem;  flex-shrink: 0; }

/* ── Animations ──────────────────────────────────────────────── */
.ab-fade-in {
  animation: abFadeInUp 0.6s ease both;
}
@keyframes abFadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Hero Section ────────────────────────────────────────────── */
.ab-hero {
  position: relative;
  background: #ffffff;
  padding: 3rem 8rem;
}
.ab-hero-glow-1 {
  position: absolute;
  top: 0;
  right: 25%;
  width: 650px;
  height: 650px;
  background: linear-gradient(135deg, rgba(224,242,254,0.6) 0%, rgba(239,246,255,0.4) 50%, transparent 100%);
  border-radius: 50%;
  filter: blur(140px);
  z-index: 0;
  pointer-events: none;
}
.ab-hero-glow-2 {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  width: 450px;
  height: 450px;
  background: rgba(241,245,249,0.7);
  border-radius: 50%;
  filter: blur(110px);
  transform: translateX(-33%);
  z-index: 0;
  pointer-events: none;
}

/* ── Pill Badge ──────────────────────────────────────────────── */
.ab-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(240,249,255,0.9);
  border: 1px solid var(--sky-100);
  color: var(--sky-800);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ── Main Display Headline ────────────────────────────────────── */
.ab-hero-heading {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--slate-900);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
@media (min-width: 576px) { .ab-hero-heading { font-size: 3rem; } }
@media (min-width: 992px) { .ab-hero-heading { font-size: 3.75rem; } }

.ab-text-gradient {
  background: linear-gradient(to right, #0284c7, #2563eb, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Mission Quote Card ──────────────────────────────────────── */
.ab-mission-card {
  padding: 1.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 50%, var(--slate-900) 100%);
  color: #ffffff;
  border: 1px solid var(--slate-800);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}
.ab-mission-icon-box {
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: rgba(14,165,233,0.2);
  color: var(--sky-400);
  flex-shrink: 0;
}

/* ── Compliance / Governance Pills ───────────────────────────── */
.ab-gov-pill {
  padding: 0.5rem 0.875rem;
  border-radius: 0.75rem;
  background: var(--slate-50);
  border: 1px solid rgba(226,232,240,0.8);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

/* ── Action Buttons ──────────────────────────────────────────── */
.ab-btn-primary {
  padding: 1rem 2rem;
  background: var(--slate-900);
  color: #ffffff;
  border: none;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 20px 25px -5px rgba(15,23,42,0.1), 0 10px 10px -5px rgba(15,23,42,0.04);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-btn-primary:hover {
  background: var(--sky-600);
  transform: translateY(-1px);
  color: #ffffff;
}
.ab-btn-secondary {
  padding: 1rem 2rem;
  background: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-btn-secondary:hover {
  background: var(--slate-50);
  transform: translateY(-1px);
  color: var(--slate-700);
}

/* ── Right Column Framing ────────────────────────────────────── */
.ab-image-frame {
  position: relative;
  padding: 0.75rem;
  border-radius: 2.5rem;
  background: linear-gradient(to bottom, rgba(224,242,254,0.8), rgba(241,245,249,1), #ffffff);
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.ab-image-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--slate-100);
}
.ab-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s ease;
}
.ab-image-container:hover img {
  transform: scale(1.05);
}
.ab-image-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.8), rgba(15,23,42,0.2), transparent);
}

/* Float status badge */
.ab-status-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--slate-900);
}
.ab-pulse-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #10b981;
  position: relative;
}
.ab-pulse-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #34d399;
  animation: abPing 1.5s infinite ease-in-out;
}
@keyframes abPing {
  0% { transform: scale(1); opacity: 0.75; }
  100% { transform: scale(3); opacity: 0; }
}

/* Float response badge */
.ab-response-badge {
  position: absolute;
  top: 50%;
  left: -1rem;
  transform: translateY(-50%);
  padding: 0.875rem;
  border-radius: 1rem;
  background: rgba(15,23,42,0.95);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(71,85,105,0.8);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 576px) {
  .ab-response-badge { display: none !important; }
}

/* Image Bottom Overlay */
.ab-image-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: rgba(15,23,42,0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid var(--slate-800);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

/* ── Metrics Ribbon ──────────────────────────────────────────── */
.ab-metric-card {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: var(--slate-50);
  border: 1px solid rgba(226,232,240,0.8);
  transition: all 0.2s;
  height: 100%;
}
.ab-metric-card:hover {
  border-color: var(--sky-300);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
}
.ab-metric-icon-box {
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: var(--sky-100);
  color: var(--sky-600);
  transition: transform 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ab-metric-card:hover .ab-metric-icon-box {
  transform: scale(1.1);
}
.ab-metric-icon-box.emerald {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

/* ── Why Choose MedikVA Section ────────────────────────────── */
.ab-choose-card {
  padding: 2rem;
  border-radius: 2rem;
  background: #ffffff;
  border: 1px solid rgba(226,232,240,0.8);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s;
  height: 100%;
}
.ab-choose-card:hover {
  transform: translateY(-4px);
}
.ab-choose-icon-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--sky-50);
  color: var(--sky-600);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.ab-cta-banner {
  padding: 2.5rem 1.5rem;
  border-radius: 2.5rem;
  background: var(--slate-900);
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
@media (min-width: 576px) {
  .ab-cta-banner {
    padding: 3.5rem 3.5rem;
  }
}
.ab-btn-cta {
  padding: 1rem 2.25rem;
  background: var(--sky-600);
  color: #ffffff;
  border: none;
  border-radius: 1rem;
  font-weight: 700;
  transition: all 0.2s;
  box-shadow: 0 20px 25px -5px rgba(2,132,199,0.3);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ab-btn-cta:hover {
  background: #0274af;
  color: #ffffff;
}

/* ── Interactive Framework / Pillars Showcase ───────────────── */
.ab-tab-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 1rem;
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid transparent;
  background: var(--slate-100);
  color: var(--slate-600);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.ab-tab-btn:hover {
  background: rgba(226,232,240,0.8);
}
.ab-tab-btn.active {
  background: var(--slate-900);
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
}

.ab-detailed-panel {
  padding: 2rem;
  border-radius: 2.25rem;
  background: var(--slate-900);
  color: #ffffff;
  border: 1px solid var(--slate-800);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}

.ab-promise-box {
  padding: 1.5rem;
  border-radius: 1.5rem;
  background: rgba(30,41,59,0.8);
  border: 1px solid rgba(71,85,105,0.6);
  color: var(--slate-200);
}

.ab-btn-promise {
  width: 100%;
  padding: 0.875rem;
  background: var(--sky-600);
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.75rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.ab-btn-promise:hover {
  background: var(--sky-500);
}

/* ── Custom Theme Colors for Why Choose Us Cards ─────────────── */
.ab-choose-card.sky .ab-choose-icon-box {
  background: var(--sky-50);
  color: var(--sky-600);
}
.ab-choose-card.emerald .ab-choose-icon-box {
  background: var(--emerald-50);
  color: var(--emerald-600);
}
.ab-choose-card.indigo .ab-choose-icon-box {
  background: #e0e7ff; /* indigo-100 */
  color: #4f46e5;      /* indigo-600 */
}
.ab-choose-card.purple .ab-choose-icon-box {
  background: #f3e8ff; /* purple-100 */
  color: #9333ea;      /* purple-600 */
}

.ab-choose-card.sky:hover {
  border-color: var(--sky-300);
}
.ab-choose-card.emerald:hover {
  border-color: #a7f3d0;
}
.ab-choose-card.indigo:hover {
  border-color: #c7d2fe;
}
.ab-choose-card.purple:hover {
  border-color: #e9d5ff;
}

