/*
Theme Name: aphexpert
Theme URI:
Author: the BetterWebsite team
Author URI: https://better-website.com/
*/

*{
    box-sizing: border-box;
}
body{
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    color: #272727;
}
body.ovh {
    overflow: hidden;
}
body, li, ol, p, ul, h1, h2,h3,h4,h5 {
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
    border-radius: 10px;
}
.icon{
    border-radius: 10px;
}
:root {
    font-size: .625em
}
@media (max-width: 1440px) {
    :root {
        font-size: .5em;
    }
}
.container{
    max-width: 1920px;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px;
}

a{
    text-decoration: none;
    transition: color .15s, background-color .15s;
}
.btn{
    color: #F7F7F7;
    font-size: 24px;
    padding: 24px;
    border-radius: 10px;
    font-weight: 700;
    background: #344EAD;
    text-wrap: nowrap;
    display: inline-block;
    text-align: center;
    width: 340px;
    cursor: pointer;
}
.btn-primary, .swal2-styled.btn-primary {
    color: #F7F7F7;
    background: #344EAD;
}

.swal2-styled.swal2-confirm {
    font-weight: 700;
    border-radius: 10px;
}

.swal2-styled.swal2-confirm:focus {
    box-shadow: none;
}

.swal2-container.swal2-center>.swal2-popup {
    font-size: 15px;
}

.main-menu{
    margin-left: auto;
    margin-right: 5%;
}

.header {
    position: absolute;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: 28px;
    z-index: 1;
    transition: background .3s;
    padding: 0 60px;
}
.header-menu{
    /*
    padding: 20px 25px;
    */
}
.header .container{
    background-color: #EDF0F5;
    padding: 18px 25px;
    border-radius: 10px;
}

