*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}
body{
    overflow-x: hidden;
    /* background-color: #DAE1F1; */
}
header{
    display: flex;
    justify-content: space-between;
    background-color: #FCFCFE;
    position: sticky;
    top: 0;
    z-index: 10;
}
.title span{
  font-size: 2rem;
}
.title{
  font-size: 2rem;
}
.logo{
    height: 10%;
    width: 10%;
    padding-left: 1rem;
    cursor: pointer;
}
li{
  cursor: pointer;
}
ul{
    padding: 2rem;
    display: flex;
    gap: 2rem;
}
button{
    background-color: #25b3eb;
    color: white;
    border-radius: 50px;
    border-color: transparent;
    margin-top: -10px;
    height: 150%;
    width: 150%;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}
button:hover{
  background-color: white;
  color: #25b3eb;
  border: .5px solid grey; 
}
.container{
    
    height: 100vh;
    width: 100vw;
}
.hero-section{
    height: 100%;
    width: 100%;
    position: relative;
}
.bg-video{
    position: absolute;
    z-index: 1;
    backdrop-filter: blur(240px);
    height: 90%;
    width: 90%;
    left: 5%;
    border-radius: 50px;
    object-fit: cover;

}
.tint{
  position: absolute;
  background-color: rgba(127, 129, 126, 0.5);
  /* opacity: 0.5; */
  height: 90%;
  width: 90%;
  left: 5%;
  border-radius: 50px;
  z-index: 2;
}
.top-content{
  position: absolute;
  margin:0 auto;
  text-align: center;
  top: 10%;
  left: 18%;
}

.top-content h3{
  color: #323393;
  font-weight: 600;
}
.bg-overlay{
    position: absolute;
    left: 26%;
    z-index: 2;   
}
.train-search-form {
    display: flex;
    flex-direction: column;
    background: #fff;
    padding: 5rem;
    padding-top: 4rem;
    margin: 0 -90px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease;
  }
.form-row{
    padding-top: 2rem;
    display: flex;
    gap: 3rem;
}
input{
    border:.5px solid grey;
    border-radius: 40px;
    height: 3rem;
    padding: 2rem;
    font-size: 1rem;
   
}
input[type="checkbox"]{
  
  border:.5px solid grey;
  transform: scale(1.5);
}
input::placeholder{
  font-size: 1rem;
}
input[type="date"]{
  border:.5px solid grey;
}
select,datalist{
    border:.5px solid grey;
    border-radius: 20px;
    padding: 1rem;

    width: 28rem;
    font-size: 1rem;
}
select option,datalist option{
  padding: 2rem;
  font-size: 1.3rem;
  background-color: #F9F5FF;
  border-radius: 20px;
}
select option:hover{
  background-color:#25b3eb;
}
option{
  padding: 1rem;
  font-size: 1rem;
}
.form-last{
    padding-top: 4rem;
    display: flex;
    gap: 1rem;
}
h3{
  font-size: 3rem;
}
span{
    /* margin-top: 15px; */
    font-size: 1.2rem;
}
.form-last button{
    background-color: 	#25b3eb;
    height: 5rem;
    width: 14rem;
    padding: 1rem;
    font-size: 1.4rem;
    margin: -30px 0 0 180px;
    /* border-radius: 50%; */
    border-color: transparent;
}
.train-search-form button:hover{
  background-color: white;
  color: #25b3eb;
  border: .5px solid grey; 
}
input[type="text"]:focus,
select:focus,datalist:focus, input[type="date"]:focus {
  outline: none;
  border: 2px solid #7C3AED; 
  box-shadow: 0 0 5px rgba(124, 58, 237, 0.3); 
  background-color: #f9f5ff; 
}

p{
  color: grey;
  opacity: 0.8;
  line-height: 2.3rem;
  font-size: 2rem;
}

a{
  text-decoration: none;
  font-size: 1.4rem;
  color:rgb(26, 22, 8);
  
}
li{
  display: inline-block; 
  transition: transform 0.3s ease;
  padding: .5rem;
}
li:nth-of-type(-n+5):hover {
  background-color: #25b3eb;
  border-radius: 10px;
  
  transform: scale(1.1);
}
.chk-box{
    height:1rem;
    width:1rem;
}
input[type="checkbox"]{
  height:100%;
  width:100%;
}
footer{
  background-color: #FCFCFE;
  padding: 1rem;
  display: flex;
  gap: 2rem;
  justify-content: center;
  
}

