/* ================================
   Foundation 5–10 Section
   ================================ */

.foundation-section {
  width: 100%;
  background: #ffffff;
  padding: 58px 20px 60px;
  box-sizing: border-box;
  border-bottom: 5px solid #fff0c2;
}

.foundation-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* Title */
.foundation-title {
  margin-top: 35px;
  color: #287203;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 37px;
  margin-bottom: 13px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.5px;
}

/* Description */
.foundation-description {
    
  max-width: 1220px;
  margin: 0 auto;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.55;
}
.foundation-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 25px;
  padding: 16px 28px;

  background: #287203;
  color: #ffffff;

  border-radius: 40px;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;

  text-decoration: none;

  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.foundation-btn:hover {
  background: #205c02;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

.foundation-btn:active {
  transform: translateY(0);
}


/* ==========================================
   FOUNDATION BENEFITS SECTION
   ========================================== */

.foundation-benefits-section {
  width: 100%;
  box-sizing: border-box;

  /* Very light version of #287203 */
  background: #f3f8f0;

  padding: 55px 30px 70px;

  font-family: Arial, Helvetica, sans-serif;
}

.benefits-container {
  max-width: 1500px;
  margin: 0 auto;
}


/* ==========================================
   HEADING
   ========================================== */

.benefits-heading {
  margin: 0 0 30px;

  text-align: center;

  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;

  color: #111827;
}

.benefits-heading span {
  color: #287203;
}


/* ==========================================
   GRID
   ========================================== */

.benefits-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  width: 100%;
}


/* ==========================================
   CARD
   ========================================== */

.benefit-card {
  background: #ffffff;

  min-height: 330px;

  padding: 42px 30px 35px;

  box-sizing: border-box;

  border: 1px solid #d7d7d7;

  border-radius: 7px;

  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  box-shadow: 0 18px 40px rgba(40, 114, 3, 0.12);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* ==========================================
   CARD HOVER
   ========================================== */

.benefit-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 22px 45px rgba(40, 114, 3, 0.18);
}


/* ==========================================
   ICON
   ========================================== */

.benefit-icon {
  width: 85px;
  height: 85px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 27px;

  color: #287203;

  font-size: 58px;
}

.benefit-icon i {
  color: #287203;
}


/* ==========================================
   CARD TITLE
   ========================================== */

.benefit-card h3 {
  margin: 0 0 18px;

  color: #287203;

  font-size: 29px;
  font-weight: 700;

  line-height: 1.25;

  text-align: center;
}


/* ==========================================
   CARD DESCRIPTION
   ========================================== */

.benefit-card p {
  max-width: 500px;

  margin: 0;

  color: #686868;

  font-size: 21px;
  font-weight: 400;

  line-height: 1.5;

  text-align: center;
}


/* ==========================================
   SECOND ROW
   ========================================== */

/* Keeps the 4th and 5th cards on the left
   just like the screenshot */

.benefit-card:nth-child(4) {
  grid-column: 1;
}

