.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #f8f9fa; /* Light background for the page content */
}

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure header offset is applied */
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); /* Dark blue gradient */
    color: #ffffff;
    overflow: hidden; /* Prevent image overflow */
}

.page-resources__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.page-resources__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
}

.page-resources__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2); /* Slightly transparent background for text readability */
    border-radius: 8px;
    margin-top: -80px; /* Overlap with image slightly for visual appeal */
}

.page-resources__hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffc107; /* Secondary color for heading */
    line-height: 1.2;
}

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

.page-resources__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #ffc107; /* Secondary color for CTA */
    color: #000000; /* Dark text for contrast */
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-resources__cta-button:hover {
    background: #e0a800; /* Darker secondary color on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-resources__section {
    padding: 80px 20px;
    text-align: center;
    background-color: #ffffff; /* Default light background for sections */
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.page-resources__section:nth-of-type(odd) {
    background-color: #f8f9fa; /* Alternate background for readability */
}

.page-resources__dark-section {
    background-color: #007bff; /* Primary color as background */
    color: #ffffff;
}

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

.page-resources__section h2 {
    font-size: 2.5em;
    color: #007bff; /* Primary color for main headings */
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources__dark-section h2 {
    color: #ffc107; /* Secondary color for headings on dark background */
}

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

.page-resources__dark-section h2::after {
    background-color: #ffffff;
}

.page-resources__section p {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
}

.page-resources__dark-section p {
    color: #f0f0f0;
}

/* Feature Grid */
.page-resources__features-grid,
.page-resources__card-grid,
.page-resources__security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-resources__feature-item,
.page-resources__card,
.page-resources__security-item {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align text to left */
    color: #333333; /* Dark text for light card background */
}

.page-resources__feature-item:hover,
.page-resources__card:hover,
.page-resources__security-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-resources__feature-item img,
.page-resources__card img,
.page-resources__security-item img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-resources__feature-item h3,
.page-resources__card h3,
.page-resources__security-item h3 {
    font-size: 1.5em;
    color: #007bff; /* Primary color for card headings */
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-resources__feature-item h3 a,
.page-resources__card h3 a,
.page-resources__security-item h3 a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources__feature-item h3 a:hover,
.page-resources__card h3 a:hover,
.page-resources__security-item h3 a:hover {
    color: #ffc107; /* Secondary color on hover */
}

.page-resources__feature-item p,
.page-resources__card p,
.page-resources__security-item p {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1; /* Allow paragraphs to take up available space */
}

.page-resources__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    align-self: flex-start; /* Align button to left */
}

.page-resources__btn-link:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-resources__faq {
    background-color: #f0f8ff; /* Light blue background for FAQ */
}

.page-resources__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}