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

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Default text color for the page, assuming dark body bg */
    background-color: var(--background-color); /* Matches custom background color */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--background-color);
}

.page-about__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-about__hero-content {
    text-align: center;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    font-weight: 700;
    line-height: 1.2;
    color: var(--gold-color);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.6);
}

.page-about__description {
    font-size: 1.2em;
    line-height: 1.6;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For mobile responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word;
    text-align: center;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main-color);
    border: none;
    margin: 0 10px;
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin: 0 10px;
}

.page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
}

.page-about__section {
    padding: 60px 0;
    background-color: var(--background-color);
}

.page-about__section:nth-of-type(odd) {
    background-color: var(--background-color);
}

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

.page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-about__section-intro {
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-secondary-color);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

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

.page-about__text-block {
    flex: 1;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--text-main-color);
}

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

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

.page-about__image-right,
.page-about__image-left {
    flex: 1;
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

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

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

.page-about__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px var(--glow-color);
}

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

.page-about__feature-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
}

.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-about__feature-list li {
    margin-bottom: 10px;
    font-size: 1em;
    line-height: 1.5;
    color: var(--text-secondary-color);
    position: relative;
    padding-left: 25px;
}

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

.page-about__commitment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-about__commitment-list li {
    background-color: var(--card-bg-color);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    line-height: 1.6;
    color: var(--text-main-color);
    position: relative;
    padding-left: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--deep-green-color);
}

.page-about__commitment-list li::before {
    content: '✔️';
    position: absolute;
    left: 15px;
    top: 20px;
    color: var(--glow-color);
    font-size: 1.2em;
}

.page-about__cta-section {
    background-color: var(--deep-green-color);
    padding: 80px 0;
    text-align: center;
}

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

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__faq-section {
    background-color: var(--background-color);
    padding-bottom: 80px;
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--text-main-color);
    background-color: var(--card-bg-color);
    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: var(--deep-green-color);
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--gold-color);
    margin-left: 20px;
}

.page-about__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--text-secondary-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-about__faq-item[open] .page-about__faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding-top: 10px;
}

/* Ensure strong text in dark backgrounds has enough contrast */
.page-about strong {
    color: var(--gold-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .page-about__image-right, .page-about__image-left {
        margin-bottom: 30px;
    }

    .page-about__hero-content {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

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

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

    .page-about__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

    .page-about__description {
        font-size: 1em;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important; /* Ensure full width on mobile */
        margin: 10px 0 !important; /* Stack buttons vertically */
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

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

    .page-about__section-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
        margin-bottom: 30px;
    }

    .page-about__section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

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

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

    .page-about__feature-card {
        padding: 20px;
    }

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

    .page-about__feature-image {
        height: auto;
        max-width: 100% !important;
        width: 100% !important;
        display: block !important;
        min-width: 200px; 
        min-height: 200px;
    }

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

    .page-about__commitment-list li {
        font-size: 1em;
        padding-left: 35px;
    }

    .page-about__commitment-list li::before {
        left: 10px;
    }

    .page-about__cta-section {
        padding: 60px 0;
    }

    .page-about__faq-question {
        font-size: 1.05em;
        padding: 15px 20px;
    }

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

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

    .page-about__hero-image,
    .page-about__image-right,
    .page-about__image-left {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}