/* ============================================
   Still Have Questions Section - Zencia.AI
   ============================================ */

/* ===== STILL QUESTIONS SECTION ===== */
.still-questions {
    background: linear-gradient(135deg, #0f1419 0%, #082928 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* Background image layer */
.still-questions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../images/language-background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
    pointer-events: none;
}

/* Gradient overlays */
.still-questions::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 217, 213, 0.06) 0%, transparent 50%),
                rgba(15, 20, 25, 0.5);
    z-index: 2;
    pointer-events: none;
}

.still-questions .container {
    position: relative;
    z-index: 3;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* ===== TEAM AVATARS ===== */
.questions-avatars {
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out;
}

.avatar-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -0.5rem; /* Negative gap for overlapping */
}

.avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(0, 217, 213, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    margin-left: -8px; /* Overlap effect */
}

.avatar:first-child {
    margin-left: 0;
}

.avatar:hover {
    transform: translateY(-4px) scale(1.05);
    border-color: rgba(0, 217, 213, 0.6);
    box-shadow: 0 12px 40px rgba(0, 217, 213, 0.3);
    z-index: 10;
}

.avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* Individual avatar styling for variety */
.avatar:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.avatar:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
    border-color: rgba(64, 224, 208, 0.3);
}

.avatar:nth-child(3) {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
    border-color: rgba(0, 206, 209, 0.3);
}

.avatar:nth-child(2):hover {
    border-color: rgba(64, 224, 208, 0.6);
    box-shadow: 0 12px 40px rgba(64, 224, 208, 0.3);
}

.avatar:nth-child(3):hover {
    border-color: rgba(0, 206, 209, 0.6);
    box-shadow: 0 12px 40px rgba(0, 206, 209, 0.3);
}

/* ===== CONTENT ===== */
.questions-content {
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.questions-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.questions-description {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== CTA BUTTON ===== */
.questions-cta {
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.questions-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #00D9D5 0%, #008B8B 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 217, 213, 0.3);
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    min-width: 180px;
}

.questions-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 217, 213, 0.5);
    background: linear-gradient(135deg, #40E0D0 0%, #00CED1 100%);
}

/* Button ripple effect */
.questions-contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.questions-contact-btn:active::before {
    width: 300px;
    height: 300px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation for avatars */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.avatar-group .avatar:nth-child(1) {
    animation: float 4s ease-in-out infinite;
}

.avatar-group .avatar:nth-child(2) {
    animation: float 4s ease-in-out infinite 1s;
}

.avatar-group .avatar:nth-child(3) {
    animation: float 4s ease-in-out infinite 2s;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .still-questions {
        padding: 80px 0;
    }
    
    .still-questions .container {
        max-width: 600px;
    }
    
    .questions-avatars {
        margin-bottom: 2.5rem;
    }
    
    .avatar {
        width: 70px;
        height: 70px;
        border-width: 3px;
    }
    
    .questions-description {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 480px) {
    .still-questions .container {
        padding: 0 1rem;
    }
    
    .avatar {
        width: 60px;
        height: 60px;
        border-width: 3px;
        margin-left: -6px;
    }
    
    .questions-contact-btn {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }
    
    .questions-avatars {
        margin-bottom: 2rem;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    .questions-avatars,
    .questions-content,
    .questions-cta,
    .avatar {
        animation: none !important;
    }
    
    .avatar:hover {
        transform: none;
    }
}

/* Focus states for accessibility */
.questions-contact-btn:focus {
    outline: 2px solid #00D9D5;
    outline-offset: 4px;
}

.avatar:focus {
    outline: 2px solid #00D9D5;
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .still-questions {
        background: white !important;
        padding: 2rem 0;
        width: 100% !important;
        margin-left: 0 !important;
    }
    
    .still-questions .container {
        max-width: none !important;
        margin-left: 0 !important;
    }
    
    .avatar {
        box-shadow: none;
        border: 2px solid #ddd;
    }
    
    .questions-contact-btn {
        background: #0066ff !important;
        box-shadow: none;
    }
    
    .questions-title {
        color: #000 !important;
    }
    
    .questions-description {
        color: #666 !important;
    }
}