/* style/about.css */

/* General styles for the about page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Main text color for dark background */
  background-color: #0D0E12; /* Overall page background */
}

/* Body padding-top is handled by shared.css, no need to add here */

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, text below */
  align-items: center;
  padding: 10px 20px 60px;
  text-align: center;
  overflow: hidden;
  background-color: #0D0E12;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-about__hero-content {
  max-width: 900px;
  z-index: 1;
}

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

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

/* CTA Button */
.page-about__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

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

.page-about__cta-button--secondary {
  background: #17191F; /* Card BG as secondary button background */
  color: #FFA53A; /* Auxiliary color for text */
  border: 2px solid #FFA53A;
  margin-left: 20px;
  box-shadow: none;
}

.page-about__cta-button--secondary:hover {
  background: #FFA53A;
  color: #17191F;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(255, 165, 58, 0.2);
}

.page-about__cta-button--centered {
  margin-left: auto;
  margin-right: auto;
  display: table; /* For centering block element with auto margins */
}

.page-about__cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}


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

.page-about__section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFA53A; /* Auxiliary color for section titles */
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 10px;
}

.page-about__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FF8C1A;
  border-radius: 2px;
}

.page-about__text-block {
  font-size: 1rem;
  color: #FFF3E6;
  margin-bottom: 20px;
  text-align: justify;
}

.page-about__text-block--centered {
  text-align: center;
}

/* Mission & Vision Section (with image) */
.page-about__mission-vision-section,
.page-about__why-choose-us-section {
  background-color: #17191F; /* Card BG for alternating sections */
  padding: 60px 0;
}

.page-about__container--reversed {
  display: flex;
  flex-direction: row-reverse; /* Image on right, text on left */
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__content-wrapper {
  flex: 1;
}

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

.page-about__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-about__value-card,
.page-about__commitment-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #A84F0C; /* Border color */
}

.page-about__value-card:hover,
.page-about__commitment-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(255, 165, 58, 0.2);
}

.page-about__value-title,
.page-about__commitment-title {
  font-size: 1.5rem;
  color: #FFA53A;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-about__value-description,
.page-about__commitment-description {
  font-size: 0.95rem;
  color: #FFF3E6;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section .page-about__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-about__feature-item {
  background-color: #0D0E12; /* Background color for list items */
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-left: 5px solid #FF8C1A;
}

.page-about__feature-title {
  font-size: 1.3rem;
  color: #FF8C1A;
  margin-bottom: 10px;
  font-weight: 600;
}

.page-about__feature-description {
  font-size: 0.9rem;
  color: #FFF3E6;
}

/* Commitment Section */
.page-about__commitment-section {
  padding: 60px 0;
  background-color: #0D0E12;
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .page-about__hero-section {
    padding-bottom: 40px;
  }
  .page-about__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-about__hero-description {
    font-size: 1rem;
  }
  .page-about__section-title {
    font-size: 2rem;
  }
  .page-about__container--reversed,
  .page-about__why-choose-us-section .page-about__container {
    flex-direction: column;
    text-align: center;
  }
  .page-about__content-wrapper {
    margin-bottom: 30px;
  }
  .page-about__image-wrapper {
    width: 100%;
  }
  .page-about__cta-button--centered {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  /* Mobile general padding */
  .page-about__container {
    padding: 20px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-about__hero-section {
    padding: 10px 15px 30px; /* Small top padding for mobile */
  }
  .page-about__main-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    margin-bottom: 15px;
  }
  .page-about__hero-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

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

  /* Image wrappers/containers */
  .page-about__image-wrapper,
  .page-about__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  /* Text blocks */
  .page-about__text-block {
    font-size: 0.9rem;
  }

  /* Grid layouts */
  .page-about__values-grid,
  .page-about__commitment-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Cards */
  .page-about__value-card,
  .page-about__commitment-item,
  .page-about__feature-item {
    padding: 20px;
  }

  .page-about__value-title,
  .page-about__commitment-title {
    font-size: 1.3rem;
  }

  .page-about__feature-title {
    font-size: 1.1rem;
  }

  /* CTA buttons */
  .page-about__cta-button,
  .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: 12px 20px !important;
    margin-left: 0 !important; /* Remove margin for single column */
  }

  .page-about__cta-buttons-wrapper {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: clamp(1.5rem, 9vw, 2rem);
  }
  .page-about__section-title {
    font-size: 1.5rem;
  }
}