@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*{
    box-sizing: border-box;
    padding:0;
    margin: 0;
}

*{
    box-sizing: border-box;
    margin:0;
    padding:0;
    text-decoration: none;
}

body{
    font-family: "Inter", sans-serif;
    height: 100%;
}

header{
    position: fixed;
    left:0;
    top:0;
    width:100%;
    background: transparent;
    z-index: 9999;
    transition: 0.4s;
}

header.active{
    background: #1b1a1c;
    box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 25%);
    transition: 0.4s;
}

header .col-md-12{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

header .logo{
    max-width: 130px;
    width: 100%;
}

header ul{
    display: flex;
    gap: 70px;
    background: #1b1a1c;
    padding: 15px 50px;
    border-radius: 30px;
    list-style: none;
}

header ul li a{
    color: #fff;
    transition: 0.3s;
    font-size: 15px;
    font-weight: 400;
    position: relative;
}

header ul li a:before{
    position: absolute;
    content:'';
    left:-1px;
    bottom: -15px;
    height:2px;
    width:0%;
    background: #fff;
    transition: 0.3s;
    will-change: transform;
    opacity: 0;
    left: 50%;
    transform: translateX(-50%);
}

header ul li a:hover{
    transition: 0.3s;
}

header ul li a:hover:before{
    opacity: 1;
    width:100%;
}

header .btn{
    display: flex;
    align-items: center;
    gap: 15px;
}

header .btn div{
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 15px;
    gap: 3px;
    position: relative;
    top: 1px;
}

header .btn img{
    width: 39px;
}

.hero{
    padding: 200px 0 232px;
    background-color: #EEF0FC;
    background-image: url(../images/hero-bg.jpg);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.hero:before{
    content:'';
    position: absolute;
    left: 0;
    top: 0;
    width:100%;
    height:100%;
    background: rgba(39, 92, 107, 0.65);
}

.hero .container{
    position: relative;
    z-index: 9;
}

.hero-content{
    text-align: left;
    margin: 0 auto;
    position: relative;
}

.hero h1{
    color: #fff;
    font-size: 56px;
    font-weight: 800;
    line-height: 120%;
    margin-bottom: 35px;
}

.hero h2{
    color: #fff;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    margin-bottom: 40px;
}

.hero p{
    color: #2d2d2d;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    margin-bottom: 38px;
}

.hero .buttons{
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-play img{
    position: absolute;
    width: 100%;
    bottom: -155px;
    right: 100px;
    max-width: 336px;
    cursor: pointer;
}

.buttons span{
    color: #fff;
}

.hero .buttons a{
    background: #1B1A1C;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    padding: 20px 23px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 270px;
    border-radius: 100px;
}

.hero .buttons a img{
    width:22px;
}


.about{
    padding: 90px 0;
    background: #ffffff;
    border-radius: 80px;
    margin-top: -80px;
    position: relative;
}

.about-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.about-video-container {
    position: relative;
    display: block;
    width: 100%;
    max-width: 500px;
    cursor: pointer;
    margin:0 auto;
}

.about-video-container video {
    width: 91%;
    height: auto;
    display: block;
    height: 605px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto;
    border-radius: 50px;
}

.about-video-container .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: opacity 0.3s ease;
}

.about-video-container.playing .play-button {
    opacity: 0;
    pointer-events: none;
}

.title span{
    color: #808080;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 20px;
    display: block;
}

.title h2{
    color: #1B1A1C;
    font-weight: 800;
    font-size: 46px;
    line-height: 50px;
    margin-bottom: 25px;
    max-width: 500px;
}

p{
    color: #1B1A1C;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 22px;
}

.about strong{
    color: #1B1A1C;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 22px;
    display: inline-block;
}

.about ol{
    margin-left: 20px;
    margin-bottom: 20px;
}

.about ol li{
    color: #1B1A1C;
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 22px;
}

.btns{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.btns a:nth-child(1){
    background: #1B1A1C;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    padding: 16px 23px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 100px;
    border: 1px solid #1B1A1C;
}

.btns a:nth-child(2){
    background: #fff;
    font-size: 16px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #1B1A1C;
    padding: 16px 23px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 100px;
    border: 1px solid #1B1A1C;
}

.services{
    padding: 30px 0 60px;
    background: #ffffff;
}

.services .services-title{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: end;
    margin-bottom: 60px;
}

.services .services-title .title h2{
    text-align: left;
    margin-bottom: 0;
}

.services .services-title p{
    text-align: right;
    margin-bottom: 0;
}


.services-container{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.services-item{
    transition: all 0.3s ease;
    text-align: center;
}

.services-item:hover{
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.services-item img{
    max-width: 300px;
    width: 100%;
    border-radius: 30px;
    height: 320px;
    object-fit: cover;
    object-position: center
}

.service-item-content{
    padding: 20px 15px;
    background: #fff;
}

.services-item h3{
    font-size: 20px;
    font-weight: 800;
    color: #1B1A1C;
    margin: 20px 0 10px;
    text-align: left;
}

.services-item p{
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #808080;
    text-align: left;
}


.help h2{
    max-width: 750px;
}

.help .steps-container{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.help .steps-container-long{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
}

.help .steps-item{
    background: #F5F5F5;
    border-radius: 30px;
    padding: 20px;
    display: flex;
    gap:25px;
}

.help .steps-item img{
    border-radius: 30px;
    height:320px;
    object-fit: cover;
    object-position: center;
}

.help .steps-item h3{
    font-weight: 800;
    font-size: 20px;
    color: #1B1A1C;
    margin-bottom: 15px;
}

.help .steps-item p{
    color: #808080;
    font-weight: 400;
    font-size: 14px;
}

.steps-container-long{
    margin-top: 25px;
}

.steps-container-long .steps-item{
    align-items: center;
}

.help{
    padding: 30px 0;
}


.owl-dots{
    display: inline-block;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.owl-dots button span{
    display: inline-block;
    width: 15px;
    height: 15px;
    background: #C5C5C5;
    border-radius: 20px;
}

.owl-dots button.active span{
    display: inline-block;
    width: 15px;
    height: 15px;
    background: #1b1a1c;
    border-radius: 20px;
}

.video-reviews h2{
    max-width: 100%;
}

.video-reviews{
    padding: 60px 0 90px;
    border-radius: 80px;
    position: relative;
    margin-bottom: -85px;
    z-index: 99;
    background: #fff;
}

.video-reviews .title{
    text-align: center;
    margin-bottom: 50px;
}


.video-reviews video{
    height: 400px;
    max-width: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}


.custom-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 2;
  width: 64px;
}

.custom-play-btn img {
  width: 100%;
  height: auto;
}

.video-reviews .owl-dots{
    display: none;
}

.contacts{
    padding: 250px 0 250px;
    background: url(../images/contacts.jpg);
    position: relative;
    overflow: hidden;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: 50% 0%;
    position: relative;
}

.contacts .col-md-6{
    position: relative;
}

.contacts:before{
    content:'';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(39, 92, 107, 0.65);
}

.man{
    width: 80%;
    top: -140px;
    position: absolute;
    right: 60px;
}

.contacts p{
    max-width: 590px;
    font-size: 16px;
    font-weight: 400;
    color: #545454;
    display: block;
    margin-bottom: 25px;
    line-height: 23px;
    position: relative;
    z-index: 99;
    text-align: left;
}

.contacts a{
    background: #758BF7;
    font-size: 16px;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    padding: 18px 23px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 270px;
    position: relative;
    z-index: 99;
}

.contacts .big-img{
    position: absolute;
    right: -100px;
    bottom: 0;
    max-width: 800px;
}

.contacts h2 {
    color: #fff;
    text-align: left;
    margin-bottom: 25px;
    font-size: 38px;
    font-weight: 800;
}

.contacts p{
    color: #fff;
    text-align: left;
    line-height: 22px;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 28px;
}

.contacts .btns a:nth-child(2){
    background: transparent;
    border:1px solid #fff;
    color: #fff;
}


footer{
    background: #fff;
    text-align: center;
    padding: 30px 0;
    border-radius: 80px 80px 0 0;
    margin-top: -80px;
    position: relative;
}

footer .copyright{
    font-size: 14px;
    font-weight: 400;
    color: #696969;
    padding: 0 15px;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 0;
}

footer .col-md-12{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

footer .logo{
    max-width: 130px;
    width: 100%;
}

footer ul{
    display: flex;
    gap: 70px;
    list-style: none;
}

footer ul li a{
    color: #1b1a1c;
    transition: 0.3s;
    font-size: 15px;
    font-weight: 400;
    position: relative;
}

footer .btn{
    display: flex;
    align-items: center;
    gap: 15px;
}

footer .btn div{
    display: flex;
    flex-direction: column;
    color: #fff;
    font-size: 15px;
    gap: 3px;
    position: relative;
    top: 1px;
}

footer .btn img{
    width: 39px;
}

.hello .hero{
    padding: 0px;
}

.hello .hero .col-md-12{
    height: calc(100vh - 124px);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.hello .hero .buttons{
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.hello .hero .buttons a{
    margin:0;
}

.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Над іншими елементами */
}

.popup-content {
    background: transparent;
    padding: 20px;
    position: absolute;
    max-width: 400px;
    width: 100%;
    margin: auto;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1B1A1C;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#video-popup{
    height: 400px;
    max-width: 400px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.mob-avc{
    display: none;
}

@media(max-height:880px){
    .hello .hero .col-md-12{height:auto;}
    .hello .hero{padding: 130px 0 100px;}
}

.container{
    width:100%;
    margin:0 auto;
}

.row{
    display: inline-block;
    width:100%;
}

.row-flex{
    display: flex;
}

.col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-12{
    padding:0 15px;
    float: left;
}

.col-md-1 {
    width: 8.33%;
}

.col-md-2 {
    width: 16.67%;
}

.col-md-3 {
    width: 25%;
}

.col-md-4 {
    width: 33.33%;
}

.col-md-5 {
    width: 41.67%;
}

.col-md-6 {
    width: 50%;
}

.col-md-7 {
    width: 58.33%;
}

.col-md-8 {
    width: 66.67%;
}

.col-md-9 {
    width: 75%;
}

.col-md-10 {
    width: 83.33%;
}

.col-md-11 {
    width: 91.67%;
}

.col-md-12 {
    width: 100%;
}


@media(max-width:1400px){
   .contacts .big-img{height: 80%;} 
   .services-item h3{}
   .steps-item .next-top{right: -64px;}
   .hero-play img{right: 20px;}
   .man{top:-80px;}
}

@media(max-width:1200px){
    header ul{gap:25px;}
    .hero h1{font-size: 32px;}
    .steps-container{grid-template-columns: repeat(4, 1fr);}
    .steps-item .next-bottom{right:-76px;}
    .steps-item .next-top {right: -54px;}
    .services-container{grid-template-columns: repeat(3, 1fr);}
    .choose-container{grid-template-columns: repeat(2, 1fr);}
    .contacts .big-img{height: 80%;}
    .hero h2{max-width: 400px;}
    .help .steps-container{grid-template-columns: repeat(1, 1fr);}
    .help .steps-item{align-items: center;flex-direction: column;}
    .help .steps-item img {border-radius: 30px;height: 240px;object-fit: cover;object-position: center;width: 100%;max-width: 100%;}
    .help .steps-item p{margin-bottom: 0;}
    .man {width: 100%;top: 0px;position: absolute;right: 0px;}
}

@media(max-width:991px){
    .title h2 {color: #1B1A1C;font-weight: 800;font-size: 26px;line-height: 32px;margin-bottom: 25px;max-width: 500px;}
    .title span{margin-bottom: 15px;}
    .hero-content {text-align: center;margin: 0 auto;position: relative;}
    header .btn div strong{text-align: center;}
    .top-line{padding: 9px 15px;font-size: 14px;}
    header .btn{height: 51px;}
    .bottom-header {height: 51px;}
    header .col-md-12{padding:15px;}
    header ul{display: none;}
    header .logo {max-width: 100px;}
    header .btn span:before{display: none;}
    .hero .col-md-6{width:100%;}
    .hero h1{font-size: 28px;margin-bottom: 25px;}
    .hero h2 {font-size: 22px;font-weight: 600;line-height: 30px;margin-bottom: 25px;max-width: 100%;text-align: center;}
    .hero p{font-size: 14px;line-height: 21px;}
    .hero .buttons{justify-content: space-around;flex-direction: column;gap: 15px;}
    .hero .buttons a{font-size: 15px!important;padding: 15px 20px!important;}
    .hero{padding: 145px 0 60px;}
    .hero-play img {position: relative;width: 100%;bottom: -19px;right: 100px;max-width: 200px;cursor: pointer;right: 0 !important;margin-top: 30px;}
    .about .col-md-6{width:100%;}
    .about-img{display: none;}
    .about {padding: 45px 0;z-index: 9;text-align: center;}
    .about h2{max-width: 100%;}
    .about ol{text-align: left;}
    .about li{margin-bottom: 15px;font-size: 14px;}
    .about a{max-width: 100%;margin: 0px auto 0;}
    .btns{margin-top: 30px;flex-direction: column;}
    .about-video-container video{width: 100%;height: 400px;}
    .mob-avc{display: block;}
    .desk-avc{display: none;}
    .services .services-title {display: grid;grid-template-columns: repeat(1, 1fr);gap: 30px;align-items: center;margin-bottom: 40px;}
    .about-container {display: grid;grid-template-columns: repeat(1, 1fr);gap: 0;}
    .count-container{margin-top: 45px;}
    .count-container{grid-template-columns: repeat(2, 1fr);gap:30px;}
    .count-container h3{margin-bottom: 10px;font-size: 38px;}
    .count-container span {font-size: 14px;font-weight: 400;line-height: 21px;max-width: 250px;display: inline-block;}
    .steps-container{grid-template-columns: repeat(1, 1fr);}
    .next-top, .next-bottom{display: none;}
    .steps {padding: 45px 0;}
    .steps h2 {margin-bottom: 30px;font-size: 30px;}
    .steps-item img{max-width: 100px;}
    .steps-item{padding: 10px 10px 25px;}
    .steps-item h3{font-size: 16px;margin-bottom: 16px;text-align: center;}
    .steps-item h3 span{display: block;text-align: center;margin-bottom: 1px;}
    .steps-item p{font-size: 14px;line-height: 20px;text-align: center;}
    .steps-container {gap: 10px;}
    .services {padding: 45px 0;text-align: center;}
    .services .services-title .title h2 {text-align: center;}
    .services-item h3{text-align: center;margin-bottom: 8px;}
    .services-item img{height: 180px;max-width: 210px;}
    .services-item p{text-align: center;}
    .services .services-title p {text-align: center;margin-bottom: 0;}
    .services-item p{justify-content: center;}
    .services-container{grid-template-columns: repeat(2, 1fr);}
    .services-item a{padding: 15px 0px;max-width: 100%;}
    .choose{padding:50px 0;}
    .choose-item img{margin-bottom: 20px;}
    .text-reviews .col-md-4{width: 100%;text-align: center;}
    .text-reviews .col-md-8{width: 100%;}
    .text-reviews h2{text-align: center;font-size: 30px;margin-bottom: 45px;}
    .nav-text-rev{display: none;}
    .contacts{padding: 140px 0;}
    .contacts h2{font-size: 26px;color: #fff;text-align: center;max-width: 100%;}
    .contacts p{font-size: 14px;line-height: 23px;}
    .contacts a{margin: 40px 0 0;padding: 20px 0px;font-size: 16px;}
    .contacts a img{width: 16px;}
    .contacts .big-img {position: relative;right: 0;bottom: -10px;height: auto;max-width: 220px;width: 100%;margin-top: 30px;}
    .video-reviews {padding: 45px 0 45px;}
    .contacts .big-img{display: none;}
    .contacts .col-md-6{width:100%;}
    .contacts p{margin-bottom: 0;text-align: center;max-width: 100%;}
    .text-reviews h2:before{left: 50%;transform: translateX(-50%);}
    .count-box{padding: 30px 0;}
    .contacts{background-size: cover;}
    .contacts .btns{gap: 20px;}
    .contacts .btns a{margin-top: 0;}
    .man { width: 60%; top: 70px;position: relative;right: 0px;display: block;margin: 0 auto;}
    footer ul{display: none;}
    .about{border-radius: 50px;}
    .video-reviews{border-radius: 50px;}
    footer{border-radius: 50px 50px 0 0;}
}

@media(max-width:767px){
    .owl-nav{display: none;}
    .choose-container{grid-template-columns: repeat(1, 1fr);gap: 10px;}
    .services-item h3{}
    .car-content .lang li a{font-size: 12px;text-transform: none;padding: 14px 16px;}
    .count-container{grid-template-columns: repeat(1, 1fr);gap:30px;}
    .video-reviews .owl-dots {display: flex;}
    .hello .hero .buttons{flex-direction: column;}
}

@media(max-width:560px){
    .services-container{grid-template-columns: repeat(1, 1fr);}
    .services-item h3{height: auto;}
   .services-item p{height: auto;}
   .services-container{gap: 20px;}
    .oportunity {grid-template-columns: repeat(1, 1fr);}
    .oportunity-box{padding: 25px 10px;}
    .oportunity-box span img {width: 40px;}
    .oportunity-box span{height: 80px;width:80px;}
}

@media(max-width:400px){
    .hero .buttons a{padding: 15px 30px!important;}
}

@media(max-width:360px){
    .lang img{width: 35px;}
}


@media(min-width:576px){
    .container{
        max-width: 540px;
    }
}

@media(min-width:768px){
    .container{
        max-width: 720px;
    }
}

@media(min-width:992px){
    .container{
        max-width: 960px;
    }
}

@media(min-width:1200px){
    .container{
        max-width: 1140px;
    }
}

@media(min-width:1400px){
    .container{
        max-width: 1320px;
    }
}

@media(min-width:1550px){
    .container{
        max-width: 1450px;
    }
}

@media(min-width:1700px){
    .container{
        max-width: 1600px;
    }
}
