/* style/about.css */

:root {
    --primary-color: #FF4500;
    --secondary-color: #1E90FF;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-dark: var(--dark-bg-1, #0d0d0d);
    --card-bg: rgba(255, 255, 255, 0.1);
    --border-color: rgba(255, 255, 255, 0.2);
}

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

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

.page-about__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    background-color: var(--background-dark);
    overflow: hidden;
    text-align: center;
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    color: var(--text-light);
}

.page-about__hero-title {
    font-size: 3.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-about__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

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

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

.page-about__btn-primary:hover {
    background-color: #e63900;
    border-color: #e63900;
}

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

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

.page-about__mission-section,
.page-about__values-section,
.page-about__why-choose-us-section,
.page-about__technology-section,
.page-about__responsibility-section,
.page-about__team-section,
.page-about__video-section,
.page-about__faq-section,
.page-about__cta-section {
    padding: 60px 0;
    background-color: var(--background-dark);
    border-bottom: 1px solid var(--border-color);
}

.page-about__section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__text-block {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__image-content {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.page-about__value-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-about__value-card:hover {
    transform: translateY(-5px);
}

.page-about__value-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-about__value-description {
    font-size: 1em;
    color: var(--text-light);
}

.page-about__why-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-about__why-item {
    background-color: var(--card-bg);
    padding: 20px 30px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.1em;
    color: var(--text-light);
}

.page-about__why-item strong {
    color: var(--secondary-color);
}

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

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

.page-about__video-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    margin-top: 20px;
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large value */
    padding: 15px 25px;
}

.page-about__faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    color: var(--text-light);
}

.page-about__cta-section {
    text-align: center;
    padding: 80px 0;
    background: linear-gradient(45deg, var(--primary-color), #cc3700);
    border-bottom: none;
}

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

.page-about__cta-title {
    font-size: 2.8em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-about__cta-description {
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 40px;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

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

    .page-about__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-about__hero-title {
        font-size: 2.5em;
    }

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

    .page-about__section-title {
        font-size: 1.8em;
    }

    .page-about__text-block,
    .page-about__value-description,
    .page-about__why-item,
    .page-about__faq-answer p,
    .page-about__cta-description {
        font-size: 1em;
    }

    .page-about__values-grid {
        grid-template-columns: 1fr;
    }

    .page-about__hero-buttons,
    .page-about__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 300px !important; /* Constraint for mobile button width */
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__container,
    .page-about__hero-section,
    .page-about__mission-section,
    .page-about__values-section,
    .page-about__why-choose-us-section,
    .page-about__technology-section,
    .page-about__responsibility-section,
    .page-about__team-section,
    .page-about__video-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-x: hidden !important;
    }

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

    .page-about__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

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

    .page-about__cta-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }

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

    .page-about__section-title {
        font-size: 1.6em;
    }

    .page-about__value-title {
        font-size: 1.5em;
    }

    .page-about__cta-title {
        font-size: 1.8em;
    }
}