/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

/* Container for consistent padding and max-width */
.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Section titles */
.page-about__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for main titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__hero-description,
.page-about__main-intro-paragraph {
    font-size: 1.2em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__paragraph {
    font-size: 1.1em;
    margin-bottom: 1em;
    color: #e0e0e0; /* Lighter text for paragraphs on dark background */
}

.page-about__list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 1em;
    color: #e0e0e0;
}

.page-about__list-item {
    margin-bottom: 0.5em;
    font-size: 1.1em;
}

/* Colors for sections based on background */
.page-about__dark-bg {
    background-color: #1A237E; /* Royal Blue */
    color: #ffffff;
    padding: 60px 0;
}

.page-about__light-bg {
    background-color: #f8f9fa; /* Light background for contrast */
    color: #333333;
    padding: 60px 0;
}

.page-about__light-bg .page-about__section-title,
.page-about__light-bg .page-about__paragraph,
.page-about__light-bg .page-about__list-item {
    color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 0;
    padding-top: var(--header-offset, 120px); /* Ensure space below fixed header */
    overflow: hidden;
    min-height: 500px;
}

.page-about__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Subtle background image */
}

.page-about__hero-section .page-about__container {
    position: relative;
    z-index: 1;
}

/* Buttons */
a.page-about__btn-primary,
a.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    margin: 10px;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal;
    word-wrap: break-word;
}

a.page-about__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #1A237E; /* Royal Blue */
    border: 2px solid #FFD700;
}

a.page-about__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

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

a.page-about__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A237E;
}

/* Mission & Vision / Two Column Layout */
.page-about__two-column-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-about__two-column-layout .page-about__text-content {
    flex: 1;
}

.page-about__two-column-layout .page-about__image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Why Choose on88 Grid */
.page-about__features-grid,
.page-about__tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__feature-card,
.page-about__tech-item {
    background-color: rgba(255, 255, 255, 0.1); /* Light transparent background on dark sections */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}