/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light gray for general text */
    background-color: #0A192F; /* Dark blue background */
}

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

.page-resources__hero {
    background: linear-gradient(135deg, #0A192F 0%, #1a3a60 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid #FFD700;
}

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

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

.page-resources__section {
    padding: 80px 0;
    position: relative;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for section titles */
    text-align: center;
    margin-bottom: 60px;
    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__text {
    font-size: 1.1em;
    line-height: 1.8;
    color: #E0E0E0;
    margin-bottom: 20px;
}

.page-resources__introduction .page-resources__container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.page-resources__intro-content {
    flex: 2;
}

.page-resources__intro-image {
    flex: 1;
    min-width: 300px;
}

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

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

.page-resources__feature-item {
    background-color: #1a2c42; /* Slightly lighter dark blue */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-resources__feature-item:hover {
    transform: translateY(-10px);
    background-color: #2b405c;
}

.page-resources__feature-title {
    font-size: 1.5em;
    color: #FFD700; /* Gold for feature titles */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources__feature-item .page-resources__text {
    font-size: 1em;
    color: #C0C0C0;
}

.page-resources__articles {
    background-color: #0F1F38; /* A bit lighter dark blue for contrast */
}

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

.page-resources__article-card {
    background-color: #1a2c42;
    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.4);
}

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

.page-resources__article-card .page-resources__article-title {
    font-size: 1.4em;
    color: #FFD700; /* Gold for article titles */
    padding: 20px 20px 10px;
    margin: 0;
    line-height: 1.4;
}

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

.page-resources__article-card .page-resources__article-title a:hover {
    color: #ffe680;
}

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

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

.page-resources__cta {
    text-align: center;
    background-color: #0A192F;
    padding: 100px 0;
    border-top: 2px solid #FFD700;
}

.page-resources__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Gold for CTA title */
    margin-bottom: 25px;
    font-weight: bold;
}

.page-resources__cta-description {
    font-size: 1.2em;
    color: #E0E0E0;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

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

.page-resources__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #0A192F; /* Dark blue text */
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.page-resources__btn--primary:hover {
    background-color: #ffe680;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.6);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--secondary:hover {
    background-color: #FFD700;
    color: #0A192F;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__introduction .page-resources__container {
        flex-direction: column;
        text-align: center;
    }
    .page-resources__intro-image {
        order: -1; /* Move image above text on smaller screens */
        margin-bottom: 30px;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
}

@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__section {
        padding: 60px 0;
    }
    .page-resources__section-title {
        font-size: 1.8em;
        margin-bottom: 40px;
    }
    .page-resources__feature-grid, .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__feature-item {
        padding: 25px;
    }
    .page-resources__feature-title {
        font-size: 1.3em;
    }
    .page-resources__cta {
        padding: 80px 0;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-description {
        font-size: 1em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .page-resources__hero {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__section {
        padding: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__article-image {
        height: 150px;
    }
    .page-resources__article-card .page-resources__article-title {
        font-size: 1.2em;
    }
    .page-resources__article-description {
        font-size: 0.9em;
    }
    .page-resources__cta {
        padding: 60px 0;
    }
    .page-resources__cta-title {
        font-size: 1.5em;
    }
    .page-resources__cta-description {
        font-size: 0.9em;
    }
    .page-resources__btn {
        width: 100%;
        max-width: 280px;
    }
}