/* 
 * Hope Clinic Udaipur - About Page Redesign Stylesheet
 * Handcrafted Awwwards-level medical experience with shifting color themes,
 * interactive layouts, and luxury design systems.
 */

:root {
  --color-sec1-bg: #f8fafc;
  --color-sec2-bg: #f8fafc;
  --color-sec3-bg: #ffffff;
  --color-sec4-bg: #fafafa;
  --color-sec5-bg: #090514;
  --color-sec6-bg: #ffffff;
  --color-sec7-bg: #050508;
  --color-sec8-bg: #f8fafc;
}

/* Reset specific styling elements for About Page sections */
.about-page-section {
  position: relative;
  width: 100%;
  padding: 120px 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* Typography Overrides */
.about-title-large {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
}

.about-title-large.light-text {
  color: var(--color-text-light);
}

.about-body-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.about-body-text.light-text {
  color: var(--color-text-muted-dark);
}

/* ==========================================================================
   SECTION 1: HERO & PORTRAIT (Asymmetrical Three-Column Editorial)
   ========================================================================== */
.sec-hero {
  background-color: var(--color-sec1-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  background-image: 
    radial-gradient(circle at 5% 20%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 95% 85%, rgba(124, 58, 237, 0.05) 0%, transparent 45%);
}

.hero-aurora-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  top: -10%;
  right: -10%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.three-col-hero {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.4fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Column 1: Credentials Sidebar */
.hero-col-sidebar {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sidebar-item {
  border-left: 2px solid rgba(6, 182, 212, 0.4);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-label {
  font-family: var(--font-body);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
}

.sidebar-value {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-dark);
}

/* Column 2: Centered Portrait */
.hero-col-portrait {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.portrait-container-new {
  position: relative;
  width: 100%;
  max-width: 340px;
  z-index: 2;
}

.portrait-frame-new {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: none;
  border: none;
  z-index: 2;
  background: transparent;
}

.doctor-portrait-new {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-container-new:hover .doctor-portrait-new {
  transform: scale(1.05);
}

.portrait-glow-backdrop-new {
  position: absolute;
  width: 130%;
  height: 130%;
  top: -15%;
  left: -15%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, rgba(6, 182, 212, 0.04) 50%, transparent 75%);
  z-index: 1;
  pointer-events: none;
  filter: blur(20px);
}

/* Column 3: Text & Title Content */
.hero-col-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-tag {
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-cyan);
  background: rgba(6, 182, 212, 0.05);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(6, 182, 212, 0.12);
}

.hero-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-title-main {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1.05;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-title-main .title-thin {
  display: block;
  font-weight: 300;
}

.hero-title-main .title-gradient {
  display: block;
  font-weight: 700;
  font-style: italic;
  background: linear-gradient(135deg, var(--color-sapphire) 30%, var(--color-electric) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-line {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(0.8rem, 1.6vw, 1.05rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-cyan);
}

.hero-col-content .hero-intro-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.025rem, 1.9vw, 1.18rem);
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.8);
  margin: 0;
}

/* Responsive updates */
@media (max-width: 1200px) {
  .three-col-hero {
    gap: 40px;
    grid-template-columns: 0.9fr 1.1fr 1.3fr;
  }
}

@media (max-width: 991px) {
  .three-col-hero {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 40px;
  }
  .hero-col-content {
    order: 1;
  }
  .hero-col-portrait {
    order: 2;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-col-sidebar {
    order: 3;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
  }
  .sidebar-item {
    flex: 1 1 200px;
  }
}

/* ==========================================================================
   SECTION 2: CORE ACADEMIC STATS (Bold Typographic Grid - Healing Teal & Cyan)
   ========================================================================== */
.sec-stats {
  background-color: var(--color-sec2-bg);
  border-bottom: 1px solid rgba(76, 29, 149, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
}

.stats-intro-col {
  grid-column: span 6;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 60px;
}

.stats-grid-col {
  grid-column: span 6;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--color-card-light);
  border: 1px solid rgba(13, 148, 136, 0.08);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 
    0 10px 30px -10px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(15, 23, 42, 0.01);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s;
  min-height: 200px;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 20px 40px -10px rgba(15, 23, 42, 0.08),
    0 0 20px rgba(13, 148, 136, 0.03);
  border-color: rgba(13, 148, 136, 0.15);
}

.stat-number {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  line-height: 1;
  color: var(--color-sapphire);
  letter-spacing: -0.02em;
}

.stat-number span {
  color: var(--color-cyan);
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.stat-title-highlight {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 6px;
  margin-bottom: 4px;
  line-height: 1.25;
}

.stat-title-highlight.color-sapphire {
  color: var(--color-sapphire);
}

.stat-title-highlight.color-teal {
  color: var(--color-teal);
}

.stat-title-highlight.color-purple {
  color: var(--color-purple);
}

.stat-detail-text {
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 500;
  line-height: 1.55;
  color: rgba(15, 23, 42, 0.7);
  margin: 0;
}

/* Big credentials card spanning full width of the sub-grid */
.stat-card.wide-card {
  grid-column: span 2;
  min-height: auto;
}

.credential-badges-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 15px;
}

.cred-badge {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-dark);
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid rgba(6, 182, 212, 0.15);
  padding: 8px 16px;
  border-radius: 8px;
}

.laser-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(6, 182, 212, 0.4), transparent);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .stats-intro-col {
    grid-column: span 12;
    padding-right: 0;
    margin-bottom: 40px;
  }
  .stats-grid-col {
    grid-column: span 12;
  }
}

@media (max-width: 640px) {
  .stats-grid-col {
    grid-template-columns: 1fr;
  }
  .stat-card.wide-card {
    grid-column: span 1;
  }
}

/* ==========================================================================
   SECTION 3: DETAILED BIOGRAPHY (Premium Bento Grid Narrative - Light Theme)
   ========================================================================== */
.sec-bio {
  background-color: var(--color-sec3-bg);
  color: var(--color-text-dark);
  padding-top: 140px;
  padding-bottom: 120px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.bio-section-header {
  margin-bottom: 60px;
  text-align: left;
}

.bio-bento-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 30px;
  width: 100%;
}

.bento-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 
    0 15px 35px -15px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(15, 23, 42, 0.01);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 30px 60px -20px rgba(15, 23, 42, 0.08),
    0 0 25px rgba(6, 182, 212, 0.03);
  border-color: rgba(6, 182, 212, 0.2);
}

/* Card 1 & 4 (Chapter Content) */
.card-chapter-1 {
  grid-column: span 6;
  background: linear-gradient(135deg, #ffffff 50%, #f5f3ff 100%);
  border-color: rgba(124, 58, 237, 0.08);
}

.card-chapter-1:hover {
  background: linear-gradient(135deg, #ffffff 30%, #ede9fe 100%);
  border-color: rgba(124, 58, 237, 0.25);
}

.card-chapter-2 {
  grid-column: span 6;
  background: linear-gradient(135deg, #ffffff 50%, #f0fdfa 100%);
  border-color: rgba(13, 148, 136, 0.08);
}

.card-chapter-2:hover {
  background: linear-gradient(135deg, #ffffff 30%, #ccfbf1 100%);
  border-color: rgba(13, 148, 136, 0.25);
}

.bento-chapter-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.bento-num {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-purple);
  background: rgba(124, 58, 237, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0;
}

.bento-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.bento-chapter-body p {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  line-height: 1.75;
  color: rgba(15, 23, 42, 0.8);
  font-weight: 400;
  margin: 0;
}

.bento-chapter-body p strong {
  font-weight: 700;
  color: var(--color-sapphire);
}

/* Card 2: Visual Specialization List */
.card-visual-specialties {
  grid-column: span 4;
  background: linear-gradient(135deg, #ffffff 50%, #ecfeff 100%);
  border-color: rgba(6, 182, 212, 0.08);
}

.card-visual-specialties:hover {
  background: linear-gradient(135deg, #ffffff 30%, #cffafe 100%);
  border-color: rgba(6, 182, 212, 0.25);
}

.bento-subtag {
  font-family: var(--font-body);
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-cyan);
  margin-bottom: 24px;
  display: block;
}

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

.specialty-tags-grid .tag-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid rgba(6, 182, 212, 0.08);
  padding: 10px 14px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.85);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.specialty-tags-grid .tag-item:hover {
  background: #ffffff;
  border-color: rgba(6, 182, 212, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(6, 182, 212, 0.06);
}

.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Card 3: Visual Collaborations Network */
.card-visual-network {
  grid-column: span 4;
  background: linear-gradient(135deg, #ffffff 50%, #eef2ff 100%);
  border-color: rgba(76, 29, 149, 0.08);
}

.card-visual-network:hover {
  background: linear-gradient(135deg, #ffffff 30%, #e0e7ff 100%);
  border-color: rgba(76, 29, 149, 0.25);
}

.network-diagram {
  position: relative;
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.network-node {
  position: absolute;
  background: #ffffff;
  border: 1.5px solid rgba(124, 58, 237, 0.15);
  border-radius: 10px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(15, 23, 42, 0.85);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  z-index: 2;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.network-node:hover {
  transform: translate(-50%, -50%) scale(1.05);
  border-color: var(--color-purple);
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.1);
  color: var(--color-purple);
}

.network-node.central-node {
  background: var(--color-purple);
  border-color: var(--color-purple);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 10px 16px;
  box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
  left: 50%;
  top: 50%;
}

.network-node.central-node:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 12px 25px rgba(124, 58, 237, 0.35);
  color: #ffffff;
}

.network-node.node-1 { top: 20%; left: 20%; }
.network-node.node-2 { top: 20%; left: 80%; }
.network-node.node-3 { top: 80%; left: 20%; }
.network-node.node-4 { top: 80%; left: 80%; }

.network-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.network-lines line {
  stroke: rgba(124, 58, 237, 0.22);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
  animation: flowLines 1.5s linear infinite;
}

@keyframes flowLines {
  to {
    stroke-dashoffset: -20;
  }
}

/* Card 5: Chapter 03 (Compassionate Advocacy) - Full Width */
.card-chapter-3 {
  grid-column: span 10;
  background: linear-gradient(135deg, #ffffff 60%, #fff1f2 100%);
  border-color: rgba(225, 29, 72, 0.08);
}

.card-chapter-3:hover {
  background: linear-gradient(135deg, #ffffff 40%, #ffe4e6 100%);
  border-color: rgba(225, 29, 72, 0.25);
}

.chapter-3-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 60px;
  align-items: center;
}

.chapter-3-metrics {
  display: flex;
  gap: 30px;
}

.bento-mini-metric {
  background: rgba(13, 148, 136, 0.03);
  border: 1px solid rgba(13, 148, 136, 0.1);
  padding: 24px;
  border-radius: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-mini-metric:hover {
  background: rgba(13, 148, 136, 0.05);
  border-color: rgba(13, 148, 136, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.04);
}

.metric-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.bento-mini-metric .mini-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-teal);
}

.bento-mini-metric .mini-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 1024px) {
  .bio-bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .card-chapter-1, .card-chapter-2, .card-chapter-3, .card-visual-specialties, .card-visual-network {
    grid-column: span 1;
  }
  .chapter-3-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .specialty-tags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .specialty-tags-grid {
    grid-template-columns: 1fr;
  }
  .chapter-3-metrics {
    flex-direction: column;
    gap: 15px;
  }
  .network-node {
    font-size: 0.65rem;
    padding: 6px 10px;
  }
  .network-node.central-node {
    font-size: 0.725rem;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   SECTION 4: MISSION & VISION (Redesigned Editorial Glass Layout)
   ========================================================================== */
.sec-mission-vision {
  background-color: var(--color-sec4-bg);
  position: relative;
  padding: 140px 0;
}

.mivi-bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.mivi-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.12;
  mix-blend-mode: multiply;
  transition: transform 10s ease;
}

.mivi-blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(13, 148, 136, 0.2);
  top: -100px;
  left: 10%;
}

.mivi-blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.2);
  bottom: -150px;
  right: 15%;
}

.mivi-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.mivi-section-header {
  margin-bottom: 70px;
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mivi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.mivi-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 50px;
  box-shadow: 
    0 30px 60px -25px rgba(8, 28, 50, 0.06),
    0 1px 3px rgba(8, 28, 50, 0.02);
  transition: 
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.mivi-card.animated {
  transition: 
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.mivi-card.mission-card {
  border-left: 6px solid var(--color-teal);
}

.mivi-card.vision-card {
  border-left: 6px solid var(--color-purple);
}

.mivi-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 40px 85px -30px rgba(8, 28, 50, 0.12),
    0 0 30px rgba(13, 148, 136, 0.03);
  background: rgba(255, 255, 255, 0.9);
}

.card-bg-watermark {
  position: absolute;
  right: 20px;
  bottom: -20px;
  font-family: var(--font-heading);
  font-size: 16rem;
  font-weight: 900;
  line-height: 1;
  color: rgba(15, 23, 42, 0.03);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.card-glow-mesh {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

.mission-card .card-glow-mesh {
  background: var(--color-teal);
}

.vision-card .card-glow-mesh {
  background: var(--color-purple);
}

.mivi-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  z-index: 1;
}

.mivi-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.mission-card .mivi-icon-wrap {
  background: rgba(13, 148, 136, 0.08);
  color: var(--color-teal);
}

.vision-card .mivi-icon-wrap {
  background: rgba(124, 58, 237, 0.08);
  color: var(--color-purple);
}

.mivi-card:hover .mivi-icon-wrap {
  transform: scale(1.08);
}

.mivi-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0;
}

.mivi-text {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  z-index: 1;
}

.mivi-divider {
  border: 0;
  height: 1px;
  background: rgba(15, 23, 42, 0.06);
  margin: 30px 0;
  width: 100%;
  z-index: 1;
}

.mivi-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 1;
}

.mivi-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.highlight-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}

.highlight-bullet.teal-bullet {
  background-color: var(--color-teal);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.6);
}

.highlight-bullet.purple-bullet {
  background-color: var(--color-purple);
  box-shadow: 0 0 8px rgba(124, 58, 237, 0.6);
}

.mivi-highlights li strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.mivi-highlights li p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 1024px) {
  .mivi-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .mivi-card {
    padding: 40px;
  }
}

@media (max-width: 640px) {
  .sec-mission-vision {
    padding: 100px 0;
  }
  .mivi-title {
    font-size: 1.8rem;
  }
  .mivi-text {
    font-size: 1rem;
  }
}

/* ==========================================================================
   SECTION 5: WHY CHOOSE US - USPs (Horizontal Scroll-Track - Grid Canvas)
   ========================================================================== */
.sec-usps {
  background: 
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.22) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(15, 9, 32, 0.72) 0%, rgba(9, 5, 20, 0.88) 100%),
    url('../assets/hero-bg-cancer.png') no-repeat center center fixed !important;
  background-size: cover !important;
  padding: 0 !important; /* Managed by pinning height */
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.sec-usps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.usps-pin-container {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.usps-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(6, 182, 212, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(6, 182, 212, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 90%);
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 90%);
}

.usps-intro-slide {
  flex-shrink: 0;
  width: 480px;
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 2;
  margin-right: 80px;
}

.usps-intro-slide h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  word-wrap: break-word;
}

