.banner-home {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease-in-out;
}

/* Hero Text */
.hero-text {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-align: center;
  /* max-width: 800px; */
  /* padding: 20px; */
}

.hero-text h4 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 500;
}

.hero-text h1 {
  font-size: 75px;
  color: #fff;
  margin: 30px 0 0 0;
  /* margin-bottom: 10px; */
  font-weight: 700;
}

.hero-text p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}

/* Button */
.btn-main {
  padding: 8px 40px;
  background: #ff9d00;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-main:hover {
  background: #ff7800;
}

/* Swiper Navigation */
.swiper-button-prev,
.swiper-button-next {
  color: white !important;
}

/* ANIMATIONS */

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply Animation */
.swiper-slide img {
  animation: fadeInUp 1s ease-in-out;
}

.hero-text h1 {
  animation: fadeInUp 1s ease-in-out 0.4s;
}

.hero-text h4 {
  animation: fadeInDown 1s ease-in-out 0.4s;
}

.hero-text p {
  animation: fadeInUp 1s ease-in-out 0.4s;
}

.hero-text button {
  animation: fadeInUp 1s ease-in-out 0.4s;
}

/* Responsive Design */
@media (max-width: 924px) {
  /* Tablet */
  .hero-text h1 {
    font-size: 40px;
  }
  .hero-text p {
    font-size: 16px;
  }
}

@media (max-width: 668px) {
  /* Mobile */
  .hero-text {
    max-width: 90%;
  }
  .hero-text h1 {
    font-size: 32px;
  }
  .hero-text p {
    font-size: 14px;
  }
  .btn-main {
    font-size: 16px;
    padding: 10px 20px;
  }
}

.hero-info {
  width: 90%;
  text-align: left;
}

.hero-info .loan-calc-box {
  border-radius: 15px;
  border: 2px solid #ccc;
  padding: 2rem 2rem;
  margin-bottom: 50px;
}

.hero-info .loan-calc-box h4 {
  font-size: 2.5rem;
  font-weight: 700;
  color: black;
  margin-bottom: 20px;
  text-align: center;
}

.loan-topper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 20px;
}

.loan-topper button {
  background-color: black;
  color: white;
  border: none;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  padding: 10px 20px;
  border-radius: 55px;
  transition: all 0.5s;
  cursor: pointer;
}

.loan-topper button:hover {
  background-color: #ff9d00;
}

.hero-info .loan-calc-box label {
  font-size: 1rem;
  color: black;
}

.hero-info .loan-calc-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: black;
}

.hero-info .loan-calc-box select {
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  color: black;
}

.hero-info .loan-calc-box select option {
  padding: 10px 0;
}

.input-section1,
.input-section2 {
  display: flex;
  gap: 1rem;
  flex-direction: row;
  justify-content: space-between;
}

.input-section1 label {
  font-weight: 600;
}

.result-section {
  margin-top: 40px;
}

.result-section .result-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: black;
}

.repay-details {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 250px;
}

.repay-detail1,
.repay-detail2 {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.repay-details span {
  font-size: 3rem;
  font-weight: 600;
  color: black;
}

/* Responsive Styles for 1200px, 900px, 700px, and 500px Breakpoints */

@media (max-width: 1200px) {
  /* Styles for 1200px and below */
  .hero-info {
    width: 100%;
    padding: 20px;
  }

  .loan-topper {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .repay-details {
    flex-direction: column;
    gap: 20px;
  }

  .input-section1 {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  /* Styles for 900px and below */

  .hero-info {
    padding: 15px;
  }

  .loan-calc-box {
    padding: 1.5rem;
  }

  .loan-topper {
    flex-direction: column;
    gap: 8px;
  }

  .repay-details {
    flex-direction: column;
    gap: 18px;
  }

  .input-section1 {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  /* Styles for 700px and below */
  .hero-info {
    padding: 10px;
  }

  .loan-calc-box {
    padding: 1rem;
  }

  .loan-topper {
    flex-direction: column;
    gap: 5px;
  }

  .repay-details {
    flex-direction: column;
    gap: 15px;
  }

  .input-section1 {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 500px) {
  /* Styles for 500px and below */
  .hero-info {
    padding: 5px;
  }

  .loan-calc-box {
    padding: 0.8rem;
  }

  .loan-topper {
    flex-direction: column;
    gap: 3px;
  }

  .repay-details {
    flex-direction: column;
    gap: 12px;
  }

  .input-section1 {
    flex-direction: column;
    gap: 8px;
  }

  .repay-details span {
    font-size: 1.8rem;
  }
}
