/********** Template CSS **********/
:root {
    --primary: #4a3c3c;
    --light: #F5F5F5;
    --dark: #353535;
    --hover: #bbc2dc;
    --red: #0064CA;
    --semi-red:#0064ca;
    --semi-white: ##eceef5;
    --brown: #616a7d;
    --silver: #F4F5F9;
    --brown-dark: #374055;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#preload {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100000000;
    width: 100%;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background: #0164CA;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 2s ease-out, visibility 0s linear 2s;
}

.path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 1s linear forwards;

  }

  @keyframes dash {
    from {
      stroke-dashoffset: 100;
    }
    to {
      stroke-dashoffset: 0;
    }
  }





#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 5s ease-out, visibility 0s linear 5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 5s ease-out, visibility 0s linear 5s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none!important;
    content: "\f107";
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    outline: none;
}

.navbar-class{
    background-color: var(--brown-dark);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--hover);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}
.contact-us-link{
    height: 75px;
    /* padding: 55px 0; */
    border: none;
    font-size: 14px;
    font-weight: 600;
}

.contact-us-link:hover{
    background: white;
    color: var(--semi-red);
    border: none;
}
.contact-us-link:focus{
    background: white;
    color: var(--semi-red);
    border: none;
}
.contact-us-link:active{
    background: white;
    color: var(--semi-red);
    border: none;
}
@media (max-width: 1149px) {
    .contact-us-link {
        display: none!important;
    }
}
@media ( max-width: 410px) {
    .logo-company{
        max-width: 230px!important;
    }
}
@media ( max-width: 280px) {
    .logo-company{
        max-width: 160px!important;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--light);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}



/*** Modal mode ***/
.modal-body{
    padding: 70px 50px;
}
.modal-bg{
    position: absolute;
    right: 0;
    bottom: 30px;
}
.modal-title{
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    color: var(--dark);
    font-size: 34px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.btn-close{
    font-size: 27px;
    font-weight: 300;
    color: red;
    opacity: 0.07;
}

.modal-header{
    border-bottom: none;
    position: absolute;
    top: 10px;
    right: 10px;
}
.modal-form{

}
.modal-form-name{
    border: none;
    border-bottom: 1px solid var(--light);
    font-size: 16px;
}
.modal-form-phone{
    border: none;
    border-bottom: 1px solid var(--light);
    font-size: 16px;
}
.modal-submit{
    font-size: 14px;
    padding: 12px 20px;
}

/*** Modal mode ***/

/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    /* background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/carousel-1.jpg) center center no-repeat; */
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--brown);
}

.breadcrumb-item{
    padding-right: 10px;
}

.breadcrumb-list {
    font-size: 14px;
    line-height: 16px;
    color: #a34b41;
    overflow-x: auto!important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 0 17px
}


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

/* .section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
} */

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
.counter-item{
    padding: 50px 30px;
    background: var(--semi-white);
    border: 2px solid var(--light);

}
.couter-item-title{
    font-size: 40px;
    line-height: 1;
    font-weight: 300;
}
.counter-item-desc{
    font-size: 20px;
    font-weight: 300;
    color: var(--dark);
}

@media (max-width: 1070px) {
    .couter-item-title{
        font-size: 30px;
    }
    .counter-item-desc{
        font-size: 16px;
    }
}



.brand-center-block{
    margin-bottom: 100px;

}
.brand-center-block-desc-block{
    padding: 50px 0;
}
.brand-center-block-img-block div{
    top: -100px;
    z-index: 5
}

@media (max-width: 1380px){
    .brand-center-block{
        margin-bottom: 75px;
    }
}
@media (max-width: 1200px){
    .brand-center-block{
        margin-bottom: 0;
    }
    .brand-center-block-desc-block{
        padding: 0px 0;
    }
}

