/* style/about.css */

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

.page-about {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default text color for light backgrounds */
    line-height: 1.6;
}

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

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

.page-about__card-bg {
    background-color: var(--page-about-card-bg);
    color: var(--page-about-text-main);
}

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

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

.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 80px; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    max-height: 675px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and text */
    border-radius: 12px;
}

.page-about__hero-content {
    position: relative; /* Ensure content is above any potential background elements */
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-about-text-main);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-about__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-about__btn-primary,
.page-about__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-about__btn-primary {
    background: var(--page-about-btn-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-about__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

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

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-about__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-about__content-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 40px;
}

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

.page-about__text-block {
    flex: 1;
}

.page-about__text-block p {
    margin-bottom: 15px;
    color: inherit;
}

.page-about__image {
    flex: 1;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.page-about__image--large {
    max-width: 100%;
    margin-top: 40px;
}

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

.page-about__value-card,
.page-about__product-card,
.page-about__feature-item {
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-about__value-title,
.page-about__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--page-about-text-main);
}

.page-about__product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-about__product-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-about__product-title a {
    color: var(--page-about-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-about__product-card .page-about__product-title a {
    color: inherit; /* Inherit color from card */
}

.page-about__product-card.page-about__light-bg .page-about__product-title a {
    color: var(--page-about-primary-color); /* Specific color for links on light bg cards */
}

.page-about__product-title a:hover {
    color: var(--page-about-secondary-color);
    text-decoration: underline;
}

.page-about__future-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: left;
}

.page-about__future-item {
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--page-about-text-main);
}

.page-about__future-item::before {
    content: '✅';
    font-size: 1.2rem;
    line-height: 1;
}

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

.page-about__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333;
}

.page-about__faq-item[open] {
    background-color: #f9f9f9;
}

.page-about__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* For details/summary */
    color: var(--page-about-primary-color);
}

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

.page-about__faq-qtext {
    flex-grow: 1;
    pointer-events: none; /* Ensure click on summary works */
}

.page-about__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    pointer-events: none; /* Ensure click on summary works */
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
}

/* Ensure images in content areas are not small */
.page-about__content-area img,
.page-about__text-block img,
.page-about__image {
    min-width: 200px;
    min-height: 200px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-about__content-wrapper {
        flex-direction: column;
        text-align: center;
    }

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

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

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

    .page-about__hero-section {
        padding: 10px 15px 60px;
    }

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

    .page-about__description {
        font-size: 1rem;
    }

    .page-about__cta-buttons {
        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: 1rem;
    }

    .page-about__section-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 30px;
    }

    .page-about__sub-title {
        font-size: clamp(1.2rem, 6vw, 1.8rem);
    }

    .page-about__values-grid,
    .page-about__product-grid,
    .page-about__features-grid,
    .page-about__future-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-about__container {
        padding: 0 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Mobile image responsiveness */
    .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__content-wrapper,
    .page-about__values-grid,
    .page-about__product-grid,
    .page-about__features-grid,
    .page-about__future-list,
    .page-about__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

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

    .page-about__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
}

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