/* JNXPC Limited - CSS Module: FAQ List */
/* ==================================== */

.faq-section {
    padding: 30px 0;
}

.faq-container {
    max-width: min(75%, var(--section-max-width));
    margin: 0 auto;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 100px;
    margin: 20px auto 0;
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 0;
    position: relative;
    padding-left: 40px;
}

.faq-icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #d64545, #a71c1c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(167, 28, 28, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.faq-icon i {
    font-size: 16px;
    color: white;
}

.faq-item:hover .faq-icon {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(167, 28, 28, 0.4);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.faq-question:hover h4 {
    color: var(--accent-color);
}

.faq-question i {
    font-size: 13px;
    color: #666;
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 0 24px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-color);
}

@media (max-width: 1440px) {
    .faq-container {
        max-width: min(85%, var(--section-max-width));
    }
}

@media (max-width: 992px) {
    .faq-container {
        max-width: min(75%, var(--section-max-width));
    }

    #faq .section-header {
        left: 0% !important;
    }

    .faq-section .section-header,
    .faq-section .section-header h2::after,
    .faq-section .section-header p {
        text-align: center;
    }

    .faq-section .section-header p {
        max-width: 100%;
    }

    .faq-section .section-header h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .faq-grid {
        grid-template-columns: 1fr
    }
}

@media (max-width: 480px) {
    .faq-container {
        max-width: min(85%, var(--section-max-width));
    }

    .faq-grid {
        margin-top: 0;
        width: 90%;
    }

    .faq-icon {
        width: 40px;
        height: 40px;
    }

    .faq-icon i {
        font-size: 16px;
    }

    .faq-item {
        padding-left: 35px;
    }

    .faq-item h4,
    .faq-question i {
        font-size: 12px;
    }

    .faq-answer p {
        font-size: 11px;
    }
}