@media (max-width: 992px) {
    .brand-center-block-img-block div{
    position: static!important;
    }
    .brand-center-block{
        margin-bottom: 75px;
    }
}
@media (max-width: 692px) {
    .brand-top-block p{
        font-size: 20px!important;
        top: 40%!important;
    }
    .brand-center-block{
        margin-bottom: 25px;
    }
    .brand-top-block-img{
        object-fit: cover;
        height: 420px!important;
    }
}
@media (max-width: 382px) {
    .brand-top-block p{
        font-size: 16px!important;
        top: 20%!important;
    }

}


.brand-bottom-block{
    background-color: #e74c3c;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** LOGO Animation BIG with Text ***/

.stroke_text {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
  }

  .animate {
    animation: dash-2 3s linear forwards;
  }
  .label_text {
    opacity: 0;
    transform: translateX(-100px);
  }

  .animate-label-text {
    animation: label-text 3s ease-in forwards;
  }


  @keyframes label-text {
    from {
      opacity: 0;
      transform: translateX(-200px);
    }
    to {
      opacity: 1;
      transform: translateX(0px);
    }
  }

  @keyframes dash-2 {
    from {
      stroke-dashoffset: 800;
    }
    to {
      stroke-dashoffset: 0;
    }
  }
  /*** LOGO Animation BIG with Text ***/


/*** Service ***/
.service-item {
    background-color: var(--semi-white);
}
.service-item img {
    transition: .5s;
}
.service-item-up:hover {
    background-color: var(--red);
}

.service-item:hover .img-fluid {
    transform: scale(1.1) translate3d(10px, -10px, 0);
}
.service-item h3{
    color: var(--dark);
    font-size: 28px;
}
.service-item:hover h3{
    color: var(--light);
}
.service-item-down{
    height: 100%;
   }
.service-item-down p{
 color: var(--brown);
 cursor: default;
 font-size: 18px;
 font-weight: 500;
 line-height: 1.2;
}

/*** hover ***/
.service-item-second {
    background-color: var(--semi-white);
    position: relative;
}
.service-item-second img {
    transition: .5s;
}
.service-item-second:hover .img-fluid {
     transform: translateY(-10px);
}
.service-item-second h3{
    color: var(--dark);
    font-size: 28px;
}
.service-item-second:hover h3{
    color: var(--light);
}

.service-item-second::before {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -20px;
    z-index: 0;
    width: 275px;
    height: 61px;
    background: url(eclipse.svg) no-repeat;
    transform-origin: 50% 50%;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
}
.service-item-second:hover::before {
    opacity: 0.4;
}
/*** hover ***/



/*** Andvantage ***/
.advantage-item{
    background-color: var(--brown);
    border: 1px solid var(--light);
    padding: 100px 16px!important;
}

.advantage-item p{
    color: var(--light);
    font-size: 16px;
    font-weight: 500;
}
@media (max-width: 1200px) {
    .advantage-item {
        padding: 100px 16px!important;
    }
}
@media (max-width: 768px) {
    .advantage-item{
        padding: 100px 50px!important;
    }
}




/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/

.catalog-filter-container{

}
.filter-title{
    font-size: 14px;
    color: var(--hover);
}
.catalog-filter-list-title{
    background-color: var(--semi-white);
    display: flex;
    align-items: center;
    padding-left: 20px;
}
.catalog-filter-list{
    border-left: 1px solid var(--hover);
    background-color: var(--semi-white);
    padding: 15px 0;
}

.product-filters{
    display: flex;
    overflow-x: auto;
    gap: 2px;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;

}
@media (max-width: 768px ) {
    .catalog-filter-list-title{
        background: none;
        margin-bottom: 15px;
        padding-left: 35px;
    }
    .product-filters{
        margin-top: 5px!important;
    }
}
.product-filters li{
    display: block;
    font-weight: 500;
    color: var(--light);
    background: var(--hover);
    cursor: pointer;
    transition: .5s;
    font-size: 14px;
    text-wrap: nowrap;
}
/* #portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--light);
    background: var(--hover);
    cursor: pointer;
    transition: .5s;
    font-size: 14px;
} */

#portfolio-flters li:hover,
#portfolio-flters li.active {
    background-color: var(--semi-red);
}
.portfolio-item{
    background-color: #616a7d;
    cursor: pointer;
    position: relative;
    border: 2px solid white;
}
.portfolio-item:hover{
    background-color: var(--semi-red);
    transition: all 0.3s ease-in-out;

}
.portfolio-item:hover .card-left p{
    color: var(--light);
}

