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

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

.page-about__section {
  padding: 60px 0;
}

.page-about__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #E53935; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.page-about__section-title--light {
  color: #ffffff;
}

.page-about__sub-title {
  font-size: 1.8em;
  font-weight: 600;
  color: #E53935;
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-about__text-block {
  font-size: 1em;
  margin-bottom: 20px;
  color: #333333;
}

.page-about__text-block--light {
  color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding as per rule */
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #F5F7FA;
  text-align: center;
}

.page-about__hero-image {
  width: 100%;
  max-width: 1920px; /* Match requested image size */
  overflow: hidden;
}

.page-about__hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.page-about__hero-content {
  max-width: 900px;
  padding: 40px 20px;
}

.page-about__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Use clamp for H1 font size */
  font-weight: 800;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-about__description {
  font-size: 1.2em;
  color: #333333;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-about__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* Button styles */
.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-tertiary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow text to break words */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: 2px solid transparent;
}

.page-about__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-about__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-about__btn-secondary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-about__btn-tertiary {
  background: none;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-about__btn-tertiary:hover {
  background: #E53935;
  color: #ffffff;
}

.page-about__cta-buttons--center {
  justify-content: center;
}

/* Two-column content layout */
.page-about__content-two-columns {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
}

.page-about__content-two-columns--reversed {
  flex-direction: row-reverse;
}

.page-about__column {
  flex: 1;
  min-width: 300px; /* Ensure columns don't get too small */
}

.page-about__column--image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Values Section */
.page-about__values-section {
  background-color: #E53935; /* Dark brand color background */
  color: #ffffff;
  padding: 80px 0;
}

.page-about__values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-about__value-item {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__value-item img {
  width: 100%; /* Ensure images fill their container */
   /* Max size for value icons */
  height: auto;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 5px; /* Slightly rounded corners for value images */
}

.page-about__value-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.page-about__value-description {
  font-size: 0.95em;
  color: #f0f0f0;
}

/* Why Choose Section (Feature List) */
.page-about__feature-list {
  list-style: none;
  padding: 0;
}

.page-about__feature-item {
  background-color: #ffffff; /* Card BG */
  border-left: 5px solid #E53935;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__feature-title {
  font-size: 1.4em;
  font-weight: 700;
  color: #E53935;
  margin-bottom: 10px;
}

.page-about__feature-description {
  font-size: 1em;
  color: #333333;
}

/* Social Responsibility Section */
.page-about__social-responsibility-section {
  background-color: #F5F7FA; /* Light background */
}

.page-about__responsibility-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.page-about__responsibility-item {
  margin-bottom: 10px;
  font-size: 1em;
  color: #333333;
}

.page-about__responsibility-item strong {
  color: #E53935; /* Highlight keywords */
}

/* Bottom CTA Section */
.page-about__cta-bottom-section {
  background-color: #E53935;
  color: #ffffff;
  text-align: center;
  padding: 80px 0;
}

/* General image and container responsiveness */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-about {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__section-title {
    font-size: 2em;
    margin-bottom: 20px;
  }

  .page-about__sub-title {
    font-size: 1.5em;
  }

  /* Hero Section Mobile */
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }
  
  .page-about__hero-image img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-about__main-title {
    font-size: 2.2em;
  }

  .page-about__description {
    font-size: 1em;
  }

  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 10px;
    padding: 0 15px; /* Add padding to button container */
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-tertiary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Two-column content Mobile */
  .page-about__content-two-columns {
    flex-direction: column; /* Stack columns vertically */
    gap: 30px;
  }

  .page-about__column {
    min-width: unset; /* Remove min-width for mobile */
    width: 100%;
  }

  /* Values Section Mobile */
  .page-about__values-grid {
    grid-template-columns: 1fr; /* Single column for values */
    gap: 20px;
  }

  .page-about__value-item {
    padding: 25px;
  }

  /* Feature List Mobile */
  .page-about__feature-item {
    padding: 15px;
  }

  .page-about__feature-title {
    font-size: 1.2em;
  }

  /* General image and container responsiveness for mobile */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-content,
  .page-about__column,
  .page-about__value-item,
  .page-about__feature-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-about__hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-about__content-two-columns .page-about__column {
    padding-left: 0;
    padding-right: 0;
  }
  
  .page-about__cta-bottom-section .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
  }
}