/* --- Global Refinements --- */
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  letter-spacing: -0.02em;
}

/* --- Section Styling --- */
.section-light {
  padding: 100px 0;
  background-color: var(--primary-bg);
}

.section-dark {
  padding: 80px 0;
  background: linear-gradient(135deg, #0933ac 0%, #061e63 100%);
  color: white;
}

/* --- Modern Video Wrapper --- */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--native-shadow);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

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

/* --- Native Cards --- */
.card,
.affiliation-card {
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  border-radius: var(--border-radius) !important;
  box-shadow: var(--native-shadow) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1) !important;
}

/* --- Team Member Card (Glassmorphism) --- */
.team-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 24px !important;
}

.team-card img {
  border-radius: 20px;
  margin: 20px;
  filter: grayscale(20%);
}

/* --- Stats/Counter Section --- */
#stats h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0;
  background: linear-gradient(to right, #ffffff, #05cab6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- Lists --- */
.list-group-item {
  font-size: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-group-item i {
  color: var(--accent-teal);
  font-size: 1.1rem;
}

/* --- Gradient Hero Section (Why Us) --- */
.section-gradient {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  padding: 100px 0;
  border-top: 1px solid #e2e8f0;
}

/* --- New Affiliations Section --- */
#affiliations {
  background-color: var(--bs-light-gray) !important;
}

.affiliation-card {
  border: none;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
}

.affiliation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08) !important;
}

.affiliation-logos img {
  max-height: 60px;
  margin: 8px;
  background-color: #ffffff;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
}

.affiliation-logos img:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}