/* style/about.css */

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

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

.page-about__section {
  padding: 60px 0;
  text-align: center;
}

.page-about__section--mission {
  background-color: #0A0A0A;
}

.page-about__section--pagcor-assurance {
  background-color: #111111; /* Card BG */
}

.page-about__section--offerings {
  background-color: #0A0A0A;
}

.page-about__section--team {
  background-color: #111111; /* Card BG */
}

.page-about__section--faq {
  background-color: #0A0A0A;
}

.page-about__dark-section {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient for CTA background */
  color: #111111; /* Dark text for contrast on bright gradient */
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__section-description {
  color: #111111; /* Dark text for contrast */
}

.page-about__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: bold;
  color: #F2C14E; /* Main color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-about__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #F2C14E; /* Main color */
  margin-bottom: 30px;
  font-weight: bold;
}

.page-about__sub-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: #FFD36B; /* Auxiliary color */
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-about__section-description,
.page-about__intro-text,
.page-about__text-block,
.page-about__feature-text,
.page-about__offering-text,
.page-about__member-bio,
.page-about__faq-answer p {
  font-size: 1.1rem;
  color: #FFF6D6; /* Text Main */
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-about__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 20px 60px; /* Small top padding, relying on body for header offset */
  overflow: hidden;
}

.page-about__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-about__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  color: #FFF6D6;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent overlay for text readability */
  padding: 40px;
  border-radius: 10px;
}

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

.page-about__btn-primary,
.page-about__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
}

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

.page-about__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

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

.page-about__btn-secondary:hover {
  background-color: #FFD36B;
  color: #111111; /* Dark text for contrast */
  box-shadow: 0 0 15px rgba(255, 211, 107, 0.7);
}

/* Mission & Vision Grid */
.page-about__grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 40px;
  padding: 20px;
  background-color: #111111; /* Card BG */
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
}

.page-about__grid-item:not(:last-child) {
  margin-bottom: 40px;
}

.page-about__grid-item .page-about__text-block {
  max-width: 700px;
  margin-bottom: 20px;
}

.page-about__image {
  width: 100%;
  height: auto;
  max-width: 800px;
  border-radius: 8px;
  margin-top: 20px;
  object-fit: cover;
}

/* PAGCOR Assurance Features Grid */
.page-about__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-about__feature-card {
  background-color: #111111; /* Card BG */
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.page-about__feature-title {
  font-size: 1.4rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-about__feature-text {
  font-size: 1rem;
  color: #FFF6D6;
}

.page-about__feature-text a {
  color: #FFD36B; /* Auxiliary color for links */
  text-decoration: underline;
}

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

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

.page-about__offering-card {
  background-color: #111111; /* Card BG */
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-about__offering-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-about__offering-title {
  font-size: 1.3rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 10px;
  font-weight: bold;
}

.page-about__offering-title a {
  color: #F2C14E;
  text-decoration: none;
}

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

.page-about__offering-text {
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-about__team-member {
  background-color: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  border: 1px solid #3A2A12; /* Border */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.page-about__team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #FFD36B; /* Auxiliary color */
}

.page-about__member-name {
  font-size: 1.5rem;
  color: #F2C14E; /* Main color */
  margin-bottom: 5px;
}

.page-about__member-role {
  font-size: 1rem;
  color: #FFD36B; /* Auxiliary color */
  margin-bottom: 10px;
}

/* FAQ Section */
.page-about__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

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

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

.page-about__faq-question:hover {
  background-color: #1a1a1a;
}

.page-about__faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #FFD36B; /* Auxiliary color */
  transition: transform 0.3s ease;
}

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

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

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

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

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

  .page-about__section-title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
  }

  .page-about__intro-text,
  .page-about__section-description,
  .page-about__text-block {
    font-size: 1rem;
  }

  .page-about__feature-card,
  .page-about__offering-card,
  .page-about__team-member {
    padding: 25px;
  }

  .page-about__offering-image {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .page-about__hero-section {
    min-height: 500px;
    padding: 10px 15px 40px;
  }

  .page-about__hero-content {
    padding: 25px;
  }

  .page-about__main-title {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
  }

  .page-about__intro-text {
    font-size: 0.95rem;
  }

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

  .page-about__btn-primary,
  .page-about__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1rem;
  }

  .page-about__section {
    padding: 40px 0;
  }

  .page-about__container {
    padding: 0 15px;
  }

  .page-about__section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 25px;
  }

  .page-about__sub-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }

  .page-about__section-description,
  .page-about__text-block,
  .page-about__feature-text,
  .page-about__offering-text,
  .page-about__member-bio,
  .page-about__faq-answer p {
    font-size: 0.95rem;
  }

  .page-about__image,
  .page-about__offering-image,
  .page-about__team-photo {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-about__grid-item,
  .page-about__feature-card,
  .page-about__offering-card,
  .page-about__team-member,
  .page-about__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-about__offering-image {
    height: 160px;
  }

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

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

  .page-about__faq-item.active .page-about__faq-answer {
    padding: 10px 20px 20px;
  }

  /* Ensure no horizontal scroll */
  .page-about__hero-section,
  .page-about__section,
  .page-about__container,
  .page-about__features-grid,
  .page-about__offerings-grid,
  .page-about__team-grid,
  .page-about__faq-list {
    overflow-x: hidden;
  }
}