:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --btn-gradient-top: #2AD16F;
    --btn-gradient-bottom: #13994A;
    --card-bg: #11271B;
    --bg-color: #08160F; /* This should ideally come from shared.css */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* General Styling for page-about */
.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--bg-color); /* From shared.css, expected to be dark */
}

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

.page-about__section-title {
    font-size: 2.5em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-about__description,
.page-about__description-secondary {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-about__highlight {
    color: var(--gold);
    font-weight: bold;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Constrain image height */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.8); /* Slightly dim the image for better text readability */
}

.page-about__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-about__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
}

.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary,
.page-about__btn-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, var(--btn-gradient-top) 0%, var(--btn-gradient-bottom) 100%);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.page-about__btn-secondary:hover {
    background-color: var(--border-color);
    color: var(--bg-color); /* Darker text on lighter background */
}

.page-about__btn-link {
    color: var(--gold);
    text-decoration: underline;
    padding: 0;
    border: none;
    background: none;
    font-size: 1em;
}

.page-about__btn-link:hover {
    color: var(--glow);
}

/* Dark Section Styling */
.page-about__dark-section {
    background-color: var(--bg-color);
    padding: 60px 0;
}

/* Mission & Vision Section */
.page-about__mission-vision-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-about__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.page-about__content-grid--reverse {
    grid-template-areas: "image text"; /* For commitment section, image on left */
}

.page-about__content-grid--reverse .page-about__text-block {
    grid-area: text;
}

.page-about__content-grid--reverse .page-about__image-block {
    grid-area: image;
}

.page-about__text-block p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-align: left;
}

.page-about__text-block a {
    color: var(--gold);
    text-decoration: underline;
}

.page-about__text-block a:hover {
    color: var(--glow);
}

.page-about__image-block {
    text-align: center;
}

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure it behaves as a block for centering/sizing */
    margin: 0 auto;
}

/* Values Section */
.page-about__values-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: var(--card-bg); /* Use card background for this section */
}

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

.page-about__card {
    background-color: var(--card-bg); /* Card BG for cards */
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards in grid have equal height */
    box-sizing: border-box;
}

.page-about__card-title {
    font-size: 1.4em;
    color: var(--gold);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-about__card p {
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    text-align: left;
}

/* Products & Services Section */
.page-about__products-services-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

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

.page-about__service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.page-about__service-image {
    width: 100%;
    height: 200px; /* Fixed height for service images */
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-about__service-card .page-about__card-title {
    padding: 0 20px;
    margin-bottom: 10px;
    text-align: left;
    color: var(--gold);
}

.page-about__service-card p {
    padding: 0 20px 20px 20px;
    margin-top: 0;
    text-align: left;
    color: var(--text-secondary);
    flex-grow: 1; /* Push content to bottom if needed */
}

/* Why Choose Us Section */
.page-about__why-choose-us-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: var(--card-bg);
}

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

.page-about__feature-item {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Commitment Section */
.page-about__commitment-section {
    padding: 60px 0;
    margin-bottom: 40px;
}

/* FAQ Section */
.page-about__faq-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: var(--card-bg);
}

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

.page-about__faq-item {
    margin-bottom: 20px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0; /* Remove default padding for details */
    overflow: hidden; /* For smooth transition */
}

.page-about__faq-item[open] {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main);
    background-color: var(--deep-green); /* Slightly darker background for summary */
    border-bottom: 1px solid var(--divider-color);
    list-style: none; /* Hide default marker */
}

.page-about__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-about__faq-qtext {
    flex-grow: 1;
    color: var(--text-main);
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--gold);
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Change + to X */
}

.page-about__faq-answer {
    padding: 20px 30px 30px 30px;
    font-size: 1em;
    line-height: 1.7;
    color: var(--text-secondary);
    border-top: 1px solid var(--divider-color);
}

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

.page-about__faq-answer a {
    color: var(--gold);
    text-decoration: underline;
}

.page-about__faq-answer a:hover {
    color: var(--glow);
}

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

.page-about__contact-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--card-bg);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 20px 30px;
    }

    .page-about__section-title {
        font-size: 2em;
    }

    .page-about__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }

    .page-about__content-grid {
        grid-template-columns: 1fr;
    }

    .page-about__content-grid--reverse {
        grid-template-areas: unset;
        grid-template-columns: 1fr;
    }

    .page-about__content-grid--reverse .page-about__text-block,
    .page-about__content-grid--reverse .page-about__image-block {
        grid-area: unset;
    }

    .page-about__values-grid,
    .page-about__services-grid,
    .page-about__why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    /* General Mobile Adjustments */
    .page-about {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-about__container {
        padding: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-about__description,
    .page-about__description-secondary {
        font-size: 1em;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    /* HERO Section */
    .page-about__hero-section {
        padding-top: 10px; /* Small top padding */
        margin-bottom: 40px;
    }

    .page-about__hero-image-wrapper {
        max-height: 300px;
    }

    .page-about__hero-content {
        padding: 0 15px;
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* More constrained on mobile */
        margin-bottom: 15px;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    /* Buttons */
    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    /* Image Responsiveness (General) */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Content Grids */
    .page-about__content-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .page-about__values-grid,
    .page-about__services-grid,
    .page-about__why-choose-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .page-about__text-block p {
        font-size: 0.95em;
    }

    .page-about__card {
        padding: 25px;
    }

    .page-about__card-title {
        font-size: 1.2em;
    }

    .page-about__service-image {
        height: 160px; /* Adjust height for mobile */
    }

    /* FAQ Section */
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1.1em;
    }

    .page-about__faq-answer {
        padding: 15px 20px 20px 20px;
        font-size: 0.95em;
    }

    /* Contact CTA Section */
    .page-about__contact-cta-section {
        padding: 50px 0;
    }

    .page-about__contact-cta-content {
        padding: 30px;
    }
}