/* style/about.css */

/* Base styles */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Assuming body background is light */
}

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

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

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

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

.page-about__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__paragraph--white {
    color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    background-color: #26A9E0; /* Brand primary color for dark background */
    color: #ffffff;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

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

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    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: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

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

/* Dark Section */
.page-about__dark-section {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Feature Grid */
.page-about__feature-grid,
.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-about__feature-card,
.page-about__commitment-item {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.page-about__feature-card:hover,
.page-about__commitment-item:hover {
    transform: translateY(-10px);
}

.page-about__feature-image,
.page-about__commitment-icon {
    width: 100%;
    height: auto;
    max-width: 400px; /* Adjust max-width to ensure image is not too small or too big */
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block;
}

.page-about__commitment-icon {
    max-width: 200px; /* Smaller for icons */
    height: 150px; /* Fixed height for consistent look */
    object-fit: contain;
}

.page-about__feature-title,
.page-about__product-name,
.page-about__commitment-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-description,
.page-about__product-description,
.page-about__commitment-description {
    font-size: 1em;
    color: #555555;
    text-align: justify;
}

/* Product List */
.page-about__product-list {
    list-style: none;
    padding: 0;
}

.page-about__product-item {
    background-color: #f9f9f9;
    border-left: 5px solid #26A9E0;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 40px;
}

.page-about__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    cursor: pointer;
    background-color: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    list-style: none; /* For details summary */
}

.page-about__faq-question::-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;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.page-about__faq-answer .page-about__paragraph {
    margin-bottom: 0;
}

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

.page-about__cta-content {
    max-width: 800px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__hero-section {
        padding: 40px 20px;
    }

    .page-about__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

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

    .page-about__feature-grid,
    .page-about__commitment-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

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

    .page-about__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body handles --header-offset, small decorative top padding */
    }

    .page-about__hero-image {
        margin-bottom: 20px;
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

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

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

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

    .page-about__paragraph {
        font-size: 0.95em;
    }

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

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page-about__feature-grid,
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
    }

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

    .page-about__feature-image,
    .page-about__commitment-icon {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__product-item {
        padding: 20px;
    }

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

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

    /* Mobile specific image and container overrides */
    .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,
    .page-about__feature-card,
    .page-about__commitment-item,
    .page-about__product-item,
    .page-about__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-about__hero-section .page-about__container {
        padding-left: 0;
        padding-right: 0;
    }

    .page-about__cta-buttons {
        padding-left: 0;
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 1.8em;
    }

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

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 10px 15px;
        font-size: 0.9em;
    }
}