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

/* Custom Colors */
:root {
    --lg88-primary-color: #11A84E;
    --lg88-secondary-color: #22C768;
    --lg88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --lg88-card-bg: #11271B;
    --lg88-background: #08160F;
    --lg88-text-main: #F2FFF6;
    --lg88-text-secondary: #A7D9B8;
    --lg88-border: #2E7A4E;
    --lg88-glow: #57E38D;
    --lg88-gold: #F2C14E;
    --lg88-divider: #1E3A2A;
    --lg88-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-index-security-guarantee {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--lg88-text-main); /* Light text for dark body background */
    background-color: var(--lg88-background);
}

.page-index-security-guarantee__highlight {
    color: var(--lg88-gold);
    font-weight: bold;
}

/* Hero Section */
.page-index-security-guarantee__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
    background-color: var(--lg88-background);
}

.page-index-security-guarantee__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for large screens */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-index-security-guarantee__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto;
    padding: 0 20px;
    z-index: 10;
}

.page-index-security-guarantee__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--lg88-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-index-security-guarantee__hero-description {
    font-size: 1.25rem;
    color: var(--lg88-text-secondary);
    margin-bottom: 30px;
}

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

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__btn-secondary,
.page-index-security-guarantee__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-index-security-guarantee__btn-primary,
.page-index-security-guarantee__cta-button {
    background: var(--lg88-button-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
}

.page-index-security-guarantee__btn-primary:hover,
.page-index-security-guarantee__cta-button:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

.page-index-security-guarantee__btn-secondary {
    background-color: transparent;
    color: var(--lg88-primary-color);
    border: 2px solid var(--lg88-primary-color);
}

.page-index-security-guarantee__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: rgba(17, 168, 78, 0.1);
}

/* General Content Sections */
.page-index-security-guarantee__content-area,
.page-index-security-guarantee__features-section,
.page-index-security-guarantee__faq-section,
.page-index-security-guarantee__cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    box-sizing: border-box;
}

.page-index-security-guarantee__dark-section {
    background-color: var(--lg88-background);
    color: var(--lg88-text-main);
}

.page-index-security-guarantee__section-title {
    font-size: 2.5rem;
    color: var(--lg88-text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-index-security-guarantee__text-block p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--lg88-text-secondary);
}

.page-index-security-guarantee__image-full-width {
    margin-top: 40px;
    text-align: center;
}

.page-index-security-guarantee__image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

/* Features Grid */
.page-index-security-guarantee__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-index-security-guarantee__card {
    background-color: var(--lg88-card-bg);
    border: 1px solid var(--lg88-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--lg88-text-main); /* Light text for dark card background */
    transition: transform 0.3s ease;
}

.page-index-security-guarantee__card:hover {
    transform: translateY(-5px);
}

.page-index-security-guarantee__card-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-security-guarantee__card-title {
    font-size: 1.5rem;
    color: var(--lg88-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-index-security-guarantee__card p {
    font-size: 1rem;
    color: var(--lg88-text-secondary);
}

/* Advantages List */
.page-index-security-guarantee__advantages-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-index-security-guarantee__advantages-list li {
    font-size: 1.1rem;
    color: var(--lg88-text-secondary);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-index-security-guarantee__advantages-list li::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--lg88-glow);
}

/* FAQ Section */
.page-index-security-guarantee__faq-list {
    margin-top: 40px;
}

.page-index-security-guarantee__faq-item {
    background-color: var(--lg88-card-bg);
    border: 1px solid var(--lg88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-index-security-guarantee__faq-item[open] {
    background-color: var(--lg88-deep-green);
}

.page-index-security-guarantee__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--lg88-text-main);
    cursor: pointer;
    list-style: none; /* For <details> tag */
    -webkit-tap-highlight-color: transparent;
}

.page-index-security-guarantee__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for <details> */
}

.page-index-security-guarantee__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--lg88-glow);
}

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

.page-index-security-guarantee__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--lg88-text-secondary);
}

.page-index-security-guarantee__faq-answer p {
    margin-bottom: 0; /* Remove default paragraph margin */
}

/* Call to Action Section */
.page-index-security-guarantee__cta-section {
    text-align: center;
    padding: 80px 20px;
    background-color: var(--lg88-deep-green);
    border-radius: 10px;
    margin-top: 40px;
}

.page-index-security-guarantee__cta-description {
    font-size: 1.2rem;
    color: var(--lg88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-index-security-guarantee__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-index-security-guarantee__hero-description {
        font-size: 1.1rem;
    }

    .page-index-security-guarantee__section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-index-security-guarantee {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-index-security-guarantee__hero-section {
        padding-bottom: 40px;
    }

    .page-index-security-guarantee__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-index-security-guarantee__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-index-security-guarantee__hero-description {
        font-size: 1rem;
    }

    .page-index-security-guarantee__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-index-security-guarantee__btn-primary,
    .page-index-security-guarantee__btn-secondary,
    .page-index-security-guarantee__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-index-security-guarantee__content-area,
    .page-index-security-guarantee__features-section,
    .page-index-security-guarantee__faq-section,
    .page-index-security-guarantee__cta-section {
        padding: 40px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-index-security-guarantee__section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .page-index-security-guarantee__text-block p {
        font-size: 1rem;
    }

    .page-index-security-guarantee__card {
        padding: 20px;
    }

    .page-index-security-guarantee__card-title {
        font-size: 1.3rem;
    }

    .page-index-security-guarantee__advantages-list li {
        font-size: 1rem;
        padding-left: 25px;
    }

    .page-index-security-guarantee__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-index-security-guarantee__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-index-security-guarantee img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-index-security-guarantee__hero-image-wrapper,
    .page-index-security-guarantee__image-full-width,
    .page-index-security-guarantee__grid-container,
    .page-index-security-guarantee__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .page-index-security-guarantee__hero-section {
        padding-bottom: 30px;
    }

    .page-index-security-guarantee__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .page-index-security-guarantee__section-title {
        font-size: 1.5rem;
    }

    .page-index-security-guarantee__cta-buttons {
        gap: 10px;
    }
}