
*{
  box-sizing: border-box;
  margin: 0; padding: 0;
}
body{
  font-family: Heebo, Roboto, sans-serif ;
}

/* header */
header{
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  height: 80px;
  width: 100%;

  /* overflow-x: hidden; */

}


.header1{
  width: 70%;
  display: flex;
  justify-content: space-between;
}

.headerlogo{
  width: auto;
display: flex;
justify-content: space-evenly;
align-items: center;

}
.phone{
width: auto;
display: flex;
justify-content: center;
align-items: center;
}
.phone i{
margin-right: 5px;
}


.social{
width: auto;
display: flex;
justify-content: center;
align-items: center;
  gap: 6px;

}
.social i{
  border-radius: 10%;
  background-color: #3b5998;
  padding: 15px;

  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;

  color: white;
  cursor: pointer;
}
.social > :nth-child(2){
  background-color: #262626;
}
.social .jd{
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  
  background-color: lightgrey;
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 10%;
  padding: 15px;
  cursor: pointer;
}


#headerphone{
color: #fdc501;
font-size: 24px;
text-decoration: none;
}
#headerphone span{
color: #3E4958;
font-size: 20px;
}


.icon i{
  margin-right: 10px;
}
.icon a{
  text-decoration: none;
}
.headerdetails button{
  color: white;
  background-color: #231834;
  border-radius: 5px;
  padding: 10px 20px;
}



/* ticker */
.ticker-container {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  color: #000000;
  padding: 2px;
  overflow: hidden;
  white-space: nowrap;
  border: 1px solid black;
  margin: 0 auto;
  width: 100%;
}

#time-label {
  font-weight: bold;
  margin-right: 10px;
  min-width: 100px;
  background-color: #fdc501;
  padding: 5px;
  text-align: center;
}

.ticker-content {
  overflow: hidden;
  flex: 1;
  position: relative;
}

.scroll-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}


.marketprice{
display: flex;
justify-content: space-between;
margin: 0 auto;
  width: 100%;
}
.marketprice span{
font-size: 14px;
}



/* carousel */
.carousel {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin: 20px auto;

  /* border: 1px solid black; */

}

.carouselitem {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;

  /* border: 1px dashed black; */

}

.carouselitem img {
  width: 100%; /* Makes each image take up 100% of the container width */
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;

  
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.left {
  left: 10px;
}

.right {
  right: 10px;
}

.arrow:hover {
  color: rgba(255, 255, 255, 1);
}



.carousel-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

.carousel-dots .dot {
  height: 10px;
  width: 10px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #fdc501;
}






/* products */

.products{
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* border: 1px solid black; */
  padding: 40px 70px;
  background-color: #eeeeee;
}

.productbox{
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  padding: 40px 20px;
 
  column-gap: 30px;
 
  line-height: 30px;
  background-color: white;
  border-radius: 5px 5px 5px 5px;
  box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 50%);
}

.imgcontainer{
  
  width: 27%;
  aspect-ratio: 4 / 3; /* Ensures image container has fixed height */
  overflow: hidden;
  position: relative;
}

