/* @import url(./main.css); */

/* ==========================================================================
   About Us Hero
   ========================================================================== */

.about-hero-section {
  width: 100%;
  padding: 1.5rem 0 2rem;
  background-color: var(--color-white);
}

.about-hero-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-gray-navs), var(--color-white));
  border: 1px solid var(--gray-300);
  min-height: 420px;
  box-shadow: 0 10px 30px rgba(33, 37, 41, 0.08);
}

.about-hero-image-wrap {
  position: relative;
  width: 580px;
  min-height: 416px;
  overflow: hidden;
  background-color: var(--color-white);
}

.about-hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    var(--color-light) 0%,
    rgba(245, 245, 245, 0.92) 18%,
    rgba(245, 245, 245, 0.55) 35%,
    rgba(245, 245, 245, 0.08) 55%,
    transparent 78%
  );
  pointer-events: none;
}

.about-hero-image {
  width: 100%;
  height: 416px;
  min-height: 220px;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.about-hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
  gap: 1rem;
}

.about-hero-title-wrap {
  min-height: 70px;
}

.about-hero-title {
  position: relative;
  margin: 0;
  min-height: 72px;
  display: flex;
  align-items: center;
  color: var(--color-secondary);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.5;
}

.about-hero-title-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about-hero-title-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

.about-hero-text {
  margin: 0;
  color: var(--gray-700);
  font-size: var(--fs-body);
  line-height: 2;
  text-align: justify;
}

.about-hero-lower-text {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: justify;
}

.about-hero-lower-text p {
  margin: 0;
  color: var(--color-dark);
  font-size: var(--fs-body);
  line-height: 2;
}

/* Desktop */
@media (min-width: 992px) {
  .about-hero-card {
    flex-direction: row;
    align-items: stretch;
    min-height: 520px;
  }

  .about-hero-image-wrap {
    width: 48%;
    min-height: 520px;
    flex-shrink: 0;
  }

  .about-hero-image {
    min-height: 520px;
  }

  .about-hero-content {
    width: 52%;
    padding: 3rem 2.5rem 2.5rem 2rem;
  }

  .about-hero-title {
    font-size: var(--fs-h1);
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .about-hero-card {
    flex-direction: column;
    align-items: stretch;
    min-height: 480px;
  }

  .about-hero-content {
    order: 1;
    width: 100%;
    padding: 2rem 1.5rem;
  }

  .about-hero-content p {
    font-size: var(--fs-lg);
  }

  .about-hero-image-wrap {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-height: unset;
    height: 416px;
  }

  .about-hero-image {
    width: 100%;
    height: 100%;
    min-height: unset;
    object-fit: cover;
    object-position: center center;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-hero-card {
    flex-direction: column;
    align-items: stretch;
  }

  .about-hero-content {
    order: 1;
    width: 100%;
    padding: 1.5rem 1rem 2rem;
  }

  .about-hero-content p {
    font-size: var(--fs-lg);
  }

  .about-hero-image-wrap {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-height: unset;
    height: 280px;
  }

  .about-hero-image {
    width: 100%;
    height: 100%;
    min-height: unset;
    object-fit: cover;
    object-position: center center;
  }

  .about-hero-lower-text {
    margin-top: 1rem;
  }
}
/* ==================================================
   About Hero Responsive Fix
   smaller than 1024px
   ================================================== */
   @media (max-width: 1023px) {
  .about-hero-card {
    flex-direction: column;
  }

  .about-hero-content {
    order: 1;
    width: 100%;
  }

  .about-hero-image-wrap {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-height: unset;
    height: clamp(260px, 48vw, 416px);
  }

  .about-hero-image {
    width: 100%;
    height: 100%;
    min-height: unset;
    object-fit: cover;
    object-position: center center;
  }
}


/* ==========================================================================
   About Mission Section
   ========================================================================== */

.about-mission-section {
  width: 100%;
  background-color: var(--color-white);
  padding: 5rem 0;
}

.about-mission-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-mission-title {
  margin: 0 0 2rem;
  color: var(--color-black);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--line-height-heading);
}

.about-mission-text {
  margin: 0;
  max-width: 820px;
  color: var(--gray-800);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 2;
  text-align: center;
}

/* Tablet */
@media (max-width: 1023px) {
  .about-mission-section {
    padding: 4rem 0;
  }

  .about-mission-title {
    font-size: var(--fs-h2);
    margin-bottom: 1.5rem;
  }

  .about-mission-text {
    max-width: 680px;
    padding: 0 1rem;
    font-size: var(--fs-lg);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-mission-section {
    padding: 3rem 0;
  }

  .about-mission-title {
    font-size: var(--fs-h3);
    margin-bottom: 1rem;
  }

  .about-mission-text {
    max-width: 100%;
    padding: 0 1rem;
    font-size: var(--fs-body);
    line-height: 2;
  }
}

/* ==========================================================================
   About Why Us Section
   ========================================================================== */

.about-why-section {
  width: 100%;
  padding: 0 0 5rem;
  background-color: var(--color-white);
}

.about-why-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3.5rem;
  text-align: center;
}

.about-why-title {
  position: relative;
  margin: 0;
  color: var(--color-black);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--line-height-heading);
}

.about-why-title::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: var(--spacing-sm) auto 0;
  background-color: var(--color-white);
  border-radius: var(--radius-pill);
}

.about-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
}

.about-why-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-why-icon {
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  background-color: var(--gray-200);
  overflow: hidden;
}

.about-why-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.about-why-card h3 {
  margin: 0 0 1rem;
  color: var(--color-black);
  font-size: var(--fs-h4);
  font-weight: 800;
  line-height: var(--line-height-heading);
}

.about-why-card p {
  margin: 0;
  max-width: 320px;
  color: var(--gray-700);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 2.1;
}

/* Tablet */
@media (min-width: 768px) {
  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2.5rem;
  }

  .about-why-card p {
    max-width: 340px;
    font-size: var(--fs-lg);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .about-why-section {
    padding: 0rem 0 6rem;
  }

  .about-why-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 5rem 3rem;
  }

  .about-why-card-1,
  .about-why-card-2,
  .about-why-card-3 {
    grid-column: span 2;
  }

  .about-why-card-4 {
    grid-column: 2 / span 2;
  }

  .about-why-card-5 {
    grid-column: 4 / span 2;
  }

  .about-why-card p {
    max-width: 300px;
    font-size: var(--fs-body);
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-why-section {
    padding: 0rem 0 4rem;
  }

  .about-why-header {
    margin-bottom: 2.5rem;
  }

  .about-why-grid {
    gap: 3rem;
  }

  .about-why-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }

  .about-why-icon img {
    width: 58px;
    height: 58px;
  }

  .about-why-card h3 {
    font-size: var(--fs-h4);
  }

  .about-why-card p {
    max-width: 100%;
    padding: 0 0.5rem;
    font-size: var(--fs-body);
    line-height: 2;
  }
}