/* style/about.css */

.page-about {
    color: #333333; /* Dark text for default light body background */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is below fixed header */
    background-color: #008000; /* Dark green background for hero content */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-about__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

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

.page-about__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    padding: 20px;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.page-about__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-about__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold */
    color: #008000; /* Dark Green */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-about__cta-button:hover {
    background-color: #008000; /* Dark Green */
    color: #FFD700; /* Gold */
    border-color: #FFD700;
}

/* Section Titles */
.page-about__section-title {
    font-size: 2.5em;
    color: #008000; /* Dark Green */
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
    position: relative;
}

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

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

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

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

.page-about__card:hover {
    transform: translateY(-10px);
}

.page-about__card-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

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

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
}

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

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

.page-about__value-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-about__value-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-about__value-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold */
    margin-bottom: 10px;
}

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

/* History Section */
.page-about__history-section {
    padding: 60px 0;
    background-color: #f0fdf0;
}

.page-about__history-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-about__history-image {
    flex: 1 1 45%;
    min-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 600px;
    height: 450px;
    object-fit: cover;
}

.page-about__history-text-block {
    flex: 1 1 45%;
    min-width: 300px;
}

.page-about__history-paragraph {
    margin-bottom: 20px;
    font-size: 1.05em;
    color: #444444;
}

.page-about__learn-more-button {
    display: inline-block;
    background-color: #008000; /* Dark Green */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-about__learn-more-button:hover {
    background-color: #005f00; /* Darker Green */
}

/* CTA Section */
.page-about__cta-section {
    background-color: #008000; /* Dark Green */
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.page-about__cta-title {
    font-size: 3em;
    color: #FFD700; /* Gold */
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

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

.page-about__cta-button--primary {
    background-color: #FFD700; /* Gold */
    color: #008000; /* Dark Green */
    border: 2px solid #FFD700;
}

.page-about__cta-button--primary:hover {
    background-color: #008000; /* Dark Green */
    color: #FFD700; /* Gold */
    border-color: #FFD700;
}

.page-about__cta-button--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border: 2px solid #FFD700;
}

.page-about__cta-button--secondary:hover {
    background-color: #FFD700; /* Gold */
    color: #008000; /* Dark Green */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__cta-title {
        font-size: 2.5em;
    }
    .page-about__history-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding-top: var(--header-offset, 80px); /* Adjust for mobile header offset */
    }
    .page-about__hero-content {
        max-width: 90%;
        padding: 15px;
    }
    .page-about__hero-title {
        font-size: 2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
    .page-about__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-about__grid, .page-about__values-grid {
        grid-template-columns: 1fr;
    }
    .page-about__history-content {
        flex-direction: column;
    }
    .page-about__history-image {
        min-width: unset;
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    .page-about__history-text-block {
        min-width: unset;
    }
    .page-about__section-title {
        font-size: 1.8em;
    }
    .page-about__cta-title {
        font-size: 2em;
    }
    .page-about__cta-text {
        font-size: 1.1em;
    }
    .page-about__card-icon, .page-about__value-icon {
        width: 150px;
        height: 100px;
    }
    /* Ensure all content area images are responsive and don't overflow */
    .page-about img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-about__hero-title {
        font-size: 1.8em;
    }
    .page-about__cta-title {
        font-size: 1.8em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__cta-button {
        width: 100%;
        max-width: 280px;
    }
}