.imgslider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.imgslider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.dots span {
  width: 10px;
  height: 10px;
  border: 1px solid black;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.dots span.active {
  background: #fdc501;
}

.imgcontainer img.active {
  opacity: 1;
  z-index: 1;
}

.description{
width: 70%;
line-height: 35px;

}
.description p{
  font-size: 28px;
  color: #5c646f;
}
.description p span{
  font-size: 35px;
  color: #3E4958;
  text-decoration: underline;

}



.endbanner{
  position: relative;
  width: 100%;
  height: 280px;
  background-image: url("../image/trainimg.jpg");
  /* background-color: #fcb900; */
  background-size: cover;
  background-position: center;
  

  /* opacity: 0.7; */

  display: flex;
  justify-content: center;
  align-items: center;
  font-family: roboto, sans-serif;
  
}
.endbanner .overlay{
  position: absolute;
  background-color: #fcb900;
  top: 0;   left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

 .overtext{
  position: absolute;
  z-index: 3;

} 

.text1{
  font-size: 28px;
  color: #3E4958;
  text-align: center;
  font-weight: 500px;
}
.text2{
  font-size: 40px;
  color: #3E4958;
  font-weight: 500px;
  text-align: center;
}
.text2 span{
  font-size: 60px;
  font-weight: 700px;
}



/* foote */
footer{
  background-color: black;
  color: white;
  padding: 20px;
  font-family: Heebo, sans-serif;
  margin-top: 20px;
}

.topfooter{
display: flex;
justify-content: center;
align-items: flex-start;
padding: 50px;
gap: 20px;
align-self: auto;
    flex-basis: auto;
    flex-grow: 1;
    flex-shrink: 1;
}

.section{
/* flex: 1; */
width: 32%;
display: flex;
flex-direction: column;
column-gap: 20px;
padding: 0 15px 0 0 ;

}

.section .title{
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 800px;
}
.section .desc{
  font-size: 16px;
  color: #eeeded;
  line-height: 20px;
  text-align: justify;

}


.footersocial{
  width: 10%;
display: flex;
justify-content: space-between;
align-items: center;
  /* height: 20px; */
  gap: 6px;
  margin-top: 16px;
}
.footersocial i{
  border-radius: 10%;
  background-color: #3b5998;
  padding: 35%;

  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
}
.footersocial .jd{
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  
  background-color: lightgrey;
  display: flex;
  justify-content: center;
  align-items: center;

  border-radius: 10%;
  padding: 35%;

  cursor: pointer;
  
  }

  .footersocial > :nth-child(2){
    background-color: #262626;
  } 

  .connect{
    padding: 5px 5px 15px 0;
    font-size: 22px;
    display: flex;
   
    align-items: center;
  }
  .connect i{
    margin-right: 10px;
    width: 20px;
    font-size: 18px;
    
  }
  .fa-square-phone{
    font-size: 22px;
    padding: 1px;
  }



.bottomfooter p{
text-align: center;
padding: 10px;
}

form{
  display: flex;
  flex-direction: column;
min-height: 150px;
min-width: 100px;
gap: 1px;
}

form input, textarea{
  border-color: #777771;
  background-color: #EDEDED;
  color: #000000;
  font-size: 16px;
    font-family: Roboto;
    font-weight: normal;
    padding: 5px 10px;
    border-radius: 5px;
}
form textarea{
 min-height: 20px;
 margin: 1px;
}

form button{
    background-color: #fcb900;
    color: #FFFFFF;
    font-size: 14px;
    font-family: Roboto;
    font-weight: 500;
    padding: 10px;
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
form button:hover{
  cursor: pointer;
  background-color: #ff8c00;
}










/* responsiveness */
@media(max-width: 780px){
.phone span{
  display: none;
}

.topfooter{
  display: flex ;
  flex-direction: column;
  justify-content: space-between;

  gap: 50px;
}
.topfooter .section{
  width: 100%;
}
.topfooter p{
  text-align: center;
}
.topfooter .title{
  text-align: left;
}

.forpadding{
  padding: 10px !important;
}
.products{
  padding: 10px;
}


.text1{
  font-size: 20px;
}
.text2{
  font-size: 40px;
}
.text2 span{
  font-size: 50px;
}

.carousel{
  margin: 0;
}


}




@media(max-width: 580px){

header{
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.header1{
  width: 100%;
}
header .social{
  align-self: center;
 
}
header .social i{
  padding: 2px;

  font-size: 14px;
  padding: 10px;
  width: 30px;
  height: 30px;
 
}
.social .jd {
  padding: 0 5px;
  width: 10px ;
  height: 30px;
}
.social .jd img {
  width: 14px; 
}

.carousel .arrow{
  display: none;
}


.description{
  line-height: 20px;
  
  }
  .description p{
    font-size: 18px;
    color: #5c646f;
  }
  .description p span{
    font-size: 20px;
    color: #3E4958;
    text-decoration: underline;
  
  }

  .text2 span{
    font-size: 50px;
    display: block;
  }
  
  .section .title{
    font-size: 26px;
    margin-bottom: 16px;
  }
  .section .desc{
    font-size: 14px;
    color: #eeeded;
    line-height: 20px;
    text-align: justify;
  
  }

.topfooter{
  padding: 10px 20px;
}


}