/* ===========================
   ABOUT PAGE
=========================== */

.about-hero-section {
  padding: 4rem 0 2rem;
  text-align: center;
}

.about-title {
  font-size: clamp(32px, 5vw, 48px);
  color: var(--text);
  font-family: var(--fw-head);
  font-weight: 700;
}

.about-subtitle {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--muted);
  font-family: var(--fw-body);
}


/* CONTENT SECTION */
.about-section {
  padding: 4rem 0;
}

.about-image-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.about-img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 18px;
}

.about-heading {
  font-size: 34px;
  font-weight: 700;
  font-family: var(--fw-head);
  color: var(--text);
}

.about-text {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.55;
  font-family: var(--fw-body);
}

/* FEATURES */
.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.feature-icon {
  font-size: 1.5rem;
  background: var(--btn-gradient);
  color: #fff;
  padding: 12px;
  border-radius: 50%;
  box-shadow: var(--glass-shadow);
}

.feature-item h6 {
  margin: 0;
  font-weight: 700;
  font-family: var(--fw-head);
  color: var(--text);
}

.feature-item p {
  margin: 0;
  font-size: .9rem;
  color: var(--muted);
}

/* DARK MODE SUPPORT */
html.theme-dark .about-img {
  opacity: 0.9;
}

html.theme-dark .feature-icon {
  box-shadow: none;
}

@media (max-width: 768px) {

  .about-title {
    font-size: 32px;
  }

  .about-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .about-img {
    max-height: 320px;
    object-fit: cover;
  }

  .feature-icon {
    font-size: 1.3rem;
    padding: 10px;
  }

  .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
    padding: .85rem 1rem;
  }
}


@media (max-width: 576px) {

  .about-hero-section {
    padding: 2.5rem 0 1.5rem;
  }

  .about-title {
    font-size: 26px;
  }

  .about-subtitle {
    font-size: .95rem;
  }

  .about-section {
    padding: 2.5rem 0;
  }

  .about-img {
    border-radius: 14px;
  }

  .about-heading {
    font-size: 24px;
  }

  .about-text {
    font-size: .9rem;
  }

  .feature-item {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .feature-icon {
    font-size: 1.1rem;
    padding: 8px;
  }
}

@media (max-width: 380px) {

  .about-title {
    font-size: 22px;
  }

  .about-heading {
    font-size: 20px;
  }

  .feature-item h6 {
    font-size: 0.9rem;
  }

  .feature-item p {
    font-size: 0.75rem;
  }
}

@media (max-width: 992px) {

  .about-section {
    padding: 3rem 0;
  }

  .about-image-wrap {
    margin-bottom: 2rem;
  }

  .about-heading {
    font-size: 28px;
    text-align: center;
  }

  .about-text {
    text-align: center;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
  }

  .feature-item {
    justify-content: center;
  }

  .about-features {
    text-align: center;
  }
}