.header--container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.main-menu .top-menu{
    padding: 0;
    display: flex;
    gap: 48px;
}
li {
    list-style-type: none;
}
.main-menu a{
    display: inline-block;
    color: #272727;
    font-size: 24px;
}
.phone{
    display: flex;
    gap: 25px;
    align-items: center;
}
.phone .icon{
    background: #344EAD;
    width: 6.4rem;
    height: 6.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.phone .icon svg{
    width: 3.2rem;
    height: 3.2rem;
}
.phone .text{
    color: #344EAD;
    font-size: 28px;
    font-weight: 500;
    line-height: 33.89px;
}
.header-mobile__controls{
    display: none;
}
.first-screen{
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #FFFFFF;
}
.first-screen .container{
    height: 100%;
    position: relative;
}
.first-screen__text{
    position: absolute;
    top: 28vh;
    left: 50%;
    transform: translateX(-50%);
    color: #F6F7F7;
}
.first-screen__title{
    text-align: center;
    text-wrap: nowrap;
    font-size: 56px;
    font-weight: 900;
    line-height: 96px;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
}
.first-screen__description{
    font-size: 36px;
    font-weight: 400;
    line-height: 43.57px;
    letter-spacing: -0.04em;
    text-align: center;
}
.first-screen__btn{
    position: absolute;
    top: 76vh;
    left: 50%;
    transform: translateX(-50%);
}
.about-us{
    background-color: #EDF0F5;
}
.about-us, .steps, .faq, .contact-us {
    padding-top: 120px;
}
.flex-center{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.title{
    color: #272727;

    font-size: 24px;
    font-weight: 500;
    line-height: 29.05px;
    letter-spacing: 0.03em;

    text-align: center;

    padding-bottom: 40px;
    text-transform: uppercase;
}
.description{
    color: #344EAD;

    font-size: 64px;
    font-weight: 600;
    line-height: 77.45px;
    letter-spacing: -0.04em;
    text-align: center;
}
.about-us__description{
    max-width: 80%;
}
.about-us__columns{
    display: grid;
    width: 100%;
    grid-template-columns: 2fr 1fr 1fr;
    column-gap: 20px;
    margin: 100px 0;
}

.about-us__columns-item{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 45px 30px;
    border-radius: 10px;
}
.about-us__columns-item{
    background-color: #D0E4FF;
}
.about-us__columns-item:last-child{
    background-color: #F7F7F7;
}
.about-us__columns-item__text{
    font-size: 36px;
    font-weight: 400;
    line-height: 43.57px;
    letter-spacing: -0.04em;
    text-align: left;
    text-wrap: nowrap;

    color: #272727;
}
.about-us__btn{
    margin-bottom: 120px;
}

.steps{
    background-color: #F7F7F7;
}
.steps .container, .contact-us .container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-we-work{
    display: flex;
    justify-content: space-between;
    padding-bottom: 10rem;
    width: 100%;
}
.how-we-work .title, .how-we-work .description{
    text-align: left;
}
.how-we-work .description {
    margin-bottom: 40px;
    max-width: 707px;
}
.how-we-work .title{
    position: relative;
}
.how-we-work .title::after{
    content: '';
    background: url('../images/Vector2.png');
    right: -4.6rem;
    bottom: calc(5rem - 2rem);
    background-size: contain;
    background-repeat: no-repeat;
    width: 3.8rem;
    height: 3.2rem;
    position: absolute;
}

.how-we-work__text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

.steps__btn{
    margin: 10rem auto;
}
.steps__boxes{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.steps__boxes .box{
    width: calc(25% - 20px);
    max-width: 435px;
    height: 449px;
    border: 1px solid #ABABAB;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 45px 20px;
}
.steps__boxes .box h4{
    color: #272727;
    font-size: 32px;
    font-weight: 600;
    line-height: 38.73px;
    letter-spacing: -0.04em;
}
.steps__boxes .box p{
    color: #272727;
    font-size: 24px;
    font-weight: 400;
    line-height: 28.8px;
    letter-spacing: -0.04em;
}
.faq{
    background-color: #EDF0F5;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.faq .title{
    padding: 120px 0 40px 0;
}
.faq span{
    display: block;
}
.faq__description{
    margin-bottom: 20px;
}
.faq__description-2 {
    color: #272727
}
.faq-item {
    cursor: pointer;
    background-color: #F7F7F7;
    border-radius: 10px;
    padding: 40px;
}

.faq-item:not(:first-child) {
    margin-top: 10px;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-header__title {
    color: #272727;
    font-size: 36px;
    line-height: 43.57px;
    letter-spacing: -0.04em;
    text-align: left;

}

.faq-item__body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    will-change: max-height;
    box-sizing: content-box;
}
.faq-wrap{
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;

}
.faq-row{
    max-width: 80%;
}
.faq-item__body-text,
.faq-item__body-text > * {
    color: #272727;

    font-size: 24px;
    line-height: 29.05px;
    letter-spacing: -0.04em;
}

.faq-item.--show .faq-item__body {
    padding-top: 47px;
    opacity: 1
}

.faq-item.--show .plus {
    transform: rotate(45deg);
}

.contact-us{
    background-color: #EDF0F5;
}
.contact-us .description{
    max-width: 80%;
    padding-bottom: 120px;
}
.get-in-touch{
    background-color: #D0E4FF;
    padding: 100px 0 360px 0;
    position: relative;
}
.get-in-touch .description{
    text-align: left;
    margin-bottom: 64px;
}
.get-in-touch .container{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 72px;
}
.items{
    display: flex;
    flex-direction: column;
    gap: 28px
}
.item{
    display: flex;
    gap: 24px;
    align-items: center;
}
.item .icon{
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #F7F7F7;
    border-radius: 10px;
    --icon-fill: #344EAD;
}
.item .text{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.item .text h4{
    color: #344EAD;
    font-size: 32px;
    font-weight: 600;
    line-height: 38.73px;
    letter-spacing: -0.04em;
}
.item .text p{

    font-size: 24px;
    font-weight: 400;
    line-height: 28.8px;
    letter-spacing: -0.04em;
    color: #272727;

}
.form{
    background-color: #F7F7F7;
    padding: 60px 55px;
    width: 688px;
    border-radius: 10px;
}
.form__title{
    color: #272727;
    font-size: 36px;
    font-weight: 400;
    line-height: 43.57px;
    letter-spacing: -0.04em;
    text-align: left;

    margin-bottom: 40px;
}
label{
    font-size: 16px;
    font-weight: 400;
    line-height: 19.2px;
    letter-spacing: -0.04em;
}

form input[type="text"],form input[type="email"], textarea{
    margin-top: 12px;
    margin-bottom: 22px;
    padding: 12px 16px;
    background-color: #F7F7F7;
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.4);
    height: 80px;
    width: 100%;

    font-size: 18px;
    font-weight: 400;
    line-height: 28.8px;

}
::placeholder{
    font-size: 18px;
    font-weight: 400;
    line-height: 21.6px;
    letter-spacing: -0.04em;
    text-align: left;
    color: rgba(0,0,0,0.35);
}
textarea{
    height: 154px;
}
form input[type="submit"]{
    width: 100%;
    border: none;
}
.map{
position: relative;
    top: -240px;
    margin-bottom: -120px;
}
iframe{
    border-radius: 10px;
}
footer{
    background-color: #272727;
}
footer .header-menu{
    padding: 123px 0;
}
footer .main-menu a {
    color: #F7F7F7;
}
.footer-bottom{
    padding: 37px 0 42px 0;
    background-color: #000;
    color: #F7F7F7;

    font-size: 2.731rem;
    line-height: 3.305rem;
    letter-spacing: -0.04em;
}
.footer-bottom .container{
    display: flex;
    justify-content: space-between;
}
.footer-copy {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.footer-year {
    margin-right: 6px;
}
.footer-company {
    margin-left: 6px;
}
.footer-bottom a{
    text-decoration: underline;
    color: #F7F7F7;
}
.mobile-menu{
    display: none;
}
footer .right{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.right .header_menu-container{
    margin-right: 15vw;
}
.modal-close{
    right: 20px;
    top: 20px;
}
.modal .form{
    width: unset;
    padding: 40px;
}

.wpcf7-spinner{
    display: none !important;
}
.footer .logo{
    display: flex;
    gap: 10px
}
.footer .logo .logo__text{
    font-size: 40px;
    color: #fff;
}
a:hover{
    opacity: 0.8;
}
@media (max-width: 550px) {
.footer .logo{
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
}
    .footer .logo img{
        width: 60px;
    }
    footer .right {
        width: 100%;
    }
    .right .header_menu-container {
        margin:0;
        width: 100%;
    }
    .footer .phone{
        width: 100%;
        justify-content: space-between;
    }
    .footer .top-menu{
        justify-content: space-between;
    }
    .footer .top-menu a{
        min-width: 80px;
        text-align: center;
    }
    .footer .phone .icon{
        width: 8rem;
        height: 8rem;
        margin: 0 12px;
    }

}

.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}

.spinner {
	margin: 20px auto;
	width: 60px;
	height: 60px;
	position: relative;
}

.loading-overlay {
    z-index: 50000;
    position: fixed;
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    background: rgba(0, 0, 0, 0.8);
}

.cube1, .cube2 {
    background-color: silver;
    width: 10px;
    height: 10px;
    position: absolute;
    top: 0;
    left: 0;
    
    -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
    animation: sk-cubemove 1.8s infinite ease-in-out;
  }
  
  .cube2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
  }
  
  @-webkit-keyframes sk-cubemove {
    25% { -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5) }
    50% { -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg) }
    75% { -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5) }
    100% { -webkit-transform: rotate(-360deg) }
  }
  
  @keyframes sk-cubemove {
    25% { 
      transform: translateX(42px) rotate(-90deg) scale(0.5);
      -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
    } 50% { 
      transform: translateX(42px) translateY(42px) rotate(-179deg);
      -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
    } 50.1% { 
      transform: translateX(42px) translateY(42px) rotate(-180deg);
      -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    } 75% { 
      transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
      -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    } 100% { 
      transform: rotate(-360deg);
      -webkit-transform: rotate(-360deg);
    }
    
  }
/* LEGAL MODAL */
.legal-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
}

.legal-box{
  background:#fff;
  width:min(900px, 92vw);
  max-height:84vh;
  border-radius:14px;
  padding:22px 22px 18px;
  position:relative;
  overflow:hidden;
  font-family:Inter, sans-serif;
}

.legal-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding-bottom:10px;
  border-bottom:1px solid rgba(0,0,0,.08);
}

.legal-title{
  margin:0;
  font-size:22px;
  line-height:1.2;
}

.legal-tabs{
  display:flex;
  gap:8px;
}

.legal-tab{
  appearance:none;
  border:1px solid rgba(0,0,0,.14);
  background:#fff;
  padding:8px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:600;
  font-size:14px;
}

.legal-tab.is-active{
  border-color:rgba(0,0,0,.35);
  background:rgba(0,0,0,.04);
}

.legal-close{
  position:absolute;
  top:10px;
  right:14px;
  border:none;
  background:transparent;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  color:#222;
}

.legal-content{
  padding-top:14px;
  max-height:calc(84vh - 80px);
  overflow:auto;
}

.legal-panel{ display:none; }
.legal-panel.is-active{ display:block; }

.legal-content p{
  margin:0 0 12px;
  line-height:1.6;
  color:#333;
}