/* Floating Contact Button */
#fl-contact-hub-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff0000 0%, #b20000 100%);
    color: #fff;
    padding: 14px;
    border-radius: 50px;
    box-shadow: 0 10px 40px rgba(255, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

#fl-contact-hub-btn i svg {
    width: 28px;
    height: 28px;
    display: block;
}

.fl-btn-label {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    padding-right: 12px;
    font-family: 'Outfit', sans-serif;
}

#fl-contact-hub-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 0, 0, 0.6);
    filter: brightness(1.2);
}

/* Pulsate Animation */
@keyframes pulsate {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

.pulsate {
    animation: pulsate 2s infinite;
}

/* Modal Styling */
.fl-modal {
    display: none;
    position: fixed;
    z-index: 1000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    padding-top: 60px;
}

.fl-modal-content {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    width: 90%;
    max-width: 480px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 0, 0, 0.1);
    animation: slideIn 0.4s ease-out;
}

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

.fl-modal-close {
    color: rgba(255, 255, 255, 0.4);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fl-modal-close:hover {
    color: #ff0000;
}

.fl-modal-header h2 {
    color: #fff;
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.fl-modal-header p {
    color: rgba(255, 255, 255, 0.5);
    margin: 10px 0 30px 0;
    font-size: 14px;
}

/* Form Styles */
.fl-form-group {
    margin-bottom: 20px;
}

.fl-form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.fl-form-group input, 
.fl-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.fl-form-group input:focus, 
.fl-form-group textarea:focus {
    outline: none;
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
}

.fl-gdpr-section {
    margin: 25px 0 15px 0;
}

.fl-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.fl-checkbox-group input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    margin-top: 2px !important;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.fl-checkbox-group label {
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.4;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
}

.fl-checkbox-group label a {
    color: #ff0000;
    text-decoration: none;
    font-weight: 700;
}

.fl-checkbox-group label a:hover {
    text-decoration: underline;
}

.fl-legal-notice {
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 25px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.fl-legal-notice p {
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    line-height: 1.5;
    margin: 0 !important;
}

.fl-submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(90deg, #ff0000 0%, #b20000 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.fl-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
    filter: brightness(1.1);
}

/* Loader */
.fl-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#fl-form-feedback {
    margin-top: 15px;
    font-size: 13px;
    text-align: center;
}

#fl-form-feedback.success { color: #00ff88; }
#fl-form-feedback.error { color: #ff3333; }

/* Mobile Adjustments */
@media (max-width: 480px) {
    #fl-contact-hub-btn {
        bottom: 20px;
        right: 20px;
    }
    .fl-btn-label { display: none; }
    .fl-modal-content { padding: 30px 20px; width: 95%; }
}

/* Adjust Astra Scroll Top Button to avoid collision */
#ast-scroll-top {
    bottom: 100px !important;
    right: 30px !important;
}

@media (max-width: 480px) {
    #ast-scroll-top {
        bottom: 90px !important;
        right: 20px !important;
    }
}
