:root {
    --color-primary: #11A84E; /* Main color */
    --color-secondary: #22C768; /* Auxiliary color */
    --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;
}

.page-about {
    background-color: var(--color-background); /* Overall dark background for the page content */
    color: var(--color-text-main); /* Light text on dark background */
    font-family: Arial, sans-serif; /* Example font */
    line-height: 1.6;
}

/* Ensure body padding is handled by shared.css, page sections only use small top padding */
.page-about__hero-section {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack image and content vertically */
    align-items: center;
    background-color: var(--color-deep-green); /* Example background for hero section */
    padding-top: 10px; /* Small top padding for the section itself */
    padding-bottom: 40px; /* Space below content */
}

.page-about__hero-image {
    width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
}

.page-about__hero-content {
    text-align: center;
    padding: 20px;
    background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for readability */
    padding: 30px;
    border-radius: 10px;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    margin-top: 30px; /* Space below the image */
}

.page-about__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--color-gold); /* Gold color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-about__description {
    font-size: 1.1rem;
    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 buttons to wrap on smaller screens */
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
}

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

.page-about__btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 2px solid var(--color-border);
}

.page-about__btn-secondary:hover {
    background-color: var(--color-border);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-about__section:nth-of-type(even) {
    background-color: var(--color-card-bg); /* Alternate background for sections */
}

.page-about__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for container */
    box-sizing: border-box;
}

.page-about__section-title {
    font-size: 2.5rem;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-about__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.page-about__sub-title {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-about__text a {
    color: var(--color-gold);
    text-decoration: underline;
}

.page-about__image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-about__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--color-text-main);
}

.page-about__list-item::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* FAQ Section */
.page-about__section--faq {
    background-color: var(--color-card-bg);
}

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--color-text-main);
    font-size: 1.15rem;
    list-style: none; /* For details/summary */
}

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

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

.page-about__faq-toggle {
    font-size: 1.5rem;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

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

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

.page-about__faq-answer a {
    color: var(--color-gold);
    text-decoration: underline;
}

/* Contact Section */
.page-about__section--contact {
    text-align: center;
}

.page-about__contact-info {
    margin-top: 30px;
}

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

.page-about__contact-info .page-about__btn-primary,
.page-about__contact-info .page-about__btn-secondary {
    margin: 10px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-image {
        max-height: 400px;
    }
    .page-about__hero-content {
        padding: 25px;
    }
    .page-about__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-about__section-title {
        font-size: 2rem;
    }
    .page-about__sub-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .page-about__hero-image {
        max-height: 300px;
    }
    .page-about__hero-content {
        padding: 20px;
        margin-top: 20px; /* Adjusted for mobile */
    }
    .page-about__main-title {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }
    .page-about__description {
        font-size: 1rem;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__container {
        padding: 0; /* Remove inner padding as section already has it */
    }
    .page-about__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.4rem;
    }
    .page-about__text,
    .page-about__list-item {
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    /* All content containers must be responsive */
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__hero-content,
    .page-about__cta-buttons,
    .page-about__contact-info {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    /* Video section (if present) small top padding */
    .page-about__video-section {
        padding-top: 10px !important;
    }
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-about__hero-image {
        max-height: 200px;
    }
    .page-about__hero-content {
        padding: 15px;
    }
    .page-about__main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
    }
    .page-about__section-title {
        font-size: 1.6rem;
    }
    .page-about__sub-title {
        font-size: 1.2rem;
    }
}

/* Ensure content area images are not too small */
.page-about__container img,
.page-about__section img {
    min-width: 200px;
    min-height: 200px;
    /* To prevent images from shrinking below 200px in flex/grid contexts */
    flex-shrink: 0;
    flex-grow: 0;
}

/* Ensure text contrast for links */
.page-about a {
    color: var(--color-gold);
}

.page-about a:hover {
    color: var(--color-glow);
}