/* ========================================
   ABOUT US SECTION (MIRRORING PROJECTS)
   ======================================== */

.about {
  width: 100vw;
  background: #ffffff;
}

.about__container {
  width: 100vw;
  display: flex;
  flex-direction: row;
  border-top: 1.5px solid #111111;
}

/* LEFT PANEL (IMAGE) */
.about__left {
  width: 35%;
  padding: 60px 0px 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.about__title {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: #111111;
  margin-bottom: 24px;
  line-height: 1.1;
  text-align: center;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.about__title::after,
.about__title--mobile::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary-green);
  transition: width 0.6s ease-in-out;
}

.about__title.is-visible::after,
.about__title--mobile.is-visible::after {
  width: 100%;
}

.about__title--mobile {
  display: none;
}

.about__desc--mobile {
  display: none;
}

.about__desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #666666;
  line-height: 1.6;
  max-width: 800px;
}

/* RIGHT PANEL (TEXT) */
.about__right {
  width: 65%;
  padding: 60px 60px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.about__image-placeholder,
.about__image {
  flex: none;
  width: 100%;
  height: 55vh;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: auto 0;
}

/* MOBILE BELOW 768px */
@media (max-width: 768px) {
  .about__container {
    width: 100vw;
    min-height: auto;
    flex-direction: column;
  }
  
  .about__left {
    width: 100vw;
    height: auto;
    padding: 24px 20px 16px 20px;
    justify-content: flex-start;
  }
  
  .about__title {
    font-size: 32px;
    margin-bottom: 12px;
  }
  
  .about__title--mobile {
    display: block;
    padding-top: 32px;
    margin-bottom: 16px; /* Added some margin so the line isn't touching the photo */
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
  
  .about__right .about__title {
    display: none;
  }
  
  .about__desc--desktop {
    display: none;
  }
  
  .about__desc--mobile {
    display: block;
  }
  
  .about__desc {
    font-size: 16px;
  }
  
  .about__right {
    width: 100vw;
    height: auto;
    padding: 0 20px 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  
  .about__image-placeholder,
  .about__image {
    height: 38vh;
    max-height: 320px;
    width: 100%;
    border-radius: 8px;
    margin: 0;
  }
}
