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

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark-section: #007bff;
    --card-bg: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-reliable-platform {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light);
}

.page-resources-how-to-choose-reliable-platform__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-resources-how-to-choose-reliable-platform__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-how-how-to-choose-reliable-platform__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-resources-how-to-choose-reliable-platform__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-resources-how-to-choose-reliable-platform__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-how-to-choose-reliable-platform__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-how-to-choose-reliable-platform__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-how-to-choose-reliable-platform__btn-primary,
.page-resources-how-to-choose-reliable-platform__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-resources-how-to-choose-reliable-platform__btn-primary:hover {
    background-color: #e6b000;
    border-color: #e6b000;
}

.page-resources-how-to-choose-reliable-platform__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-resources-how-to-choose-reliable-platform__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-platform__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--bg-light);
}

.page-resources-how-to-choose-reliable-platform__container {
    max-width: 100%;
    margin: 0 auto;
}

.page-resources-how-to-choose-reliable-platform__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-resources-how-to-choose-reliable-platform__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-platform__criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-choose-reliable-platform__card {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-platform__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-how-to-choose-reliable-platform__card-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources-how-to-choose-reliable-platform__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-resources-how-to-choose-reliable-platform__card-text {
    font-size: 1em;
    color: var(--text-dark);
    text-align: justify;
}

.page-resources-how-to-choose-reliable-platform__feature-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
}

.page-resources-how-to-choose-reliable-platform__feature-item {
    background-color: var(--card-bg);
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.page-resources-how-to-choose-reliable-platform__feature-item:hover {
    transform: translateX(5px);
}

.page-resources-how-to-choose-reliable-platform__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-resources-how-to-choose-reliable-platform__feature-item p {
    color: var(--text-dark);
    font-size: 1em;
    text-align: justify;
}

.page-resources-how-to-choose-reliable-platform__guide-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-resources-how-to-choose-reliable-platform__guide-item {
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    margin-bottom: 20px;
    position: relative;
    counter-increment: guide-counter;
}

.page-resources-how-to-choose-reliable-platform__guide-item::before {
    content: counter(guide-counter);
    position: absolute;
    top: 25px;
    left: -15px;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reliable-platform__guide-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 10px;
    margin-left: 30px; /* Adjust for counter */
    font-weight: bold;
}

.page-resources-how-to-choose-reliable-platform__guide-item p {
    color: var(--text-dark);
    font-size: 1em;
    margin-left: 30px; /* Adjust for counter */
    text-align: justify;
}

.page-resources-how-to-choose-reliable-platform__cta-bottom {
    text-align: center;
    margin-top: 50px;
}

.page-resources-how-to-choose-reliable-platform__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-how-to-choose-reliable-platform__text-link:hover {
    color: var(--secondary-color);
}

.page-resources-how-to-choose-reliable-platform__faq-container {
    margin-top: 40px;
}

.page-resources-how-to-choose-reliable-platform__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-how-to-choose-reliable-platform__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: var(--bg-light);
    transition: background-color 0.3s ease;
}

.page-resources-how-to-choose-reliable-platform__faq-question:hover {
    background-color: #e9ecef;
}

.page-resources-how-to-choose-reliable-platform__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-resources-how-to-choose-reliable-platform__faq-item.active .page-resources-how-to-choose-reliable-platform__faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-platform__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-platform__faq-item.active .page-resources-how-to-choose-reliable-platform__faq-answer {
    max-height: 1000px !important; /* Ensure it expands */
    padding: 15px 25px;
}

.page-resources-how-to-choose-reliable-platform__faq-answer p {
    margin-bottom: 0;
    color: var(--text-dark);
}

.page-resources-how-to-choose-reliable-platform__video-section {
    background-color: var(--bg-dark-section);
    padding: 60px 20px;
    text-align: center;
    color: var(--text-light);
}

.page-resources-how-to-choose-reliable-platform__video-section .page-resources-how-to-choose-reliable-platform__section-title {
    color: var(--text-light);
}

.page-resources-how-to-choose-reliable-platform__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 30px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
}

.page-resources-how-to-choose-reliable-platform__video-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.page-resources-how-to-choose-reliable-platform__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-how-to-choose-reliable-platform__hero-title {
        font-size: 2.8em;
    }
    .page-resources-how-to-choose-reliable-platform__hero-description {
        font-size: 1.1em;
    }
    .page-resources-how-to-choose-reliable-platform__section-title {
        font-size: 2em;
    }
    .page-resources-how-to-choose-reliable-platform__card-title {
        font-size: 1.3em;
    }
    .page-resources-how-to-choose-reliable-platform__feature-title {
        font-size: 1.2em;
    }
    .page-resources-how-to-choose-reliable-platform__guide-title {
        font-size: 1.1em;
    }
    .page-resources-how-to-choose-reliable-platform__faq-question {
        font-size: 1.1em;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-reliable-platform__hero-section {
        min-height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-resources-how-to-choose-reliable-platform__hero-title {
        font-size: 2em;
    }
    .page-resources-how-to-choose-reliable-platform__hero-description {
        font-size: 1em;
    }
    .page-resources-how-to-choose-reliable-platform__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources-how-to-choose-reliable-platform__btn-primary,
    .page-resources-how-to-choose-reliable-platform__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-resources-how-to-choose-reliable-platform__content-area {
        padding: 40px 15px;
    }
    .page-resources-how-to-choose-reliable-platform__section-title {
        font-size: 1.8em;
    }
    .page-resources-how-to-choose-reliable-platform__paragraph {
        font-size: 0.95em;
    }
    .page-resources-how-to-choose-reliable-platform__criteria-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-how-to-choose-reliable-platform__card {
        padding: 20px;
    }
    .page-resources-how-to-choose-reliable-platform__card-image {
        height: 200px;
    }
    .page-resources-how-to-choose-reliable-platform__feature-item,
    .page-resources-how-to-choose-reliable-platform__guide-item {
        padding: 20px;
    }
    .page-resources-how-to-choose-reliable-platform__guide-item::before {
        left: 0;
    }
    .page-resources-how-to-choose-reliable-platform__guide-title,
    .page-resources-how-to-choose-reliable-platform__guide-item p {
        margin-left: 20px; /* Adjust for counter */
    }
    .page-resources-how-to-choose-reliable-platform__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-resources-how-to-choose-reliable-platform__faq-answer {
        padding: 0 20px;
    }
    .page-resources-how-to-choose-reliable-platform__faq-item.active .page-resources-how-to-choose-reliable-platform__faq-answer {
        padding: 15px 20px;
    }

    /* Image Responsive */
    .page-resources-how-to-choose-reliable-platform img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-how-to-choose-reliable-platform__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-how-to-choose-reliable-platform__section,
    .page-resources-how-to-choose-reliable-platform__card,
    .page-resources-how-to-choose-reliable-platform__container,
    .page-resources-how-to-choose-reliable-platform__hero-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Video Responsive */
    .page-resources-how-to-choose-reliable-platform video,
    .page-resources-how-to-choose-reliable-platform__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-how-to-choose-reliable-platform__video-section,
    .page-resources-how-to-choose-reliable-platform__video-container,
    .page-resources-how-to-choose-reliable-platform__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-resources-how-to-choose-reliable-platform__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}