/*!
Theme Name: ACME_child
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Template: acme
Description: ACME child
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: acme_child

*/
.post, .page {
    margin: 0 0 !important;
}
.ekit-template-content-header {
    position: sticky;
    top: 0;
    z-index: 55;
}

/* hero form  */
.form-color form .wpcf7-response-output {
    margin: -12px 0 17px 0 !important;
    font-size: 14px;
    line-height: 24px;
    color: #000;
}
.form-color form .wpcf7-not-valid-tip {
    color: #ffffff !important;
    font-size: 13px;
    margin: -10px 0  10px;
}
/* hero form  */
/* Schedule_form */
.Schedule_form .Schedule_block p {
    margin: 0;
}
.Schedule_form {
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
}
/* Schedule_form */

/* Media query */
@media (max-width: 1024px){
	.ekit-template-content-header {
    position: inherit;
}
}
@media (max-width: 580px){
.Schedule_form {
    grid-template-columns: 1fr;
}	
}

/* Modal overlay */
#pum-1116 {
  background: rgba(0,0,0,0.6);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal container */
#popmake-1116 {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  padding: 32px 24px;
  max-width: 850px !important;
  width: 90%;
  position: relative;
  animation: modalFadeIn 0.3s;
  top: unset !important;
  left: unset !important;
  right: unset !important;
  bottom: unset !important;
  margin: 0 !important;
  transform: none !important;
}

/* Close button */
.pum-close{
    position: absolute;
    height: 33px;
    width: 33px;
    left: auto;
    right: -10px;
    bottom: auto;
    top: -10px;
    padding: 0px;
    color: #ffffff;
    font-family: Georgia;
    font-weight: 700;
    font-size: 14px;
    line-height: 32px;
    border: 1px none #ffffff;
    border-radius: 28px;
    box-shadow: 1px 1px 3px 0px rgba(2, 2, 2, 0.23);
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.23);
    background-color: rgba(212, 175, 55, 1.00);
}
.pum-close:hover {
  color: #e74c3c;
}

@keyframes modalFadeIn {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive: ensure modal is always centered and fits on small screens */
@media (max-width: 600px) {
  #popmake-1116 {
    max-width: 98vw;
    padding: 16px 4px;
  }
  .pum-close.popmake-close {
    top: 6px;
    right: 6px;
    font-size: 1.5rem;
  }
}

#popmake-1116 img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 16px auto;
}

.bdt-arrows-container svg {
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.7));
}

#whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.3s cubic-bezier(.68,-0.55,.27,1.55), box-shadow 0.3s;
  animation: whatsapp-pop 1s cubic-bezier(.68,-0.55,.27,1.55);
}
#whatsapp-float svg {
  padding: 8px;
  width: 64px;
  height: 64px;
  display: block;
}
@keyframes whatsapp-pop {
  0% { transform: scale(0.2) rotate(-30deg); opacity: 0; }
  60% { transform: scale(1.1) rotate(8deg); opacity: 1; }
  80% { transform: scale(0.95) rotate(-4deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

#whatsapp-float i.fab {
  font-family: 'Font Awesome 5 Brands', 'Font Awesome 6 Brands', 'FontAwesome', sans-serif !important;
  font-style: normal !important;
  font-weight: 400 !important;
  font-size: 2.5rem !important;
  display: inline-block !important;
  line-height: 1 !important;
}

/* Custom callback form styles to match previous look */
.form-color form,
.Schedule_form form,
form {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 24px 20px;
  max-width: 420px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-color form input[type="text"],
.form-color form input[type="email"],
.form-color form input[type="tel"],
.form-color form select,
.Schedule_form input[type="text"],
.Schedule_form input[type="email"],
.Schedule_form input[type="tel"],
.Schedule_form select,
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 10px;
  background: #fafbfc;
  transition: border-color 0.2s;
}
.form-color form input[type="text"]:focus,
.form-color form input[type="email"]:focus,
.form-color form input[type="tel"]:focus,
.form-color form select:focus,
.Schedule_form input[type="text"]:focus,
.Schedule_form input[type="email"]:focus,
.Schedule_form input[type="tel"]:focus,
.Schedule_form select:focus,
form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form select:focus {
  border-color: #00a0d2;
  outline: none;
}
.form-color form button[type="submit"],
.Schedule_form button[type="submit"],
form button[type="submit"],
.form-color form input[type="submit"],
.Schedule_form input[type="submit"],
form input[type="submit"] {
  background: #00a0d2;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 8px;
  width: 100%;
  box-sizing: border-box;
}
.form-color form button[type="submit"]:hover,
.Schedule_form button[type="submit"]:hover,
form button[type="submit"]:hover,
.form-color form input[type="submit"]:hover,
.Schedule_form input[type="submit"]:hover,
form input[type="submit"]:hover {
  background: #007ba7;
}
@media (max-width: 600px) {
  .form-color form,
  .Schedule_form form,
  form {
    padding: 14px 6px;
    max-width: 98vw;
  }
}

/* Inline schedule form: all fields in one row */
.schedule-inline-form {
  flex-direction: row !important;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 10px;
  max-width: 100%;
}
.schedule-inline-form input,
.schedule-inline-form select {
  margin-bottom: 0;
  min-width: 140px;
  flex: 1 1 140px;
}
.schedule-inline-form button[type="submit"] {
  min-width: 120px;
  flex: 0 0 120px;
  margin-top: 0;
}
@media (max-width: 800px) {
  .schedule-inline-form {
    flex-direction: column !important;
    align-items: stretch;
    gap: 10px;
  }
  .schedule-inline-form input,
  .schedule-inline-form select,
  .schedule-inline-form button[type="submit"] {
    min-width: 0;
    width: 100%;
    flex: 1 1 100%;
  }
}

/* Ensure all forms have full-width, stacked inputs and button */
form,
.Schedule_form,
#callback-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
form p,
.Schedule_form p,
#callback-form p {
  margin: 0;
  padding: 0;
}
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
.Schedule_form input[type="text"],
.Schedule_form input[type="email"],
.Schedule_form input[type="tel"],
.Schedule_form select,
#callback-form input[type="text"],
#callback-form input[type="email"],
#callback-form input[type="tel"],
#callback-form select {
  width: 100%;
  box-sizing: border-box;
  display: block;
}
form button[type="submit"],
form input[type="submit"],
.Schedule_form button[type="submit"],
.Schedule_form input[type="submit"],
#callback-form button[type="submit"],
#callback-form input[type="submit"] {
  width: 100%;
  box-sizing: border-box;
  display: block;
}

