.page-about {
    color: #ffffff; /* Default text color for dark body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

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

.page-about__container--center {
    text-align: center;
}

.page-about__hero-section {
    position: relative;
    padding: 80px 20px 40px;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0A2463 0%, #1a1a2e 100%);
    overflow: hidden;
    text-align: center;
}

.page-about__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
}

.page-about__hero-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
}

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

.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;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #FFD700;
    color: #0A2463;
    border: 2px solid #FFD700;
}

.page-about__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-about__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-about__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A2463;
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: grayscale(50%);
    /* filter should not change color, only grayscale is allowed for background effect */
}

.page-about__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.page-about__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.page-about__dark-section {
    background-color: #0A2463;
    padding: 60px 0;
}

.page-about__mission-vision .page-about__section-title,
.page-about__why-choose .page-about__section-title,
.page-about__contact-cta .page-about__section-title {
    color: #FFD700;
}

.page-about__mission-vision .page-about__section-description,
.page-about__why-choose .page-about__section-description,
.page-about__contact-cta .page-about__section-description {
    color: #f0f0f0;
}

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

.page-about__grid--3-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-about__card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-about__card--light-bg {
    background: #ffffff;
    color: #333333;
    border: 1px solid #e0e0e0;
}

.page-about__card--light-bg .page-about__card-title {
    color: #0A2463;
}

.page-about__card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.page-about__card--light-bg:hover {
    transform: translateY(-10px);
    background: #f9f9f9;
}

.page-about__card-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card--light-bg .page-about__card-title {
    color: #0A2463;
}

.page-about__card ul {
    list-style-type: disc;
    padding-left: 20px;
}

.page-about__card li {
    margin-bottom: 8px;
}

.page-about__our-journey {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-about__timeline {
    position: relative;
    max-width: 900px;
    margin: 50px auto;
    padding: 20px 0;
}

.page-about__timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    background-color: #FFD700;
    height: 100%;
    transform: translateX(-50%);
}

.page-about__timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.page-about__timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.page-about__timeline-item::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: #0A2463;
    border: 3px solid #FFD700;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.page-about__timeline-year {
    font-size: 1.8em;
    color: #FFD700;
    font-weight: bold;
    width: 45%;
    text-align: right;
    padding-right: 30px;
    box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) .page-about__timeline-year {
    text-align: left;
    padding-left: 30px;
    padding-right: 0;
}

.page-about__timeline-item p {
    width: 45%;
    color: #f0f0f0;
    padding-left: 30px;
    box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) p {
    text-align: right;
    padding-right: 30px;
    padding-left: 0;
}

.page-about__journey-image {
    display: block;
    margin: 50px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    width: 800px;
    height: 600px;
    object-fit: cover;
}

.page-about__feature-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.page-about__card--gold-border {
    border: 2px solid #FFD700;
}

.page-about__features-image {
    display: block;
    margin: 50px auto 0;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    width: 1000px;
    height: 750px;
    object-fit: cover;
}

.page-about__responsible-gambling {
    padding: 60px 0;
    background-color: #1a1a2e;
}

.page-about__responsible-guidelines {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__guideline-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    border-left: 5px solid #FFD700;
}

.page-about__guideline-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__contact-cta {
    padding: 80px 0;
    background-color: #0A2463;
}

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

.page-about__faq-section {
    padding: 60px 0;
    background-color: #1a1a2e;
}

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

.page-about__faq-item {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFD700;
    cursor: pointer;
    background-color: #0A2463;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #0d2e70;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 20px;
}

/* General image styling to prevent filter changes */
.page-about img:not(.page-about__hero-image) {
    filter: none; /* Ensure no unintended color filters */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }

    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__journey-image,
    .page-about__features-image {
        width: 100%;
        height: auto;
    }
}

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

    .page-about__hero-section {
        padding: 60px 15px 30px;
        padding-top: var(--header-offset, 120px) !important;
    }

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

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

    .page-about__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .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;
    }

    .page-about__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-about__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-about__grid,
    .page-about__grid--3-cols,
    .page-about__responsible-guidelines {
        grid-template-columns: 1fr;
    }

    .page-about__timeline::before {
        left: 15px;
    }

    .page-about__timeline-item {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
        padding-left: 30px; /* Align content with timeline line */
    }

    .page-about__timeline-item::before {
        left: 15px;
        transform: translateX(0);
    }

    .page-about__timeline-year,
    .page-about__timeline-item:nth-child(odd) .page-about__timeline-year {
        text-align: left;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px;
    }

    .page-about__timeline-item p,
    .page-about__timeline-item:nth-child(odd) p {
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    /* Images responsive for mobile */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-about__hero-image-wrapper,
    .page-about__journey-image,
    .page-about__features-image {
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

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

    .page-about__faq-item.active .page-about__faq-answer {
        padding: 15px !important;
    }

    .page-about__card,
    .page-about__feature-card,
    .page-about__guideline-item {
        padding: 20px;
    }
}