:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Deep Red */
    --dark-bg-color: #1a1a1a; /* Dark Grey for background */
    --light-text-color: #ffffff;
    --dark-text-color: #333333;
    --card-bg-color: #2a2a2a;
    --border-color: #444444;
    --button-hover-color: #b30000;
    --gold-hover-color: #e6c200;
}

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

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

.page-resources .hero-banner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--dark-bg-color), #333333);
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.page-resources .hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
}

.page-resources .hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    object-fit: cover;
}

.page-resources .hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 40px;
}

.page-resources .hero-title {
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: bold;
}

.page-resources .hero-description {
    font-size: 1.2em;
    color: var(--light-text-color);
    margin-bottom: 30px;
    opacity: 0.9;
}

.page-resources .cta-button {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--dark-text-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-resources .cta-button:hover {
    background-color: var(--gold-hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-resources .secondary.cta-button {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    margin-left: 20px;
}

.page-resources .secondary.cta-button:hover {
    background-color: var(--button-hover-color);
}

.page-resources .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.page-resources .section-subtitle {
    font-size: 1.1em;
    color: #cccccc;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources .guides-section, .page-resources .latest-news-section, .page-resources .faq-section {
    padding: 60px 0;
    background-color: var(--dark-bg-color);
}

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

.page-resources .card {
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-resources .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-resources .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.page-resources .card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-resources .card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources .card-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .card-link:hover {
    color: var(--gold-hover-color);
}

.page-resources .card-text {
    font-size: 0.95em;
    color: #b0b0b0;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-resources .card-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.page-resources .card-button:hover {
    background-color: var(--button-hover-color);
}

.page-resources .news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-resources .news-item {
    display: flex;
    background-color: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources .news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.page-resources .news-img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-resources .news-content {
    padding: 25px;
    flex-grow: 1;
}

.page-resources .news-title {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.page-resources .news-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources .news-link:hover {
    color: var(--gold-hover-color);
}

.page-resources .news-date {
    font-size: 0.85em;
    color: #888888;
    margin-bottom: 15px;
}

.page-resources .news-excerpt {
    font-size: 1em;
    color: #b0b0b0;
    margin-bottom: 20px;
}

.page-resources .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources .read-more:hover {
    color: var(--gold-hover-color);
    text-decoration: underline;
}

.page-resources .button-group {
    text-align: center;
    margin-top: 50px;
}

.page-resources .faq-section {
    background-color: #222222;
    padding-bottom: 80px;
}

.page-resources .faq-items {
    margin-top: 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--card-bg-color);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #3a3a3a;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: #cccccc;
    background-color: #333333;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-resources .contact-cta {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
    color: #cccccc;
}

.page-resources .contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources .contact-link:hover {
    color: var(--gold-hover-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources .hero-title {
        font-size: 2.8em;
    }
    .page-resources .section-title {
        font-size: 2em;
    }
    .page-resources .news-item {
        flex-direction: column;
    }
    .page-resources .news-img {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .page-resources .hero-banner {
        padding: 60px 15px;
    }
    .page-resources .hero-title {
        font-size: 2.2em;
    }
    .page-resources .hero-description {
        font-size: 1em;
    }
    .page-resources .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources .secondary.cta-button {
        margin-left: 0;
        margin-top: 15px;
    }
    .page-resources .section-title {
        font-size: 1.8em;
    }
    .page-resources .section-subtitle {
        font-size: 0.95em;
    }
    .page-resources .guide-cards {
        grid-template-columns: 1fr;
    }
    .page-resources .card-title {
        font-size: 1.3em;
    }
    .page-resources .news-title {
        font-size: 1.5em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-resources .hero-title {
        font-size: 1.8em;
    }
    .page-resources .cta-button {
        width: 100%;
        text-align: center;
    }
    .page-resources .button-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .page-resources .secondary.cta-button {
        margin-top: 0;
    }
    .page-resources .news-img {
        height: 180px;
    }
    .page-resources .news-content {
        padding: 15px;
    }
    .page-resources .news-title {
        font-size: 1.3em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
}