/* style/about.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-dark: #26A9E0;
    --button-login: #EA7C07;
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light background */
    background-color: var(--background-light);
}

.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: var(--background-dark);
    color: var(--text-light);
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

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

.page-about__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-light);
    /* No fixed font-size, rely on clamp if needed, but for H1 better to let it scale */
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

.page-about__description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-about__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__video-cta {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-about__btn-primary,
.page-about__video-cta {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-about__btn-primary:hover,
.page-about__video-cta:hover {
    background-color: #1f8ec4;
    border-color: #1f8ec4;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-about__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-about__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-dark);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.page-about__video-container {
    width: 100%; /* Ensure width is 100% on desktop */
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-about__video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 8px;
    background-color: #000;
}

.page-about__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}

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

.page-about__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-about__dark-section {
    background-color: var(--background-dark);
    color: var(--text-light);
}

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

.page-about__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: inherit;
}

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

.page-about__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__cta-section {
    text-align: center;
}

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

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

.page-about__faq-item {
    background-color: var(--background-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
    color: var(--primary-color);
    list-style: none; /* For <details> summary */
}

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

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

.page-about__faq-item[open] .page-about__faq-question {
    border-bottom: 1px solid transparent;
}

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

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-about__hero-section,
    .page-about__video-section,
    .page-about__section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding for sections */
    }

    .page-about__main-title {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .page-about__description {
        font-size: 1rem;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

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

    .page-about__container,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    .page-about__hero-image,
    .page-about__image-content,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .page-about__text-block {
        font-size: 1rem;
    }

    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-about__faq-toggle {
        font-size: 1.2rem;
    }

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