/* style/resources-how-to-choose-safe-platform.css */

/* Biến CSS */
:root {
    --page-primary-color: #FFD700; /* Gold */
    --page-secondary-color: #00BFFF; /* Deep Sky Blue */
    --page-text-dark: #1a1a1a;
    --page-text-light: #ffffff;
    --page-background-light: #f8f8f8;
    --page-background-dark: #2c3e50; /* A dark tone for contrast */
}

.page-resources-how-to-choose-safe-platform {
    font-family: 'Arial', sans-serif;
    color: var(--page-text-dark);
    line-height: 1.6;
    background-color: var(--page-background-light);
}

.page-resources-how-to-choose-safe-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-how-to-choose-safe-platform__hero {
    background: linear-gradient(135deg, var(--page-primary-color) 0%, var(--page-secondary-color) 100%);
    color: var(--page-text-dark);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-how-to-choose-safe-platform__hero-title {
    font-size: 3.5em;
    color: var(--page-text-dark);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

.page-resources-how-to-choose-safe-platform__hero-subtitle {
    font-size: 1.4em;
    color: var(--page-text-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-choose-safe-platform__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

/* Content Sections */
.page-resources-how-to-choose-safe-platform__content-section {
    padding: 60px 0;
}

.page-resources-how-to-choose-safe-platform--bg-accent {
    background-color: var(--page-background-dark);
    color: var(--page-text-light);
}

.page-resources-how-to-choose-safe-platform--bg-accent h2,
.page-resources-how-to-choose-safe-platform--bg-accent h3,
.page-resources-how-to-choose-safe-platform--bg-accent p,
.page-resources-how-to-choose-safe-platform--bg-accent ul,
.page-resources-how-to-choose-safe-platform--bg-accent li {
    color: var(--page-text-light); /* Ensure text is light on dark background */
}

.page-resources-how-to-choose-safe-platform__section-title {
    font-size: 2.5em;
    color: var(--page-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-how-to-choose-safe-platform__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-secondary-color);
    border-radius: 2px;
}

.page-resources-how-to-choose-safe-platform__subsection-title {
    font-size: 1.8em;
    color: var(--page-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-how-to-choose-safe-platform--bg-accent .page-resources-how-to-choose-safe-platform__subsection-title {
    color: var(--page-primary-color);
}

.page-resources-how-to-choose-safe-platform p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-resources-how-to-choose-safe-platform__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-resources-how-to-choose-safe-platform__list li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-resources-how-to-choose-safe-platform__image-inline {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.page-resources-how-to-choose-safe-platform__button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    margin: 10px;
}

.page-resources-how-to-choose-safe-platform__button--primary {
    background-color: var(--page-primary-color);
    color: var(--page-text-dark);
    border: 2px solid var(--page-primary-color);
}

.page-resources-how-to-choose-safe-platform__button--primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-safe-platform__button--secondary {
    background-color: transparent;
    color: var(--page-secondary-color);
    border: 2px solid var(--page-secondary-color);
}

.page-resources-how-to-choose-safe-platform__button--secondary:hover {
    background-color: var(--page-secondary-color);
    color: var(--page-text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-safe-platform__cta-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.page-resources-how-to-choose-safe-platform__cta-bottom p {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--page-text-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources-how-to-choose-safe-platform__hero-title {
        font-size: 2.5em;
    }

    .page-resources-how-to-choose-safe-platform__hero-subtitle,
    .page-resources-how-to-choose-safe-platform p,
    .page-resources-how-to-choose-safe-platform__list li {
        font-size: 1em;
    }

    .page-resources-how-to-choose-safe-platform__section-title {
        font-size: 2em;
    }

    .page-resources-how-to-choose-safe-platform__subsection-title {
        font-size: 1.5em;
    }

    .page-resources-how-to-choose-safe-platform__button {
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-choose-safe-platform__hero-title {
        font-size: 2em;
    }

    .page-resources-how-to-choose-safe-platform__hero {
        padding: 60px 0 30px;
    }

    .page-resources-how-to-choose-safe-platform__section-title {
        font-size: 1.8em;
    }

    .page-resources-how-to-choose-safe-platform__subsection-title {
        font-size: 1.3em;
    }

    .page-resources-how-to-choose-safe-platform__button {
        display: block;
        margin: 10px auto;
        width: 90%;
    }
    .page-resources-how-to-choose-safe-platform__list {
        padding-left: 10px;
    }
}