/* Shared Section & Banner Styles */

.section-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.section-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 640px) {
  .section-container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-container {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
}

/* Section Header Meta (e.g. "02 | OUR EXPERTISE") */
.section-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.section-index-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .section-index-badge {
    font-size: 12px;
  }
}

.section-index-badge .badge-num {
  font-weight: 500;
  color: var(--cyan-accent);
}

.section-index-badge .badge-divider {
  height: 0.75rem;
  width: 1px;
  background-color: rgba(0, 200, 255, 0.6);
}

.section-index-badge .badge-text {
  font-weight: 500;
  color: #64748b;
}

.section-meta-right {
  display: none;
  align-items: center;
  gap: 0.875rem;
}

@media (min-width: 768px) {
  .section-meta-right {
    display: flex;
  }
}

.section-meta-right-bar {
  width: 2rem;
  height: 1.5px;
  background-color: var(--cyan-deep);
}

.section-meta-right-text {
  font-size: 9.5px;
  letter-spacing: 0.28em;
  color: #64748b;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .section-meta-right-text {
    font-size: 10px;
  }
}

/* Headings in Light Sections */
.section-headline-light {
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #08101e;
}

@media (min-width: 640px) {
  .section-headline-light {
    font-size: 54px;
  }
}

@media (min-width: 1024px) {
  .section-headline-light {
    font-size: 62px;
  }
}

@media (min-width: 1280px) {
  .section-headline-light {
    font-size: 66px;
  }
}

/* Headings in Dark Sections */
.section-headline-dark {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.06;
  color: #ffffff;
}

@media (min-width: 640px) {
  .section-headline-dark {
    font-size: 52px;
  }
}

@media (min-width: 1024px) {
  .section-headline-dark {
    font-size: 60px;
  }
}

@media (min-width: 1280px) {
  .section-headline-dark {
    font-size: 64px;
  }
}

/* Subtitles */
.section-desc-light {
  margin-top: 1rem;
  font-size: 14px;
  color: #475569;
  font-weight: 400;
  line-height: 1.6;
}

@media (min-width: 640px) {
  .section-desc-light {
    font-size: 15.5px;
  }
}

.section-desc-dark {
  margin-top: 1rem;
  font-size: 13.5px;
  color: rgba(226, 232, 240, 0.9);
  font-weight: 400;
  line-height: 1.62;
}

@media (min-width: 640px) {
  .section-desc-dark {
    font-size: 14.5px;
  }
}

/* Bottom Banners Across All Sections */
.bottom-banner-dark {
  position: relative;
  width: 100%;
  background:
    radial-gradient(ellipse 45% 130% at 88% 135%, rgba(0, 120, 255, 0.24), transparent 70%),
    radial-gradient(ellipse 35% 110% at 4% 130%, rgba(0, 200, 255, 0.12), transparent 70%),
    var(--bg-primary);
  color: #ffffff;
  overflow: hidden;
  padding-top: 2.25rem;
  padding-bottom: 2.75rem;
  border-top: 1px solid rgba(0, 180, 255, 0.25);
}

@media (min-width: 640px) {
  .bottom-banner-dark {
    padding-top: 2.75rem;
    padding-bottom: 3.5rem;
  }
}

/* Small DOM text that has to sit on top of a photo gets a frosted backing */
.on-photo-light,
.on-photo-dark {
  border-radius: 10px;
  padding: 0.55rem 1rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.on-photo-light {
  background: rgba(248, 250, 252, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

div.on-photo-light:not(.section-meta-right) { padding: 1rem 1.15rem; }

.on-photo-dark {
  background: rgba(2, 9, 20, 0.6);
  border: 1px solid rgba(0, 180, 255, 0.2);
}

.on-photo-dark .section-meta-right-text { color: #cbd5e1; }

/* Topic Sidebar in Sections */
.topic-vertical-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.375rem;
  font-size: 9px;
  letter-spacing: 0.28em;
  color: rgba(226, 232, 240, 0.9);
  text-transform: uppercase;
}

.topic-vertical-bar {
  width: 1.25rem;
  height: 1.5px;
  background-color: var(--cyan-accent);
}
