/* style/about.css */

/* Base styles for the about page content */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body handles the main background */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0d0d0d; /* Slightly lighter than body background for subtle contrast */
    overflow: hidden;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and content */
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    filter: none; /* Ensure no image filters */
}

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

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* H1 font size with clamp */
    color: #26A9E0; /* Brand color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__description {
    font-size: 1.1rem;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Ensure padding/border included in width */
    max-width: 100%; /* Ensure buttons don't exceed container width */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

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

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

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

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

/* General Section Styles */
.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-about__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-about__text-block {
    font-size: 1rem;
    margin-bottom: 15px;
}

.page-about__highlight {
    color: #26A9E0;
    font-weight: bold;
}

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

/* Introduction Section */
.page-about__introduction-section {
    background-color: #1a1a1a; /* Slightly lighter dark for contrast */
    color: #f0f0f0;
    padding: 80px 0;
}

.page-about__introduction-section .page-about__section-title {
    color: #26A9E0;
}

/* Vision & Mission Section */
.page-about__vision-mission-section {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 80px 0;
}

.page-about__vision-mission-section .page-about__section-title {
    color: #26A9E0;
    margin-bottom: 60px;
}

.page-about__vision-mission-section .page-about__sub-title {
    color: #ffffff;
}

.page-about__grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.page-about__grid-layout .page-about__content-block {
    padding: 20px;
}

.page-about__grid-layout .page-about__image-block {
    text-align: center;
}

.page-about__grid-layout .page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    filter: none; /* Ensure no image filters */
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 80px 0;
}

.page-about__why-choose-us-section .page-about__section-title {
    color: #26A9E0;
}

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

.page-about__feature-card {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff; /* White text on card background */
}

.page-about__feature-icon {
    width: 100%; /* Ensure icon fills card width */
    max-width: 200px; /* But not too large */
    height: auto;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    border-radius: 8px;
    filter: none; /* Ensure no image filters */
}

.page-about__card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand color for card titles */
}

.page-about__card-text {
    font-size: 0.95rem;
    color: #e0e0e0;
}

/* Responsible Gambling Section */
.page-about__responsible-gambling-section {
    background-color: #0d0d0d;
    color: #ffffff;
    padding: 80px 0;
}

.page-about__responsible-gambling-section .page-about__section-title {
    color: #26A9E0;
    text-align: left;
}

.page-about__flex-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-about__flex-layout .page-about__content-block {
    flex: 1;
    padding: 20px;
}

.page-about__flex-layout .page-about__image-block {
    flex: 1;
    text-align: center;
}

.page-about__flex-layout .page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
    filter: none; /* Ensure no image filters */
}

/* Call to Action Section */
.page-about__cta-section {
    background-color: #1a1a1a;
    color: #f0f0f0;
    padding: 80px 0;
}

.page-about__cta-section .page-about__section-title {
    color: #26A9E0;
}

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

.page-about__btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .page-about__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-about__flex-layout {
        flex-direction: column;
    }
    .page-about__responsible-gambling-section .page-about__section-title {
        text-align: center;
    }
    .page-about__flex-layout .page-about__content-block {
        order: 2; /* Content after image on mobile */
    }
    .page-about__flex-layout .page-about__image-block {
        order: 1; /* Image first on mobile */
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }
    .page-about__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-about__description {
        font-size: 1rem;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__introduction-section,
    .page-about__vision-mission-section,
    .page-about__why-choose-us-section,
    .page-about__responsible-gambling-section,
    .page-about__cta-section {
        padding: 50px 0;
    }

    .page-about__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    .page-about__sub-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
    .page-about__text-block {
        font-size: 0.95rem;
    }

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

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size is maintained responsively */
        min-height: 200px !important;
    }

    .page-about__hero-image-wrapper,
    .page-about__content-block,
    .page-about__image-block,
    .page-about__feature-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-about__features-grid {
        gap: 20px;
    }
    .page-about__feature-icon {
        max-width: 180px !important; /* Adjust max-width for smaller screens */
        min-width: 180px !important;
        min-height: 180px !important;
    }
}

/* Ensure all content area images meet minimum size requirements */
.page-about__introduction-section img,
.page-about__vision-mission-section img,
.page-about__why-choose-us-section img,
.page-about__responsible-gambling-section img,
.page-about__cta-section img {
    min-width: 200px;
    min-height: 200px;
}

/* Color contrast enforcement */
.page-about__dark-bg {
    background-color: #0d0d0d;
    color: #ffffff;
}
.page-about__light-bg {
    background-color: #1a1a1a;
    color: #f0f0f0;
}
.page-about__card {
    background-color: rgba(255, 255, 255, 0.05); /* Ensure good contrast for text */
    color: #ffffff;
}
.page-about__card-title {
    color: #26A9E0; /* Brand color for titles */
}
.page-about__card-text {
    color: #e0e0e0; /* Lighter text for readability */
}

/* No filter property on images */
.page-about img {
    filter: none;
}