:root{
    --main-font: 'Montserrat Alternates', sans-serif;
    --primary-color: #FF4901;
    --primary-color-2: #ff5e1e;
    --primary-color-light: #FFEDE6;
    --white: #FFFFFF;
    --gray: #828282;
    --black: #1F1F1F;
    --section-distance: 90px;
    --size-1: 12px;
    --size-2: 24px;
    --size-3: 48px
}


/* common styles */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box
}
html{
    font-size: 10px
}
body{
    font-size: 1.8rem;
    font-family: var(--main-font);
    font-weight: 400;
    line-height: 1.65;
    color: var(--black)
}
address{
    font-style: normal
}
.container{
    width: 100%;
    max-width: 1324px;
    padding: 0 var(--size-1);
    margin: 0 auto
}
a{
    text-decoration: none
}
a:not(.btn){
    color: var(--primary-color)
}
a:not(.btn):hover{
    color: var(--primary-color-2)
}

h1{
    font-size: 4.2rem;
    font-weight: 600;
    line-height: 1.25
}

h2{ 
    font-size: 3.4rem;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase
}

h3, .testimonial .name{
    font-size: 2.2rem;
    line-height: 1.25;
    font-weight: 600
}
section ul:not(:first-child){
    margin-top: var(--size-1)
}
ul li{
    list-style: none
}
ul li:not(nav ul li){
    padding-left: 20px;
    position: relative
}
ul li:not(nav ul li):before{
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 11px;
    background-color: var(--primary-color)
}
ul li:not(nav ul li):not(:first-child), ol li:not(:first-child){
    margin-top: 8px
}

ol{
    counter-reset: item
}
ol li{
    list-style: none;
    padding-left: 27px;
    position: relative;
    counter-increment: item
}
ol li:before{
    content: counter(item)'.';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: 600
}

section p:not(:first-child){
    margin-top: var(--size-1)
}
input{
    font-family: var(--main-font);
    width: 100%;
    height: 48px;
    border: 1px solid var(--gray);
    border-radius: var(--size-1);
    background-color: transparent;
    padding: 0 var(--size-2);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gray)
}
input::placeholder{
    font-family: var(--main-font);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gray)
}
section:not(:first-of-type, :nth-of-type(2)){
    margin-top: var(--section-distance)
}
.owl-dots{
    display: flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    margin: var(--size-1) auto
}
.owl-carousel button.owl-dot{
    width: 8px;
    height: 8px;
    border-radius: 50%
}
.projects .owl-carousel button.owl-dot{
     background-color: #ffffff6b!important
}
.projects .owl-carousel button.owl-dot.active{
    background-color: #ffffff!important
}
.testimonials .owl-carousel button.owl-dot{
    background-color: #ff49015e
}
.testimonials .owl-carousel button.owl-dot.active {
    background-color: var(--primary-color)
}
.mfp-figure video{
    max-width: 100vw;
    max-height: 100vh;
    position: fixed;
    top: 0;
    left: 0
}   
.mfp-figure video + button.mfp-close{
    color: var(--white)
    
}

.call{
    position: fixed;
    z-index: 3;
    right: var(--size-2);
    bottom: var(--size-2)
}

.call img{
    height: 65px;
    animation: trin 2s infinite linear;
    cursor: pointer
}
@keyframes trin {

    from {
        transform:rotate3d(0, 0, 1, 0deg);
    }
    20%, 32%, 44%, 56%, 68% {
        transform: rotate3d(0, 0, 1, 0deg);
    }
    23%, 35%, 47%, 59%, 71% {
        transform: rotate3d(0,0,1,10deg);
    }
    26%, 38%, 50%, 62%, 74% {
        transform: rotate3d(0,0,1,0deg);
    }
    29%, 41%, 53%, 65%, 77% {
        transform: rotate3d(0,0,1,-10deg);
    }
    80% {
        transform:rotate3d(0, 0, 1, 0deg);
    }

}

/* end of common styles */



/* common class styles */

/* buttons */
.btn, input[type="submit"]{
    padding: 0 var(--size-2);
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    height: 48px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--size-1);
    transition: 0.3s
}
input[type="submit"]{
    width: 100%;
    border: none
}
.btn:hover{
    cursor: pointer;
    background-color: var(--primary-color-2);
    transition: 0.3s
}

.white-btn, .white-btn:hover{
   background-color: var(--white);
   color: var(--primary-color)
}

/* end of buttons */


.none{
    display: none!important
}


.img-container{
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden
}
.img-container img, .img-container video{
    object-fit: cover;
    width: 100%;
    height: 100%
}

.bg-wrap{
    position: relative
}
.bg{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0
}
.slider-nav{
    display: flex;
    gap: var(--size-2)
}
.slider-nav .prev, .slider-nav .next{
    width: 48px;
    height: 48px;
    background: url('../img/icons/arrow-left-slider.svg') no-repeat center;
    background-size: 12px;
    background-color: var(--primary-color);
    border-radius: 6px;
    z-index: 1;
    cursor: pointer
}

.slider-nav .next{
    transform: rotate(180deg)
}
.grid-2{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--size-3)
}
.grid-3{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--size-3)
}


/* end of common class styles */



/* header */
header{
   position: fixed;
   width: 100%;
   z-index: 4;
   background-color: var(--white)
}


img.logo{
    height: 65px
}

.main-menu a{
    color: var(--black);
    font-size: 1.8rem;
    font-weight: 600
}


.main-menu >nav >ul{
    display: flex;
    align-items: center;
    gap: var(--size-2)
}
.header{
    padding: var(--size-1) 0
}
.header .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--size-2)
}

/* end of header */



/* footer */

.social{
    display: flex;
    align-items: center;
    gap: var(--size-1)
}
.social a{
    display: flex;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42%;
    border-radius: 50%
}
.social a:hover{
    background-color: var(--primary-color-2)
}
.v{ 
    background-image: url('../img/icons/v.svg')
}
.tg{ 
    background-image: url('../img/icons/tg.svg')
}
.tt{ 
    background-image: url('../img/icons/tt.svg')
}
.i{ 
    background-image: url('../img/icons/i.svg')
}
footer >p{
    text-align: center
}
footer >p:not(:first-child){
    margin-top: 2px
}
footer{
   padding: var(--size-1) 0
}



/* end of footer */