/* style/resources.css */

/* --- General Page Styling --- */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background: var(--secondary-color); /* Matches body background */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-resources__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources__section--overview {
    background-color: #f9f9f9;
}

.page-resources__section--guide {
    background-color: #ffffff;
}

.page-resources__section--benefits {
    background-color: #f0f8ff; /* Light blue tint */
}

.page-resources__section--faq {
    background-color: #ffffff;
}

.page-resources__section--security {
    background-color: #f9f9f9;
}

.page-resources__section--other-resources {
    background-color: #e6f7ff; /* Slightly darker light blue */
}

.page-resources__heading {
    font-size: 36px;
    color: #26A9E0; /* Primary brand color */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources__sub-heading {
    font-size: 24px;
    color: #333333;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-resources__paragraph {
    font-size: 17px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__intro-text {
    font-size: 18px;
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.page-resources__image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin: 30px auto;
}

.page-resources__image--center {
    margin-left: auto;
    margin-right: auto;
}

.page-resources__text-link {
    color: #26A9E0;
    text-decoration: underline;
    font-weight: 600;
}

.page-resources__text-link:hover {
    color: #1a7bb7;
}

/* --- Hero Section --- */
.page-resources__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px 60px 20px; /* Adjusted padding as padding-top is on .page-resources */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Fading from primary to white */
    overflow: hidden; /* Ensure no overflow from large image */
}

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

.page-resources__hero-image {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    z-index: 0;
}

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

.page-resources__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources__hero-content h1 {
    font-size: 48px;
    color: #000000; /* Darker text for better contrast on white/light blue */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.7);
}

/* --- CTA Button --- */
.page-resources__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box; /* For mobile responsiveness */
    white-space: normal; /* For mobile responsiveness */
    word-wrap: break-word; /* For mobile responsiveness */
}

.page-resources__cta-button:hover {
    background: #d66f06;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources__cta-wrapper {
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

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

.page-resources__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-resources__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-resources__feature-title {
    font-size: 22px;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources__feature-description {
    font-size: 16px;
    color: #555555;
}

/* --- Lists --- */
.page-resources__numbered-list,
.page-resources__bullet-list {
    list-style-position: inside;
    text-align: left;
    max-width: 900px;
    margin: 30px auto;
    font-size: 17px;
    line-height: 1.8;
    color: #333333;
}

.page-resources__numbered-list {
    list-style-type: decimal;
}

.page-resources__bullet-list {
    list-style-type: disc;
}

.page-resources__list-item {
    margin-bottom: 15px;
    padding-left: 10px;
}

.page-resources__list-title {
    font-size: 20px;
    color: #26A9E0;
    font-weight: bold;
    margin-bottom: 5px;
    display: inline; /* To allow number/bullet to align with title */
}