/* style/about.css */

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

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

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

.page-about__dark-section {
    background-color: var(--s666-background);
    color: var(--s666-text-main);
    padding: 60px 0;
}

.page-about__section-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--s666-text-main);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-about__subtitle {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 600;
    color: var(--s666-accent-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-about__description {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--s666-text-secondary);
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: var(--s666-text-main);
}

.page-about__text-block strong {
    color: var(--s666-accent-color);
}

.page-about__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-about__list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--s666-text-main);
}

.page-about__list li::before {
    content: '•';
    color: var(--s666-accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

/* Buttons */
.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: var(--s666-button-gradient);
    color: var(--s666-text-main);
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

.page-about__btn-secondary:hover {
    background: var(--s666-accent-color);
    color: var(--s666-text-main);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.2);
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__btn-large {
    padding: 15px 35px;
    font-size: 18px;
}

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

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

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

.page-about__main-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    color: var(--s666-gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-about__hero-description {
    font-size: clamp(18px, 2vw, 24px);
    color: var(--s666-text-secondary);
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Introduction Section */
.page-about__introduction-section .page-about__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.page-about__introduction-section .page-about__text-block {
    flex: 2;
    min-width: 300px;
}

.page-about__introduction-section .page-about__image-content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

/* Values Section */
.page-about__values-section {
    background-color: var(--s666-deep-green);
}

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

.page-about__value-card {
    background-color: var(--s666-card-bg);
    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;
    border: 1px solid var(--s666-border);
    color: var(--s666-text-main);
}

.page-about__value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.page-about__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    margin: 0 auto 20px auto;
    border-radius: 8px;
    display: block;
}

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

.page-about__value-card p {
    font-size: 16px;
    color: var(--s666-text-secondary);
}

/* Why Choose Section */
.page-about__why-choose-section .page-about__flex-container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
}

.page-about__why-choose-section .page-about__text-block {
    flex: 2;
    min-width: 300px;
}

.page-about__why-choose-section .page-about__image-content {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

/* Future Section */
.page-about__future-section .page-about__cta-buttons--bottom {
    margin-top: 40px;
}

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

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

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--s666-text-main);
    cursor: pointer;
    user-select: none;
    background-color: var(--s666-card-bg);
    border-bottom: 1px solid var(--s666-divider);
}

.page-about__faq-item[open] .page-about__faq-question {
    border-bottom: 1px solid var(--s666-divider);
}

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

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

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

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

.page-about__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--s666-text-secondary);
    background-color: var(--s666-card-bg);
}

/* CTA Bottom Section */
.page-about__cta-bottom-section {
    text-align: center;
    padding: 80px 0;
    background-color: var(--s666-deep-green);
}

.page-about__cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-section .page-about__hero-image {
        margin-bottom: 20px;
    }

    .page-about__introduction-section .page-about__container,
    .page-about__why-choose-section .page-about__flex-container {
        flex-direction: column;
        align-items: center;
    }

    .page-about__introduction-section .page-about__text-block,
    .page-about__introduction-section .page-about__image-content,
    .page-about__why-choose-section .page-about__text-block,
    .page-about__why-choose-section .page-about__image-content {
        flex: none;
        width: 100%;
        max-width: 700px;
    }

    .page-about__image-content {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding-bottom: 40px;
    }

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

    .page-about__subtitle {
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        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__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important; /* Ensure flex-wrap for buttons */
    }

    .page-about__cta-buttons a {
        width: 100%;
    }

    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__introduction-section,
    .page-about__values-section,
    .page-about__why-choose-section,
    .page-about__future-section,
    .page-about__faq-section,
    .page-about__cta-bottom-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    
    .page-about__hero-section {
        padding-top: 10px !important;
    }

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

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