/* style/resources.css */

/* Base styles for the page-resources content */
.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

.page-resources__section-title {
    color: #003366;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    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: #FFCC00;
    border-radius: 2px;
}

.page-resources__text {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* Hero Section */
.page-resources__hero-section {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%); /* Deeper blue gradient */
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background-color: rgba(255, 204, 0, 0.1);
    border-radius: 50%;
    animation: page-resources-pulse 3s infinite alternate;
}

.page-resources__hero-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background-color: rgba(255, 204, 0, 0.15);
    border-radius: 50%;
    animation: page-resources-pulse 4s infinite alternate reverse;
}

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

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFCC00;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

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

.page-resources__btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    border: 2px solid transparent;
}

.page-resources__btn--primary {
    background-color: #FFCC00;
    color: #003366;
    border-color: #FFCC00;
}

.page-resources__btn--primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFCC00;
    border-color: #FFCC00;
}

.page-resources__btn--secondary:hover {
    background-color: #FFCC00;
    color: #003366;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--action {
    background-color: #003366;
    color: #FFCC00;
    border-color: #003366;
    padding: 10px 20px;
    font-size: 0.95em;
}

.page-resources__btn--action:hover {
    background-color: #004d99;
    border-color: #004d99;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-resources__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    background-color: #f0f0f0;
    color: #003366;
    border: 1px solid #ddd;
}

.page-resources__btn--small:hover {
    background-color: #e0e0e0;
    color: #003366;
}

/* Intro Section */
.page-resources__intro-section {
    padding: 60px 0;
    background-color: #fff;
}

/* Featured Section */
.page-resources__featured-section {
    padding: 80px 0;
    background-color: #f0f5fa;
}

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

.page-resources__feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #FFCC00;
    padding: 10px;
    display: inline-block;
    object-fit: contain;
}

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

.page-resources__feature-text {
    color: #666;
    font-size: 1em;
}

/* Articles List Section */
.page-resources__articles-list {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-resources__list-item {
    background-color: #fdfdfd;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources__list-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-resources__item-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-resources__item-title a {
    color: #003366;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__item-title a:hover {
    color: #FFCC00;
}

.page-resources__item-description {
    color: #666;
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* CTA Section */
.page-resources__cta-section {
    background-color: #003366;
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

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

.page-resources__cta-description {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__feature-item {
        padding: 25px;
    }
    .page-resources__item-title {
        font-size: 1.3em;
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero-section {
        padding: 80px 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-resources__grid, .page-resources__list-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-section {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-description {
        font-size: 0.9em;
    }
    .page-resources__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
        margin-bottom: 30px;
    }
    .page-resources__feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-resources__feature-title {
        font-size: 1.2em;
    }
    .page-resources__item-title {
        font-size: 1.1em;
    }
    .page-resources__cta-title {
        font-size: 1.6em;
    }
}