.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #017439;
  padding-bottom: 20px; /* Small padding at bottom */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
  max-height: 675px;
}

.page-about__hero-content {
  width: 100%;
  max-width: 960px;
  padding: 20px;
  color: #FFFFFF;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-top: 20px;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about__hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: #FFFFFF;
}

.page-about__cta-button {
  display: inline-block;
  padding: 12px 28px;
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-about__cta-button:hover {
  background-color: #a00606;
  transform: translateY(-2px);
}

.page-about__mission-section,
.page-about__why-choose-section,
.page-about__responsibility-section,
.page-about__contact-section {
  padding: 60px 0;
  background-color: #100224; /* Deep purple-black */
  color: #FFFFFF;
}

.page-about__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #FFFFFF;
}

.page-about__section-title--gradient {
  background: linear-gradient(90deg, #ff9500, #ff5e3a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-about__content-grid--reverse {
  flex-direction: row-reverse;
}

.page-about__text-block {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.8;
}

.page-about__text-block p {
  margin-bottom: 15px;
}

.page-about__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-about__content-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__link-text {
  color: #83a1f2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-about__link-text:hover {
  color: #688cec;
  text-decoration: underline;
}

.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.page-about__feature-card {
  background-color: #017439;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
  transform: translateY(-5px);
}

.page-about__feature-icon {
  width: 100%; /* Ensure image fills card */
  max-width: 200px; /* But not too large */
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Enforce minimum size */
  min-height: 200px; /* Enforce minimum size */
}

.page-about__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-about__feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFFFFF;
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 30px;
}

.page-about__cta-button--wide {
  padding: 15px 40px;
  font-size: 1.2rem;
}

.page-about__contact-description {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__contact-info {
  text-align: center;
  margin-bottom: 40px;
}

.page-about__contact-info p {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.page-about__contact-link {
  color: #83a1f2;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.page-about__contact-link:hover {
  color: #688cec;
  text-decoration: underline;
}

.page-about__cta-button--register {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
}

.page-about__cta-button--register:hover {
  background-color: #a00606;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-about__content-grid {
    flex-direction: column;
  }

  .page-about__content-grid--reverse {
    flex-direction: column;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-about__hero-description {
    font-size: clamp(0.9rem, 3.5vw, 1.1rem);
  }

  .page-about__section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .page-about__hero-image {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }
  .page-about__content-area img,
  .page-about__mission-section img,
  .page-about__why-choose-section img,
  .page-about__responsibility-section img,
  .page-about__contact-section img,
  .page-about__feature-icon,
  .page-about__content-image {
    max-width: 100%;
    height: auto;
  }
  .page-about__features-grid {
    grid-template-columns: 1fr;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__cta-button {
    padding: 10px 24px;
    font-size: 1rem;
  }
  .page-about__mission-section, 
  .page-about__why-choose-section, 
  .page-about__responsibility-section, 
  .page-about__contact-section {
    padding: 40px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
}