/* ============================================
   FAQ SECTION STYLES
   ============================================ */
.faq-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
}

.faq-section .container {
    max-width: 900px;
}

.faq-section .section-header {
    margin-bottom: 60px;
}

.faq-section .subtitle {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-secondary));
    color: white;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.faq-section h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 15px;
}

.faq-section p {
    font-size: 18px;
    color: #2d3748; /* Improved contrast - darker color for better readability on #f8f9fa background */
    max-width: 600px;
    margin: 0 auto;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: white;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-primary), var(--gradient-secondary));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::before {
    transform: scaleY(1);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 14px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    margin-left: 15px;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748; /* Improved contrast - darker color for better readability */
    margin: 0;
    text-align: left;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-section .container {
        padding: 0 20px;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px 20px;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* ============================================
   FLOATING ACTION BUTTONS CONTAINER
   ============================================ */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 998;
    display: none;
    flex-direction: column;
    gap: 12px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   FLOATING CTA BUTTON
   ============================================ */
.floating-cta {
    position: relative;
    margin: 0;
}

.floating-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background: linear-gradient(135deg, #FF6B35, #FF8C5A);
    background-color: #FF6B35; /* Fallback solid color for better visibility */
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3); /* Subtle border for contrast */
    border-radius: 50%;
    font-size: 0;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4), 
                0 0 0 1px rgba(255, 107, 107, 0.2); /* Additional subtle outline */
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

/* Add a subtle backdrop overlay for better contrast */
.floating-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(255, 140, 90, 0.95));
    z-index: -1;
    border-radius: 50px;
}

.floating-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(255, 107, 107, 0.5),
                0 0 0 2px rgba(255, 107, 107, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.floating-cta-btn:active {
    transform: scale(0.98);
}

.floating-cta-btn i {
    font-size: 24px;
    line-height: 1;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 107, 107, 0.6);
    }
}

/* Show floating actions on mobile only */
@media (max-width: 768px) {
    .floating-actions {
        display: flex;
    }
}

@media (max-width: 480px) {
    .floating-actions {
        bottom: 15px;
        right: 15px;
        gap: 10px;
    }
    
    .floating-cta-btn,
    .floating-phone-btn {
        width: 50px;
        height: 50px;
    }
    
    .floating-cta-btn i,
    .floating-phone-btn i {
        font-size: 22px;
    }
}

/* ============================================
   FLOATING PHONE BUTTON
   ============================================ */
.floating-phone {
    position: relative;
    margin: 0;
}

.floating-phone-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    animation: pulse-phone 2s infinite;
}

.floating-phone-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(40, 167, 69, 0.5);
    color: white;
    text-decoration: none;
}

.floating-phone-btn:active {
    transform: scale(0.98);
}

.floating-phone-btn i {
    font-size: 24px;
    line-height: 1;
}

@keyframes pulse-phone {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(40, 167, 69, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(40, 167, 69, 0.6);
    }
}

/* Ensure buttons maintain their styles when in container */
.floating-actions .floating-cta-btn,
.floating-actions .floating-phone-btn {
    width: 56px;
    height: 56px;
    min-width: 56px;
    justify-content: center;
}