.page-about {
    background-color: #FFFFFF; /* Background color set to white */
    color: #333333; /* Default text color for contrast */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-about__hero-section {
    position: relative;
    background-color: #017439; /* Primary color for hero background */
    padding: 40px 0;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-about__hero-image-wrapper {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.page-about__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    max-width: 1200px; /* Constrain max width for large screens */
    margin: 0 auto 20px auto; /* Center image and add space below */
}

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: #FFFFFF; /* White text on dark hero background */
}

.page-about__main-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFFFFF; /* White for H1 on hero */
}

.page-about__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-about__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    min-width: 150px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

.page-about__section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-about__section:nth-of-type(even) {
    background-color: #f8f8f8; /* Slightly different background for alternating sections */
}

.page-about__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #017439; /* Primary color for section titles */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-about__section-title--gradient {
    background: linear-gradient(90deg, #ff9500, #ff5e3a); /* Orange-red gradient for specific title */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers that don't support text-fill-color */
}

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

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

.page-about__text-block {
    flex: 1;
    min-width: 300px;
}

.page-about__text-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333333;
}

.page-about__image-block {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-about__sub-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 15px;
}

.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: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-about__feature-card:hover {
    transform: translateY(-8px);
}

.page-about__feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 15px;
}

.page-about__feature-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

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

.page-about__btn--promotions {
    background-color: #017439;
    color: #FFFFFF;
}

.page-about__btn--promotions:hover {
    background-color: #005a2d;
}

.page-about__security .page-about__link {
    color: #017439;
    text-decoration: none;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
}

.page-about__security .page-about__link:hover {
    text-decoration: underline;
}

.page-about__contact-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.page-about__contact-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #333333;
}

.page-about__contact-info p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333333;
}

.page-about__btn--contact {
    background-color: #017439;
    color: #FFFFFF;
    margin-top: 20px;
}

.page-about__btn--contact:hover {
    background-color: #005a2d;
}

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

.page-about__faq-item {
    background-color: #f0f0f0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-about__faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: #017439;
    margin-bottom: 10px;
    cursor: pointer; /* Indicate it's clickable for JS toggle */
}

.page-about__faq-answer {
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    display: none; /* Hidden by default, toggled by JS */
    padding-top: 10px;
    border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-about__content-grid {
        flex-direction: column;
    }

    .page-about__content-grid--reverse {
        flex-direction: column; /* Keep column order for reverse on small screens */
    }

    .page-about__hero-image {
        max-width: 100%; /* Ensure hero image takes full width */
        width: 100%; /* Explicitly set width to 100% */
        height: auto; /* Maintain aspect ratio */
        aspect-ratio: 16/9; /* Set a common aspect ratio for hero on mobile */
    }

    .page-about__hero-content {
        padding: 0 15px;
    }

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

    .page-about__btn {
        width: 100%;
        max-width: 280px; /* Constrain button width */
        margin: 0 auto;
    }

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

    .page-about__features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-about img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .page-about__hero-image {
        aspect-ratio: 4/3; /* Adjust aspect ratio for better mobile fit */
    }
    .page-about__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-about__description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-about__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    .page-about__sub-title {
        font-size: 1.4rem;
    }
    .page-about__text-block p, .page-about__contact-content p, .page-about__contact-info p, .page-about__faq-answer {
        font-size: 0.95rem;
    }
    .page-about__faq-question {
        font-size: 1.1rem;
    }
}

/* Ensure content area images are not too small on mobile */
@media (max-width: 768px) {
    .page-about__image {
        min-width: 200px;
        min-height: 200px;
        max-width: 100%;
        height: auto;
    }
    .page-about__text-block img, .page-about__image-block img {
        max-width: 100%;
        height: auto;
    }
}