/* 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 */
}

.page-about__section-spacing {
  padding: 80px 0;
}

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

.page-about__section-title {
  font-size: 2.8em;
  color: #FFB04D; /* Glow */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-about__sub-title {
  font-size: 1.8em;
  color: #FF8C1A; /* Primary color */
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-about p {
  margin-bottom: 15px;
  font-size: 1.1em;
}

.page-about__text-center {
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  overflow: hidden;
  background-color: #0D0E12;
}

.page-about__hero-image-wrapper {
  width: 100%;
  max-width: 100%; /* Ensure it doesn't overflow */
  margin-bottom: 30px;
  box-sizing: border-box;
  overflow: hidden;
}

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

.page-about__hero-content {
  max-width: 800px;
  z-index: 1;
  color: #FFF3E6;
  padding: 20px;
  box-sizing: border-box;
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Using clamp for H1 */
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFB04D; /* Glow */
}

.page-about__description {
  font-size: 1.2em;
  margin-bottom: 30px;
}

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

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
  color: #ffffff;
  border: 2px solid transparent;
  margin: 10px;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

.page-about__btn-secondary {
  background: transparent;
  color: #FF8C1A; /* Primary color */
  border: 2px solid #FF8C1A; /* Border color */
  margin: 10px;
}

.page-about__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #ffffff;
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  background-color: #0D0E12; /* Background */
}

.page-about__content-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-about__text-block {
  flex: 1;
}

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

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

/* Core Values Section */
.page-about__dark-section {
  background-color: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}

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

.page-about__value-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.page-about__value-card:hover {
  transform: translateY(-10px);
}

.page-about__value-title {
  font-size: 1.5em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
}

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

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

.page-about__team-member-card {
  background-color: #17191F; /* Card BG */
  padding: 25px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid #A84F0C; /* Border color */
}

.page-about__team-member-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 3px solid #FF8C1A; /* Primary color */
}

.page-about__member-name {
  font-size: 1.4em;
  color: #FFB04D; /* Glow */
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 1em;
  color: #FFA53A; /* Auxiliary color */
  margin-bottom: 15px;
}

.page-about__member-description {
  font-size: 0.95em;
  color: #FFF3E6;
}

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

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

.page-about__commitment-item {
  background-color: #17191F; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #A84F0C; /* Border color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-title {
  font-size: 1.5em;
  color: #FFB04D; /* Glow */
  margin-bottom: 15px;
}

.page-about__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

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

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

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

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.15em;
  color: #FFB04D; /* Glow */
  background-color: rgba(255, 255, 255, 0.05);
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

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

.page-about__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-about__faq-qtext {
  flex-grow: 1;
}

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #FFA53A; /* Auxiliary color */
}

.page-about__faq-item[open] .page-about__faq-toggle {
  content: "−"; /* Change to minus when open */
}

.page-about__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #FFF3E6;
}

/* Contact Section */
.page-about__contact-section {
  background-color: #17191F; /* Card BG */
}

.page-about__contact-content {
  text-align: center;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-about__section-title {
    font-size: 2.2em;
  }
  .page-about__hero-content {
    padding: 15px;
  }
  .page-about__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }
  .page-about__description {
    font-size: 1.1em;
  }
  .page-about__content-grid {
    flex-direction: column;
  }
  .page-about__image-block {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .page-about__section-spacing {
    padding: 50px 0;
  }
  .page-about__container {
    padding: 0 15px;
  }
  .page-about__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-about__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding */
  }
  .page-about__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-about__description {
    font-size: 1em;
    margin-bottom: 25px;
  }
  .page-about p {
    font-size: 1em;
  }
  .page-about__sub-title {
    font-size: 1.5em;
  }
  .page-about__value-card,
  .page-about__team-member-card,
  .page-about__commitment-item {
    padding: 20px;
  }
  .page-about__value-title,
  .page-about__commitment-title {
    font-size: 1.3em;
  }
  .page-about__btn-primary,
  .page-about__btn-secondary {
    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;
    margin: 10px 0 !important; /* Adjust margin for vertical stack */
  }
  .page-about__contact-buttons {
    flex-direction: column;
    gap: 15px;
  }

  /* Mobile image responsiveness */
  .page-about img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-about__section,
  .page-about__card,
  .page-about__container,
  .page-about__hero-image-wrapper,
  .page-about__video-section, /* Added for safety, though no video is here */
  .page-about__video-container, /* Added for safety */
  .page-about__video-wrapper, /* Added for safety */
  .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;
    overflow: hidden !important; /* Ensure no overflow */
  }
  .page-about__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-about__faq-answer {
    padding: 0 20px 15px;
  }
}