/* =====================================
   REVOLUTION SLIDER – MOBILE FIX (FINAL)
===================================== */
@media (max-width: 768px) {

  /* Slider must behave like a normal section */
  

  /* Disable absolute positioning madness */
  .rev_slider .tp-caption {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    margin: 0 auto 20px !important;
    width: 100% !important;
    max-width: 92% !important;
    text-align: left !important;
  }

  

  /* Headline */
  .rev_slider h1 {
    font-size: 26px !important;
    line-height: 1.25 !important;
    margin-bottom: 15px !important;
  }

  /* Description text */
  .rev_slider .text {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  /* Awards / badges grid */
  .rev_slider .row {
    margin-top: 20px !important;
  }

  .rev_slider .icon-box.images img {
    max-width: 100%;
    height: auto;
  }

  /* Contact form container */
  .apbc-contact-form-wrap {
    margin-top: 25px !important;
    padding: 20px !important;
    background: rgba(0,0,0,0.7) !important;
  }

  /* Form fields */
  .apbc-contact-form input,
  .apbc-contact-form textarea {
    font-size: 14px;
  }

  
}
@media (max-width: 768px) {
  .apbc-contact-form-wrap {
    border-radius: 8px;
  }
}
		@media (max-width: 768px) {
  .rev_slider .icon-box.images {
    text-align: center;
  }
}

/* Hero Contact Form */
.apbc-contact-form-wrap {
    background: rgba(0, 0, 0, 0.65);
    padding: 35px 30px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

.apbc-contact-form label {
    color: #ffffff;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

.apbc-contact-form .form-group {
    margin-bottom: 18px;
}

.apbc-contact-form input,
.apbc-contact-form textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
}

.apbc-contact-form input::placeholder,
.apbc-contact-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.apbc-contact-form input:focus,
.apbc-contact-form textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.apbc-form-btn {
    display: inline-block;
    width: auto;
    background: #d62828; /* red theme */
    color: #ffffff;
    border: none;
    padding: 8px 22px;   /* smaller button */
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apbc-form-btn:hover {
    background: #b81f1f;
}
@media (max-width: 768px) {
    .apbc-contact-form-wrap {
        margin-top: 25px;
    }
}
@media (max-width: 768px) {
    .tp-caption {
        transform: none !important;
    }
}
		/* =========================
   REV SLIDER – MOBILE FIX
========================= */
@media (max-width: 768px) {

  /* Fix slider height */
  

  /* Stack layers normally */
  .rev_slider .tp-caption {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 auto 20px !important;
    width: 100% !important;
    max-width: 92% !important;
    text-align: left;
  }

  

  /* Text spacing */
  .rev_slider h1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }

  .rev_slider .text {
    font-size: 15px !important;
  }

  /* Form container */
  .apbc-contact-form-wrap {
    margin-top: 25px;
    padding: 20px !important;
  }

  /* Button full width */
  .apbc-contact-form button {
    background:#e11d2e; border:none; padding:10px 22px; color:#fff; border-radius:6px; font-size:14px;
  }
}

.call-button {
    position: fixed;
    bottom: 45%;
    left: 18px; /* Change to right: 20px if needed */
    background-color: rgb(142, 214, 255); /* Light Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9999;
    visibility: visible !important;
    opacity: 1 !important;
    
}

/* Ensure the image fits inside the button */
.call-button img {
    width: 35px;  /* Reduce size if overlapping */
    height: 35px;
}

/* Hide Bootstrap icon if it's causing overlap */
.call-button .bi.bi-telephone {
    display: none !important;
}

.whatsapp-button {
    position: fixed;
    bottom: 2%;
    left: 18px; /* Change to right: 20px if needed */
    background-color: #2ab540; /* Light Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 9999;
    visibility: visible !important;
    opacity: 1 !important;
    
}

/* Ensure the image fits inside the button */
.whatsapp-button img {
    width: 55px;  /* Reduce size if overlapping */
	height: auto;
}

/* Hide Bootstrap icon if it's causing overlap */
.whatsapp-button .bi.bi-telephone {
    display: none !important;
}

/* HIDE REV SLIDER FORM ON MOBILE */
@media (max-width: 768px) {
  #rev_slider_one .apbc-contact-form-wrap {
    display: none !important;
  }
}
/* MOBILE FORM SECTION */
.mobile-contact-form {
  display: none;
}

@media (max-width: 768px) {
  .mobile-contact-form {
    display: block;
    padding: 30px 0;
    background: #081a30;
  }
}

		@media (max-width: 768px) {

  .consult-main-slider,
  .rev_slider_wrapper,
  .rev_slider {
    min-height: 100vh !important;
    height: auto !important;
    overflow: visible !important;
  }

}
@media (max-width: 768px) {

  .rev_slider .tp-caption {
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 auto 24px !important;
    width: 100% !important;
    max-width: 92% !important;
    z-index: 5;
  }

}
@media (max-width: 768px) {
  #rev_slider_one .apbc-contact-form-wrap {
    display: none !important;
  }
}
@media (max-width: 768px) {

  .mobile-contact-form {
    position: relative;
    z-index: 20;
    background: #081a30;
    padding: 32px 0;
  }

  .mobile-contact-form .apbc-contact-form-wrap {
    background: rgba(0,0,0,0.75);
  }

}
@media (max-width: 768px) {
  .call-button,
  .whatsapp-button {
    z-index: 999 !important;
  }
}
		
		
		
		@media (max-width: 768px) {

  #rev_slider_one .tp-parallax-wrap {
    
    top: 50px !important;
    
  }

}

.apbc-contact-form button {
    background:#e11d2e; border:none; padding:10px 22px; color:#fff; border-radius:6px; font-size:14px;
  }