:root {
  --primary-color: #1f3f91;
  --text-color: #1a1a1a;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --button-bg: rgba(255, 255, 255, 0.9);
  --radius: 12px;
  --spacing: 2rem;
}

/* Typography */
.heading-xl {
  color: var(--primary-color);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: bold;
  margin-bottom: 1rem;
}

header {
  margin-bottom: 0;
}

.center-heading {
  text-align: center;
}

.heading-md {
  color: var(--primary-color);
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: bold;
  margin-bottom: 0.5rem;
}

section {
  padding: var(--spacing);
  max-width: 90vw;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  width: 100vw;
  min-height: 100vh;
  max-width: 100vw;
  background: url("/images/Flag_of_Europe.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--spacing);
}

.hero-card {
  background: var(--bg-overlay);
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: var(--radius);
  text-align: center;
  color: white;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.6rem);
  margin-bottom: 2rem;
}

.hero-button {
  background-color: var(--button-bg);
  color: var(--text-color);
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: white;
}

/* About Section */
.about {
  margin-bottom: 4rem;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.about-text,
.about-image {
  flex: 1 1 300px;
}

.img-responsive {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Why Join Us Section */
.why-join {
  margin-bottom: 4rem;
}

.why-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
  align-items: center;
}

.why-title {
  flex: 1 1 200px;
  text-transform: uppercase;
}

.why-points {
  flex: 3 1 400px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-point p {
  line-height: 1.6;
  font-size: 1rem;
}

.why-points hr {
  border: none;
  border-top: 1px solid #ccc;
}

/* Benefits Section */
.benefits {
  margin-top: 4rem;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.benefit-card {
  flex: 1 1 300px;
  max-width: 340px;
  text-align: center;
}

.benefit-card p {
  margin-top: 1rem;
  line-height: 1.5;
}

/* Exclusive Opportunities Section */
.exclusive {
  margin-top: 4rem;
}

.exclusive-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.exclusive-item {
  flex: 1 1 400px;
  max-width: 500px;
}

.exclusive-item p {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 1rem;
}

/* Networking & Visits Section */
.networking {
  margin-top: 4rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.network-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.network-row.reverse {
  flex-direction: row-reverse;
}

.network-text,
.network-image {
  flex: 1 1 300px;
}

.network-text p {
  line-height: 1.6;
  font-size: 1rem;
}

/* Testimonials */
.testimonials {
  margin-top: 4rem;
  text-align: center;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  flex: 1 1 300px; /* flex-grow, flex-shrink, flex-basis */
  max-width: 400px;
  min-width: 280px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius);
}

.student-name {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: #4a4a4a;
}

/* Optional: Video Section Wrapper */
.video-section {
  margin-top: 4rem;
  padding: var(--spacing);
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  section {
    padding: 1rem;
  }

  .hero {
    padding: 0;
  }

  .about {
    margin-bottom: 0;
  }

  .about-image,
  .why-title,
  .exclusive-item,
  .network-text,
  .network-image {
    flex: 1 1 0;
  }

  .benefits {
    margin-top: 0;
  }
  .about-content,
  .why-container,
  .benefits-grid,
  .exclusive-grid,
  .network-row,
  .network-row.reverse {
    flex-direction: column;
    align-items: center;
  }

  .why-title,
  .network-text,
  .network-image {
    text-align: center;
  }

  .hero {
    padding: 1rem;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }
}
