/* style/index-j88best-advantages.css */

/* Biến CSS */
:root {
    --page-index-j88best-advantages-primary-color: #0056B3;
    --page-index-j88best-advantages-secondary-color: #FFD700;
    --page-index-j88best-advantages-dark-text: #2c3e50; /* Gần đen, đảm bảo tương phản */
    --page-index-j88best-advantages-light-text: #ecf0f1; /* Gần trắng, đảm bảo tương phản */
    --page-index-j88best-advantages-background-light: #f8f9fa;
    --page-index-j88best-advantages-background-dark: #1a3a5e; /* Màu nền tối hơn từ primary */
    --page-index-j88best-advantages-accent-color: #ffa94c; /* Màu tương phản từ primary */
    --page-index-j88best-advantages-border-radius: 8px;
    --page-index-j88best-advantages-spacing-sm: 15px;
    --page-index-j88best-advantages-spacing-md: 30px;
    --page-index-j88best-advantages-spacing-lg: 60px;
}

.page-index-j88best-advantages {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-index-j88best-advantages-dark-text);
    background-color: var(--page-index-j88best-advantages-background-light);
}

.page-index-j88best-advantages__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--page-index-j88best-advantages-spacing-sm);
}

.page-index-j88best-advantages__hero {
    background: linear-gradient(135deg, var(--page-index-j88best-advantages-primary-color) 0%, #007bff 100%);
    color: var(--page-index-j88best-advantages-light-text);
    padding: var(--page-index-j88best-advantages-spacing-lg) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-index-j88best-advantages__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.page-index-j88best-advantages__hero > .page-index-j88best-advantages__container {
    position: relative;
    z-index: 2;
}

.page-index-j88best-advantages__hero-title {
    font-size: 3.2em;
    margin-bottom: var(--page-index-j88best-advantages-spacing-sm);
    font-weight: bold;
    line-height: 1.2;
}

.page-index-j88best-advantages__hero-subtitle {
    font-size: 1.3em;
    margin-bottom: var(--page-index-j88best-advantages-spacing-md);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-j88best-advantages__section {
    padding: var(--page-index-j88best-advantages-spacing-lg) 0;
}

.page-index-j88best-advantages__section--dark {
    background-color: var(--page-index-j88best-advantages-background-dark);
    color: var(--page-index-j88best-advantages-light-text);
}

.page-index-j88best-advantages__section-title {
    font-size: 2.5em;
    color: var(--page-index-j88best-advantages-primary-color);
    text-align: center;
    margin-bottom: var(--page-index-j88best-advantages-spacing-lg);
    position: relative;
}

.page-index-j88best-advantages__section--dark .page-index-j88best-advantages__section-title {
    color: var(--page-index-j88best-advantages-secondary-color);
}

.page-index-j88best-advantages__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--page-index-j88best-advantages-secondary-color);
    margin: 15px auto 0 auto;
    border-radius: 2px;
}

.page-index-j88best-advantages__section--dark .page-index-j88best-advantages__section-title::after {
    background-color: var(--page-index-j88best-advantages-primary-color);
}

.page-index-j88best-advantages h3 {
    font-size: 1.8em;
    color: var(--page-index-j88best-advantages-primary-color);
    margin-top: var(--page-index-j88best-advantages-spacing-md);
    margin-bottom: var(--page-index-j88best-advantages-spacing-sm);
}

.page-index-j88best-advantages__section--dark h3 {
    color: var(--page-index-j88best-advantages-secondary-color);
}

.page-index-j88best-advantages p {
    font-size: 1.1em;
    margin-bottom: var(--page-index-j88best-advantages-spacing-sm);
}

.page-index-j88best-advantages__content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--page-index-j88best-advantages-spacing-lg);
    margin-bottom: var(--page-index-j88best-advantages-spacing-lg);
}

.page-index-j88best-advantages__content-row--reverse {
    flex-direction: row-reverse;
}

