.page-about {
  padding-top: 10px; /* Small top padding to ensure content starts below header */
  background-color: #140C0C;
  color: #FFF1E8;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 0 40px 0;
  position: relative;
  overflow: hidden;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Max height for hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16/9; /* Default aspect ratio for hero */
}

.page-about__hero-content {
  max-width: 900px;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-about__hero-title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: #F3C54D;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__hero-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__hero-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

.page-about__hero-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

/* General Section Styling */
.page-about__section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  color: #E53030;
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
}

.page-about__text-content {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
}

/* Mission & Values Section */
.page-about__mission-values-section {
  background-color: #2A1212;
  padding: 60px 0;
}

.page-about__mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.page-about__mission-card {
  background-color: #140C0C;
  border: 1px solid #6A1E1E;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__mission-image {
  width: 100%;
  max-width: 400px; /* Constrain image width in card */
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 3/2;
}

.page-about__card-title {
  font-size: 1.5rem;
  color: #F3C54D;
  margin-bottom: 15px;
}

.page-about__mission-card ul {
  list-style: none;
  padding: 0;
  text-align: left;
  width: 100%;
  max-width: 300px;
}

.page-about__mission-card ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.page-about__mission-card ul li::before {
  content: '★';
  color: #FFB04A;
  position: absolute;
  left: 0;
  top: 0;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
  padding: 60px 0;
}

.page-about__advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

.page-about__advantage-item {
  background-color: #2A1212;
  border: 1px solid #7E0D0D;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-about__advantage-title {
  font-size: 1.4rem;
  color: #F3C54D;
  margin-bottom: 10px;
}

.page-about__advantages-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Call to Action Section */
.page-about__cta-section {
  background-color: #2A1212;
  padding: 60px 0;
  text-align: center;
}

.page-about__cta-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #F3C54D;
  margin-bottom: 20px;
}

.page-about__cta-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.page-about__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  color: #140C0C;
  padding: 15px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
  min-width: 180px;
  text-align: center;
}

.page-about__cta-button--register {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-about__cta-button--login {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
}

.page-about__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 176, 74, 0.6);
}

/* Responsive Design */
@media (min-width: 550px) {
  .page-about__mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-about__advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-about__cta-buttons {
    flex-direction: row;
  }
}

@media (min-width: 850px) {
  .page-about__hero-section {
    padding: 0 0 60px 0;
  }

  .page-about__hero-image-wrapper {
    margin-bottom: 50px;
  }

  .page-about__hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
  }

  .page-about__hero-description {
    font-size: 1.15rem;
  }

  .page-about__section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    padding-top: 60px;
  }

  .page-about__text-content {
    font-size: 1.05rem;
  }

  .page-about__mission-values-section,
  .page-about__why-choose-us-section,
  .page-about__cta-section {
    padding: 80px 0;
  }

  .page-about__advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Ensure content area images are not too small */
.page-about img {
  min-width: 200px;
  min-height: 200px;
}

/* Mobile specific constraints for images */
@media (max-width: 768px) {
  .page-about img {
    max-width: 100%;
    height: auto;
  }
  .page-about__hero-image {
    aspect-ratio: 16/9;
  }
  .page-about__mission-image {
    aspect-ratio: 3/2;
  }
  .page-about__advantages-image {
    aspect-ratio: 4/3;
  }
}