/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for default light body background */
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #0A2463; /* Dark blue for main titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold accent */
    border-radius: 2px;
}

.page-about__section-intro,
.page-about__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button Styles */
.page-about__cta-button {
    display: inline-block;
    background-color: #FF6F00; /* Bright orange for action */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.page-about__cta-button:hover {
    background-color: #e66300;
    transform: translateY(-2px);
}

.page-about__cta-button--secondary {
    background-color: #0A2463; /* Dark blue for secondary CTA */
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-about__cta-button--secondary:hover {
    background-color: #1a3c7a;
    border-color: #ffe033;
}

.page-about__cta-button--centered {
    display: block;
    margin: 40px auto 20px auto;
}

.page-about__link-button {
    display: inline-block;
    color: #0A2463;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #0A2463;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 20px;
}

.page-about__link-button:hover {
    background-color: #0A2463;
    color: #FFD700;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    padding: 0; /* padding-top handled by .page-about */
}

.page-about__hero-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px; /* Minimum height for hero section */
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    max-height: 700px; /* Limit height for aesthetic */
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    max-width: 900px;
}

.page-about__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for hero title */
    line-height: 1.2;
}

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

/* Mission & Vision Section */
.page-about__mission-vision-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.page-about__mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

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

.page-about__mission-card:hover,
.page-about__vision-card:hover {
    transform: translateY(-5px);
}

.page-about__card-image {
    width: 100%;
    height: 300px; /* Consistent height for card images */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

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

.page-about__card-description {
    font-size: 1em;
    color: #555555;
}

/* Our Journey Section */
.page-about__our-journey-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-about__journey-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

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

.page-about__timeline-item {
    position: relative;
    padding: 20px 0;
    width: 50%;
}

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

.page-about__timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

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

.page-about__timeline-item:nth-child(odd)::after {
    right: -10px;
}

.page-about__timeline-item:nth-child(even)::after {
    left: -10px;
}

.page-about__timeline-year {
    font-size: 1.5em;
    color: #0A2463;
    margin-bottom: 10px;
}

.page-about__timeline-text {
    font-size: 1em;
    color: #555555;
}

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

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

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

.page-about__feature-card:hover {
    transform: translateY(-5px);
}

.page-about__feature-icon {
    width: 100%; /* Make image fill card width */
    height: 200px; /* Fixed height for feature images */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-about__feature-title {
    font-size: 1.6em;
    color: #0A2463;
    margin-bottom: 10px;
}

.page-about__feature-text {
    font-size: 1em;
    color: #555555;
}

/* Responsible Gaming Section */
.page-about__responsible-gaming-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}