/* =========================================
FLOATING CONTACT WRAPPER
========================================= */

.floating-contact-wrapper{

    position:fixed;
    right:25px;
    bottom:25px;
    z-index:9999;

    display:flex;
    flex-direction:column;
    gap:16px;
    align-items:flex-end;

}

/* =========================================
WHATSAPP BUTTON
========================================= */

.floating-whatsapp{

    display:flex;
    align-items:center;
    gap:10px;

    background:linear-gradient(
        135deg,
        #25d366,
        #14b84f
    );

    color:#fff;
    text-decoration:none;

    padding:14px 20px;

    border-radius:60px;

    font-size:15px;
    font-weight:600;

    box-shadow:
    0 10px 30px rgba(37,211,102,.35);

    transition:.35s ease;

}

.floating-whatsapp:hover{

    transform:translateY(-4px);

    box-shadow:
    0 18px 40px rgba(37,211,102,.45);

}

.floating-whatsapp i{

    font-size:24px;

}

/* =========================================
ENQUIRY BUTTON
========================================= */

.floating-enquiry-btn{

    border:none;
    outline:none;

    display:flex;
    align-items:center;
    gap:10px;

    background:linear-gradient(
        135deg,
        #6d3df5,
        #9b51ff
    );

    color:#fff;

    padding:15px 22px;

    border-radius:60px;

    font-size:15px;
    font-weight:600;

    cursor:pointer;

    box-shadow:
    0 12px 35px rgba(109,61,245,.35);

    transition:.35s ease;

}

.floating-enquiry-btn:hover{

    transform:translateY(-4px);

}

/* =========================================
POPUP
========================================= */

.floating-enquiry-popup{

    width:380px;
    max-width:calc(100vw - 30px);

    max-height:84vh;

    overflow-y:auto;

    background:rgba(10,15,35,.94);

    backdrop-filter:blur(18px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:28px;

    position:fixed;

    right:25px;
    bottom:95px;

    opacity:0;
    visibility:hidden;

    transform:
    translateY(20px)
    scale(.96);

    transition:.35s ease;

    box-shadow:
    0 25px 80px rgba(0,0,0,.45);

    z-index:99999;

}

/* ACTIVE */

.floating-enquiry-popup.active{

    opacity:1;
    visibility:visible;

    transform:
    translateY(0)
    scale(1);

}

/* =========================================
HEADER
========================================= */

.floating-popup-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:12px;

}

.floating-popup-header h4{

    color:#fff;
    margin:0;

    font-size:24px;
    font-weight:700;

}

.floating-popup-header button{

    background:none;
    border:none;

    color:#fff;

    font-size:22px;

    cursor:pointer;

}

.floating-enquiry-popup p{

    color:rgba(255,255,255,.7);

    margin-bottom:24px;

    line-height:1.7;

}

/* =========================================
FORM
========================================= */

.floating-contact-form{

    display:flex;
    flex-direction:column;
    gap:16px;

}

.floating-contact-form input,
.floating-contact-form textarea{

    width:100%;

    border:none;
    outline:none;

    background:rgba(255,255,255,.06);

    color:#fff;

    padding:14px 16px;

    border-radius:16px;

    font-size:15px;

}

.floating-contact-form textarea{

    resize:none;

}

.floating-contact-form input::placeholder,
.floating-contact-form textarea::placeholder{

    color:rgba(255,255,255,.5);

}

.floating-contact-form button{

    border:none;
    outline:none;

    background:linear-gradient(
        135deg,
        #6d3df5,
        #9b51ff
    );

    color:#fff;

    padding:16px;

    border-radius:18px;

    font-size:16px;
    font-weight:700;

    cursor:pointer;

    transition:.35s ease;

}

.floating-contact-form button:hover{

    transform:translateY(-3px);

}

/* =========================================
MOBILE
========================================= */

@media(max-width:768px){

    .floating-contact-wrapper{

        right:15px;
        bottom:15px;

    }

    .floating-enquiry-popup{

        width:320px;

    }

    .floating-whatsapp span,
    .floating-enquiry-btn span{

        display:none;

    }

}


