.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Default light text on dark background */
    background-color: #1A2A4A; /* Main dark blue background */
}

.page-resources__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #1A2A4A 0%, #3a4d70 100%); /* Dark blue gradient */
    padding: 80px 0;
    text-align: center;
    color: #ffffff;
}

.page-resources__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent gold for title */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #e0e0e0;
}

.page-resources__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    border: 2px solid transparent;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #1A2A4A; /* Dark blue text */
    border-color: #FFD700;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold */
    border-color: #FFD700;
}

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2A4A; /* Dark blue text */
    transform: translateY(-2px);
}

/* Overview Section */
.page-resources__overview {
    padding: 60px 0;
    background-color: #1A2A4A;
    color: #f0f0f0;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-resources__overview-content {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.page-resources__overview-text {
    flex: 2;
    min-width: 300px;
}

.page-resources__overview-text p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #e0e0e0;
}

.page-resources__overview-image {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.page-resources__img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

/* Categories / Features Section */
.page-resources__categories {
    background-color: #2c3e50; /* Slightly lighter dark blue */
    padding: 60px 0;
    color: #f0f0f0;
}

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

.page-resources__feature-item {
    background-color: #1A2A4A;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources__feature-item:hover {
    transform: translateY(-5px);
    background-color: #3a4d70;
}

.page-resources__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: brightness(1.2) drop-shadow(0 0 5px #FFD700);
}

.page-resources__feature-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-resources__feature-description {
    font-size: 1em;
    color: #c0c0c0;
}

/* Detail List Section */
.page-resources__detail-list {
    padding: 60px 0;
    background-color: #1A2A4A;
}

.page-resources__section-description {
    text-align: center;
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources__article-card {
    background-color: #2c3e50;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-resources__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources__article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources__article-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFD700;
    line-height: 1.3;
}

.page-resources__article-title a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__article-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-resources__article-description {
    font-size: 0.95em;
    color: #c0c0c0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    align-self: flex-start;
    margin-top: auto; /* Pushes button to the bottom */
}

/* CTA Section */
.page-resources__cta-section {
    background: linear-gradient(135deg, #FFD700 0%, #e6c200 100%); /* Gold gradient */
    padding: 80px 0;
    text-align: center;
    color: #1A2A4A; /* Dark blue text on gold background */
}

.page-resources__section-title--light {
    color: #1A2A4A; /* Dark blue */
}

.page-resources__section-title--light::after {
    background-color: #1A2A4A;
}

.page-resources__cta-description {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 40px;
    color: #333;
}

.page-resources__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.page-resources__btn--large {
    padding: 15px 35px;
    font-size: 1.2em;
    border-width: 3px;
}

.page-resources__cta-buttons .page-resources__btn--primary {
    background-color: #1A2A4A; /* Dark blue */
    color: #FFD700; /* Gold */
    border-color: #1A2A4A;
}

.page-resources__cta-buttons .page-resources__btn--primary:hover {
    background-color: #0f1c30;
    border-color: #0f1c30;
}

.page-resources__cta-buttons .page-resources__btn--secondary {
    background-color: transparent;
    color: #1A2A4A; /* Dark blue */
    border-color: #1A2A4A;
}

.page-resources__cta-buttons .page-resources__btn--secondary:hover {
    background-color: #1A2A4A;
    color: #FFD700; /* Gold */
}

/* FAQ Section */
.page-resources__faq {
    padding: 60px 0;
    background-color: #1A2A4A;
    color: #f0f0f0;
}

.page-resources__faq-list {
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__faq-item {
    background-color: #2c3e50;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources__faq-question {
    font-size: 1.3em;
    color: #FFD700;
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.page-resources__faq-question::after {
    content: '+';
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.page-resources__faq-question.active {
    background-color: #3a4d70;
}

.page-resources__faq-question.active::after {
    transform: rotate(45deg);
}

.page-resources__faq-answer {
    padding: 0 25px 20px;
    font-size: 1.05em;
    color: #c0c0c0;
    display: none; /* Hidden by default */
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.4s ease, max-height 0.4s ease, padding 0.4s ease;
}

.page-resources__faq-answer.active {
    display: block;
    opacity: 1;
    max-height: 500px; /* Arbitrary large value for smooth transition */
    padding: 0 25px 20px;
}

.page-resources__faq-answer p {
    margin-bottom: 10px;
}

.page-resources__faq-answer a {
    color: #FFD700;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }

    .page-resources__section-title {
        font-size: 2em;
    }

    .page-resources__overview-content {
        flex-direction: column;
    }

    .page-resources__overview-image {
        order: -1; /* Image above text on smaller screens */
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 60px 0;
    }

    .page-resources__hero-title {
        font-size: 2.2em;
    }

    .page-resources__hero-description {
        font-size: 1em;
    }

    .page-resources__btn {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-resources__section-title {
        font-size: 1.8em;
    }

    .page-resources__features-grid,
    .page-resources__articles-grid {
        grid-template-columns: 1fr;
    }

    .page-resources__feature-item,
    .page-resources__article-card {
        padding: 25px;
    }

    .page-resources__article-image {
        height: 180px;
    }

    .page-resources__cta-section {
        padding: 60px 0;
    }

    .page-resources__cta-description {
        font-size: 1.1em;
    }

    .page-resources__btn--large {
        padding: 12px 25px;
        font-size: 1.1em;
    }

    .page-resources__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }

    .page-resources__faq-answer {
        font-size: 0.95em;
        padding: 0 20px 15px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }

    .page-resources__hero-cta {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources__section-title {
        font-size: 1.6em;
    }

    .page-resources__article-title {
        font-size: 1.2em;
    }

    .page-resources__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}