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

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

.page-about__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 40px auto 0;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: #ffffff;
}

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

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

.page-about__cta-button {
    display: inline-block;
    background-color: #1E90FF; /* Auxiliary blue */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button:hover {
    background-color: #007bff;
    transform: translateY(-3px);
}

.page-about__section-title {
    font-size: 2.8em;
    color: #FF4500; /* Main orange-red */
    text-align: center;
    margin-bottom: 60px;
    margin-top: 80px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #1E90FF;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-about__mission-vision {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-about__mission-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-about__mission-image {
    flex: 1; /* Allows image to grow */
    min-width: 400px; /* Minimum width before wrapping */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.page-about__mission-text {
    flex: 2; /* Allows text to grow more */
    min-width: 300px;
}

.page-about__subsection-title {
    font-size: 2em;
    color: #1E90FF; /* Auxiliary blue */
    margin-bottom: 20px;
}

.page-about__mission-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555555;
}

.page-about__why-choose-us {
    background-color: #f9f9f9;
    padding: 80px 20px;
}

.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-about__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.page-about__card-title {
    font-size: 1.5em;
    color: #FF4500; /* Main orange-red */
    margin-bottom: 20px;
}

.page-about__feature-image {
    width: 100%;
    max-width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__feature-card p {
    font-size: 1em;
    color: #666666;
}

.page-about__feature-card a {
    color: #1E90FF;
    text-decoration: none;
    font-weight: bold;
}

.page-about__feature-card a:hover {
    text-decoration: underline;
}

.page-about__responsible-gaming {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-about__responsible-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.page-about__responsible-text {
    flex: 2;
    min-width: 300px;
}

.page-about__responsible-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #555555;
}

.page-about__responsible-image {
    flex: 1;
    min-width: 400px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

.page-about__learn-more-button {
    display: inline-block;
    background-color: #FF4500; /* Main orange-red */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-about__learn-more-button:hover {
    background-color: #cc3700;
    transform: translateY(-2px);
}

.page-about__call-to-action {
    background-color: #1E90FF; /* Auxiliary blue */
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-about__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-about__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-about__cta-button--large {
    padding: 18px 40px;
    font-size: 1.3em;
    background-color: #FF4500; /* Main orange-red */
}

.page-about__cta-button--large:hover {
    background-color: #cc3700;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2.5em;
    }
    .page-about__mission-image, .page-about__responsible-image {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-top: var(--header-offset, 80px);
        padding-bottom: 40px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__cta-button {
        font-size: 1em;
        padding: 12px 25px;
    }
    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 40px;
        margin-top: 60px;
    }
    .page-about__mission-content, .page-about__responsible-content {
        flex-direction: column;
        text-align: center;
    }
    .page-about__mission-image, .page-about__responsible-image {
        min-width: unset;
        width: 100%;
        max-width: 100%;
    }
    .page-about__feature-card {
        padding: 20px;
    }
    .page-about__feature-image {
        max-width: 100%;
        height: auto;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1em;
    }
    .page-about__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    /* Mobile content image constraint */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    /* Ensure all images in content area are not smaller than 200px when styled */
    .page-about__mission-image, 
    .page-about__feature-image, 
    .page-about__responsible-image {
        min-width: 200px; 
        min-height: 200px; /* Ensure minimum display size */
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__subsection-title {
        font-size: 1.5em;
    }
    .page-about__card-title {
        font-size: 1.3em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
}