/* style/about.css */

/* Base styles for the About Us page */
.page-about {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF3E6; /* Text Main */
  background-color: #0D0E12; /* Background */
}

/* Section padding and container */
.page-about__section {
  padding: 40px 0;
}

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

/* Titles */
.page-about__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
  font-weight: bold;
  color: #FF8C1A; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: bold;
  color: #FFB04D; /* Glow color */
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-about__card-title,
.page-about__value-title,
.page-about__feature-title,
.page-about__achievement-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Text blocks */
.page-about__text-block {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

/* Links */
.page-about a {
  color: #FFB04D; /* Glow color for links */
  text-decoration: none;
}

.page-about a:hover {
  text-decoration: underline;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  white-space: normal; /* For responsive buttons */
  word-wrap: break-word; /* For responsive buttons */
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff; /* White text for contrast */
  border: none;
}

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

.page-about__btn-secondary {
  background: transparent;
  color: #FFA53A; /* Auxiliary color */
  border: 2px solid #FFA53A; /* Border color */
}

.page-about__btn-secondary:hover {
  background: #FFA53A;
  color: #0D0E12; /* Dark background color for text on hover */
}

/* Hero Section */
.page-about__hero-section {
  padding-top: 10px; /* Small top padding, assuming body has header offset */
  background-color: #0D0E12; /* Background */
  text-align: center;
  display: flex;
  flex-direction: column; /* Image first, then content */
  align-items: center;
}

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

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

.page-about__hero-content {
  max-width: 900px;
  padding: 0 15px;
  margin-bottom: 40px;
}

.page-about__hero-description {
  font-size: 1.2rem;
  color: #FFF3E6; /* Text Main */
  margin-bottom: 30px;
}

/* Intro Section */
.page-about__intro-section {
  background-color: #0D0E12; /* Background */
}

/* History & Mission Section */
.page-about__history-mission-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 0;
}

.page-about__grid-two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: flex-start;
}

.page-about__content-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  height: 100%; /* Ensure cards stretch to equal height */
  display: flex;
  flex-direction: column;
}

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

/* Values Section */
.page-about__values-section {
  background-color: #0D0E12; /* Background */
  padding: 60px 0;
}

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

.page-about__value-item {
  text-align: center;
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
}

.page-about__value-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Why Choose Us Section */
.page-about__why-choose-us {
  background-color: #17191F; /* Card BG */
  padding: 60px 0;
}

.page-about__feature-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.page-about__feature-item {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  height: 100%;
}

.page-about__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  width: 100%; /* For responsive buttons */
  max-width: 100%; /* For responsive buttons */
  box-sizing: border-box; /* For responsive buttons */
  overflow: hidden; /* For responsive buttons */
}

/* Team & Commitment Section */
.page-about__team-commitment-section {
  background-color: #0D0E12; /* Background */
  padding: 60px 0;
}

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

.page-about__commitment-list li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #FFF3E6; /* Text Main */
}

.page-about__commitment-list li::before {
  content: '✓';
  color: #FFA53A; /* Auxiliary color */
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Achievements Section */
.page-about__achievements-section {
  background-color: #17191F; /* Card BG */
  padding: 60px 0;
}

.page-about__achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.page-about__achievement-card {
  background-color: #0D0E12; /* Background */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  height: 100%;
}

/* FAQ Section */
.page-about__faq-section {
  background-color: #0D0E12; /* Background */
  padding: 60px 0;
}

.page-about__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
}

.page-about__faq-item {
  background-color: #17191F; /* Card BG */
  border: 1px solid #A84F0C; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary color */
  background-color: #17191F; /* Card BG */
  list-style: none; /* Hide default marker for details summary */
  position: relative;
}

.page-about__faq-question::-webkit-details-marker {
  display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-qtext {
  flex-grow: 1;
  font-size: 1.15rem;
}

.page-about__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  margin-left: 15px;
  transition: transform 0.3s ease;
  color: #FFB04D; /* Glow color */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-about__faq-answer {
  padding: 0 25px 20px 25px;
  color: #FFF3E6; /* Text Main */
  font-size: 1rem;
  line-height: 1.7;
}

.page-about__faq-answer p:last-child {
  margin-bottom: 0;
}


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

.page-about__cta-bottom-content {
  max-width: 800px;
}

.page-about__cta-bottom-section .page-about__section-title {
  color: #0D0E12; /* Dark background color for text on main color background */
  margin-bottom: 25px;
}

.page-about__cta-bottom-section .page-about__text-block {
  color: #0D0E12; /* Dark background color for text on main color background */
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.page-about__cta-bottom-section .page-about__btn-primary {
  background: #0D0E12; /* Dark background for button */
  color: #FF8C1A; /* Main color for text */
}

.page-about__cta-bottom-section .page-about__btn-primary:hover {
  background: rgba(13, 14, 18, 0.8);
  color: #FFA53A; /* Auxiliary color on hover */
}

/* Global image responsiveness (as per requirements) */
.page-about img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

  /* HERO Section */
  .page-about__hero-section {
    padding-top: 10px; /* Small top padding for mobile */
  }

  .page-about__hero-content {
    padding: 0 10px;
  }

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

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

  /* General section titles */
  .page-about__section-title {
    font-size: 1.8rem;
  }

  /* Grid layouts to single column */
  .page-about__grid-two-columns,
  .page-about__values-grid,
  .page-about__feature-list,
  .page-about__achievements-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-about__content-card,
  .page-about__value-item,
  .page-about__feature-item,
  .page-about__achievement-card {
    padding: 20px;
  }

  .page-about__value-icon {
    width: 80px;
    height: 80px;
  }

  /* Buttons and button containers */
  .page-about__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding: 0 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;
  }

  .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;
  }

  /* General images and containers */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  /* FAQ section */
  .page-about__faq-list {
    margin-top: 20px;
  }

  .page-about__faq-question {
    padding: 15px 20px;
  }

  .page-about__faq-qtext {
    font-size: 1rem;
  }

  .page-about__faq-toggle {
    font-size: 1.5rem;
  }

  .page-about__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Bottom CTA section */
  .page-about__cta-bottom-section .page-about__section-title {
    font-size: 1.6rem;
  }
}

/* Mobile Responsiveness (max-width: 480px) - further refinements if needed */
@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8rem;
  }
  .page-about__section-title {
    font-size: 1.5rem;
  }
  .page-about__card-title,
  .page-about__value-title,
  .page-about__feature-title,
  .page-about__achievement-title {
    font-size: 1.2rem;
  }
  .page-about__hero-description {
    font-size: 0.95rem;
  }
  .page-about__text-block {
    font-size: 0.9rem;
  }
}