/* style/resources.css */
.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 {
    background: linear-gradient(135deg, #0A246A 0%, #3a5c96 100%); /* Dark blue gradient */
    color: #FFFFFF;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-resources__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFD700; /* Gold for emphasis */
}

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

/* General Section Styling */
.page-resources__section {
    padding: 60px 0;
    background-color: #ffffff;
    border-bottom: 1px solid #eee;
}

.page-resources__section:nth-child(even) {
    background-color: #f0f4f7; /* Light greyish blue */
}

.page-resources__section-title {
    font-size: 2.5em;
    color: #0A246A; /* Dark blue */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700; /* Gold underline */
    border-radius: 2px;
}

.page-resources__sub-title {
    font-size: 1.8em;
    color: #0A246A;
    margin-top: 30px;
    margin-bottom: 20px;
    border-left: 5px solid #FFD700; /* Gold accent */
    padding-left: 15px;
}

.page-resources__description, .page-resources__introduction p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources__list {
    list-style-type: disc;
    margin-left: 40px;
    margin-bottom: 20px;
    color: #444;
}

.page-resources__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-resources__list li strong {
    color: #0A246A;
}

/* 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;
    margin: 10px 15px;
    text-align: center;
}

.page-resources__btn--primary {
    background-color: #FFD700; /* Gold */
    color: #0A246A; /* Dark blue text */
    border: 2px solid #FFD700;
}

.page-resources__btn--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
}

.page-resources__btn--secondary {
    background-color: #0A246A; /* Dark blue */
    color: #FFD700; /* Gold text */
    border: 2px solid #0A246A;
}

.page-resources__btn--secondary:hover {
    background-color: #1a3c7c;
    border-color: #1a3c7c;
}

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

.page-resources__btn--ghost:hover {
    background-color: #FFD700;
    color: #0A246A;
}

.page-resources__btn--small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #0A246A;
    color: #FFD700;
    border: 1px solid #0A246A;
}

.page-resources__btn--small:hover {
    background-color: #FFD700;
    color: #0A246A;
    border-color: #FFD700;
}

.page-resources__link-inline {
    color: #0A246A;
    text-decoration: underline;
    font-weight: bold;
}

.page-resources__link-inline:hover {
    color: #FFD700;
}

/* Image Styling */
.page-resources__image-wrapper {
    text-align: center;
    margin: 40px 0;
}

.page-resources__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* CTA Banner */
.page-resources__cta-banner {
    background: linear-gradient(135deg, #0A246A, #3a5c96);
    color: #FFFFFF;
    text-align: center;
    padding: 80px 0;
}

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

.page-resources__cta-title {
    font-size: 2.8em;
    color: #FFD700;
    margin-bottom: 20px;
}

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

/* Detail Pages Grid */
.page-resources__detail-pages {
    background-color: #f8f8f8;
}

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

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

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

.page-resources__card-title {
    font-size: 1.5em;
    color: #0A246A;
    margin-bottom: 15px;
}

.page-resources__card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

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

/* FAQ Section */
.page-resources__faq {
    background-color: #ffffff;
}

.page-resources__faq-item {
    background-color: #f0f4f7;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-resources__faq-question {
    font-size: 1.3em;
    color: #0A246A;
    margin-bottom: 10px;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-resources__faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-resources__faq-question.active::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-resources__faq-answer {
    font-size: 1.05em;
    color: #555;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding-top: 0;
}

.page-resources__faq-answer.active {
    max-height: 200px; /* Adjust based on content */
    padding-top: 15px;
}

/* Final CTA */
.page-resources__final-cta {
    background: linear-gradient(135deg, #0A246A, #3a5c96);
    color: #FFFFFF;
    text-align: center;
    padding: 80px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-resources__hero-title {
        font-size: 2.5em;
    }

    .page-resources__hero-subtitle {
        font-size: 1.1em;
    }

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

    .page-resources__sub-title {
        font-size: 1.5em;
    }

    .page-resources__btn {
        padding: 12px 25px;
        font-size: 1em;
        margin: 10px 8px;
    }

    .page-resources__grid {
        grid-template-columns: 1fr;
    }

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

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

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

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

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

    .page-resources__btn {
        display: block;
        width: calc(100% - 30px);
        margin-left: auto;
        margin-right: auto;
    }

    .page-resources__cta-title {
        font-size: 1.8em;
    }

    .page-resources__faq-item {
        padding: 20px;
    }

    .page-resources__faq-question {
        font-size: 1.1em;
    }

    .page-resources__list {
        margin-left: 20px;
    }
}