:root {
    --background-color: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-about {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* #F2FFF6 */
    background-color: var(--background-color); /* #08160F */
    line-height: 1.6;
}

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

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 30px;
}

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

.page-about__hero-content {
    max-width: 900px;
    margin-top: 20px;
}

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

.page-about__intro-text {
    font-size: 1.1em;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 30px;
}

.page-about__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--text-main); /* #F2FFF6 */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.page-about__sub-title {
    font-size: clamp(1.4em, 2.8vw, 1.8em);
    color: var(--text-main); /* #F2FFF6 */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-about__text-block p {
    margin-bottom: 1em;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1em;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__list li {
    margin-bottom: 0.5em;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__list li strong {
    color: var(--text-main); /* #F2FFF6 */
}

.page-about__image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin: 30px 0;
    border-radius: 10px;
}

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

.page-about__dark-section {
    background-color: var(--card-bg); /* #11271B */
    color: var(--text-main); /* #F2FFF6 */
    border-radius: 10px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__dark-section .page-about__section-title,
.page-about__dark-section .page-about__sub-title {
    color: var(--gold); /* #F2C14E */
}

.page-about__dark-section p,
.page-about__dark-section li {
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__highlight-text {
    color: var(--glow); /* #57E38D */
    font-weight: bold;
}

/* Buttons */
.page-about__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%; /* Ensure container takes full width */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff; /* White text for contrast */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    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); /* #F2FFF6 */
    border: 2px solid var(--border); /* #2E7A4E */
}

.page-about__btn-secondary:hover {
    background-color: var(--deep-green); /* #0A4B2C */
    color: var(--glow); /* #57E38D */
    border-color: var(--glow); /* #57E38D */
    transform: translateY(-2px);
}

/* Links within text */
.page-about a {
    color: var(--glow); /* #57E38D */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about a:hover {
    color: var(--gold); /* #F2C14E */
    text-decoration: underline;
}

/* FAQ Section */
.page-about__faq-list {
    margin-top: 30px;
}

.page-about__faq-item {
    background-color: var(--card-bg); /* #11271B */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-secondary); /* #A7D9B8 */
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: var(--deep-green); /* #0A4B2C */
    color: var(--text-main); /* #F2FFF6 */
    font-weight: bold;
    font-size: 1.1em;
    user-select: none;
    list-style: none; /* Hide default marker for details */
}

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

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

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

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-about__faq-answer {
    padding: 20px 25px;
    border-top: 1px solid var(--divider); /* #1E3A2A */
    color: var(--text-secondary); /* #A7D9B8 */
}

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

/* Bottom CTA */
.page-about__cta-bottom-section {
    text-align: center;
    padding: 80px 20px;
}

.page-about__cta-bottom-section .page-about__section-title {
    color: var(--gold); /* #F2C14E */
}

.page-about__cta-description {
    font-size: 1.1em;
    color: var(--text-secondary); /* #A7D9B8 */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

    .page-about__section-title {
        font-size: clamp(1.6em, 4.5vw, 2.2em);
    }
}

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

    .page-about__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important;
    }

    .page-about__section {
        padding: 30px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-about__section-title {
        font-size: clamp(1.4em, 5.5vw, 2em);
    }

    .page-about__intro-text,
    .page-about__cta-description {
        font-size: 1em;
    }

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

    .page-about__image-wrapper,
    .page-about__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* FAQ items */
    .page-about__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-about__faq-answer {
        padding: 15px 20px;
    }

    .page-about__dark-section {
        margin-left: 15px;
        margin-right: 15px;
    }
}