.portfolio-item img {
    transition: .5s;
    padding-bottom: 15px;
}

.portfolio-item::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    z-index: 0;
    width: 275px;
    height: 61px;
    background: url(eclipse.svg) no-repeat;
    transform-origin: 50% 50%;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    transition: 0.3s;
}
@media (max-width: 400px){
    .portfolio-item::before {
        right: -15%;
    }
}
@media (max-width: 300px){
    .portfolio-item::before {
        right: -25%;
    }
}
.portfolio-item:hover::before {

    opacity: 0.4;

}

.portfolio-item:hover .card-img {
    transform: translateY(-10px);
    /* transform: scale(1.1); */
}


/* .portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
} */

.card-img-block{
    display: flex;
    padding-top: 70px;
    padding-bottom: 20px;
    justify-content: end;
}
.card-img{
    transform-origin: 50% 50%;
    width: 70%;
    justify-self: end;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}
.card-left{
    left: 20px;
    top: 20px;
}
.card-left p {
    color: var(--hover);
    font-size: 14px;
}

.card-left h3 {
    color: var(--light);
    font-size: 30px;
}
.card-right{
    right: 20px;
    top: 20px;
}
.card-bottom{
    bottom: 20px;
    left: 20px;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/*** Details ***/
.details-top-logo{
    background-color: white;
    box-shadow: 0px 40px 40px rgba(34, 51, 71, 0.1);
    bottom: -25px;
    left: 50px;
    padding: 10px 20px;
}
.details-top-logo img{

}
.details-top-logo p{
font-size: 30px;
line-height: 1;
font-weight: 500;
color: var(--dark);
}
.details-top-tyre{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
@media (max-width: 992px) {
    .details-top-tyre{
        margin-top: 30px;
        justify-content: center;
    }
    .details-top-logo img{
        width: 120px;
    }
    .details-top-logo p{
        font-size: 30px;
        line-height: 1;
        font-weight: 500;
        color: var(--dark);
        }
    .details-advantage-item {
        width: 100%;
    }

}
.details-advantage-item{
    background-color: var(--silver);
    font-size: 14px;
    padding: 10px!important;
}
.details-advantage-item__img img{
    width: 140px;
}
.details-advantage-item__desc{
    font-size: 14px;
    color: var(--dark);
    padding: 0 50px;
    text-wrap: wrap;
}
.details-table{
    border-spacing: 0px;
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    /* border-collapse: collapse; */
}
@media (max-width: 992px) {
    .details-advantage-item__img{
        width: 18%;
    }
    .details-advantage-item__desc{
        padding: 0;
    }
}
@media (max-width: 860px) {
    .details-table{
        display: block;
        width: 100%;
        overflow-x: auto;
        overflow-y:hidden;
    }
    .details-advantage-item__img{
        width: 25%;
    }
    .details-advantage-item__desc{
        width: 70%;
    }
}
@media (max-width: 640px) {
    .details-advantage-item__img{
        width: 30%;
    }
    .details-advantage-item__desc{
        width: 70%;
    }
    .details-advantage-item__img img{
        /* width: 80%; */
    }
}
@media (max-width: 560px) {
    .details-advantage-item{
        display: flex;
    }
    .details-advantage-item__img{
        width: 40%;
        overflow: hidden;
    }
    .details-advantage-item__img img{
        width: 100%;
    }
    .details-advantage-item__desc{
        width: 60%;
        padding-left: 10px;
    }
}

.details-table-thead{
    background-color: var(--semi-white);
}
/*** Details ***/



/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    /* background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat; */
    background-color: var(--brown-dark);
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: 'Raleway', sans-serif;
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

@media (max-width: 575px){
    .footer-top{
        padding-left: 10px;
    }
}

