/* ============================================================
   ebabu3 — About / ISO Certificates Section
   Namespace  : ebabu3
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

/* 1. Variables & Colors */
.ebabu3 {

  /* Section */
  --ebabu3-bg:            #ffffff;
  --ebabu3-text:          #1a1a2e;
  --ebabu3-title:         #1a3a6b;
  --ebabu3-subtitle:      #1a3a6b;
  --ebabu3-border:        #d0dce8;

  /* Icon */
  --ebabu3-icon-color:    #1a5fa8;

  /* Cert label */
  --ebabu3-cert-color:    #1a1a2e;

  /* Padding */
  --ebabu3-padding-top:    3rem;
  --ebabu3-padding-bottom: 3rem;
}

/* 2. Reset inside namespace */
.ebabu3 *,
.ebabu3 *::before,
.ebabu3 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 3. Base Styles — Mobile */
.ebabu3 {
  font-family: "El Messiri", sans-serif;
  background-color: var(--ebabu3-bg);
  color: var(--ebabu3-text);
  padding-top:    var(--ebabu3-padding-top);
  padding-bottom: var(--ebabu3-padding-bottom);
  direction: ltr;
}

.ebabu3__container {
  width: 92%;
  max-width: 75rem;
  margin-inline: auto;
}

/* Header */
.ebabu3__header {
  text-align: center;
  margin-bottom: 2rem;
}

.ebabu3__title {
  color: var(--ebabu3-title);
  font-weight: 700;
  font-size: clamp(1.3rem, 5vw, 2rem);
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.ebabu3__subtitle {
  color: var(--ebabu3-subtitle);
  font-weight: 600;
  font-size: clamp(1rem, 3.5vw, 1.25rem);
  line-height: 1.4;
}


.ebabu3__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* List */
.ebabu3__list {
  list-style: none;
  flex: 1;
}


.ebabu3__list:first-child {
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

/* Item */
.ebabu3__item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0;
}

/* Icon */
.ebabu3__icon {
  color: var(--ebabu3-icon-color);
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Text block */
.ebabu3__text {
  font-size: clamp(0.82rem, 2.5vw, 0.95rem);
  line-height: 1.6;
  color: var(--ebabu3-text);
}

/* Bold cert label */
.ebabu3__cert {
  color: var(--ebabu3-cert-color);
  font-weight: 700;
}

/* ============================================================
   4. Breakpoints — Mobile First
============================================================ */

/* Small Tablet  481 → 600 */
@media (min-width: 481px) {

  .ebabu3__title {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }
}

/* Medium Tablet 601 → 768 */
@media (min-width: 601px) {

  .ebabu3__container {
    width: 88%;
  }
}

/* Large Tablet  769 → 1024 — two columns appear */
@media (min-width: 769px) {

  .ebabu3__content {
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
  }

  /* Remove bottom border divider — replaced by vertical gap */
  .ebabu3__list:first-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
    padding-right: 2.5rem;
  }

  .ebabu3__list {
    flex: 1;
  }

  .ebabu3__item {
    padding: 0.45rem 0;
  }
}

/* Small Desktop 1025 → 1280 */
@media (min-width: 1025px) {

  .ebabu3__container {
    width: 85%;
  }



  .ebabu3 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .ebabu3__content {
    gap: 3rem;
  }

  .ebabu3__list:first-child {
    padding-right: 3rem;
  }
}

/* Medium Desktop 1281 → 1440 */
@media (min-width: 1281px) {

  .ebabu3__container {
    width: 80%;
  }

  .ebabu3__text {
    font-size: 0.95rem;
  }
}

/* Large Desktop 1441 → 1920 */
@media (min-width: 1441px) {

  .ebabu3__container {
    width: 75%;
  }
}

/* Extra Large 1921+ */
@media (min-width: 1921px) {

  .ebabu3__container {
    max-width: 90rem;
    width: 70%;
  }
}