/* ============================================================
   RADSENPRO — Main Stylesheet
   ============================================================ */

:root {
  --radsen-navy: #0b2f4f;
  --radsen-blue: #8b13af;
  --radsen-blue-dk: #9a05b8;
  --radsen-purple: #8d1da8fd;
  --radsen-sky: #eaf6ff;
  --radsen-bg: #f7fbfe;
  --radsen-ink: #23384c;
  --radsen-muted: #5f7488;
  --radsen-line: #d7e4ed;
  --radsen-white: #ffffff;
  --radsen-shadow: 0 16px 42px rgba(11, 47, 79, 0.1);
  --section-pad: 5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 82px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--radsen-ink);
  background: var(--radsen-bg);
  line-height: 1.7;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin-top: 0;
}

p {
  margin-top: 0;
}

a {
  text-underline-offset: 3px;
  transition: color 0.2s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

section {
  overflow: hidden;
}

.text-justify {
  text-align: justify !important;
}

/* ── Utility ──────────────────────────────────────────────── */
.py-lg-6 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
  }
}

.text-muted-custom {
  color: var(--radsen-muted);
}

/* ── Text Justification ───────────────────────────────────── */
.hero-copy,
.hero-subtitle,
.section-heading p,
.pdx-body p,
.biomarker-card p,
.benefit-card p,
.benefit-intro p,
.faq-wrap details p,
.disclaimer-card p,
.contact-section .lead-text,
.contact-card p {
  text-justify: inter-word;
}

/* Center overrides — these stay centered */
.section-heading.centered,
.section-heading.centered h2,
.section-heading.centered p,
.benefit-intro {
  text-align: center;
}

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  z-index: 1030;
  box-shadow: 0 2px 16px rgba(11, 47, 79, 0.06);
  background: #fff;
}

