/* style/about.css */

/* Base Styles & Typography */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark background */
    background-color: var(--dark-bg-1); /* Inherit from shared */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-about__description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
}

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

.page-about__hero-section .page-about__container {
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* CTA Group */
.page-about__cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

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

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

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

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

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

/* Intro Section */
.page-about__intro-section,
.page-about__journey-section,
.page-about__commitment-section,
.page-about__cta-bottom-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__content-grid--reverse {
    grid-template-columns: 1fr 1fr;
}

.page-about__content-grid--reverse .page-about__text-block {
    order: 2;
}

.page-about__content-grid--reverse .page-about__image {
    order: 1;
}

.page-about__text-block p {
    margin-bottom: 15px;
    font-size: 1.05em;
    color: #f0f0f0;
}

.page-about__image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Values Section */
.page-about__values-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

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

.page-about__value-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly visible on dark bg */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__value-card:hover {
    transform: translateY(-10px);
    background-color: rgba(38, 169, 224, 0.2); /* Subtle hover effect with brand color */
}

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

.page-about__value-card p {
    font-size: 1em;
    color: #e0e0e0;
}

/* Why Choose Section */
.page-about__why-choose-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(38, 169, 224, 0.2);
}

.page-about__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%; /* Ensure icons are round or fit style */
    background-color: rgba(255, 255, 255, 0.1);
    padding: 15px;
}

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

.page-about__feature-card p {
    font-size: 0.95em;
    color: #e0e0e0;
}

/* Commitment Section */
.page-about__commitment-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 40px auto;
    max-width: 800px;
    text-align: left;
}

.page-about__commitment-list li {
    background-color: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1.1em;
    color: #f0f0f0;
    border-left: 5px solid #26A9E0;
}

.page-about__commitment-list li strong {
    color: #26A9E0;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-1);
}

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

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(38, 169, 224, 0.3);
}

.page-about__faq-title {
    font-size: 1.25em;
    color: #ffffff;
    margin: 0;
}

.page-about__faq-toggle {
    font-size: 1.8em;
    color: #26A9E0;
    font-weight: bold;
    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;
}

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

.page-about__faq-answer p {
    margin: 0;
    color: #e0e0e0;
    font-size: 1em;
}

/* CTA Bottom Section */
.page-about__cta-bottom-section {
    padding: 60px 0;
    text-align: center;
    background-color: var(--dark-bg-1);
}

.page-about__cta-bottom-section .page-about__section-title {
    font-size: 2.2em;
}

.page-about__cta-bottom-section .page-about__description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Copyright */
.page-about__copyright-section {
    background-color: #1a1a1a; /* Darker background for footer-like section */
    padding: 25px 20px;
    text-align: center;
    color: #cccccc;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__content-grid {
        gap: 40px;
    }
    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        padding: 80px 0;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__cta-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .page-about__content-grid--reverse .page-about__text-block {
        order: initial;
    }
    .page-about__content-grid--reverse .page-about__image {
        order: initial;
    }
    .page-about__values-grid,
    .page-about__features-grid {
        grid-template-columns: 1fr;
    }
    .page-about__value-card,
    .page-about__feature-card {
        padding: 25px;
    }
    .page-about__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-about__faq-question {
        padding: 15px 20px;
    }
    .page-about__faq-title {
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        padding: 0 20px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 10px 20px;
        padding-top: 0;
    }
    /* Mobile image responsive adaptation */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .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__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-bottom-section .page-about__cta-group {
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-about__cta-bottom-section .page-about__btn-primary,
    .page-about__cta-bottom-section .page-about__btn-secondary {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.6em;
    }
    .page-about__value-title,
    .page-about__feature-title {
        font-size: 1.3em;
    }
    .page-about__faq-title {
        font-size: 1em;
    }
}

/* Color Contrast Safeguards */
.page-about__dark-section {
    background-color: var(--dark-bg-1);
    color: #ffffff;
}

.page-about__dark-bg {
    background-color: var(--dark-bg-1);
    color: #ffffff;
}

.page-about__card {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.page-about p,
.page-about li {
    color: #f0f0f0;
}

.page-about__cta-group a[class*="btn"] {
    background-color: #26A9E0; /* Primary button background */
    color: #ffffff; /* Primary button text */
}

.page-about__cta-group a[class*="btn"]:hover {
    background-color: #1e87c0; /* Darker on hover */
}

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

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