/* style/about.css */

/* Root variables for color scheme */
:root {
    --okvip-primary: #11A84E;
    --okvip-secondary: #22C768;
    --okvip-card-bg: #11271B;
    --okvip-background: #08160F;
    --okvip-text-main: #F2FFF6;
    --okvip-text-secondary: #A7D9B8;
    --okvip-border: #2E7A4E;
    --okvip-glow: #57E38D;
    --okvip-gold: #F2C14E;
    --okvip-divider: #1E3A2A;
    --okvip-deep-green: #0A4B2C;
    --okvip-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page-about content */
.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--okvip-text-main); /* Default text color for dark background */
    background-color: var(--okvip-background); /* Overall page background */
}

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

/* Section styling */
.page-about__section {
    padding: 60px 0;
    position: relative;
}

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

.page-about__light-bg {
    background-color: #f8f9fa; /* A very light background for contrast */
    color: #333333; /* Dark text for light background */
}

.page-about__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--okvip-gold);
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

/* Hero Section */
.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    position: relative;
}

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

.page-about__hero-content {
    position: relative; /* Ensure content is above any background effects */
    z-index: 10;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    color: var(--okvip-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-about__hero-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--okvip-text-main);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    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 {
    background: var(--okvip-button-gradient);
    color: #ffffff;
    border: 2px solid var(--okvip-secondary);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.4);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.6);
    transform: translateY(-2px);
}

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

.page-about__btn-secondary:hover {
    background-color: var(--okvip-secondary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Content Grid for sections */
.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.page-about__text-block p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.page-about__light-bg .page-about__text-block p {
    color: #333333; /* Darker text for light background */
}

.page-about__dark-section .page-about__text-block p {
    color: var(--okvip-text-secondary); /* Lighter text for dark background */
}

.page-about__image-block {
    text-align: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* Specific section adjustments */
.page-about__mission-vision .page-about__section-title,
.page-about__security-section .page-about__section-title,
.page-about__support-section .page-about__section-title {
    color: #333333;
    text-shadow: none;
}

.page-about__mission-vision .page-about__text-block h3,
.page-about__security-section .page-about__text-block h3,
.page-about__support-section .page-about__text-block h3 {
    color: #333333;
}

.page-about__cta-section {
    background-color: var(--okvip-deep-green);
    padding: 80px 0;
    text-align: center;
}

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

.page-about__cta-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--okvip-text-secondary);
    margin-bottom: 40px;
}

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

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
}

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

.page-about__faq-item {
    background-color: #ffffff;
    border: 1px solid var(--okvip-divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

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

.page-about__faq-item[open] > .page-about__faq-question {
    background-color: #e6e6e6;
    border-bottom: 1px solid #cccccc;
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: #333333;
}

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

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 16px;
    line-height: 1.6;
    color: #555555;
}

.page-about__faq-item:last-child {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .page-about__image-block {
        order: -1; /* Image appears above text on smaller screens */
    }

    .page-about__hero-content {
        margin-top: 30px;
    }

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

    .page-about__hero-description {
        font-size: 16px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
}

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

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

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

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

    .page-about__hero-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 0 15px;
    }

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

    .page-about__cta-actions {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        padding: 0 15px;
    }

    .page-about__container {
        padding: 0 15px;
    }

    /* Image responsive rules */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__hero-image-wrapper,
    .page-about__image-block,
    .page-about__cta-container,
    .page-about__faq-list,
    .page-about__hero-actions,
    .page-about__cta-actions {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: clamp(28px, 7vw, 38px);
    }

    .page-about__hero-description {
        font-size: 15px;
    }

    .page-about__section-title {
        font-size: clamp(22px, 6vw, 32px);
    }
}