/* style/about.css */

/* --- Base Styles & Variables (within page-about scope) --- */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background */
}

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

.page-about__section-title {
    font-size: clamp(2em, 5vw, 2.8em); /* H2 */
    font-weight: bold;
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-about__section-subtitle {
    font-size: clamp(1.5em, 4vw, 2.2em); /* H3 */
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.3;
}

.page-about__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
}

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

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-about__btn-secondary {
    background: #11271B; /* Card BG */
    color: #57E38D; /* Glow */
    border: 2px solid #2E7A4E; /* Border */
}

.page-about__btn-secondary:hover {
    background: #2E7A4E; /* Border */
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6); /* Glow */
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* For mobile */
    width: 100%; /* For mobile container */
    max-width: 100%; /* For mobile container */
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    background-color: #08160F; /* Background */
}

.page-about__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for image */
    height: auto;
    display: block;
    margin-bottom: 30px;
    object-fit: cover;
}

.page-about__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: clamp(2.5em, 6vw, 3.5em); /* H1 font size constraint */
    font-weight: bold;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* --- General Content Sections --- */
.page-about__intro-section,
.page-about__history-section,
.page-about__products-section,
.page-about__why-choose-section,
.page-about__cta-final-section {
    padding: 60px 0;
    background-color: #08160F; /* Background */
}

.page-about__values-section,
.page-about__responsibility-section,
.page-about__faq-section {
    padding: 60px 0;
    background-color: #11271B; /* Card BG - darker green for contrast */
}

.page-about__team-section {
    padding: 60px 0;
    background-color: #0A4B2C; /* Deep Green - slightly lighter for variety */
}


/* --- Image Specific Styles --- */
.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 800px; /* Example content image max-width */
    object-fit: cover;
}

/* --- Lists --- */
.page-about__value-list,
.page-about__advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__value-item,
.page-about__advantage-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__value-item .page-about__value-title,
.page-about__advantage-item .page-about__advantage-title {
    font-size: 1.4em;
    color: #F2C14E; /* Gold */
    margin-bottom: 15px;
}

.page-about__value-item .page-about__value-description,
.page-about__advantage-item .page-about__advantage-description {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
}

/* --- FAQ Section --- */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    list-style: none; /* Remove default marker */
    outline: none;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit */
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #57E38D; /* Glow */
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Plus becomes X or similar */
}

.page-about__faq-answer {
    padding: 0 25px 18px;
    font-size: 1.05em;
    color: #A7D9B8; /* Text Secondary */
    text-align: justify;
}

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


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

@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* General text adjustments */
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Hero section adjustments */
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-about__hero-title {
        font-size: 2.2em !important;
    }

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

    /* Section titles */
    .page-about__section-title {
        font-size: 2em !important;
        margin-bottom: 20px;
    }

    .page-about__section-subtitle {
        font-size: 1.5em !important;
        margin-bottom: 20px;
    }

    /* Buttons responsive */
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

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

    /* Image responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* List items responsive */
    .page-about__value-list,
    .page-about__advantages-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__value-item,
    .page-about__advantage-item {
        padding: 20px;
    }

    /* FAQ responsive */
    .page-about__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-about__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* Ensure all content containers are responsive */
    .page-about__intro-section,
    .page-about__history-section,
    .page-about__products-section,
    .page-about__why-choose-section,
    .page-about__cta-final-section,
    .page-about__values-section,
    .page-about__responsibility-section,
    .page-about__faq-section,
    .page-about__team-section {
        padding: 40px 0;
    }

    .page-about__text-block {
        padding: 0 15px;
        text-align: left;
    }
}

/* Ensure no CSS filters are used for images */
.page-about img {
    filter: none !important;
}

/* Ensure no CSS filters are used for any element if it affects color */
.page-about * {
    filter: none !important;
}