/* style/resources.css */

/* Base styles for the resources page */
.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

/* Hero Section */
.page-resources__hero {
    position: relative;
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: #ffffff;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.page-resources__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFCC00;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.page-resources__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-resources__hero-image {
    position: absolute;
    bottom: -50px;
    right: -100px;
    width: 600px;
    height: auto;
    opacity: 0.15;
    z-index: 0;
    transform: rotate(10deg);
}

/* General Section Styling */
.page-resources__section-title {
    font-size: 2.5em;
    color: #003366;
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
    font-weight: bold;
}

.page-resources__introduction,
.page-resources__content-section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-resources__introduction p,
.page-resources__content-section p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.page-resources__introduction strong {
    color: #003366;
}

.page-resources__image--medium {
    display: block;
    max-width: 80%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.page-resources__image--large {
    display: block;
    max-width: 90%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.page-resources__image--small {
    display: block;
    max-width: 70%;
    height: auto;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

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

.page-resources__btn--primary {
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-resources__btn--primary:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    color: #001a33;
    transform: translateY(-2px);
}

.page-resources__btn--secondary {
    background-color: transparent;
    color: #FFCC00;
    border: 2px solid #FFCC00;
}

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

.page-resources__btn--tertiary {
    background-color: #003366;
    color: #FFCC00;
    border: 2px solid #003366;
}

.page-resources__btn--tertiary:hover {
    background-color: #001a33;
    color: #FFCC00;
    transform: translateY(-2px);
}

.page-resources__btn--link {
    background-color: transparent;
    color: #003366;
    border: 1px solid #003366;
    padding: 8px 15px;
    font-size: 0.95em;
}

.page-resources__btn--link:hover {
    background-color: #003366;
    color: #FFCC00;
}

.page-resources__btn--large {
    padding: 18px 40px;
    font-size: 1.3em;
    background-color: #FFCC00;
    color: #003366;
    border: 2px solid #FFCC00;
}

.page-resources__btn--large:hover {
    background-color: #e6b800;
    border-color: #e6b800;
    color: #001a33;
    transform: translateY(-3px);
}

.page-resources__cta-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Detail Pages List */
.page-resources__detail-pages {
    background-color: #f0f4f7;
    padding-bottom: 80px;
}

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

.page-resources__detail-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources__detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.page-resources__detail-title {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: #003366;
    font-weight: bold;
}

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

.page-resources__detail-title a:hover {
    color: #FFCC00;
}

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

.page-resources__detail-description a {
    color: #FFCC00;
    text-decoration: underline;
}
.page-resources__detail-description a:hover {
    color: #e6b800;
}

/* Final CTA Banner */
.page-resources__cta-banner {
    position: relative;
    background: linear-gradient(90deg, #003366 0%, #001a33 100%);
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    margin-top: 40px;
    border-radius: 8px;
}

.page-resources__cta-content {
    position: relative;
    z-index: 1;
}

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

.page-resources__cta-text {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-resources__cta-text a {
    color: #FFCC00;
    text-decoration: underline;
}

.page-resources__cta-text a:hover {
    color: #e6b800;
}

.page-resources__cta-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    z-index: 0;
}

/* Animation for sections */
.page-resources .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources__hero-title {
        font-size: 2.5em;
    }
    .page-resources__section-title {
        font-size: 2em;
    }
    .page-resources__detail-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-resources__hero-image {
        width: 400px;
        right: -50px;
    }
}

@media (max-width: 768px) {
    .page-resources__hero {
        padding: 80px 0 120px 0;
    }
    .page-resources__hero-title {
        font-size: 2em;
    }
    .page-resources__hero-subtitle {
        font-size: 1em;
    }
    .page-resources__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-resources__btn {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }
    .page-resources__section-title {
        font-size: 1.8em;
    }
    .page-resources__introduction p,
    .page-resources__content-section p {
        font-size: 1em;
    }
    .page-resources__cta-title {
        font-size: 2em;
    }
    .page-resources__cta-text {
        font-size: 1em;
    }
    .page-resources__hero-image {
        display: none;
    }
}

@media (max-width: 576px) {
    .page-resources__hero {
        padding: 60px 0 100px 0;
    }
    .page-resources__hero-title {
        font-size: 1.8em;
    }
    .page-resources__hero-subtitle {
        font-size: 0.9em;
    }
    .page-resources__section-title {
        font-size: 1.5em;
    }
    .page-resources__container {
        padding: 0 15px;
    }
    .page-resources__btn {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-resources__cta-title {
        font-size: 1.8em;
    }
    .page-resources__cta-text {
        font-size: 0.9em;
    }
}