/* ===== About Section ===== */
.about-section {
  scroll-margin-top: 2.5rem;
  padding: 3rem 0;
}

@media (min-width: 640px) {
  .about-section {
    padding: 4rem 0;
  }
}

@media (min-width: 768px) {
  .about-section {
    padding: 5rem 0;
  }
}

.about-container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .about-container {
    padding: 0 1.5rem;
  }
}

/* Title */
.about-title-block {
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-title-block.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 640px) {
  .about-title-block {
    margin-bottom: 3.5rem;
  }
}

.about-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #f37021;
}

@media (min-width: 640px) {
  .about-eyebrow {
    font-size: 0.875rem;
  }
}

.about-title {
  margin: 0.5rem 0 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
}

@media (min-width: 640px) {
  .about-title {
    margin-top: 0.75rem;
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .about-title {
    font-size: 2.25rem;
  }
}

.about-description {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #475569;
}

@media (min-width: 640px) {
  .about-description {
    margin-top: 1.25rem;
    font-size: 1rem;
  }
}

/* Content Grid */
.about-content {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .about-content {
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 1.25rem;
  }
}

@media (min-width: 1280px) {
  .about-content {
    grid-template-columns: minmax(320px, 520px) 1fr;
  }
}

/* Image */
.about-image-wrapper {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-image-wrapper.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 1rem;
}

@media (min-width: 1024px) {
  .about-image {
    aspect-ratio: auto;
    min-height: 420px;
    height: 100%;
  }
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.1), transparent);
}

.about-image-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: auto;                 /* bỏ full width */
  max-width: 85%;              /* không dài quá chiều ngang ảnh */
  color: #ffffff;
}

@media (min-width: 640px) {
  .about-image-caption {
    bottom: 2rem;
    left: 2rem;
    max-width: 75%;
  }
}

@media (min-width: 1024px) {
  .about-image-caption {
    max-width: 70%;
  }
}

.about-image-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
  background-color: #f37021 ;
  width: fit-content;
  padding: 0.3rem 0.7rem;      /* thêm padding */
  border-radius: 9999px;        /* bo tròn */
}

@media (min-width: 640px) {
  .about-image-label {
    font-size: 0.8rem;
  }
}

.about-image-title {
  margin: 0.35rem 0 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

@media (min-width: 640px) {
  .about-image-title {
    margin-top: 0.4rem;
    font-size: 1.35rem;
  }
}

@media (min-width: 768px) {
  .about-image-title {
    font-size: 1.5rem;
  }
}

/* Mô tả dưới title (thẻ h4) */
.about-image-desc {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 640px) {
  .about-image-desc {
    margin-top: 0.6rem;
    font-size: 0.875rem;
  }
}

/* Features Grid */
.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Feature Card */
.about-feature {
  height: 100%;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0;
  transform: translateY(40px);
}

.about-feature.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-feature:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .about-feature {
    padding: 1.5rem;
  }
}

/* Top line (hover expand) */
.about-feature-top-line {
  display: block;
  height: 0.25rem;
  width: 4rem;
  border-radius: 9999px;
  background: #f37021;
  transition: width 0.5s ease-out;
}

.about-feature:hover .about-feature-top-line {
  width: 6rem;
}

@media (min-width: 640px) {
  .about-feature-top-line {
    width: 5rem;
  }
  .about-feature:hover .about-feature-top-line {
    width: 7rem;
  }
}

/* Header */
.about-feature-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .about-feature-header {
    margin-top: 1.75rem;
  }
}

.about-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: #fff7ed;
  color: #f37021;
}

@media (min-width: 640px) {
  .about-feature-icon {
    width: 3rem;
    height: 3rem;
  }
}

.about-feature-number {
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1;
  color: #163f87;
  border: none;              
  border-radius: 0;
  padding: 0;
  transition: color 0.3s ease;
}

.about-feature:hover .about-feature-number {
  color: #f37021;            
  border: none;
}

@media (min-width: 640px) {
  .about-feature-number {
    font-size: 2.25rem;
  }
}

/* Title & underline */
.about-feature-title {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

@media (min-width: 640px) {
  .about-feature-title {
    margin-top: 1.25rem;
    font-size: 1.125rem;
  }
}

.about-feature-underline {
  display: block;
  margin-top: 0.5rem;
  height: 2px;
  width: 2rem;
  border-radius: 9999px;
  background: #f37021;
  transition: width 0.5s ease-out;
}

.about-feature:hover .about-feature-underline {
  width: 3.5rem;
}

@media (min-width: 640px) {
  .about-feature-underline {
    margin-top: 0.75rem;
    width: 2.25rem;
  }
  .about-feature:hover .about-feature-underline {
    width: 4rem;
  }
}

.about-feature-desc {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #475569;
}

@media (min-width: 640px) {
  .about-feature-desc {
    margin-top: 1rem;
  }
}