/* style/gioi-thieu-ban-be.css */

:root {
    --primary-color: #2F6BFF;
    --secondary-color: #6FA3FF;
    --text-main-color: #1F2D3D;
    --text-black-color: #000000;
    --bg-card-color: #FFFFFF;
    --bg-section-color: #F4F7FB;
    --border-color: #D6E2FF;
    --glow-color: #A5C4FF;
    --btn-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
}

.page-gioi-thieu-ban-be {
    font-family: Arial, sans-serif;
    color: var(--text-main-color);
    line-height: 1.6;
    background-color: var(--bg-section-color);
}

.page-gioi-thieu-ban-be__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gioi-thieu-ban-be__hero-section {
    background-color: var(--bg-card-color);
    padding-top: 10px; /* Small top padding as per non-homepage rule */
    padding-bottom: 60px;
}

.page-gioi-thieu-ban-be__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 0;
    flex-wrap: wrap;
}

.page-gioi-thieu-ban-be__hero-content {
    flex: 1 1 50%;
    min-width: 300px;
}

.page-gioi-thieu-ban-be__main-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-black-color);
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 600px;
}

.page-gioi-thieu-ban-be__description {
    font-size: 18px;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

.page-gioi-thieu-ban-be__hero-image {
    flex: 1 1 40%;
    min-width: 300px;
    text-align: center;
}

.page-gioi-thieu-ban-be__side-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-gioi-thieu-ban-be__cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-gioi-thieu-ban-be__cta-buttons--center {
    justify-content: center;
    margin-top: 40px;
}

.page-gioi-thieu-ban-be__btn-primary,
.page-gioi-thieu-ban-be__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-gioi-thieu-ban-be__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-gioi-thieu-ban-be__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-gioi-thieu-ban-be__btn-secondary {
    background: var(--bg-card-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.page-gioi-thieu-ban-be__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Section Titles */
.page-gioi-thieu-ban-be__section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-black-color);
    text-align: center;
    margin-bottom: 50px;
    margin-top: 60px;
    line-height: 1.3;
}

.page-gioi-thieu-ban-be__section-title--white {
    color: #ffffff;
}

/* Benefits Section */
.page-gioi-thieu-ban-be__benefits-section {
    padding: 80px 0;
    background-color: var(--bg-section-color);
}

.page-gioi-thieu-ban-be__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-gioi-thieu-ban-be__benefit-card {
    background-color: var(--bg-card-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gioi-thieu-ban-be__benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-gioi-thieu-ban-be__icon-box-media {
    width: 180px;
    height: 180px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 8px rgba(var(--primary-color), 0.1);
}

.page-gioi-thieu-ban-be__icon-box-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.page-gioi-thieu-ban-be__card-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-black-color);
    margin-bottom: 15px;
}

.page-gioi-thieu-ban-be__card-text {
    font-size: 16px;
    color: var(--text-main-color);
}

/* How It Works Section */
.page-gioi-thieu-ban-be__how-it-works-section {
    padding: 80px 0;
    background-color: var(--bg-card-color);
}

.page-gioi-thieu-ban-be__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-gioi-thieu-ban-be__step-card {
    background-color: var(--bg-section-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    padding-top: 60px;
}

.page-gioi-thieu-ban-be__step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--btn-gradient);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border: 3px solid var(--bg-card-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-gioi-thieu-ban-be__faq-section {
    padding: 80px 0;
    background-color: var(--bg-section-color);
}

.page-gioi-thieu-ban-be__faq-list {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-gioi-thieu-ban-be__faq-item {
    background-color: var(--bg-card-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.page-gioi-thieu-ban-be__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black-color);
    cursor: pointer;
    background-color: var(--bg-card-color);
    border-bottom: 1px solid var(--border-color);
}

.page-gioi-thieu-ban-be__faq-item[open] .page-gioi-thieu-ban-be__faq-question {
    border-bottom-color: transparent;
}

.page-gioi-thieu-ban-be__faq-toggle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-left: 20px;
}

.page-gioi-thieu-ban-be__faq-item[open] .page-gioi-thieu-ban-be__faq-toggle {
    content: '−';
}

.page-gioi-thieu-ban-be__faq-answer {
    padding: 15px 25px 20px;
    font-size: 16px;
    color: var(--text-main-color);
    background-color: var(--bg-card-color);
}

.page-gioi-thieu-ban-be__faq-answer p {
    margin: 0;
}

/* Hide default details marker */
.page-gioi-thieu-ban-be__faq-item > summary {
    list-style: none;
}

.page-gioi-thieu-ban-be__faq-item > summary::-webkit-details-marker {
    display: none;
}

/* Bottom CTA Section */
.page-gioi-thieu-ban-be__cta-bottom-section {
    background: var(--btn-gradient);
    padding: 80px 0;
    text-align: center;
    box-shadow: inset 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-gioi-thieu-ban-be__description--white {
    color: #ffffff;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* General Image Responsiveness */
.page-gioi-thieu-ban-be img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Media Queries */
@media (max-width: 1024px) {
    .page-gioi-thieu-ban-be__main-title {
        font-size: 40px;
    }
    .page-gioi-thieu-ban-be__section-title {
        font-size: 32px;
    }
    .page-gioi-thieu-ban-be__hero-container {
        gap: 30px;
        padding: 40px 0;
    }
    .page-gioi-thieu-ban-be__benefits-grid,
    .page-gioi-thieu-ban-be__steps-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .page-gioi-thieu-ban-be {
        font-size: 16px;
        line-height: 1.6;
    }
    /* HERO section */
    .page-gioi-thieu-ban-be__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
    }
    .page-gioi-thieu-ban-be__hero-container {
        flex-direction: column;
        padding: 30px 0;
        gap: 30px;
    }
    .page-gioi-thieu-ban-be__hero-content {
        order: 2; /* Content below image */
        text-align: center;
    }
    .page-gioi-thieu-ban-be__hero-image {
        order: 1; /* Image above content */
    }
    .page-gioi-thieu-ban-be__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-gioi-thieu-ban-be__description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-gioi-thieu-ban-be__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-gioi-thieu-ban-be__btn-primary,
    .page-gioi-thieu-ban-be__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Section Titles */
    .page-gioi-thieu-ban-be__section-title {
        font-size: 28px;
        margin-top: 40px;
        margin-bottom: 30px;
    }

    /* Benefits Section */
    .page-gioi-thieu-ban-be__benefits-section {
        padding: 50px 0;
    }
    .page-gioi-thieu-ban-be__benefits-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .page-gioi-thieu-ban-be__icon-box-media {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    .page-gioi-thieu-ban-be__card-title {
        font-size: 20px;
    }
    .page-gioi-thieu-ban-be__card-text {
        font-size: 15px;
    }

    /* How It Works Section */
    .page-gioi-thieu-ban-be__how-it-works-section {
        padding: 50px 0;
    }
    .page-gioi-thieu-ban-be__steps-grid {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
    .page-gioi-thieu-ban-be__step-card {
        padding-top: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .page-gioi-thieu-ban-be__step-number {
        top: -20px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* FAQ Section */
    .page-gioi-thieu-ban-be__faq-section {
        padding: 50px 0;
    }
    .page-gioi-thieu-ban-be__faq-list {
        margin-top: 30px;
    }
    .page-gioi-thieu-ban-be__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-gioi-thieu-ban-be__faq-toggle {
        font-size: 20px;
    }
    .page-gioi-thieu-ban-be__faq-answer {
        padding: 10px 20px 15px;
        font-size: 15px;
    }

    /* Bottom CTA Section */
    .page-gioi-thieu-ban-be__cta-bottom-section {
        padding: 50px 0;
    }
    .page-gioi-thieu-ban-be__description--white {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* General Image Responsiveness */
    .page-gioi-thieu-ban-be img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gioi-thieu-ban-be__container,
    .page-gioi-thieu-ban-be__benefit-card,
    .page-gioi-thieu-ban-be__step-card,
    .page-gioi-thieu-ban-be__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-gioi-thieu-ban-be__cta-buttons,
    .page-gioi-thieu-ban-be__button-group,
    .page-gioi-thieu-ban-be__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-direction: column !important;
      gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-gioi-thieu-ban-be__main-title {
        font-size: 28px;
    }
    .page-gioi-thieu-ban-be__section-title {
        font-size: 24px;
    }
    .page-gioi-thieu-ban-be__icon-box-media {
        width: 120px;
        height: 120px;
    }
    .page-gioi-thieu-ban-be__card-title {
        font-size: 18px;
    }
    .page-gioi-thieu-ban-be__faq-question {
        font-size: 15px;
    }
}