/* style/resources-debet-platform-advantages.css */

/* Base Styles for the page content */
.page-resources-debet-platform-advantages {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: transparent; /* Inherit from body, which is #0a0a0a */
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

/* Hero Section */
.page-resources-debet-platform-advantages__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding: 80px 20px;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    background: linear-gradient(90deg, #26A9E0 0%, #0a0a0a 100%); /* Blend brand color with dark background */
}

.page-resources-debet-platform-advantages__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-resources-debet-platform-advantages__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
}

.page-resources-debet-platform-advantages__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-debet-platform-advantages__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-debet-platform-advantages__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

/* Call to Action Buttons in Hero */
.page-resources-debet-platform-advantages__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* General Section Styling */
.page-resources-debet-platform-advantages__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for main content */
    color: #333333; /* Dark text for light background */
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-top: -60px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 2;
}

.page-resources-debet-platform-advantages__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-resources-debet-platform-advantages__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-resources-debet-platform-advantages__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* Feature Grid */
.page-resources-debet-platform-advantages__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.page-resources-debet-platform-advantages__card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-debet-platform-advantages__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-resources-debet-platform-advantages__card-image {
    width: 100%;
    max-width: 400px; /* Ensure images are not too small */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-debet-platform-advantages__card-title {
    font-size: 1.6em;
    color: #26A9E0;
    margin-bottom: 15px;
}