.usps-horizontal-track {
  display: flex;
  padding-left: 60px;
  padding-right: 120px;
  align-items: center;
  position: relative;
  z-index: 2;
  height: 100%;
}

.usp-track-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

.usp-slider-card {
  flex-shrink: 0;
  width: 380px;
  height: 380px;
  background: rgba(15, 9, 32, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, background-color 0.4s, box-shadow 0.4s;
  position: relative;
  overflow: hidden;
}

.usp-card-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  filter: grayscale(100%) contrast(1.2) brightness(0.8);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

.usp-slider-card:hover {
  transform: translateY(-10px);
  border-color: rgba(6, 182, 212, 0.35);
  background: rgba(20, 12, 42, 0.92);
  box-shadow: 0 30px 60px rgba(124, 58, 237, 0.12);
}

.usp-slider-card:hover .usp-card-bg-image {
  opacity: 0.35;
  transform: scale(1.08);
  filter: grayscale(0%) contrast(1.2) brightness(0.9);
}


.usp-card-bg-glow {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.usp-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.usp-card-number {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1.25rem;
  color: rgba(6, 182, 212, 0.3);
  letter-spacing: 0.1em;
}

.usp-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-card-content {
  position: relative;
  z-index: 2;
}

.usp-card-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(248, 250, 252, 0.95);
  font-weight: 400;
}

@media (max-width: 768px) {
  .sec-usps {
    height: auto !important;
    padding: 100px 0 !important;
  }
  .usps-pin-container {
    height: auto !important;
    overflow: visible;
  }
  .usps-horizontal-track {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    height: auto;
    width: 100%;
  }
  .usp-track-wrapper {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }
  .usp-slider-card {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.8;
  }
  .usps-intro-slide {
    width: 100%;
    padding: 0 20px;
    margin-bottom: 40px;
  }
}

/* ==========================================================================
   SECTION 6: AWARDS & CERTIFICATIONS (Luxury Connected Timeline - Light Canvas)
   ========================================================================== */
.sec-awards {
  background-color: var(--color-sec6-bg);
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 80px auto 0;
}

.timeline-svg-connector {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-svg-connector svg {
  width: 100%;
  height: 100%;
}

.timeline-svg-connector path {
  stroke-dasharray: 8px 8px;
}

.timeline-node-card {
  position: relative;
  width: 50%;
  padding: 0 40px;
  z-index: 2;
  margin-bottom: 60px;
  box-sizing: border-box;
}

.timeline-node-card:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-node-card:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 30px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-sec6-bg);
  border: 4px solid var(--color-purple);
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
  z-index: 3;
}

