/* style/about.css */

/* --- General Page Styling --- */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
}

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

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

.page-about__section-title {
    font-size: 2.8em;
    color: #F2C14E; /* Gold */
    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: 3px;
    background-color: #2E7A4E; /* Border */
}

.page-about__sub-title {
    font-size: 1.8em;
    color: #F2FFF6; /* Text Main */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about__text-block p,
.page-about__list li {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

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

.page-about__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.page-about__list li::before {
    content: '✅'; /* Or a custom icon */
    position: absolute;
    left: 0;
    color: #2AD16F; /* Button top color for emphasis */
}

/* --- Hero Section --- */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, relying on body for header offset */
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    max-height: 700px; /* Limit hero image height */
    object-fit: cover;
    display: block;
    margin-bottom: 40px; /* Space between image and content */
}

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

.page-about__main-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-about__subtitle {
    font-size: clamp(1.1em, 2vw, 1.4em);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

/* --- Buttons --- */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    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; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
    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: transparent;
    color: #2AD16F; /* Button top color */
    border: 2px solid #2AD16F; /* Button top color */
    margin-left: 15px;
}

.page-about__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    color: #F2FFF6;
    border-color: #F2FFF6;
    transform: translateY(-2px);
}

/* --- Card Layouts --- */
.page-about__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-about__grid-layout--two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
}

.page-about__grid-layout--reverse {
    flex-direction: row-reverse; /* Default for desktop */
}

.page-about__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid #1E3A2A; /* Divider */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-about__card-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    display: block; /* Ensure image behaves as block for max-width */
}

.page-about__content-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.page-about__image-wrapper {
    padding: 20px;
}

/* --- FAQ Section --- */
.page-about__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-about__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #1E3A2A; /* Divider */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-item summary {
    list-style: none; /* Hide default marker */
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    background-color: #0A4B2C; /* Deep Green */
    transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
    background-color: #13994A; /* Slightly lighter green */
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
    color: #F2C14E; /* Gold */
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .page-about__grid-layout--two-col {
        grid-template-columns: 1fr;
    }
    .page-about__grid-layout--reverse {
        flex-direction: column-reverse; /* For mobile, image above text */
    }
}

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

    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: 1.5em;
    }

    .page-about__text-block p,
    .page-about__list li,
    .page-about__faq-answer {
        font-size: 1em;
    }

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

    .page-about__subtitle {
        font-size: clamp(1em, 4vw, 1.2em);
    }

    .page-about__hero-section {
        padding-bottom: 40px;
    }

    .page-about__hero-image {
        margin-bottom: 20px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0 !important; /* Remove margin for single column layout */
        margin-bottom: 15px; /* Add spacing between stacked buttons */
    }

    .page-about__hero-content .page-about__btn-primary,
    .page-about__hero-content .page-about__btn-secondary {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 15px;
    }

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

    .page-about__grid-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__image-wrapper {
        padding: 0;
    }

    /* Mobile image and video responsive */
    .page-about img,
    .page-about video,
    .page-about__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .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; /* Ensure no horizontal scroll */
    }

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

    .page-about__faq-item summary {
        padding: 15px 20px;
        font-size: 1.1em;
    }

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