:root {
  --royal-blue: #0b2f9f;
  --royal-blue-2: #123ccf;
  --deep-blue: #071a52;
  --sky-blue: #eaf5ff;
  --soft-blue: #f5f9ff;
  --white: #ffffff;
  --text: #173052;
  --muted: #65738a;
  --line: rgba(11, 47, 159, 0.12);
  --shadow: 0 24px 70px rgba(7, 26, 82, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--deep-blue);
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 3px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(11, 47, 159, 0.22);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1.1rem;
  line-height: 1;
}

.brand small {
  color: var(--royal-blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-menu a {
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--royal-blue);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.nav-cta {
  min-height: 48px;
  padding: 0 20px;
  color: var(--white);
  background: var(--royal-blue);
  box-shadow: 0 14px 28px rgba(11, 47, 159, 0.22);
}

.btn {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--royal-blue), var(--royal-blue-2));
  box-shadow: 0 18px 36px rgba(11, 47, 159, 0.25);
}

.btn-ghost {
  color: var(--royal-blue);
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--royal-blue);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(18, 60, 207, 0.16), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #eaf5ff 48%, #ffffff 100%);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(11, 47, 159, 0.08);
}

.hero::before {
  width: 460px;
  height: 460px;
  right: -160px;
  top: 90px;
}

.hero::after {
  width: 300px;
  height: 300px;
  left: -100px;
  bottom: -90px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--royal-blue);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: var(--royal-blue);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "Outfit", "Inter", sans-serif;
}

h1 {
  margin-bottom: 22px;
  color: var(--deep-blue);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  font-weight: 800;
}

h2 {
  color: var(--deep-blue);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 700;
}

h3 {
  color: var(--deep-blue);
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}

.hero-copy p,
.section-heading p,
.departments-grid > div > p,
.appointment-copy p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-copy p {
  max-width: 640px;
  margin-bottom: 32px;
}

.hero-actions,
.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
}

.trust-row div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.72);
}

.trust-row strong,
.trust-row span {
  display: block;
}

.trust-row strong {
  color: var(--royal-blue);
  font-size: 1.3rem;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-card {
  position: relative;
  min-height: 620px;
  border-radius: 48px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.18)),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, rgba(11, 47, 159, 0.18), rgba(79, 186, 255, 0.2));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -25% -24% -25%;
  height: 52%;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  border-radius: 50% 50% 0 0;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 45%),
    linear-gradient(0deg, rgba(7, 26, 82, 0.28), transparent 45%);
  pointer-events: none;
}

.doctor-visual {
  position: absolute;
  inset: 86px 34px 34px;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(7, 26, 82, 0.14);
}

.doctor-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.pulse-card,
.stat-card {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(7, 26, 82, 0.16);
}

.pulse-card {
  top: 40px;
  left: 38px;
  right: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--deep-blue);
  font-weight: 800;
}

.pulse-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0fd186;
  box-shadow: 0 0 0 10px rgba(15, 209, 134, 0.14);
}

.stat-card {
  padding: 16px 22px;
}

.stat-card strong,
.stat-card span {
  display: block;
}

.stat-card strong {
  color: var(--royal-blue);
  font-size: 1.2rem;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.88rem;
}

.stat-left {
  left: 36px;
  bottom: 120px;
}

.stat-right {
  right: 28px;
  bottom: 220px;
}

.quick-info {
  margin-top: -48px;
  position: relative;
  z-index: 3;
}

.info-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-grid article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: var(--soft-blue);
}

.info-grid span,
.info-grid strong {
  display: block;
}

.info-grid span {
  margin-bottom: 8px;
  color: var(--royal-blue);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-grid strong {
  color: var(--deep-blue);
}

.showcase {
  padding: 76px 0 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr;
  grid-template-rows: repeat(2, 270px);
  gap: 20px;
}

.showcase-card {
  position: relative;
  min-height: 270px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--deep-blue);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(7, 26, 82, 0.88));
}

