/* style/about.css */

/* Base Styles for the About Page */
.page-about {
    color: #ffffff; /* Dark body background #1a1a2e, so light text */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background from shared.css */
}

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

.page-about__section {
    padding: 60px 0;
    text-align: center;
}

.page-about__dark-bg {
    background-color: #017439; /* Primary brand color as background */
    color: #ffffff;
}

.page-about__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.page-about__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

/* Hero Section */
.page-about__hero-section {
    padding-top: var(--header-offset, 120px); /* Desktop default, mobile will be handled by shared */
    padding-bottom: 60px;
    background-color: #017439; /* Using brand primary color for hero background */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.page-about__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__hero-content {
    flex: 1;
    z-index: 1;
}

.page-about__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Custom color for H1 as per prompt */
    line-height: 1.2;
    font-weight: bold;
}

.page-about__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-about__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.page-about__btn-register,
.page-about__btn-login {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-about__btn-register {
    background-color: #C30808; /* Custom color for Register button */
    color: #FFFF00; /* Custom color for Register/Login font */
}

.page-about__btn-register:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

.page-about__btn-login {
    background-color: #C30808; /* Custom color for Login button */
    color: #FFFF00; /* Custom color for Register/Login font */
}

.page-about__btn-login:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

.page-about__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.page-about__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* General Image Styles */
.page-about__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Mission & Vision Section */
.page-about__mission-vision .page-about__text-block {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #ffffff;
}

/* Core Values Section */
.page-about__core-values {
    background-color: #017439; /* Primary brand color */
}

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

.page-about__value-item {
    background-color: rgba(255, 255, 255, 0.15); /* Slightly lighter semi-transparent white */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
    color: #ffffff;
}

.page-about__value-item:hover {
    transform: translateY(-5px);
}

.page-about__value-icon {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5)); /* Adding a subtle glow for icons */
}

.page-about__value-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #FFFF00; /* Custom highlight color for titles */
    font-weight: bold;
}

.page-about__value-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

/* Journey Section */
.page-about__journey .page-about__text-block {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #ffffff;
}

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

.page-about__advantage-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.page-about__advantage-item:hover {
    transform: translateY(-5px);
}

.page-about__advantage-title {
    font-size: 1.6em;
    margin-bottom: 10px;
    color: #FFFF00;
    font-weight: bold;
}

.page-about__advantage-text {
    font-size: 1em;
    line-height: 1.7;
    color: #f0f0f0;
}

.page-about__center-content {
    text-align: center;
}

/* Commitment Section */
.page-about__commitment .page-about__text-block {
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark body background */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #ffffff;
}

/* FAQ Section */
.page-about__faq-section {
    background-color: #017439; /* Primary brand color */
    padding-bottom: 80px;
}

.page-about__faq-list {
    margin-top: 40px;
    text-align: left;
}

.page-about__faq-item {
    background-color: rgba(255, 255, 255, 0.15);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.page-about__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.page-about__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: #FFFF00; /* Custom highlight color for FAQ questions */
    font-weight: bold;
}

.page-about__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: #FFFF00;
    transition: transform 0.3s ease;
}

.page-about__faq-item.active .page-about__faq-toggle {
    transform: rotate(45deg);
}

.page-about__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2); /* Slightly darker background for answer */
    color: #f0f0f0;
}

.page-about__faq-item.active .page-about__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: 2.8em;
    }

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

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

@media (max-width: 768px) {
    .page-about__hero-section {
        text-align: center;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
        padding-bottom: 40px;
    }

    .page-about__hero-container {
        flex-direction: column;
        gap: 30px;
    }

    .page-about__hero-content {
        order: 2; /* Content after image on mobile */
    }

    .page-about__hero-image-wrapper {
        order: 1; /* Image first on mobile */
        justify-content: center;
    }

    .page-about__hero-title {
        font-size: 2.2em;
        text-align: center;
    }

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

    .page-about__hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .page-about__btn-register,
    .page-about__btn-login {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-about__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-about__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
}