:root {
    /* Custom Colors from prompt */
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient-start: #2AD16F;
    --color-button-gradient-end: #13994A;
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;

    /* Default text colors based on assumed dark body background */
    --text-color-dark-bg: var(--color-text-main); /* Light text for dark backgrounds */
    --text-color-light-bg: #333333; /* Dark text for light backgrounds */
}

/* Base styles for the page content */
.page-about {
    background-color: var(--color-background); /* Deep green background */
    color: var(--text-color-dark-bg); /* Light text for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space above footer */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for hero section */
    background-color: var(--color-deep-green); /* A slightly different dark background for hero */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and content */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    color: var(--color-gold); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-about__description {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* Ensure container takes full width */
    max-width: 600px; /* Limit max width for button group */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow on flex items */
}

.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.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    text-align: center;
    box-sizing: border-box; /* Include padding in width */
    border: 2px solid transparent;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: var(--color-text-main); /* Light text */
    box-shadow: 0 4px 15px rgba(var(--color-button-gradient-end), 0.4);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, var(--color-button-gradient-end) 0%, var(--color-button-gradient-start) 100%);
    box-shadow: 0 6px 20px rgba(var(--color-button-gradient-end), 0.6);
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background: transparent;
    color: var(--color-button-gradient-start); /* Use a green shade for text */
    border-color: var(--color-button-gradient-start);
}

.page-about__btn-secondary:hover {
    background-color: rgba(var(--color-button-gradient-start), 0.1);
    color: var(--color-text-main);
    border-color: var(--color-text-main);
    transform: translateY(-2px);
}

.page-about__btn-link {
    background: none;
    color: var(--color-gold);
    padding: 5px 0;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 1px solid var(--color-gold);
    display: inline-block;
}

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

/* General Section Styling */
.page-about__section {
    padding: 80px 0;
    border-bottom: 1px solid var(--color-divider); /* Subtle divider */
}

.page-about__section:last-of-type {
    border-bottom: none;
    padding-bottom: 80px;
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-about__section-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.page-about__text-block {
    flex: 1;
    color: var(--color-text-secondary);
    font-size: 1.05rem;
}

.page-about__text-block h3 {
    color: var(--color-text-main);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.page-about__text-block p {
    margin-bottom: 15px;
}

.page-about__text-block p:last-child {
    margin-bottom: 0;
}

.page-about__image-wrapper {
    flex: 1;
    min-width: 300px; /* Minimum width for image block */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-about__image-wrapper--full-width {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
    box-sizing: border-box;
}

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

/* Feature Grid */
.page-about__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: var(--color-card-bg); /* Dark card background */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-align: left;
    color: var(--color-text-secondary);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-about__feature-title {
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin-bottom: 15px;
    font-weight: 600;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: var(--color-deep-green); /* Slightly different background for FAQ */
    padding: 80px 0;
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    background-color: var(--color-deep-green); /* Darker background for question */
    border-bottom: 1px solid var(--color-divider);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-about__faq-question:hover {
    background-color: var(--color-deep-green); /* Keep same background on hover */
    color: var(--color-gold); /* Highlight text on hover */
}

.page-about__faq-item[open] .page-about__faq-question {
    background-color: var(--color-deep-green);
    border-bottom-color: transparent; /* No border when open */
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-gold);
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: "−"; /* Change to minus when open */
    color: var(--color-primary);
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--color-text-secondary);
    background-color: var(--color-card-bg); /* Lighter background for answer content */
    border-top: 1px solid var(--color-divider);
}

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

.page-about__faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }

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

    .page-about__description {
        font-size: 1.05rem;
    }

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

    .page-about__section-title {
        font-size: clamp(1.6rem, 4vw, 2.4rem);
    }

    .page-about__content-wrapper,
    .page-about__content-wrapper--reverse {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__text-block,
    .page-about__image-wrapper {
        flex: none;
        width: 100%;
    }

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

@media (max-width: 768px) {
    /* General mobile padding */
    .page-about__container {
        padding: 0 15px;
    }

    /* Hero section adjustments */
    .page-about__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-about__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-about__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important; /* Ensure full width */
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to button group */
    }

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about__btn-link,
    .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; /* Adjust padding for smaller buttons */
    }

    /* Section adjustments */
    .page-about__section {
        padding: 40px 0;
    }

    .page-about__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 15px;
    }

    .page-about__section-subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .page-about__content-wrapper {
        gap: 20px;
        margin-top: 20px;
    }

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

    .page-about__text-block h3 {
        font-size: 1.3rem;
    }

    /* Feature grid adjustments */
    .page-about__feature-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
        margin-top: 20px;
    }

    .page-about__feature-item {
        padding: 25px;
    }

    .page-about__feature-title {
        font-size: 1.2rem;
    }

    /* FAQ adjustments */
    .page-about__faq-section {
        padding: 40px 0;
    }

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

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

    .page-about__faq-toggle {
        font-size: 1.5rem;
    }

    .page-about__faq-answer {
        font-size: 0.9rem;
        padding: 15px 20px;
    }

    /* Image 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__hero-image-wrapper,
    .page-about__image-wrapper--full-width {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no overflow */
    }

    .page-about__image-wrapper--full-width {
        margin-bottom: 20px;
    }

    /* Specific video section top padding if needed, but body handles global */
    .page-about__video-section {
        padding-top: 10px !important;
    }
}

/* Ensure content area images are not smaller than 200px (desktop) */
.page-about__content-area img,
.page-about__text-block img,
.page-about__feature-item img {
  min-width: 200px;
  min-height: 200px;
}