/* style/resources.css */

:root {
    --page-resources-primary-color: #003366;
    --page-resources-secondary-color: #FFD700;
    --page-resources-text-dark: #333;
    --page-resources-text-light: #fff;
    --page-resources-bg-light: #f8f8f8;
    --page-resources-bg-dark: #002244;
    --page-resources-accent-green: #32CD32;
}

.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--page-resources-text-dark);
    background-color: var(--page-resources-bg-light);
}

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

.page-resources .page-resources__hero {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--page-resources-text-light);
    overflow: hidden;
}

.page-resources .page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources .page-resources__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.4));
    z-index: 2;
}

.page-resources .page-resources__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
}

.page-resources .page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-resources-text-light);
}

.page-resources .page-resources__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
}

.page-resources .page-resources__section-title {
    font-size: 2.5em;
    color: var(--page-resources-primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources .page-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-resources-secondary-color);
    border-radius: 2px;
}

.page-resources .page-resources__section-subtitle {
    font-size: 1.2em;
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.page-resources .highlight {
    color: var(--page-resources-secondary-color);
}

.page-resources .page-resources__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    cursor: pointer;
}

.page-resources .page-resources__btn--primary {
    background-color: var(--page-resources-secondary-color);
    color: var(--page-resources-primary-color);
    border: 2px solid var(--page-resources-secondary-color);
}

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

.page-resources .page-resources__btn--secondary {
    background-color: var(--page-resources-primary-color);
    color: var(--page-resources-text-light);
    border: 2px solid var(--page-resources-primary-color);
}

.page-resources .page-resources__btn--secondary:hover {
    background-color: #002244;
    transform: translateY(-2px);
}

.page-resources .page-resources__introduction,
.page-resources .page-resources__conclusion {
    padding: 60px 0;
    background-color: var(--page-resources-bg-light);
}

.page-resources .page-resources__introduction .page-resources__text-content,
.page-resources .page-resources__conclusion .page-resources__text-content {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources .page-resources__articles {
    padding: 80px 0;
    background-color: #fff;
}

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

.page-resources .page-resources__article-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-resources .page-resources__article-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.page-resources .page-resources__article-title {
    font-size: 1.5em;
    color: var(--page-resources-primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

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

.page-resources .page-resources__why-choose {
    background-color: var(--page-resources-bg-dark);
    color: var(--page-resources-text-light);
    padding: 80px 0;
}

.page-resources .page-resources__why-choose .page-resources__section-title {
    color: var(--page-resources-text-light);
}

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

.page-resources .page-resources__why-choose-item {
    background-color: #004488;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-resources .page-resources__why-choose-item h3 {
    font-size: 1.4em;
    color: var(--page-resources-secondary-color);
    margin-bottom: 15px;
}

.page-resources .page-resources__why-choose-item p {
    font-size: 1em;
    color: #c0d9ed;
}

.page-resources .page-resources__cta {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: var(--page-resources-text-light);
    overflow: hidden;
}

.page-resources .page-resources__cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
}

.page-resources .page-resources__cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources .page-resources__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-resources-text-light);
}

.page-resources .page-resources__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.page-resources .page-resources__link {
    color: var(--page-resources-primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources .page-resources__link:hover {
    color: var(--page-resources-secondary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources .page-resources__hero-title {
        font-size: 3em;
    }
    .page-resources .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources .page-resources__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources .page-resources__hero {
        height: 400px;
    }
    .page-resources .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources .page-resources__hero-description {
        font-size: 1.1em;
    }
    .page-resources .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources .page-resources__article-content {
        padding: 20px;
    }
    .page-resources .page-resources__article-title {
        font-size: 1.3em;
    }
    .page-resources .page-resources__why-choose-item h3 {
        font-size: 1.2em;
    }
    .page-resources .page-resources__cta-title {
        font-size: 2.2em;
    }
    .page-resources .page-resources__cta-description {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-resources .page-resources__hero {
        height: 350px;
    }
    .page-resources .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources .page-resources__btn {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-resources .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources .page-resources__section-subtitle {
        font-size: 1em;
    }
    .page-resources .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources .page-resources__article-thumbnail {
        height: 180px;
    }
    .page-resources .page-resources__why-choose-grid {
        grid-template-columns: 1fr;
    }
    .page-resources .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources .page-resources__cta-description {
        font-size: 1em;
    }
    .page-resources .page-resources__introduction,
    .page-resources .page-resources__conclusion,
    .page-resources .page-resources__articles,
    .page-resources .page-resources__why-choose,
    .page-resources .page-resources__cta {
        padding: 40px 0;
    }
}