@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&family=Poppins:wght@100;300;400;500;600&display=swap');


:root{
    --orange: #EF4222;
    --dark-color:hsl(9, 85%, 41%);
    --black:#444;
    --light-color:#666;
    --border:.1rem solid rgba(0,0,0,0.1);
    --border-hover:.1rem solid var(--black);
    --box-shadow:0 .5rem 1rem rgba(0,0,0,0.1);
}
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
    transition:width none;
    list-style: none;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5rem;
    scroll-behavior: smooth;
}
html::-webkit-scrollbar{
    width:1rem;
}
html::-webkit-scrollbar-track{
    background: transparent;
}
html::-webkit-scrollbar-thumb{
    background: var(--black);
}

section{
    padding: 5rem 9%;
}

.heading{
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}
.heading::before{
    content: '';
    position: absolute;
    top: 50%; left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: .01rem;
    background: rgba(0,0,0,0.1);
    z-index: -1;
}
.heading span{
    font-size: 3rem;
    padding: .5rem 2rem;
    color: var(--black);
    background: #fff;
    border: var(--border);
}
.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: .9rem 3rem;
    border-radius: .5rem;
    color: #fff;
    background: var(--orange);
    font-size: 1.7rem;
    font-weight: 500;
    cursor: pointer;
}
.btn:hover{
    background: var(--dark-color);
}


.header .header-1{
    background-color: #fff;
    padding: 1.5rem 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .header-1 .logo img{
    width: 15%;
    height: 100%;
    padding-right: 10px;
}
.header .header-1 .logo{
    display: inline-block;
    width: 600px;
    height: 6rem;
    font-size: 2.4rem;
    font-weight: bolder;
    color: var(--grey);
    margin-right: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
 }

.header .header-1 .search-form{
    width: 40rem;
    height: 5rem;
    border: var(--border);
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    border-radius: 0.5rem;
}
.header .header-1 .search-form input{
    font-size: 1.6rem;
    padding: 0 1.2rem;
    height: 100%;
    width: 100%;
    text-transform: none;
    color: var(--black);
}
.header .header-1 .search-form label{
    font-size: 2.5rem;
    padding-right: 1.5rem;
    color: var(--black);
    cursor: pointer;
}
.header .header-1 .search-form label:hover{
    color: var(--orange);
}
.header .header-1 .icons div,
.header .header-1 .icons a{
    font-size: 2.5rem;
    margin-left: 1.5rem;
    color: var(--black);
    cursor: pointer;
}
.header .header-1 .icons div:hover,
.header .header-1 .icons a:hover{
    color: var(--orange);
}
#search-btn{
    display: none;
}

.header .header-2{
    background-color: var(--orange);
}
.header .header-2 .navbar{
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.7rem;
    height: 50px;
}
.navbar .nav-items{
    margin: 0 5px;
    padding: 1.2rem;
}
.header .header-2 .navbar .nav-items a,
body.home-page li.home-page,
body.parts li.parts,
body.services li.services{
    color: #fff;
}
.header .header-2 .navbar .nav-items:hover,
body.home-page li.home-page,
body.parts li.parts,
body.services li.services,
body.services li.dropbtn{
    background: var(--dark-color);
}
.header .header-2.active{
    position: fixed;
    top: 0;left: 0;right: 0;
    z-index: 1000;
}
.header-2 .navbar a.active-bar{
    background-color: var(--dark-color);
}


/* menu -list */
.dropbtn {
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.7rem;
    background-color: #EF4222;
  }
  body.services .dropbtn{
    background-color: var(--dark-color);
  }
  
  .dropbtn:hover,
   .dropbtn:focus {
    background-color: hsl(9, 85%, 41%);
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    margin-top: 12.5px;
    margin-left: -12px;
    background-color: #fff;
    min-width: 200px;
    overflow: visible;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10000;
  }
  
  .dropdown-content a {
    font-weight: 500;
    padding: 20px 50px;
    text-decoration: none;
    display: block;
    border-top: 0.5px solid #EF4222;
  }

  .dropdown-content .link-1:hover{
   border: 1px solid #EF4222;
   box-shadow: inset 5px 5px 4px salmon;  
  }
  .show {
      display: block;
  }