.showcase-main {
  grid-row: span 2;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.showcase-card div {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 1;
}

.showcase-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--royal-blue);
  background: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card h2,
.showcase-card h3 {
  margin-bottom: 0;
  color: var(--white);
}

.showcase-card h2 {
  max-width: 720px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-bottom: 16px;
}

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

.service-card,
.department-list article,
.modern-grid article,
.contact-card,
.appointment-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 16px 44px rgba(7, 26, 82, 0.07);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 32px;
  text-decoration: none;
  color: var(--text);
  position: relative;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s ease;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--royal-blue);
  transition: gap 0.2s ease;
}

.service-card:hover .service-learn-more {
  gap: 12px;
}

.service-card.featured .service-learn-more {
  color: var(--white);
}

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

.service-card.featured {
  color: var(--white);
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-icon {
  color: var(--white);
}

.service-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: var(--royal-blue);
  background: var(--sky-blue);
  font-weight: 800;
}

.service-card p,
.department-list p,
.modern-grid p,
.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.departments,
.appointment {
  background:
    radial-gradient(circle at 5% 10%, rgba(18, 60, 207, 0.08), transparent 24%),
    var(--soft-blue);
}

.departments-grid,
.appointment-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 56px;
  align-items: start;
}

.departments-grid .btn {
  margin-top: 18px;
}

.department-list {
  display: grid;
  gap: 16px;
}

.department-list article {
  position: relative;
  padding: 24px;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 0 18px;
  overflow: hidden;
}

.department-list article::after {
  position: absolute;
  right: 24px;
  bottom: -8px;
  color: rgba(11, 47, 159, 0.07);
  font-size: 4.4rem;
  font-weight: 800;
  line-height: 1;
}

.lab-card::after {
  content: "LAB";
}

.accounting-card::after {
  content: "NGN";
}

.hr-card::after {
  content: "HR";
}

.nursing-card::after {
  content: "+";
}

.pharmacy-card::after {
  content: "RX";
}

.department-list span {
  grid-row: span 2;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--royal-blue);
  font-size: 0.78rem;
  font-weight: 800;
}

.department-list h3 {
  margin-bottom: 8px;
}

.modern-care {
  background: linear-gradient(180deg, var(--white), #f9fbff);
}

.modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.modern-grid article {
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(234, 245, 255, 0.88), rgba(255, 255, 255, 0.96)),
    var(--white);
}

/* New Appointment Section Styles (matching user reference image) */
.appointment-section {
  background: linear-gradient(180deg, var(--soft-blue) 0%, var(--white) 100%);
  padding: 100px 0;
  overflow: hidden;
}

.appointment-container {
  max-width: 1200px;
  margin: 0 auto;
}

.appointment-card-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.appointment-form-wrapper {
  background: var(--white);
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 20px 50px rgba(11, 47, 159, 0.05);
  border: 1px solid var(--line);
}

.appointment-eyebrow {
  font-size: 0.85rem;
  color: #3560a8;
  font-weight: 700;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 2px;
}

.appointment-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--deep-blue);
  margin-bottom: 32px;
}

.new-appointment-form {
  display: flex;
  flex-direction: column;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.new-appointment-form input[type="text"],
.new-appointment-form input[type="tel"],
.new-appointment-form input[type="date"],
.new-appointment-form input[type="time"] {
  border: 1.5px solid rgba(11, 47, 159, 0.12);
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--deep-blue);
  background: #fdfefe;
  outline: none;
  transition: all 0.2s ease;
}

.new-appointment-form input::placeholder {
  color: #a4b3c6;
}

.new-appointment-form input:focus {
  border-color: var(--royal-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 47, 159, 0.08);
}

/* Date and Time custom icon input styling */
.icon-input {
  position: relative;
}

.icon-input input {
  padding-left: 48px !important;
}

.date-input::after {
  content: "📅";
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 1.1rem;
  pointer-events: none;
  opacity: 0.8;
}

.time-input::after {
  content: "🕒";
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 1.1rem;
  pointer-events: none;
  opacity: 0.8;
}

