/* style/about.css */

/* Base styles for the About Us page, ensuring dark background and light text for contrast */
.page-about {
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-about__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #F2C14E; /* Main color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.page-about__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

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

.page-about__hero-image-container {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-about__hero-content {
  position: relative;
  text-align: center;
  padding: 40px 20px;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px; /* Space below image */
}

.page-about__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

.page-about__tagline {
  font-size: clamp(1.1em, 2vw, 1.4em);
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-about__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for contrast */
  border: none;
}

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #FFE082 0%, #E8B42E 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-about__btn-secondary {
  background-color: transparent;
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #3A2A12; /* Border color */
}

.page-about__btn-secondary:hover {
  background-color: rgba(255, 211, 107, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.2);
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12; /* Border color */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-about__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.15);
}

.page-about__card-title {
  font-size: 1.8em;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__card-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Story Section */
.page-about__story-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__story-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.page-about__story-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid #3A2A12;
}

.page-about__text-block {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 900px;
  text-align: justify;
}

.page-about__text-block p {
  margin-bottom: 1em;
}

/* Offerings Section */
.page-about__offerings-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

.page-about__offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-about__offering-card {
  background-color: #111111;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

.page-about__offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.15);
}

.page-about__offering-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-about__offering-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__offering-text {
  font-size: 1em;
  color: #FFF6D6;
  margin-bottom: 20px;
}

.page-about__btn-link {
  color: #FFD36B;
  text-decoration: none;
  border-bottom: 2px solid #F2C14E;
  padding-bottom: 5px;
}

.page-about__btn-link:hover {
  color: #F2C14E;
  border-color: #FFD36B;
}

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

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

.page-about__commitment-item {
  background-color: #111111;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  color: #FFF6D6;
}

.page-about__commitment-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__commitment-text a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-about__commitment-text a:hover {
  color: #F2C14E;
}

/* Why Choose Section */
.page-about__why-choose-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-about__why-choose-item {
  background-color: #111111;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid #3A2A12;
  text-align: center;
  color: #FFF6D6;
}

.page-about__why-choose-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-about__why-choose-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__why-choose-text {
  font-size: 1em;
  color: #FFF6D6;
}

.page-about__why-choose-text a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-about__why-choose-text a:hover {
  color: #F2C14E;
}

/* FAQ Section */
.page-about__faq-section {
  padding: 80px 0;
  background-color: #0A0A0A;
}

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

.page-about__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #F2C14E;
  cursor: pointer;
  background-color: #111111;
  transition: background-color 0.3s ease;
}

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

.page-about__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD36B;
}

.page-about__faq-item.active .page-about__faq-toggle {
  transform: rotate(0deg);
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 1000px !important; /* Sufficiently large value */
  padding: 15px 25px;
}

.page-about__faq-answer p {
  margin-bottom: 1em;
}

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

/* Responsive Design */
@media (max-width: 992px) {
  .page-about__hero-content {
    padding: 30px 15px;
  }

  .page-about__main-title {
    font-size: clamp(2em, 4vw, 3em);
  }

  .page-about__tagline {
    font-size: clamp(1em, 1.8vw, 1.2em);
  }

  .page-about__story-content {
    flex-direction: column;
  }
}

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

  .page-about__section-title {
    font-size: 2em;
  }

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

  .page-about__hero-section {
    padding-bottom: 40px;
  }

  .page-about__hero-image-container {
    max-height: 400px;
  }

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

  .page-about__tagline {
    font-size: 1.1em !important;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary,
  .page-about__btn-link,
  .page-about a[class*="button"],
  .page-about a[class*="btn"] {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-about__story-image {
    max-width: 100%;
    height: auto;
  }

  .page-about__text-block {
    font-size: 1em;
  }

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

  .page-about__card,
  .page-about__offering-card,
  .page-about__commitment-item,
  .page-about__why-choose-item {
    padding: 20px !important;
  }

  .page-about__card-title,
  .page-about__offering-title,
  .page-about__commitment-title,
  .page-about__why-choose-title {
    font-size: 1.5em !important;
  }

  .page-about__faq-question {
    font-size: 1.1em !important;
    padding: 15px 20px !important;
  }

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 15px 20px !important;
  }
}

@media (max-width: 480px) {
  .page-about__main-title {
    font-size: 1.8em !important;
  }

  .page-about__tagline {
    font-size: 0.9em !important;
  }

  .page-about__section-title {
    font-size: 1.8em;
  }
}