/* style/resources.css */
.page-resources {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffffff; /* Default text color for dark background */
    background-color: #001f3f; /* Main background color */
    line-height: 1.6;
}

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

.page-resources__hero {
    background: linear-gradient(135deg, #001f3f 0%, #0a3a63 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-content {
    max-width: 800px;
    z-index: 1;
    position: relative;
}

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

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.page-resources__hero-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #001f3f;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-resources__hero-btn:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-resources__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    overflow: hidden;
}

.page-resources__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) blur(5px);
    transform: scale(1.1);
}

.page-resources__intro-section {
    padding: 60px 0;
    background-color: #001f3f;
    text-align: center;
}

.page-resources__intro-image {
    max-width: 100%;
    height: auto;
    margin-top: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__section-title {
    font-size: 2.8em;
    color: #ffcc00;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
}

.page-resources__text-content {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__articles-grid {
    padding: 80px 0;
    background-color: #0a2e50;
}

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

.page-resources__article-card {
    background-color: #001a35;
    border-radius: 12px;
    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;
    color: #e0e0e0;
}

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

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

.page-resources__article-title {
    font-size: 1.6em;
    color: #ffcc00;
    padding: 20px 25px 10px;
    font-weight: 600;
}

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

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

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

.page-resources__article-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #001f3f;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin: 0 25px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
}

.page-resources__article-btn:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}

.page-resources__cta-section {
    background-color: #001f3f;
    padding: 80px 0;
    text-align: center;
}

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

.page-resources__cta-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__cta-btn--primary {
    background-color: #ffcc00;
    color: #001f3f;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
}

.page-resources__cta-btn--primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

.page-resources__cta-btn--secondary {
    background-color: #0a3a63;
    color: #ffcc00;
    border: 2px solid #ffcc00;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-btn--secondary:hover {
    background-color: #1a4a73;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.page-resources__floating-ad {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: #ffcc00;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    animation: page-resources__pulse 2s infinite;
}

.page-resources__floating-ad-link {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    text-decoration: none;
    color: #001f3f;
    font-weight: 700;
    font-size: 1.1em;
}

.page-resources__floating-ad-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

@keyframes page-resources__pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__section-title {
        font-size: 2.2em;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-resources__cta-btn {
        width: 80%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__grid {
        grid-template-columns: 1fr;
    }
    .page-resources__article-title {
        font-size: 1.4em;
    }
    .page-resources__article-description {
        font-size: 0.95em;
    }
    .page-resources__floating-ad {
        bottom: 10px;
        right: 10px;
    }
    .page-resources__floating-ad-link {
        padding: 8px 15px;
        font-size: 1em;
    }
    .page-resources__floating-ad-icon {
        width: 25px;
        height: 25px;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__text-content {
        font-size: 0.9em;
    }
}