/* style/about.css */

/* Variables (from shared.css or defined here for clarity, assuming shared.css defines them) */
:root {
    --primary-color: #FF4500; /* OrangeRed */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
    --background-dark: #0d0d0d; /* Assuming --dark-bg from shared.css is dark */
    --border-color: #e0e0e0;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Assuming body background is dark */
    background-color: var(--background-dark); /* Ensure main content area respects body bg */
    padding-top: 120px; /* Desktop: Spacing for fixed header */
}

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

.page-about__main-title,
.page-about__section-title {
    color: var(--secondary-color); /* Use gold for titles for contrast on dark background */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__main-title {
    font-size: 3.2em;
    margin-top: 0;
    color: var(--text-light); /* Main title can be white for better readability on dark hero */
}

.page-about__section-title {
    font-size: 2.5em;
    color: var(--secondary-color); /* Gold for section titles */
}

.page-about__intro-text,
.page-about__description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: #f0f0f0; /* Lighter white for body text */
}

.page-about__hero-intro {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--background-dark)); /* Blend primary color with dark background */
    text-align: center;
}

.page-about__intro-image {
    margin-top: 30px;
}

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

.page-about__mission-vision,
.page-about__core-values,
.page-about__our-story,
.page-about__our-team,
.page-about__faq-section,
.page-about__call-to-action {
    padding: 60px 0;
}

.page-about__mission-vision {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.page-about__card {
    background-color: #ffffff; /* White card background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-dark); /* Dark text on white card */
}

.page-about__card-title {
    font-size: 1.8em;
    color: var(--primary-color); /* Primary color for card titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card p {
    font-size: 1em;
    color: var(--text-dark);
}

.page-about__core-values {
    background-color: var(--background-dark); /* Dark background */
}

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

.page-about__value-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly lighter dark background for value items */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-light); /* Light text on dark background */
}

.page-about__value-title {
    font-size: 1.5em;
    color: var(--secondary-color); /* Gold for value titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__value-item p {
    font-size: 1em;
    color: #f0f0f0;
}

.page-about__cta-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__cta-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0;
}

.page-about__cta-link {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__cta-link:hover {
    color: var(--primary-color);
}

.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.1em;
    margin: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-about__btn-primary:hover {
    background-color: #e63900; /* Darker primary */
    border-color: #e63900;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-about__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-about__our-story {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-about__story-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    color: #f0f0f0;
    font-size: 1.05em;
}

.page-about__story-content p {
    text-align: justify;
    margin-bottom: 15px;
}

.page-about__story-image {
    margin-top: 30px;
    text-align: center;
}

.page-about__our-team {
    background-color: var(--background-dark); /* Dark 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 {
    background-color: #ffffff; /* White card background */
    padding: 25px;
    text-align: center;
    color: var(--text-dark); /* Dark text on white card */
}

.page-about__member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 4px solid var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__member-name {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: bold;
}

.page-about__member-role {
    font-size: 1em;
    color: #666666;
    margin-bottom: 15px;
}

.page-about__member-bio {
    font-size: 0.95em;
    color: #555555;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter dark background */
}

.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-about__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
  max-height: 2000px !important; /* Ensure it expands fully */
  padding: 20px 15px !important;
  opacity: 1;
  background: rgba(255, 255, 255, 0.1); /* Lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #f0f0f0; /* Light text for answer */
}

.page-about__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.08); /* Darker background for question */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

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

.page-about__faq-question:active {
  background: rgba(255, 255, 255, 0.15);
}

.page-about__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--secondary-color); /* Gold for FAQ questions */
}

.page-about__faq-toggle {
  font-size: 28px; /* Slightly larger toggle for better visibility */
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Primary color for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; /* Increased size */
  height: 32px; /* Increased size */
}

.page-about__faq-item.active .page-about__faq-toggle {
  color: var(--secondary-color); /* Gold when active */
  transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-about__faq-answer p a {
    color: var(--secondary-color); /* Gold for links in FAQ answers */
    text-decoration: underline;
}

.page-about__faq-answer p a:hover {
    color: var(--primary-color);
}

.page-about__call-to-action {
    background: linear-gradient(135deg, var(--background-dark), var(--primary-color));
    padding: 80px 0;
    text-align: center;
}

.page-about__call-to-action .page-about__section-title {
    color: var(--text-light); /* White title on call to action section */
}

.page-about__call-to-action .page-about__description {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__intro-text,
    .page-about__description {
        font-size: 1em;
    }
    .page-about__card-title {
        font-size: 1.6em;
    }
    .page-about__value-title {
        font-size: 1.3em;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__btn-large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: 100px !important; /* Mobile: Spacing for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__main-title {
        font-size: 2.2em;
        margin-bottom: 25px;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__intro-text,
    .page-about__description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-about__content-grid,
    .page-about__values-grid,
    .page-about__team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__card,
    .page-about__value-item,
    .page-about__team-member {
        padding: 25px;
    }

    .page-about__card-title {
        font-size: 1.4em;
    }
    .page-about__value-title {
        font-size: 1.2em;
    }
    .page-about__member-name {
        font-size: 1.3em;
    }
    .page-about__member-photo {
        width: 120px;
        height: 120px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100%;
        margin: 10px 0;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-about__btn-large {
        padding: 14px 25px;
        font-size: 1.1em;
    }

    /* Images responsive */
    .page-about img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-about__hero-intro,
    .page-about__mission-vision,
    .page-about__core-values,
    .page-about__our-story,
    .page-about__our-team,
    .page-about__faq-section,
    .page-about__call-to-action {
        padding: 40px 0;
    }

    .page-about__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-about__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-about__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-about__faq-answer {
        padding: 0 15px;
    }
    
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px !important;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__card-title {
        font-size: 1.2em;
    }
    .page-about__value-title {
        font-size: 1.1em;
    }
    .page-about__member-name {
        font-size: 1.2em;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        font-size: 0.9em;
        padding: 10px 15px;
    }
    .page-about__btn-large {
        font-size: 1em;
        padding: 12px 20px;
    }
    .page-about__faq-question h3 {
        font-size: 15px;
    }
    .page-about__faq-toggle {
        font-size: 22px;
        width: 26px;
        height: 26px;
    }
}