/* style/about.css */
.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light body background */
    background-color: #f8f8f8; /* A very light background for the page content */
}

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

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

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #140C0C; /* Using custom background color */
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding */
    padding-bottom: 60px;
    overflow: hidden;
}

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

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover for desktop */
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    color: #FFF1E8; /* Text Main for dark background */
    max-width: 900px;
}

.page-about__main-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F3C54D; /* Gold color */
}

.page-about__description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 10px;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #FFF1E8; /* Text Main */
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background: transparent;
    color: #FFB04A; /* Gold color for text */
    border: 2px solid #FFB04A; /* Gold color for border */
}

.page-about__btn-secondary:hover {
    background: #FFB04A;
    color: #140C0C; /* Background color for hover text */
    transform: translateY(-2px);
}

.page-about__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #C61F1F; /* Primary color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-about__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFB04A; /* Gold color */
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-about__text-block {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
    color: #333333; /* Dark text for light background */
}

.page-about__about-us-intro .page-about__text-block {
    color: #333333;
}

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

.page-about__feature-card {
    background: #2A1212; /* Card BG */
    color: #FFF1E8; /* Text Main */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.page-about__feature-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    display: block;
}

.page-about__feature-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #F3C54D; /* Gold */
}

.page-about__feature-text {
    font-size: 15px;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    opacity: 0.85;
}

.page-about__core-values .page-about__text-block {
    color: #333333;
}

.page-about__values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__value-item {
    background: #ffffff; /* White background for contrast */
    border: 1px solid #6A1E1E; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: #333333; /* Dark text for light background */
}

.page-about__value-title {
    font-size: 22px;
    font-weight: 700;
    color: #C61F1F; /* Primary color */
    margin-bottom: 15px;
}

.page-about__value-text {
    font-size: 15px;
    line-height: 1.6;
}

.page-about__how-to-join .page-about__text-block {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    color: #333333;
}

.page-about__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__step-card {
    background: #2A1212; /* Card BG */
    color: #FFF1E8; /* Text Main */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__step-title {
    font-size: 22px;
    font-weight: 700;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
}

.page-about__step-text {
    font-size: 15px;
    line-height: 1.6;
    color: #FFF1E8; /* Text Main */
    opacity: 0.85;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-about__faq-section {
    background-color: #f0f0f0; /* Light background for FAQ */
}

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

.page-about__faq-item {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    color: #C61F1F; /* Primary color */
    transition: background-color 0.3s ease;
}

.page-about__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-about__faq-item summary:hover {
    background-color: #f5f5f5;
}

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

.page-about__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: #C61F1F;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−';
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #555555;
}

.page-about__faq-answer p {
    margin-top: 10px;
}

.page-about__contact-cta {
    padding: 80px 0;
    background-color: #140C0C; /* Background color */
}

.page-about__contact-cta .page-about__container {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #2A1212; /* Card BG */
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #FFF1E8; /* Text Main */
}

.page-about__cta-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.page-about__cta-content {
    width: 60%;
    text-align: left;
}

.page-about__contact-cta .page-about__section-title {
    color: #F3C54D; /* Gold */
    text-align: left;
    margin-bottom: 20px;
}

.page-about__contact-cta .page-about__section-title::after {
    margin-left: 0;
}

.page-about__contact-cta .page-about__text-block {
    color: #FFF1E8; /* Text Main */
    margin-bottom: 30px;
    text-align: left;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__main-title {
        font-size: 40px;
    }

    .page-about__section-title {
        font-size: 32px;
    }

    .page-about__features-grid,
    .page-about__values-grid,
    .page-about__steps-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .page-about__contact-cta .page-about__container {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .page-about__cta-image {
        width: 80%;
        margin-bottom: 30px;
    }

    .page-about__cta-content {
        width: 100%;
        text-align: center;
    }

    .page-about__contact-cta .page-about__section-title,
    .page-about__contact-cta .page-about__section-title::after,
    .page-about__contact-cta .page-about__text-block {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .page-about__cta-buttons {
        justify-content: center;
    }
}

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

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

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

    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }

    .page-about__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain; /* Important: Use contain for mobile hero to prevent cropping */
        aspect-ratio: unset !important; /* Remove aspect ratio if set */
        max-height: none !important; /* Remove max-height */
    }

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

    .page-about__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-about__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

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

    .page-about__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically on mobile */
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

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

    .page-about__features-grid,
    .page-about__values-grid,
    .page-about__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__feature-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px; /* Ensure minimum size */
    }

    .page-about__feature-card,
    .page-about__value-item,
    .page-about__step-card {
        padding: 25px;
    }

    .page-about__feature-title,
    .page-about__value-title,
    .page-about__step-title {
        font-size: 20px;
    }

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

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

    .page-about__contact-cta {
        padding: 50px 0;
    }

    .page-about__contact-cta .page-about__container {
        padding: 30px;
    }

    .page-about__cta-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 200px; /* Ensure minimum size */
        margin-bottom: 20px;
    }

    .page-about__contact-cta .page-about__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-about__contact-cta .page-about__text-block {
        margin-bottom: 20px;
    }

    /* Generic image responsive styles for all images within .page-about */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-image-wrapper,
    .page-about__cta-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
}