/* style/about.css */

.page-about {
    font-family: Arial, sans-serif;
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset for PC and mobile */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #1E90FF; /* Auxiliary color as background for content overlay */
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff; /* Light text on dark blue background */
    min-height: 500px; /* Ensure hero has a minimum height */
}

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

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay to allow text readability */
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-about__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for main title */
}

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

.page-about__hero-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Dark blue text on gold */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 200px;
    text-align: center;
    font-size: 1.1em;
}

.page-about__hero-button:hover {
    background-color: #e6c200; /* Darker gold on hover */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: #1E90FF; /* Dark blue title */
    margin-bottom: 40px;
}

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

.page-about__mission-card,
.page-about__vision-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-about__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

.page-about__card-title {
    font-size: 1.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 15px;
}

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

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
    background-color: #ffffff;
    text-align: center;
}

.page-about__section-intro {
    font-size: 1.1em;
    color: #666666;
    margin-bottom: 50px;
}

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

.page-about__value-item {
    background-color: #f0f8ff; /* Light blue background for value items */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__value-icon {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
    border-radius: 5px;
    object-fit: cover;
}

.page-about__value-title {
    font-size: 1.5em;
    color: #1E90FF; /* Dark blue title */
    margin-bottom: 10px;
}

.page-about__value-text {
    font-size: 0.95em;
    color: #555555;
}

/* Call to Action Section */
.page-about__cta-section {
    padding: 80px 0;
    background-color: #1E90FF; /* Dark blue background */
    text-align: center;
    color: #ffffff;
}

.page-about__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold title */
    margin-bottom: 20px;
}

.page-about__cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-about__cta-button {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 220px;
    text-align: center;
}

.page-about__cta-button--primary {
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Dark blue text */
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-about__cta-button--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-about__cta-button--secondary {
    background-color: transparent;
    border: 2px solid #FFD700; /* Gold border */
    color: #FFD700; /* Gold text */
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.page-about__cta-button--secondary:hover {
    transform: translateY(-3px);
    background-color: #FFD700; /* Gold background on hover */
    color: #1E90FF; /* Dark blue text on hover */
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__mission-vision-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 60px 0;
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__mission-card,
    .page-about__vision-card {
        padding: 25px;
    }
    .page-about__card-title {
        font-size: 1.5em;
    }
    .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__value-item {
        padding: 20px;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-description {
        font-size: 1.1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-about__cta-button {
        width: 100%;
        max-width: 280px;
    }
    /* Ensure content area images do not overflow */
    .page-about__hero-image,
    .page-about__card-image,
    .page-about__value-icon {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.7em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__hero-section {
        padding: 40px 0;
    }
}