/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a1a; /* Inherited from body */
}

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

.page-about__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure hero is not covered by fixed header */
    box-sizing: border-box;
}

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

.page-about__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 2;
}

.page-about__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.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;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    cursor: pointer;
    box-sizing: border-box;
}

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

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

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

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

.page-about__intro-section,
.page-about__why-choose-us,
.page-about__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Consistent dark background */
    color: #ffffff;
}

.page-about__values-section,
.page-about__commitment-section,
.page-about__cta-section {
    padding: 80px 0;
    background-color: #202020; /* Slightly lighter dark background for contrast */
    color: #ffffff;
}

.page-about__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 60px;
    color: #26A9E0; /* Brand color for titles */
    text-transform: uppercase;
    position: relative;
}

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

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0;
}

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

.page-about__value-card,
.page-about__feature-card,
.page-about__commitment-item {
    background-color: #2a2a2a; /* Card background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #ffffff;
}

.page-about__value-card:hover,
.page-about__feature-card:hover,
.page-about__commitment-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-about__value-image,
.page-about__feature-icon {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

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

.page-about__card-description {
    font-size: 1em;
    color: #e0e0e0;
}

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

.page-about__faq-item {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
    background-color: #26A9E0; /* Brand color for question background */
    border-bottom: 1px solid #1e87bb;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    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 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background-color: #333333; /* Darker background for answer */
    color: #e0e0e0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px;
}

.page-about__faq-answer p {
    margin: 0;
    padding-bottom: 10px;
}

.page-about__cta-section {
    text-align: center;
    padding: 100px 0;
    background-color: #26A9E0; /* Strong brand color background for CTA */
    color: #ffffff;
}

.page-about__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }

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

    .page-about__cta-title {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    
    .page-about__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        margin: 5px;
        width: calc(100% - 30px); /* Adjust for padding in container */
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-about__cta-section .page-about__btn-primary,
    .page-about__cta-section .page-about__btn-secondary {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
    }

    .page-about__values-grid,
    .page-about__features-grid,
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
    }
    
    .page-about__value-card,
    .page-about__feature-card,
    .page-about__commitment-item {
        padding: 20px;
    }

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

    .page-about__cta-description {
        font-size: 1em;
    }

    .page-about__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-about__faq-answer {
        padding: 15px;
    }

    /* Image responsive */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__values-section,
    .page-about__why-choose-us,
    .page-about__commitment-section,
    .page-about__faq-section,
    .page-about__cta-section,
    .page-about__container,
    .page-about__value-card,
    .page-about__feature-card,
    .page-about__commitment-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-about__hero-section { /* Special handling for hero padding-top on mobile if needed */
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-about__values-grid,
    .page-about__features-grid,
    .page-about__commitment-grid {
      gap: 20px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
      font-size: 0.9em;
    }
}