/* Base */
html,
body {
  height: 100%;
}

header {
  margin-bottom: 0;
}
/* Layout */
main {
  gap: 4vh;
}

.container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  max-width: 70vw;
  margin: 0 auto;
}

.vertical-padding {
  padding: 60px 20px;
}

.section-title,
h2 {
  font-size: 2.5rem;
  color: #1f3b8c;
  margin-bottom: 20px;
  text-align: center;
}

/* Hero Section TODO */
.hero-membership {
  background: url("/images/bg-people.png") center center/cover no-repeat;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.hero-content {
  text-align: center;
  color: #fff;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 30px;
}

.hero-button {
  background-color: white;
  color: #1f3b8c;
  padding: 14px 36px;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  border: #1f3b8c solid 1px;
}

.hero-button:hover {
  background-color: #e5e5ff;
  color: #162c6d;
}

/* Reusable Card Style */
.card-style {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-style:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* About Program */
.about-text {
  flex: 1 1 400px;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-image {
  flex: 1 1 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* How It Works */
.how-it-works {
  padding: 60px 20px;
}

.how-it-works-container {
  display: flex;
  flex-direction: column;
}

.weekly-steps {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.step {
  flex: 1 1 30%;
  min-width: 250px;
}

.step p {
  margin: 0;
  font-size: 1rem;
  color: #1f3b8c;
  line-height: 1.5;
}

.select-topic {
  margin-top: 40px;
  font-weight: 600;
  font-size: 1.6rem;
}

.key-topics {
  font-size: 1.3rem;
  color: #1f3b8c;
  margin-top: 10px;
}

/* Real Experience */
.real-experience {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}
.experience-grid {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  align-items: stretch;
}

.experience-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experience-item h3 {
  margin-bottom: 10px;
  color: #1f3b8c;
  font-size: 1.2rem;
}

.experience-item p {
  margin-top: 16px;
  font-size: 1rem;
  color: #333;
}

.card-style {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  min-height: 72px; /* Tune this if needed */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-header h3 {
  margin-bottom: 10px;
}

.card-header hr {
  width: 100%;
  margin: 0 auto;
  border: none;
  border-top: 1px solid #ccc;
}

/* Membership Access & Benefits */
.membership-access h2,
.membership-benefits h2 {
  font-size: 2rem;
  color: #1f3b8c;
  margin-bottom: 40px;
}

.membership-access h2 {
  width: 60%;
  text-align: left;
}

.access-grid,
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.access-item,
.benefit-item {
  flex: 1 1 300px;
  text-align: center;
  justify-content: start;
}

.access-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.access-item h3,
.benefit-item h3 {
  color: #1f3b8c;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.benefit-item p {
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 90vw;
  }

  .container,
  .weekly-steps,
  .experience-grid,
  .access-grid,
  .benefits-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-image,
  .about-text {
    flex: 1 1 100%;
  }

  .access-item,
  .benefit-item {
    max-width: 500px;
    flex: 1 1 0;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-button {
    padding: 12px 28px;
    font-size: 0.95rem;
  }

  .step {
    width: 100%;
  }

  .membership-access h2 {
    width: 100%;
    text-align: center;
  }
}
