/* style/about.css */

/* Base Styles */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    background-color: #08160F;
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 70vh; /* Limit height for hero image */
}

.page-about__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding: 0 20px;
    z-index: 1;
}

.page-about__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-about__hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* General Section Styles */
.page-about__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #F2FFF6; /* Default for dark backgrounds */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

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

.page-about__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-about__content-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.page-about__content-flex--reverse {
    flex-direction: row-reverse;
}

.page-about__text-content {
    flex: 1;
}

.page-about__image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Specific Section Backgrounds and Text Colors */
.page-about__light-bg {
    background-color: #f0f0f0; /* Lighter background for contrast */
    color: #333333;
    padding: 80px 0;
}

.page-about__light-bg .page-about__section-title {
    color: #11A84E; /* Brand color for titles on light bg */
}

.page-about__light-bg .page-about__text-block {
    color: #333333;
}

.page-about__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    padding: 80px 0;
}

.page-about__dark-bg .page-about__section-title {
    color: #F2FFF6; /* Text Main */
}

.page-about__dark-bg .page-about__text-block {
    color: #A7D9B8; /* Text Secondary */
}

/* Card Styles */
.page-about__value-grid,
.page-about__vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-about__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border */
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__card-title {
    font-size: 1.5rem;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__card-description {
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

/* Button Styles */
.page-about__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button color */
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    background-color: transparent;
    color: #2AD16F; /* Brighter green for contrast */
    border: 2px solid #2AD16F;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-about__btn-secondary:hover {
    background-color: #2AD16F;
    color: #F2FFF6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Contact CTA Section */
.page-about__contact-cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-about__contact-cta-content {
    max-width: 800px;
}

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

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

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

.page-about__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    background-color: #11271B; /* Card BG */
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

.page-about__faq-question::-webkit-details-marker {
    display: none;
}

.page-about__faq-question:hover {
    background-color: #1a3528; /* Slightly darker on hover */
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #2AD16F;
    margin-left: 15px;
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__content-flex {
        flex-direction: column;
        text-align: center;
    }

    .page-about__content-flex--reverse {
        flex-direction: column-reverse;
    }

    .page-about__image-wrapper {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-bottom: 40px;
    }

    .page-about__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-about__hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }

    .page-about__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-about__light-bg,
    .page-about__dark-bg,
    .page-about__faq-section,
    .page-about__contact-cta-section {
        padding: 60px 0;
    }

    .page-about__container {
        padding: 0 15px; /* Add padding for mobile content */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    /* Image responsiveness for mobile */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* All containers with images */
    .page-about__hero-section,
    .page-about__introduction-section,
    .page-about__history-section,
    .page-about__values-section,
    .page-about__technology-section,
    .page-about__team-section,
    .page-about__vision-mission-section,
    .page-about__faq-section,
    .page-about__contact-cta-section,
    .page-about__value-card,
    .page-about__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding for sections already handled by .page-about__container */
    }

    .page-about__hero-section {
        padding-top: 10px !important; /* Ensure small padding, not header-offset */
    }

    .page-about__faq-question {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .page-about__faq-answer {
        padding: 0 20px 15px;
    }
}