/* 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;

}

}
/* ============================================================
   ENQUIRY FORM ENHANCEMENTS (validation, status, WhatsApp CTA)
   Appended — does not modify existing rules above.
   ============================================================ */

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: #fc751f;
  box-shadow: 0 0 0 3px rgba(252, 117, 31, 0.15);
}

.input-group.has-error input,
.input-group.has-error select,
.input-group.has-error textarea {
  border-color: #e11d48;
  background: #fff5f7;
}

.field-error {
  display: block;
  min-height: 18px;
  margin-top: 6px;
  color: #e11d48;
  font-size: 13px;
  font-weight: 500;
}

/* Submit button — loading state */
#submitBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
#submitBtn:hover:not(:disabled) { transform: translateY(-1px); }
#submitBtn:disabled { opacity: 0.7; cursor: not-allowed; }

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
#submitBtn.is-loading .btn-spinner { display: inline-block; }
#submitBtn.is-loading .btn-label { opacity: 0.85; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Status message */
.form-status {
  margin-top: 18px;
  padding: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.form-status:empty { display: none; }
.form-status.is-success {
  padding: 14px 18px;
  background: #e8faf1;
  color: #0f7a3d;
  border: 1px solid #b7ebcc;
}
.form-status.is-error {
  padding: 14px 18px;
  background: #fdecef;
  color: #b91c3c;
  border: 1px solid #f5c2cd;
}

/* WhatsApp CTA */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  padding: 16px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.whatsapp-btn:hover {
  background: #1ebe57;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}
.whatsapp-btn i { font-size: 22px; }

/* Responsive tweaks — stack rows on small screens */
@media (max-width: 768px) {
  .contact-container { flex-direction: column; gap: 28px; }
  .form-row { flex-direction: column; gap: 14px; }
  .form-box { padding: 26px; border-radius: 20px; }
  .section-heading h2 { font-size: 36px; }
  .section-heading p { font-size: 17px; }
}
@media (max-width: 480px) {
  .contact-section { padding: 60px 4%; }
  .form-box { padding: 20px; }
  .section-heading h2 { font-size: 30px; }
  #submitBtn { font-size: 17px; padding: 15px; }
}
