* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.bus {
    font-size: 24px;
    font-weight: 600;
    font-family: sans-serif;
    margin-left: 15%;
    color: #0A0A0A;
}
.u {
    margin-left: 20%;
    gap: 30px;
     font-size: 16px;
    font-weight: 600;
    font-family: sans-serif;
   color: #0A0A0A;
}

.btn1 {
    background-color: #2887FF;
    padding: 8px 30px ;
    border: none;
    border-radius: 20px;
    color: #ffffff;
}


.nav-item1 {
 position: relative;
 left: 35%;
}


.hero-sec {
background-image: url("images/background6.jpg");
height: 70vh;
background-size: cover;
width: 95%;
margin-left: 2%;
display: flex;
background-position: center center;
border-radius: 20px;
justify-content: center;
align-items: center;
gap: 70px;
}


.txt1 {
    font-size: 16px;
    color: #0A0A0A;
}

.head1 {
    font-size: 72px;
    font-family: sans-serif;
    font-weight: 600;
    color: #0A0A0A;
}

.b1 {
    height: 75vh;
}


.play {
    height: 4vh;
}

.btn2 {
    padding: 12px 25px;
    border: none;
    border-radius: 20px;
    background-color: #2887FF;
    color: #ffffff;
}

.btn2:hover {
    background-color: #2476DA;
    transition: background-color 1s ease;
}

.btn3 {
border: none;
padding: 10px;
border-radius: 50%;

}




.head2 {
    font-size: 40px;
    font-weight: 700;
    color: #0A0A0A;
}


.p1 {
    font-size: 16px;
    color: #737373;
}

.content {
    margin-left: 20%;
}






.next-sec {
    margin-left: 20%;
    display: flex;
    gap: 30px;
}

.p2 {
    font-size: 19.2px;
    font-weight: 600;
    color: #000000;
}


.p3 {
    font-size: 16px;
    color: #737373;
}



.star {
    height: 2vh;
}


.rate {
    padding: 1px 20px;
    border: none;
    border-radius: 20px;
    background-color: #2887FF;
    color: #ffffff;
    font-size: 16px;
    margin-left: 50%;
}



.cardimg1:hover {
    transform: rotate(10deg) scale(1.05);
      transform-origin: center center;

}

.cardimg1 {
    height: 25vh;
    border-radius: 20px;
      transition: transform 0.6s ease-in-out;
  will-change: transform;
}


.left:hover {
  transform: rotate(-10deg) scale(1.05);
}

.right:hover {
  transform: rotate(10deg) scale(1.05);
}

.up:hover {
  transform: rotateX(10deg) scale(1.05);
}





.card {
  width: 480px;
  height: 290px;
  background: #F3F4F6;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  text-align: center;
  margin: 20px;
  font-family: sans-serif;
  cursor: pointer;
  display: flex;
}


.text {
  position: absolute;
  width: 100%;
  height: 100%;

  font-size: 17px;
  font-weight: bold;
  transition: transform 0.5s ease, opacity 0.5s ease;
}


.text-default {
  transform: translateY(0%);
  opacity: 1;
  cursor: not-allowed;
}

.text-hover {
  transform: translateY(30%);
  opacity: 0;

}


.card:hover .text-default {
  transform: translateY(-100%);
  opacity: 0;
}

.card:hover .text-hover {
  transform: translateY(0%);
  opacity: 1;
  background-color: #2887FF;
}



.card-sec{
    display: flex;
    justify-content: center;
}


.head3 {
    text-align: center;
    font-size: 40px;
}

.p4 {
    text-align: center;
    color: #737373;
    font-size: 16px;
}



.book {
    height: 5vh;
}



.span3 {
    color: #ffffff;
    font-size: 25px;
}

.span4 {
    font-size: 25px;
}


.show {
    display: flex;
    justify-content: center;
    gap: 90px;
    align-items: center;
}



.img1 {
    height: 70vh;
}



.head4 {
    font-size: 48px;
}


.p5 {
    color: #737373;
}


.background {
    background-image: url("images/showcase2.jpeg");
  height: 7vh;
  background-position: center center;
  background-size: cover;
  border-radius: 10px;
}


.head5 {
    text-align: center;
    font-size: 16px;
    font-weight: 700;
}



.bus-footer {
  background-color: #F3F4F6;
  color: #5e5b5b;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 15px;
  color: black;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  transition: color 0.3s;
  color: #737373;
}

.footer-section ul li a:hover {
  color: blue;
}

.footer-section p {
  color: #737373;
  line-height: 1.6;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 14px;
 color: #737373;
}


@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width:1200px) {
    .show {
        flex-direction: column;
        text-align: center;

    }

    .img1 {
        width: 100%;
        height: auto;
    }

    .background {
        width: 100%;
        height: auto;
    }
}








@media (max-width: 991px) {
  .card {
    width: 45%;
  }
}


@media (max-width: 1000px) {
  .card {
    width: 100%;

  }

  .book {
    width: 40px;
  }

  .span4,
  .span3 {
    font-size: 1rem;
  }

  .text {
    padding: 15px;
  }

  .card-sec {
    gap: 20px;
    flex-direction: column;

  }
}










@media (max-width: 1200px) {
  .next-sec {
        flex-direction: row;
        width: 100%;
        margin-left: 7%;
        text-align: center;
    }

    .cardimg1 {
        width: 100%;
        margin-left: 0%;
        padding: 10px;
        box-shadow: 1px 2px 20px black;
    }

    .content {
        text-align: center;
        margin-left: 0%;
    }
    .span1 {
        display: block;
        width: 100%;
    }
    .rate {
        margin-left: 0%;
    }
}

@media (max-width: 1200px) {
  .next-sec {
        flex-direction: column;
        width: 100%;
        margin-left: 0%;
        text-align: center;
        height: auto;
        object-fit: cover;
    }

    .cardimg1 {
        width: 100%;
        margin-left: 0%;
        padding: 10px;
        box-shadow: 1px 2px 20px black;
            height: auto;
        object-fit: cover;
    }

    .content {
        text-align: center;
        margin-left: 0%;
    }
    .span1 {
        display: block;
        width: 100%;
    }
    .rate {
        margin-left: 0%;
    }
}










@media (max-width:1200px) {
    .hero-sec {
        flex-direction: column;
        text-align: center;
        height: auto;
        width: 100%;
        padding: 20px;
    }


  .b1 {
    height: auto;
    width: 100%;
  }

  body {
    margin: 10px;
  }

}







@media (max-width: 1200px) {
    .u {
        margin-left: 0%; 
        text-align: center;
    }

    .bus {
         text-align: center;
    }

    .nav-item1 {
        position: static;
        text-align: center;
    }
   
    .nav-item {
        border-bottom: 1px solid black;
        border-radius: 10px;
        border-top: 1px solid black;
        gap: 20px;
        box-shadow: 1px 2px 4px black;
    }
}



