.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #1a1a2e; /* Inherited from body, but explicitly set for sections if needed */
}

.page-resources__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    background-color: #000080; /* Dark blue background for hero */
    color: #ffffff;
    overflow: hidden; /* For image */
    padding-bottom: 40px;
}

.page-resources__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Subtle background image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-resources__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

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

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

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

.page-resources__section-title {
    font-size: 2.2em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources__introduction,
.page-resources__section {
    padding: 60px 20px;
}

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

.page-resources__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for readability on dark background */
    text-align: justify;
}

.page-resources__highlight {
    color: #FFD700; /* Highlight important keywords */
    font-weight: bold;
}

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

.page-resources__card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    color: #ffffff; /* White text for card */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-resources__card-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-resources__card-title {
    font-size: 1.4em;
    padding: 15px;
    margin-bottom: 10px;
    color: #FFD700; /* Gold for card titles */
    font-weight: bold;
}

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

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

.page-resources__card-description {
    font-size: 1em;
    padding: 0 15px 15px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-resources__btn-text {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 15px 15px;
    background-color: transparent;
    border: 1px solid #FFD700;
    color: #FFD700;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: calc(100% - 30px); /* Account for padding */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources__btn-text:hover {
    background-color: #FFD700;
    color: #000080;
    border-color: #FFD700;
}

/* Specific styling for dark cards within dark sections */
.page-resources__card--dark {
    background-color: rgba(0, 0, 128, 0.4); /* Dark blue semi-transparent */
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.page-resources__card--dark .page-resources__card-title a {
    color: #FFD700;
}
.page-resources__card--dark .page-resources__card-title a:hover {
    color: #ffffff;
}
.page-resources__card--dark .page-resources__card-description {
    color: #e0e0e0;
}

/* Button styles */
.page-resources__btn-primary,
.page-resources__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

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

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

.page-resources__btn-secondary:hover {
    background-color: #FFD700;
    color: #000080;
    border-color: #FFD700;
}

.page-resources__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-resources__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #000080; /* Dark blue background */
    color: #ffffff;
}

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

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

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

/* FAQ Section */
.page-resources__faq-section {
    padding: 60px 20px;
    background-color: #1a1a2e; /* Inherit from body or slightly darker */
    color: #ffffff;
}

.page-resources__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
}

.page-resources__faq-item {
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}