/* style/resources.css */

/* --- General Page Styles --- */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: #f8f8f8; /* Light background for the page */
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-resources__section-description,
.page-resources__section-text {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Color Contrast Classes --- */
.page-resources__dark-bg {
    background-color: #0A2342;
    color: #ffffff; /* White text on dark blue background */
}

.page-resources__light-bg {
    background-color: #ffffff;
    color: #333333; /* Dark text on white background */
}

/* Ensure text color for specific elements on dark background */
.page-resources__dark-bg .page-resources__section-title,
.page-resources__dark-bg .page-resources__faq-heading {
    color: #FFD700; /* Gold for titles on dark blue */
}

.page-resources__dark-bg .page-resources__section-description,
.page-resources__dark-bg .page-resources__section-text {
    color: #f0f0f0;
}

/* --- Buttons --- */
.page-resources__btn-primary,
.page-resources__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box; /* For responsiveness */
    white-space: normal; /* For responsiveness */
    word-wrap: break-word; /* For responsiveness */
}

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

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

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

.page-resources__btn-secondary:hover {
    background-color: #0A2342;
    color: #ffffff;
}

.page-resources__btn-large {
    font-size: 1.2em;
    padding: 15px 30px;
    margin-top: 30px;
}

/* --- Hero Section --- */
.page-resources__hero-section {
    position: relative;
    padding: 100px 0 60px; /* Adjust padding for content */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-resources__hero-section .page-resources__container {
    position: relative;
    z-index: 2;
    padding-top: 50px; /* Additional padding to ensure content is not too high */
    padding-bottom: 50px;
}

.page-resources__hero-title {
    font-size: 3.5em;
    color: #FFD700; /* Gold title on dark background */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources__hero-description {
    font-size: 1.3em;
    color: #f0f0f0; /* Light text on dark background */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Introduction Section --- */
.page-resources__introduction-section {
    padding: 80px 0;
    text-align: center;
}

.page-resources__introduction-section .page-resources__image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin: 40px auto;
    display: block;
}

/* --- Guide & Strategy Sections --- */
.page-resources__guides-section,
.page-resources__strategies-section {
    padding: 80px 0;
    text-align: center;
}