/* Utility Class */
.hide {
  display: none !important;
}

/* If you’re still using <blockquote> tags elsewhere */
blockquote:before {
  display: none;
}
blockquote {
  margin: 0;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; /* Prevents the text from wrapping */
  border: 0;
}


/* ----------------------------------------
   Wrapper: centers the content and sets width
   ---------------------------------------- */
.about-us__wrapper {
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
  gap: 40px;
}

/* ------------------------- Responsive Wrapper Width ------------------------- */
/* Widescreen (75% width) */
@media (min-width: 1921px) {
  .about-us__wrapper {
    display: flex;
    width: 75%;
  }
}

/* Desktop (80% width) */
@media (min-width: 1441px) and (max-width: 1920px) {
  .about-us__wrapper {
    display: flex;
    width: 80%;
  }
}

/* Laptop (85% width) */
@media (min-width: 1025px) and (max-width: 1440px) {
  .about-us__wrapper {
    display: flex;
    width: 85%;
  }
}

/* Tablet Portrait (90% width) */
@media (min-width: 769px) and (max-width: 1024px) {
  .about-us__wrapper {
    display: flex;
    width: 90%;
  }
}

/* Mobile Portrait (100% width) */
@media (max-width: 768px) {
  .about-us__wrapper {
    display: flex;
    width: 100%;
    padding: 0;
    gap: 20px;
  }
}


/* ===========================
   Desktop layout
   =========================== */
