/* style/about.css */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
}

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

/* Hero Section */
.page-about__hero-section {
    padding-top: 10px; /* As per fixed header spacing rule */
    padding-bottom: 60px;
    text-align: center;
}

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

.page-about__description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF3E6;
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-about__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button color */
    color: #FFF3E6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 26, 0.6);
}

.page-about__btn-secondary {
    background: transparent;
    color: #FFA53A; /* Auxiliary color */
    border: 2px solid #FFA53A; /* Auxiliary color */
}

.page-about__btn-secondary:hover {
    background: rgba(255, 165, 58, 0.1);
    color: #FFF3E6;
}

/* General Section Styling */
.page-about__section {
    padding: 80px 0;
}

.page-about__section:nth-child(even) {
    background-color: #17191F; /* Card BG */
}

.page-about__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FF8C1A; /* Primary color */
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.3;
}

.page-about__sub-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    color: #FFB04D; /* Glow */
    margin-top: 40px;
    margin-bottom: 25px;
}

.page-about__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-about__text-block a {
    color: #FFA53A;
    text-decoration: underline;
}

.page-about__text-block a:hover {
    color: #FFB04D;
}

/* Figure and Image Styling */
.page-about__figure {
    margin: 40px auto;
    max-width: 680px;
    text-align: center;
}

.page-about__figure img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-about__figcaption {
    font-size: 0.9rem;
    color: #A84F0C; /* Border color */
    margin-top: 15px;
    font-style: italic;
}

/* Card Grid Styling */
.page-about__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-about__card {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #FFF3E6;
}

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

.page-about__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFA53A; /* Auxiliary color */
    margin-bottom: 15px;
}

.page-about__card-text {
    font-size: 1rem;
    color: #FFF3E6;
}

/* Feature List Styling */
.page-about__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-about__list-item {
    background-color: #17191F; /* Card BG */
    border-left: 5px solid #FF8C1A; /* Primary color */
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    color: #FFF3E6;
}

.page-about__list-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFB04D; /* Glow */
    margin-bottom: 10px;
}

.page-about__list-text {
    font-size: 1rem;
    color: #FFF3E6;
}

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

.page-about__faq-item {
    background-color: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #FFF3E6;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #FFA53A; /* Auxiliary color */
    cursor: pointer;
    background-color: #17191F; /* Card BG */
    list-style: none;
    position: relative;
    user-select: none;
}

.page-about__faq-question::-webkit-details-marker, 
.page-about__faq-question::marker {
    display: none;
}

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

.page-about__faq-item[open] .page-about__faq-toggle {
    transform: rotate(45deg);
}

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

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

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

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

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

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

    .page-about__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-about__sub-title {
        font-size: clamp(1.4rem, 2.5vw, 2rem);
    }

    .page-about__card-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    /* Top section title + dual CTA */
    .page-about__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-about__main-title {
        font-size: 2.2rem !important;
        margin-bottom: 15px;
    }
    .page-about__description {
        font-size: 1rem !important;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-about__btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Single column long text container */
    .page-about__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__section {
        padding: 40px 0 !important;
    }
    .page-about__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
    }
    .page-about__sub-title {
        font-size: 1.3rem !important;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-about__text-block {
        font-size: 0.95rem !important;
    }

    /* Generic image and figure */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-about__figure {
        margin: 30px auto !important;
        padding: 0 10px;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__figcaption {
        font-size: 0.85rem !important;
    }

    /* Buttons and button containers (already covered above, ensuring consistency) */
    .page-about__cta-buttons, 
    .page-about__button-group, 
    .page-about__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking for multiple buttons */
    }
    
    /* Card grid */
    .page-about__card-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .page-about__card {
        padding: 25px !important;
    }
    .page-about__card-title {
        font-size: 1.2rem !important;
    }
    .page-about__card-text {
        font-size: 0.95rem !important;
    }

    /* Feature List */
    .page-about__feature-list {
        margin-top: 30px;
    }
    .page-about__list-item {
        padding: 20px !important;
    }
    .page-about__list-title {
        font-size: 1.15rem !important;
    }
    .page-about__list-text {
        font-size: 0.95rem !important;
    }

    /* FAQ blocks */
    .page-about__faq-list {
        margin-top: 30px;
    }
    .page-about__faq-item {
        margin-bottom: 10px;
    }
    .page-about__faq-question {
        padding: 18px 20px !important;
        font-size: 1.05rem !important;
    }
    .page-about__faq-toggle {
        font-size: 1.3rem !important;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px 20px !important;
        font-size: 0.95rem !important;
    }
    .page-about__join-us {
        padding-bottom: 40px !important;
    }
}