/* ==========================================================================
   Namma MBBS - About Us Page Custom Styles (about_us.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page-Specific Utilities
   -------------------------------------------------------------------------- */
.text-navy {
  color: #0d1959 !important;
}

.text-orange {
  color: #fe5000 !important;
}

.bg-orange-light {
  background-color: rgba(254, 80, 0, 0.05) !important;
}

/* --------------------------------------------------------------------------
   1. Hero Section
   -------------------------------------------------------------------------- */
.about-us-hero-section {
  position: relative;
  width: 100%;
  min-height: 622px;
  padding-top: calc(var(--header-total-height, 90px) + 2.5rem);
  padding-bottom: 4rem;
  background-image: url("../images/banner_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.decorative-ring-orange {
  position: absolute;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 768px) {
  .decorative-ring-orange {
    width: 160px !important;
  }
}

.about-us-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .about-us-hero-grid {
    flex-direction: row;
  }
}

.about-us-hero-title {
  font-family: var(--banner-title-font-family, "Crimson Pro");
  font-weight: var(--banner-title-font-weight, 700);
  font-size: var(--banner-title-font-size, clamp(1.85rem, 4vw, 2.5rem));
  line-height: var(--banner-title-line-height, 1.25);
  color: var(--banner-title-color, #0d1959);
  margin-bottom: 1.25rem;
}

.about-us-hero-subtext {
  font-family: var(
    --banner-subtitle-font-family,
    "Poppins",
    system-ui,
    sans-serif
  );
  font-weight: var(--banner-subtitle-font-weight, 400);
  font-size: var(
    --banner-subtitle-font-size,
    clamp(0.875rem, 1.5vw, 0.9375rem)
  );
  line-height: var(--banner-subtitle-line-height, 1.6);
  color: var(--banner-subtitle-color, rgba(0, 0, 0, 0.6));
  margin-bottom: 2rem;
  max-width: 605px;
}

/* --------------------------------------------------------------------------
   2. Journey / Timeline Carousel Section
   -------------------------------------------------------------------------- */
.about-us-journey-section {
  position: relative;
  padding: 5rem 0;
  background-color: #ffffff;
  overflow: hidden;
}

.journey-glow-blob {
  position: absolute;
  width: min(446px, 90vw);
  height: min(446px, 90vw);
  left: 50%;
  transform: translateX(-50%);
  top: 240px;
  background: #1face2;
  opacity: 0.2;
  filter: blur(140px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.year-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 3vw, 40px);
  margin-bottom: 2rem;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.year-digits-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  flex: 1;
  min-width: 0;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.year-digit-active {
  font-family: "Crimson Pro";
  font-weight: 600;
  font-size: clamp(80px, 18vw, 230px);
  line-height: 1;
  color: #000000;
  user-select: none;
  -webkit-user-select: none;
}

.year-digit-flank {
  font-family: "Crimson Pro";
  font-weight: 700;
  font-size: clamp(80px, 18vw, 230px);
  line-height: 1;
  color: #000000;
  opacity: 0.1;
  position: fixed;
  user-select: none;
  -webkit-user-select: none;
}

#year-flank-prev {
  left: -15%;
}

#year-flank-next {
  right: -15%;
}

.timeline-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 60px;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  color: #fe5000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.timeline-nav-btn::after,
.timeline-nav-btn::before {
  display: none !important;
}

.timeline-nav-btn svg {
  width: 24px;
  height: 24px;
  pointer-events: none;
  transition: transform 0.2s ease, stroke 0.2s ease;
}

.timeline-nav-btn:hover:not(.swiper-button-disabled):not(:disabled) {
  background: #fe5000;
  border-color: #fe5000;
  color: #ffffff;
}

.timeline-nav-btn:hover:not(.swiper-button-disabled):not(:disabled) svg {
  stroke: #ffffff;
}

/* Disabled Swiper Navigation Button State */
.timeline-nav-btn.swiper-button-disabled,
.timeline-nav-btn:disabled,
.timeline-nav-btn.swiper-button-lock {
  opacity: 0.35 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  box-shadow: none !important;
  background: #ffffff !important;
  border-color: #d9d9d9 !important;
  color: #999999 !important;
}

/* Timeline Milestone Titles & Container */
.milestone-content {
  max-width: 693px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .milestone-content {
    margin-bottom: 0 !important;
  }
}

.milestone-title,
.milestone-content h3 {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  color: #0d1959 !important;
  margin-top: 10px !important;
  margin-bottom: 16px !important;
}

.milestone-content p,
.sub-metrics-grid p,
.metric-box p {
  color: rgba(0, 0, 0, 0.7) !important;
}

.sub-metrics-grid {
  display: flex !important;
  justify-content: center !important;
  padding: 30px 0 !important;
  gap: 60px !important;
  width: 100%;
}

@media (max-width: 768px) {
  .sub-metrics-grid {
    flex-wrap: wrap !important;
    gap: 20px !important;
    padding: 15px 0 !important;
  }
}

