/* style/about.css */
:root {
    --primary-color: #FF4500;
    --secondary-color: #00CED1;
    --dark-text-color: #333333;
    --light-text-color: #ffffff;
    --light-bg-color: #f8f9fa;
    --card-bg-color: #ffffff;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Ensure content is not hidden by fixed header */
.page-about__hero-section {
    padding-top: 180px; /* Desktop: Adjust based on actual header height */
}

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--light-text-color); /* Default to light text for dark body background */
    background-color: var(--dark-bg-1); /* Assuming --dark-bg-1 is dark from shared.css */
}

.page-about__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--dark-bg-1);
}

.page-about__section--mission-vision {
    background-color: var(--dark-bg-1);
}

.page-about__section--why-choose-us {
    background-color: var(--primary-color); /* Using brand color for a strong section */
    color: var(--light-text-color);
}

.page-about__section--commitment {
    background-color: var(--dark-bg-1);
}

.page-about__section--rikvip-partner {
    background-color: var(--dark-bg-1);
}

.page-about__section--contact-us {
    background-color: var(--secondary-color); /* Using secondary brand color */
    color: var(--light-text-color);
}

.page-about__section--faq {
    background-color: var(--dark-bg-1);
}

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

.page-about__main-title,
.page-about__heading {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--light-text-color);
}

.page-about__main-title-link,
.page-about__heading-link,
.page-about__hero-description-link,
.page-about__paragraph-link,
.page-about__feature-description-link,
.page-about__commitment-description-link,
.page-about__faq-question-link,
.page-about__faq-answer-link,
.page-about__contact-link {
    color: var(--secondary-color); /* Links in main content */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__main-title-link:hover,
.page-about__heading-link:hover,
.page-about__hero-description-link:hover,
.page-about__paragraph-link:hover,
.page-about__feature-description-link:hover,
.page-about__commitment-description-link:hover,
.page-about__faq-question-link:hover,
.page-about__faq-answer-link:hover,
.page-about__contact-link:hover {
    color: var(--light-text-color);
    text-decoration: underline;
}

.page-about__main-title {
    font-size: 3.5em;
    color: var(--light-text-color);
}

.page-about__heading {
    font-size: 2.8em;
    color: var(--light-text-color);
}

.page-about__paragraph {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.8), rgba(0, 206, 209, 0.8)), url('[GALLERY:hero:game_doi_thuong,about_us,mission_vision]') center center/cover no-repeat; /* Fallback for background-image, though img tag is used */
    min-height: 500px;
}

.page-about__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 800px; /* Control size of image within hero */
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.page-about__cta-button:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

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

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

.page-about__cta-button--rikvip {
    background: linear-gradient(135deg, #00CED1, #4CAF50); /* A distinct gradient for Rikvip */
    color: var(--light-text-color);
}

.page-about__cta-button--rikvip:hover {
    background: linear-gradient(135deg, #4CAF50, #00CED1);
}

.page-about__vision-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-about__card {
    background: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    color: var(--dark-text-color); /* Dark text on light card background */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__card-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__card-text {
    font-size: 1em;
    line-height: 1.7;
    color: var(--dark-text-color);
}

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

.page-about__feature-item {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on primary background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-about__feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.25);
}

.page-about__feature-icon {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-about__feature-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--light-text-color);
}

.page-about__feature-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.page-about__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-about__commitment-item {
    background: var(--card-bg-color);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--shadow-color);
    padding: 30px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    color: var(--dark-text-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__commitment-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-about__commitment-icon {
    width: 90px;
    height: auto;
    margin-bottom: 20px;
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__commitment-description {
    font-size: 1em;
    line-height: 1.7;
    color: var(--dark-text-color);
}

.page-about__contact-info {
    margin-top: 30px;
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--light-text-color);
    margin-bottom: 40px;
}

.page-about__contact-detail {
    margin-bottom: 10px;
}

/* FAQ Styles */
.page-about__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: var(--card-bg-color);
    border-radius: 0 0 5px 5px;
    color: var(--dark-text-color);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: var(--card-bg-color);
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
    color: var(--dark-text-color);
}

.page-about__faq-question:hover {
    background: var(--light-bg-color);
    border-color: #d0d0d0;
}

.page-about__faq-question:active {
    background: #eeeeee;
}

.page-about__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--dark-text-color);
}

.page-about__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-about__faq-item.active .page-about__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change to X for active state */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 3em;
    }
    .page-about__heading {
        font-size: 2.2em;
    }
    .page-about__paragraph {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust for mobile header height */
        padding-bottom: 40px;
        min-height: 400px;
    }
    .page-about__main-title {
        font-size: 2.5em;
    }
    .page-about__heading {
        font-size: 1.8em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__vision-cards,
    .page-about__features-grid,
    .page-about__commitment-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__card,
    .page-about__feature-item,
    .page-about__commitment-item {
        max-width: 100%;
        min-width: unset;
        padding: 20px;
    }

    .page-about__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-about__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-about__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    
    .page-about__faq-answer {
        padding: 0 15px;
    }
    
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px !important;
    }

    /* Mobile image adaptation */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

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