
/* ===== Base: mobile first (under 600px) ===== */
.shc-wrap{background:#e3f1fa;padding:16px 12px;box-sizing:border-box;width:100%}
.shc-title{font-size:clamp(1.125rem,4.5vw,1.5rem);line-height:1.3;color:#1b3a57;margin:0 0 6px;font-weight:700}
.shc-lead{font-size:clamp(.875rem,3.6vw,1rem);line-height:1.5;color:#456;margin:0 0 14px}

.shc-form{background:#fff;border-radius:14px;padding:16px;box-sizing:border-box;width:100%}
.shc-form h3{font-size:clamp(1rem,4.2vw,1.25rem);line-height:1.3;color:#1b3a57;margin:0 0 6px}
.shc-sub{font-size:.875rem;line-height:1.5;color:#456;margin:0 0 14px}
.shc-grid{display:grid;grid-template-columns:1fr;gap:12px}
.shc-form .wpcf7-form-control-wrap{display:block}

.shc-form input[type=text],
.shc-form input[type=tel]{
  width:100%;min-height:48px;padding:12px 14px;box-sizing:border-box;
  border:1px solid #d5dde5;border-radius:10px;background:#fff;color:#1b3a57;
  font-size:16px; /* prevents iOS zoom on focus */
  -webkit-appearance:none;appearance:none}
.shc-form input::placeholder{color:#7a8794;opacity:1}
.shc-form input:focus{outline:2px solid #e30613;outline-offset:1px;border-color:#e30613}

.shc-form input[type=submit]{
  display:block;width:100%;min-height:50px;margin-top:14px;padding:12px;
  background:#e30613;color:#fff;border:0;border-radius:8px;
  font-size:1rem;font-weight:700;letter-spacing:.2px;cursor:pointer;
  -webkit-appearance:none;appearance:none;touch-action:manipulation}
.shc-form input[type=submit]:hover,
.shc-form input[type=submit]:active{background:#c10510}

.shc-note{text-align:center;font-size:.75rem;color:#456;margin:10px 0 0}

/* CF7 messages and spinner */
.shc-form .wpcf7-not-valid-tip{font-size:.8125rem;margin-top:4px;color:#c10510}
.shc-form .wpcf7-response-output{margin:12px 0 0!important;padding:10px 12px!important;font-size:.875rem;border-radius:8px}
.shc-form .wpcf7-spinner{display:none}

/* ===== Small phones (under 360px) ===== */
@media (max-width:359px){
  .shc-wrap{padding:12px 8px}
  .shc-form{padding:12px}
}

/* ===== Tablet (600px and up) ===== */
@media (min-width:600px){
  .shc-wrap{padding:24px 20px}
  .shc-title,.shc-lead,.shc-form{max-width:640px;margin-left:auto;margin-right:auto}
  .shc-form{padding:24px}
  .shc-grid{grid-template-columns:1fr 1fr}
  .shc-full{grid-column:1/-1}
}

/* ===== Laptop (1024px and up) ===== */
@media (min-width:1024px){
  .shc-wrap{padding:36px 24px}
  .shc-title,.shc-lead,.shc-form{max-width:680px}
  .shc-form{padding:28px}
  .shc-form input[type=submit]{min-height:54px}
}

/* ===== Large desktop (1440px and up) ===== */
@media (min-width:1440px){
  .shc-title,.shc-lead,.shc-form{max-width:720px}
}

/* Respect users who prefer less motion (no animations used, but keeps it safe) */
@media (prefers-reduced-motion:reduce){
  .shc-form *{transition:none!important;animation:none!important}
}






/* ==========================================================================
   Appointment Form Styling - Shreya Hearing Clinic
   Matches the rounded, icon-prefixed input design
   ========================================================================== */

.appointment-form,
.appointment-form * {
  box-sizing: border-box;
}

.appointment-form {
  max-width: 1200px;
  margin: 0 auto;
  padding: 45px;
  background: #ececec;
  border-radius: 24px;
  margin-top: 35px;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

.appointment-form .wpcf7-form-control-wrap {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

.appointment-form h2,
.appointment-form .form-title {
  font-size: 38px;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.appointment-form .columns_wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.appointment-form .column-1_1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.appointment-form .column-1_2 {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
}

@media (max-width: 768px) {
  .appointment-form .column-1_2 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Input wrapper with icon */
.appointment-form .style-line {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-top-left-radius: 38px;
  border-bottom-left-radius: 38px;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.appointment-form .style-line > * {
  min-width: 0;
}

.appointment-form .style-line:focus-within {
  border-color: #2f6fed;
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.12);
}

/* Icon box on the left - rounded on its own now, since the parent
   no longer clips via overflow:hidden (that was hiding the
   validation error message) */
.appointment-form .style-line::before {
  content: "";
  flex: 0 0 64px;
  width: 64px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f6fb;
  border-right: 1px solid #e3e8ef;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  border-radius: 38px 0 0 38px;
}

.wpcf7 .select_container, .wpcf7 textarea, .wpcf7 input:not([type="submit"]):not([type="radio"]):not([type="checkbox"]) {
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
	margin-bottom:0px !important;
}

.appointment-form .icon-name::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6fed'><path d='M12 12c2.7 0 5-2.3 5-5s-2.3-5-5-5-5 2.3-5 5 2.3 5 5 5zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5z'/></svg>");
}

.appointment-form .icon-phone::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6fed'><path d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.3 21 3 13.7 3 4.9c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1l-2.3 2.2z'/></svg>");
}

.appointment-form .icon-email::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6fed'><path d='M2 6c0-.6.4-1 1-1h18c.6 0 1 .4 1 1v12c0 .6-.4 1-1 1H3c-.6 0-1-.4-1-1V6zm2.4.5L12 12l7.6-5.5H4.4z'/></svg>");
}

.appointment-form .icon-location::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6fed'><path d='M12 2c-4.4 0-8 3.6-8 8 0 5.4 7 11.5 7.3 11.7.4.4 1 .4 1.4 0C12.9 21.5 20 15.4 20 10c0-4.4-3.6-8-8-8zm0 11c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z'/></svg>");
}

.appointment-form .icon-user::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6fed'><path d='M12 12c2.7 0 5-2.3 5-5s-2.3-5-5-5-5 2.3-5 5 2.3 5 5 5zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5z'/></svg>");
}

.appointment-form .icon-calendar::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6fed'><path d='M7 2a1 1 0 0 1 1 1v1h8V3a1 1 0 1 1 2 0v1h1a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1V3a1 1 0 0 1 1-1zM4 9v11h16V9H4z'/></svg>");
}

.appointment-form .icon-clock::before {
  border-radius: 50% 0 0 50%;
  background-color: #2f6fed;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm1 10.6l4 2.3-.7 1.3-4.8-2.8V6h1.5v6.6z'/></svg>");
}

.appointment-form .icon-subject::before {
  align-self: flex-start;
  height: 64px;
  border-radius: 38px 0 0 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232f6fed'><path d='M21 6.5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h3l3 3 3-3h5a2 2 0 0 0 2-2v-9z'/></svg>");
}

/* Input fields */
.appointment-form input[type="text"],
.appointment-form input[type="tel"],
.appointment-form input[type="email"],
.appointment-form input[type="number"],
.appointment-form input[type="date"],
.appointment-form select,
.appointment-form textarea {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 64px;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 50px 0 24px;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  color: #1a1a2e;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-top-right-radius: 14px;
  border-bottom-right-radius: 14px;
}

.appointment-form textarea {
  height: auto;
  min-height: 110px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
  color: #8a93a6;
}

.appointment-form select {
  cursor: pointer;
  color: #8a93a6;
}

.appointment-form select:valid {
  color: #1a1a2e;
}

/* Custom dropdown arrow for selects */
.appointment-form .style-line:has(select) {
  position: relative;
}

.appointment-form .style-line:has(select)::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 32px;
  width: 10px;
  height: 10px;
  border-right: 2px solid #5a647a;
  border-bottom: 2px solid #5a647a;
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

/* Number input - hide default spinners, keep custom look */
.appointment-form input[type="number"] {
  -moz-appearance: textfield;
}

.appointment-form textarea {
  resize: vertical;
}

/* Date input icon (native calendar picker) */
.appointment-form input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.7;
}

/* Note text under the form */
.appointment-form .appointment-note {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  padding: 0 4px;
}

/* Submit button */
.appointment-form input[type="submit"],
.appointment-form .wpcf7-submit {
  display: inline-block;
  margin-top: 10px;
  padding: 16px 40px;
  background: #2f6fed;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.appointment-form input[type="submit"]:hover,
.appointment-form .wpcf7-submit:hover {
  background: #2459c9;
  transform: translateY(-1px);
}

/* WPCF7 validation tweaks - this is what actually renders the
   "This field is required." message shown in your screenshot */
.appointment-form .wpcf7-not-valid-tip {
  display: block;
  font-size: 13px;
  margin-top: 6px;
  padding-left: 4px;
  color: #e1463f;
}

.appointment-form .wpcf7-not-valid {
  border-color: #e1463f !important;
}

.appointment-form .wpcf7-response-output {
  margin: 16px 2px 0 !important;
  border-radius: 12px;
  font-size: 14px;
}

/* ==========================================================================
   Mobile responsive
   ========================================================================== */
@media (max-width: 600px) {
  .appointment-form {
    padding: 12px;
  }

  .appointment-form h2,
  .appointment-form .form-title {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .appointment-form .columns_wrap {
    gap: 10px;
  }

  /* Age/Gender and Date/Time pairs stack into single full-width rows */
  .appointment-form .column-1_2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .appointment-form .style-line {
    border-top-left-radius: 38px;
    border-bottom-left-radius: 38px;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
  }

  /* Smaller icon box so it doesn't eat too much width on small screens */
  .appointment-form .style-line::before {
    flex: 0 0 48px;
    width: 48px;
    background-size: 18px 18px;
    border-radius: 38px 0 0 38px;
  }

  .appointment-form .icon-subject::before {
    height: 48px;
  }

  .appointment-form input[type="text"],
  .appointment-form input[type="tel"],
  .appointment-form input[type="email"],
  .appointment-form input[type="number"],
  .appointment-form input[type="date"],
  .appointment-form select,
  .appointment-form textarea {
    height: 52px;
    padding: 0 38px 0 14px;
    font-size: 14px;
  }

  .appointment-form textarea {
    height: auto;
    min-height: 90px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .appointment-form .style-line:has(select)::after {
    right: 16px;
    width: 8px;
    height: 8px;
  }

  /* Date field's native picker icon needs a touch more room on small screens */
  .appointment-form input[type="date"] {
    padding-right: 30px;
  }

  .appointment-form .appointment-note {
    font-size: 13px;
  }

  .appointment-form input[type="submit"],
  .appointment-form .wpcf7-submit {
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  /* Very small phones: drop the icon box entirely rather than crush it */
  .appointment-form .style-line::before {
    flex: 0 0 40px;
    width: 40px;
    background-size: 16px 16px;
  }

  .appointment-form input[type="text"],
  .appointment-form input[type="tel"],
  .appointment-form input[type="email"],
  .appointment-form input[type="number"],
  .appointment-form input[type="date"],
  .appointment-form select {
    font-size: 13px;
    padding-left: 10px;
  }
}

.adp-popup-content .sc_emailer_input {
    display: none !important;
}

/* Parent widget */
.elementor-element-7edadcc{
    position: relative;
}
/* ==========================================================================
   Required field note — added below each mandatory field
   ========================================================================== */
.appointment-form .field-required-note {
  display: block;
  font-size: 12px;
  color: #8a93a6;
  margin-top: 6px;
  margin-bottom: 8px;
  padding-left: 4px;
}

@media (max-width: 600px) {
  .appointment-form .field-required-note {
    font-size: 11px;
    margin-top: 4px;
    margin-bottom: 6px;
  }
}



.appointment-form .select_container::after,
.appointment-form .select_container::before,
.appointment-form .select_container {
  background-image: none !important;
  content: none !important;
}

/* ==========================================================================
   Appointment Page CSS end here
========================================================================== */





.adp-popup-content .sc_emailer_input {
    display: none !important;
}

/* Parent widget */
.elementor-element-7edadcc{
    position: relative;
}

/* Cover the top 45px of the map */
.elementor-element-7edadcc::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    background: #fff; /* Match your page background */
    z-index: 999999;
    pointer-events: none;
}




@media (max-width: 767px) {
    .elementor-element-7edadcc > .elementor-widget-container {
        margin-top: -87px; /* Change this value as needed */
    }
}

/* Mobile only */
@media (max-width: 767px) {
    .elementor-element-01900c2,
    .elementor-element-01900c2 .elementor-widget-container {
        height: 300px !important;
    }

    .elementor-element-01900c2 iframe {
        height: 100% !important;
    }

/*Like button, Previous/Next post navigation, Author box*/

.post_footer.post_footer_single.entry-footer {
    display: none !important;
}

@media (max-width: 767px) {
    .post_footer.post_footer_single.entry-footer {
        display: none !important;
    }
}
	
	
.sc_services_item_content{
	display:none !important;
}
	
	
	
.error404 .post_item_404 .all-svg {
    display: none !important;
}
	
	
.error404 .post_item_404 .all-svg,
.error404 .post_item_404 .all-svg .svg-center,
.error404 .post_item_404 .all-svg .svg-center svg {
    display: none !important;
}

	
.all-svg .svg-center {
    display: none !important;
}
	
	
	
	
/* ======================================================
   LANDING PAGE HEADER - ALL DEVICES
====================================================== */

/* ---------- Common ---------- */

.elementor-element-d35de51 .elementor-container,
.elementor-element-bcee0ef .elementor-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.elementor-element-e83e8df .elementor-heading-title{
    margin:0;
}

.elementor-element-9054025 .sc_button,
.elementor-element-e7ece7f .sc_button{
    white-space:nowrap;
}


/* ======================================================
   DESKTOP (1200px+)
====================================================== */

.elementor-element-0d4d830{
    width:70% !important;
}

.elementor-element-cee9274{
    width:30% !important;
    display:flex;
    justify-content:flex-end;
}

.elementor-element-1c2722e{
    width:50% !important;
}

.elementor-element-9e94013{
    width:50% !important;
    display:flex;
    justify-content:flex-end;
}

.elementor-element-f869c52 img{
    max-width:220px;
    height:auto;
}


/* ======================================================
   LAPTOP (992px–1199px)
====================================================== */

@media (max-width:1199px){

.elementor-element-0d4d830{
    width:68% !important;
}

.elementor-element-cee9274{
    width:32% !important;
}

.elementor-element-f869c52 img{
    max-width:190px;
}

.elementor-element-e83e8df .elementor-heading-title{
    font-size:15px;
}

}


/* ======================================================
   TABLET (768px–991px)
====================================================== */

@media (max-width:991px){

.elementor-element-0d4d830{
    width:65% !important;
}

.elementor-element-cee9274{
    width:35% !important;
}

.elementor-element-1c2722e{
    width:45% !important;
}

.elementor-element-9e94013{
    width:55% !important;
}

.elementor-element-f869c52 img{
    max-width:160px;
}

.elementor-element-e83e8df .elementor-heading-title{
    font-size:14px;
}

}


/* ======================================================
   MOBILE (767px and below)
====================================================== */

@media (max-width:767px){

/* First Row */

.elementor-element-0d4d830{
    width:58% !important;
}

.elementor-element-cee9274{
    width:42% !important;
    display:flex;
    justify-content:flex-end;
}

.elementor-element-e83e8df .elementor-heading-title{
    font-size:13px;
    line-height:1.35;
}

.elementor-element-9054025 .sc_button{
    padding:8px 14px;
    font-size:14px;
}


/* Second Row */

.elementor-element-1c2722e{
    width:45% !important;
}

.elementor-element-9e94013{
    width:55% !important;
    display:flex;
    justify-content:flex-end;
}

.elementor-element-f869c52 img{
    max-width:120px;
}

.elementor-element-e7ece7f .sc_button{
    width:auto;
    min-width:170px;
    padding:12px 18px;
    white-space:nowrap;
}

}

/* ======================================================
   Landing Page Header CSS Ends here
====================================================== */
	
	
	

	