:root {
    --primary-color: #3A0CA3;
    --secondary-color: #FFD700;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --bg-light: #F8F8F8;
    --bg-dark: #2C0977; /* Slightly lighter than primary for distinction */
    --border-color: #E0E0E0;
    --hover-color: #5C2CD6;
    --button-text-light: #FFFFFF;
    --button-text-dark: #1A1A1A;
}

.page-about {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Hero Section */
.page-about .hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, #4D19B0 100%); /* Gradient for depth */
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.page-about .hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-about .hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary-color); /* Gold for emphasis */
    line-height: 1.2;
}

.page-about .hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

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

.page-about .cta-button:hover {
    background-color: #FDD100; /* Slightly brighter gold */
    transform: translateY(-3px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-about .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

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

.page-about .section-subtitle {
    font-size: 1.2em;
    color: #555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Grid */
.page-about .content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-about .content-grid.reverse-grid {
    flex-direction: row-reverse;
}

.page-about .content-grid .text-content {
    flex: 1;
    font-size: 1.1em;
    color: var(--text-dark);
}

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

.page-about .content-grid .text-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.page-about .content-grid .text-content ul li {
    margin-bottom: 8px;
}

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

.page-about .img-responsive {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* Mission & Vision Cards */
.page-about .grid-2-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-about .card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--primary-color);
}

.page-about .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.page-about .card-image {
    max-width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

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

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

.page-about .feature-icon {
    width: 80px; /* Ensure minimum size */
    height: 80px; /* Ensure minimum size */
    margin-bottom: 20px;
    object-fit: contain;
}

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

/* Responsible Gaming */
.page-about .section-responsible-gaming {
    background-color: var(--bg-dark); /* Dark background for this section */
    color: var(--text-light);
    padding: 60px 20px;
}

.page-about .section-responsible-gaming .section-title {
    color: var(--secondary-color); /* Gold title on dark background */
}

.page-about .section-responsible-gaming .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.page-about .section-responsible-gaming .text-content {
    color: var(--text-light);
}

.page-about .section-responsible-gaming .text-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-about .section-responsible-gaming .text-content ul li {
    margin-bottom: 10px;
}

.page-about .internal-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about .internal-link:hover {
    color: #FDD100;
    text-decoration: underline;
}

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

.page-about .faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

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

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

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

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

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

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

/* Bottom CTA */
.page-about .section-cta-bottom {
    background: linear-gradient(45deg, var(--secondary-color) 0%, #FDD100 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-dark);
}

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

.page-about .section-cta-bottom .cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

.page-about .section-cta-bottom .primary-button {
    background-color: var(--primary-color);
    color: var(--button-text-light);
    margin-right: 20px;
}

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

.page-about .section-cta-bottom .secondary-button {
    background-color: #FFFFFF;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-about .section-cta-bottom .secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--button-text-light);
    border-color: var(--hover-color);
}


/* Responsive Design */
@media (max-width: 992px) {
    .page-about .hero-title {
        font-size: 2.5em;
    }
    .page-about .hero-description {
        font-size: 1.1em;
    }
    .page-about .section-title {
        font-size: 2em;
    }
}