/* style/resources.css */

/* General page styling */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #E0E0E0; /* Light grey for text on dark background */
    background-color: #000000; /* Main brand color */
    line-height: 1.6;
    overflow-x: hidden;
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Auxiliary brand color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    position: relative;
}

.page-resources__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

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

/* Hero Section */
.page-resources__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 80px 20px 40px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.page-resources__hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: url('[IMAGE:hero_banner]') no-repeat center center/cover; */ /* Removed to avoid double image generation, kept for alt text */
    opacity: 0.15; /* Subtle overlay */
    z-index: 0;
}

.page-resources__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

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

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

.page-resources__hero-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #000000;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

/* Introduction and Value Proposition Sections */
.page-resources__introduction,
.page-resources__value-proposition,
.page-resources__commitment {
    padding: 60px 0;
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
}

.page-resources__introduction p,
.page-resources__value-proposition p,
.page-resources__commitment p {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #E0E0E0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-resources__benefits-list,
.page-resources__commitment-list {
    list-style-type: none;
    padding: 0;
    margin: 40px auto;
    max-width: 900px;
}

.page-resources__benefits-list li,
.page-resources__commitment-list li {
    background-color: #2a2a2a;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-left: 5px solid #FFD700;
    font-size: 1.1em;
    color: #F0F0F0;
}

.page-resources__benefits-list li strong,
.page-resources__commitment-list li strong {
    color: #FFD700;
}

/* Categories Section */
.page-resources__categories {
    padding: 80px 0;
    background-color: #000000;
}

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

.page-resources__category-item {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.page-resources__category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

.page-resources__category-image {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

.page-resources__category-title {
    font-size: 1.8em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-resources__category-description {
    font-size: 1em;
    color: #E0E0E0;
    text-align: justify;
}

/* Articles Section */
.page-resources__articles {
    padding: 80px 0;
    background-color: #1a1a1a;
}

.page-resources__articles-intro {
    font-size: 1.1em;
    color: #E0E0E0;
    text-align: center;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources__article-item {
    background-color: #000000;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
}

.page-resources__article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
}

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

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

.page-resources__article-title a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-resources__article-description {
    font-size: 0.95em;
    color: #CCCCCC;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources__read-more-btn {
    display: inline-block;
    background-color: #FFD700;
    color: #000000;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources__read-more-btn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

/* Call to Action Section */
.page-resources__cta {
    background: linear-gradient(90deg, #000000, #333333);
    padding: 80px 20px;
    text-align: center;
    border-top: 1px solid #333;
}

.page-resources__cta-description {
    font-size: 1.2em;
    color: #F0F0F0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-resources__cta-btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.page-resources__cta-btn--primary {
    background-color: #FFD700;
    color: #000000;
    border-color: #FFD700;
}

.page-resources__cta-btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-resources__cta-btn--secondary {
    background-color: transparent;
    color: #FFD700;
    border-color: #FFD700;
}

.page-resources__cta-btn--secondary:hover {
    background-color: #FFD700;
    color: #000000;
    transform: translateY(-3px);
}

/* Animations for JS */
.page-resources .hidden-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.page-resources .is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .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__category-grid,
    .page-resources__article-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 60px 15px 30px;
    }
    .page-resources__hero-title {
        font-size: 2.2em;
    }
    .page-resources__hero-description {
        font-size: 1em;
    }
    .page-resources__hero-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-resources__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-resources__introduction,
    .page-resources__value-proposition,
    .page-resources__commitment,
    .page-resources__categories,
    .page-resources__articles,
    .page-resources__cta {
        padding: 40px 0;
    }
    .page-resources__category-grid,
    .page-resources__article-list {
        grid-template-columns: 1fr; /* Stack columns on small screens */
    }
    .page-resources__category-item,
    .page-resources__article-item {
        margin: 0 10px;
    }
    .page-resources__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-resources__cta-btn {
        width: 80%;
        max-width: 300px;
    }
    .page-resources__introduction p,
    .page-resources__value-proposition p,
    .page-resources__commitment p,
    .page-resources__category-description,
    .page-resources__article-description,
    .page-resources__articles-intro,
    .page-resources__cta-description {
        font-size: 0.95em;
        padding: 0 10px;
    }
    .page-resources__benefits-list,
    .page-resources__commitment-list {
        margin: 30px auto;
        padding: 0 10px;
    }
    .page-resources__benefits-list li,
    .page-resources__commitment-list li {
        padding: 15px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__category-image {
        width: 80px;
        height: 80px;
    }
    .page-resources__category-title {
        font-size: 1.5em;
    }
    .page-resources__article-title {
        font-size: 1.3em;
    }
    .page-resources__cta-btn {
        padding: 10px 25px;
        font-size: 1em;
    }
}