/* Radio buttons matching screenshot */
.radio-group-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--deep-blue);
  margin-bottom: 12px;
  display: block;
}

.radio-options-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 8px;
}

.custom-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #5c6b82;
  font-weight: 500;
  user-select: none;
}

.custom-radio input[type="radio"] {
  display: none;
}

.radio-indicator {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11, 47, 159, 0.25);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  background: var(--white);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.custom-radio input[type="radio"]:checked + .radio-indicator {
  border-color: var(--royal-blue);
}

.radio-indicator::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--royal-blue);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-radio input[type="radio"]:checked + .radio-indicator::after {
  transform: translate(-50%, -50%) scale(1);
}

.custom-radio input[type="radio"]:checked ~ .radio-label {
  color: var(--deep-blue);
  font-weight: 600;
}

/* Submit Button capsule styling */
.form-actions {
  margin-top: 12px;
}

.btn-submit {
  min-height: 52px;
  padding: 0 42px;
  background: #3560a8;
  color: var(--white);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(53, 96, 168, 0.25);
  transition: all 0.2s ease;
}

.btn-submit:hover {
  background: var(--royal-blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(11, 47, 159, 0.3);
}

/* Right Column Doctor Card & Wave Visual */
.appointment-visual-wrapper {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 540px;
  height: 100%;
}

.doctor-image-main {
  position: relative;
  z-index: 2;
  width: 82%;
  max-width: 440px;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(7, 26, 82, 0.15);
  display: block;
}

.doctor-bg-wave {
  position: absolute;
  inset: 12% -10% -2% 10%;
  background: linear-gradient(135deg, rgba(234, 245, 255, 0.9) 0%, rgba(200, 225, 255, 0.6) 100%);
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  z-index: 1;
  animation: floatBg 10s ease-in-out infinite alternate;
}

@keyframes floatBg {
  0% {
    transform: translateY(0) rotate(0deg);
    border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  }
  100% {
    transform: translateY(-15px) rotate(4deg);
    border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%;
  }
}

/* Service Detail Subpage specific styling */
.service-page-header {
  border-bottom: 1px solid var(--line);
}

.service-hero {
  padding: 96px 0;
  background: linear-gradient(135deg, #f7fbff 0%, #eaf5ff 100%);
  position: relative;
  overflow: hidden;
}

.service-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(11, 47, 159, 0.04);
  width: 400px;
  height: 400px;
  right: -100px;
  top: -50px;
}

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

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

.service-hero-image-wrapper {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 380px;
  border: 4px solid var(--white);
}

.service-hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-details-section {
  padding: 80px 0;
  background: var(--white);
}

.service-details-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: start;
}

.service-rich-content h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.8rem;
  margin: 36px 0 16px;
  color: var(--deep-blue);
}

.service-rich-content h3:first-child {
  margin-top: 0;
}

.service-rich-content p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features-list {
  display: grid;
  gap: 24px;
  margin: 32px 0;
}

.service-feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: 18px;
  background: var(--soft-blue);
  border: 1px solid rgba(11, 47, 159, 0.06);
}

.service-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--royal-blue);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(11, 47, 159, 0.06);
  flex-shrink: 0;
}

.service-feature-text h4 {
  margin: 0 0 6px;
  font-family: "Outfit", sans-serif;
  font-size: 1.15rem;
  color: var(--deep-blue);
}

.service-feature-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.service-sidebar {
  position: sticky;
  top: 110px;
  padding: 32px;
  background: var(--soft-blue);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  box-shadow: 0 12px 36px rgba(7, 26, 82, 0.03);
}

.service-sidebar h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.service-hours-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}

.service-hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(11, 47, 159, 0.08);
  font-size: 0.95rem;
}

.service-hours-list li:last-child {
  border-bottom: none;
}

.service-hours-list strong {
  color: var(--deep-blue);
}

.service-hours-list span {
  color: var(--muted);
}

.service-action-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius-lg);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.service-action-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1), transparent 40%);
}

.service-action-banner h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.service-action-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto 28px;
}

