/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  line-height: 1.6;
}

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

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 50px;
  text-align: center;
  background: linear-gradient(135deg, #017439, #005f2f); /* Brand color gradient */
  color: #ffffff;
}

.page-about__hero-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  margin-bottom: 40px;
}

.page-about__hero-text-block {
  padding: 0 20px;
}

.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFFF00; /* Highlight title */
}

.page-about__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #ffffff;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-about__btn-primary {
  background: #C30808; /* Register color */
  color: #FFFF00; /* Register font color */
  border: 2px solid #C30808;
}

.page-about__btn-primary:hover {
  background: #e02020;
  border-color: #e02020;
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #017439; /* Brand color */
  border: 2px solid #ffffff;
}

.page-about__btn-secondary:hover {
  background: #f0f0f0;
  border-color: #f0f0f0;
}

/* Content Sections */
.page-about__content-section,
.page-about__features-section,
.page-about__why-choose-us-section,
.page-about__cta-section,
.page-about__commitment-section {
  padding: 60px 0;
}

.page-about__content-section,
.page-about__why-choose-us-section,
.page-about__commitment-section {
  background: #ffffff; /* Light background */
  color: #333333;
}

.page-about__features-section,
.page-about__cta-section {
  background: #017439; /* Dark background */
  color: #ffffff;
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #017439; /* Brand color for titles on light background */
}

.page-about__section-title--white {
  color: #ffffff; /* White color for titles on dark background */
}

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

.page-about__text-block--white {
  color: #f0f0f0;
}

.page-about__image-content {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

/* Features Grid */
.page-about__features-grid,
.page-about__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__feature-card,
.page-about__advantage-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  color: #ffffff;
}

.page-about__advantage-item {
  background: #ffffff;
  color: #333333;
  border: 1px solid #e0e0e0;
}

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

.page-about__feature-title,
.page-about__advantage-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFFF00; /* Highlight feature titles */
}

.page-about__advantage-title {
  color: #017439; /* Brand color for advantage titles */
}

.page-about__feature-description,
.page-about__advantage-description {
  font-size: 1rem;
  line-height: 1.5;
}

/* Commitment List */
.page-about__commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-about__commitment-list li {
  background: #f8f8f8;
  margin-bottom: 15px;
  padding: 20px;
  border-left: 5px solid #017439;
  border-radius: 4px;
  font-size: 1.1rem;
  line-height: 1.5;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-about__commitment-list li strong {
  color: #017439;
}

.page-about__cta-buttons--centered {
  margin-top: 40px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-about__hero-section {
    padding-top: 10px !important; /* Rely on body for header offset */
    padding-bottom: 30px;
  }

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

  .page-about__main-title {
    font-size: 2rem;
    margin-bottom: 15px;
  }

  .page-about__subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary {
    padding: 12px 20px;
    font-size: 0.9rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .page-about__text-block {
    font-size: 1rem;
  }

  .page-about__image-content {
    margin: 20px auto;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__features-grid,
  .page-about__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__feature-card,
  .page-about__advantage-item {
    padding: 20px;
  }

  .page-about__feature-title,
  .page-about__advantage-title {
    font-size: 1.3rem;
  }

  .page-about__commitment-list li {
    padding: 15px;
    font-size: 1rem;
  }

  /* Ensure all images are responsive */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }

  /* Ensure all containers with images are responsive */
  .page-about__section,
  .page-about__container,
  .page-about__hero-content-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General button container mobile adaptation */
  .page-about__cta-buttons,
  .page-about__button-group,
  .page-about__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

/* No specific guide-box or home-content-box with fixed height on About Us page, 
   so no explicit mobile rules for them based on the provided outline. 
   General section/container rules apply. */