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

/* Base styles for the page content, ensuring light text on dark body background */
.page-index-security-guarantee {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text for dark body background */
    background-color: #000000; /* Matching body background */
}

.page-index-security-guarantee__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-index-security-guarantee__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for titles */
    font-weight: bold;
}

.page-index-security-guarantee__section-intro,
.page-index-security-guarantee__paragraph {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #cccccc;
}

.page-index-security-guarantee__list {
    list-style: none;
    padding: 0;
    margin: 20px auto 30px auto;
    max-width: 700px;
    text-align: left;
}

.page-index-security-guarantee__list li {
    background: rgba(255, 255, 255, 0.05); /* Slightly visible background for list items */
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 4px solid #26A9E0;
    border-radius: 5px;
    font-size: 1.05em;
    color: #ffffff;
}

.page-index-security-guarantee__list li strong {
    color: #26A9E0; /* Highlight important text with brand color */
}

/* Hero Section */
.page-index-security-guarantee__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 70vh; /* Adjust height as needed */
    min-height: 500px;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    overflow: hidden;
}

.page-index-security-guarantee__hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

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

.page-index-security-guarantee__hero-section .page-index-security-guarantee__container {
    position: relative;
    z-index: 1;
}

.page-index-security-guarantee__main-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-index-security-guarantee__hero-description {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #f0f0f0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Buttons */
.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1.1em;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-index-security-guarantee__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-index-security-guarantee__btn-primary:hover {
    background-color: #1a7fb7;
    border-color: #1a7fb7;
}

.page-index-security-guarantee__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-index-security-guarantee__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Why Choose Section */
.page-index-security-guarantee__why-choose-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background for contrast with body */
    color: #ffffff;
}

.page-index-security-guarantee__why-choose-section .page-index-security-guarantee__section-intro {
    color: #f0f0f0;
}

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

