/* style/about.css */

/* Base styles for the About Us page */
.page-about {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    padding-bottom: 40px; /* General bottom padding */
}

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

/* Hero Section */
.page-about__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image above text on mobile, then text */
    align-items: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
    background-color: #FFFFFF; /* Card BG */
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-about__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

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

.page-about__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-about__hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 font size */
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-about__hero-description {
    font-size: 1.15rem;
    color: #1F2D3D; /* Text Main */
    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;
}

.page-about__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    min-width: 180px; /* Minimum width for better appearance */
}

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

.page-about__cta-button--primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 6px 15px #A5C4FF; /* Glow */
}

.page-about__cta-button--secondary {
    background-color: #FFFFFF; /* Card BG */
    color: #2F6BFF; /* Primary color text on secondary button */
    border: 2px solid #2F6BFF; /* Primary color border */
}

.page-about__cta-button--secondary:hover {
    background-color: #F4F7FB; /* Background */
    color: #2F6BFF;
    box-shadow: 0 6px 15px rgba(47, 107, 255, 0.2);
}

/* General Section Styles */
.page-about__section {
    padding: 50px 0;
    margin-bottom: 20px;
    background-color: #FFFFFF; /* Card BG */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-about__section--intro {
    background-color: #F4F7FB; /* Use background color for intro for contrast */
    box-shadow: none;
    border-radius: 0;
    padding-top: 30px;
    padding-bottom: 30px;
}

.page-about__title {
    font-size: 2.2rem;
    color: #2F6BFF; /* Primary brand color for section titles */
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.page-about__text-block {
    font-size: 1.05rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    text-align: justify;
}

.page-about__text-block .keyword {
    font-weight: 600;
    color: #2F6BFF; /* Highlight keywords with primary color */
}

.page-about__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 680px; /* Max width for blog images */
}

.page-about__link {
    color: #2F6BFF; /* Primary color for links */
    text-decoration: none;
    font-weight: 500;
}

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

/* Product List */
.page-about__product-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-about__product-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #D6E2FF; /* Border */
}

.page-about__product-title {
    font-size: 1.3rem;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-about__product-description {
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
}

/* Promotion List */
.page-about__promo-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-about__promo-item {
    background-color: #FFFFFF; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #D6E2FF; /* Border */
}

.page-about__promo-title {
    font-size: 1.3rem;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 10px;
    font-weight: 600;
}

.page-about__promo-description {
    font-size: 0.95rem;
    color: #1F2D3D; /* Text Main */
}

/* Guide Cards */
.page-about__guide-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.page-about__card {
    background-color: #FFFFFF; /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #D6E2FF; /* Border */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

.page-about__card-title {
    font-size: 1.4rem;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-about__card-description {
    font-size: 1rem;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-about__cta-button--small {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 100%; /* Make small buttons full width in their card */
    margin-top: auto; /* Push button to bottom */
}

/* Call to Action */
.page-about__call-to-action {
    background-color: #2F6BFF; /* Primary color background */
    color: #FFFFFF; /* White text on primary background */
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 50px;
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.3);
}

.page-about__call-to-action-title {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #FFFFFF; /* White text */
}

.page-about__call-to-action-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFFFFF; /* White text */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-about__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-about__title {
        font-size: 2rem;
    }

    .page-about__call-to-action-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    /* Top section and CTA */
    .page-about__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }

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

    .page-about__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem); /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }

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

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

    .page-about__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Single column content, general images, buttons, tutorials/FAQ blocks */
    .page-about__container {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-about__section {
        padding: 30px 0;
        margin-bottom: 15px;
    }

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

    .page-about__text-block,
    .page-about__product-description,
    .page-about__promo-description,
    .page-about__card-description {
        font-size: 0.95rem;
        text-align: left; /* Adjust text alignment for mobile readability */
    }

    /* Universal image responsiveness for content area */
    .page-about img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important; /* Ensure padding is included */
    }

    .page-about__image-inline {
        margin: 20px auto;
    }

    /* Card and list item responsiveness */
    .page-about__product-list,
    .page-about__promo-list,
    .page-about__guide-cards {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
        margin: 20px 0;
    }

    .page-about__product-item,
    .page-about__promo-item,
    .page-about__card {
        padding: 20px;
        box-sizing: border-box;
    }

    .page-about__product-title,
    .page-about__promo-title,
    .page-about__card-title {
        font-size: 1.2rem;
    }

    /* Call to action for mobile */
    .page-about__call-to-action {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .page-about__call-to-action-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .page-about__call-to-action-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-about__cta-button--small {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}