/* style/about.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --background-color: #08160F;
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
}

.page-about {
    color: var(--text-main-color); /* Default text color for dark background */
    background-color: var(--background-color);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

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

.page-about__section-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.2;
}

.page-about__text-block {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-secondary-color);
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: var(--deep-green-color);
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

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

.page-about__main-title {
    font-size: clamp(36px, 5vw, 56px);
    color: var(--gold-color);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.5);
}

.page-about__hero-description {
    font-size: 20px;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    box-sizing: border-box;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    margin-right: 20px;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-about__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--background-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

/* Section Styling */
.page-about__introduction-section,
.page-about__why-choose-section,
.page-about__social-responsibility-section,
.page-about__faq-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.page-about__dark-section {
    background-color: var(--deep-green-color);
}

.page-about__vision-mission-section,
.page-about__team-section,
.page-about__join-us-section {
    padding: 80px 0;
    background-color: var(--background-color);
}

.page-about__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-main-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-about__card-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-about__card-image,
.page-about__feature-icon,
.page-about__team-avatar,
.page-about__full-width-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-about__card-text {
    font-size: 16px;
    color: var(--text-secondary-color);
    line-height: 1.7;
    text-align: justify;
}

/* Vision & Mission */
.page-about__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Why Choose Us */
.page-about__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-about__feature-item {
    padding: 25px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.page-about__feature-title {
    font-size: 22px;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.page-about__feature-description {
    font-size: 16px;
    color: var(--text-secondary-color);
    line-height: 1.7;
    text-align: justify;
}

/* Team Section */
.page-about__team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-about__team-member {
    padding: 25px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
}

.page-about__team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border: 3px solid var(--gold-color);
}

.page-about__member-name {
    font-size: 20px;
    color: var(--text-main-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.page-about__member-role {
    font-size: 16px;
    color: var(--text-secondary-color);
}

/* Social Responsibility */
.page-about__full-width-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Join Us Section */
.page-about__join-us-section {
    background-color: var(--background-color);
    padding: 80px 0;
}

.page-about__join-us-content {
    background-color: var(--deep-green-color);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-about__join-us-content .page-about__section-title {
    color: var(--gold-color);
    margin-bottom: 25px;
}

.page-about__join-us-content .page-about__text-block {
    color: var(--text-main-color);
    font-size: 18px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main-color);
    cursor: pointer;
    background-color: var(--card-bg);
    border-bottom: 1px solid transparent;
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: var(--deep-green-color);
}

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

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

.page-about__faq-qtext {
    flex-grow: 1;
    color: var(--text-main-color);
}

.page-about__faq-toggle {
    font-size: 24px;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-about__faq-item[open] .page-about__faq-question {
    border-bottom-color: var(--border-color);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__container {
        padding: 15px;
    }
    .page-about__main-title {
        font-size: clamp(32px, 4.5vw, 48px);
    }
    .page-about__hero-description {
        font-size: 18px;
    }
    .page-about__section-title {
        font-size: clamp(24px, 3.5vw, 40px);
    }
    .page-about__text-block {
        font-size: 16px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-about__card-title {
        font-size: 22px;
    }
    .page-about__feature-title {
        font-size: 20px;
    }
    .page-about__team-avatar {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }
    .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-bottom: 40px;
        padding-top: 10px !important;
    }
    .page-about__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-about__main-title {
        font-size: clamp(28px, 8vw, 40px);
    }
    .page-about__hero-description {
        font-size: 16px;
    }
    .page-about__section-title {
        font-size: clamp(22px, 7vw, 36px);
        margin-bottom: 30px;
    }
    .page-about__text-block {
        font-size: 15px;
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        padding: 12px 15px;
        font-size: 16px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-about__grid-layout,
    .page-about__features-grid,
    .page-about__team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-about__card {
        padding: 20px;
    }
    .page-about__card-title {
        font-size: 20px;
    }
    .page-about__feature-title {
        font-size: 18px;
    }
    .page-about__team-avatar {
        width: 100px;
        height: 100px;
    }
    .page-about__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px;
        font-size: 14px;
    }

    /* Image & Video Responsive (Mandatory) */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-about__hero-image-wrapper,
    .page-about__card,
    .page-about__feature-item,
    .page-about__team-member,
    .page-about__full-width-image,
    .page-about__faq-item,
    .page-about__introduction-section,
    .page-about__vision-mission-section,
    .page-about__why-choose-section,
    .page-about__team-section,
    .page-about__social-responsibility-section,
    .page-about__join-us-section,
    .page-about__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-section {
        padding-bottom: 30px;
    }
    .page-about__main-title {
        font-size: clamp(24px, 9vw, 36px);
    }
    .page-about__hero-description {
        font-size: 15px;
    }
    .page-about__section-title {
        font-size: clamp(20px, 8vw, 30px);
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        font-size: 15px;
        padding: 10px 10px;
    }
    .page-about__card-title {
        font-size: 18px;
    }
    .page-about__feature-title {
        font-size: 16px;
    }
    .page-about__team-avatar {
        width: 80px;
        height: 80px;
    }
}