/* style/about.css */
/* Custom properties for colors from the prompt */
:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-bg-dark: #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;
}

.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark body background */
    background-color: var(--color-bg-dark); /* Ensure body background is dark */
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-deep-green); /* Fallback/background for hero */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height of hero image for better content visibility */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-about__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    z-index: 1;
    color: var(--color-text-main);
    background-color: var(--color-deep-green); /* Ensure good contrast */
    width: 100%; /* Ensure content block takes full width up to max-width */
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-gold); /* Using gold for main title for prominence */
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--color-text-secondary);
}

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

/* General Section Styles */
.page-about__section {
    padding: 60px 20px;
    text-align: center;
}

.page-about__dark-section {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
}

.page-about__light-section {
    background-color: var(--color-text-main); /* Using text-main as background for light sections */
    color: var(--color-bg-dark); /* Dark text for light background */
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-gold); /* Gold for section titles on dark bg */
}

.page-about__section-title--dark {
    color: var(--color-deep-green); /* Dark green for section titles on light bg */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-about__container--center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-about__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
}

.page-about__text-block--center {
    max-width: 800px;
    margin: 0 auto 20px auto;
    color: var(--color-deep-green); /* Dark text on light background */
}

.page-about__sub-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-primary); /* Primary color for sub-titles */
}

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

.page-about__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    min-width: 200px; /* Minimum image size */
    min-height: 200px; /* Minimum image size */
}

.page-about__image--small {
    max-width: 600px;
    margin: 20px auto;
}

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

.page-about__feature-card {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.page-about__feature-card p {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--color-text-secondary);
}

.page-about__feature-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.page-about__feature-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
}

.page-about__feature-card ul li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
}

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

.page-about__commitment-item {
    background-color: var(--color-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
}

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

.page-about__commitment-item p {
    font-size: 1rem;
    color: var(--color-text-secondary);
}

/* CTA Section */
.page-about__cta-section {
    padding: 80px 20px;
    background-color: var(--color-deep-green); /* Using deep green for CTA section */
    color: var(--color-text-main);
}

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

.page-about__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box; /* Ensure padding is included */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-about__btn-primary {
    background: var(--color-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--color-gold); /* Gold text for contrast */
    border: 2px solid var(--color-gold);
}

.page-about__btn-secondary:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-dark); /* Dark text on gold hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Default button for other links */
.page-about a.page-about__cta-button:not(.page-about__btn-primary):not(.page-about__btn-secondary) {
    background-color: var(--color-primary);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about a.page-about__cta-button:not(.page-about__btn-primary):not(.page-about__btn-secondary):hover {
    background-color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}


/* FAQ Section */
.page-about__faq-section {
    background-color: var(--color-text-main); /* Light background for FAQ */
    color: var(--color-bg-dark); /* Dark text for light background */
    padding: 60px 20px;
}

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

.page-about__faq-item {
    background-color: #ffffff; /* White background for each FAQ item */
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--color-deep-green); /* Dark green background for question */
    color: var(--color-gold); /* Gold text for question */
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* Remove default marker for summary */
}

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

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

.page-about__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    transition: transform 0.3s ease;
    color: var(--color-gold); /* Gold toggle icon */
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1rem;
    color: var(--color-bg-dark); /* Dark text on light background */
    background-color: #ffffff;
}

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


/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__content-grid {
        grid-template-columns: 1fr;
    }
    .page-about__image-block {
        order: -1; /* Image appears above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__section {
        padding: 40px 15px;
    }

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

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

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

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

    .page-about__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

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

    /* Mobile image adaptation */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure minimum size is maintained */
        min-height: 200px !important;
    }

    .page-about__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Video responsiveness (if any, though none in this specific page) */
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-about__video-section {
        padding-top: 10px !important;
    }
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Button responsiveness */
    .page-about__cta-button,
    .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;
    }
    .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;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-about__cta-buttons {
        flex-direction: column; /* Vertical stack for buttons on mobile */
    }
}

/* Ensure content area images are not too small by CSS */
.page-about__content-grid img,
.page-about__features-grid img,
.page-about__commitment-grid img {
    min-width: 200px;
    min-height: 200px;
}

/* No CSS filters for images */
.page-about img {
    filter: none; /* Explicitly ensure no filters are applied */
}