/* style/about.css */

/* Custom Colors */
:root {
    --page-about-bg: #08160F;
    --page-about-card-bg: #11271B;
    --page-about-text-main: #F2FFF6;
    --page-about-text-secondary: #A7D9B8;
    --page-about-border: #2E7A4E;
    --page-about-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-about-glow: #57E38D;
    --page-about-gold: #F2C14E;
    --page-about-divider: #1E3A2A;
    --page-about-deep-green: #0A4B2C;
}

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

.page-about__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-about__dark-section {
    background-color: var(--page-about-card-bg);
    color: var(--page-about-text-main);
}

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

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--page-about-bg);
    padding-top: 10px; /* Small top padding, body handles header offset */
}

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

.page-about__hero-content {
    z-index: 1;
    max-width: 800px;
    margin-bottom: 30px;
}

.page-about__main-title {
    font-weight: bold;
    color: var(--page-about-text-main);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    /* Using clamp for responsive font size, but avoiding overly large fixed values */
    font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem);
}

.page-about__hero-description {
    font-size: 1.1rem;
    color: var(--page-about-text-secondary);
    margin-bottom: 30px;
}

.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.page-about__btn-primary {
    background: var(--page-about-btn-gradient);
    color: var(--page-about-text-main);
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-about__section-title {
    font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit from section for contrast */
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 768px) {
    .page-about__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-about__content-grid--reverse {
        grid-template-columns: 1fr 1fr;
    }
    .page-about__content-grid--reverse .page-about__image-block {
        order: 1;
    }
    .page-about__content-grid--reverse .page-about__text-block {
        order: 2;
    }
}

.page-about__text-block h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-about__text-block p {
    line-height: 1.7;
    margin-bottom: 15px;
    color: inherit;
}

.page-about__image-block img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-about__intro-video-section {
    padding: 60px 20px;
    text-align: center;
}

.page-about__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px auto;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-sizing: border-box;
}

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

.page-about__video-description {
    font-size: 1rem;
    color: var(--page-about-text-secondary);
    margin-top: 10px;
}

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

.page-about__faq-item {
    background-color: var(--page-about-card-bg);
    border: 1px solid var(--page-about-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--page-about-text-main);
    cursor: pointer;
    list-style: none;
}

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

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--page-about-glow);
}

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

.page-about__faq-answer {
    padding: 0 25px 18px 25px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--page-about-text-secondary);
}

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

.page-about__cta-section {
    background-color: var(--page-about-bg);
    padding: 80px 20px;
    text-align: center;
}

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

.page-about__cta-title {
    font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
    font-weight: bold;
    color: var(--page-about-text-main);
    margin-bottom: 20px;
}

.page-about__cta-description {
    font-size: 1.1rem;
    color: var(--page-about-text-secondary);
    margin-bottom: 40px;
}

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

    .page-about__container,
    .page-about__hero-section,
    .page-about__intro-video-section,
    .page-about__overview-section,
    .page-about__safety-section,
    .page-about__products-section,
    .page-about__advantages-section,
    .page-about__future-section,
    .page-about__faq-section,
    .page-about__cta-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

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

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

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

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

    .page-about__video-wrapper {
        padding-bottom: 75% !important; /* Adjust for common mobile aspect ratio if needed, e.g., 4:3 */
        margin-bottom: 20px;
    }

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

    .page-about__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

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

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

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

    .page-about__cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

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