.about-us__section--desktop {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Ensure the top container remains a flex row */
.about-us__section--desktop .about-us__top {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Text column: 75% width, vertical stack with gap */
.about-us__section--desktop .about-us__col--text {
  display: flex;
  flex-direction: column;
  gap: 40px;  /* ← restores space between .about-us__intro and .about-us__quote */
  text-align: justify;
  width: 75%;
}



.about-us__section--desktop .about-us__col--text p {
  font-size: 1.2em;
  margin: 0;
}

/* Slight font‐size adjustments within the desktop range */
@media (min-width: 1441px) and (max-width: 1679px) {
  .about-us__section--desktop .about-us__col--text p {
    font-size: 1.1em;
  }
}
@media (min-width: 1680px) and (max-width: 1919px) {
  .about-us__section--desktop .about-us__col--text p {
    font-size: 1.15em;
  }
}

/* Media column = 25% */
.about-us__section--desktop .about-us__col--media {
  display: flex;
  flex-direction: column;
  width: 25%;
  /* remove max-width/max-height here */
}

/* Make the profile image fill its column */
.about-us__section--desktop .about-us__col--media .about-us__profile-image {
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 5px;
  max-height: 500px;
}
@media (min-width: 2070px) and (max-width: 2299px) {
  .about-us__section--desktop .about-us__col--media .about-us__profile-image {
    object-fit: cover;
  }
  .about-us__section--desktop .about-us__col--text {
    width: 79%;
  }
  .about-us__section--desktop .about-us__col--media {
      width: 21%;
  }
}

@media (min-width: 2300px) {
  .about-us__section--desktop .about-us__col--media .about-us__profile-image {
    object-fit: cover;
  }
  .about-us__section--desktop .about-us__col--text {
    width: 83%;
  }
  .about-us__section--desktop .about-us__col--media {
      width: 17%;
  }
}

.about-us__section--desktop .about-us__quote {
  display: flex;
  flex-direction: column;
  background-color: #d8efd0;
  padding: 2rem;
  border-radius: 5px;
  gap: 1.5rem;
  align-items: flex-start;
  text-align: left;
}

.about-us__section--desktop .about-us__quote-text {
  flex: 1;
  text-align: justify;
  padding-right: 2rem;
}


/* Slight font‐size adjustments within the desktop range */
@media (min-width: 1441px) and (max-width: 1679px) {
  .about-us__section--desktop .about-us__col--text p,
  .about-us__section--desktop .about-us__quote-text p {
    font-size: 1.1em;
  }
}
@media (min-width: 1680px) and (max-width: 1919px) {
  .about-us__section--desktop .about-us__col--text p,
  .about-us__section--desktop .about-us__quote-text p {
    font-size: 1.15em;
  }
}


/* Factory Images Grid – Desktop */
.about-us__section--desktop .about-us__images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Remove the default margins browsers give <figure> */
.about-us__section--desktop .about-us__images figure {
  margin: 0;
}

/* Stretch each image to fill its grid cell just like before */
.about-us__section--desktop .about-us__images img {
  display: block;        /* eliminate inline-element whitespace */
  width: 100%;
  height: auto;
  border-radius: 5px;
}



/* ===========================
   Tablet layout
   =========================== */
.about-us__section--tablet {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-us__section--tablet .about-us__intro {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.about-us__section--tablet .about-us__intro p {
  /* font-size removed here, set in the queries below */
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: justify;
  margin: 0;
}

.about-us__section--tablet .about-us__col--media .about-us__profile-image {
  max-width: 200px;
  height: auto;
  border-radius: 5px;
}

.about-us__section--tablet .about-us__quote {
  display: flex;
  flex-direction: row;
  background-color: #d8efd0;
  padding: 40px;
  border-radius: 5px;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}

.about-us__section--tablet .about-us__quote-image {
  order: -1;
  flex: none;
  align-self: flex-start;
}

.about-us__section--tablet .about-us__quote-image img {
  max-width: 200px;
  margin-right: 1.5rem;
  border-radius: 5px;
}

.about-us__section--tablet .about-us__quote-text {
  flex: 1;
  text-align: justify;
}

.about-us__section--tablet .about-us__quote-text p {
  margin-top: 0;
}

/* Factory Images Grid – Desktop */
.about-us__section--tablet .about-us__images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

/* Remove the default margins browsers give <figure> */
.about-us__section--tablet .about-us__images figure {
  margin: 0;
}

/* Stretch each image to fill its grid cell just like before */
.about-us__section--tablet .about-us__images img {
  display: block;        /* eliminate inline-element whitespace */
  width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Combined font-size rules for intro and quote-text */
/* Smaller half of tablet/laptop: 769px–1104px */
@media (min-width: 769px) and (max-width: 1104px) {
  .about-us__section--tablet .about-us__intro p,
  .about-us__section--tablet .about-us__quote-text {
    font-size: 1.05em;
  }
}
/* Larger half of tablet/laptop: 1105px–1440px */
@media (min-width: 1105px) and (max-width: 1440px) {
  .about-us__section--tablet .about-us__intro p,
  .about-us__section--tablet .about-us__quote-text {
    font-size: 1.1em;
  }
}


/* ===========================
   Mobile layout
   =========================== */
.about-us__section--mobile {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.about-us__section--mobile .about-us__intro {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: justify;
}

.about-us__section--mobile .about-us__intro p {
  font-size: 1em;
  margin: 0;
}

.about-us__section--mobile .about-us__quote {
  display: flex;
  flex-direction: column;
  background-color: #d8efd0;
  padding: 2rem;
  border-radius: 5px;
  gap: 20px;
  align-items: flex-start;
  text-align: left;
}

.about-us__section--mobile .about-us__quote-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-start;
}

.about-us__section--mobile .about-us__quote-image {
  max-width: 100px;
  max-height: 100px;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
}

.about-us__section--mobile .about-us__quote-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-us__section--mobile .about-us__quote-text {
  text-align: justify;
}

/* Factory Images Grid – Desktop */
.about-us__section--mobile .about-us__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Remove the default margins browsers give <figure> */
.about-us__section--mobile .about-us__images figure {
  margin: 0;
}

/* Stretch each image to fill its grid cell just like before */
.about-us__section--mobile .about-us__images img {
  display: block;        /* eliminate inline-element whitespace */
  width: 100%;
  height: auto;
  border-radius: 5px;
}
