/* style/about.css */
.page-about {
    color: #ffffff; /* Body background is dark, so text should be light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.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;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: #0a0a0a;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px;
}

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

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0;
    letter-spacing: -0.03em;
}

.page-about__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__section {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-about__dark-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

.page-about__introduction-section .page-about__image {
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #26A9E0;
}

.page-about__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

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

.page-about__feature-card,
.page-about__product-card,
.page-about__commitment-item {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
}

.page-about__card-title,
.page-about__item-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-about__card-text,
.page-about__item-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-about__product-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px; /* Enforce min size */
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-sizing: border-box;
    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: #1e87b0;
    border-color: #1e87b0;
}

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

.page-about__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87b0;
}

.page-about__btn-link {
    background: none;
    color: #26A9E0;
    border: 1px solid #26A9E0;
    padding: 8px 15px;
}

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

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
    width: 100%; /* Ensure container takes full width for mobile adaptation */
    max-width: 100%;
    overflow: hidden;
}

.page-about__team-section .page-about__image {
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

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

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-about__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #26A9E0;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: #ffffff;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−';
}

.page-about__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1rem;
    line-height: 1.5;
    color: #f0f0f0;
}

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

.page-about__faq-answer .page-about__btn-link {
    margin-top: 10px;
}

/* Ensure content images are at least 200px */
.page-about__introduction-section .page-about__image,
.page-about__team-section .page-about__image {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

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

    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-about__main-title {
        font-size: 2rem; /* Adjusted for smaller screens */
    }

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

    .page-about__section {
        padding: 50px 0;
    }

    .page-about__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-about__features-grid,
    .page-about__products-grid,
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__feature-card,
    .page-about__product-card,
    .page-about__commitment-item {
        padding: 20px;
    }

    .page-about__card-title,
    .page-about__item-title {
        font-size: 1.3rem;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile image adaptation */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__hero-image,
    .page-about__introduction-section .page-about__image,
    .page-about__product-image,
    .page-about__team-section .page-about__image {
        min-width: unset !important; /* Allow smaller images on mobile if needed by layout, but still respect max-width */
        min-height: unset !important;
    }

    .page-about__faq-item summary {
        font-size: 1rem;
        padding: 15px;
    }

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