/* Floating Contact Popup */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #e98f36 0%, #d17d2d 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 18px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(233, 143, 54, 0.4);
    z-index: 9998;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-contact-btn:hover {
    background: linear-gradient(135deg, #d17d2d 0%, #e98f36 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(233, 143, 54, 0.5);
}

.floating-contact-btn i {
    font-size: 18px;
}

.floating-contact-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 400px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.2);
    z-index: 9999;
    display: none;
    animation: slideUp 0.4s ease;
    overflow: hidden;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.floating-contact-popup.active {
    display: block;
}

.popup-header {
    background: linear-gradient(135deg, #e98f36 0%, #d17d2d 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.popup-header::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: white;
    border-radius: 10px 10px 0 0;
}

.popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.popup-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 35px;
    height: 35px;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.popup-body {
    padding: 20px 25px;
    max-height: 450px;
    overflow-y: auto;
}

.popup-body .form-group {
    margin-bottom: 12px;
}

.popup-body .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popup-body .form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s;
    background: #f8f9fa;
}

.popup-body .form-control:focus {
    outline: none;
    border-color: #e98f36;
    background: white;
    box-shadow: 0 0 0 4px rgba(233, 143, 54, 0.1);
}

.popup-body textarea.form-control {
    resize: vertical;
    min-height: 70px;
    font-family: inherit;
}

.popup-body .btn-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #e98f36 0%, #d17d2d 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(233, 143, 54, 0.3);
}

.popup-body .btn-submit:hover {
    background: linear-gradient(135deg, #d17d2d 0%, #e98f36 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 143, 54, 0.4);
}

.popup-body .btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.popup-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    font-weight: 600;
}

.popup-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.popup-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

@media (max-width: 480px) {
    .floating-contact-popup {
        width: calc(100% - 20px);
        right: 10px;
        bottom: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
    
    .floating-contact-btn {
        right: 10px;
        bottom: 10px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .popup-header {
        padding: 20px;
    }
    
    .popup-header h3 {
        font-size: 18px;
    }
    
    .popup-close {
        width: 40px;
        height: 40px;
        font-size: 28px;
        background: rgba(255,255,255,0.3);
    }
    
    .popup-body {
        padding: 25px 20px 20px;
    }
    
    .popup-body .form-group {
        margin-bottom: 15px;
    }
    
    .popup-body .form-control {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    .popup-body textarea.form-control {
        min-height: 80px;
    }
}