.page-index-j88best-advantages__text-content {
    flex: 1;
    min-width: 300px;
}

.page-index-j88best-advantages__image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-j88best-advantages__image {
    max-width: 100%;
    height: auto;
    border-radius: var(--page-index-j88best-advantages-border-radius);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-j88best-advantages__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--page-index-j88best-advantages-border-radius);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: center;
}

.page-index-j88best-advantages__btn--primary {
    background-color: var(--page-index-j88best-advantages-secondary-color);
    color: var(--page-index-j88best-advantages-primary-color);
    border: 2px solid var(--page-index-j88best-advantages-secondary-color);
}

.page-index-j88best-advantages__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-j88best-advantages__btn--secondary {
    background-color: transparent;
    color: var(--page-index-j88best-advantages-secondary-color);
    border: 2px solid var(--page-index-j88best-advantages-secondary-color);
}

.page-index-j88best-advantages__btn--secondary:hover {
    background-color: var(--page-index-j88best-advantages-secondary-color);
    color: var(--page-index-j88best-advantages-primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-index-j88best-advantages__btn--center {
    display: block;
    margin: var(--page-index-j88best-advantages-spacing-md) auto;
    width: fit-content;
}

.page-index-j88best-advantages__btn--link {
    background: none;
    border: none;
    color: var(--page-index-j88best-advantages-primary-color);
    padding: 0;
    font-size: 1em;
    text-decoration: underline;
    margin-top: var(--page-index-j88best-advantages-spacing-sm);
}

.page-index-j88best-advantages__btn--link:hover {
    color: var(--page-index-j88best-advantages-accent-color);
    text-decoration: none;
}

.page-index-j88best-advantages__section--dark .page-index-j88best-advantages__btn--link {
    color: var(--page-index-j88best-advantages-secondary-color);
}

.page-index-j88best-advantages__section--dark .page-index-j88best-advantages__btn--link:hover {
    color: var(--page-index-j88best-advantages-light-text);
}

.page-index-j88best-advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--page-index-j88best-advantages-spacing-md);
    margin-top: var(--page-index-j88best-advantages-spacing-md);
}

.page-index-j88best-advantages__grid-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: var(--page-index-j88best-advantages-spacing-md);
    border-radius: var(--page-index-j88best-advantages-border-radius);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-j88best-advantages__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-j88best-advantages__grid-item h3 {
    color: var(--page-index-j88best-advantages-secondary-color);
    margin-top: var(--page-index-j88best-advantages-spacing-sm);
    font-size: 1.5em;
}

.page-index-j88best-advantages__icon {
    width: 80px;
    height: 80px;
    margin-bottom: var(--page-index-j88best-advantages-spacing-sm);
}

.page-index-j88best-advantages__step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--page-index-j88best-advantages-spacing-md);
    margin-top: var(--page-index-j88best-advantages-spacing-md);
    text-align: center;
}

.page-index-j88best-advantages__step-item {
    background-color: var(--page-index-j88best-advantages-background-light);
    padding: var(--page-index-j88best-advantages-spacing-md);
    border-radius: var(--page-index-j88best-advantages-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--page-index-j88best-advantages-primary-color);
}

.page-index-j88best-advantages__step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-index-j88best-advantages__step-item h3 {
    color: var(--page-index-j88best-advantages-primary-color);
    font-size: 1.6em;
    margin-top: var(--page-index-j88best-advantages-spacing-sm);
    margin-bottom: var(--page-index-j88best-advantages-spacing-sm);
}

.page-index-j88best-advantages__step-icon {
    width: 70px;
    height: 70px;
    margin-bottom: var(--page-index-j88best-advantages-spacing-sm);
}

.page-index-j88best-advantages__section--cta {
    background: linear-gradient(90deg, var(--page-index-j88best-advantages-primary-color), var(--page-index-j88best-advantages-background-dark));
    color: var(--page-index-j88best-advantages-light-text);
    text-align: center;
    padding: var(--page-index-j88best-advantages-spacing-lg) 0;
    margin-top: var(--page-index-j88best-advantages-spacing-lg);
}

