/* style/about.css */
:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --text-main-color: #1F2D3D;
    --text-dark-color: #000000;
    --card-bg-color: #FFFFFF;
    --page-bg-color: #F4F7FB;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

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

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

.page-about__section-title {
    font-size: clamp(28px, 3.5vw, 42px);
    color: var(--text-dark-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-about__text-block {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main-color);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--page-bg-color);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px;
}

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

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

.page-about__main-title {
    font-size: clamp(32px, 4.5vw, 56px); /* Using clamp for responsive H1 */
    color: var(--text-dark-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-about__subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

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

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

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

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

.page-about__small-button {
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 5px;
}

.page-about__cta-button {
    margin: 10px;
}

.page-about__cta-container {
    text-align: center;
    margin-top: 40px;
}

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

/* Intro Section */
.page-about__intro-section {
    padding: 60px 0;
    background-color: var(--card-bg-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}

/* Features Section */
.page-about__features-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-about__features-section .page-about__section-title {
    color: #ffffff;
}

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

.page-about__feature-card {
    background-color: var(--card-bg-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-about__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-about__card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-about__card-description {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Security Section */
.page-about__security-section {
    padding: 80px 0;
    background-color: var(--page-bg-color);
}

.page-about__security-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-about__security-image {
    flex: 1 1 45%;
    min-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    min-height: 200px;
}

.page-about__security-text {
    flex: 1 1 45%;
    min-width: 300px;
}

/* Promotions Section */
.page-about__promotions-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-about__promotions-section .page-about__section-title,
.page-about__promotions-section .page-about__text-block {
    color: #ffffff;
}

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

.page-about__promo-item {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__promo-item .page-about__card-title {
    color: var(--primary-color);
}

.page-about__promo-item .page-about__card-description {
    flex-grow: 1;
}

/* Support Section */
.page-about__support-section {
    padding: 80px 0;
    background-color: var(--card-bg-color);
}

.page-about__support-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-about__support-text {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-about__support-image {
    flex: 1 1 45%;
    min-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    min-height: 200px;
}

/* Responsibility Section */
.page-about__responsibility-section {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-about__responsibility-section .page-about__section-title,
.page-about__responsibility-section .page-about__text-block {
    color: #ffffff;
}

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

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

.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-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark-color);
    cursor: pointer;
    background-color: #fcfdff;
    border-bottom: 1px solid var(--border-color);
}

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

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

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

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

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

.page-about__faq-answer {
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main-color);
}

/* Dark background sections */
.page-about__dark-section {
    background-color: var(--primary-color);
    color: #ffffff;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__text-block,
.page-about__dark-section .page-about__card-title {
    color: #ffffff;
}

.page-about__dark-section .page-about__btn-secondary {
    background-color: #ffffff;
    color: var(--primary-color);
    border-color: #ffffff;
}

.page-about__dark-section .page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-about__hero-content {
        padding: 0 15px;
    }

    .page-about__main-title {
        font-size: clamp(28px, 5vw, 48px);
    }

    .page-about__subtitle {
        font-size: 16px;
    }

    .page-about__feature-grid,
    .page-about__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .page-about__security-content,
    .page-about__support-content {
        flex-direction: column;
        text-align: center;
    }

    .page-about__security-image,
    .page-about__support-image {
        order: -1; /* Image on top for mobile */
    }
}

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

    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__section-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 30px;
    }

    .page-about__text-block {
        font-size: 15px;
    }

    /* Mobile Image/Video/Button Responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-image-wrapper,
    .page-about__cta-buttons,
    .page-about__promo-grid,
    .page-about__feature-grid,
    .page-about__security-content,
    .page-about__support-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-about__hero-section,
    .page-about__intro-section,
    .page-about__features-section,
    .page-about__security-section,
    .page-about__promotions-section,
    .page-about__support-section,
    .page-about__responsibility-section,
    .page-about__faq-section,
    .page-about__cta-section {
        padding: 40px 0 !important;
    }

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

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about__cta-button,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important;
    }

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

    .page-about__faq-question {
        font-size: 16px;
        padding: 15px;
    }

    .page-about__faq-answer {
        padding: 15px;
        font-size: 14px;
    }

    .page-about__feature-card,
    .page-about__promo-item {
        padding: 20px;
    }

    .page-about__security-image,
    .page-about__support-image {
        min-width: unset;
    }

    .page-about__security-text,
    .page-about__support-text {
        min-width: unset;
    }
}