/* ==========================================
   FAQ SECTION
   ========================================== */

.faq-section {
    background-color: #ffffff;
    padding: 100px 20px;
    position: relative;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-label {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.faq-heading {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: #0a1128;
    margin-bottom: 60px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .faq-heading {
        font-size: 32px;
    }
}

/* ==========================================
   ACCORDION STYLES
   ========================================== */

.faq-accordion {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}

.faq-item:last-child {
    border-bottom: 1px solid #e5e5e5;
}

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

.faq-question:hover {
    opacity: 0.7;
}

.faq-question h3 {
    font-size: 20px;
    font-weight: 600;
    color: #0a1128;
    margin: 0;
    padding-right: 30px;
    flex: 1;
}

@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 16px;
    }
}

.faq-arrow {
    font-size: 24px;
    color: #0a1128;
    font-weight: 300;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.2s ease;
    padding: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 30px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #666666;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-answer p {
        font-size: 14px;
    }
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4169e1, #1e90ff);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(65, 105, 225, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(65, 105, 225, 0.4);
}

.back-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}