.page-index-j88best-advantages__cta-title {
    font-size: 2.8em;
    margin-bottom: var(--page-index-j88best-advantages-spacing-sm);
    color: var(--page-index-j88best-advantages-light-text);
}

.page-index-j88best-advantages__cta-subtitle {
    font-size: 1.3em;
    margin-bottom: var(--page-index-j88best-advantages-spacing-md);
}

.page-index-j88best-advantages__cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--page-index-j88best-advantages-spacing-md);
    flex-wrap: wrap;
}

.page-index-j88best-advantages__cta-buttons .page-index-j88best-advantages__btn {
    min-width: 180px;
}

.page-index-j88best-advantages .highlight {
    color: var(--page-index-j88best-advantages-secondary-color);
}

.page-index-j88best-advantages__link-in-text {
    color: var(--page-index-j88best-advantages-primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-index-j88best-advantages__link-in-text:hover {
    color: var(--page-index-j88best-advantages-accent-color);
}

.page-index-j88best-advantages__section--dark .page-index-j88best-advantages__link-in-text {
    color: var(--page-index-j88best-advantages-secondary-color);
}

.page-index-j88best-advantages__section--dark .page-index-j88best-advantages__link-in-text:hover {
    color: var(--page-index-j88best-advantages-light-text);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-j88best-advantages__hero-title {
        font-size: 2.5em;
    }
    .page-index-j88best-advantages__section-title {
        font-size: 2em;
    }
    .page-index-j88best-advantages h3 {
        font-size: 1.5em;
    }
    .page-index-j88best-advantages__hero-subtitle,
    .page-index-j88best-advantages p {
        font-size: 1em;
    }
    .page-index-j88best-advantages__content-row {
        flex-direction: column;
        text-align: center;
    }
    .page-index-j88best-advantages__content-row--reverse {
        flex-direction: column-reverse;
    }
    .page-index-j88best-advantages__image-wrapper {
        order: -1; /* Đẩy ảnh lên trên trong bố cục cột */
        margin-bottom: var(--page-index-j88best-advantages-spacing-md);
    }
    .page-index-j88best-advantages__section--dark .page-index-j88best-advantages__image-wrapper {
        order: 0;
    }
}

@media (max-width: 768px) {
    .page-index-j88best-advantages__hero-title {
        font-size: 2em;
    }
    .page-index-j88best-advantages__section-title {
        font-size: 1.8em;
    }
    .page-index-j88best-advantages h3 {
        font-size: 1.3em;
    }
    .page-index-j88best-advantages__cta-title {
        font-size: 2em;
    }
    .page-index-j88best-advantages__cta-subtitle {
        font-size: 1.1em;
    }
    .page-index-j88best-advantages__spacing-lg {
        padding: 40px 0;
    }
    .page-index-j88best-advantages__spacing-md {
        margin-bottom: 20px;
    }
    .page-index-j88best-advantages__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-index-j88best-advantages__cta-buttons {
        flex-direction: column;
        gap: var(--page-index-j88best-advantages-spacing-sm);
    }
    .page-index-j88best-advantages__cta-buttons .page-index-j88best-advantages__btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-index-j88best-advantages__hero-title {
        font-size: 1.8em;
    }
    .page-index-j88best-advantages__hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-j88best-advantages__section-title {
        font-size: 1.5em;
    }
    .page-index-j88best-advantages h3 {
        font-size: 1.2em;
    }
    .page-index-j88best-advantages p {
        font-size: 0.9em;
    }
    .page-index-j88best-advantages__spacing-lg {
        padding: 30px 0;
    }
    .page-index-j88best-advantages__btn {
        padding: 8px 18px;
        font-size: 0.9em;
    }
}