/* === Base Reset === */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Variables === */
:root {
  --color-bg: #f5f5f5;
  --color-text: #070505;
  --color-light: #fff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  --radius: 16px;
}

/* === General Typography === */
body {
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
}

h2 {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 2rem;
}

/* === Services Section === */
.services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 193px 20px 100px;
  background: var(--color-bg);
}

/* === CARD === */
.section-row {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  background: var(--color-light);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}

.section-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1400px;
  background: var(--color-light);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 80px;
}

/* === INNER ROWS (HORIZONTAL SPLIT) === */
.inner-row {
  display: flex;
  width: 100%;
  min-height: 420px;
}

.inner-row.reverse {
  flex-direction: row-reverse;
}

/* === EXACT 50 / 50 SPLIT === */
.inner-row .section-text,
.inner-row .section-image {
  flex: 0 0 50%;
  width: 50%;
}

/* === IMAGE === */
.section-image {
  position: relative;
}

.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* === TEXT === */
.section-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem;
  color: var(--color-text);
}

.section-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.section-text p {
  font-size: 1.6rem;
  max-width: 600px;
  opacity: 0.85;
}



/* === DIVIDER BETWEEN INNER ROWS === */
.inner-row + .inner-row {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* === Lists inside section-text === */
.section-text ul {
  list-style-type: disc; /* default bullets */
  margin-left: 1.5rem; /* space from text */
  margin-top: 1rem;
  padding-left: 0;
}

.section-text ul li {
  font-size: 1.6rem;       /* same as <p> */
  line-height: 1.6;        /* same line spacing as text */
  color: var(--color-text);
  max-width: 600px;        /* same as <p> */
  margin-bottom: 0.6rem;   /* spacing between items */
  opacity: 0.85;           /* match paragraph opacity */
}

.section-text .cert-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  align-items: center;
  padding: 1em 0;
  gap: 15px; /* spacing between logos */
}

.section-text .cert-logos img {
  height: 90px;
  display: block;
}

.section-text p.emphasis {
  font-weight: 700; /* bold without using <strong> */
}


/* === MOBILE === */
@media screen and (max-width: 768px) {

  .inner-row,
  .inner-row.reverse {
    flex-direction: column;
  }

  .inner-row .section-text,
  .inner-row .section-image {
    width: 100%;
    flex: 0 0 100%;
  }

  .section-image img {
    height: 240px;
  }

  .section-text {
    padding: 2.5rem 2rem;
  }

  .section-text h2 {
    font-size: 2rem;
  }

  .section-text p {
    font-size: 1.4rem;
  }

    .section-text ul li {
    font-size: 1.4rem;     /* match mobile paragraph size */
    max-width: 100%;
  }

    .section-text .cert-logos img {
    height: 60px;
  }
}


/* === Old Section Row Style === */
.section-row-old {
  display: flex;
  flex-direction: row; /* text left, image right by default */
  width: 100%;
  max-width: 1400px;
  margin-bottom: 80px;
  background: var(--color-light);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.section-row-old.reverse {
  flex-direction: row-reverse; /* image left, text right */
}

.section-row-old .section-image,
.section-row-old .section-text {
  flex: 0 0 50%;
  width: 50%;
}

.section-row-old .section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-row-old .section-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 4rem;
  color: var(--color-text);
}

.section-row-old .section-text h2 {
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
}

.section-row-old .section-text p {
  font-size: 1.6rem;
  max-width: 600px;
  opacity: 0.85;
}

.section-row-old ul {
  list-style-type: disc;
  margin-left: 1.5rem;
  margin-top: 1rem;
  padding-left: 0;
}

.section-row-old ul li {
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 600px;
  margin-bottom: 0.6rem;
  opacity: 0.85;
}

/* === MOBILE === */
@media screen and (max-width: 768px) {
  .section-row-old,
  .section-row-old.reverse {
    flex-direction: column;
  }

  .section-row-old .section-image,
  .section-row-old .section-text {
    width: 100%;
    flex: 0 0 100%;
  }

  .section-row-old .section-image img {
    height: 240px;
  }

  .section-row-old .section-text {
    padding: 2.5rem 2rem;
  }

  .section-row-old .section-text h2 {
    font-size: 2rem;
  }

  .section-row-old .section-text p,
  .section-row-old ul li {
    font-size: 1.4rem;
    max-width: 100%;
  }
}

