* {
  padding: 0px;
  margin: 0px;
}

/* HEADER */
#header {
  img {
    height: 100%;
    width: 100%;
  }

  h1 {
    font-size: 100px;
    letter-spacing: 3px;
    text-align: center;
    color: rgb(255, 255, 255);
    position: absolute;
    top: 300px;
    left: 530px;
  }

  h3 {
    font-size: 40px;
    letter-spacing: 2px;
    text-align: center;
    color: rgb(93, 201, 237);
    position: absolute;
    top: 400px;
    left: 450px;
  }
}

/* MAIN CONTENT */

#herosec {
  height: 1400px;
  width: 1520px;
  background: linear-gradient(180deg, #2e2e2e, #1f1f1f);
  overflow: hidden;
  border-radius: 20px;

  hr {
    width: 90%;
    margin-left: 60px;
    border: 3px solid white;
    border-radius: 10px;
  }

  h1 {
    font-size: 49px;
    color: white;
    margin-left: 10px;
    padding-top: 10px;
  }

  h2 {
    font-size: 30px;
    color: white;
    margin-left: 10px;
    padding-top: 10px;
  }

  p {
    font-size: 20px;
    color: white;
    margin-left: 10px;
    padding-top: 10px;
    word-spacing: 3px;
    letter-spacing: 3px
  }

  img {
    height: 400px;
    width: 600px;
    position: absolute;
    top: 1350px;
    left: 50px;
    border-radius: 30px;
    transition: transform 0.5s ease, filter 0.5s ease, box-shadow 0.5s ease;

  }

  img:hover {
    transform: translateY(-8px) scale(1.03);
    filter: brightness(1.1);
    box-shadow: 0 15px 35px rgba(255, 77, 77, 0.35);
  }

  h3 {
    font-size: 45px;
    color: white;
    margin-left: 10px;
    padding-top: 10px;
    position: absolute;
    top: 1030px;
    left: 1100px;
  }

  h4 {
    font-size: 31px;
    color: white;
    margin-left: 10px;
    padding-top: 10px;
    position: absolute;
    top: 1155px;
    left: 850px;
  }

  .IMG1 {
    height: 400px;
    width: 600px;
    position: absolute;
    top: 0px;
    left: 790px;
    border-radius: 30px;
  }

  .whyus {
    height: 400px;
    width: 1450px;
    position: absolute;
    top: 1800px;
    left: 15px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 15px;
    padding: 20px;

    hr {
      width: 90%;
      margin-left: 60px;
      border: 3px solid white;
      border-radius: 10px;
    }

    h1 {
      font-size: 49px;
      color: white;
      margin-left: 50px;
      padding-top: 30px;
    }

    img {
      height: 250px;
      width: 1350px;
      position: absolute;
      top: 130px;
      left: 100px;
      border-radius: 30px;
    }
  }

  .whyus:hover {
    background-color: #2C2F4A;
    box-shadow: 0 10px 30px rgba(252, 252, 252, 0.6);
  }
}

/* FOOTER */
#footer {
  height: 700px;
  width: 100%;
  background-color: #22201e;
  position: absolute;
  top: 2400px;
}

/* Top heading box */
#footer .box1 {
  height: 150px;
  width: 100%;
  background-color: #ff4646;
  text-align: center;
  padding-top: 15px;
}

#footer .box1 h1 {
  font-size: 41px;
  color: white;
  margin: 0;
}

#footer .box1 h3 {
  font-size: 27px;
  color: white;
  letter-spacing: 7px;
  word-spacing: 7px;
  margin-top: 19px;
}

/* SLIDER */
#footer .slider {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}

#footer .slide-track {
  display: flex;
  gap: 50px;
  width: max-content;
  animation: scrollLeft 70s linear infinite;
}

/* CARD */
#footer .card {
  width: 310px;
  height: 160px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 600;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s ease;

  h3 {
    margin-top: 0px;
    font-size: 15px;
    text-align: center;
    line-height: 1.3;
  }

  h2 {
    margin-top: 0px;
    font-size: 19px;
    font-weight: 500;
    position: absolute;
    bottom: 3px;
    color: #ff4646;
  }
}

#footer .card:hover {
  transform: scale(1.1);
}

/* Animation */
@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
#footer .slider:hover .slide-track {
  animation-play-state: paused;
}

#footer .btn button {
  height: 50px;
  width: 200px;
  background-color: #ff4646;
  border-radius: 25px;
  position: absolute;
  top: 620px;
  left: 660px;
  cursor: pointer;
  color: white;
  font-size: 21px;
  font-family: arial black;
  transition: all 0.4s ease;
}

#footer .btn button:hover {
  background-color: #8B0000;
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(139, 0, 0, 0.6);
}

.card::before,
.card::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
}

.card::before {
  left: 0;
  background: linear-gradient(to right, #1c1c1c, transparent);
}

.card::after {
  right: 0;
  background: linear-gradient(to left, #1c1c1c, transparent);
}