/* style/about.css */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg: #11271B;
    --bg-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;
    background-color: var(--bg-color); /* Body background from shared.css, this is for consistency */
    color: var(--text-main); /* Default text color for the page */
    line-height: 1.6;
}

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

.page-about__section {
    padding: 60px 0;
    position: relative;
}

.page-about__section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--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: var(--primary-color);
    border-radius: 2px;
}

.page-about__text-secondary {
    color: var(--text-secondary);
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
}

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background: linear-gradient(180deg, var(--deep-green) 0%, var(--bg-color) 100%);
}

.page-about__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-about__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

.page-about__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

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

.page-about__description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__cta-button, .page-about__btn-primary, .page-about__btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__cta-button:hover, .page-about__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

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

.page-about__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-about__btn-small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 15px;
}

.page-about__cta-center {
    text-align: center;
    margin-top: 50px;
}

.page-about__section--mission {
    background-color: var(--card-bg);
}

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

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

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

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

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

.page-about__section--why-us {
    background-color: var(--bg-color);
}

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

.page-about__light-bg {
    background-color: #0A4B2C; /* Slightly lighter green for contrast */
    color: var(--text-main);
}

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

.page-about__feature-item {
    text-align: center;
    padding: 25px;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-about__feature-item img {
    
    
    margin-bottom: 20px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(87, 227, 141, 0.5));
    max-width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__feature-item p {
    font-size: 15px;
    color: var(--text-secondary);
}

.page-about__section--story {
    background-color: var(--card-bg);
}

.page-about__story-content p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--text-secondary);
    text-align: justify;
}

.page-about__story-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    display: block;
}

.page-about__section--how-to-join {
    background-color: var(--bg-color);
}

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

.page-about__step-item {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.page-about__step-icon {
    width: 60px;
    height: 60px;
    background: var(--button-gradient);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-about__step-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-about__step-item p {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

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

details.page-about__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--deep-green);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

details.page-about__faq-item summary.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

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

.page-about__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-about__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-about__faq-item .page-about__faq-answer {
    padding: 0 25px 20px;
    background: var(--bg-color);
    border-radius: 0 0 8px 8px;
}

.page-about__faq-answer p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.page-about__section--contact {
    background-color: var(--bg-color);
}

.page-about__contact-info {
    text-align: center;
    margin-top: 30px;
    font-size: 18px;
    color: var(--text-secondary);
}

.page-about__contact-info p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-about__section {
        padding: 50px 0;
    }

    .page-about__section-title {
        font-size: clamp(26px, 3.5vw, 38px);
    }

    .page-about__description {
        font-size: clamp(15px, 1.8vw, 18px);
    }
}

@media (max-width: 768px) {
    .page-about__container {
        padding: 0 15px; /* Add padding to content containers */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding, body handles header offset */
    }

    .page-about__main-title {
        font-size: clamp(28px, 6vw, 40px);
    }

    .page-about__description {
        font-size: 15px;
    }

    .page-about__cta-button, .page-about__btn-primary, .page-about__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        margin-top: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-about__cta-center a {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__grid, .page-about__features-grid, .page-about__steps-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-about__feature-item img {
        
        
    }

    .page-about__feature-title, .page-about__step-title, .page-about__card-title {
        font-size: 20px;
    }

    .page-about__section-title {
        font-size: clamp(24px, 5vw, 32px);
        margin-bottom: 30px;
    }

    .page-about__text-secondary {
        font-size: 16px;
        margin-bottom: 30px;
    }

    details.page-about__faq-item summary.page-about__faq-question {
        padding: 15px 20px;
    }

    .page-about__faq-qtext {
        font-size: 16px;
    }

    .page-about__faq-toggle {
        font-size: 24px;
        width: 25px;
    }

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

    .page-about__faq-answer p {
        font-size: 15px;
    }

    /* Ensure images in content sections are responsive */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-about__section {
        padding: 30px 0;
    }

    .page-about__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }

    .page-about__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .page-about__description {
        font-size: 14px;
    }

    .page-about__cta-button, .page-about__btn-primary, .page-about__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
    }

    .page-about__section-title {
        font-size: clamp(22px, 6vw, 28px);
        margin-bottom: 25px;
    }

    .page-about__text-secondary {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-about__card-title, .page-about__feature-title, .page-about__step-title {
        font-size: 18px;
    }

    .page-about__card p, .page-about__feature-item p, .page-about__step-item p {
        font-size: 14px;
    }

    details.page-about__faq-item summary.page-about__faq-question {
        padding: 12px 15px;
    }

    .page-about__faq-qtext {
        font-size: 15px;
    }

    .page-about__faq-toggle {
        font-size: 22px;
    }

    .page-about__contact-info p {
        font-size: 16px;
    }
}