.bottom-navbar{
    text-align: center;
    background: var(--orange);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 100000;
    display: none;
}
.bottom-navbar a{
    font-size: 2.5rem;
    padding: 2rem;
    color: #fff;
}
.bottom-navbar a:hover{
    background-color: var(--dark-color);
}


.login-form-container{
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.9);
    position: fixed;
    top: 0; right: -105%;
    z-index: 1000000;
    height: 100%;
    width: 100%;
}
.login-form-container.active{
    right: 0;
}
.login-form-container form{
    background: #fff;
    border: var(--border);
    width: 40rem;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    margin: 2rem;
}
.login-form-container form h3,
.service-form-container form h3{
    font-size: 2.5rem;
    text-transform: uppercase;
    color: var(--black);
    text-align: center;
}
.login-form-container form span,
.service-form-container form span{
    display: block;
    font-size: 1.5rem;
    padding-top: 1rem;
}
.login-form-container form .box,
.service-form-container form .box{
    width: 100%;
    margin: .7rem 0;
    font-size: 1.6rem;
    border: var(--border);
    border-radius: .5rem;
    color: var(--black);
    text-transform: none;
}
.login-form-container form .checkbox{
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: 1rem 0;
}
.login-form-container form .checkbox label{
    font-size: 1.5rem;
    color: var(--light-color);
    cursor: pointer;
}
.login-form-container form .btn{
    text-align: center;
    width: 100%;
    margin: 1.5rem 0;
}
.login-form-container form p{
    padding-top: .8rem;
    color: var(--light-color);
    font-size: 1.5rem;
}
.login-form-container form p a{
    color: var(--orange);
    text-decoration: underline;
}
.login-form-container #close-login-btn{
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    font-size: 5rem;
    color: var(--black);
    cursor: pointer;
}

.home{
    background: rgb(234, 233, 233);
    
}
.home .row{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.home .row .content{
    flex: 1 1 40rem;
}
.home .row .electronics-slider{
    flex: 1 1 44rem;
    text-align: center;
    margin-top: 2rem;
}
.home .row .electronics-slider a img{
    height: 30rem;
    width: 20rem;
}
.home .row .electronics-slider a:hover img{
    transform: scale(.9);
}
.home .row .electronics-slider .stand{
    width: 100%;
    margin: -2rem;
}
.home .row .content h3{
    color: var(--black);
    font-size: 4.5rem;
}
.home .row .content p{
    color: var(--light-color);
    font-size: 1.4rem;
    line-height: 2;
    padding: 1rem 0;
}

.featured .featured-slider .box{
    width: 30rem;
    margin: 4rem auto;
    position: relative;
    overflow: hidden;
    border: var(--border);
    text-align: center;
}
.featured .featured-slider .box:hover{
    border: var(--border-hover);
}
.featured .featured-slider .box .image{
    padding: 1rem;
    background: linear-gradient(15deg, #eee 30%,#fff 30.1%);
}
.featured .featured-slider .box:hover img{
    transform: translateY(3rem);
}
.featured .featured-slider .box .image img{
    height: 25rem;
}
.featured .featured-slider .box .icons{
    border-bottom: var(--border-hover);
    position: absolute;
    top: 0; left: 0; right: 0;
    background: #fff;
    z-index: 1;
    transform: translateY(-100%);
}
.featured .featured-slider .box:hover .icons{
    transform: translateY(0%);
}
.featured .featured-slider .box .icons a{
    color: var(--black);
    font-size: 2.2rem;
    padding:1.3rem 1.5rem;
}
.featured .featured-slider .box .icons a:hover{
    background: var(--orange);
    color: #fff;
}
.featured .featured-slider .box .content{
    background: #eee;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    position: relative;
}
.featured .featured-slider .box .content .content-2{
    width: 20%;
    font-size: 2.5rem;
    bottom:20px;right: 10px;
    position: absolute;
}
.featured .featured-slider .box .content .content-2 a{
    color: var(--light-color);
}
.featured .featured-slider .box .content .content-2 a:hover{
    color: red;
}
.featured .featured-slider .box .content h3{
    font-size: 2rem;
    color: var(--black);
}
.featured .featured-slider .box .content .price{
    font-size: 2.2rem;
    color: var(--black);
    padding-top: 1rem;
}
.featured .featured-slider .box .content .price span{
    font-size: 1.5rem;
    color: var(--light-color);
    text-decoration: line-through;
}
.swiper .swiper-button-next,
.swiper .swiper-button-prev{
    border: var(--border-hover);
    height: 4rem;
    width: 4rem;
    background: #fff;
    color: var(--black);
}
.swiper .swiper-button-next::after,
.swiper .swiper-button-prev::after{
    font-size: 2rem;
}
.swiper .swiper-button-next:hover,
.swiper .swiper-button-prev:hover{
    background: var(--black);
    color: #fff;
}

.footer{
    width: 100%;
}
.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(36rem, 0fr));
    gap: 1.3rem;
    /* border: 1px solid red; */
}
.footer .box{
    padding-left: 2rem;
    /* border: 1px solid green; */
}
.footer .box-container .box h3{
    font-size: 2.2rem;
    color: var(--black);
    padding: 1rem 0;
    margin-bottom: 1rem;
    border-bottom: var(--border);
}
.footer .box-container .box a{
    display: block;
    font-size: 1.36rem;
    color: var(--light-color);
    padding: 1rem 0;
}
.footer .box-container .box a i{
    color: var(--orange);
    padding-right: 0.5rem; 
}
.footer .box-container .box a:hover i{
    padding-right: 2rem;
}
.footer .share{
    padding: 1rem 0;
    text-align: center;
}
.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color: #fff;
    background: var(--orange);
    margin: 2rem .3rem;
    border-radius: 50%;
}
.footer .share a:hover{
    background: var(--black);
}
.footer .credit{
    border-top: var(--border);
    margin-top: 2rem;
    padding: 0 1rem;
    padding-top: 2.5rem;
    font-size: 2rem;
    color: var(--light-color);
    text-align: center;
}
.footer .credit span{
    color: var(--orange);
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 9999;
  }
  
  .loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(0, 0);
  }
  
  .loader-spinner::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 100%;
    border: 4px solid #EF4222;
    border-top-color: transparent;
    border-bottom-color: transparent;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }



  /* Normal Services */