.benefit-card:nth-child(5) {
  grid-column: 2;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {

  .foundation-benefits-section {
    padding: 50px 22px 60px;
  }

  .benefits-heading {
    font-size: 36px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .benefit-card {
    min-height: 310px;
  }

  .benefit-card h3 {
    font-size: 25px;
  }

  .benefit-card p {
    font-size: 19px;
  }

  .benefit-card:nth-child(4),
  .benefit-card:nth-child(5) {
    grid-column: auto;
  }
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 650px) {

  .foundation-benefits-section {
    padding: 40px 16px 50px;
  }

  .benefits-heading {
    font-size: 30px;
    margin-bottom: 25px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .benefit-card {
    min-height: auto;

    padding: 35px 22px 32px;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;

    font-size: 48px;

    margin-bottom: 22px;
  }

  .benefit-card h3 {
    font-size: 23px;
    margin-bottom: 14px;
  }

  .benefit-card p {
    font-size: 18px;
    line-height: 1.5;
  }
}

/* ================================
   Tablet
   ================================ */

@media (max-width: 992px) {
  .foundation-section {
    padding: 50px 20px 55px;
  }

  .foundation-title {
    font-size: 34px;
  }

  .foundation-description {
    max-width: 900px;
    font-size: 22px;
    line-height: 1.5;
  }

  .foundation-btn {
    min-height: 72px;
    min-width: 220px;
    font-size: 22px;
    padding: 0 32px;
  }
}

/* ================================
   Mobile
   ================================ */

@media (max-width: 600px) {
  .foundation-section {
    padding: 42px 18px 48px;
  }

  .foundation-title {
    
    font-size: 27px;
    line-height: 1.3;
    letter-spacing: 0;
  }

  .foundation-description {
    font-size: 18px;
    line-height: 1.55;
  }

  .foundation-btn {
    margin-top: 24px;
    min-height: 62px;
    min-width: 190px;
    padding: 0 28px;
    font-size: 19px;
    border-radius: 35px;
  }
}




/* ==========================================
   WHY CHOOSE COURSE SECTION
   ========================================== */

.why-course-section {
  width: 100%;
  box-sizing: border-box;

  background: #ffffff;

  padding: 55px 35px 70px;

  font-family: Arial, Helvetica, sans-serif;
}


/* ==========================================
   CONTAINER
   ========================================== */

.why-course-container {
  max-width: 1720px;
  margin: 0 auto;
}


/* ==========================================
   HEADING
   ========================================== */

.why-course-heading {
  margin: 0 0 32px;

  text-align: center;

  font-size: 42px;
  font-weight: 700;

  line-height: 1.25;

  color: #111827;
}

.why-course-heading span {
  color: #287203;
}


/* ==========================================
   MAIN GRID
   ========================================== */

.why-course-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 58px;

  align-items: stretch;
}


/* ==========================================
   LEFT IMAGE CARD
   ========================================== */

.why-course-image-card {
  position: relative;

  width: 100%;

  min-height: 670px;

  overflow: hidden;

  background: #ffffff;

  border: 1px solid #d5d5d5;

  border-radius: 38px;

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.12);

  display: flex;
  align-items: center;
  justify-content: center;
}


/* Image */

.why-course-image {
  width: 100%;
  height: 100%;

  min-height: 670px;

  display: block;

  object-fit: cover;

  object-position: center;
}


/* ==========================================
   RIGHT CONTENT CARD
   ========================================== */

.why-course-content {
  background: #ffffff;

  min-height: 670px;

  box-sizing: border-box;

  padding: 32px 38px;

  border: 1px solid #d5d5d5;

  border-radius: 38px;

  box-shadow:
    0 20px 45px rgba(0, 0, 0, 0.12);

  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ==========================================
   FEATURE ITEM
   ========================================== */

.why-feature {
  display: flex;

  align-items: center;

  gap: 20px;

  min-height: 63px;

  margin-bottom: 2px;
}


/* ==========================================
   FEATURE ICON
   ========================================== */

.why-feature i {
  flex: 0 0 30px;

  width: 30px;

  text-align: center;

  color: #287203;

  font-size: 27px;

  line-height: 1;
}


/* ==========================================
   FEATURE TEXT
   ========================================== */

.why-feature p {
  margin: 0;

  color: #30343b;

  font-size: 21px;

  font-weight: 400;

  line-height: 1.45;
}


/* ==========================================
   HOVER EFFECT
   ========================================== */

.why-feature {
  transition: transform 0.25s ease;
}

.why-feature:hover {
  transform: translateX(5px);
}

.why-feature:hover i {
  color: #287203;
}


/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1100px) {

  .why-course-section {
    padding: 50px 25px 60px;
  }

  .why-course-heading {
    font-size: 36px;
  }

  .why-course-grid {
    gap: 30px;
  }

  .why-course-image-card,
  .why-course-image,
  .why-course-content {
    min-height: 600px;
  }

  .why-course-content {
    padding: 28px 25px;
  }

  .why-feature {
    gap: 15px;
  }

  .why-feature p {
    font-size: 18px;
  }

  .why-feature i {
    font-size: 24px;
  }
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 768px) {

  .why-course-section {
    padding: 40px 16px 50px;
  }

  .why-course-heading {
    font-size: 30px;

    margin-bottom: 25px;
  }

  .why-course-grid {
    grid-template-columns: 1fr;

    gap: 22px;
  }

  .why-course-image-card {
    min-height: 350px;

    border-radius: 25px;
  }

  .why-course-image {
    min-height: 350px;

    height: 350px;
  }

  .why-course-content {
    min-height: auto;

    padding: 28px 22px;

    border-radius: 25px;
  }

  .why-feature {
    min-height: auto;

    gap: 15px;

    margin-bottom: 19px;

    align-items: flex-start;
  }

  .why-feature i {
    flex: 0 0 25px;

    width: 25px;

    font-size: 22px;

    margin-top: 3px;
  }

  .why-feature p {
    font-size: 17px;

    line-height: 1.45;
  }
}


/* ==========================================
   SMALL MOBILE
   ========================================== */

@media (max-width: 480px) {

  .why-course-heading {
    font-size: 26px;
  }

  .why-course-image-card {
    min-height: 280px;

    border-radius: 20px;
  }

  .why-course-image {
    height: 280px;

    min-height: 280px;
  }

  .why-course-content {
    padding: 25px 18px;

    border-radius: 20px;
  }

  .why-feature {
    gap: 12px;
  }

  .why-feature i {
    flex: 0 0 22px;

    width: 22px;

    font-size: 20px;
  }

  .why-feature p {
    font-size: 16px;
  }
}