/* style/about.css */

/* --- General Styles for .page-about --- */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
    padding-bottom: 40px;
}

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

.page-about__section-title {
    font-size: 36px;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

.page-about__section-title--light {
    color: #FFFFFF;
}

.page-about__text-block {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #1F2D3D; /* Text Main */
}

.page-about__text-block--light {
    color: #f0f0f0;
}

.page-about__section-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #FFFFFF;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

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

.page-about__btn-secondary:hover {
    background: #F4F7FB;
    color: #2F6BFF;
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.1);
}

/* --- HERO Section --- */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body has padding-top from shared.css */
    background-color: #F4F7FB; /* Fallback */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Adjust as needed */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0; /* No border-radius for hero image */
}

.page-about__hero-content {
    text-align: center;
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
    position: relative; /* Ensure content is above any potential background images */
    z-index: 2;
}

.page-about__hero-title {
    font-size: clamp(32px, 4vw, 48px); /* H1 font size with clamp */
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.page-about__hero-description {
    font-size: 20px;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Intro Section --- */
.page-about__intro-section {
    padding: 80px 0;
    background: #FFFFFF; /* Card BG */
}

/* --- Values Section (Dark Background) --- */
.page-about__values-section {
    padding: 80px 0;
    background: #2F6BFF; /* Primary color as background */
    color: #FFFFFF;
}

.page-about__grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.page-about__grid--2-cols {
    grid-template-columns: repeat(2, 1fr);
}

.page-about__value-card {
    background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__value-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 15px;
}

.page-about__value-description,
.page-about__value-list {
    font-size: 16px;
    color: #f0f0f0;
}

.page-about__value-list {
    list-style: disc;
    padding-left: 20px;
}

/* --- Why Choose Section --- */
.page-about__why-choose-section {
    padding: 80px 0;
    background: #F4F7FB; /* Background */
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-card {
    background: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border */
}

.page-about__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

/* --- Products Overview Section --- */
.page-about__products-overview {
    padding: 80px 0;
    background: #FFFFFF; /* Card BG */
}

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

.page-about__product-card {
    display: block; /* Make the whole card clickable */
    text-decoration: none;
    background: #FFFFFF; /* Card BG */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-about__product-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-about__product-title {
    font-size: 22px;
    font-weight: bold;
    color: #2F6BFF; /* Primary color */
    padding: 15px 20px 5px;
}

.page-about__product-description {
    font-size: 15px;
    color: #1F2D3D; /* Text Main */
    padding: 0 20px 20px;
}

/* --- Commitments Section --- */
.page-about__commitments-section {
    padding: 80px 0;
    background: #F4F7FB; /* Background */
}

.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.page-about__commitment-item {
    background: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border */
}

.page-about__commitment-title {
    font-size: 24px;
    font-weight: bold;
    color: #2F6BFF; /* Primary color */
    margin-bottom: 15px;
}

.page-about__commitment-description {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
}

/* --- Team Section (Dark Background) --- */
.page-about__team-section {
    padding: 80px 0;
    background: #2F6BFF; /* Primary color as background */
    color: #FFFFFF;
}

/* --- FAQ Section --- */
.page-about__faq-section {
    padding: 80px 0;
    background: #FFFFFF; /* Card BG */
}

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

.page-about__faq-item {
    background: #F4F7FB; /* Background */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #1F2D3D; /* Text Main */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #1F2D3D; /* Text Main */
    cursor: pointer;
    background: #FFFFFF; /* Card BG */
    border-bottom: 1px solid #D6E2FF; /* Border */
    list-style: none; /* For details/summary */
}

.page-about__faq-item[open] > .page-about__faq-question {
    border-bottom: 1px solid transparent; /* Hide border when open */
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: #1F2D3D; /* Text Main */
}

.page-about__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #2F6BFF; /* Primary color */
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
    background: #F4F7FB; /* Background */
}

.page-about__faq-answer p {
    margin-bottom: 10px;
    text-align: left;
}
.page-about__faq-answer p:last-child {
    margin-bottom: 0;
}
.page-about__faq-answer a {
    color: #2F6BFF;
    text-decoration: underline;
}

/* --- CTA Section --- */
.page-about__cta-section {
    padding: 80px 0;
    background: #6FA3FF; /* Secondary color */
    color: #FFFFFF;
    text-align: center;
}

.page-about__cta-section .page-about__section-title {
    color: #FFFFFF;
}

.page-about__cta-section .page-about__text-block {
    color: #f0f0f0;
}

/* --- Responsive Design --- */
/* General Image and Container Mobile Adaptations */
@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-about__container {
        padding: 0 15px;
    }

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__values-section,
    .page-about__why-choose-section,
    .page-about__products-overview,
    .page-about__commitments-section,
    .page-about__team-section,
    .page-about__faq-section,
    .page-about__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__section-title {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .page-about__text-block {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* HERO Section Mobile */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 40px;
    }

    .page-about__hero-content {
        padding: 40px 15px;
    }

    .page-about__hero-title {
        font-size: clamp(28px, 8vw, 36px);
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .page-about__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100%; /* Ensure buttons take full width */
    }

    /* Buttons Mobile */
    .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: 12px 15px;
        font-size: 16px;
    }

    .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;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }

    /* Intro Section Mobile */
    .page-about__intro-section {
        padding: 40px 0;
    }

    /* Values Section Mobile */
    .page-about__values-section {
        padding: 40px 0;
    }
    .page-about__grid--2-cols {
        grid-template-columns: 1fr;
    }
    .page-about__value-card {
        padding: 20px;
    }
    .page-about__value-title {
        font-size: 20px;
    }
    .page-about__value-description,
    .page-about__value-list {
        font-size: 15px;
    }

    /* Why Choose Section Mobile */
    .page-about__why-choose-section {
        padding: 40px 0;
    }
    .page-about__features-grid {
        grid-template-columns: 1fr;
    }
    .page-about__feature-card {
        padding: 20px;
    }
    .page-about__feature-title {
        font-size: 20px;
    }
    .page-about__feature-description {
        font-size: 15px;
    }

    /* Products Overview Section Mobile */
    .page-about__products-overview {
        padding: 40px 0;
    }
    .page-about__product-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
    }
    .page-about__product-image {
        height: 180px; /* Slightly smaller fixed height for mobile */
    }
    .page-about__product-title {
        font-size: 20px;
    }
    .page-about__product-description {
        font-size: 14px;
    }

    /* Commitments Section Mobile */
    .page-about__commitments-section {
        padding: 40px 0;
    }
    .page-about__commitment-grid {
        grid-template-columns: 1fr;
    }
    .page-about__commitment-item {
        padding: 20px;
    }
    .page-about__commitment-title {
        font-size: 20px;
    }
    .page-about__commitment-description {
        font-size: 15px;
    }

    /* Team Section Mobile */
    .page-about__team-section {
        padding: 40px 0;
    }

    /* FAQ Section Mobile */
    .page-about__faq-section {
        padding: 40px 0;
    }
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-about__faq-toggle {
        font-size: 20px;
    }
    .page-about__faq-answer {
        padding: 15px 20px;
        font-size: 14px;
    }

    /* CTA Section Mobile */
    .page-about__cta-section {
        padding: 40px 0;
    }
}

/* Additional breakpoint for smaller tablets/larger mobiles */
@media (max-width: 549px) {
    .page-about__product-grid {
        grid-template-columns: 1fr; /* Ensure single column on very small screens */
    }
}