/* style/about.css */

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

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

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Space below content, padding-top from body */
    overflow: hidden;
    box-sizing: border-box;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: relative;
    z-index: 1;
    max-height: 700px; /* Limit height for aesthetic */
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 40px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: bold;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-about__hero-description {
    font-size: clamp(1em, 1.5vw, 1.3em);
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.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;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: var(--button-gradient);
    color: var(--text-main);
    border: none;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

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

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

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

.page-about__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

.page-about__section {
    padding: 60px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__section--mission-vision,
.page-about__section--journey,
.page-about__section--commitment {
    background-color: var(--background-dark);
}

.page-about__section--values,
.page-about__section--why-choose,
.page-about__section--join-us {
    background-color: var(--card-background);
}

.page-about__section--faq {
    background-color: var(--background-dark);
}

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

.page-about__section-title {
    font-size: clamp(1.8em, 3vw, 2.8em);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(17, 168, 78, 0.3);
}

.page-about__section-title--light {
    color: var(--gold-color);
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.3);
}

.page-about__section-description {
    font-size: clamp(0.9em, 1.2vw, 1.1em);
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.page-about__section-description--light {
    color: var(--text-main);
}

.page-about__content-grid {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-about__content-grid--reverse {
    flex-direction: row-reverse;
}

.page-about__text-block {
    flex: 1;
    line-height: 1.7;
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1em;
}

.page-about__text-block p a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-about__text-block p a:hover {
    color: var(--primary-color);
}

.page-about__sub-title {
    font-size: clamp(1.3em, 2vw, 1.8em);
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-about__image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.page-about__image--left {
    order: -1;
}

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

.page-about__value-card {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--divider-color);
}

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

.page-about__value-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px var(--glow-color));
}

.page-about__value-title {
    font-size: 1.4em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__value-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

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

.page-about__timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%;
}

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

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

.page-about__timeline-year {
    background-color: var(--primary-color);
    color: var(--text-main);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

.page-about__timeline-item:nth-child(odd) .page-about__timeline-year {
    position: absolute;
    right: -25px;
    top: 15px;
    transform: translateX(50%);
}

.page-about__timeline-item:nth-child(even) .page-about__timeline-year {
    position: absolute;
    left: -25px;
    top: 15px;
    transform: translateX(-50%);
}

.page-about__timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--gold-color);
    border: 3px solid var(--primary-color);
    top: 20px;
    z-index: 1;
}

.page-about__timeline-item:nth-child(odd)::after {
    right: -8px;
}

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

.page-about__timeline-title {
    font-size: 1.3em;
    color: var(--gold-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-about__timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.6;
}

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

.page-about__feature-card {
    background-color: var(--background-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--divider-color);
}

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

.page-about__feature-icon {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-about__feature-text {
    font-size: 0.95em;
    color: var(--text-secondary);
    line-height: 1.6;
}

.page-about__section--join-us {
    text-align: center;
    padding: 80px 20px;
}

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

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

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--text-main);
    background-color: var(--deep-green);
    transition: background-color 0.3s ease;
    list-style: none;
}

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

.page-about__faq-item summary:hover {
    background-color: var(--primary-color);
}

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

.page-about__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: var(--gold-color);
}

.page-about__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--text-secondary);
    line-height: 1.7;
    background-color: var(--card-background);
    border-top: 1px solid var(--divider-color);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-about__hero-content {
        margin-top: 20px;
    }

    .page-about__hero-image {
        max-height: 550px;
    }

    .page-about__content-grid {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 40px;
    }

    .page-about__content-grid--reverse {
        flex-direction: column;
    }

    .page-about__image {
        max-width: 80%;
        order: initial; /* Reset order for smaller screens */
    }

    .page-about__image--left {
        order: initial;
    }
}

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

    .page-about__main-title {
        font-size: 2em;
    }

    .page-about__hero-description {
        font-size: 1em;
    }

    .page-about__cta-group {
        flex-direction: column;
        gap: 15px;
    }

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

    .page-about__btn-primary--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }

    .page-about__section {
        padding: 40px 15px;
    }

    .page-about__container {
        padding: 0 15px;
    }

    .page-about__section-title {
        font-size: 1.6em;
    }

    .page-about__section-description {
        font-size: 0.9em;
    }

    .page-about__image {
        max-width: 100%;
    }

    .page-about__value-icon {
        width: 80px;
    }

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

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

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

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

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

    .page-about__timeline-item:nth-child(odd)::after {
        left: 12px;
        right: auto;
    }

    .page-about__timeline-item:nth-child(odd) .page-about__timeline-year {
        position: relative;
        right: auto;
        transform: none;
        margin-bottom: 5px;
        margin-left: 0;
        text-align: left;
    }

    .page-about__timeline-item:nth-child(even) .page-about__timeline-year {
        position: relative;
        left: auto;
        transform: none;
        margin-bottom: 5px;
        margin-left: 0;
        text-align: left;
    }

    .page-about__feature-icon {
        width: 120px;
    }

    /* Mobile image responsiveness for all images */
    .page-about img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-about__section,
    .page-about__container,
    .page-about__content-grid,
    .page-about__values-grid,
    .page-about__features-grid,
    .page-about__timeline,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    .page-about__hero-section {
        padding-top: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-about__cta-group {
        flex-wrap: wrap !important;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-about__main-title {
        font-size: 1.8em;
    }

    .page-about__section-title {
        font-size: 1.4em;
    }

    .page-about__value-card,
    .page-about__feature-card {
        padding: 20px;
    }

    .page-about__faq-item summary {
        font-size: 1em;
        padding: 15px 20px;
    }

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