.formation-section {
  padding: 19.8rem 5% 5%;
  background-color: white;
}

.formation-container {
  max-width: 1280px;
  margin: 0 auto;
}

.formation-container h2 {
  margin-bottom: 2.4rem;
  font-size: 6rem;
  font-weight: 800;
  line-height: 6rem;
  text-align: center;
  color: var(--primary-color);
}

.formation-container p {
  max-width: 800px;
  margin: 0 auto 3.2rem;
  font-size: 2rem;
  line-height: 1.4;
  text-align: center;
  color: var(--dark);
}

/* Advantages section */
.advantages-section {
  padding: 5%;
}

.advantages-container {
  max-width: 1280px;
  margin: 0 auto;
}

.advantages {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  height: auto;
  gap: 3rem;
}

.advantage-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 3.2rem;
  max-width: 296px;
  min-width: 280px;
  height: auto;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
}

.advantage-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  padding: 12px;
  font-size: 2.4rem;
  color: var(--primary-color);
  background-color: #0f3b5f1a;
  border-radius: 6px;
}

.advantage-card h3 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: var(--primary-color);
}

.advantage-card p {
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
}

/* Feature section - Most style rules are inherited from styles.css */
.features-section {
  background-color: white;
}

.features {
  margin-bottom: 0;
}

.card-feature {
  align-items: center;
}

.card-feature p {
  text-align: center;
}

/* Pedagogy section */
.pedagogy-section {
  padding: 5%;
}

.pedagogy-container {
  max-width: 1280px;
  margin: 0 auto;
}

.pedagogies {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  gap: 4rem;
}

.pedagogy-card {
  max-width: 500px;
  text-align: center;
}

.pedagogy-card img {
  margin-bottom: 30px;
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.pedagogy-card h3 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: var(--primary-color);
}

.pedagogy-card p {
  font-size: 1.6rem;
  line-height: 2.4rem;
}

/* Process section */
.process-section {
  padding: 5%;
  background-color: white;
}

.process-container {
  max-width: 1280px;
  margin: 0 auto;
}

.processes {
  display: flex;
  justify-content: center;
  flex-flow: row wrap;
  height: auto;
  margin-bottom: 6.4rem;
  gap: 3rem;
}

.process-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  max-width: 296px;
  min-width: 280px;
  height: auto;
}

.process-card span {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  padding: 12px;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-color);
  background-color: #0f3b5f1a;
  border-radius: 50%;
}

.process-card h3 {
  margin-bottom: 8px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  text-align: center;
  color: var(--primary-color);
}

.process-card p {
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
}

/* Modules section */
.modules-section {
  padding: 5%;
}

.modules-container {
  max-width: 1280px;
  margin: 0 auto;
}

.modules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 600px));
  place-content: center;
  gap: 30px;
  margin-top: 50px;
}

.module-card {
  display: flex;
  flex-direction: column;
  padding: 3.2rem;
  max-width: 600px;
  min-width: 280px;
  height: auto;
  background-color: white;
  border: 1px solid #cfcfcf;
  border-radius: 12px;
}

.module-card h3 {
  margin-bottom: 15px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 2.8rem;
  color: var(--primary-color);
}

.module-card p {
  margin-bottom: 15px;
  font-size: 1.6rem;
  line-height: 2.4rem;
}

.module-card ul {
  list-style: none;
}

.module-card li {
  position: relative;
  margin-bottom: 8px;
  padding: 5px 0 5px 20px;
  font-size: 1.6rem;
}

.module-card li:before {
  position: absolute;
  left: 0;
  content: '✓';
  color: var(--primary-color);
  font-weight: bold;
}

/* Media Queries */
@media (max-width: 768px) {
  .formation-container {
    margin-bottom: 5rem;
  }

  .formation-container h2 {
    font-size: 3rem;
    line-height: 0.9;
    text-align: center;
  }

  .formation-container p {
    font-size: 1.6rem;
    line-height: 1.4;
    text-align: center;
  }

  .pedagogy-card img {
    height: 300px;
  }

  .advantages-section {
    padding: 96px 5%;
  }

  .pedagogy-section {
    padding: 96px 5%;
  }

  .process-section {
    padding: 96px 5%;
  }

  .modules-section {
    padding: 96px 5%;
  }
}
