/* style/about.css */

/* Base styles for the page content */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a1a; /* Inherited from shared.css, explicitly set for clarity */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-about__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)); /* Dark overlay for text readability */
    z-index: 1;
}

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

.page-about__container {
    position: relative;
    z-index: 2;
}

.page-about__main-title {
    font-size: 3.5em;
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__intro-text {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Styles */
.page-about__content-section {
    padding: 60px 0;
}

.page-about__dark-bg {
    background-color: #1a1a1a;
    color: #ffffff;
}

.page-about__light-bg {
    background-color: #f5f5f5;
    color: #333333;
}

.page-about__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 50px;
    color: #26A9E0;
}

.page-about__section-title--white {
    color: #ffffff;
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

/* Mission & Vision Grid */
.page-about__mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__image-right {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Values Grid */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-about__card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page-about__card--dark {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-about__card-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-about__card p {
    font-size: 1em;
}

.page-about__image-center {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    grid-column: 1 / -1;
    margin-top: 40px;
}

/* History Timeline */
.page-about__history-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.page-about__timeline-item {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 5px solid #26A9E0;
}

.page-about__timeline-year {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-about__timeline-item p {
    font-size: 1em;
}

.page-about__image-left {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    grid-column: 1 / -1;
    margin-top: 40px;
}

/* CTA Section */
.page-about__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-text {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-about__btn-primary:hover {
    background-color: #1e87b8;
    border-color: #1e87b8;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-about__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
}

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

.page-about__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    color: #333333;
}

.page-about__faq-item summary {
    list-style: none;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #26A9E0;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #26A9E0;
}

.page-about__faq-answer {
    padding: 0 20px 20px;
    font-size: 1.1em;
    color: #555555;
}

/* Contact CTA Section */
.page-about__contact-cta {
    padding: 80px 0;
    text-align: center;
}

.page-about__contact-text {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__main-title {
        font-size: 2.8em;
    }

    .page-about__intro-text {
        font-size: 1.1em;
    }

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

    .page-about__mission-vision-grid,
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }

    .page-about__image-right,
    .page-about__image-center,
    .page-about__image-left {
        margin-top: 20px;
    }

    .page-about__history-timeline {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important;
    }

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

    .page-about__intro-text {
        font-size: 1em;
    }

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

    .page-about__sub-title {
        font-size: 1.5em;
    }

    .page-about__card-title {
        font-size: 1.3em;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Enforce responsive images */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Enforce responsive buttons */
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        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;
    }

    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

/* Ensure images meet minimum size requirements for content display */
.page-about img:not(.page-about__hero-image) {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filter allowed for images */
.page-about img {
    filter: none !important;
}