.navbar-brand.brand {
  color: var(--radsen-purple);
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.brand span {
  color: var(--radsen-purple);
}

.navbar .nav-link {
  color: #526b80;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--radsen-blue-dk);
}

.navbar .nav-link.active {
  color: var(--radsen-blue-dk) !important;
  font-weight: 800;
  border-bottom: 2px solid var(--radsen-blue);
  padding-bottom: calc(0.5rem - 2px);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary-custom {
  background: var(--radsen-blue);
  border: 2px solid var(--radsen-blue);
  color: #fff !important;
  font-weight: 700;
  border-radius: 0.6rem;
  padding: 0.65rem 1.4rem;
  box-shadow: 0 6px 18px rgba(20, 125, 204, 0.22);
  transition:
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.btn-primary-custom:hover,
.btn-primary-custom:focus {
  background: var(--radsen-blue-dk);
  border-color: var(--radsen-blue-dk);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(20, 125, 204, 0.3);
}

.btn-outline-custom {
  color: var(--radsen-navy);
  border: 2px solid #9dbbd0;
  background: #fff;
  font-weight: 700;
  border-radius: 0.6rem;
  padding: 0.65rem 1.4rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.btn-outline-custom:hover,
.btn-outline-custom:focus {
  color: var(--radsen-navy);
  background: #eef8ff;
  border-color: var(--radsen-blue);
}

/* ── Eyebrow / Kicker ─────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: #d8efff;
  color: #12639b;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  color: var(--radsen-purple);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  display: block;
}

/* ── Section Headings ─────────────────────────────────────── */
.section-heading {
  max-width: 820px;
}

.section-heading h2,
.section-title-text {
  color: var(--radsen-navy);
  font-size: clamp(1.8rem, 3.8vw, 2.55rem);
  font-weight: 800;
  line-height: 1.12;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.section-heading p {
  color: var(--radsen-muted);
  font-size: 1.02rem;
  max-width: 680px;
}

/* centered variant */
.section-heading.centered {
  max-width: 100%;
  text-align: center;
}
.section-heading.centered p {
  margin: 0 auto;
}

/* ── Hero Section ─────────────────────────────────────────── */
.hero-section {
  background:
    radial-gradient(
      circle at 90% 10%,
      rgba(112, 36, 168, 0.1),
      transparent 32%
    ),
    linear-gradient(135deg, #e7f6ff 0%, #fff 58%, #f8f0fc 100%);
  padding: 5rem 0;
}

@media (min-width: 992px) {
  .hero-section {
    padding: 6rem 0;
  }
}

.hero-title {
  color: var(--radsen-purple);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1;
}
.hero-title span {
  color: var(--radsen-purple);
}

.hero-subtitle {
  color: var(--radsen-navy);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 1rem;
}

.hero-copy {
  color: var(--radsen-muted);
  font-size: 1.06rem;
  max-width: 560px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
  align-items: center;
}

.image-card {
  background: #fff;
  border: 1px solid var(--radsen-line);
  border-radius: 1.25rem;
  padding: 0.75rem;
  box-shadow: var(--radsen-shadow);
  overflow: hidden;
}
.image-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  border-radius: 0.9rem;
}
.hero-image-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}
.hero-image-card img {
  max-height: 600px;
  object-fit: contain;
}

/* ── Video Modal ──────────────────────────────────────────── */
.modal-content {
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}
.modal-header {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--radsen-line);
  background: #fff;
}
.modal-body {
  padding: 0 !important;
  background: #000;
}
#youtubePlayer {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ── Content Sections ─────────────────────────────────────── */
.content-section {
  padding: var(--section-pad) 0;
}
.section-alt {
  background: #eef7fc;
}
.section {
  padding: 4rem 0;
}

/* ── Cards ────────────────────────────────────────────────── */
.content-card {
  background: #fff;
  border: 1px solid var(--radsen-line);
  border-radius: 1.1rem;
  padding: 1rem;
  box-shadow: 0 8px 25px rgba(11, 47, 79, 0.055);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.content-card h3 {
  color: var(--radsen-navy);
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-align: left;
}
.content-card p,
.content-card li {
  color: var(--radsen-muted);
  text-align: left;
}
.content-card p {
  flex: 1;
  margin-bottom: 0;
}
.content-card ul {
  padding-left: 1.25rem;
  width: 100%;
}
.content-card ul li {
  margin-bottom: 0.45rem;
  text-align: left;
}

.icon-badge {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: #e4f5ff;
  color: var(--radsen-blue);
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 0.85rem;
  flex-shrink: 0;
  align-self: flex-start;
}

/* ── PDX / Study Images ───────────────────────────────────── */
.pdx-section {
  background: #fff;
}

.pdx-section .section-title-text {
  text-align: center;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: var(--radsen-navy);
  font-weight: 800;
  margin-bottom: 2.5rem;
}

.pdx-card {
  background: #fff;
  border: 1px solid var(--radsen-line);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(11, 47, 79, 0.07);
  height: 100%;
}

.pdx-card .pdx-img-wrap {
  position: relative;
  overflow: hidden;
}

.pdx-card .pdx-img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: blur(5px);
  transition: filter 0.3s ease;
}

.pdx-card .overlay1 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  cursor: pointer;
  transition: opacity 0.3s;
}

.pdx-card .pdx-body {
  padding: 1.25rem;
}
.pdx-card .pdx-body h6 {
  color: var(--radsen-navy);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pdx-card .pdx-body p {
  color: var(--radsen-muted);
  font-size: 0.92rem;
  margin: 0;
}

/* ── Benefits Section ─────────────────────────────────────── */
.benefits-section {
  background: #fff;
}

.benefit-card {
  background: var(--radsen-bg);
  border: 1px solid var(--radsen-line);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.benefit-card:hover {
  box-shadow: 0 10px 30px rgba(11, 47, 79, 0.1);
  transform: translateY(-3px);
}
.benefit-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.benefit-card h3 {
  color: var(--radsen-purple);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}
.benefit-card p {
  color: var(--radsen-muted);
  font-size: 0.9rem;
  margin: 0;
}

.benefit-intro {
  background: linear-gradient(135deg, #eef7fc, #f8f0fc);
  border: 1px solid var(--radsen-line);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  color: var(--radsen-navy);
  font-size: 1.02rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

/* ── Biomarker Charts ─────────────────────────────────────── */
.biomarker-section {
  background: var(--radsen-bg);
}

.biomarker-card {
  background: #fff;
  border: 1px solid var(--radsen-line);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 6px 20px rgba(11, 47, 79, 0.06);
  text-align: center;
}
.biomarker-card img {
  width: 100%;
  height: auto;
  border-radius: 0.6rem;
}
.biomarker-card p {
  color: var(--radsen-muted);
  font-size: 0.88rem;
  margin-top: 0.75rem;
  margin-bottom: 0;
  text-align: justify;
}

/* ── Why Radsenpro ────────────────────────────────────────── */
.why-section {
  background: #eef7fc;
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section {
  background: #fff;
}

.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-wrap details {
  background: #fff;
  border: 1px solid var(--radsen-line);
  border-radius: 0.85rem;
  margin-bottom: 0.75rem;
  padding: 1.1rem 1.3rem;
  transition: box-shadow 0.2s;
}
.faq-wrap details[open] {
  box-shadow: 0 6px 18px rgba(11, 47, 79, 0.08);
}
.faq-wrap summary {
  cursor: pointer;
  color: var(--radsen-navy);
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.faq-wrap summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--radsen-blue);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.25s;
}
.faq-wrap details[open] summary::after {
  content: "−";
}
.faq-wrap summary::-webkit-details-marker {
  display: none;
}
.faq-wrap details p {
  color: var(--radsen-muted);
  margin: 0.75rem 0 0;
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ── Contact Section ──────────────────────────────────────── */
.contact-section {
  padding: var(--section-pad) 0;
  background: linear-gradient(135deg, #a970c0, #c071e4);
}
.contact-section .section-kicker {
  color: #9fdcff;
}
.contact-section h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.8vw, 2.55rem);
  font-weight: 800;
}
.contact-section .lead-text {
  color: #d0e8f5;
  font-size: 1.02rem;
}

.contact-card {
  background: #fff;
  border-radius: 1.15rem;
  padding: 2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}
.contact-card h3 {
  color: var(--radsen-navy);
  font-weight: 800;
  margin-bottom: 1.1rem;
}
.contact-card p {
  color: var(--radsen-muted);
  margin-bottom: 0.55rem;
}
.contact-card a {
  color: var(--radsen-blue-dk);
}
.contact-card hr {
  border-color: var(--radsen-line);
  margin: 1.25rem 0;
}

/* ── Disclaimer ───────────────────────────────────────────── */
.disclaimer-section {
  padding: 2.5rem 0;
  background: #eef2f5;
}
.disclaimer-card {
  background: #fff;
  border: 1px solid #d5dfe6;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  color: #647587;
  font-size: 0.84rem;
  line-height: 1.65;
}
.disclaimer-card h3 {
  color: var(--radsen-navy);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  padding: 1.75rem 0;
  background: linear-gradient(135deg, #7c6086, #7c6086);
  color: #ffffff;
  font-size: 0.82rem;
  text-align: center;
}

/* ── Blurred image overlay ────────────────────────────────── */
.img-container {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
}
.blurred-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: blur(5px);
  transition: filter 0.3s ease;
  display: block;
}
.overlay1 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  cursor: pointer;
  transition: opacity 0.25s;
}
.overlay1:hover {
  opacity: 0.85;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .hero-image-card {
    min-height: 0;
    margin-top: 2rem;
  }
  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section,
  .content-section {
    padding: 3.25rem 0;
  }
  .contact-section {
    padding: 3.5rem 0;
  }
  .benefit-card img {
    height: 150px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn-primary-custom,
  .hero-actions .btn-outline-custom {
    width: 100%;
    justify-content: center;
  }
  .contact-card {
    padding: 1.25rem;
  }
}

.btn-primary-custom,
.btn-outline-custom {
  background: #fff;
  border: 2px solid var(--radsen-blue);
  color: var(--radsen-blue) !important;
  font-weight: 700;
  border-radius: 0.6rem;
  padding: 0.65rem 1.4rem;
  box-shadow: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus,
.btn-outline-custom:hover,
.btn-outline-custom:focus {
  background: var(--radsen-blue);
  border-color: var(--radsen-blue);
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(200, 82, 39, 0.35);
}
