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

.page-about__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-about__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    padding-bottom: 50px;
    background: linear-gradient(135deg, #26A9E0 0%, #3a7bd5 100%); /* Blue gradient for hero */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-about__hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: #ffffff;
    z-index: 1;
}

.page-about__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* H1 font size clamp */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.page-about__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-about__hero-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 600px; /* Limit max width for button group */
    margin: 0 auto;
}

.page-about__btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button itself is responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-about__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #FFFFFF;
    border: 2px solid #EA7C07;
}

.page-about__btn-primary:hover {
    background-color: #d46f06;
    border-color: #d46f06;
    transform: translateY(-2px);
}

.page-about__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #FFFFFF;
}

.page-about__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.page-about__btn-tertiary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-about__btn-tertiary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
    transform: translateY(-2px);
}

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

.page-about__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0;
}

.page-about__section-title--white {
    color: #ffffff;
}

.page-about__text-block {
    font-size: 1.05rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__text-block--white {
    color: #ffffff;
}

/* History and Mission */
.page-about__history-mission {
    background-color: #f8f9fa;
}

/* Commitments section */
.page-about__commitments {
    background-color: #26A9E0; /* Main brand color as background */
    color: #ffffff;
}

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

.page-about__commitment-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__commitment-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__commitment-text {
    font-size: 1rem;
    color: #f0f0f0;
    text-align: center;
}

.page-about__figure {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.page-about__figure--left {
    text-align: left;
}

.page-about__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 15px;
}

.page-about__figcaption {
    font-size: 0.9rem;
    color: #aaaaaa;
    text-align: center;
}

/* Products and Services */
.page-about__products-services {
    background-color: #ffffff;
}

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

.page-about__service-item {
    background-color: #f0f8ff; /* Light blue background */
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.page-about__service-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-about__service-description {
    font-size: 0.95rem;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

.page-about__cta-center {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

/* Customer Support */
.page-about__customer-support {
    background-color: #f0f8ff; /* Light blue background */
}

.page-about__support-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-top: 40px;
}

.page-about__support-flex .page-about__figure {
    flex: 1;
    min-width: 300px;
    max-width: 50%; /* Adjust width for image */
}

.page-about__support-content {
    flex: 1;
}

.page-about__support-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #26A9E0;
}

.page-about__support-list {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1rem;
    color: #444444;
}

.page-about__support-list li {
    margin-bottom: 10px;
}

/* Legal Compliance */
.page-about__legal-compliance {
    background-color: #ffffff;
}

/* Future Vision */
.page-about__future-vision {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-about__hero-description {
        font-size: 1.05rem;
    }
    .page-about__commitment-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-about__support-flex {
        flex-direction: column;
        align-items: center;
    }
    .page-about__support-flex .page-about__figure {
        max-width: 80%;
    }
    .page-about__support-content {
        text-align: center;
    }
    .page-about__support-list {
        text-align: left; /* Keep list items left aligned */
        margin: 0 auto 20px;
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    /* 1. Top section title + CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding, assuming body has header offset */
        padding-bottom: 40px;
    }
    .page-about__hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-about__hero-description {
        font-size: 1rem;
    }
    .page-about__hero-cta-buttons,
    .page-about__cta-center {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__btn {
        width: 100% !important; /* Full width buttons */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 2. Single column long text containers */
    .page-about__article-wrap {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__section {
        padding: 40px 0;
    }
    .page-about__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-about__text-block {
        font-size: 0.95rem;
    }

    /* 3. Generic images and figure */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-about__figure {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__figure--left {
        text-align: center;
    }
    .page-about__figcaption {
        font-size: 0.85rem;
    }
    .page-about__commitment-grid,
    .page-about__service-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }
    .page-about__commitment-item,
    .page-about__service-item {
        padding: 20px;
    }
    .page-about__commitment-title {
        font-size: 1.3rem;
    }
    .page-about__service-title {
        font-size: 1.2rem;
    }

    /* 4. Buttons and button containers - already covered in top section CTA */
    /* (Explicitly added to meet checklist requirement) */
    .page-about__cta-buttons, .page-about__cta-center {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Ensure vertical stacking for better mobile UX */
    }
    .page-about__btn, .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;
    }

    /* 5. Registration tutorial and FAQ blocks - general text blocks for this page */
    .page-about__support-content {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-about__support-subtitle {
        font-size: 1.4rem;
    }
    .page-about__support-list {
        font-size: 0.95rem;
        margin-left: 15px;
        text-align: left;
    }
    .page-about__support-list li {
        margin-bottom: 8px;
    }
}