/* style/index-customer-service.css */

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

/* Base styles for the page-index-customer-service scope */
.page-index-customer-service {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text-main); /* Default text color for dark background */
    background-color: var(--color-background); /* Ensure consistent background */
}

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

.page-index-customer-service__section {
    padding: 80px 0;
    text-align: center;
}

.page-index-customer-service__dark-bg {
    background-color: var(--color-background);
    color: var(--color-text-main);
}

.page-index-customer-service__light-bg {
    background-color: #f8f9fa; /* A very light background to contrast dark sections */
    color: #333333; /* Dark text for light background */
}

.page-index-customer-service__section-title {
    font-size: 2.8em;
    margin-bottom: 30px;
    color: var(--color-text-main);
    font-weight: bold;
    line-height: 1.2;
}

.page-index-customer-service__light-bg .page-index-customer-service__section-title {
    color: #000000;
}

.page-index-customer-service__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.page-index-customer-service__light-bg .page-index-customer-service__sub-title {
    color: #333333;
}

.page-index-customer-service__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-secondary);
}

.page-index-customer-service__light-bg .page-index-customer-service__text-block {
    color: #555555;
}

/* Hero Section */
.page-index-customer-service__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden;
}

.page-index-customer-service__hero-image-wrapper {
    width: 100%;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Space between image and content */
}

.page-index-customer-service__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-index-customer-service__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 20px;
    text-align: center;
    margin-top: -80px; /* Pull content slightly over image for visual flow */
}

.page-index-customer-service__main-title {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size */
    font-weight: bold;
    color: var(--color-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-index-customer-service__hero-description {
    font-size: 1.3em;
    color: var(--color-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-index-customer-service__btn-primary,
.page-index-customer-service__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    margin: 10px;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-index-customer-service__btn-primary {
    background: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-index-customer-service__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

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

.page-index-customer-service__btn-secondary:hover {
    background-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Image-Text Grid */
.page-index-customer-service__image-text-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

.page-index-customer-service__image-text-grid .page-index-customer-service__image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-index-customer-service__image-text-grid .page-index-customer-service__text-content {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    padding: 20px;
}

.page-index-customer-service__image-text-grid .page-index-customer-service__text-content .page-index-customer-service__sub-title {
    text-align: left;
}

.page-index-customer-service__image-text-grid .page-index-customer-service__text-content p {
    text-align: left;
    color: var(--color-text-secondary);
}

/* Contact Channels */
.page-index-customer-service__channel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-index-customer-service__card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-text-main);
}

.page-index-customer-service__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-index-customer-service__card-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--color-text-main);
}

.page-index-customer-service__card p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.page-index-customer-service__contact-image-wrapper {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Process List */
.page-index-customer-service__process-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-index-customer-service__process-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
}

.page-index-customer-service__process-item .page-index-customer-service__sub-title {
    text-align: center;
    color: var(--color-text-main);
}

.page-index-customer-service__process-item p {
    color: var(--color-text-secondary);
    text-align: center;
}

/* FAQ Section */
.page-index-customer-service__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-index-customer-service__faq-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--color-text-main);
}

.page-index-customer-service__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--color-text-main);
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
}

.page-index-customer-service__faq-question:hover {
    background-color: rgba(var(--color-deep-green), 0.8);
}

.page-index-customer-service__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-index-customer-service__faq-answer {
    padding: 20px 25px;
    font-size: 1.1em;
    color: var(--color-text-secondary);
}

.page-index-customer-service__faq-answer p {
    margin: 0;
    text-align: left;
    color: var(--color-text-secondary);
}

.page-index-customer-service__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-index-customer-service__faq-item summary {
    list-style: none;
}

.page-index-customer-service__faq-image-wrapper {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Benefits Section */
.page-index-customer-service__benefits-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-index-customer-service__benefits-item {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: var(--color-text-main);
}

.page-index-customer-service__benefits-item .page-index-customer-service__sub-title {
    text-align: center;
    color: var(--color-text-main);
}

.page-index-customer-service__benefits-item p {
    color: var(--color-text-secondary);
    text-align: center;
}

.page-index-customer-service__benefits-image-wrapper {
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* CTA Section */
.page-index-customer-service__cta-section {
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 60px 0;
}

.page-index-customer-service__cta-section .page-index-customer-service__section-title {
    color: #ffffff;
}

.page-index-customer-service__cta-section .page-index-customer-service__text-block {
    color: #f0f0f0;
}

.page-index-customer-service__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    gap: 15px;
}

.page-index-customer-service__cta-buttons .page-index-customer-service__btn-primary {
    background: linear-gradient(180deg, #57E38D 0%, #2AD16F 100%); /* Slightly different gradient for CTA */
}

.page-index-customer-service__cta-buttons .page-index-customer-service__btn-secondary {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

.page-index-customer-service__cta-buttons .page-index-customer-service__btn-secondary:hover {
    background-color: var(--color-deep-green);
    color: #ffffff;
    border-color: var(--color-deep-green);
}

/* Global image styles */
.page-index-customer-service img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-customer-service__section-title {
        font-size: 2.2em;
    }
    .page-index-customer-service__sub-title {
        font-size: 1.5em;
    }
    .page-index-customer-service__hero-description {
        font-size: 1.1em;
    }
    .page-index-customer-service__image-text-grid .page-index-customer-service__image-wrapper,
    .page-index-customer-service__image-text-grid .page-index-customer-service__text-content {
        max-width: 100%;
        flex: none;
    }
    .page-index-customer-service__image-text-grid {
        text-align: center;
    }
    .page-index-customer-service__image-text-grid .page-index-customer-service__text-content .page-index-customer-service__sub-title,
    .page-index-customer-service__image-text-grid .page-index-customer-service__text-content p {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-index-customer-service {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-index-customer-service__section {
        padding: 40px 0;
    }
    .page-index-customer-service__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-index-customer-service__sub-title {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .page-index-customer-service__hero-content {
        margin-top: -40px;
        padding: 0 15px;
    }
    .page-index-customer-service__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }
    .page-index-customer-service__hero-description {
        font-size: 1em;
    }
    
    /* Mobile image adaptation */
    .page-index-customer-service img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    
    /* All containers with images/content must prevent overflow */
    .page-index-customer-service__section,
    .page-index-customer-service__card,
    .page-index-customer-service__container,
    .page-index-customer-service__hero-image-wrapper,
    .page-index-customer-service__image-wrapper,
    .page-index-customer-service__image-text-grid .page-index-customer-service__image-wrapper,
    .page-index-customer-service__image-text-grid .page-index-customer-service__text-content,
    .page-index-customer-service__channel-cards,
    .page-index-customer-service__process-list,
    .page-index-customer-service__faq-list,
    .page-index-customer-service__benefits-list,
    .page-index-customer-service__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button adaptation */
    .page-index-customer-service__btn-primary,
    .page-index-customer-service__btn-secondary,
    .page-index-customer-service a[class*="button"],
    .page-index-customer-service a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 10px 0 !important; /* Stack buttons vertically */
    }

    .page-index-customer-service__cta-buttons {
        flex-direction: column; /* Stack CTA buttons */
        gap: 10px;
    }
    
    .page-index-customer-service__hero-section {
        padding-top: 10px !important; /* body already handles header offset */
    }
}