.service-form-container{
    width: 90%;
    height: 600px;
    /* border: 1px solid purple; */
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-form-container form{
    background: #fff;
    border: var(--border);
    width: 80rem;
    height: 550px;
    min-height: 500px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    border-radius: .5rem;
    margin: 10rem;
}
.service-form-container form .btn{
    width: 30%;
    margin: 5% 30%;
}




















/* -------- Media queries------------------ */
@media(max-width:1313px){
    .header-1 .icons{
        display: flex;
    }
    .navbar .nav-items{
        margin: 0 5px;
        padding: 1.2rem;
    }
}
@media (max-width:991px){
    html{
        font-size: 50%;
    }
    .header .header-1{
        padding: 0.6rem;
    }
    .header-1 .icons{
        display: flex;
    }
    .navbar .nav-items{
        margin: 0 5px;
        padding: 1.8rem;
    }
    section{
        padding: 3rem 2rem;
    }
    .footer .box{
        padding-left: 0.8rem;
    }
}
@media (max-width:768px){
    html{
        scroll-padding-top: 0;
        font-size: 48%;
    }
    body{
        padding-bottom: 6rem;
    }
    .header .header-2{
        display: none;
    }
    .bottom-navbar{
        display: block;
    }
    #search-btn{
        display: inline-block;
    }
    .header .header-1{
        box-shadow: var(--box-shadow);
        position: relative;
    }
    .header .header-1 .search-form{
        position: absolute;
        top: -115%; right: 2rem;
        width: 90%;
        box-shadow: var(--box-shadow);
    }
    .header .header-1 .search-form.active{
        top:115%;
    }
    .header-1 .icons{
        display: flex;
    }
    .home .row .content{
        text-align: center;
    }
    .home .row .content h3{
        font-size: 3.5rem;
    }
}
@media (max-width:450px){
    html{
        font-size: 42%;
    }
}
@media (max-width:325px){
    html{
        font-size: 40%;
    }
    .header .header-1 .logo{
        font-size: 2.2rem;
    }
}