/* style/about.css */
:root {
    --primary-color: #007bff;
    --secondary-color: #28a745;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark-card: rgba(255, 255, 255, 0.1);
    --border-light: #e0e0e0;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    padding-top: 120px; /* Adjusted for fixed header on desktop */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker blue gradient */
    color: var(--text-light);
    padding-top: 180px; /* Desktop: Ensures content is below fixed nav */
    padding-bottom: 80px;
}

.page-about__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-about__main-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-about__hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
    background: #218838; /* Darker green */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

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

.page-about__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.page-about__mission-vision-section {
    background: var(--bg-light);
    color: var(--text-dark);
}

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

.page-about__card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-about__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

.page-about__core-values-section {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-about__core-values-section .page-about__section-title {
    color: var(--text-light);
}

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

.page-about__dark-card {
    background: var(--bg-dark-card);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__dark-card .page-about__value-title {
    color: var(--text-light);
}

.page-about__dark-card .page-about__value-text {
    color: var(--text-light);
}

.page-about__value-icon {
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
    filter: brightness(1.2); /* Slightly brighten icons for dark background */
}

.page-about__value-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-about__value-text {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-about__why-choose-us-section {
    background: #ffffff;
    color: var(--text-dark);
}

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

.page-about__team-section {
    background: #343a40; /* Darker background for team section */
    color: var(--text-light);
    padding: 60px 0;
}

.page-about__team-section .page-about__section-title {
    color: var(--text-light);
}

.page-about__team-intro {
    text-align: center;
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-light);
}

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

.page-about__member-card {
    background: rgba(255, 255, 255, 0.08); /* Slightly lighter dark card */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--text-light);
}

.page-about__member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 4px solid var(--secondary-color);
}

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

.page-about__member-role {
    font-size: 1em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-about__member-bio {
    font-size: 0.9em;
    line-height: 1.6;
    color: var(--text-light);
}

.page-about__faq-section {
    background: var(--bg-light);
    padding: 60px 0;
    color: var(--text-dark);
}

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

.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;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-dark);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    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: #f5f5f5;
    border-color: #d0d0d0;
}

.page-about__faq-question:active {
    background: #eeeeee;
}

.page-about__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-dark);
}

.page-about__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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: 28px;
    height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change '+' to 'x' visually */
}

.page-about__faq-answer p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-about__faq-answer p a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__card-title {
        font-size: 1.3em;
    }
    .page-about__value-title {
        font-size: 1.2em;
    }
    .page-about__member-name {
        font-size: 1.2em;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: 100px; /* Mobile: Adjusted for fixed header */
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        padding-top: 160px !important; /* Mobile: Ensures content is below fixed nav */
        padding-bottom: 60px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__main-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-about__container {
        padding: 30px 15px;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-about__grid-container, .page-about__values-grid, .page-about__why-grid, .page-about__team-members {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__card, .page-about__member-card {
        padding: 20px;
    }
    .page-about__image, .page-about__value-icon, .page-about__member-photo {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    .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;
    }
    .page-about__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-about__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-about__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-about__faq-answer {
        padding: 0 15px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px !important;
    }
}