/* style/about.css */

:root {
    --primary-color: #E53935;
    --secondary-color: #FF5A4F;
    --card-bg-color: #FFFFFF;
    --background-color: #F5F7FA;
    --text-main-color: #333333;
    --border-color: #E0E0E0;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main-color);
    background-color: var(--background-color);
}

.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-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 60px;
    color: #ffffff;
    overflow: hidden;
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6); /* Darken image for text readability */
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.page-about__hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-about__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__cta-button--primary {
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #ffffff;
    border: none;
}

.page-about__cta-button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__section h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-about__section h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-about__content-flex {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.page-about__content-flex--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

.page-about__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    display: block;
}

.page-about__light-bg {
    background-color: var(--background-color);
    color: var(--text-main-color);
    padding: 60px 0;
}

.page-about__dark-bg {
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 60px 0;
}

.page-about__dark-bg h2, .page-about__dark-bg h3 {
    color: #ffffff;
}

.page-about__dark-bg .page-about__text-block p {
    color: #f0f0f0;
}

.page-about__medium-bg {
    background-color: #FF5A4F; /* Using auxiliary color as medium background */
    color: #333333; /* Dark text for medium background */
    padding: 60px 0;
}

.page-about__medium-bg h2, .page-about__medium-bg h3 {
    color: #333333;
}

.page-about__medium-bg .page-about__text-block p {
    color: #333333;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-about__faq-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

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

.page-about__faq-item {
    background-color: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    outline: none;
    list-style: none;
    position: relative;
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 10px;
}

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

.page-about__faq-answer {
    padding: 0 20px 20px;
    font-size: 1rem;
    color: var(--text-main-color);
}

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

.page-about__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Final CTA Section */
.page-about__cta-final-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

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

.page-about__cta-final-section h2 {
    color: #ffffff;
    margin-bottom: 25px;
    font-size: clamp(2rem, 4vw, 2.8rem);
}

.page-about__cta-description {
    font-size: clamp(1rem, 2vw, 1.15rem);
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-about__cta-button--secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid #ffffff;
}

.page-about__cta-button--secondary:hover {
    background: var(--secondary-color);
    color: #ffffff;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-about__content-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-about__content-flex--reverse {
        flex-direction: column;
    }

    .page-about__image-block {
        margin-bottom: 30px;
    }

    .page-about__hero-section h1 {
        font-size: 2.5rem;
    }

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

@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px;
    }

    .page-about__hero-section {
        padding-bottom: 40px;
    }

    .page-about__hero-section h1 {
        font-size: 2rem;
    }

    .page-about__section h2 {
        font-size: 2.2rem;
    }

    .page-about__section h3 {
        font-size: 1.3rem;
    }

    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .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;
    }

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

    .page-about__image-block,
    .page-about__hero-image,
    .page-about__mission-values-section,
    .page-about__unique-section,
    .page-about__history-section,
    .page-about__security-section,
    .page-about__team-section,
    .page-about__customer-commitment-section,
    .page-about__future-section,
    .page-about__faq-section,
    .page-about__cta-final-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-about__video-section {
        padding-top: 10px !important;
    }

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

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