/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #f5e6d0; /* Light text for dark background */
    background-color: #0A192F; /* Main background color */
}

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

.page-resources h1, .page-resources h2, .page-resources h3 {
    color: #FFD700; /* Accent color for headings */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources h1 {
    font-size: 3.5em;
    text-align: center;
}

.page-resources h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.page-resources h3 {
    font-size: 1.8em;
    margin-top: 30px;
}

.page-resources p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-resources ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-resources ul li {
    background-color: rgba(255, 215, 0, 0.1);
    border-left: 4px solid #FFD700;
    padding: 10px 15px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-resources strong {
    color: #FFD700;
}

.page-resources a {
    color: #FFD700;
    text-decoration: none;
}

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

.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.page-resources__btn--primary {
    background-color: #FFD700;
    color: #0A192F;
    border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    color: #000;
    border-color: #e6c200;
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
}

.page-resources__btn--outline {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    padding: 12px 25px;
    font-size: 1em;
}

.page-resources__btn--outline:hover {
    background-color: #FFD700;
    color: #0A192F;
}

/* Hero Section */
.page-resources__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
    text-align: center;
}

.page-resources__hero-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.page-resources__hero-content h1 {
    font-size: 4em;
    color: #FFD700;
    margin-bottom: 25px;
}

.page-resources__hero-content p {
    font-size: 1.2em;
    margin-bottom: 25px;
    color: #f5e6d0;
}

.page-resources__hero-image {
    width: 100%;
    max-width: 900px;
}

.page-resources__hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Articles Section */
.page-resources__articles {
    padding: 60px 0;
    background-color: #0A192F;
}

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

.page-resources__article-card {
    background-color: #1a2a40; /* Slightly lighter dark background for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px 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(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.page-resources__article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

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

.page-resources__card-content h3 {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources__card-content h3 a {
    color: #FFD700;
    text-decoration: none;
}

.page-resources__card-content h3 a:hover {
    text-decoration: underline;
}

.page-resources__article-category {
    font-size: 0.9em;
    color: #a0a0a0;
    margin-bottom: 15px;
}

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

.page-resources__pagination {
    text-align: center;
    margin-top: 50px;
}

.page-resources__pagination-link {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: #1a2a40;
    color: #FFD700;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-resources__pagination-link:hover,
.page-resources__pagination-link--active {
    background-color: #FFD700;
    color: #0A192F;
}

/* Trust Us Section */
.page-resources__trust-us {
    background-color: #11223b;
    padding: 60px 0;
}

.page-resources__trust-us h2 {
    color: #FFD700;
}

.page-resources__trust-us ul {
    list-style: disc;
    margin-left: 20px;
    color: #f5e6d0;
}

.page-resources__trust-us ul li {
    background-color: transparent;
    border-left: none;
    margin-bottom: 10px;
    padding: 0;
}

.page-resources__trust-us ul li strong {
    color: #FFD700;
}

/* CTA Section */
.page-resources__cta {
    background-color: #0A192F;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: page-resources__pulse 10s infinite alternate;
    z-index: 0;
}

@keyframes page-resources__pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

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

.page-resources__cta h2 {
    color: #FFD700;
    font-size: 3em;
    margin-bottom: 25px;
}

.page-resources__cta p {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f5e6d0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__cta img {
    max-width: 500px;
    width: 100%;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* FAQ Section */
.page-resources__faq {
    background-color: #11223b;
    padding: 60px 0;
}

.page-resources__faq h2 {
    color: #FFD700;
    margin-bottom: 50px;
}

.page-resources__faq-item {
    background-color: #1a2a40;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}