/* style/resources-choosing-a-reliable-platform.css */
:root {
    --primary-color: #DAA520; /* Gold */
    --secondary-color: #1E1E1E; /* Dark Grey/Black */
    --accent-color: #CC0000; /* Deep Red for highlights */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f5f5f5;
    --background-card: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-choosing-a-reliable-platform {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

/* Top padding to account for fixed header */
.page-resources-choosing-a-reliable-platform__hero-banner {
    padding-top: 180px; /* Desktop fixed header offset */
}

@media (max-width: 768px) {
    .page-resources-choosing-a-reliable-platform__hero-banner {
        padding-top: 140px; /* Mobile fixed header offset */
    }
}

.page-resources-choosing-a-reliable-platform__hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-light);
    padding-bottom: 60px; /* Add some space below content */
}

.page-resources-choosing-a-reliable-platform__hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-resources-choosing-a-reliable-platform__hero-image {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    border-radius: 12px;
    margin-bottom: 30px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-choosing-a-reliable-platform__hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
}

.page-resources-choosing-a-reliable-platform__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-resources-choosing-a-reliable-platform__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-choosing-a-reliable-platform__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
}

.page-resources-choosing-a-reliable-platform__cta-button:hover {
    background: #FFD700; /* Slightly lighter gold on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.page-resources-choosing-a-reliable-platform__content-section {
    padding: 60px 0;
    background-color: var(--background-light);
}

.page-resources-choosing-a-reliable-platform__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-choosing-a-reliable-platform__section-title {
    font-size: 2.5em;
    color: var(--text-color-dark);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.3;
}

.page-resources-choosing-a-reliable-platform__paragraph {
    font-size: 1.1em;
    margin-bottom: 25px;
    line-height: 1.7;
    color: var(--text-color-dark);
}

.page-resources-choosing-a-reliable-platform__keyword {
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-choosing-a-reliable-platform__criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.page-resources-choosing-a-reliable-platform__criterion-card {
    background-color: var(--background-card);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-choosing-a-reliable-platform__criterion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-choosing-a-reliable-platform__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-choosing-a-reliable-platform__card-title {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-choosing-a-reliable-platform__card-text {
    font-size: 1em;
    color: var(--text-color-dark);
    line-height: 1.6;
    text-align: left;
}

.page-resources-choosing-a-reliable-platform__ordered-list,
.page-resources-choosing-a-reliable-platform__unordered-list {
    list-style-type: none;
    padding: 0;
    margin-bottom: 40px;
}

.page-resources-choosing-a-reliable-platform__list-item {
    background-color: var(--background-card);
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-size: 1.1em;
    color: var(--text-color-dark);
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.page-resources-choosing-a-reliable-platform__ordered-list .page-resources-choosing-a-reliable-platform__list-item {
    counter-increment: list-counter;
}

.page-resources-choosing-a-reliable-platform__ordered-list .page-resources-choosing-a-reliable-platform__list-item::before {
    content: counter(list-counter) ". ";
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2em;
    flex-shrink: 0;
}

.page-resources-choosing-a-reliable-platform__unordered-list .page-resources-choosing-a-reliable-platform__list-item::before {
    content: "\2022"; /* Bullet point */
    font-weight: bold;
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 1.2em;
    flex-shrink: 0;
}

.page-resources-choosing-a-reliable-platform__faq-container {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-choosing-a-reliable-platform__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-choosing-a-reliable-platform__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-choosing-a-reliable-platform__faq-item.active .page-resources-choosing-a-reliable-platform__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-resources-choosing-a-reliable-platform__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-choosing-a-reliable-platform__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-choosing-a-reliable-platform__faq-question:active {
    background: #eeeeee;
}

.page-resources-choosing-a-reliable-platform__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-dark);
}

.page-resources-choosing-a-reliable-platform__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-choosing-a-reliable-platform__faq-item.active .page-resources-choosing-a-reliable-platform__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Change '+' to 'x' or '-' */
}

.page-resources-choosing-a-reliable-platform__cta-bottom {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-resources-choosing-a-reliable-platform__cta-button--large {
    padding: 20px 60px;
    font-size: 1.2em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-choosing-a-reliable-platform__hero-title {
        font-size: 2.8em;
    }
    .page-resources-choosing-a-reliable-platform__hero-description {
        font-size: 1.2em;
    }
    .page-resources-choosing-a-reliable-platform__section-title {
        font-size: 2.2em;
    }
    .page-resources-choosing-a-reliable-platform__paragraph,
    .page-resources-choosing-a-reliable-platform__list-item,
    .page-resources-choosing-a-reliable-platform__card-text {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-resources-choosing-a-reliable-platform__hero-banner {
        padding-bottom: 40px;
    }
    .page-resources-choosing-a-reliable-platform__hero-title {
        font-size: 2.2em;
    }
    .page-resources-choosing-a-reliable-platform__hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-resources-choosing-a-reliable-platform__cta-button {
        padding: 15px 30px;
        font-size: 1em;
    }
    .page-resources-choosing-a-reliable-platform__content-section {
        padding: 40px 0;
    }
    .page-resources-choosing-a-reliable-platform__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources-choosing-a-reliable-platform__criteria-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-choosing-a-reliable-platform__criterion-card {
        padding: 20px;
    }
    .page-resources-choosing-a-reliable-platform__card-title {
        font-size: 1.4em;
    }
    .page-resources-choosing-a-reliable-platform__list-item {
        padding: 15px 20px;
        font-size: 0.95em;
    }
    .page-resources-choosing-a-reliable-platform__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-choosing-a-reliable-platform__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-resources-choosing-a-reliable-platform__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-choosing-a-reliable-platform__faq-answer {
        padding: 0 15px;
    }
    .page-resources-choosing-a-reliable-platform__faq-item.active .page-resources-choosing-a-reliable-platform__faq-answer {
        padding: 15px !important;
    }
    .page-resources-choosing-a-reliable-platform__cta-button--large {
        padding: 15px 40px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources-choosing-a-reliable-platform__hero-title {
        font-size: 1.8em;
    }
    .page-resources-choosing-a-reliable-platform__hero-description {
        font-size: 0.9em;
    }
    .page-resources-choosing-a-reliable-platform__section-title {
        font-size: 1.5em;
    }
    .page-resources-choosing-a-reliable-platform__paragraph {
        font-size: 0.9em;
    }
    .page-resources-choosing-a-reliable-platform__card-title {
        font-size: 1.2em;
    }
    .page-resources-choosing-a-reliable-platform__list-item {
        font-size: 0.9em;
    }
    .page-resources-choosing-a-reliable-platform__faq-question h3 {
        font-size: 14px;
    }
    .page-resources-choosing-a-reliable-platform__cta-button--large {
        padding: 12px 30px;
        font-size: 1em;
    }
}