@media(max-width:768px){

    .floating-enquiry-popup{

        width:calc(100vw - 20px);

        right:10px;
        left:10px;

        bottom:90px;

        border-radius:24px;

        padding:22px;

    }

}


.floating-enquiry-popup::-webkit-scrollbar{

    width:6px;

}

.floating-enquiry-popup::-webkit-scrollbar-thumb{

    background:rgba(255,255,255,.15);

    border-radius:20px;

}


.floating-contact-overlay{

    position:fixed;
    inset:0;

    background:rgba(0,0,0,.18);

    backdrop-filter:blur(4px);

    opacity:0;
    visibility:hidden;

    transition:.3s ease;

    z-index:9990;

}

.floating-contact-overlay.active{

    opacity:1;
    visibility:visible;

}


.floating-contact-form textarea{

    resize:none;

    min-height:110px;
    max-height:110px;

}


/* =========================================
PREMIUM SELECT DROPDOWN
========================================= */

.floating-contact-form select{

    width:100%;

    border:none;
    outline:none;

    background-color:
    rgba(255,255,255,.06);

    color:#fff;

    padding:14px 16px;

    border-radius:16px;

    font-size:15px;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    cursor:pointer;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='white' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:
    right 16px center;

    background-size:16px;

}

/* OPTIONS */

.floating-contact-form select option{

    background:#11182f;

    color:#ffffff;

    padding:12px;

}

/* FOCUS */

.floating-contact-form select:focus{

    border:
    1px solid rgba(155,81,255,.5);

    box-shadow:
    0 0 0 4px rgba(155,81,255,.12);

}


/* =========================================
WHATSAPP PREMIUM ANIMATION
========================================= */

.floating-whatsapp{

    animation:
    whatsappFloat 3s ease-in-out infinite,
    whatsappPulse 2.5s infinite;

}

/* FLOAT */

@keyframes whatsappFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-6px);
    }

    100%{
        transform:translateY(0);
    }

}

/* PULSE */

@keyframes whatsappPulse{

    0%{

        box-shadow:
        0 0 0 0 rgba(37,211,102,.5);

    }

    70%{

        box-shadow:
        0 0 0 18px rgba(37,211,102,0);

    }

    100%{

        box-shadow:
        0 0 0 0 rgba(37,211,102,0);

    }

}


/* =========================================
QUICK ENQUIRY BUTTON ANIMATION
========================================= */

.floating-enquiry-btn{

    position:relative;
    overflow:hidden;

    animation:
    enquiryFloat 3.5s ease-in-out infinite,
    enquiryGlow 2.5s infinite;

}

/* FLOAT */

@keyframes enquiryFloat{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-6px);
    }

    100%{
        transform:translateY(0);
    }

}

/* GLOW */

@keyframes enquiryGlow{

    0%{

        box-shadow:
        0 0 0 0 rgba(155,81,255,.45);

    }

    70%{

        box-shadow:
        0 0 0 18px rgba(155,81,255,0);

    }

    100%{

        box-shadow:
        0 0 0 0 rgba(155,81,255,0);

    }

}

/* SHIMMER EFFECT */

.floating-enquiry-btn::before,
.floating-whatsapp::before{

    content:"";

    position:absolute;

    top:0;
    left:-120%;

    width:70%;
    height:100%;

    background:
    linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );

    transform:skewX(-25deg);

    animation:
    shimmerMove 4s infinite;

}

@keyframes shimmerMove{

    0%{
        left:-120%;
    }

    100%{
        left:160%;
    }

}


/* LIVE DOT */

.live-dot{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#00ff7f;

    display:inline-block;

    position:relative;

    box-shadow:
    0 0 10px rgba(0,255,127,.7);

    animation:
    livePulse 1.5s infinite;

}

/* PULSE */

@keyframes livePulse{

    0%{

        transform:scale(1);
        opacity:1;

    }

    50%{

        transform:scale(1.5);
        opacity:.4;

    }

    100%{

        transform:scale(1);
        opacity:1;

    }

}