.page-about {
    color: #ffffff; /* Body background is dark (#0a0a0a), so text should be light */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #0a0a0a; /* Ensure consistency with body background */
}

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

.page-about__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #26A9E0 0%, #1A7FB0 100%); /* Brand color gradient */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
}

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

.page-about__section {
    padding: 60px 0;
}

.page-about__section--mission,
.page-about__section--values,
.page-about__section--security,
.page-about__section--responsible-gambling,
.page-about__section--cta {
    background-color: #0d0d0d; /* Slightly darker background for contrast */
    color: #ffffff;
}

.page-about__heading {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__section--mission .page-about__heading,
.page-about__section--values .page-about__heading,
.page-about__section--security .page-about__heading,
.page-about__section--responsible-gambling .page-about__heading,
.page-about__section--cta .page-about__heading {
    color: #ffffff; /* White headings on dark sections */
}

.page-about__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #f0f0f0;
}

.page-about__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__value-card,
.page-about__offering-card,
.page-about__channel-card {
    background-color: rgba(255, 255, 255, 0.05); /* Semi-transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-about__value-card:hover,
.page-about__offering-card:hover,
.page-about__channel-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

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

.page-about__offering-card .page-about__card-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-about__offering-card .page-about__card-title a:hover {
    text-decoration: underline;
}

.page-about__card-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-about__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-about__security-list,
.page-about__responsible-list,
.page-about__why-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-about__security-item,
.page-about__responsible-item,
.page-about__why-item {
    background-color: rgba(255, 255, 255, 0.07); /* Slightly brighter card on dark background */
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #26A9E0;
    color: #ffffff;
}

.page-about__list-title {
    font-size: 1.3em;
    color: #26A9E0;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__list-text {
    font-size: 1em;
    color: #e0e0e0;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin-top: 30px;
    font-size: 1.1em;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
    margin-right: 15px;
}

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

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

.page-about__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

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

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

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

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

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-about__faq-title {
    margin: 0;
    color: #ffffff;
}

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

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

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

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 15px 25px 25px;
}

/* General image styling */
.page-about img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
    }
    .page-about__hero-title {
        font-size: 2em !important;
        margin-bottom: 15px;
    }
    .page-about__hero-description {
        font-size: 1em !important;
        margin-bottom: 20px;
    }
    .page-about__heading {
        font-size: 1.8em !important;
        margin-bottom: 30px;
    }
    .page-about__paragraph,
    .page-about__card-text,
    .page-about__list-text,
    .page-about__faq-text {
        font-size: 0.95em !important;
    }
    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__values-grid,
    .page-about__offerings-grid,
    .page-about__support-channels {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__value-card,
    .page-about__offering-card,
    .page-about__channel-card,
    .page-about__security-item,
    .page-about__responsible-item,
    .page-about__why-item {
        padding: 20px;
    }
    .page-about__card-title,
    .page-about__list-title,
    .page-about__faq-title {
        font-size: 1.3em !important;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        margin-right: 0 !important;
        margin-bottom: 15px; /* Add margin for stacked buttons */
    }
    .page-about__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    /* Ensure all images are responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !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;
    }
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-about__faq-answer {
        padding: 0 20px;
    }
    .page-about__faq-item.active .page-about__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em !important;
    }
    .page-about__heading {
        font-size: 1.6em !important;
    }
}