/* Back Link styling */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--royal-blue);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 20px;
  transition: gap 0.2s ease;
}

.back-link:hover {
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--deep-blue);
  background: var(--soft-blue);
  outline: none;
  transition:
    border 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--royal-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(11, 47, 159, 0.08);
}

.form-note {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: -4px 0 0;
  color: var(--royal-blue);
  font-weight: 700;
}

.contact-grid {
  grid-template-columns: 1fr 0.72fr;
  align-items: center;
}

.contact-card {
  padding: 32px;
  background: linear-gradient(135deg, var(--royal-blue), var(--deep-blue));
}

.contact-card h3,
.contact-card p,
.contact-card a {
  color: var(--white);
}

.contact-card a {
  display: block;
  margin-top: 12px;
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--deep-blue);
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer .brand,
.footer .brand small,
.footer a {
  color: var(--white);
}

.footer p {
  margin: 0;
}

@media (max-width: 1040px) {
  .nav-cta {
    display: none;
  }

  .hero-grid,
  .departments-grid,
  .appointment-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding-top: 44px;
  }

  .hero-card {
    min-height: 520px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modern-grid,
  .info-grid,
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showcase-grid {
    grid-template-rows: auto;
  }

  .showcase-main {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .section {
    padding: 70px 0;
  }

  .navbar {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 74px 14px auto;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease;
  }

  .nav-menu.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .nav-menu a:hover {
    background: var(--soft-blue);
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 4.8rem);
  }

  .hero {
    padding-top: 0;
  }

  .hero-grid {
    gap: 40px;
  }

  .hero-card {
    min-height: 430px;
    border-radius: 32px;
  }

  .stat-right {
    right: 18px;
    bottom: 180px;
  }

  .stat-left {
    left: 18px;
    bottom: 82px;
  }

  .trust-row,
  .services-grid,
  .modern-grid,
  .info-grid,
  .showcase-grid,
  .appointment-form {
    grid-template-columns: 1fr;
  }

  .showcase-card,
  .showcase-main {
    min-height: 320px;
  }

  .quick-info {
    margin-top: 0;
    padding: 28px 0 0;
  }

  .department-list article {
    grid-template-columns: 1fr;
  }

  .department-list span {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.62rem;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .hero-actions .btn,
  .contact-strip a {
    width: 100%;
  }

  .pulse-card {
    left: 18px;
    right: 18px;
    border-radius: 22px;
  }
}

/* ==========================================================================
   Black MD Media Hub & Blog Styles
   ========================================================================== */

/* Black MD Section - Dark Theme */
.black-md-section {
  background: radial-gradient(circle at 10% 20%, #0d1527 0%, #070b14 100%);
  color: #f1f5f9;
  padding: 96px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid rgba(14, 165, 233, 0.1);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
}

.black-md-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.black-md-section .section-heading h2 {
  color: #ffffff;
}

.black-md-section .section-heading p {
  color: #94a3b8;
}

.black-md-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: stretch;
}

/* Left Column: Doctor Profile Card & Radio Show */
.black-md-profile-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.doctor-profile-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 28px;
}

.doctor-profile-header img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #00d2ff;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
}

