/* style/about.css */
:root {
    --primary-color: #4A148C; /* Deep Purple */
    --secondary-color: #FFD700; /* Golden Yellow */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #333333;
    --border-color: #e0e0e0;
}

.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

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

/* Hero Banner Section */
.page-about-hero-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding: 60px 20px;
}

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

.page-about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-about-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.page-about-main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about-hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about-cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about-cta-button:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-about-cta-secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
}

.page-about-cta-secondary:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* General Section Styling */
.page-about-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.page-about-section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-about-dark-bg {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-about-light-text {
    color: var(--text-light);
}

.page-about-section-title {
    font-size: 2.8em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-about-dark-bg .page-about-section-title {
    color: var(--secondary-color);
}

.page-about-section-subtitle {
    font-size: 1.3em;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.page-about-dark-bg .page-about-section-subtitle {
    color: var(--text-light);
}

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

.page-about-text-content {
    flex: 1;
    font-size: 1.1em;
}

.page-about-text-content p {
    margin-bottom: 20px;
}

.page-about-image-content {
    flex: 1;
    text-align: center;
}

.page-about-image-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Platform Features Grid */
.page-about-features-grid, .page-about-promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about-feature-item, .page-about-promotion-item {
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about-feature-item:hover, .page-about-promotion-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-about-feature-item h3, .page-about-promotion-item h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 15px;
}

.page-about-feature-icon, .page-about-promotion-image {
    width: 100%;
    max-width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 20px auto;
    display: block;
}

.page-about-feature-item p, .page-about-promotion-item p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-about-link {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-about-link:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

/* FAQ Section */
.page-about-faq {
    background-color: var(--bg-light);
}

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--text-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    font-size: 1.2em;
    color: var(--primary-color);
    margin: 0;
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px 25px 25px;
    background: #f9f9f9;
}

.faq-answer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about-hero-banner {
        min-height: 350px;
        padding: 40px 15px;
    }

    .page-about-main-title {
        font-size: 2.8em;
    }

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

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

    .page-about-section-subtitle {
        font-size: 1.1em;
    }

    .page-about-content-wrapper {
        flex-direction: column;
        gap: 30px;
    }

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

    .page-about-feature-item h3, .page-about-promotion-item h3 {
        font-size: 1.5em;
    }

    .page-about-image-content {
        order: -1; /* For reversing image and text on mobile */
    }

    .page-about-reverse-mobile .page-about-image-content {
        order: 0;
    }
}

@media (max-width: 768px) {
    .page-about-hero-banner {
        min-height: 300px;
        padding: 30px 15px;
    }

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

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

    .page-about-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-about-section {
        padding: 60px 0;
    }

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

    .page-about-section-subtitle {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .page-about-text-content {
        font-size: 0.95em;
    }

    .page-about-feature-item, .page-about-promotion-item {
        padding: 25px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 1.5em;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-about-hero-banner {
        min-height: 250px;
    }

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

    .page-about-hero-description {
        font-size: 0.9em;
    }

    .page-about-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

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

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

    .page-about-section-subtitle {
        margin-bottom: 30px;
    }

    .page-about-feature-item h3, .page-about-promotion-item h3 {
        font-size: 1.3em;
    }

    .page-about-feature-item p, .page-about-promotion-item p {
        font-size: 0.9em;
    }

    .page-about-link {
        padding: 8px 20px;
        font-size: 0.9em;
    }

    .faq-question h3 {
        font-size: 1em;
    }

    .faq-toggle {
        font-size: 1.3em;
    }
}