/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

.page-resources-hero {
    background: linear-gradient(135deg, #0A1931 0%, #1a3a68 100%); /* Dark blue gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources-hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: #e0e0e0;
}

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

.page-resources-section-title {
    font-size: 2.5em;
    color: #0A1931;
    text-align: center;
    margin-top: 60px;
    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: #FFD700;
    border-radius: 2px;
}

.page-resources-intro, .page-resources-categories, .page-resources-detailed-list, .page-resources-cta {
    padding: 60px 0;
}

.page-resources-intro {
    background-color: #fff;
}

.page-resources-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333;
}

.page-resources-text-center {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-highlight {
    color: #0A1931;
    font-weight: bold;
}

.page-resources-category-item {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 80px;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-resources-category-item--reverse {
    flex-direction: row-reverse;
}

.page-resources-category-image {
    flex: 1;
    max-width: 50%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-resources-category-content {
    flex: 1;
    max-width: 50%;
}

.page-resources-category-title {
    font-size: 1.8em;
    color: #0A1931;
    margin-bottom: 20px;
}

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

.page-resources-article-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-article-title {
    font-size: 1.4em;
    color: #0A1931;
    margin-bottom: 15px;
}

.page-resources-article-title a {
    color: #0A1931;
    text-decoration: none;
}

.page-resources-article-title a:hover {
    color: #FFD700;
}

.page-resources-article-description {
    font-size: 0.95em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.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, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
}

.page-resources-btn-primary {
    background-color: #FFD700; /* Gold background */
    color: #0A1931; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-resources-btn-primary:hover {
    background-color: #e6c200;
    color: #0A1931;
    transform: translateY(-2px);
}

.page-resources-btn-secondary {
    background-color: #0A1931; /* Dark blue background */
    color: #FFD700; /* Gold text */
    border: 2px solid #0A1931;
}

.page-resources-btn-secondary:hover {
    background-color: #1a3a68;
    color: #FFD700;
    transform: translateY(-2px);
}

.page-resources-cta {
    background-color: #0A1931; /* Dark blue background */
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.page-resources-cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 25px;
}

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

.page-resources-cta .page-resources-btn-primary {
    font-size: 1.1em;
    padding: 15px 35px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-hero-title {
        font-size: 2.5em;
    }
    .page-resources-section-title {
        font-size: 2em;
    }
    .page-resources-category-item {
        flex-direction: column;
        text-align: center;
    }
    .page-resources-category-item--reverse {
        flex-direction: column;
    }
    .page-resources-category-image,
    .page-resources-category-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .page-resources-hero {
        padding: 60px 0;
    }
    .page-resources-hero-title {
        font-size: 2em;
    }
    .page-resources-hero-description {
        font-size: 1em;
    }
    .page-resources-section-title {
        font-size: 1.8em;
    }
    .page-resources-intro, .page-resources-categories, .page-resources-detailed-list, .page-resources-cta {
        padding: 40px 0;
    }
    .page-resources-category-item {
        gap: 20px;
        margin-bottom: 60px;
        padding: 20px;
    }
    .page-resources-category-title {
        font-size: 1.5em;
    }
    .page-resources-articles-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-cta-title {
        font-size: 2em;
    }
    .page-resources-cta-description {
        font-size: 1em;
    }
    .page-resources-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .page-resources-hero-title {
        font-size: 1.8em;
    }
    .page-resources-section-title {
        font-size: 1.5em;
    }
    .page-resources-cta-title {
        font-size: 1.8em;
    }
    .page-resources-btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }
}