/* style/resources.css */
.page-resources {
    font-family: Arial, sans-serif;
    color: #f0f0f0; /* Default text color for dark background */
    background-color: #1A2B4C; /* Main background color */
}

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

.page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #1A2B4C; /* Dark blue */
    border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
    background-color: #e5c100;
    color: #1A2B4C;
}

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

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #1A2B4C;
}

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

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    line-height: 1.2;
}

.page-resources__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
    color: #c0c0c0;
}

/* Section Titles */
.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.page-resources__section-description {
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 50px auto;
    text-align: center;
    line-height: 1.6;
    color: #c0c0c0;
}

/* Article Grid */
.page-resources__articles-section {
    padding: 60px 0;
    background-color: #1A2B4C;
}

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

.page-resources__article-card {
    background-color: #2a3b5c; /* Slightly lighter dark blue for cards */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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;
    border-bottom: 1px solid #3a4c6e;
}

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

.page-resources__article-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFD700; /* Gold for article titles */
    line-height: 1.4;
}

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

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

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

/* Why Important Section */
.page-resources__why-important-section {
    background-color: #1A2B4C;
    padding: 80px 0;
    color: #f0f0f0;
}

.page-resources__why-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
    font-size: 1.1em;
    color: #c0c0c0;
}

.page-resources__why-content h2 {
    color: #FFD700;
    margin-bottom: 30px;
}

.page-resources__why-content ul {
    list-style: disc;
    padding-left: 25px;
    margin: 20px 0;
}

.page-resources__why-content ul li {
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-resources__why-content strong {
    color: #FFD700;
}

/* CTA Section */
.page-resources__cta-section {
    background-color: #2a3b5c; /* Slightly lighter dark blue */
    padding: 80px 0;
    text-align: center;
}

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

.page-resources__cta-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.page-resources__cta-text {
    color: #f0f0f0;
    max-width: 700px;
}

.page-resources__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-resources__cta-description {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #c0c0c0;
}

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

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

@media (max-width: 768px) {
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description,
    .page-resources__section-description,
    .page-resources__why-content p,
    .page-resources__why-content ul li,
    .page-resources__cta-description {
        font-size: 1em;
    }
    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__article-title {
        font-size: 1.3em;
    }
    .page-resources__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-resources__cta-content {
        flex-direction: column;
    }
    .page-resources__cta-image {
        max-width: 80%;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-section,
    .page-resources__articles-section,
    .page-resources__why-important-section,
    .page-resources__cta-section {
        padding: 40px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__section-title {
        font-size: 1.6em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__btn {
        width: 100%;
    }
}