.page-about {
    font-family: 'Arial', sans-serif;
    color: #FFF1E8; /* Main text color for dark background */
    background-color: #140C0C; /* Overall page background */
    line-height: 1.6;
}

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

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

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Slightly darken image for text readability */
}

.page-about__hero-content {
    position: relative;
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
    margin-top: -100px; /* Pull content up slightly over image for better visual flow */
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: #FFB04A; /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__hero-description {
    font-size: 1.15rem;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    box-sizing: border-box;
    max-width: 100%; /* Ensure button fits container */
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
    color: #140C0C; /* Dark text for light button */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 176, 74, 0.4);
}

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

.page-about__btn-secondary {
    background-color: transparent;
    color: #FFB04A; /* Gold text for transparent button */
    border: 2px solid #FFB04A;
    box-shadow: 0 0 10px rgba(255, 176, 74, 0.2);
}

.page-about__btn-secondary:hover {
    background-color: rgba(255, 176, 74, 0.1);
    color: #F3C54D;
    border-color: #F3C54D;
    transform: translateY(-2px);
}

/* General Section Styling */
.page-about__section {
    padding: 60px 0;
    background-color: #140C0C;
}

.page-about__section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFB04A;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-about__sub-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #F3C54D;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about__text-block {
    font-size: 1.05rem;
    color: #FFF1E8;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* Why Choose Us Section */
.page-about__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-about__feature-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-about__feature-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-about__feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #FFB04A;
    margin-bottom: 15px;
}

.page-about__feature-description {
    font-size: 0.95rem;
    color: #FFF1E8;
    line-height: 1.6;
}

/* Mission & Vision Section */
.page-about__dark-section {
    background-color: #2A1212; /* Darker background for contrast */
    padding: 80px 0;
}

.page-about__content-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-about__content-text {
    flex: 2;
}

.page-about__content-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__image-full {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    min-height: 200px; /* Ensure minimum size */
}

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

.page-about__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about__faq-item[open] {
    background-color: #140C0C; /* Slightly darker when open */
    border-color: #C61F1F;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFB04A;
    cursor: pointer;
    list-style: none; /* Hide default marker for details/summary */
    transition: color 0.3s ease;
}

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

.page-about__faq-question:hover {
    color: #F3C54D;
}

.page-about__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: #C61F1F;
    transition: transform 0.3s ease;
}

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg); /* Change to X or rotate for open state */
    color: #FFB04A;
}

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

/* Join Us Section */
.page-about__join-us {
    text-align: center;
    padding: 80px 0;
}

.page-about__join-us .page-about__section-title {
    color: #FFB04A;
}

.page-about__join-us .page-about__text-block {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

.page-about__dark-bg {
    background-color: #2A1212; /* Card BG for this section container */
    padding: 50px;
    border-radius: 15px;
    border: 1px solid #6A1E1E;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 0 15px;
    }

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

    .page-about__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-about__section-title {
        font-size: 2.2rem;
    }

    .page-about__content-grid {
        flex-direction: column;
        align-items: center;
    }

    .page-about__content-text,
    .page-about__content-image {
        flex: none;
        width: 100%;
    }

    .page-about__image-full {
        max-width: 600px;
        margin-top: 30px;
    }
}


@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding, assuming shared.css handles body padding-top */
        padding-bottom: 30px;
    }

    .page-about__hero-content {
        margin-top: -60px; /* Adjust pull-up */
        padding: 0 15px;
    }

    .page-about__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-about__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__hero-cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    /* 4. Buttons and button containers */
    .page-about__btn,
    .page-about__hero-cta-buttons .page-about__btn,
    .page-about__join-us .page-about__cta-buttons .page-about__btn {
        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;
    }

    .page-about__hero-cta-buttons,
    .page-about__join-us .page-about__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Ensure vertical stacking for button groups */
        gap: 15px;
    }

    /* 2. Single column long-form container */
    .page-about__section {
        padding: 40px 0;
    }

    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important; /* Ensure content fits screen */
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-about__sub-title {
        font-size: 1.4rem;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-about__text-block {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    /* 3. General images and figure */
    .page-about img,
    .page-about__feature-image,
    .page-about__image-full {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-height: 200px !important; /* Ensure images are not too small */
    }

    /* For containers holding images, ensure they don't overflow */
    .page-about__feature-item,
    .page-about__content-image,
    .page-about__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-about__feature-grid {
        grid-template-columns: 1fr; /* Stack features vertically */
        gap: 20px;
    }

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

    .page-about__feature-image {
        max-width: 100%;
    }

    .page-about__dark-section {
        padding: 50px 0;
    }

    /* 5. FAQ Section */
    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-about__faq-toggle {
        font-size: 1.2rem;
    }

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

    .page-about__join-us {
        padding: 50px 0;
    }

    .page-about__join-us .page-about__dark-bg {
        padding: 30px 20px;
    }
}