.page-about {
    color: #333333; /* Dark text for default light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    background-color: #003366; /* Deep blue background for hero */
    color: #ffffff; /* White text on deep blue */
    position: relative;
    overflow: hidden;
}

.page-about__hero-container {
    max-width: 900px;
    z-index: 1;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFCC00; /* Gold accent for title */
    line-height: 1.1;
}

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

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

.page-about__hero-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1.1em;
}

.page-about__hero-button--primary {
    background-color: #FFCC00; /* Gold button */
    color: #003366; /* Deep blue text on gold */
}

.page-about__hero-button--primary:hover {
    background-color: #e6b800; /* Slightly darker gold on hover */
}

.page-about__hero-button--secondary {
    background-color: transparent;
    color: #FFCC00; /* Gold text for secondary button */
    border: 2px solid #FFCC00;
}

.page-about__hero-button--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
}

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

.page-about__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2; /* Subtle overlay */
    display: block;
    min-width: unset; /* Override general min-width for hero overlay */
    min-height: unset; /* Override general min-height for hero overlay */
}

.page-about__mission-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    gap: 40px;
}

.page-about__mission-content {
    flex: 1;
    text-align: center;
    max-width: 800px;
}

.page-about__mission-title {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 20px;
}

.page-about__mission-text {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-about__mission-link {
    display: inline-block;
    color: #FFCC00;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #FFCC00;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__mission-link:hover {
    color: #e6b800;
    border-color: #e6b800;
}

.page-about__mission-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__mission-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


.page-about__why-choose-us-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.page-about__why-choose-us-title {
    font-size: 2.8em;
    color: #003366;
    margin-bottom: 50px;
}

.page-about__why-choose-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-about__why-choose-us-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.page-about__why-choose-us-card:hover {
    transform: translateY(-5px);
}

.page-about__why-choose-us-card img {
    width: 100%; /* Card image takes full width of card */
    max-width: 400px; /* Max width for card images */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about__card-title {
    font-size: 1.8em;
    color: #003366;
    margin-bottom: 15px;
}

.page-about__card-text {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow text to grow */
}

.page-about__card-link {
    display: inline-block;
    color: #FFCC00;
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid #FFCC00;
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-about__card-link:hover {
    color: #e6b800;
    border-color: #e6b800;
}

.page-about__responsible-gaming-section {
    display: flex;
    flex-direction: column-reverse; /* Image on top for mobile */
    align-items: center;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    gap: 40px;
}

.page-about__responsible-gaming-content {
    flex: 1;
    text-align: center;
    max-width: 800px;
}

.page-about__responsible-gaming-title {
    font-size: 2.5em;
    color: #003366;
    margin-bottom: 20px;
}

.page-about__responsible-gaming-text {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-about__responsible-gaming-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #003366;
    color: #FFCC00;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px;
    text-align: center;
    font-size: 1.1em;
}

.page-about__responsible-gaming-button:hover {
    background-color: #002244;
}

.page-about__responsible-gaming-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__responsible-gaming-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-about__cta-section {
    background-color: #FFCC00; /* Gold background for CTA */
    color: #003366; /* Deep blue text on gold */
    padding: 80px 20px;
    text-align: center;
    margin-top: 80px;
}

.page-about__cta-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #003366;
}

.page-about__cta-description {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px;
    text-align: center;
    font-size: 1.1em;
}

.page-about__cta-button--primary {
    background-color: #003366; /* Deep blue button */
    color: #FFCC00; /* Gold text on deep blue */
}

.page-about__cta-button--primary:hover {
    background-color: #002244;
}

.page-about__cta-button--secondary {
    background-color: transparent;
    color: #003366;
    border: 2px solid #003366;
}

.page-about__cta-button--secondary:hover {
    background-color: #003366;
    color: #FFCC00;
}

/* Animation states for sections */
.page-about--hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-about--fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-about__mission-section {
        flex-direction: row; /* Content left, image right */
        text-align: left;
    }
    .page-about__mission-content {
        text-align: left;
    }
    .page-about__responsible-gaming-section {
        flex-direction: row; /* Image left, content right */
        text-align: left;
    }
    .page-about__responsible-gaming-content {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-about__mission-title,
    .page-about__why-choose-us-title,
    .page-about__responsible-gaming-title,
    .page-about__cta-title {
        font-size: 2em;
    }

    .page-about__mission-text,
    .page-about__card-text,
    .page-about__responsible-gaming-text,
    .page-about__cta-description {
        font-size: 0.95em;
    }

    .page-about__why-choose-us-grid {
        grid-template-columns: 1fr;
    }

    .page-about__hero-section,
    .page-about__mission-section,
    .page-about__why-choose-us-section,
    .page-about__responsible-gaming-section,
    .page-about__cta-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile content area images must be responsive */
    .page-about__mission-image img,
    .page-about__why-choose-us-card img,
    .page-about__responsible-gaming-image img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure no horizontal overflow */
    .page-about {
        overflow-x: hidden;
    }
}

/* Ensure content area images are never smaller than 200px */
.page-about img {
    min-width: 200px;
    min-height: 200px;
}