.page-resources {
    font-family: 'Arial', sans-serif;
    color: #0A1931; /* Dark text for light backgrounds */
    line-height: 1.6;
}

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

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #0A1931 0%, #30475E 100%); /* Dark blue gradient */
    color: #FFFFFF; /* White text for dark background */
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,pattern,dark,gold]') no-repeat center center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-resources__hero > .page-resources__container {
    position: relative;
    z-index: 1;
}

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

.page-resources__hero-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #E0E0E0;
}

/* Buttons */
.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold button */
    color: #0A1931; /* Dark text for gold button */
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-resources__btn--secondary {
    background-color: #0A1931; /* Dark blue button */
    color: #FFD700; /* Gold text for dark button */
    border: 1px solid #FFD700;
    padding: 10px 20px;
    font-size: 1em;
}

.page-resources__btn--secondary:hover {
    background-color: #1a3a60;
    border-color: #E6C200;
    transform: translateY(-2px);
}

/* Section Titles */
.page-resources__section-title {
    font-size: 2.8em;
    color: #0A1931;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.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__section-description {
    font-size: 1.1em;
    color: #333;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-resources__intro {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.page-resources__text-content {
    flex: 2;
    font-size: 1.1em;
    color: #333;
}

.page-resources__text-content h3 {
    color: #0A1931;
    font-size: 1.8em;
    margin-top: 0;
}

.page-resources__text-content p {
    margin-bottom: 20px;
}

.page-resources__image-wrapper {
    flex: 1;
    text-align: center;
}

.page-resources__intro-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Articles Grid */
.page-resources__articles {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-resources__article-item {
    background-color: #F0F2F5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources__article-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #E0E0E0;
}

.page-resources__article-item h3 {
    font-size: 1.5em;
    color: #0A1931;
    padding: 20px 20px 10px;
    margin: 0;
}

.page-resources__article-item h3 a {
    color: #0A1931;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__article-item h3 a:hover {
    color: #FFD700;
}

.page-resources__article-description {
    font-size: 0.95em;
    color: #555;
    padding: 0 20px 15px;
    flex-grow: 1;
}

.page-resources__article-item .page-resources__btn--secondary {
    margin: 0 20px 20px;
    align-self: flex-start;
}

/* Why Choose Section */
.page-resources__why-choose {
    background-color: #0A1931; /* Dark blue background */
    color: #FFFFFF; /* White text for dark background */
    padding: 80px 0;
}

.page-resources__why-choose .page-resources__section-title {
    color: #FFD700; /* Gold title for dark background */
}

.page-resources__why-choose .page-resources__section-title::after {
    background-color: #FFFFFF;
}

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

.page-resources__feature-item {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources__feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-resources__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700); /* Gold glow for icons */
}

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

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

.page-resources__cta-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources__cta-text {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 30px;
    color: #FFFFFF;
}

/* FAQ Section */
.page-resources__faq {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.page-resources__faq-item {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources__faq-question {
    font-size: 1.3em;
    color: #0A1931;
    margin-top: 0;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFD700;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.page-resources__faq-item.active .page-resources__faq-question::after {
    content: '-';
    transform: rotate(180deg);
}

.page-resources__faq-answer {
    font-size: 1em;
    color: #555;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
    opacity: 0;
}

.page-resources__faq-item.active .page-resources__faq-answer {
    max-height: 200px; /* Adjust as needed for content */
    opacity: 1;
}

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

    .page-resources__hero-subtitle {
        font-size: 1.2em;
    }

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

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

    .page-resources__text-content, .page-resources__image-wrapper {
        flex: none;
        width: 100%;
    }

    .page-resources__intro-image {
        max-width: 80%;
    }
}

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

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

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

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

    .page-resources__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources__articles, .page-resources__why-choose, .page-resources__faq {
        padding: 60px 0;
    }

    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }

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

    .page-resources__feature-title {
        font-size: 1.4em;
    }

    .page-resources__cta-text {
        font-size: 1.2em;
    }
}

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

    .page-resources__hero-subtitle {
        font-size: 0.9em;
    }

    .page-resources__btn--primary {
        width: 100%;
        box-sizing: border-box;
    }

    .page-resources__container {
        padding: 0 15px;
    }

    .page-resources__intro-image {
        max-width: 100%;
    }
}