footer:hover{
  background-color: grey;
}
.icons{
  display: flex;
  gap:2rem;
}
footer strong{
  padding:0.8rem;
}
.icons > * {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 0.4rem;
  background-color: #25b3eb;
  color: white; 
  
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: 0.3s ease;
}

.icons > *:hover {
  background-color: white;
  color: #25b3eb;
  cursor: pointer;
  box-shadow: 0 0 8px #25b3eb;
}
.footer-gap{
  display: none;
}


footer .icons i.fa-facebook-f:hover {
  color: #1877F2;
}

footer .icons i.fa-whatsapp:hover {
  color: #25D366;
}

footer .icons i.fa-youtube:hover {
  color: #FF0000;
}

footer .icons i.fa-instagram:hover {
  color: #e440e1;
}

footer .icons i.fa-linkedin-in:hover {
  color: #0077B5;
}

footer .icons i.fa-telegram:hover {
  color: #0088cc;
}

footer .icons i.fa-pinterest:hover {
  color: #BD081C;
}

footer .icons i.fa-tumblr:hover {
  color: #35465C;
}

footer .icons i.fa-twitter:hover {
  color: #1DA1F2;
}

  /* Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

/* laptop-media query */
@media screen and (min-width:1024px){
  body{
    font-size: 2rem;
    max-width: 2056px;
    max-height: 100vh;
  }

}

@media (max-width: 768px) {

      .train-search-form {
        /* display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.92);
        padding: 5rem;
        padding-top: 4rem; */
        margin: 0 auto;
        /* border-radius: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        animation: fadeInUp 0.8s ease; */
      }
      footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
      }

      .icons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
      }

      .icons > * {
        height: 35px;
        width: 35px;
        font-size: 1.2rem;
        padding: 0.3rem;
      }

      header {
        flex-direction: column;       
        align-items: center;
        height: auto;
        padding: 0.5rem;
        gap: 0.4rem;
      }

      .logo {
        height: 4.8rem;               
        width: auto;
        margin: 0 auto;
        /* padding-left: 2.5rem; */
      }

      nav {
        width: 100%;
      }

      header ul {
        padding: 0.3rem;
        display: flex;
        flex-wrap: wrap;              
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        gap: 0.4rem;
        
      }

      header li {
        display: inline-flex;
        min-width: 100px;            
        justify-content: center;
        text-align: center;
        font-size: 0.95rem;
        padding: 0.45rem 0.6rem;
        margin: 0 auto;
        border-radius: 8px;
      }

      a {
        font-size: 1rem;
      }

      
      header li:nth-of-type(-n+5):hover {
        transform: scale(1.03);
      }

      /* form */

      .bg-video {
        height: 100%;
        width: 100%;
        left: 0;
        border-radius: 0;
      }

      .tint{
        height: 100%;
        width: 100%;
      }
    
      .top-content {
        position: relative;
        left: 0;
        top: 0;
        margin-top: 0rem;
        padding: 1rem ;
      }
      .gap{
        display: none;
      }
      .bg-overlay {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        text-align: center;
      }
    
      .train-search-form {
        top: 0;
        padding: 2rem 1rem;
        width: 100%;
        border-radius: 10px;
      }
    
      .form-row {
        flex-direction: column;
        gap: 1rem;
      }

/* fdas       */
      .form-last {
        display: flex;

        /* flex-wrap: wrap; */
        align-items: center;
        gap: 10px;
    }
    
    .form-last .chk-box {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .form-last span {
        margin-right: 15px;
    }
    
    .form-last button {
        margin-left: auto;
    }
/* fdsa     */
      select, datalist, input {
        width: 100%;
      }
    
      .form-last {
        flex-direction: column;
        align-items: center;
        padding-top: 2rem;
      }
      .form-last button {
        margin: 0;
        width: 100%;
        height: 4rem;
        font-size: 1.2rem;
      }

      .footer-gap{
        display: block;
      }
      .train-search-form {
          background: rgba(255, 255, 255, 0.7);
      }
  }
  