*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ******************nav bar****************** */

#mainHeader{
    height: 3rem;
}

#navUl{
  list-style-type: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 111;
  background-color: #03346E;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

/* ************* level 1 **************** */

#navUl a{
  color: white;
}

#navUl a:hover,#home a:hover .fa-house{
  color: rgb(184, 252, 12);;
}

#navUl #lvl1DEng .lvl1DEngLi{
  list-style-type: none;
}

#navUl .lvl1 a{
  text-decoration: none;
  color:black;
}

#lvl1DEng {
  position: absolute;
  top: 100%;
  left: 35%;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  display: none;
  border-top: 3px solid red;
  width: 140px;
}

.lvl1DEngLi{
  margin-left: 10px;
}

#lvl1DEng li i{
  margin-left: 8px;
  color: red;
}
 
#lvl1DEng > hr{
  margin: 5px 0;
}

/* ****************** level 2 ************************ */

#dEnglvl2sec{
  width: 740px;
  /* border: 2px solid green; */
  position: absolute;
  top: 11%;
  left: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  display: none;
  list-style-type: none;
  border-top: 3px solid red;
  line-height: 1.5;
}



.lvl2DEngLi a:hover{
  border: 2px solid gold;
  border-radius: 10px;
  padding: 2px;
}

.lvl2Left{
 list-style-type: none;
 position: relative;
 right: 1.5%;
 bottom: 2%;
 width: 35%;
 border-right: 1px solid rgb(145, 142, 142);
}

.lvl2Left,.lvl2Mid,.lvl2Right{
  line-height: 2;
}

.lvl2Mid{
  list-style-type: none;
  position: absolute;
  top: 3%;
  left: 34%;
 border-right: 1px solid rgb(145, 142, 142);
 width: 250px;
}

.lvl2Right{
  list-style-type: none;
  position: absolute;
  top: 3%;
  left: 68%;
  width: 240px;
 
}

/* 03346E  blue, 6EACDA light blue, E2E2B6 light cream, 021526 black */

.ulLi a{ 
  text-decoration: none;
  color: white;
  font-size: large;
}

.ulLi a:hover{
    color: #D3C5E5;
}
.ulLi{
    margin-left: 28px;
    padding: 14px 0;
}

#logo{
    width: 15%;
}

#home .fa-house{
    color: #fff;
   position: relative;
   right: 5px;
   bottom: 2px;
   cursor: pointer;
}
#navUl li>#inputSearch{
    width: 300px;
    border-radius: 10px;
}

#navUl .DMain i{
  margin-left: 5px; 
  color: white;
   font-size: 15px;
}

#navUl .ulLi:hover #dieselEng,#navUl .ulLi:hover i{
  color: rgb(197, 248, 69);
  transition: 0.5s;
}

#navUl li>#inputSearch::placeholder{
  font-size: small;
 }

#navUl li>#inputSearch ~ .fa-magnifying-glass{
    position: relative;
    right: 45px;
    color: black;
}

.ulLi a {
    position: relative;
  }
  
  /* to add a moving line below  */
  .ulLi a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    transition: width 0.3s ease-in-out; 
  }
  
  .ulLi a:hover::after {
    width: 100%;
  }

  /***************************** section 1 *****************************/

  #section1{
    margin-bottom: 20px;
  }

  #section1 div .image1 {
    height: 40em;
    width: 102.4%;
    margin-left: -35px;
  }

 #section1{
    position: relative; 
  }
  
  #section1 h3 {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: orangered;
    background-color: rgba(255, 255, 255, 0.528);
    text-transform: uppercase;
    line-height: 1.5;
    word-spacing: 1px;
    font-size: 35px; 
    text-align: center;
    width: 80%;
    font-family: sans-serif;
    letter-spacing: 1px;
   font-weight: bolder;
   border-radius: 10px;
  }

  /*******************section 2************************* */

  #sec2{
    position: relative;
    margin-bottom: 50px;
  }

  #sec2h1{
    color:rgb(22, 30, 71);
    text-align: center;
    margin-bottom: 30px;
    padding:0 20px;
}

#sec2 .moving-line,#sec3 .moving-line,#sec4 .moving-line,#secbrand .moving-line{
  position: relative;
  display: inline-block;
  left: 40%;
}

