.page-about {
    color: var(--Text-Main); /* Default text color for dark background */
    background-color: var(--Background); /* Assuming body background is dark */
}

.page-about__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px 40px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
}

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

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--Text-Main);
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.page-about__intro-text {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--Text-Secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    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-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-about__btn-secondary {
    background: var(--Card-B-G);
    color: var(--Text-Main);
    border: 2px solid var(--Border);
}

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

.page-about__section {
    padding: 60px 20px;
    box-sizing: border-box;
    width: 100%;
}

.page-about__dark-section {
    background-color: var(--Background);
    color: var(--Text-Main);
}

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

.page-about__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--Text-Main);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-about__content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
}

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

.page-about__content-wrapper--center {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.page-about__text-block--wide {
    max-width: 800px;
}

.page-about__image-block {
    flex-shrink: 0;
    width: 50%;
    min-width: 200px;
    max-width: 600px;
    box-sizing: border-box;
    overflow: hidden;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Ensure min size */
    min-height: 200px; /* Ensure min size */
}

.page-about__image--centered {
    margin-bottom: 30px;
    max-width: 800px;
    width: 100%;
}

.page-about p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--Text-Secondary);
    margin-bottom: 20px;
}

.page-about__section--about-us .page-about__text-block p:first-of-type,
.page-about__section--history .page-about__text-block p:first-of-type {
    color: var(--Text-Main);
}

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

.page-about__feature-card {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--Text-Main);
}

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

.page-about__feature-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    min-width: 200px; /* Ensure min size for feature icons */
    min-height: 200px; /* Ensure min size for feature icons */
}

.page-about__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--Text-Main);
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-about__feature-card p {
    font-size: 0.95rem;
    color: var(--Text-Secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

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

.page-about__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-about__faq-item {
    background-color: var(--Card-B-G);
    border: 1px solid var(--Divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-about__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--Text-Main);
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
}

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

.page-about__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Lighter hover for dark card */
}

.page-about__faq-qtext {
    flex-grow: 1;
}

.page-about__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--Glow);
}

.page-about__faq-item[open] .page-about__faq-toggle {
    content: '−';
}

.page-about__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--Text-Secondary);
}

.page-about__faq-answer p:last-child {
    margin-bottom: 0;
}

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

.page-about__section-title--cta {
    color: var(--Text-Main);
    margin-bottom: 25px;
}

.page-about__cta-text {
    font-size: 1.2rem;
    color: var(--Text-Secondary);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

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

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

    .page-about__image-block {
        width: 100%;
        max-width: 800px;
        margin-bottom: 30px;
    }

    .page-about__hero-image {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .page-about__hero-section {
        padding: 40px 15px 30px;
        padding-top: 10px !important;
    }

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

    .page-about__intro-text {
        font-size: 1rem;
    }

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

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

    .page-about__image-block {
        margin-bottom: 20px;
    }

    /* Mobile responsive image, video, button rules */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-about__section,
    .page-about__card,
    .page-about__container,
    .page-about__cta-buttons,
    .page-about__button-group,
    .page-about__btn-container,
    .page-about__hero-image-wrapper,
    .page-about__image-block,
    .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__cta-button,
    .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;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-about__feature-icon {
        min-width: 200px !important;
        min-height: 200px !important;
    }
}

@media (max-width: 480px) {
    .page-about__hero-section {
        padding: 30px 10px 20px;
        padding-top: 10px !important;
    }

    .page-about__section {
        padding: 30px 10px;
    }

    .page-about__section-title {
        font-size: clamp(1.4rem, 8vw, 2rem);
    }

    .page-about__cta-text {
        font-size: 1rem;
    }

    .page-about__btn-primary,
    .page-about__btn-secondary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    
    .page-about__hero-image {
        height: 200px;
    }
}