/* style/index-security-guarantees.css */

.page-index-security-guarantees {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for main content area */
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-index-security-guarantees__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Contains the image */
    background-color: #000000; /* Dark background for hero text contrast */
    color: #FFFFFF; /* Light text on dark hero background */
}

.page-index-security-guarantees__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6; /* Soften image to make text more readable */
}

.page-index-security-guarantees__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-index-security-guarantees__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-index-security-guarantees__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-index-security-guarantees__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #F0F0F0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index-security-guarantees__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index-security-guarantees__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are large enough */
    text-align: center;
    font-size: 1.1em;
}

.page-index-security-guarantees__button--register {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-index-security-guarantees__button--register:hover {
    background-color: transparent;
    color: #FFFFFF;
}

.page-index-security-guarantees__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-index-security-guarantees__button--login:hover {
    background-color: transparent;
    color: #FCBC45;
}

.page-index-security-guarantees__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-index-security-guarantees__section-title {
    font-size: 2.5em;
    color: #000000;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-index-security-guarantees__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-index-security-guarantees__paragraph {
    font-size: 1.1em;
    margin-bottom: 25px;
    text-align: justify;
    color: #333333;
}

.page-index-security-guarantees__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-index-security-guarantees__feature-card {
    background-color: #f8f8f8;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Pushes learn more to bottom */
}

.page-index-security-guarantees__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-index-security-guarantees__feature-icon {
    width: 250px; /* Minimum 200px as per rule */
    height: auto;
    max-height: 200px;
    margin: 0 auto 25px;
    display: block;
    border-radius: 8px;
    object-fit: contain; /* Ensure image fits without cropping */
}

.page-index-security-guarantees__feature-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-security-guarantees__feature-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1; /* Allows description to take up available space */
}

.page-index-security-guarantees__learn-more {
    display: inline-block;
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: color 0.3s ease;
}

.page-index-security-guarantees__learn-more:hover {
    color: #e0a53b;
    text-decoration: underline;
}

.page-index-security-guarantees__cta-section {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    padding: 80px 20px;
    text-align: center;
    margin-top: 60px;
    border-radius: 12px;
}

.page-index-security-guarantees__cta-title {
    font-size: 2.8em;
    margin-bottom: 25px;
    color: #FFFFFF;
    font-weight: bold;
}

.page-index-security-guarantees__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F0F0F0;
}

.page-index-security-guarantees__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.page-index-security-guarantees__button--join {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-index-security-guarantees__button--join:hover {
    background-color: transparent;
    color: #FCBC45;
}

.page-index-security-guarantees__button--download {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-index-security-guarantees__button--download:hover {
    background-color: transparent;
    color: #FFFFFF;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-security-guarantees__hero-title {
        font-size: 2.8em;
    }
    .page-index-security-guarantees__hero-description {
        font-size: 1.2em;
    }
    .page-index-security-guarantees__section-title {
        font-size: 2em;
    }
    .page-index-security-guarantees__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-index-security-guarantees {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-index-security-guarantees__hero-section {
        padding: 60px 15px;
    }
    .page-index-security-guarantees__hero-title {
        font-size: 2.2em;
    }
    .page-index-security-guarantees__hero-description {
        font-size: 1.1em;
    }
    .page-index-security-guarantees__hero-actions,
    .page-index-security-guarantees__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-security-guarantees__button {
        width: 100%;
        max-width: 300px; /* Limit button width on small screens */
        margin: 0 auto;
    }
    .page-index-security-guarantees__content-area {
        padding: 40px 15px;
    }
    .page-index-security-guarantees__section-title {
        font-size: 1.8em;
    }
    .page-index-security-guarantees__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-index-security-guarantees__feature-icon {
        max-width: 100%; /* Ensure mobile image does not overflow */
        height: auto;
    }
    .page-index-security-guarantees__cta-section {
        padding: 60px 15px;
    }
    .page-index-security-guarantees__cta-title {
        font-size: 1.8em;
    }
    /* Ensure content area images are responsive and don't overflow */
    .page-index-security-guarantees img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-index-security-guarantees__hero-title {
        font-size: 1.8em;
    }
    .page-index-security-guarantees__hero-description {
        font-size: 1em;
    }
    .page-index-security-guarantees__section-title {
        font-size: 1.5em;
    }
    .page-index-security-guarantees__cta-title {
        font-size: 1.6em;
    }
}