.page-index-security-guarantee__feature-item {
    background: rgba(255, 255, 255, 0.08); /* Light transparent background for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index-security-guarantee__feature-item:hover {
    transform: translateY(-10px);
}

.page-index-security-guarantee__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-index-security-guarantee__feature-text {
    font-size: 1em;
    color: #cccccc;
    text-align: left;
}

/* Content Sections (Data Protection, Fair Play, Secure Transactions, Account Security, Customer Support) */
.page-index-security-guarantee__data-protection-section,
.page-index-security-guarantee__fair-play-section,
.page-index-security-guarantee__secure-transactions-section,
.page-index-security-guarantee__account-security-section,
.page-index-security-guarantee__customer-support-section {
    padding: 80px 0;
}

.page-index-security-guarantee__dark-bg {
    background-color: #000000; /* Dark background */
    color: #ffffff;
}

.page-index-security-guarantee__light-bg {
    background-color: #0d0d0d; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-index-security-guarantee__content-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.page-index-security-guarantee__content-flex--reverse {
    flex-direction: row-reverse;
}

.page-index-security-guarantee__text-content {
    flex: 1;
}

.page-index-security-guarantee__image-wrapper {
    flex: 1;
    min-width: 200px; /* Minimum width for image wrapper */
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-index-security-guarantee__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    display: block; /* Ensure no extra space below image */
}

/* Customer Support Specific */
.page-index-security-guarantee__support-info {
    text-align: center;
    max-width: 800px;
    margin: 40px auto;
}

.page-index-security-guarantee__support-info .page-index-security-guarantee__paragraph {
    margin-top: 20px;
    margin-bottom: 0;
}

/* FAQ Section */
.page-index-security-guarantee__faq-section {
    padding: 80px 0;
    background-color: #0d0d0d; /* Slightly lighter dark background */
    color: #ffffff;
}

.page-index-security-guarantee__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-index-security-guarantee__faq-item {
    background: rgba(255, 255, 255, 0.08); /* Light transparent background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-index-security-guarantee__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-index-security-guarantee__faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: #26A9E0;
}

.page-index-security-guarantee__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-index-security-guarantee__faq-item.active .page-index-security-guarantee__faq-toggle {
    transform: rotate(45deg);
}

.page-index-security-guarantee__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cccccc;
}

.page-index-security-guarantee__faq-item.active .page-index-security-guarantee__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to accommodate content */
    padding: 15px 25px 20px 25px;
}

.page-index-security-guarantee__faq-answer p {
    margin: 0;
    text-align: left;
}


/* Call to Action Section */
.page-index-security-guarantee__cta-section {
    padding: 80px 0;
    text-align: center;
    background-color: #26A9E0; /* Brand color background for CTA */
    color: #FFFFFF;
}

.page-index-security-guarantee__cta-section .page-index-security-guarantee__section-title {
    color: #FFFFFF;
}

.page-index-security-guarantee__cta-section .page-index-security-guarantee__section-intro {
    color: #f0f0f0;
}

.page-index-security-guarantee__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* --- Responsive Design --- */

/* Tablet and Mobile */
@media (max-width: 1024px) {
    .page-index-security-guarantee__main-title {
        font-size: 2.8em;
    }
    .page-index-security-guarantee__hero-description {
        font-size: 1.2em;
    }
    .page-index-security-guarantee__section-title {
        font-size: 2em;
    }
    .page-index-security-guarantee__content-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-index-security-guarantee__content-flex--reverse {
        flex-direction: column; /* Revert to default column for mobile */
    }
    .page-index-security-guarantee__text-content,
    .page-index-security-guarantee__image-wrapper {
        width: 100%;
    }
    .page-index-security-guarantee__image-wrapper {
        margin-top: 30px;
    }
    .page-index-security-guarantee__list {
        max-width: 100%;
        padding: 0 15px;
    }
    .page-index-security-guarantee__list li {
        text-align: left;
    }
}

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-index-security-guarantee__hero-section {
        height: auto;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-index-security-guarantee__main-title {
        font-size: 2em;
    }
    .page-index-security-guarantee__hero-description {
        font-size: 1em;
    }
    .page-index-security-guarantee__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-index-security-guarantee__btn-primary,
    .page-index-security-guarantee__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-index-security-guarantee__section-title {
        font-size: 1.8em;
    }
    .page-index-security-guarantee__section-intro,
    .page-index-security-guarantee__paragraph {
        font-size: 0.95em;
    }
    .page-index-security-guarantee__feature-grid {
        grid-template-columns: 1fr;
    }
    .page-index-security-guarantee__feature-item {
        padding: 25px;
    }

    /* Images responsiveness */
    .page-index-security-guarantee img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-index-security-guarantee__image-wrapper,
    .page-index-security-guarantee__container,
    .page-index-security-guarantee__why-choose-section,
    .page-index-security-guarantee__data-protection-section,
    .page-index-security-guarantee__fair-play-section,
    .page-index-security-guarantee__secure-transactions-section,
    .page-index-security-guarantee__account-security-section,
    .page-index-security-guarantee__customer-support-section,
    .page-index-security-guarantee__faq-section,
    .page-index-security-guarantee__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    /* Adjust padding for sections */
    .page-index-security-guarantee__hero-section,
    .page-index-security-guarantee__why-choose-section,
    .page-index-security-guarantee__data-protection-section,
    .page-index-security-guarantee__fair-play-section,
    .page-index-security-guarantee__secure-transactions-section,
    .page-index-security-guarantee__account-security-section,
    .page-index-security-guarantee__customer-support-section,
    .page-index-security-guarantee__faq-section,
    .page-index-security-guarantee__cta-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .page-index-security-guarantee__faq-question {
        padding: 15px 20px;
    }
    .page-index-security-guarantee__faq-question h3 {
        font-size: 1.1em;
    }
    .page-index-security-guarantee__faq-answer {
        padding: 0 20px;
    }
    .page-index-security-guarantee__faq-item.active .page-index-security-guarantee__faq-answer {
        padding: 10px 20px 15px 20px;
    }
    .page-index-security-guarantee__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
}