/* style/resources-security-features.css */

/* Base styles for the page content */
.page-resources-security-features {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body or shared, if any */
}

/* Fixed Header Offset for main content or hero section */
.page-resources-security-features__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #1a1a2e; /* Match body background for seamless transition */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh; /* Adjust as needed */
    text-align: center;
    overflow: hidden; /* Ensure content doesn't spill */
}

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

.page-resources-security-features__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

.page-resources-security-features__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.page-resources-security-features__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim image to make text stand out */
}

.page-resources-security-features__hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* General button styles */
.page-resources-security-features__btn-primary,
.page-resources-security-features__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;
    box-sizing: border-box;
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
}

.page-resources-security-features__btn-primary {
    background-color: #C30808; /* Custom color for register/login type buttons */
    color: #FFFF00; /* Custom font color for register/login type buttons */
    border: 2px solid #C30808;
}

.page-resources-security-features__btn-primary:hover {
    background-color: #e02c2c;
    border-color: #e02c2c;
}

.page-resources-security-features__btn-secondary {
    background-color: transparent;
    color: #FFFFFF;
    border: 2px solid #FFFFFF;
}

.page-resources-security-features__btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

/* General section styles */
.page-resources-security-features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-security-features__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: #FFFFFF; /* Default for dark sections */
}

.page-resources-security-features__section-title--dark {
    color: #017439; /* For light sections */
}

.page-resources-security-features__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #FFFFFF; /* Default for dark sections */
}

.page-resources-security-features__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #f0f0f0; /* Light text for dark sections */
}

/* Intro Section */
.page-resources-security-features__intro-section {
    padding: 80px 0;
}

.page-resources-security-features__dark-bg {
    background-color: #017439; /* Primary brand color for dark sections */
    color: #ffffff;
}

.page-resources-security-features__light-bg {
    background-color: #ffffff; /* Auxiliary brand color for light sections */
    color: #333333; /* Dark text for light background */
}

.page-resources-security-features__light-bg .page-resources-security-features__text-block {
    color: #333333; /* Ensure dark text on light background */
}

/* Measures Section */
.page-resources-security-features__measures-section {
    padding: 80px 0;
}

.page-resources-security-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-security-features__card {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly off-white for contrast */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333333; /* Dark text on light card background */
}

.page-resources-security-features__card-image {
    width: 100%;
    height: auto;
    max-width: 400px; /* Constrain image size within card */
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-resources-security-features__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #017439; /* Primary color for card titles */
}

.page-resources-security-features__card-description {
    font-size: 1em;
    color: #555555;
}

/* Transaction Section */
.page-resources-security-features__transaction-section {
    padding: 80px 0;
}

.page-resources-security-features__grid--two-columns {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.page-resources-security-features__feature-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff; /* Light text on dark card background */
}

.page-resources-security-features__feature-image {
    width: 100%;
    height: auto;
    max-width: 300px; /* Constrain image size within card */
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-resources-security-features__feature-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #FFFF00; /* Accent color for titles on dark cards */
}

.page-resources-security-features__feature-description {
    font-size: 1em;
    color: #f0f0f0;
}

/* Fair Play Section - similar to measures section but with dark titles */
.page-resources-security-features__fair-play-section {
    padding: 80px 0;
}

/* User Responsibility Section - similar to transaction section */
.page-resources-security-features__user-responsibility-section {
    padding: 80px 0;
}

.page-resources-security-features__info-card {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white on dark background */
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #ffffff; /* Light text on dark card background */
}

.page-resources-security-features__info-image {
    width: 100%;
    height: auto;
    max-width: 200px; /* Constrain image size within card */
    margin-bottom: 20px;
    border-radius: 5px;
    object-fit: cover;
}

.page-resources-security-features__info-title {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #FFFF00; /* Accent color for titles on dark cards */
}

.page-resources-security-features__info-description {
    font-size: 1em;
    color: #f0f0f0;
}


/* FAQ Section */
.page-resources-security-features__faq-section {
    padding: 80px 0;
}

.page-resources-security-features__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-security-features__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #333333; /* Dark text on light background */
}

.page-resources-security-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #FFFFFF;
    color: #017439; /* Primary color for FAQ questions */
    transition: background-color 0.3s ease;
    list-style: none; /* For <details> tag */
}

.page-resources-security-features__faq-question::-webkit-details-marker {
    display: none; /* For <details> tag */
}

.page-resources-security-features__faq-question:hover {
    background-color: #f0f0f0;
}