/* style/about.css */

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

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

.page-about__section-title {
    font-size: 2.5em;
    color: #1A2B4C;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-about__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #555555;
    text-align: center;
}

/* Hero Section */
.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f8f8;
    padding: 60px 20px;
    text-align: center;
}

.page-about__hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #1A2B4C;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-about__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A2B4C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Our Story Section */
.page-about__story-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-about__story-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-about__story-content {
    flex: 1;
    text-align: left;
}

.page-about__story-content .page-about__text {
    text-align: left;
}

.page-about__story-image-wrapper {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-about__story-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mission & Values Section */
.page-about__mission-values-section {
    padding: 80px 0;
    background-color: #1A2B4C;
    color: #ffffff;
}

.page-about__mission-values-section .page-about__section-title {
    color: #ffffff;
}

.page-about__mission-values-section .page-about__section-title::after {
    background-color: #FFD700;
}

.page-about__mission-values-section .page-about__text {
    color: #e0e0e0;
}

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

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

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

.page-about__value-icon {
    width: 100%; /* Ensure images are not small icons */
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-about__value-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-about__value-link {
    display: inline-block;
    margin-top: 15px;
    color: #FFD700;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-about__value-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* What We Offer Section */
.page-about__offer-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

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

.page-about__offer-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-about__offer-image {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-about__offer-title {
    font-size: 1.5em;
    color: #1A2B4C;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}

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

.page-about__cta-section .page-about__section-title {
    color: #ffffff;
}

.page-about__cta-section .page-about__section-title::after {
    background-color: #FFD700;
}

.page-about__cta-section .page-about__text {
    color: #e0e0e0;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__cta-button--primary {
    background-color: #FFD700;
    color: #1A2B4C;
}

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

.page-about__cta-button--secondary {
    background-color: #007bff; /* A complementary blue */
    color: #ffffff;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.1em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__story-grid {
        flex-direction: column;
    }
    .page-about__story-content, .page-about__story-image-wrapper {
        flex: none;
        width: 100%;
    }
    .page-about__values-grid, .page-about__offer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px;
    }
    .page-about__hero-title {
        font-size: 2.5em;
    }
    .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__text {
        font-size: 0.95em;
    }
    .page-about__value-title {
        font-size: 1.5em;
    }
    .page-about__offer-title {
        font-size: 1.3em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__cta-button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    /* Ensure content images do not overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
    /* Specific override for card images to ensure they are not too small */
    .page-about__value-icon, .page-about__offer-image, .page-about__story-image, .page-about__hero-image {
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__section-title {
        font-size: 1.5em;
    }
    .page-about__values-grid, .page-about__offer-grid {
        grid-template-columns: 1fr;
    }
    .page-about__hero-content, .page-about__story-content, .page-about__story-image-wrapper, .page-about__value-card, .page-about__offer-card {
        padding-left: 15px;
        padding-right: 15px;
    }
}