/* style/about.css */

/* Base Styles for the page-about scope */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #ffffff; /* Default background */
}

/* Header offset for main content */
.page-about__hero-section {
    padding-top: var(--header-offset, 120px);
}

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

/* Section Styling */
.page-about__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

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

.page-about__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-about__text-block--white {
    color: #ffffff;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    color: #ffffff;
    overflow: hidden;
    padding-bottom: 60px;
}

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

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.page-about__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

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

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

/* Buttons */
.page-about__btn-primary {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}

.page-about__btn-primary:hover {
    background-color: #a00606;
    transform: translateY(-2px);
}

.page-about__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.5em;
}

.page-about__btn-secondary {
    display: inline-block;
    background-color: #017439;
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    margin-left: 20px;
    box-sizing: border-box;
}

.page-about__btn-secondary:hover {
    background-color: #005a2d;
    transform: translateY(-2px);
}

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


/* Introduction Section */
.page-about__introduction-section {
    padding: 80px 0;
}

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

.page-about__value-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

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

.page-about__value-description {
    font-size: 1em;
    color: #555555;
}

/* History Section */
.page-about__dark-section {
    background-color: #017439;
    color: #ffffff;
    padding: 80px 0;
}

.page-about__milestones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-about__milestone-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__milestone-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-about__milestone-title {
    font-size: 1.6em;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.page-about__milestone-description {
    font-size: 0.95em;
    color: #F0F0F0;
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 80px 0;
}

.page-about__features-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-about__feature-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-about__feature-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 10px;
}

.page-about__feature-description {
    font-size: 1em;
    color: #555555;
}

/* Products Section */
.page-about__products-section {
    padding: 80px 0;
}

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

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

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

.page-about__product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.page-about__product-title {
    font-size: 1.5em;
    color: #FFFFFF;
    margin: 15px 10px 10px;
}

.page-about__product-title a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__product-title a:hover {
    color: #FFFF00;
}

.page-about__product-description {
    font-size: 0.95em;
    color: #F0F0F0;
    padding: 0 15px 15px;
}

.page-about__card-link {
    display: inline-block;
    background-color: #C30808;
    color: #FFFF00;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 20px;
    transition: background-color 0.3s ease;
}

.page-about__card-link:hover {
    background-color: #a00606;
}

/* Commitment Section */
.page-about__commitment-section {
    padding: 80px 0;
}

.page-about__commitment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: center;
}

.page-about__commitment-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-about__commitment-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 15px;
}

.page-about__commitment-title {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 10px;
}

.page-about__commitment-title a {
    color: #017439;
    text-decoration: none;
}

.page-about__commitment-title a:hover {
    text-decoration: underline;
}

.page-about__commitment-description {
    font-size: 1em;
    color: #555555;
}

/* Team Section */
.page-about__team-section {
    padding: 80px 0;
}

.page-about__team-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 50px auto 0 auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-about__faq-section {
    padding: 80px 0;
}

.page-about__faq-list {
    max-width: 900px;
    margin: 50px auto 0 auto;
}

.page-about__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: #eeeeee;
}

.page-about__faq-title {
    font-size: 1.2em;
    color: #017439;
    margin: 0;
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #017439;
    margin-left: 20px;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px;
}

.page-about__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
    text-align: left;
}

.page-about__faq-answer a {
    color: #017439;
    text-decoration: underline;
}

.page-about__faq-answer a:hover {
    color: #005a2d;
}

/* Call to Action Section */
.page-about__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-about__cta-content {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 40px;
    border-radius: 10px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 3em;
    }
    .page-about__hero-description {
        font-size: 1.2em;
    }
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__text-block {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 15px;
    }

    /* Fixed header offset for mobile, applied to the first content section */
    .page-about__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-about__hero-title {
        font-size: 2.2em;
    }
    .page-about__hero-description {
        font-size: 1em;
    }
}