:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --primary-rgb: 17, 168, 78; /* RGB for #11A84E */
    --secondary-rgb: 34, 199, 104; /* RGB for #22C768 */

    /* Custom Palette */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background: #08160F;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* Base styles for the about page content */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color, adjusted by contrast logic */
    background-color: var(--background); /* Overall page background */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    overflow: hidden; /* Ensure no overflow */
}

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

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

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    color: var(--text-main); /* Ensure text is visible on potentially dark image */
    z-index: 2; /* Ensure content is above any overlays */
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--gold); /* Use a vibrant color for main title */
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    color: var(--text-secondary);
}

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

/* Section Titles */
.page-about__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--gold);
}

.page-about__section-description {
    font-size: clamp(1em, 1.2vw, 1.1em);
    text-align: center;
    max-width: 800px;
    margin: -20px auto 40px auto;
    color: var(--text-secondary);
}

.page-about__sub-title {
    font-size: clamp(1.2em, 2vw, 1.8em);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

/* Text Blocks & Grids */
.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 desktop */
}

.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 {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.page-about__text-block strong {
    color: var(--text-main);
}

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

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

/* Values Section */
.page-about__values-section {
    background-color: var(--deep-green); /* Dark section background */
    color: var(--text-main); /* Light text on dark background */
}

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

.page-about__value-card {
    background-color: var(--card-bg); /* Card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__value-card .page-about__image {
    margin-top: 20px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-about__value-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold);
}

/* Products Section */
.page-about__products-section {
    background-color: var(--background); /* Light section background */
    color: var(--text-main);
}

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

.page-about__product-card {
    background-color: var(--card-bg); /* Card background */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__product-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-about__product-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold);
}

.page-about__product-card p {
    flex-grow: 1;
    margin-bottom: 20px;
}

/* Promotions Section */
.page-about__promotions-section {
    background-color: var(--deep-green); /* Dark section background */
    color: var(--text-main);
}

.page-about__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-about__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.page-about__list li::before {
    content: '✓'; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: var(--glow);
    font-weight: bold;
}

.page-about__list.page-about__list--ordered {
    list-style: decimal;
    padding-left: 20px;
}

.page-about__list.page-about__list--ordered li {
    padding-left: 5px;
}

.page-about__list.page-about__list--ordered li::before {
    content: none;
}

/* Commitment Section */
.page-about__commitment-section {
    background-color: var(--background); /* Light section background */
    color: var(--text-main);
}

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

.page-about__commitment-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-secondary);
    text-align: center;
}

.page-about__commitment-card .page-about__image {
    margin-top: 20px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.page-about__commitment-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold);
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--deep-green); /* Dark section background */
    color: var(--text-main);
}

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

.page-about__faq-item {
    background-color: var(--card-bg); /* Card background */
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.1em;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--divider);
    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: rgba(var(--primary-rgb), 0.1);
}

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

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

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

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

.page-about__faq-answer p {
    margin-bottom: 15px;
}

.page-about__faq-answer .page-about__btn-secondary {
    margin-top: 10px;
}

/* Contact Section */
.page-about__contact-section {
    background-color: var(--background); /* Light section background */
    color: var(--text-main);
    text-align: center;
}

.page-about__contact-info {
    margin-top: 30px;
    margin-bottom: 40px;
    color: var(--text-secondary);
}

.page-about__contact-info p {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-about__contact-info a {
    color: var(--glow);
    text-decoration: none;
    font-weight: 600;
}

.page-about__contact-info a:hover {
    text-decoration: underline;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in width */
    max-width: 100%; /* Default for all buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* For long words */
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.4);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.6);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--glow); /* Brand color for secondary button text */
    border: 2px solid var(--glow);
    box-shadow: none;
}

.page-about__btn-secondary:hover {
    background-color: var(--glow);
    color: var(--deep-green); /* Darker text on hover for contrast */
    box-shadow: 0 2px 8px rgba(var(--glow-rgb), 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-about__content-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none; /* Reset grid area for single column */
    }

    .page-about__content-grid--reverse .page-about__text-block {
        grid-area: auto; /* Reset */
    }

    .page-about__content-grid--reverse .page-about__image-block {
        grid-area: auto; /* Reset */
    }

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

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles header offset */
    }

    .page-about__container {
        padding: 30px 15px;
    }

    .page-about__main-title {
        font-size: 2.2em; /* Adjust for smaller screens */
    }

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

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

    .page-about__sub-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Images responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image containers responsiveness */
    .page-about__hero-image-wrapper,
    .page-about__image-block,
    .page-about__product-card,
    .page-about__value-card,
    .page-about__commitment-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .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-left: 15px;
        padding-right: 15px;
        margin-bottom: 10px; /* Stack buttons */
    }

    /* Button containers responsiveness */
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    /* FAQ items padding adjustment for mobile */
    .page-about__faq-question,
    .page-about__faq-answer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Print styles */
@media print {
    .page-about__hero-section,
    .page-about__image-block {
        display: none;
    }
    .page-about {
        color: #000;
        background: #fff;
    }
    .page-about__section-title,
    .page-about__sub-title {
        color: #000;
    }
    .page-about a {
        text-decoration: underline;
        color: #007bff;
    }
}