/* style/about.css */

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

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

.page-about__section-title {
  font-size: 2.5em;
  color: #E53935;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #f5f7fa;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 30px;
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__hero-content {
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
}

.page-about__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: #E53935;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.page-about__hero-description {
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 30px;
}

/* Intro Section */
.page-about__intro-section {
  padding: 80px 0;
  background-color: #F5F7FA; /* Use custom background color */
}

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

/* Values Section */
.page-about__values-section {
  padding: 80px 0;
  background: #E53935; /* Brand primary color for dark section */
  color: #ffffff; /* White text for dark background */
}

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

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

.page-about__value-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__value-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #FF5A4F;
  font-weight: 600;
}

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

/* Benefits Section */
.page-about__benefits-section {
  padding: 80px 0;
  background-color: #F5F7FA; /* Use custom background color */
}

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

.page-about__benefit-item {
  background: #FFFFFF; /* Card background color */
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  border: 1px solid #E0E0E0; /* Border color */
}

.page-about__benefit-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 6px;
}

.page-about__benefit-title {
  font-size: 1.3em;
  color: #E53935;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__benefit-description {
  font-size: 0.9em;
  color: #333333;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 80px 0;
  background: #E53935; /* Brand primary color for dark section */
  color: #ffffff; /* White text for dark background */
  text-align: center;
}

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

.page-about__commitment-section .page-about__text-block {
  color: #f0f0f0;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
}

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

.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: #f0f0f0;
  color: #E53935;
  transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__section-title {
    font-size: 2em;
  }

  .page-about__hero-content {
    max-width: 700px;
  }

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

  .page-about__hero-description {
    font-size: 1em;
  }

  .page-about__values-grid,
  .page-about__benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

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

  .page-about__container {
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-about__hero-section {
    padding: 40px 0;
    padding-top: 10px !important; /* body handles header offset */
  }

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

  .page-about__main-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-about__hero-description {
    font-size: 0.95em;
    margin-bottom: 25px;
  }

  .page-about__intro-section,
  .page-about__values-section,
  .page-about__benefits-section,
  .page-about__commitment-section {
    padding: 50px 0;
  }

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

  .page-about__value-card,
  .page-about__benefit-item {
    padding: 20px;
  }

  .page-about__value-title {
    font-size: 1.3em;
  }

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

  .page-about__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    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;
  }

  /* Image responsive overrides */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__hero-image-wrapper,
  .page-about__benefit-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}