.doctor-profile-title h3 {
  color: #ffffff;
  margin: 0 0 4px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.doctor-profile-title .badge {
  background: linear-gradient(135deg, #0ea5e9, #00d2ff);
  color: #070b14;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  display: inline-block;
}

.doctor-bio {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Radio Show Banner */
.radio-show-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.radio-show-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #00d2ff;
}

.radio-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.radio-station {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.live-badge.is-live {
  background: rgba(239, 68, 68, 0.25);
  color: #ff4d4d;
  animation: pulseGlow 1.5s infinite ease-in-out;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
}

.live-badge.is-live .live-dot {
  background: #ff4d4d;
  animation: blink 1.2s infinite;
}

.radio-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
}

.radio-time {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 16px;
}

.radio-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #00d2ff;
  transition: transform 0.2s ease;
}

.radio-cta:hover {
  transform: translateX(4px);
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Right Column: Social Media Feed Tabs & Cards */
.black-md-feed-module {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.feed-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.feed-title-block h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
}

.feed-title-block span {
  font-size: 0.82rem;
  color: #94a3b8;
}

.feed-tabs {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.feed-tab {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.feed-tab:hover {
  color: #ffffff;
}

.feed-tab.is-active {
  background: #0ea5e9;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.feed-tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.feed-tab-content.is-active {
  display: block;
}

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

.feed-card {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feed-card:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 165, 233, 0.3);
  background: rgba(30, 41, 59, 0.6);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.feed-card-visual {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0f172a;
}

.feed-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feed-card:hover .feed-card-visual img {
  transform: scale(1.05);
}

.feed-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.8) 0%, transparent 60%);
  display: grid;
  place-items: center;
}

.play-btn-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #00d2ff;
  color: #070b14;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(0, 210, 255, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.feed-card:hover .play-btn-circle {
  transform: scale(1.1);
  background: #ffffff;
  color: #0ea5e9;
}

.tiktok-layout .feed-card-visual {
  aspect-ratio: 9/16;
}

.instagram-layout .feed-card-visual {
  aspect-ratio: 1/1;
}

.feed-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feed-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.feed-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.feed-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.feed-card-author {
  font-size: 0.8rem;
  color: #00d2ff;
  margin-bottom: 6px;
  font-weight: 700;
}

/* X (Twitter) Tweet Layout */
.tweet-card {
  background: rgba(30, 41, 59, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  transition: all 0.3s ease;
}

.tweet-card:hover {
  border-color: rgba(14, 165, 233, 0.25);
  background: rgba(30, 41, 59, 0.5);
  transform: translateY(-2px);
}

.tweet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.tweet-author-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tweet-author-info img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tweet-name-handle strong {
  display: block;
  font-size: 0.92rem;
  color: #ffffff;
}

.tweet-name-handle span {
  font-size: 0.78rem;
  color: #94a3b8;
}

.tweet-logo {
  font-size: 1.1rem;
  color: #0ea5e9;
}

.tweet-body {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 18px;
}

.tweet-body span {
  color: #00d2ff;
}

.tweet-footer-metrics {
  display: flex;
  gap: 24px;
  font-size: 0.8rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 12px;
}

.tweet-footer-metrics span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.follow-channel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 12px 24px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.follow-channel-btn:hover {
  background: #ffffff;
  color: #070b14;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Journal Blog Preview (Horizontal Layout) */
.journal-preview-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}

.journal-preview-title-row h2 {
  margin: 0;
  color: #ffffff;
}

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

.blog-card {
  background: rgba(30, 41, 59, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(30, 41, 59, 0.4);
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f172a;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-category-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  color: #00d2ff;
  border: 1px solid rgba(14, 165, 233, 0.3);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}

.blog-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.4;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.blog-read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #00d2ff;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: auto;
}

.blog-read-link span {
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-read-link span {
  transform: translateX(4px);
}

/* ==========================================================================
   Full Blog Page & Filter Styles
   ========================================================================== */
.blog-hero {
  padding: 96px 0 64px;
  background: radial-gradient(circle at 80% 20%, rgba(18, 60, 207, 0.05), transparent 40%), var(--soft-blue);
  border-bottom: 1px solid var(--line);
}

.blog-hero-content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.blog-hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  letter-spacing: -0.05em;
  margin-bottom: 16px;
}

.blog-hero-content p {
  color: var(--muted);
  font-size: 1.15rem;
}

.blog-filter-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
  background: var(--white);
  position: sticky;
  top: 82px;
  z-index: 10;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
}

.filter-container-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.blog-search-wrapper {
  position: relative;
  max-width: 320px;
  width: 100%;
}

.blog-search-input {
  width: 100%;
  padding: 12px 20px 12px 46px;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: var(--soft-blue);
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
}

.blog-search-input:focus {
  background: var(--white);
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px rgba(11, 47, 159, 0.1);
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  font-size: 1rem;
}