.metric-box {
  max-width: 176px !important;
  text-align: center !important;
}

.metric-number,
.metric-box .metric-number {
  font-family: "Crimson Pro" !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #fe5000 !important;
  margin-bottom: 4px;
}

/* Timeline Stepper Nodes */
.timeline-stepper-track {
  position: relative;
  max-width: 665px;
  margin: 1rem auto 0;
  padding-top: 1rem;
}

.stepper-line-bg {
  position: absolute;
  top: 24px;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.stepper-line-active {
  position: absolute;
  top: 24px;
  left: 0;
  height: 2px;
  background: #fe5000;
  transition: width 0.35s ease;
  z-index: 2;
}

.stepper-nodes-row {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
}

.node-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  transition: transform 0.2s ease;
}

.node-btn:first-child,
.stepper-nodes-row .node-btn:first-child {
  align-items: flex-start !important;
}

.node-btn:last-child,
.stepper-nodes-row .node-btn:last-child {
  align-items: flex-end !important;
}

.node-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #0d1959;
  transition: all 0.3s ease;
  margin-bottom: 0.5rem;
}

.node-btn.active .node-circle {
  border: 3px solid #fe5000;
}

.node-label {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #0d1959;
}

/* --------------------------------------------------------------------------
   3. Core Principles Section
   -------------------------------------------------------------------------- */
.about-us-principles-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.principles-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1078px;
  margin: 0 auto;
}

.principle-card-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0px 0px 50px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
  min-height: 231px;
}

.principle-card-box:hover {
  transform: translateY(-4px);
  box-shadow: 0px 10px 40px rgba(13, 25, 89, 0.12);
}

.principle-icon-circle {
  width: 55px;
  height: 55px;
  background: #9e1f63;
  box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.05);
  border-radius: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.principle-card-box h3 {
  font-family: "Poppins", system-ui, sans-serif !important;
  margin-bottom: 12px !important;
}

.principle-card-box p {
  color: rgba(0, 0, 0, 0.7) !important;
}

/* --------------------------------------------------------------------------
   4. Why Partner Section
   -------------------------------------------------------------------------- */
.about-us-why-partner-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

@media (max-width: 991px) {
  .about-us-why-partner-section {
    padding: 1rem 0 !important;
  }
}

.why-partner-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .why-partner-container {
    flex-direction: row;
  }
}

.why-partner-media {
  width: 100%;
  max-width: 570px;
  height: 436px;
  overflow: hidden;
  border-radius: 8px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .why-partner-media {
    height: 260px !important;
  }
}

.why-partner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.why-partner-timeline-indicator {
  display: none;
  position: relative;
  height: 357px;
  padding: 0 1rem;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 992px) {
  .why-partner-timeline-indicator {
    display: flex;
  }
}

.why-partner-dashed-line {
  position: absolute;
  width: 0;
  height: 100%;
  border-right: 1px dashed rgba(0, 0, 0, 0.2);
}

.why-partner-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  z-index: 10;
  background-color: #000000;
  transition:
    background-color 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.why-partner-dot--top,
.why-partner-dot--active {
  top: 28px;
}

.why-partner-dot--mid {
  top: 50%;
  transform: translateY(-50%);
}

.why-partner-dot--bot {
  bottom: 28px;
}

/* Highlight active dot only when .is-active is present */
.why-partner-dot.is-active {
  background-color: #fe5000 !important;
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(254, 80, 0, 0.6);
}

.why-partner-dot--mid.is-active {
  transform: translateY(-50%) scale(1.3);
}

