/* ============================================================
   ebpt7 — Why Companies Seek ISO Certification
   Namespace  : ebpt7
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&display=swap');

/* 1. Variables & Colors */
.ebpt7 {
  --ebpt7-bg:               #204A7B;
  --ebpt7-text:             #ffffff;
  --ebpt7-title:            #ffffff;
  --ebpt7-border:           rgba(255, 255, 255, 0.15);

  /* --ebpt7-overlay-color:    rgba(20, 45, 85, 0.72); */
  --ebpt7-box-bg:           #204A7B;

  --ebpt7-item-text:        #e8eef8;
  --ebpt7-arrow-color:      #ffffff;

  --ebpt7-padding-top:      0;
  --ebpt7-padding-bottom:   0;
}

*,
.ebpt7 *,
.ebpt7 *::before,
.ebpt7 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 3. Base Styles — Mobile */
.ebpt7 {
  font-family: "El Messiri", sans-serif;
  position: relative;
  width: 100%;
  min-height: 55vh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  padding-top: var(--ebpt7-padding-top);
  padding-bottom: var(--ebpt7-padding-bottom);
  direction: ltr;
}

/* Background image wrapper */
.ebpt7__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ebpt7__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  aspect-ratio: 16 / 6;
  display: block;
}

/* Dark blue overlay */
.ebpt7__overlay {
  position: absolute;
  inset: 0;
  background-color: var(--ebpt7-overlay-color);
}

/* Container — positions the box to the right */
.ebpt7__container {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem 1.25rem;
}

/* The semi-transparent blue box */
.ebpt7__box {
  background-color: var(--ebpt7-box-bg);
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 30rem;
}

/* Title */
.ebpt7__title {
  font-size: clamp(1.2rem, 5vw, 1.6rem);
  font-weight: 700;
  color: var(--ebpt7-title);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  font-family: "El Messiri", sans-serif;
}

/* List */
.ebpt7__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

/* Item row */
.ebpt7__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Arrow icon */
.ebpt7__arrow {
  color: var(--ebpt7-arrow-color);
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  margin-top: 0.22rem;
  flex-shrink: 0;
}

/* Text */
.ebpt7__text {
  font-size: clamp(0.8rem, 3vw, 0.95rem);
  color: var(--ebpt7-item-text);
  line-height: 1.6;
  font-family: "El Messiri", sans-serif;
}

/* 4. Breakpoints */

@media (min-width: 481px) {
  .ebpt7__box {
    padding: 2.25rem 1.75rem;
  }

  .ebpt7__text {
    font-size: clamp(0.83rem, 2.5vw, 0.97rem);
  }
}

@media (min-width: 601px) {
  .ebpt7__container {
    justify-content: flex-end;
    padding-inline-end: 3rem;
  }

  .ebpt7__box {
    max-width: 26rem;
  }

  .ebpt7 {
    min-height: 60vh;
  }
}

@media (min-width: 769px) {
  .ebpt7__container {
    justify-content: flex-end;
    padding-inline-end: 4rem;
    padding-block: 3rem;
  }

  .ebpt7__box {
    max-width: 28rem;
    padding: 2.5rem 2rem;
  }

  .ebpt7 {
    min-height: 65vh;
  }

  .ebpt7__title {
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    margin-bottom: 1.75rem;
  }

  .ebpt7__list {
    gap: 1rem;
  }

  .ebpt7__text {
    font-size: clamp(0.85rem, 1.3vw, 0.97rem);
  }
}

@media (min-width: 1025px) {
  .ebpt7__container {
    padding-inline-end: 5rem;
  }

  .ebpt7__box {
    max-width: 30rem;
    padding: 2.75rem 2.25rem;
  }

  .ebpt7 {
    min-height: 60vh;
  }

  .ebpt7__title {
    font-size: clamp(1.4rem, 1.8vw, 1.75rem);
  }

  .ebpt7__text {
    font-size: 0.97rem;
  }

  .ebpt7__list {
    gap: 1.1rem;
  }
}

@media (min-width: 1281px) {
  .ebpt7__container {
    padding-inline-end: 7rem;
  }

  .ebpt7__box {
    max-width: 32rem;
    padding: 3rem 2.5rem;
  }

  .ebpt7__title {
    font-size: 1.8rem;
  }

  .ebpt7__text {
    font-size: 1rem;
  }
}

@media (min-width: 1441px) {
  .ebpt7__container {
    padding-inline-end: 9rem;
  }

  .ebpt7__box {
    max-width: 34rem;
    padding: 3.25rem 2.75rem;
  }

  .ebpt7__title {
    font-size: 1.9rem;
    margin-bottom: 2rem;
  }

  .ebpt7__text {
    font-size: 1.05rem;
  }

  .ebpt7__list {
    gap: 1.2rem;
  }
}

@media (min-width: 1921px) {
  .ebpt7__box {
    max-width: 38rem;
    padding: 3.5rem 3rem;
  }

  .ebpt7__title {
    font-size: 2.1rem;
  }

  .ebpt7__text {
    font-size: 1.1rem;
  }

  .ebpt7__arrow {
    font-size: 1rem;
  }
}