/* style/resources.css */
.page-resources {
    font-family: 'Arial', sans-serif;
    color: #f5e6d0; /* Light text for dark background */
    background-color: #0A192F;
    line-height: 1.6;
}

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

.page-resources a:hover {
    color: #e6c200;
}

.page-resources .highlight {
    color: #FFD700;
}

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

.page-resources__hero {
    background: linear-gradient(135deg, #0A192F, #2C3E50);
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 1;
}

.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.5);
}

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

.page-resources__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
}

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

.page-resources__button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A192F;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.page-resources__button--secondary {
    background-color: #2C3E50;
    color: #FFD700;
    margin-left: 15px;
}

.page-resources__button--secondary:hover {
    background-color: #3f546a;
    color: #FFD700;
}

.page-resources__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #FFD700;
    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__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
    color: #cccccc;
}

.page-resources__introduction, .page-resources__value-proposition {
    padding: 80px 0;
    background-color: #0A192F;
}

.page-resources__categories {
    background-color: #1A2A40;
    padding: 80px 0;
}

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

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

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

.page-resources__category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-resources__category-description {
    color: #b0b0b0;
    font-size: 0.95em;
}

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

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

.page-resources__article-card {
    background-color: #1A2A40;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-resources__article-title {
    font-size: 1.4em;
    color: #FFD700;
    margin-bottom: 15px;
    line-height: 1.3;
}

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

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

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

.page-resources__image-full-width {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources__cta {
    background: linear-gradient(90deg, #0A192F, #1A2A40);
    padding: 80px 0;
    text-align: center;
}

.page-resources__cta-content {
    max-width: 800px;
}

.page-resources__button--cta {
    font-size: 1.3em;
    padding: 18px 35px;
    margin-top: 30px;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px;
    }

    .page-resources__hero-content {
        max-width: 100%;
    }

    .page-resources__hero-image-wrapper {
        margin-top: 40px;
    }

    .page-resources__hero-title {
        font-size: 2.8em;
    }

    .page-resources__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 60px 15px;
    }

    .page-resources__hero-title {
        font-size: 2.2em;
    }

    .page-resources__hero-description {
        font-size: 1em;
    }

    .page-resources__button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources__button--cta {
        font-size: 1.1em;
        padding: 15px 30px;
    }

    .page-resources__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }

    .page-resources__text {
        font-size: 0.95em;
    }

    .page-resources__category-grid, .page-resources__article-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-resources__hero-title {
        font-size: 1.8em;
    }

    .page-resources__hero-description {
        font-size: 0.9em;
    }

    .page-resources__button {
        display: block;
        margin: 10px auto;
    }

    .page-resources__button--secondary {
        margin-left: 0;
    }

    .page-resources__section-title {
        font-size: 1.5em;
    }
    
    .page-resources__category-icon {
        width: 60px;
        height: 60px;
    }

    .page-resources__category-title {
        font-size: 1.3em;
    }

    .page-resources__article-title {
        font-size: 1.2em;
    }
}