/* style/about.css */

/* --- General Styling and Reset (scoped to .page-about) --- */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main, #F2FFF6); /* Default text color on dark body background */
    background-color: var(--background, #08160F); /* Body background */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-about a {
    text-decoration: none;
    color: var(--primary-color, #11A84E);
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: var(--secondary-color, #22C768);
}

.page-about h1,
.page-about h2,
.page-about h3,
.page-about h4,
.page-about h5,
.page-about h6 {
    color: var(--text-main, #F2FFF6); /* Headings use main text color */
    margin-bottom: 1em;
    line-height: 1.2;
}

.page-about p {
    margin-bottom: 1em;
    color: var(--text-main, #F2FFF6); /* Paragraphs use main text color */
}

.page-about ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1em;
}

.page-about ul li {
    margin-bottom: 0.5em;
    padding-left: 1.5em;
    position: relative;
    color: var(--text-main, #F2FFF6);
}

.page-about ul li::before {
    content: '•'; /* Custom bullet point */
    color: var(--primary-color, #11A84E);
    position: absolute;
    left: 0;
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color, #11A84E);
    border-radius: 2px;
}

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* For responsive buttons */
    word-wrap: break-word; /* For responsive buttons */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

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

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--primary-color, #11A84E);
    border: 2px solid var(--primary-color, #11A84E);
}

.page-about__btn-secondary:hover {
    background-color: var(--primary-color, #11A84E);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    width: 100%; /* For responsive button container */
    max-width: 100%; /* For responsive button container */
    overflow: hidden; /* For responsive button container */
    box-sizing: border-box; /* For responsive button container */
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    padding: 60px 0 0; /* body handles padding-top from header, this is for internal spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--background, #08160F);
    color: var(--text-main, #F2FFF6);
    overflow: hidden; /* Ensure image does not overflow */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px; /* Space between image and content */
    box-sizing: border-box;
}

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

.page-about__hero-content {
    max-width: 900px;
    text-align: center;
    padding: 0 20px 60px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: clamp(2em, 5vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
}

.page-about__description {
    font-size: 1.1em;
    opacity: 0.9;
    margin-bottom: 30px;
}

/* --- Content Sections with Images --- */
.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

.page-about__content-grid:nth-of-type(even) {
    flex-direction: row-reverse; /* Alternate image/text order */
}

.page-about__text-block {
    flex: 1;
    min-width: 300px;
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* --- Core Values Section --- */
.page-about__core-values {
    background-color: var(--card-bg, #11271B); /* Card background color */
    padding: 80px 0;
}

.page-about__core-values .page-about__section-title {
    color: var(--text-main, #F2FFF6);
}

.page-about__core-values .page-about__section-title::after {
    background-color: var(--secondary-color, #22C768);
}

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

.page-about__value-card {
    background-color: var(--card-bg, #11271B); /* Card background */
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #2E7A4E);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.page-about__value-card .page-about__card-title {
    font-size: 1.5em;
    color: var(--gold-color, #F2C14E); /* Gold color for card titles */
    margin-bottom: 15px;
}

.page-about__value-card p {
    color: var(--text-secondary, #A7D9B8); /* Secondary text color */
}

/* --- Why Choose Us Section --- */
.page-about__why-choose-us .page-about__section-title::after {
    background-color: var(--secondary-color, #22C768);
}

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

.page-about__why-choose-us .page-about__card {
    background-color: var(--card-bg, #11271B);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color, #2E7A4E);
}

.page-about__why-choose-us .page-about__card-title {
    font-size: 1.4em;
    color: var(--gold-color, #F2C14E);
    margin-bottom: 15px;
}

.page-about__why-choose-us .page-about__card p {
    color: var(--text-secondary, #A7D9B8);
}

/* --- Team Section --- */
.page-about__team-section {
    background-color: var(--card-bg, #11271B);
    padding: 80px 0;
}

.page-about__team-section .page-about__section-title {
    color: var(--text-main, #F2FFF6);
}

.page-about__team-section .page-about__section-title::after {
    background-color: var(--primary-color, #11A84E);
}

/* --- FAQ Section --- */
.page-about__faq-section {
    background-color: var(--background, #08160F);
    padding: 80px 0;
}

.page-about__faq-section .page-about__section-title {
    color: var(--text-main, #F2FFF6);
}

.page-about__faq-section .page-about__section-title::after {
    background-color: var(--secondary-color, #22C768);
}

.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-about__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border-color, #2E7A4E);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    background-color: var(--deep-green-color, #0A4B2C); /* Slightly different background for question */
    border-bottom: 1px solid var(--divider-color, #1E3A2A);
    transition: background-color 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-question {
    background-color: var(--primary-color, #11A84E);
    color: #ffffff;
    border-bottom: 1px solid var(--primary-color, #11A84E);
}

.page-about__faq-question:hover {
    background-color: var(--primary-color, #11A84E);
    color: #ffffff;
}

.page-about__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
    font-size: 1.1em;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.page-about__faq-answer {
    padding: 20px 25px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 0.95em;
    line-height: 1.8;
}

.page-about__faq-answer p {
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 0;
}

/* Hide default details arrow */
.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}
.page-about__faq-item summary {
    list-style: none;
}

/* --- Contact Us Section --- */
.page-about__contact-us {
    background-color: var(--card-bg, #11271B);
    padding: 80px 0;
}

.page-about__contact-us .page-about__section-title {
    color: var(--text-main, #F2FFF6);
}

.page-about__contact-us .page-about__section-title::after {
    background-color: var(--primary-color, #11A84E);
}

.page-about__contact-grid {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
    text-align: left;
}

.page-about__contact-list {
    margin-top: 20px;
}

.page-about__contact-list li {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: var(--text-main, #F2FFF6);
}

.page-about__contact-list li strong {
    color: var(--gold-color, #F2C14E);
}

/* --- Final CTA Section --- */
.page-about__final-cta {
    padding: 80px 0;
    background-color: var(--background, #08160F);
}

.page-about__cta-content {
    max-width: 900px;
}

.page-about__final-cta .page-about__section-title {
    color: var(--text-main, #F2FFF6);
}

.page-about__final-cta .page-about__section-title::after {
    background-color: var(--secondary-color, #22C768);
}

.page-about__final-cta .page-about__description {
    font-size: 1.1em;
    opacity: 0.9;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-about__section-title {
        font-size: 2em;
    }
    .page-about__hero-content {
        padding-bottom: 40px;
    }
    .page-about__content-grid {
        flex-direction: column;
        gap: 30px;
    }
    .page-about__content-grid:nth-of-type(even) {
        flex-direction: column; /* Reset order for smaller screens */
    }
    .page-about__contact-grid {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-about__hero-section {
        padding-top: 10px; /* Small top padding, body handles header offset */
    }
    .page-about__hero-content {
        padding-top: 20px;
        padding-bottom: 30px;
    }
    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-about__description {
        font-size: 1em;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        margin: 0 !important;
        max-width: 100% !important;
        padding-left: 15px; /* Add padding for content inside button */
        padding-right: 15px;
    }

    /* Images responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__image-block,
    .page-about__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-about__hero-section {
        padding-left: 0 !important; /* Hero section itself might not need padding */
        padding-right: 0 !important;
    }
    .page-about__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-about__values-grid,
    .page-about__reason-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-about__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }
    .page-about__contact-list li {
        font-size: 1em;
    }
}

/* Custom CSS variables for colors */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --background: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

/* Ensure contrast for specific elements if needed, though global dark background handles it */
/* This section is for fallback or explicit overrides if default text color is not enough */
.page-about__card-title,
.page-about__faq-qtext,
.page-about__contact-list li strong {
    color: var(--gold-color, #F2C14E); /* Ensure these are always high contrast */
}
.page-about__faq-question {
    color: var(--text-main, #F2FFF6); /* Ensure question text is main text color */
}