/* style/about.css */

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

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

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

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

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

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

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

.page-about__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    max-width: 900px;
    width: 90%;
    padding: 20px;
    color: var(--f11uu-text-main);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-about__main-title {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--f11uu-gold);
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size for H1 */
}

.page-about__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--f11uu-text-secondary);
}

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    box-sizing: border-box;
}

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

.page-about__btn-primary {
    background: var(--f11uu-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

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

.page-about__btn-secondary:hover {
    background: var(--f11uu-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

.page-about__section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--f11uu-gold);
}

.page-about__light-bg .page-about__section-title {
    color: var(--f11uu-deep-green);
}

.page-about__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__card {
    background-color: var(--f11uu-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    border: 1px solid var(--f11uu-border);
    color: var(--f11uu-text-main);
}

.page-about__light-bg .page-about__card {
    background-color: #ffffff;
    color: #333333;
    border-color: #e0e0e0;
}

.page-about__card-title {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--f11uu-gold);
}

.page-about__light-bg .page-about__card-title {
    color: var(--f11uu-primary);
}

.page-about__card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}

.page-about__card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

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

.page-about__timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.page-about__timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--f11uu-divider);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.page-about__timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.page-about__timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.page-about__timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.page-about__timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--f11uu-primary);
    border: 4px solid var(--f11uu-bg);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.page-about__timeline-item:nth-child(even)::after {
    left: -10px;
}

.page-about__timeline-year {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--f11uu-gold);
    margin-bottom: 10px;
}

.page-about__feature-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

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

.page-about__commitment-item {
    background-color: var(--f11uu-card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--f11uu-border);
    color: var(--f11uu-text-main);
}

.page-about__commitment-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--f11uu-gold);
}

.page-about__team-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid var(--f11uu-primary);
}

.page-about__member-name {
    font-size: 1.6em;
    font-weight: 700;
    color: var(--f11uu-gold);
    margin-bottom: 5px;
}

.page-about__member-role {
    font-size: 1em;
    color: var(--f11uu-text-secondary);
}

.page-about__team-culture {
    margin-top: 40px;
    font-style: italic;
    text-align: center;
    color: var(--f11uu-text-secondary);
}

.page-about__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__light-bg .page-about__faq-item {
    background-color: #ffffff;
    color: #333333;
    border-color: #e0e0e0;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    color: var(--f11uu-gold);
}

.page-about__light-bg .page-about__faq-question {
    color: var(--f11uu-primary);
}

.page-about__faq-question:hover {
    background-color: var(--f11uu-deep-green);
    border-radius: 8px;
}

.page-about__light-bg .page-about__faq-question:hover {
    background-color: #f0f0f0;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--f11uu-primary);
}

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

.page-about__light-bg .page-about__faq-answer {
    color: #555555;
}

/* Details element specific styling */
.page-about__faq-item summary {
    list-style: none;
}

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

.page-about__faq-item[open] .page-about__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

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

    .page-about__hero-content {
        padding: 15px;
        width: 95%;
    }

    .page-about__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em);
    }

    .page-about__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-about__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-about__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-about__text-block {
        font-size: 0.95em;
    }

    .page-about__cards-grid,
    .page-about__features-grid,
    .page-about__team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__timeline::after {
        left: 20px;
    }

    .page-about__timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 15px;
        text-align: left;
    }

    .page-about__timeline-item:nth-child(odd) {
        left: 0;
        text-align: left;
    }

    .page-about__timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .page-about__timeline-item::after {
        left: 10px;
    }

    .page-about__timeline-item:nth-child(even)::after {
        left: 10px;
    }

    .page-about__commitment-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-about__faq-answer {
        padding: 0 15px 15px;
    }

    /* Mobile image, video, button specific rules */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__hero-section,
    .page-about__vision-mission-section,
    .page-about__history-section,
    .page-about__why-choose-section,
    .page-about__commitment-section,
    .page-about__team-section,
    .page-about__future-section,
    .page-about__faq-section,
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container,
    .page-about__video-section,
    .page-about__video-container,
    .page-about__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary,
    .page-about a[class*="button"],
    .page-about a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}