/* style/about.css */

/* Base styles for the page-about scope */
.page-about {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
}

/* Container for main content width */
.page-about__article-wrap {
    max-width: 1150px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-about__hero-section {
    padding-top: 10px; /* Small top padding as per rule */
    padding-bottom: 40px;
    text-align: center;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using auxiliary and main color */
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-about__hero-section .page-about__container {
    max-width: 900px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.page-about__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Using clamp for H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    max-width: 100%;
}

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

.page-about__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    margin-top: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container doesn't overflow */
    box-sizing: border-box;
    overflow: hidden;
}

.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;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    text-align: center;
    max-width: 100%; /* Important for button responsiveness */
    box-sizing: border-box;
}

.page-about__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-about__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-about__btn-secondary {
    background: #ffffff;
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF; /* Main color border */
}

.page-about__btn-secondary:hover {
    background: #f0f5ff;
    color: #1a4fa8;
    border-color: #1a4fa8;
}

.page-about__main-visual {
    width: 100%;
    max-width: 1200px;
    margin-top: 40px;
    overflow: hidden; /* Ensure image doesn't overflow */
    box-sizing: border-box;
}

.page-about__main-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.page-about__content-section {
    padding: 60px 0;
    background-color: #ffffff; /* Card BG */
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #D6E2FF; /* Border color */
}

.page-about__content-section:first-of-type {
    margin-top: -80px; /* Pull up to overlap with hero section */
}

.page-about__section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 30px;
    text-align: center;
}

.page-about__article-wrap p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    color: #333333; /* Ensuring contrast on white background */
}

.page-about__article-wrap strong {
    color: #000000; /* Custom Color_1776249996415 */
}

.page-about__product-list,
.page-about__promo-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.page-about__product-list li,
.page-about__promo-list li {
    background-color: #F4F7FB; /* Background color for list items */
    border-left: 5px solid #2F6BFF; /* Main color */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    font-size: 1.05rem;
    color: #1F2D3D;
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-about__product-list li strong,
.page-about__promo-list li strong {
    color: #2F6BFF; /* Main color */
}

.page-about__product-list li::before,
.page-about__promo-list li::before {
    content: '✅'; /* Simple icon for list items */
    font-size: 1.2em;
    line-height: 1;
}

.page-about__image-figure {
    margin: 30px auto;
    max-width: 680px; /* Recommended size for blog images */
    width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.page-about__image-figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.page-about__image-caption {
    text-align: center;
    font-size: 0.95rem;
    color: #666666;
    padding: 10px 15px;
    background-color: #F4F7FB; /* Background color */
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* Promo Box */
.page-about__promo-box {
    background: linear-gradient(45deg, #2F6BFF 0%, #6FA3FF 100%); /* Main and Auxiliary color gradient */
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    color: #ffffff;
    margin: 40px auto;
    max-width: 800px;
    box-shadow: 0 8px 25px rgba(47, 107, 255, 0.3);
}

.page-about__promo-box-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-about__promo-box p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #e0e0e0;
}

.page-about__promo-box .page-about__btn-primary {
    background: #ffffff; /* White button on colored background */
    color: #2F6BFF; /* Main color text */
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
}

.page-about__promo-box .page-about__btn-primary:hover {
    background: #f0f0f0;
    color: #1a4fa8;
}

/* Join CTA Section */
.page-about__join-cta-section {
    text-align: center;
    padding-bottom: 80px;
}

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

/* ==============================================
   Mobile Responsiveness (max-width: 768px)
   ============================================== */
@media (max-width: 768px) {
    /* Base for mobile */
    .page-about {
        font-size: 16px;
        line-height: 1.6;
    }

    /* 1. Top section title + CTAs */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-about__hero-section .page-about__container {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .page-about__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-about__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
        padding: 0 15px; /* Add padding to container */
    }

    .page-about__btn {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 15px;
        font-size: 0.95rem;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 2. Single-column long text containers */
    .page-about__article-wrap {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__content-section {
        padding: 30px 0;
        margin-bottom: 20px;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .page-about__content-section:first-of-type {
        margin-top: -60px; /* Adjust overlap */
    }

    .page-about__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-about__article-wrap p {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }

    .page-about__product-list li,
    .page-about__promo-list li {
        font-size: 0.95rem;
        padding: 12px 15px;
        gap: 8px;
    }

    /* Promo Box */
    .page-about__promo-box {
        padding: 30px 20px;
        margin: 30px auto;
        border-radius: 8px;
    }

    .page-about__promo-box-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .page-about__promo-box p {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    /* 3. General images and figures */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block; /* Ensure block display for full width */
    }

    .page-about__image-figure {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to figure container */
    }

    .page-about__main-visual {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add padding to main visual container */
    }

    .page-about__image-caption {
        font-size: 0.85rem;
        padding: 8px 10px;
    }

    /* 4. Buttons and button containers (already covered in cta-buttons) */
    /* Ensure all button containers also have proper padding */
    .page-about__cta-buttons,
    .page-about__promo-box .page-about__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-about__cta-buttons--bottom {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 5. Registration tutorial & FAQ blocks - General content blocks are handled by .page-about__article-wrap */
}