/* 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: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green: #0A4B2C;
}

.page-about {
    font-family: Arial, sans-serif;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--background-color); /* Matches body background if shared.css sets --background to this */
}

.page-about__section {
    padding: 60px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-about__section--no-padding-top {
    padding-top: 0;
}

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

.page-about__dark-bg {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-about__light-bg {
    background-color: var(--text-main);
    color: #333333; /* Dark text for light background */
}

.page-about__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    position: relative;
    overflow: hidden;
    text-align: center;
    color: var(--text-main);
}

.page-about__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-about__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-about__hero-content-area {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
    border-radius: 10px;
}

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

.page-about__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: var(--text-secondary);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__cta-buttons--centered {
    margin-top: 30px;
}

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

.page-about__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-about__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-main);
    transform: translateY(-2px);
}

.page-about__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--gold-color);
}

.page-about__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__text-main {
    color: var(--text-main);
}

.page-about__text-secondary {
    color: var(--text-secondary);
}

.page-about__introduction-section .page-about__text-block {
    color: #333333; /* Dark text on light background */
}

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

.page-about__card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    position: relative;
    overflow: hidden;
}

.page-about__card-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, var(--glow-color) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.page-about__card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--gold-color);
    position: relative;
    z-index: 1;
}

.page-about__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

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

.page-about__list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.page-about__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
    filter: brightness(0.8);
    display: block;
}

.page-about__history-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-about__why-choose-us .page-about__text-block {
    color: #333333;
}

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

.page-about__customer-support-section {
    background-color: var(--deep-green);
    color: var(--text-main);
}

.page-about__image-centered {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin: 30px auto;
    display: block;
    filter: brightness(0.8);
}

.page-about__join-us-section {
    background-color: var(--background-color);
    color: var(--text-main);
}

.page-about__faq-section {
    background-color: var(--text-main);
    color: #333333;
}

.page-about__faq-list {
    max-width: 800px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.page-about__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main);
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    background-color: var(--deep-green);
    color: var(--text-main);
    position: relative;
    user-select: none;
    list-style: none;
}

.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(--gold-color);
}

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

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

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-section {
        min-height: 400px;
    }
    .page-about__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-about__hero-description {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    .page-about__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
}

@media (max-width: 768px) {
    .page-about__section {
        padding: 40px 15px;
    }
    .page-about__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        min-height: 350px;
    }
    .page-about__hero-content-area {
        padding: 20px;
    }
    .page-about__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-about__hero-description {
        font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .page-about__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .page-about__introduction-section,
    .page-about__history-section,
    .page-about__why-choose-us,
    .page-about__customer-support-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;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__mission-values,
    .page-about__feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-about__card {
        padding: 20px;
    }
    .page-about__card-image,
    .page-about__image-centered {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }
    .page-about__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-about__faq-toggle {
        font-size: 1.5rem;
    }
    .page-about__faq-answer {
        padding: 0 20px 15px 20px;
    }
    .page-about__text-block,
    .page-about__list li,
    .page-about p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
}