/* Font Awesome */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css');

.contact-section{
    background:#f8f9fc;
    padding:100px 5%;
}

/* CENTER HEADING */

.section-heading{
    text-align:center;
    max-width:900px;
    margin:0 auto 70px;
}

.badge{
    display:inline-block;
    background:#fff0e6;
    color:#fc751f;
    padding:10px 22px;
    border-radius:30px;
    font-size:14px;
    font-weight:600;
    letter-spacing:1px;
    margin-bottom:20px;
}

.section-heading h2{
    font-size:58px;
    color:#101840;
    font-weight:700;
    margin:15px 0;
}

.section-heading p{
    font-size:22px;
    color:#6b7280;
    line-height:1.6;
}

/* MAIN AREA */

.contact-container{
    max-width:1400px;
    margin:auto;
    display:flex;
    gap:40px;
    align-items:flex-start;
}

/* FORM */

.form-box{
    flex:2;
    background:#fff;
    padding:40px;
    border-radius:25px;
    box-shadow:0 15px 35px rgba(252,117,31,0.10);
}

.form-row{
    display:flex;
    gap:20px;
    margin-bottom:20px;
}

.input-group{
    flex:1;
}

.input-group label{
    display:block;
    margin-bottom:10px;
    font-weight:600;
}

input,
select,
textarea{
    width:100%;
    padding:16px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
}

textarea{
    height:130px;
    resize:none;
    margin-bottom:20px;
}

button{
    width:100%;
    border:none;
    padding:18px;
    border-radius:50px;
    background:#fc751f;
    color:#fff;
    font-size:20px;
    font-weight:600;
    cursor:pointer;
}

/* CONTACT INFO */

.contact-info{
    flex:1;
}

.contact-info h3{
    font-size:42px;
    color:#101840;
    margin-bottom:35px;
}

.info-item{
    display:flex;
    gap:20px;
    margin-bottom:35px;
}

.icon-box{
    width:52px;
    height:52px;
    background:#fff0e6;
    border-radius:14px;
    display:flex;
    justify-content:center;
    align-items:center;
}

.icon-box i{
    color:#fc751f;
    font-size:22px;
}

.info-item h4{
    color:#101840;
    margin-bottom:8px;
}

.info-item p{
    color:#6b7280;
    line-height:1.7;
}

.info-item a{
    color:#fc751f;
    text-decoration:none;
    font-weight:600;
}

/* MOBILE */

@media(max-width:992px){

    .contact-container{
        flex-direction:column;
    }

    .form-row{
        flex-direction:column;
    }

    .section-heading h2{
        font-size:42px;
    }

    .section-heading p{
        font-size:18px;
    }
}








/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

/* Floating Button */

.chat-toggle{
    position:fixed;
    bottom:25px;
    right:25px;
    width:65px;
    height:65px;
    border-radius:50%;
    background:#FC751F;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:28px;
    cursor:pointer;
    box-shadow:0 12px 35px rgba(252,117,31,.35);
    z-index:9999;
    transition:.3s;
    animation:pulse 2s infinite;
}

.chat-toggle:hover{
    transform:scale(1.1);
}

@keyframes pulse{

0%{
box-shadow:0 0 0 0 rgba(252,117,31,.5);
}

70%{
box-shadow:0 0 0 18px rgba(252,117,31,0);
}

100%{
box-shadow:0 0 0 0 rgba(252,117,31,0);
}

}

/* Chat Window */

.chat-window{

    position:fixed;
    bottom:100px;
    right:25px;

    width:360px;
    height:560px;

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    display:none;

    flex-direction:column;

    box-shadow:0 18px 50px rgba(0,0,0,.18);

    z-index:9999;

    animation:popup .35s;

}

@keyframes popup{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* Header */

.chat-header{

    background:#FC751F;

    color:#fff;

    padding:18px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}


.bot-avatar{

width:45px;

height:45px;

background:#fff;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:22px;

color:#FC751F;

}

.chat-header h3{

font-size:14px;

}

.chat-header span{

font-size:12px;

opacity:.9;

}


.header-left{

display:flex;

align-items:center;

gap:12px;

}

#closeChat{

background:none;

border:none;

color:#fff;

font-size:22px;

cursor:pointer;

text-align:right;

}

/* Body */

.chat-body{

flex:1;

padding:20px;

overflow-y:auto;

background:#f7f8fc;

}

/* Scroll */

.chat-body::-webkit-scrollbar{

width:5px;

}

.chat-body::-webkit-scrollbar-thumb{

background:#FC751F;

border-radius:10px;

}

/* Messages */

.bot-message,

.user-message{

display:flex;

margin-bottom:15px;

}

.user-message{

justify-content:flex-end;

}

.msg{

max-width:80%;

padding:12px 15px;

border-radius:18px;

font-size:12px;

line-height:1.6;

}

.bot-message .msg{

background:#fff;

border-top-left-radius:5px;

box-shadow:0 5px 15px rgba(0,0,0,.08);

}

.user-message .msg{

background:#FC751F;

color:#fff;

border-top-right-radius:5px;

}

/* Typing */

.typing{

display:none;

padding:10px 20px;

}

.typing span{

display:inline-block;

width:8px;

height:8px;

background:#FC751F;

border-radius:50%;

margin:3px;

animation:typing 1s infinite;

}

.typing span:nth-child(2){

animation-delay:.2s;

}

.typing span:nth-child(3){

animation-delay:.4s;

}

@keyframes typing{

0%,100%{

transform:translateY(0);

}

50%{

transform:translateY(-6px);

}

}

/* Input */

.chat-input{

display:flex;

border-top:1px solid #eee;

background:#fff;

}

.chat-input input{

flex:1;

border:none;

padding:16px;

font-size:15px;

outline:none;

}

.chat-input button{

width:50px;
height:50px;

background:#FC751F;

border:none;

color:#fff;

font-size:12px;

cursor:pointer;

transition:.3s;

}

.chat-input button:hover{
background:#ff944d;

}

/* Mobile */

@media(max-width:500px){

.chat-window{

width:95%;

height:80vh;

right:2.5%;

bottom:90px;

}

.chat-toggle{

right:20px;

bottom:20px;

}

}