.category-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-chip {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  padding: 8px 18px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-chip:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

.category-chip.is-active {
  background: var(--royal-blue);
  color: var(--white);
  border-color: var(--royal-blue);
  box-shadow: 0 8px 20px rgba(11, 47, 159, 0.18);
}

.blog-page-grid-section {
  padding: 80px 0;
  background: var(--soft-blue);
  min-height: 500px;
}

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

/* Light Theme Blog Card Overrides (for blog page) */
.blog-card.light-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(11, 47, 159, 0.03);
}

.blog-card.light-card:hover {
  background: var(--white);
  border-color: rgba(11, 47, 159, 0.25);
  box-shadow: var(--shadow);
}

.blog-card.light-card .blog-card-title {
  color: var(--deep-blue);
}

.blog-card.light-card .blog-card-excerpt {
  color: var(--muted);
}

.blog-card.light-card .blog-read-link {
  color: var(--royal-blue);
}

.blog-card.light-card .blog-category-tag {
  background: rgba(255, 255, 255, 0.9);
  color: var(--royal-blue);
  border-color: var(--line);
}

.no-results-block {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: var(--muted);
}

.no-results-block span {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.no-results-block h3 {
  color: var(--deep-blue);
  margin-bottom: 8px;
}

/* Modal Article Reader */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 82, 0.6);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  border: 1px solid var(--line);
  box-shadow: 0 30px 90px rgba(7, 26, 82, 0.25);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.modal-overlay.is-open .modal-container {
  transform: translateY(0);
}

.modal-progress-bar {
  position: sticky;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--royal-blue);
  width: 0%;
  z-index: 102;
  transition: width 0.1s linear;
}

.modal-close-btn {
  position: sticky;
  top: 20px;
  align-self: flex-end;
  margin-right: 20px;
  margin-bottom: -46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--text);
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 101;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  transform: scale(1.05);
  border-color: var(--royal-blue);
  color: var(--royal-blue);
  box-shadow: 0 8px 20px rgba(11, 47, 159, 0.12);
}

.modal-hero-image {
  aspect-ratio: 16/9;
  width: 100%;
  overflow: hidden;
  background: #0f172a;
}

.modal-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 48px;
}