.why-feature-stack {
  width: 100%;
  max-width: 466px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.why-feature-card {
  padding: 1.25rem;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-feature-card h4 {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-bottom: 12px !important;
  line-height: 1.4;
  transition: color 0.4s ease;
}

.why-feature-card.active h4 {
  color: #0d1959 !important;
}

.why-feature-card:not(.active) h4 {
  color: #000000 !important;
}

.why-feature-card.active {
  background: rgba(254, 80, 0, 0.05);
  border: 1px solid #fe5000;
  box-shadow: 0 4px 20px rgba(254, 80, 0, 0.08);
  transform: translateX(4px);
}

.why-feature-card:not(.active) {
  background: rgba(255, 255, 255, 0.2);
}

.feature-icon-box {
  width: 46px !important;
  height: 46px !important;
  min-width: 46px !important;
  min-height: 46px !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.feature-icon-box i,
.feature-icon-box svg {
  width: 30px !important;
  height: 30px !important;
  color: #0d1959;
}

.why-feature-card.active .feature-icon-box i,
.why-feature-card.active .feature-icon-box svg {
  color: #fe5000;
}

.why-feature-card:not(.active):hover {
  background: rgba(13, 25, 89, 0.03);
}

/* --------------------------------------------------------------------------
   5. Milestones Section
   -------------------------------------------------------------------------- */
.about-us-milestones-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.milestone-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.milestone-stat-card {
  width: 100%;
  max-width: 400px;
  height: 140px;
  background: linear-gradient(
    180deg,
    rgba(13, 25, 89, 0.035) 0%,
    rgba(13, 25, 89, 0.02) 100%
  );
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.milestone-stat-number,
.milestone-stat-card .stat-number {
  font-family: "Crimson Pro" !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #fe5000 !important;
  margin-bottom: 10px !important;
}

.milestone-stat-card p {
  color: rgba(0, 0, 0, 0.7) !important;
}

/* --------------------------------------------------------------------------
   6. Leadership Section
   -------------------------------------------------------------------------- */
.about-us-leadership-section {
  padding: 5rem 0;
  background-color: #ffffff;
  position: relative;
}

.leadership-flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .leadership-flex-container {
    flex-direction: row;
  }
}

.portrait-frame-wrapper {
  position: relative;
  width: 100%;
  max-width: 570px;
  height: 400px;
  flex-shrink: 0;
}

.portrait-pink-arc {
  position: absolute;
  bottom: -54px;
  right: -54px;
  width: 180px;
  height: 180px;
  pointer-events: none;
  z-index: 0;
}

.portrait-main-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.leadership-bio-column {
  width: 100%;
  max-width: 526px;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .leadership-bio-column {
    padding-left: 0 !important;
  }
}

.leadership-bio-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  margin-bottom: 24px;
}

.leadership-bio-column h3,
.leadership-name-title {
  font-family: "Crimson Pro" !important;
  font-size: 40px !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #0d1959 !important;
  margin: 0 !important;
}

.leadership-role-subtitle {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  margin: 0 !important;
}

.leadership-bio-text-primary {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: rgba(0, 0, 0, 0.7) !important;
  line-height: 22px !important;
  margin-bottom: 22px !important;
}

.leadership-bio-text-secondary {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(0, 0, 0, 0.7) !important;
  line-height: 21px !important;
  margin-bottom: 0 !important;
}

/* --------------------------------------------------------------------------
   7. Spotlight Press Section
   -------------------------------------------------------------------------- */
.about-us-press-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.press-grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.press-card-item {
  width: 100%;
  height: 140px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid #e6e6e6;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* --------------------------------------------------------------------------
   8. Gallery Section
   -------------------------------------------------------------------------- */
.about-us-gallery-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.gallery-grid-flex {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-col-1 {
  width: 270px;
  flex-shrink: 0;
}

.gallery-col-2 {
  width: 270px;
  flex-shrink: 0;
}

.gallery-col-3 {
  width: 376px;
  flex-shrink: 0;
}

.gallery-col-4 {
  width: 236px;
  flex-shrink: 0;
}

.gallery-col img {
  width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: block;
}

.gallery-col-1 img {
  height: 180px;
}

.gallery-col-2 img {
  height: 376px;
}

.gallery-col-3 img {
  height: 376px;
}

.gallery-col-4 img {
  height: 180px;
}

@media (max-width: 1200px) {
  .gallery-grid-flex {
    flex-wrap: wrap;
  }

  .gallery-col-1,
  .gallery-col-2,
  .gallery-col-3,
  .gallery-col-4 {
    width: calc(50% - 8px);
  }

  .gallery-col-1 img,
  .gallery-col-4 img {
    height: 180px;
  }

  .gallery-col-2 img,
  .gallery-col-3 img {
    height: 376px;
  }
}

@media (max-width: 640px) {
  .gallery-col-1,
  .gallery-col-2,
  .gallery-col-3,
  .gallery-col-4 {
    width: 100%;
  }

  .gallery-col-2 img,
  .gallery-col-3 img {
    height: 280px;
  }
}

/* --------------------------------------------------------------------------
   9. CTA Banner Card (Inside Container Layout)
   -------------------------------------------------------------------------- */
.about-us-cta-section {
  padding: 4rem 0 5rem 0;
  background-color: #ffffff;
}

.about-cta-card {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #1b8adb;
  padding: 4.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-cta-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  z-index: 2;
}

.about-cta-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(27, 138, 219, 0.85) 0%,
    rgba(32, 108, 231, 0.85) 50%,
    rgba(37, 83, 215, 0.85) 100%
  );
  z-index: 1;
}

.about-cta-card-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.about-cta-title {
  font-family: "Crimson Pro", Georgia, serif !important;
  font-weight: 600 !important;
  font-size: clamp(24px, 4vw, 36px) !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  margin-bottom: 14px !important;
}

.about-cta-subtext {
  font-family: "Poppins", system-ui, sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 580px !important;
  margin-bottom: 28px !important;
}

.about-cta-button {
  background-color: #0b1548 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  padding: 12px 28px !important;
  font-family: "Poppins", system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease !important;
}

.about-cta-button:hover {
  background-color: #081038 !important;
  transform: translateY(-2px);
}

.about-cta-banner .cta-button-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.75rem;
  background: #0d1959;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 60px;
  color: #ffffff;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  margin-top: 0.5rem;
}

.about-cta-banner .cta-button-frame:hover {
  background: #fe5000;
  border-color: #fe5000;
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(254, 80, 0, 0.4);
}
