/* style/about.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần lặp lại */

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

.page-about {
    background-color: var(--ae8vip-bg);
    color: var(--ae8vip-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-about__section-title {
    font-size: clamp(2em, 4vw, 2.8em);
    color: var(--ae8vip-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--ae8vip-text-secondary);
}

/* 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;
    overflow: hidden;
    background-color: var(--ae8vip-deep-green);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-about__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly with image for visual flow */
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, rgba(8, 22, 15, 0.8) 0%, var(--ae8vip-bg) 100%);
    border-radius: 15px;
    padding-top: 120px; /* Adjust padding to make space for title */
}

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em);
    color: var(--ae8vip-gold);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-about__description {
    font-size: 1.2em;
    color: var(--ae8vip-text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-about__btn-primary {
    background: var(--ae8vip-button-gradient);
    color: var(--ae8vip-text-main);
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
    opacity: 0.9;
}

.page-about__btn-secondary {
    background: var(--ae8vip-bg);
    color: var(--ae8vip-primary);
    border: 2px solid var(--ae8vip-primary);
    box-shadow: 0 5px 15px rgba(34, 199, 104, 0.2);
}

.page-about__btn-secondary:hover {
    transform: translateY(-3px);
    background: var(--ae8vip-primary);
    color: var(--ae8vip-text-main);
    box-shadow: 0 8px 20px rgba(34, 199, 104, 0.4);
}

.page-about__btn-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--ae8vip-gold);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--ae8vip-gold);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__btn-link:hover {
    color: var(--ae8vip-glow);
    border-color: var(--ae8vip-glow);
}

/* General Section Styling */
.page-about__intro-section,
.page-about__why-choose-us,
.page-about__commitment-section,
.page-about__join-us-section,
.page-about__faq-section {
    padding: 80px 0;
    position: relative;
}

.page-about__intro-section,
.page-about__commitment-section,
.page-about__faq-section {
    background-color: var(--ae8vip-bg);
}

.page-about__why-choose-us,
.page-about__join-us-section {
    background-color: var(--ae8vip-deep-green);
}

/* Card Grid */
.page-about__card-grid,
.page-about__feature-grid,
.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__card {
    background-color: var(--ae8vip-card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid var(--ae8vip-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    box-sizing: border-box;
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.page-about__card-title {
    font-size: 1.5em;
    color: var(--ae8vip-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-about__card-text {
    font-size: 1em;
    color: var(--ae8vip-text-secondary);
    flex-grow: 1;
}

/* Feature Grid */
.page-about__feature-item {
    background-color: var(--ae8vip-card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--ae8vip-border);
    height: 100%;
    box-sizing: border-box;
}

.page-about__feature-title {
    font-size: 1.6em;
    color: var(--ae8vip-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__feature-text {
    color: var(--ae8vip-text-secondary);
    margin-bottom: 20px;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-about__feature-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--ae8vip-text-main);
}

.page-about__feature-list li::before {
    content: '✓';
    color: var(--ae8vip-glow);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.page-about__list-title {
    font-size: 1.1em;
    color: var(--ae8vip-primary);
    margin-bottom: 5px;
}

.page-about__list-title + p {
    font-size: 0.95em;
    color: var(--ae8vip-text-secondary);
}

/* CTA Blocks */
.page-about__cta-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__cta-block {
    background-color: var(--ae8vip-card-bg);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--ae8vip-border);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__cta-title {
    font-size: 1.5em;
    color: var(--ae8vip-gold);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__cta-text {
    color: var(--ae8vip-text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

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

.page-about__faq-item {
    background-color: var(--ae8vip-card-bg);
    border: 1px solid var(--ae8vip-divider);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.page-about__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--ae8vip-text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
    background-color: rgba(var(--ae8vip-primary), 0.1);
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--ae8vip-gold);
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: var(--ae8vip-text-secondary);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-content {
        margin-top: -50px;
        padding-top: 80px;
    }
}

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

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

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

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

    .page-about__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-about__description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

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

    .page-about__section-title {
        font-size: clamp(1.8em, 7vw, 2.2em);
        margin-bottom: 30px;
    }

    .page-about__text-block {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-about__intro-section,
    .page-about__why-choose-us,
    .page-about__commitment-section,
    .page-about__join-us-section,
    .page-about__faq-section {
        padding: 50px 0;
    }

    .page-about__card-grid,
    .page-about__feature-grid,
    .page-about__commitment-grid,
    .page-about__cta-blocks {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .page-about__card,
    .page-about__feature-item,
    .page-about__cta-block {
        padding: 20px;
    }

    .page-about__card-title,
    .page-about__feature-title,
    .page-about__cta-title {
        font-size: 1.3em;
        margin-bottom: 10px;
    }

    .page-about__card-image {
        max-width: 100%;
    }

    /* Ensure all images are responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all image containers are responsive */
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__hero-image-wrapper,
    .page-about__cta-buttons,
    .page-about__cta-block,
    .page-about__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    .page-about__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-about__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

@media (max-width: 480px) {
    .page-about__hero-content {
        margin-top: -10px;
        padding-top: 40px;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 9vw, 2.2em);
    }
    .page-about__description {
        font-size: 0.9em;
    }
    .page-about__section-title {
        font-size: clamp(1.6em, 8vw, 2em);
    }
}