.modal-meta-row {
  display: flex;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.modal-meta-category {
  color: var(--royal-blue);
  font-weight: 800;
  text-transform: uppercase;
}

.modal-body h2 {
  font-size: 2.2rem;
  margin-top: 0;
  margin-bottom: 24px;
  color: var(--deep-blue);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.modal-article-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.modal-article-text p {
  margin-top: 0;
  margin-bottom: 24px;
}

.modal-article-text ul,
.modal-article-text ol {
  margin-top: 0;
  margin-bottom: 24px;
  padding-left: 20px;
}

.modal-article-text li {
  margin-bottom: 8px;
}

.modal-article-text strong {
  color: var(--deep-blue);
}

.modal-article-text blockquote {
  border-left: 4px solid var(--royal-blue);
  background: var(--soft-blue);
  padding: 20px 24px;
  margin: 0 0 24px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--deep-blue);
}

/* ==========================================================================
   Redesigned 4-Column Footer Styles
   ========================================================================== */
.footer {
  padding: 72px 0 40px;
}

.footer-grid-4col {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: "Outfit", sans-serif;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 24px 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 20px 0 0 0;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.footer-links-list a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  transition: all 0.2s ease;
}

.footer-links-list a:hover {
  color: #00d2ff !important;
  padding-left: 4px;
}

.footer-social-icons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-link-icon-text {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.social-link-icon-text:hover {
  color: #00d2ff !important;
}

.social-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.social-link-icon-text:hover .social-icon-wrapper {
  background: var(--royal-blue-2);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--white) !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1040px) {
  .black-md-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .blog-page-grid,
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .black-md-section {
    padding: 70px 0;
  }

  .black-md-profile-card,
  .black-md-feed-module {
    padding: 24px;
  }

  .doctor-profile-header {
    gap: 18px;
    margin-bottom: 20px;
  }

  .doctor-profile-header img {
    width: 70px;
    height: 70px;
  }

  .doctor-profile-title h3 {
    font-size: 1.3rem;
  }

  .feed-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .journal-grid,
  .blog-page-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .blog-filter-section {
    top: 74px;
    padding: 28px 0;
  }

  .filter-container-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-search-wrapper {
    max-width: 100%;
  }

  .modal-body {
    padding: 28px;
  }

  .modal-body h2 {
    font-size: 1.6rem;
  }

  .footer-grid-4col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Black MD Hub Page Stacked Sections Layout */
.profile-showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 48px;
  backdrop-filter: blur(24px);
  align-items: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.profile-image-col {
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 4px solid #00d2ff;
  box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
}

.profile-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.radio-show-billboard {
  background: radial-gradient(circle at 10% 20%, #17213c 0%, #0d121f 100%);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-lg);
  padding: 64px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.radio-show-billboard::before {
  content: "LIVE";
  position: absolute;
  font-size: 14rem;
  font-weight: 900;
  color: rgba(239, 68, 68, 0.02);
  bottom: -40px;
  right: -20px;
  font-family: "Outfit", sans-serif;
  letter-spacing: -0.05em;
  line-height: 1;
}

.radio-show-billboard::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: #ff4d4d;
}

/* Make feeds container grid responsive */
@media (max-width: 1040px) {
  .profile-showcase-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 32px;
  }
  
  .radio-show-billboard {
    padding: 40px;
  }

  .feed-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 760px) {
  .feed-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* YouTube Featured Hero Card */
.youtube-featured-video {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  margin-bottom: 32px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.youtube-featured-video:hover {
  border-color: rgba(239, 68, 68, 0.35);
  box-shadow: 0 25px 60px rgba(239, 68, 68, 0.1);
}

.yt-featured-thumbnail-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.yt-featured-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.youtube-featured-video:hover .yt-featured-thumbnail-wrapper img {
  transform: scale(1.03);
}

.yt-play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: rgba(239, 68, 68, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(239, 68, 68, 0.4);
  transition: transform var(--transition-base), background var(--transition-base);
}

.youtube-featured-video:hover .yt-play-btn-overlay {
  transform: translate(-50%, -50%) scale(1.1);
  background: #ff0000;
}

.yt-play-icon {
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 18px solid #ffffff;
  margin-left: 4px;
}

.yt-duration-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
}

.yt-featured-info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.yt-featured-info .eyebrow {
  color: #ff4d4d;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: inline-block;
}

.yt-featured-info h3 {
  font-size: 1.8rem;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.3;
  font-family: 'Outfit', sans-serif;
}

.yt-featured-info p {
  color: #cbd5e1;
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 24px 0;
}

.yt-featured-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #94a3b8;
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.yt-watch-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, #ef4444, #b91c1c);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.yt-watch-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.35);
}

@media (max-width: 900px) {
  .youtube-featured-video {
    grid-template-columns: 1fr;
  }
  .yt-featured-info {
    padding: 24px;
  }
}

/* Video Player Modal Lightbox */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 11, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
}

.video-modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-container {
  width: 90%;
  max-width: 960px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.video-modal-overlay.is-open .video-modal-container {
  transform: translateY(0);
}

.video-player-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  width: 100%;
}

.video-player-wrapper.is-vertical {
  aspect-ratio: 9/16;
  max-width: 340px;
  margin: 0 auto;
}

.video-player-wrapper iframe,
.video-player-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-body {
  padding: 24px;
}

.video-modal-title {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0 0 12px 0;
  font-family: 'Outfit', sans-serif;
  line-height: 1.4;
}

.video-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.video-modal-channel-link {
  color: #00d2ff;
  font-size: 0.9rem;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.video-modal-channel-link:hover {
  text-decoration: underline;
}

.video-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.1);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal-close-btn:hover {
  background: #ef4444;
  transform: scale(1.1);
}