#sec2 .moving-line::after,#sec3 .moving-line::after,#sec4 .moving-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #864ecf;
  transition: width 0.3s ease-in-out;
}

#secbrand .moving-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #fef4a6;
  transition: width 0.3s ease-in-out;
}

#sec2 .moving-line:hover::after,#sec3 .moving-line:hover::after,#sec4 .moving-line:hover::after,#secbrand .moving-line:hover::after {
  width: 100%;
}

#sec2Table{
    margin: auto;
    border-collapse: separate;
    border-spacing: 20px;
}

#sec2Table #tr1 > .td, #sec2Table #tr2 > .td,#sec2Table #tr3 > .td{
    background-color: rgb(23, 78, 117);
    border-radius: 10px;
    padding-bottom: 10px;
}

#sec2Table #tr1 > .td:hover, #sec2Table #tr2 > .td:hover,#sec2Table #tr3 > .td:hover{

  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

#sec2Table #tr1 > .td img, #sec2Table #tr2 > .td img , #sec2Table #tr3 > .td img{
    height: 200px;
    width:200px;
    border: 2px solid rgb(60, 240, 15);
    margin :20px;
    border-radius: 30%;
    object-fit:cover;
    background-color: #D3C5E5;
    cursor: pointer;
}

#sec2Table #tr1 > .td img ~ p, #sec2Table #tr2 img > .td ~ p, #sec2Table #tr3 > .td img ~ p{
    color: brown;
    color: #D3C5E5;
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
}

#sec2Table #tr1 > .td img ~ p ~ button{
  background-color: #31473A;
  text-align: center;
  padding:3px 5px;
  display: block;
  margin: 0 auto;
  border-radius: 5px;
  border-color: antiquewhite;
  font-size: 15px;
  color: #EDF4F2;
}
/* ******************section 3 **************************** */

#sec3{
  margin-bottom: 50px;
}
#sec3 #sec3h1{
  text-align: center;
  margin-bottom: 30px;
}

#sec3 #sec3ul1 ,#sec3 #sec3ul2{
  list-style-type: none;
  display: flex;
  padding-left: 80px;
}

#sec3 #sec3ul1 li,#sec3 #sec3ul2 li{
  margin: 10px;
  padding:12px;
  background-color: rgba(201, 196, 24, 0.376);
  border-radius: 5px;
  
}

#sec3 #sec3ul1 li:hover,#sec3 #sec3ul2 li:hover{
  transform: scale(1.1);
  transition: transform 0.3s ease-in-out;
}

#sec3 #sec3ul1 li img,#sec3 #sec3ul2 li img{
  height: 170px;
  width: 220px;
  border-radius: 20px;
}
 
#sec3 #sec3ul1 li p,#sec3 #sec3ul2 li p{
  color: green;
  text-align: center;
  padding: 20px 0;
  font-weight: 600;
  font-size:20px ;
}

/* *******************   section4   ************************ */

#section4-slides{
  height: 500px;
  background-color: rgba(165, 42, 42, 0.363); 
  background-color: rgba(222, 184, 135, 0.831);
  margin-bottom: 50px;
}
#section4-slides .carousel {
  width: 90%;
  margin: auto;
padding:3%;

}

/* *******************catalogue section********************************* */
#mainCat{
  position: relative;
  display: flex;
  background-color: rgb(129, 126, 126);
  height: 700px;
}

#mainCat .Catimg {
  position: absolute;
  top: 0;
  left: 0;
}

#mainCat #img1 {
  height: 700px;
}

#mainCat #img4 {
z-index: 4;
height: 400px;
margin-top: 250px;
margin-left: 800px;
padding: 30px;
background-color: cadetblue;
border-radius: 10px;
box-shadow: #0A66C2;
}

#mainCat button{
  color: white;
  background-color: rgb(153, 9, 103);
  position: absolute;
  left: 45%;
  top: 510px;
  height: 50px;
  width: 300px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 10px;
  z-index: 6;
  transition: transform 0.3s, background-color 0.3s, color 0.3s;

}

#mainCat a{
  text-decoration: none;
 
}

#mainCat a:hover{
  color: white;
  /* color: #263446; */
}

#mainCat button:hover  {
  transform: scale(1.2);
  background-color: #fff;
  color: #31473A;
  box-shadow: 2px ;
  background-image: linear-gradient(to bottom, #c5f4d9, #d9c6f2);
}

