
/* Language Selector Popup Styles */
.language-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.language-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.language-popup-content {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 50px;
    max-width: 1000px;
    width: 95%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    text-align: center;
}

.language-popup-overlay.show .language-popup-content {
    transform: translateY(0);
}

.language-popup-header h3 {
    margin: 0 0 40px 0;
    color: #333;
    font-size: 45px !important;
    font-weight: 600;
    line-height: 1.4;
}

.language-popup-buttons {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
}



.language-btn {
    background: #333;
    border: none;
    border-radius: 12px;
    padding: 20px 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 20px;
    font-weight: 600;
    min-height: 80px;
    min-width: 200px;
    color: white;
    flex: 1 1 auto;
    max-width: 300px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.language-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Remove all hover effects as requested */

.language-btn .flag {
    font-size: 32px;
    line-height: 0px;
}

.language-btn .language-text {
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.language-popup-footer {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 15px;
}

.language-popup-footer small {
    font-size: 15px !important;
}



/* Hide popup by default */
.language-popup-overlay:not(.show) {
    display: none;
}

/* Service selector specific styles */
.back-btn {
    background: transparent;
    border: none;
    color: #333;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #333;
    color: white;
}

.service-buttons {
    flex-direction: row;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    margin-top: 30px;
}

.service-btn {
    line-height: 1.4em !important;
    background: #2c5aa0;
    border: none;
    border-radius: 12px;
    padding: 25px 30px !important;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.2);
}

.service-btn:hover {
    background: #1e4080;
    transform: translateY(-2px);
}

.service-btn:active {
    transform: translateY(0);
}



/* Animation for step transitions */
.language-popup-content {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.language-popup-content.fade-out {
    opacity: 0;
    transform: translateX(-20px);
}

.language-popup-content.fade-in {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   MEDIA QUERIES - Responsive Design
======================================== */

/* Tablet responsiveness */
@media (max-width: 1024px) and (min-width: 769px) {
    .language-popup-content {
        padding: 35px 40px;
        max-width: 90%;
    }
    
    .language-popup-header h3 {
        font-size: 40px !important;
    }
    
    .language-btn {
        min-width: 180px;
        padding: 18px 35px;
    }
}

/* Mobile responsiveness - All mobile styles consolidated */
@media (max-width: 768px) {
    /* Language buttons stack on mobile */
    .language-popup-buttons:not(.service-buttons) {
        flex-direction: column;
        gap: 20px;
    }
    
    .language-popup-content {
        margin: 20px;
        padding: 30px 25px;
        max-width: 95%;
    }
    
    .language-popup-header h3 {
        font-size: 28px !important;
        margin-bottom: 30px;
    }
    
    .language-btn {
        padding: 18px 30px;
        font-size: 18px;
        min-width: 200px;
        max-width: 100%;
    }
    
    .language-btn .flag {
        font-size: 28px;
    }
    
    .language-btn .language-text {
        font-size: 18px;
    }
    
    /* Service buttons stack on mobile */
    .service-buttons {
        flex-direction: column !important;
        gap: 15px;
        margin-top: 25px;
    }
    
    .service-btn {
        width: 100%;
        padding: 20px 25px;
        font-size: 16px;
        text-align: center;
        justify-content: center;
    }
    
    .back-btn {
        margin-top: 5px;
        padding: 6px 12px;
        font-size: 13px;
    }
}
