/* ===== AZ RCMS — Global Styles ===== */

:root {
  --navy: #0b2440;
  --navy-dark: #071628;
  --teal: #0e9e86;
  --teal-dark: #0b7f6c;
  --gold: #c9a227;
  --ink: #17242f;
  --muted: #5b6b78;
  --line: #e4e9ee;
  --bg: #ffffff;
  --bg-soft: #f5f8fa;
  --bg-navy-soft: #0f2c4c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 36, 64, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 36, 64, 0.14);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: rgba(14, 158, 134, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

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

.section-head h2 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Buttons ===== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 158, 134, 0.3);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }

/* ===== Header / Nav ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .logo { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--teal-dark); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-cta .btn { padding: 10px 22px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ===== Hero ===== */

.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(99, 230, 197, 0.28), transparent 60%),
    linear-gradient(160deg, rgba(5, 16, 30, 0.94), rgba(11, 36, 64, 0.88) 55%, rgba(14, 158, 134, 0.55)),
    url('../images/hero-medical.jpg');
  background-size: cover;
  background-position: center 30%;
  color: #fff;
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--navy-dark) 0%, transparent 18%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 2; }

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

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  margin-bottom: 22px;
}

.hero h1 span { color: #63e6c5; }

.hero p.lead {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-points { display: flex; flex-direction: column; gap: 14px; }
.hero-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
}
.hero-point .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(99, 230, 197, 0.18);
  color: #63e6c5;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(6px);
}

.hero-card h3 { color: #fff; font-size: 18px; margin-bottom: 18px; }

.hero-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.82);
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-row strong { color: #fff; }

/* ===== Cards / Grids ===== */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(14, 158, 134, 0.1);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* Colored icon variants for visual rhythm across card grids */
.icon-teal  { background: linear-gradient(135deg, rgba(14,158,134,0.16), rgba(99,230,197,0.14)) !important; color: var(--teal-dark) !important; }
.icon-blue  { background: linear-gradient(135deg, rgba(59,91,219,0.16), rgba(112,164,245,0.14)) !important; color: #3b5bdb !important; }
.icon-gold  { background: linear-gradient(135deg, rgba(201,162,39,0.18), rgba(240,197,94,0.14)) !important; color: #a9821e !important; }
.icon-coral { background: linear-gradient(135deg, rgba(224,110,74,0.16), rgba(245,158,124,0.14)) !important; color: #c15a3a !important; }

.card.tint-teal  { background: linear-gradient(160deg, #ffffff, #f1faf8); }
.card.tint-blue  { background: linear-gradient(160deg, #ffffff, #f1f4fd); }
.card.tint-gold  { background: linear-gradient(160deg, #ffffff, #fdf9ef); }
.card.tint-coral { background: linear-gradient(160deg, #ffffff, #fdf3ef); }

/* ===== Process ===== */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-item { position: relative; padding-top: 8px; }

.process-item .num {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: rgba(14, 158, 134, 0.25);
  margin-bottom: 8px;
}

.process-item h4 { font-size: 16.5px; margin-bottom: 8px; }
.process-item p { color: var(--muted); font-size: 14.5px; }

/* ===== Values / Why ===== */

.value-row {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.value-row:last-child { border-bottom: none; }

.value-row .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.value-row h4 { font-size: 16.5px; margin-bottom: 6px; }
.value-row p { color: var(--muted); font-size: 14.5px; }

/* ===== CTA band ===== */

.cta-band {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: 24px;
  padding: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 { color: #fff; font-size: 28px; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.8); }

/* ===== Founder ===== */

.founder-card {
  display: flex;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.founder-photo {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--teal-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 44px;
  font-weight: 700;
  flex-shrink: 0;
}

.founder-info h3 { font-size: 22px; margin-bottom: 4px; }
.founder-info .role {
  color: var(--teal-dark);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
  display: block;
}
.founder-info p { color: var(--muted); }

/* ===== Services page detail list ===== */

.service-block {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.service-block:last-child { border-bottom: none; }

.service-block .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(14, 158, 134, 0.1);
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
}

.service-block h3 { font-size: 18px; margin-bottom: 6px; }
.service-block p { color: var(--muted); font-size: 15px; }

.category-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

/* ===== Contact ===== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: linear-gradient(160deg, var(--navy-dark), var(--navy));
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 34px;
}

.contact-info-card h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.contact-info-card p { color: rgba(255, 255, 255, 0.78); font-size: 14.5px; margin-bottom: 28px; }

.contact-email-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
}
.contact-email-row .icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(99, 230, 197, 0.18);
  color: #63e6c5;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-email-row .label { font-size: 12px; color: rgba(255,255,255,0.6); }
.contact-email-row .value { font-size: 15.5px; font-weight: 600; color: #fff; }

.contact-founder {
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-founder .mini-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}
.contact-founder .name { font-weight: 600; font-size: 14.5px; }
.contact-founder .role { font-size: 12.5px; color: rgba(255,255,255,0.65); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

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

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.field input,
.field select,
.field textarea {
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }

.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  padding: 12px 16px;
  border-radius: 10px;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(14, 158, 134, 0.12); color: var(--teal-dark); }
.form-status.err { background: rgba(200, 60, 60, 0.1); color: #a23434; }

/* ===== Page hero (inner pages) ===== */

.page-hero {
  background: linear-gradient(160deg, rgba(5,16,30,0.93), rgba(11,36,64,0.9) 60%, rgba(14,158,134,0.5));
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
}
.page-hero h1 { color: #fff; font-size: clamp(30px, 4.5vw, 42px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; margin: 0 auto; font-size: 16.5px; }
.breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}
.breadcrumb a { color: #63e6c5; }

.page-hero--about   { background-image: linear-gradient(160deg, rgba(5,16,30,0.93), rgba(11,36,64,0.9) 60%, rgba(14,158,134,0.5)), url('../images/about-review.jpg'); background-position: center 35%; }
.page-hero--services { background-image: linear-gradient(160deg, rgba(5,16,30,0.94), rgba(11,36,64,0.9) 60%, rgba(59,91,219,0.45)), url('../images/analytics-dashboard.jpg'); background-position: center 40%; }
.page-hero--contact  { background-image: linear-gradient(160deg, rgba(5,16,30,0.93), rgba(11,36,64,0.9) 60%, rgba(201,162,39,0.4)), url('../images/team-success.jpg'); background-position: center 30%; }

/* ===== Image + text split sections ===== */

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-media { position: relative; }
.split-media img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}
.split-media::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 88%;
  top: -20px; right: -20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  opacity: 0.18;
  z-index: 0;
}
.split-block.reverse { direction: rtl; }
.split-block.reverse > * { direction: ltr; }

/* ===== Decorative gradient blobs ===== */

.blob-wrap { position: relative; overflow: hidden; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.blob-teal { width: 340px; height: 340px; background: var(--teal); top: -100px; right: -80px; }
.blob-gold { width: 280px; height: 280px; background: var(--gold); bottom: -80px; left: -60px; opacity: 0.2; }

/* ===== Footer ===== */

.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo { height: 50px; width: auto; }

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 14.5px; color: rgba(255, 255, 255, 0.7); }
.footer-col ul li a:hover { color: #63e6c5; }
.footer-about { font-size: 14.5px; color: rgba(255,255,255,0.65); max-width: 340px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { order: -1; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-card { flex-direction: column; text-align: center; }
  .split-block { grid-template-columns: 1fr; }
  .split-block.reverse { direction: ltr; }
  .split-media { order: -1; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline-navy { display: none; }
  .nav-toggle { display: flex; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-block { grid-template-columns: 1fr; }
}
