/*
 Theme Name: Divi Child
 Theme URI: https://astravo.org/
 Description: Child theme for Divi
 Author: Astravo Online Academy
 Template: Divi
 Version: 1.0.0
*/

#dvFastForms .ff-label::before {display:none !important;}

/* Logo row */

.logo_container { display: flex;align-items: center;justify-content: flex-start;}
#lead-form-desktop {min-height:666px}

@media (max-width: 980px) {
	.logo_container {justify-content: center !important;}
    .logorow {padding:10px 0 0 0 !important;}
    .logocol {margin-bottom:10px;}
    #lead-form-desktop {min-height:671px}
}

/* optimize form size for mobile */
@media (max-width: 767px) {
	   .hero__lead-form { min-height: 625px;}
       #lead-form-desktop {min-height:652px}
}

/* Floating Call Button */
.help-phone-button { display: block; padding: 10px 20px; border-radius: 20px; background: #990000; color: #fff; font-family: "Mulish", Helvetica, Arial, sans-serif; text-align: center; text-decoration: none; box-shadow: 0 12px 18px -6px rgba(0,0,0,.3); transform: translate3d(0,0,0); will-change: transform; transition: transform .3s ease, background-color .3s ease, color .3s ease, box-shadow .3s ease; }

.help-phone-title { display: block; font-size: 24px; line-height: 1.1; font-weight: 700; margin-bottom: 2px; }
.help-phone-row { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 24px; line-height: 1.1; font-weight: 700; }
.help-phone-row svg { width: 20px; height: 20px; flex-shrink: 0; }
.help-phone-button:hover { background: #fff; transform: translate3d(0, 2px, 0); box-shadow: 0 6px 9px -3px rgba(0,0,0,.6); }
.help-phone-button:hover .help-phone-title { color: #54575a; }
.help-phone-button:hover .help-phone-row { color: #990000; }
.help-phone-button:hover .help-phone-row svg { color: #f7d118; }

@media (min-width: 981px) {
    .help-phone-button { position: fixed; right: 2.5%; bottom: 25px; z-index: 99999; }
}

@media (max-width: 980px) {
    .help-phone-button { position: fixed; right: 20px; bottom: 20px; z-index: 99999; padding: 8px 14px; }
    .help-phone-title {display:none;}
    .help-phone-row { font-size: 18px; }
    .help-phone-row svg { width: 16px; height: 16px; }
} 




/* ==========================================================================
   Contact Form 7 - Optimized Native Icons (No Fonts/Scripts)
   ========================================================================== */

/* Base style for the icon line (appears above the message text) */
.wpcf7-form .wpcf7-response-output::before {
  display: block;
  font-family: inherit;          /* REMOVED Font Awesome 6 references */
  font-weight: bold;
  font-size: 1.5rem;             /* Optimized size for system fallback scaling */
  line-height: 1;
  margin-bottom: 0.5rem;         /* space between icon and text */
  text-align: center;            /* center the icon to match your message */
}

/* Validation errors (orange/yellow warning) */
.wpcf7-form .wpcf7-validation-errors::before {
  content: "\26A0";              /* Native warning triangle replaces f071 */
  color: #990000;
  margin-right: 0.5em;
}

/* Success (green) */
.wpcf7-form .wpcf7-mail-sent-ok::before {
  content: "\2714";              /* Native checkmark replaces f058 */
  color: #1a7f37;
  margin-right: 0.5em;
}

/* Mail send failed (red) */
.wpcf7-form .wpcf7-mail-sent-ng::before {
  content: "\2716";              /* Native cross symbol replaces f057 */
  color: #990000;
  margin-right: 0.5em;
}

/* Spam blocked (red) */
.wpcf7-form .wpcf7-spam-blocked::before {
  content: "\1F6AB";             /* Native ban sign replaces f05e */
  color: #990000;
  margin-right: 0.5em;
}

/* Info/aborted */
.wpcf7-form .wpcf7-aborted::before {
  content: "\2139";              /* Native info block replaces f05a */
  color: #990000;
  margin-right: 0.5em;
}

/* ==========================================================================
   Fast Forms - Label Icon
   ========================================================================== */

/* Arrow Symbol (Right Triangle) */
#dvFastForms .ff-label::before {
  content: "\25B6";              /* Properly escaped system triangle */
  font-family: inherit;
  font-weight: bold;
  color: #990000 !important;
  margin-right: 0.5em;
}