/* ── Science Section ─────────────────────────────── */

.scienceSection {
  background: #edf0f4;
  padding: 100px max(50px, calc((100% - 1440px) / 2));
  display: flex;
  flex-direction: column;
  gap: 50px;
  width: 100%;
}

.scienceSection .header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scienceSection .sectionTag {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #2865BA;
  text-align: center;
}

.scienceSection .heading {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 40px;
  font-weight: 700;
  line-height: 40px;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: #201e1f;
  text-align: center;
}

.scienceSection .headingOrange {
  color: #397de3;
}

.scienceSection .content {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.scienceSection .column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 956 1 0;
  min-width: 0;
}

.scienceSection .rowTop {
  display: flex;
  gap: 10px;
  height: 370px;
}

.scienceSection .rowBottom {
  display: flex;
  gap: 10px;
  height: 230px;
}

.scienceSection .card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 20px;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s;
}

.scienceSection .card:hover {
  transform: translateY(-4px);
}

.scienceSection .cardWide { flex: 551 1 0; min-width: 0; }
.scienceSection .cardSmall { flex: 385 1 0; min-width: 0; }

.scienceSection .cardLabs {
  flex: 385 1 0;
  min-width: 0;
  background-size: cover;
  background-position: center;
}

.scienceSection .cardImage {
  background-size: cover;
  background-position: center;
}

.scienceSection .cardImage::before,
.scienceSection .cardLabs::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

.scienceSection .cardTitle {
  position: relative;
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 20px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: #fff;
  white-space: pre-line;
}

.scienceSection .cardTeachers {
  flex: 551 1 0;
  min-width: 0;
  background: #002b68;
  container-type: inline-size;
}

.scienceSection .teachersDecor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.scienceSection .teachersBody {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scienceSection .stats {
  display: flex;
  gap: 32px;
}

.scienceSection .statsCol {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.scienceSection .statRow {
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.scienceSection .statNum {
  font-family: var(--font-unbounded, 'Arial Black', sans-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: normal;
  color: #fff;
}

.scienceSection .statLabel {
  font-family: var(--font-inter, 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
}

@container (max-width: 440px) {
  .scienceSection .stats { flex-direction: column; gap: 8px; }
  .scienceSection .statsCol { gap: 8px; }
}

/* ── Adaptive ────────────────────────────────────── */

@media (max-width: 1205px) {
  .scienceSection .content { flex-direction: column; gap: 10px; }
  .scienceSection .column,
  .scienceSection .cardLabs,
  .scienceSection .cardWide,
  .scienceSection .cardSmall,
  .scienceSection .cardTeachers { flex: none; width: 100%; }
  .scienceSection .rowTop,
  .scienceSection .rowBottom { flex-direction: column; height: auto; }
  .scienceSection .cardLabs { min-height: 280px; }
  .scienceSection .cardWide,
  .scienceSection .cardSmall,
  .scienceSection .cardTeachers { min-height: 220px; }
}

@media (max-width: 885px) {
  .scienceSection { padding: 60px 20px; gap: 32px; }
  .scienceSection .heading { font-size: 24px; line-height: 26px; letter-spacing: -1px; }
  .scienceSection .card { padding: 28px 20px; }
  .scienceSection .cardTitle { font-size: 18px; }
  .scienceSection .stats { gap: 20px; }
  .scienceSection .statNum { font-size: 24px; }
  .scienceSection .statLabel { font-size: 14px; }
}

@media (max-width: 475px) {
  .scienceSection { padding: 48px 12px; }
  .scienceSection .stats { flex-direction: column; gap: 8px; }
  .scienceSection .statsCol { gap: 6px; }
  .scienceSection .statNum { font-size: 22px; }
  .scienceSection .statLabel { font-size: 13px; }
}
