/* style/resources.css */

/* Base styles for the page content, ensuring light text on dark body background */
.page-resources {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.5); /* Darken image for better text contrast */
}

.page-resources__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Additional overlay for text readability */
    z-index: -1;
}

.page-resources__hero-section .page-resources__container {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.page-resources__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF; /* Ensure high contrast */
}

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #f0f0f0; /* Slightly off-white for body text */
}

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

/* General Section Styles */
.page-resources__section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background for sections */
    color: #ffffff; /* Light text for dark section background */
}

.page-resources__section:nth-of-type(even) {
    background-color: #222222; /* Slightly different dark background for alternating sections */
}

.page-resources__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff; /* Adjusted for contrast on dark background */
}

.page-resources__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    color: #cccccc; /* Lighter text for descriptions */
}

.page-resources__sub-heading {
    font-size: 1.8em;
    color: #ffffff; /* Adjusted for contrast on dark background */
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-resources__list-ordered {
    list-style: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-resources__list li,
.page-resources__list-ordered li {
    margin-bottom: 10px;
    color: #ffffff;
}

.page-resources__note {
    font-style: italic;
    color: #aaaaaa;
    margin-top: 30px;
}

/* Buttons */
.page-resources__btn-primary,
.page-resources__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
}

.page-resources__btn-primary {
    background-color: #C30808; /* Registration/Login color */
    color: #FFFF00; /* Registration/Login font color */
    border: 2px solid #C30808;
}

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

.page-resources__btn-secondary {
    background-color: transparent;
    color: #017439; /* Brand color */
    border: 2px solid #017439;
}

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

.page-resources__btn-small {
    padding: 10px 20px;
    font-size: 1em;
}

.page-resources__btn-large {
    padding: 18px 35px;
    font-size: 1.2em;
}

.page-resources__btn-full-width {
    width: 100%;
    margin-top: 20px;
}

.page-resources__btn-text-link {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources__btn-text-link:hover {
    color: #00a04a;
    text-decoration: underline;
}

/* Download Guide Section */
.page-resources__download-guide {
    text-align: center;
}

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

.page-resources__guide-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-resources__guide-heading {
    font-size: 1.6em;
    color: #ffffff; /* Adjusted for contrast on dark background */
    margin-bottom: 15px;
}

.page-resources__guide-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    max-height: 250px;
    object-fit: cover;
}

.page-resources__guide-item p {
    color: #e0e0e0;
    margin-bottom: 15px;
}

.page-resources__guide-item .page-resources__btn-primary {
    align-self: flex-start;
    margin-top: 20px;
}


/* Safety & Security Section */
.page-resources__safety-security {
    text-align: center;
}

.page-resources__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources__feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.page-resources__feature-icon {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-resources__feature-heading {
    font-size: 1.4em;
    color: #ffffff; /* Adjusted for contrast on dark background */
    margin-bottom: 15px;
}

.page-resources__feature-card p {
    color: #e0e0e0;
}

.page-resources__section-footer-text {
    margin-top: 50px;
    font-size: 1em;
    color: #cccccc;
}

/* New User Benefits Section */
.page-resources__new-user-benefits .page-resources__content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.page-resources__new-user-benefits .page-resources__text-content {
    flex: 2;
    min-width: 300px;
}

.page-resources__new-user-benefits .page-resources__image-aside {
    flex: 1;
    min-width: 250px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}