/* Modern FAQ Styles */
.faq-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.faq-section .sec-title {
    margin-bottom: 50px;
}

.faq-section .sec-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.faq-section .sec-title .text {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 30px;
}

.info-badge-wrapper {
    margin-bottom: 20px;
}

.faq-item {
    background: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(230, 57, 70, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    position: relative;
    border-left: 4px solid #e63946;
    display: flex;
    align-items: start;
    gap: 15px;
    transition: all 0.3s ease;
}

.faq-content {
    flex: 1;
}

.faq-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.faq-meta small {
    color: #95a5a6;
    font-size: 13px;
}

.faq-meta i {
    margin-right: 5px;
}

.faq-link {
    margin-top: 15px;
}

.faq-link a {
    color: #e63946;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.faq-link a:hover {
    color: #c72f3b;
    gap: 8px;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e63946 0%, #ff4757 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.3);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.toggle-icon {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.toggle-icon i {
    color: #e63946;
    font-size: 14px;
}

.faq-item.active .toggle-icon {
    transform: rotate(180deg);
    background: #e63946;
}

.faq-item.active .toggle-icon i {
    color: #fff;
}

.faq-item.active .faq-question {
    border-left-color: #2ecc71;
    background: #f8f9fa;
}

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

.faq-answer>div {
    padding: 0 30px 25px 85px;
}

.answer-icon {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.faq-answer .text {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #2ecc71;
        margin-top: 20px;
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 50px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    list-style: none;
    padding: 0;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination li {
    display: inline-block;
}

.page-link {
    display: block;
    padding: 10px 15px;
    background: #fff;
    border: 2px solid #e63946;
    color: #e63946;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
    text-align: center;
}

.page-link:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.page-link.active {
    background: #e63946 !important;
    color: #fff !important;
    cursor: default;
    transform: none !important;
}

.page-link.active:hover {
    transform: none;
}

/* Info Badge */
.info-badge {
    background: #f8f9fa;
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-badge i {
    color: #e63946;
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-section {
        padding: 40px 0;
    }

    .faq-question {
        padding: 20px 15px;
        flex-direction: column;
        gap: 10px;
    }

    .faq-answer>div {
        padding: 0 15px 20px 15px;
    }

    .faq-icon,
    .answer-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .faq-question h3 {
        font-size: 16px;
    }

    .faq-answer .text {
        font-size: 14px;
        padding: 15px;
    }

    .pagination {
        gap: 3px;
    }

    .page-link {
        padding: 8px 12px;
        font-size: 14px;
        min-width: 40px;
    }
}

@media (max-width: 576px) {
    .sec-title h2 {
        font-size: 28px !important;
    }

    .sec-title p {
        font-size: 14px !important;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.5s ease forwards;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}