/* *****************section brands************************ */

#secbrand{
    margin-top: 50px;
    margin-bottom: 50px;
    background-color: rgba(30, 186, 191, 0.995);
    height: 320px;
}

#secbrandh1{
    color: rgba(177, 61, 4, 0.797);
    text-align: center;
    padding-top: 10px;
    margin-bottom: 30px;
}

#brands{
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.brand img{
    height: 150px;
    width: 150px;
    border-radius: 10%;
    object-fit: contain;
    background-color: white;
    border: 2px solid rgb(251, 251, 124);
    transition: transform 0.3s ease-in-out;
}

.brand img:hover {
  transform: scale(1.2); 
}

/* *************** about us ************************ */
#about-us{
  border: 2px solid none;
  background-color: rgba(180, 187, 182, 0.664);
  margin-bottom: 50px;
}

#about-us>h2{
  text-align: center;
  padding-top: 2%;
  color: blue;
  font-size: 210%;
  font-weight: bold;
}

#about-us #container{
  position: relative;
  display: flex;
  justify-content: space-evenly;
  width: 99.7%;
  height: 100%;
  text-align: center;
}

#about-us #container .img{
  width: 500px;
  height: 400px;
  border-radius: 15px;
  margin: 5%;
}

.about-content{
  border: 2px solid none;
  text-align: center;
  margin-left: 5%;
  padding: 6% 4% 0% 0%;
  font-size: 180%;
  color: purple;
}

.about-content p{
  font-family: sans-serif;
}

#about-us .moving-line{
    position: relative;
}
  
#about-us .moving-line::after {
  content: "";
    position: absolute;
    bottom: 0;
    left: 44.3%;
    right: 0;
    width: 0px;
    height: 2px;
    background-color: #ff2172f1;
    transition: width 0.3s ease-in-out;
  }
  
  #about-us .moving-line:hover::after {
    width: 11.5%;
  }

/* ****************** footer *********************** */

#footer{
  background-color: rgba(84, 76, 76, 0.89);
  color: #fff;
  padding: 25px 0;
}

#footer #divfoot{
  display: flex;
}

#footer ul{
  list-style-type: none;
}

#footer ul li a{
  color: white;
  text-decoration: none;
}

#footer #ulLeft,#footer #ulMidLeft , #footer #ulRightMid{
  width: 30%;
  line-height:2;
}

#footer ul li h1{
  color:rgb(138, 40, 243);
  font-size: 20px;
  font-weight: 700;
  margin-left: 0px;
}

#footer #ulMidLeft li{
  margin-left: 8 rem;
  padding-right: 15px;
  position: relative;
  transition: right 0.2s ease-in-out;
  width: fit-content
}

#footer #ulMidLeft li:hover i,#footer #ulMidLeft li:hover a{
  color: #FF0000;
  position: relative; 
  left: 10px;
  transition: right 0.3s ease-in;
} 

#footer #ulRightMid li i{
  color: rgb(87, 181, 248);
  padding-right: 5px;
}

#footer #ulRightMid li i:hover{
  font-size:25px;
  transition: font-size 0.2s ease-in-out;
}

#footer #ulRight .fa-brands{
  color: black;
  font-size: 30px;
  padding: 10px;
  padding-right: 25px;
}

#footer #ulRight .fa-brands:hover{
  font-size:35px;
  transition: font-size 0.2s ease-in-out;
}

#footer #ulRight .fa-facebook{
  color: #1877F2;
}

#footer #ulRight .fa-square-instagram{
  color:#ee2a7b;
}

#footer #ulRight .fa-linkedin{
  color: #0A66C2;
}

#footer #ulRight .fa-youtube{
  color: #FF0000;
}

#footer .moving-lineF{
  position: relative;
  display: inline-block;
}

#footer .moving-lineF::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0f54dff1;
  transition: width 0.3s ease-in-out;
}

#footer .moving-lineF:hover::after {
  width: 100%;
}

#footer p{
  text-align: center;
  /* color: rgb(236, 238, 112); */
  color: bisque;
}

#footer p .gradient {
  background: linear-gradient(to right, #9dc3f9, #8aecc0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 17px;
  font-weight: 700;
}






