/* style/resources.css */

/* General Styles for page-resources */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

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

.page-resources__section {
    padding: 60px 0;
}

.page-resources__section:nth-child(even) {
    background-color: #f0f0f0;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #0047AB;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.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;
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}

/* Hero Section */
.page-resources__hero {
    background: linear-gradient(135deg, #0047AB, #002b66);
    color: #fff;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract,geometric,blue_gold_pattern]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-resources__hero > .page-resources__container {
    position: relative;
    z-index: 1;
}

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

.page-resources__hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: #FFD700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

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

.page-resources__btn--primary {
    background-color: #FFD700;
    color: #0047AB;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

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

.page-resources__btn--secondary {
    background-color: #0047AB;
    color: #FFD700;
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(0, 71, 171, 0.2);
}

.page-resources__btn--secondary:hover {
    background-color: #003685;
    color: #fff;
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 71, 171, 0.4);
}

.page-resources__btn--mt {
    margin-top: 30px;
}

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

.page-resources__article-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

.page-resources__article-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

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

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

.page-resources__article-card .page-resources__btn {
    align-self: flex-start;
    padding: 10px 20px;
    font-size: 0.9em;
}

/* CTA Banner */
.page-resources__cta-banner {
    background: linear-gradient(90deg, #0047AB, #002b66);
    color: #fff;
    text-align: center;
    padding: 80px 0;
    border-radius: 15px;
    margin: 40px auto;
    max-width: 90%;
}

.page-resources__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

.page-resources__cta-buttons .page-resources__btn {
    margin: 0 15px;
}

/* Why Us Section */
.page-resources__why-us .page-resources__text {
    margin-bottom: 30px;
}

.page-resources__feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-resources__feature-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1.1em;
    color: #333;
}

.page-resources__list-icon {
    font-size: 1.4em;
    color: #0047AB;
    margin-right: 15px;
    flex-shrink: 0;
    line-height: 1.2;
}

.page-resources__list-strong {
    color: #0047AB;
}

/* FAQ Section */
.page-resources__faq-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-resources__faq-question {
    font-size: 1.4em;
    color: #0047AB;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources__faq-answer {
    font-size: 1em;
    color: #555;
}

.page-resources__faq-answer a {
    color: #0047AB;
    text-decoration: none;
    font-weight: bold;
}

.page-resources__faq-answer a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 1.2em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__article-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources__cta-title {
        font-size: 2.2em;
    }
    .page-resources__cta-text {
        font-size: 1.1em;
    }
    .page-resources__cta-buttons .page-resources__btn {
        margin: 10px 0;
        display: block;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }
}

@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: 40px 0;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__article-content {
        padding: 20px;
    }
    .page-resources__article-title {
        font-size: 1.3em;
    }
    .page-resources__cta-banner {
        padding: 60px 20px;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-text {
        font-size: 1em;
    }
    .page-resources__faq-question {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero {
        padding: 60px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 0.9em;
    }
    .page-resources__btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
    .page-resources__cta-banner {
        padding: 40px 15px;
    }
    .page-resources__cta-title {
        font-size: 1.5em;
    }
    .page-resources__cta-buttons .page-resources__btn {
        width: 100%;
    }
    .page-resources__faq-question {
        font-size: 1.1em;
    }
}