.timeline-node-card:nth-child(odd) .timeline-dot {
  right: -10px;
}

.timeline-node-card:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-card-inner {
  background: var(--color-card-light);
  border: 1px solid rgba(124, 58, 237, 0.08);
  padding: 30px 40px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  display: inline-block;
  max-width: 400px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.4s;
  text-align: left;
}

.timeline-node-card:hover .timeline-card-inner {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.25);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.06);
}

.timeline-card-title {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-dark);
  margin-top: 8px;
}

.timeline-card-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-purple);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .timeline-svg-connector {
    left: 20px;
    transform: none;
  }
  .timeline-node-card {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
    margin-bottom: 40px;
    text-align: left !important;
  }
  .timeline-node-card:nth-child(even) {
    left: 0;
  }
  .timeline-node-card:nth-child(odd) .timeline-dot,
  .timeline-node-card:nth-child(even) .timeline-dot {
    left: 10px;
  }
  .timeline-card-inner {
    max-width: 100%;
    display: block;
  }
}

/* ==========================================================================
   SECTION 7: PROFESSIONAL MEMBERSHIPS (Orbiting Badges - Luxury Dark Theme)
   ========================================================================== */
.sec-memberships {
  background-color: var(--color-sec7-bg);
  color: var(--color-text-light);
  padding: 140px 0;
}

