/*
Theme Name: leos
Author: Mohamed Shalata
Version: 4.1
Text Domain: leos
*/

section.the_content p {
	margin-top: 10px;
}
.embed-container iframe {
	width: 100%;
	height: 40vh;
}
iframe {
  max-width: 100%;
}
a.tel-link {
    unicode-bidi: plaintext;
}

@media screen and (width < 768px) {
 .grecaptcha-badge {
   opacity: 0;
   pointer-events: none;
  }
  .stickySite{
    display: none;
  }
}


.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.submitting .wpcf7-response-output {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-10px) !important;
    margin: 20px 0 !important;
    border: 1px solid !important;
    padding: 15px !important;
    width: 100% !important;
    z-index: auto !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.wpcf7-form.sent .wpcf7-response-output {
    background: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideInSuccess 0.5s ease-out !important;
}

.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: slideInError 0.5s ease-out !important;
}

.wpcf7-form.submitting .wpcf7-response-output {
    background: #cce7ff;
    color: #004085;
    border: 1px solid #b3d7ff;
    opacity: 1;
    transform: translateY(0);
    animation: pulseSubmitting 1.5s infinite;
}

@keyframes slideInSuccess {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    50% {
        transform: translateY(5px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInError {
    0% {
        opacity: 0;
        transform: translateY(-20px);
        background-color: #fff5f5;
    }
    60% {
        transform: translateY(3px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseSubmitting {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.02);
    }
}

.wpcf7-form.sent .wpcf7-response-output::before {
    content: "✓";
    margin-inline-end: 10px;
    font-weight: bold;
}

.wpcf7-form.failed .wpcf7-response-output::before,
.wpcf7-form.invalid .wpcf7-response-output::before {
    content: "!";
   	margin-inline-end: 10px;
    font-weight: bold;
}

.wpcf7-not-valid-tip {
    animation: shake 0.5s ease-in-out;
    color: #dc3545;
    font-size: 0.875em;
    margin-top: 5px;
    display: block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.wpcf7-form {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpcf7-form[dir="rtl"] .wpcf7-response-output::before {
    margin-right: 0;
    margin-left: 10px;
}

.wpcf7-form[dir="rtl"] .wpcf7-not-valid-tip {
    text-align: right;
}

.wpcf7-form[dir="rtl"] .wpcf7-not-valid-tip {
    animation-name: shake-rtl;
}

@keyframes shake-rtl {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}

#leos img {
    filter: invert(0);
}

.formSticky {
  background-color: rgb(208 208 209 / 80%);
  z-index: 1001;
}
.formSticky .wpcf7-list-item-label {
  color: #07203f;
}
  
.topheadertel {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 20px;
  	transition: all 0.3s ease;
}

header.sticky.fixed .topheadertel{
  color: #07203F;
}
header.sticky.fixed .topheadertel :is(svg, svg *) {
  fill:  #07203F;
}

.topheadertel:hover {
  	color: #DDC18E !important;
}
@media screen and (width < 1024px) {
  .topheadertel {
    display: none;
  }
}

.middle-form {
    min-height: unset !important;
    padding: 40px;
    margin-top: 0;
}
@media screen and (width < 768px) {
  .middle-form img{
    display: none;
  }
}