/* style/about.css */

/* Base styles for the about page */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #f4f4f4); /* Ensure consistency with shared.css */
}

/* Fixed header offset */
.page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Apply offset to the first section */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    background-color: #26A9E0; /* Brand primary color */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    padding-bottom: 60px; /* Add some bottom padding */
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

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

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

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Make image slightly transparent to help text stand out */
}

/* CTA Buttons */
.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box; /* Ensure padding doesn't affect width calculations */
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-about__btn-primary {
    background-color: #EA7C07; /* Login/Promotional color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

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

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

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

/* Section common styles */
.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.page-about__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.page-about__light-bg {
    background-color: #ffffff;
    color: #333333;
    padding: 80px 0;
}

.page-about__dark-bg {
    background-color: #26A9E0;
    color: #ffffff;
    padding: 80px 0;
}

.page-about__dark-bg .page-about__section-title,
.page-about__dark-bg .page-about__section-intro {
    color: #ffffff;
}

/* Mission & Vision Section */
.page-about__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__dark-bg .page-about__card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__card-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #26A9E0;
}

.page-about__dark-bg .page-about__card-title {
    color: #ffffff;
}

.page-about__card-text {
    font-size: 1em;
    line-height: 1.7;
    flex-grow: 1; /* Allow text to take up available space */
}

.page-about__card-image {
    width: 100%;
    max-width: 400px; /* Constrain image width within card */
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum size requirement */
}

/* Values Section */
.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__value-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-about__value-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #ffffff;
}

.page-about__value-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}
}