/* RESET */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1f1f1f;
  background: #fff;
  line-height: 1.7;
}

/* GLOBAL */
section {
  padding: 10px 160px;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}

p {
  font-size: 15px;
  color: #555;
}

/* HERO */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 54px;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero h1 span {
  font-size: 34px;
  display: block;
}

.hero p {
  margin-bottom: 30px;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 22px;
  background: #222;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
}

.btn-outline {
  background: #eee;
  color: #222;
}

.hero-images {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-images img {
  width: 80%;
  border-radius: 8px;
}

/* TRAINING */
.training {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  gap: 60px;
  align-items: center;
  text-align: center;
}

.training img {
  width: 100%;
  border-radius: 12px;
}

.training h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.training ul {
  margin-top: 20px;
  padding-left: 20px;
}

.training li {
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

.training p {
  text-align: justify;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

.training .btn {
  margin-bottom: 8px;
}

/* INFO SECTIONS */
.info {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.info img {
  width: 80%;
  border-radius: 30px;
}

.info h2 {
  font-size: 26px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-align: justify;
}

.info p {
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

/* MATERIALS */
.materials {
  text-align: center;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
}

.materials h2 {
  font-size: 28px;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-align: center;
}

.materials-content {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  gap: 60px;
  align-items: justify;
  margin-top: 40px;
}

.materials-content h2 {
  letter-spacing: 0.04em;
  text-align: justify;
}

.materials-content p {
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

.materials img {
  width: 80%;
}

.materials-info p{
  text-align: justify;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
}

.materials-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.materials-header h2 {
  font-size: 28px;
  font-family: 'Playfair Display', serif;
}

.materials-header img {
  width: 120px;      /* 👈 controls laptop size */
  height: auto;
  object-fit: contain;
}

/* FOOTER SPACING */
.spacer {
  height: 40px;
}

/* MODULE BOXES */
.modules {
  padding: 80px 160px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

.module-box {
  background: #111;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
  border-radius: 6px;
}

.module-number {
  font-size: 48px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 10px;
}

.module-box span {
  display: block;
  width: 40px;
  height: 2px;
  background: #fff;
  margin: 0 auto 20px;
}

.module-box h3 {
  font-size: 14px;
  letter-spacing: 0.12em;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* TRAINING SERVICES */
.training-services {
  padding: 0px 160px;
}

.training-services .text-center {
  text-align: center;
  margin-bottom: 40px;
}

.training-services h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}

.training-services h3 {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.training-services p {
  font-size: 15px;
  color: #555;
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: center;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
}

.training-services .training-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.training-services .training-images img {
  width: 100%;
  border-radius: 10px;
}

.training-services .training-info p {
  max-width: 1500px; /* match the section’s content width */
  margin: 0 auto 30px auto; /* center horizontally */
  text-align: center;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
}

.training-services .training-info .red-text {
  color: red;
  max-width: 900px;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
}

/* WHAT'S INCLUDED */
.whats-included {
  padding: 0px 160px;
}

.whats-included .text-center h2 {
  font-size: 32px;
  font-family: 'Playfair Display', serif;
  margin-bottom: 40px;
  letter-spacing: 0.04em;
  text-align: center;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.included-box {
  background: #f5f5f5;
  padding: 30px 20px;
  border-radius: 10px;
  text-align: start;
}

.included-box h3 {
  font-size: 18px;
  margin-bottom: 15px;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  color: #6b5e4a;
}

.included-box ul {
  list-style: none;
  padding: 0;
}

.included-box ul li {
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

/* CENTER 2 IMAGES */
.center-images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* responsive columns */
  justify-items: center; /* center images in each grid cell */
  margin-top: 30px;
}

.center-images img {
  width: 100%;
  max-width: 400px; /* optional max width */
  height: auto;     /* maintain aspect ratio */
  border-radius: 10px;
  object-fit: cover; /* crop nicely if needed */
}

/* CERTIFICATION */

/* TRAINING */
.certification {
  display: grid;
  grid-template-columns: 0.5fr 1fr 0.5fr;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.certification img {
  width: 100%;
  border-radius: 12px;
}

.certification h2 {
  font-size: 30px;
  margin-bottom: 20px;
  text-align: center;
}

.certification ul {
  margin-top: 20px;
  padding-left: 20px;
}

.certification li {
  font-size: 14px;
  color: #444;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

.certification p {
  text-align: justify;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  text-align: justify;
}

.certification .btn {
  margin-bottom: 8px;
}

/* POTENTIAL INCOME SECTION */
.potential-income {
  background-color: #111;
  color: #fff;
  padding: 80px 160px;
}

.potential-income h2 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  letter-spacing: 0.04em;
}

.income-images {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr; /* 3 columns */
  gap: 20px;
  margin-bottom: 30px;
  align-items: center;
  justify-content: center;
}

.income-images img {
  width: 100%;
  height: auto; /* maintain aspect ratio */
  object-fit: cover; /* crop nicely if needed */
  border-radius: 10px;
}

.income-note {
  text-align: center;
  font-size: 14px;
  max-width: 800px;
  margin: 0 auto;
  color: #ccc;
  letter-spacing: 0.04em;
  font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
}

.income-images .mobile {
  height: 400px;
  object-fit: contain;
}

/* CALL TO ACTION */
.cta-section {
  padding: 80px 160px;
  text-align: center;
}

.cta-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  letter-spacing: 0.04em;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
}

.cta-btn {
  background-color: #eee;
  color: #222;
}

.cta-outline {
  color: #fff;
  background: linear-gradient(
    135deg,
    #6f2fa0,
    #d81b1b,
    #e39b34
  );
}

.contact-us {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 16px;
  border-radius: 30px;
  border: 1px solid #ccc;
  text-decoration: none;
  background-color: #eee;
  color: #222;
}

 .cta-btn img {
    width: 20px;   /* smaller width */
    height: 20px;  /* maintain aspect ratio */
    object-fit: contain;
    filter: brightness(0) invert(1);
  }

.or-text {
  font-weight: bold;
  color: #555;
  margin: 0 5px;
  font-size: 16px;
}



/* Tablet / medium screens */
@media (min-width: 769px) and (max-width: 1176px) {

  section {
    padding: 40px 30px; /* reduce padding for tablet */
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  p {
    font-size: 15px;
  }

  /* HERO */
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }

  .hero-images img {
    width: 90%;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* TRAINING: Tablet / medium screens */
  .training {
    display: grid;
    grid-template-columns: 1fr; /* single column layout */
    grid-template-areas:
      "first-image"
      "content"; /* text + second image */
    gap: 20px;
  }

  /* First image */
  .training > div:nth-of-type(2) img:first-of-type {
    grid-area: first-image;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  /* The rest of the training content */
  .training > div:nth-of-type(1),
  .training > div:nth-of-type(2) img:nth-of-type(2) {
    grid-area: content;
  }

  /* Optional: make second image smaller inside content */
  .training > div:nth-of-type(2) img:nth-of-type(2) {
    width: 100%;
    max-width: 400px; /* adjust as needed */
    margin-top: 20px;
    border-radius: 10px;
  }

  /* INFO */
  .info {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Flatten the div so its children behave as direct children of flex container */
  .info > div {
    display: contents;
  }

  /* First h2 and first p stay on top */
  .info h2:first-of-type,
  .info p:first-of-type {
    order: 1;
    width: 100%;
  }

  /* Image comes after first text */
  .info > img {
    order: 2;
    width: 100%;
    max-width: 600px; /* optional max width */
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
  }

  /* Second heading and second paragraph */
  .info h2:nth-of-type(2),
  .info p:nth-of-type(2) {
    order: 3;
    width: 100%;
  }

  /* TRAINING SERVICES */
  .training-services {
    padding: 40px 20px;
  }

  .training-services .text-center {
    max-width: 100%;
    text-align: center;
  }

  .training-services p,
  .training-services .training-info p {
    max-width: 100% !important;
    width: 100%;
    text-align: justify;
    margin: 0 auto 20px auto;
  }

  .training-services .training-images {
    display: grid;
    grid-template-columns: 1fr 1fr; /* two images side by side on tablet */
    gap: 15px;
  }

  .training-services .training-images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
  }

  /* INCLUDED */
 /* WHAT'S INCLUDED */
  .whats-included {
    padding: 40px 30px;
  }

  .whats-included .text-center h2 {
    font-size: 28px;
    margin-bottom: 25px;
    text-align: center;
  }

  /* 4 columns → 2 columns per row */
  .included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
  }

  .included-box {
    padding: 20px;
    border-radius: 10px;
    text-align: left;
  }

  .included-box h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .included-box ul {
    padding-left: 20px;
    list-style: disc;
    font-size: 14px;
  }

  /* 2 images centered below the grid */
  .center-images {
    display: flex;
    flex-direction: row; /* side by side on tablet */
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 30px;
  }

  .center-images img {
    width: 48%;     /* two images side by side */
    max-width: none;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  /* CERTIFICATION */
  .certification {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr; /* first image | text | second image */
    gap: 20px;
    align-items: center;
    padding: 20px 30px;
  }

  .certification img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  .certification .right_image {
    justify-self: end;
  }

  .certification div {
    padding: 0 15px; /* add horizontal padding for text */
  }

  .certification h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .certification h3 {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
  }

  .certification p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: justify;
  }

  .certification div {
    padding: 0 15px;          /* horizontal padding for text */
    display: flex;            /* make div a flex container */
    flex-direction: column;   /* stack children vertically */
    align-items: center;      /* center children horizontally */
  }

  .certification .btn {
    width: auto;
    padding: 10px 20px;
    font-size: 14px;
  }

  .certification .spacer {
    display: none; /* remove extra space */
  }

  /* optional: remove <hr> line if not needed on tablet */
  .certification hr {
    margin-top: 20px;
  }

  /* POTENTIAL INCOME */
  .potential-income {
    display: flex;
    flex-direction: column;
    align-items: center;   /* center everything horizontally */
    padding: 40px 30px;
    gap: 20px;
  }

  /* Heading */
  .potential-income .text-center {
    width: 100%;
    text-align: center;
  }

  /* Images grid */
  .potential-income .income-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* three columns for images */
    gap: 15px;
    width: 100%;
    max-width: 1000px; /* optional max width */
    justify-items: center; /* center images in each column */
  }

  .potential-income .income-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Mobile-specific image */
  .potential-income .income-images img.mobile {
    display: block; /* show on tablet */
  }

  /* Note text */
  .potential-income .income-note {
    width: 90%;
    max-width: 800px;
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
    line-height: 1.5;
  }
  /* CTA */
  .cta-section .cta-buttons {
    flex-direction: row; /* two buttons side by side */
    gap: 12px;
  }

  .cta-section .cta-buttons a.cta-btn {
    width: auto; /* do not stretch fully */
  }

  /* MODULES */
  .modules {
    padding: 60px 30px; /* reduce padding for tablet */
  }

  .modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on tablets */
    gap: 20px;
  }

  .module-box {
    padding: 30px 20px; /* maintain good spacing */
  }

  .module-number {
    font-size: 42px; /* slightly smaller than desktop */
  }

  .module-box h3 {
    font-size: 16px;
    letter-spacing: 0.08em;
  }

  .module-box span {
    width: 35px; /* thinner divider line */
    height: 2px;
    margin-bottom: 15px;
  }

}



@media (max-width: 768px) {

  section {
    padding: 30px 20px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }

  /* HERO */
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "heading"
      "text"
      "image"
      "buttons";
    text-align: center;
    gap: 1px;
  }

  /* Flatten the content wrapper */
  .hero > div:first-child {
    display: contents;
  }

  /* Assign areas */
  .hero h1 {
    grid-area: heading;
  }

  .hero h1 span {
    font-size: 18px;
    color: #3a3a3a;
    letter-spacing: 0.1em;
    margin-top: 4px;
  }

  .hero p {
    grid-area: text;
  }

  .hero-images {
    grid-area: image;
    margin: 16px auto;
  }

  .hero-buttons {
    grid-area: buttons;
    display: flex;
    flex-direction: column; /* stack buttons vertically */
    gap: 12px; /* space between buttons */
    justify-content: center;
    align-items: center; /* center horizontally */
  }

  .hero-buttons a {
    flex: 1;                  /* make buttons same height */
    width: 100%;              /* full width */
    max-width: 220px;         /* optional max width */
    text-align: center;
    display: flex;             /* enable flex inside button */
    justify-content: center;   /* center text horizontally */
    align-items: center;       /* center text vertically */
    padding: 12px 20px;        /* uniform padding */
    box-sizing: border-box;    /* include padding in width/height */
  }

  .hero-images img {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
  }
  /* TRAINING */
  .training {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Move images visually above the button */
  .training > div:nth-of-type(2) {
    order: 1; /* images come after text */
    display: flex;
    gap: 10px;
    justify-content: center; /* center images */
    flex-wrap: wrap; /* wrap if needed */
  }

  .training > div:nth-of-type(2) img {
    width: 45%; /* smaller images */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  /* Move button below images */
  .training > div:nth-of-type(1) .btn {
    order: 2; /* after images */
    display: block;
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    text-align: center;
  }

  /* INFO */
  .info {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Flatten inner div */
  .info > div {
    display: contents;
  }

  /* First heading and first paragraph */
  .info h2:first-of-type,
  .info p:first-of-type {
    order: 1;
    width: 100%;
  }

  /* Image comes after first text */
  .info > img {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
  }

  /* Second heading and second paragraph */
  .info h2:nth-of-type(2),
  .info p:nth-of-type(2) {
    order: 3;
    width: 100%;
  }

  /* Optional: reduce font sizes for mobile */
  .info h2 {
    font-size: 20px;
    text-align: center;
  }

  .info p {
    font-size: 14px;
    line-height: 1.6;
  }

  /* MATERIALS */
  .materials-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .materials img {
    margin: 0 auto;
  }

  /* MODULE */
  .modules {
    padding: 60px 20px; /* reduce padding on mobile */
  }

  .modules-grid {
    display: grid;
    grid-template-columns: 1fr; /* single column on mobile */
    gap: 20px; /* spacing between module boxes */
  }

  .module-box {
    padding: 30px 20px; /* adjust padding if needed */
  }

  .module-number {
    font-size: 36px; /* slightly smaller number on mobile */
  }

  .module-box h3 {
    font-size: 16px; /* slightly bigger heading */
    letter-spacing: 0.08em;
  }

  .module-box span {
    width: 30px; /* thinner divider line */
    height: 2px;
    margin-bottom: 15px;
  }

  /* TRAINING SERVICES */
  .training-services {
    padding: 40px 20px; /* responsive padding */
  }

  .training-services .text-center {
    max-width: 100%;
    text-align: center;
  }

  .training-services p,
  .training-services .training-info p {
    max-width: 100% !important; /* override any parent width */
    width: 100%; /* take full width */
    text-align: justify; /* justify text */
    margin: 0 auto 20px auto; /* center block if needed */
    letter-spacing: 0.04em;
    font-family: Avenir, "Avenir Next", Helvetica, Arial, sans-serif;
  }

  .training-services .training-images {
    display: grid;
    grid-template-columns: 1fr;
  }

  .training-services .training-images img {
    width: 100%;           /* full width on mobile */
    max-width: 400px;      /* optional max width */
  }

  /* INCLUDED */
  .included-grid {
    display: grid;
    grid-template-columns: 1fr; /* single column */
    gap: 20px;                  /* space between boxes */
    margin-bottom: 30px;
  }

  .included-box {
    text-align: left;           /* keep text left-aligned */
    padding: 20px;              /* padding for mobile */
    border-radius: 10px;
  }

  /* Center the two images and make them responsive */
  .center-images {
    display: flex;
    flex-direction: column;     /* stack images vertically */
    align-items: center;
    gap: 20px;
    margin-top: 20px;
  }

  .center-images img {
    width: 90%;                 /* responsive width */
    max-width: 400px;           /* prevent too large */
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  /* Adjust section padding for mobile */
  .whats-included {
    padding: 40px 20px;
  }

  .whats-included .text-center h2 {
    font-size: 24px;            /* smaller heading for mobile */
    margin-bottom: 30px;
  }

  /* CERTIFICATION */
  .certification {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  /* Flatten the inner div so its children are treated as direct flex items */
  .certification > div {
    display: contents;
  }

  /* Set the order of elements */
  .certification h2 {
    order: 1; /* Heading */
  }

  .certification h3 {
    order: 2; /* Subheading */
  }

  .certification p {
    order: 3; /* Description */
  }

  .certification img:first-of-type {
    order: 4; /* First image */
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  .certification img.right_image {
    order: 5; /* Second image */
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  .certification .btn {
    order: 6; /* Contact button last */
    width: 100%; /* full width on mobile */
    margin-top: 10px;
  }

  .certification .spacer {
    display: none;
  }

  /* POTENTIAL INCOME */
  .potential-income {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center; /* center items horizontally */
    padding: 0 16px;
  }

  /* Heading */
  .potential-income .text-center {
    order: 1;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  /* Second image */
  .potential-income .income-images img:nth-of-type(2) {
    order: 2;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
  }

  /* Description */
  .potential-income .income-note {
    order: 3;
    width: 90%; /* margin from sides */
    text-align: justify;
    margin: 0 auto;
  }

  /* Third image */
  .potential-income .income-images img:nth-of-type(3) {
    order: 4;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
  }

  /* First image */
  .potential-income .income-images img:nth-of-type(1) {
    order: 5;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
  }

  /* Make .income-images not interfere with flex layout */
  .potential-income .income-images {
    display: contents;
  }

  /* CTA */
  .cta-section {
    padding: 20px 16px;
    text-align: center;
  }

  .cta-section .cta-buttons {
    display: flex;
    flex-direction: column; /* stack buttons vertically */
    gap: 12px; /* spacing between buttons */
    align-items: center;
    justify-content: center;
  }

  .cta-section .cta-buttons a.cta-btn {
    width: 100%; /* full width on mobile */
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    font-size: 16px;
  }

  .cta-section .cta-buttons .or-text {
    margin: 8px 0; /* space between buttons */
    font-size: 14px;
  }

  .cta-section .cta-buttons a img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }
}

body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body > *:last-child {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* If you have a spacer div at the bottom */
.spacer:last-of-type {
  display: none !important;
}