.sec-memberships::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.memberships-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.memberships-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.membership-podium-card {
  flex: 1;
  min-width: 320px;
  max-width: 380px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.5s, box-shadow 0.5s;
  position: relative;
  overflow: hidden;
}

.membership-podium-card:hover {
  transform: translateY(-10px);
  border-color: rgba(6, 182, 212, 0.25);
  box-shadow: 0 40px 80px rgba(6, 182, 212, 0.08);
}

.orbit-effect-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px dashed rgba(6, 182, 212, 0.2);
  border-radius: 50%;
  animation: spin-orbit 20s linear infinite;
}

.orbit-badge-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0.03) 70%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  z-index: 2;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.orbit-node {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--color-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-cyan);
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

.membership-title-detail {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 600;
  color: var(--color-text-light);
}

@keyframes spin-orbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   SECTION 8: CTA & CONTACT (Spotlight Aurora Spotlight - Elegant Mesh Theme)
   ========================================================================== */
.sec-cta {
  background-color: var(--color-sec8-bg);
  color: var(--color-text-dark);
  padding: 160px 0;
  text-align: center;
}

.sec-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.cta-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-header-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.cta-header-title span {
  font-style: italic;
  color: var(--color-purple);
}

.cta-buttons-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.cta-premium-btn {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
  cursor: pointer;
}

.cta-premium-btn.btn-solid {
  background: linear-gradient(135deg, var(--color-purple) 0%, var(--color-electric) 100%);
  color: var(--color-text-light);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
}

.cta-premium-btn.btn-solid:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.cta-premium-btn.btn-outline {
  background: rgba(0, 0, 0, 0.02);
  color: var(--color-text-dark);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.cta-premium-btn.btn-outline:hover {
  transform: translateY(-3px);
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.3);
}

.cta-premium-btn svg {
  transition: transform 0.3s;
}

.cta-premium-btn:hover svg {
  transform: translateX(4px);
}

.cta-footer-contacts {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.cta-footer-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s;
}

.cta-footer-item:hover {
  color: var(--color-purple);
}

.cta-footer-item svg {
  color: var(--color-purple);
}
