* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
}

.wrap {
  max-width: 1150px;
  margin: 0 auto;
  width: 90%;
}

.top-bar {
  background-color: #624bff;
  padding: 5px 0;
}

.top-bar .sect {
  color: white;
  text-transform: uppercase;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.contact-info {
  display: flex;
  align-items: end;
  gap: 30px;
}

.main-nav {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  align-items: center;
}

.nav-list ul {
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 40px;
  font-weight: 14px;
}

.nav-list ul i {
  color: gray;
}

.nav-list ul li button {
  background-color: #624bff;
  border: none;
  border-radius: 6px;
  padding: 14px;
  color: white;
  font-weight: 600;
}

.mobile-nav {
  border: 1px solid #624bff;
  padding: 5px 6px;
  color: #624bff;
  width: fit-content;
  border-radius: 5px;
  display: none;
}

/* Hero Section with Pure CSS Slider */
.hero {
  position: relative;
  height: 550px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 300%;
  height: 100%;
  animation: slide 12s infinite;
}

.slide {
  width: 33.333%;
  height: 100%;
  position: relative;
}

.slide1 {
  background-image: url("https://easetemplate.com/borrow/assets/images/slider/slider-3.jpg");
  background-size: cover;
  background-position: center;
}

.slide2 {
  background-image: url("https://easetemplate.com/borrow/assets/images/slider/slider-1.jpg");
  background-size: cover;
  background-position: center;
}

.slide3 {
  background-image: url("https://easetemplate.com/borrow/assets/images/slider/slider-2.jpg");
  background-size: cover;
  background-position: center;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10%;
}

.slide-text {
  color: white;
  text-align: left;
  max-width: 550px;
}

.slide-text h2 {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.slide-text .rate {
  font-size: 3rem;
  font-weight: 800;
  color: #ffc107;
}

.slide-text p {
  font-size: 1rem;
  margin: 16px 0;
}

.slide-text button {
  background-color: #624bff;
  border: none;
  padding: 12px 20px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px;
  cursor: pointer;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  border: 2px solid #ccc;
  border-radius: 50%;
  color: #ced4da;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background-color: #624bff;
  color: white;
}

.prev-btn {
  left: 50px;
}

.next-btn {
  right: 50px;
}

@keyframes slide {
  0%,
  30% {
    transform: translateX(0);
  }
  33%,
  63% {
    transform: translateX(-33.333%);
  }
  66%,
  96% {
    transform: translateX(-66.666%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Interest Rates Section */
.rates {
  border-bottom: 1px solid #cdc7c7;
  box-shadow: 0px 3px 5px #c5c5c5;
  z-index: 1;
}

.rate-grid {
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.rate-item {
  display: flex;
  gap: 20px;
}

.rate-item img {
  width: 50px;
  height: 50px;
}

.rate-item h2 {
  font-size: 1.5rem;
  color: #151e2b;
}

.rate-item p {
  color: #6c757d;
}

/* Products Section */
.products {
  padding: 100px 0;
  background-color: #f8f9fa;
  border-bottom: 1px solid #cdc7c7;
}

.prod-head {
  max-width: 725px;
  margin: auto;
  text-align: center;
}

.prod-head h2 {
  color: #151e2b;
  font-size: 2rem;
  margin-bottom: 16px;
}

.prod-head p {
  padding: 0 60px;
  font-size: 20px;
  color: #6c757d;
  margin-bottom: 16px;
}

.prod-grid {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
}

.prod-card {
  border: 1px solid rgba(128, 128, 128, 0.452);
  width: fit-content;
  padding: 32px;
  margin-right: 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: 2px 2px 2px #d1d0d0;
  background-color: #ffffff;
  flex: 1;
}

.prod-card:last-child {
  margin-right: 0;
}

.prod-card img {
  height: 64px;
  width: 64px;
}

.prod-card h3 {
  color: #151e28;
  font-size: 20px;
  margin-top: 30px;
}

.prod-card p {
  color: #6c757d;
  font-size: 1rem;
  margin: 20px 0;
}

.prod-card a {
  color: #624bff;
  font-weight: 600;
  text-decoration: none;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  margin-top: -10px;
}

.pagination p {
  border: 1px solid gray;
  border-radius: 100%;
  font-size: 20px;
  font-weight: 700;
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.pagination span {
  margin-top: -3px;
  color: #444444;
}

/* Easy and Fast Application Section */
.app-sect {
  padding: 100px 0;
  border-bottom: 1px solid #cdc7c7;
  text-align: center;
}

.app-head {
  max-width: 725px;
  margin: auto;
  text-align: center;
}

.app-head h2 {
  color: #151e2b;
  font-size: 2rem;
  margin-bottom: 16px;
}

.app-head p {
  font-size: 20px;
  color: #6c757d;
  margin-bottom: 16px;
}

.app-grid {
  display: flex;
  justify-content: space-between;
  margin: 60px 0;
}

.app-card {
  border: 1px solid rgba(128, 128, 128, 0.452);
  width: fit-content;
  padding: 32px;
  margin-right: 30px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  box-shadow: 2px 2px 2px #d1d0d0;
  background-color: #ffffff;
  flex: 1;
  position: relative;
}

.app-card:last-child {
  margin-right: 0;
}

.app-card h3 {
  color: #151e28;
  font-size: 20px;
  margin-top: 30px;
}

.app-card p {
  color: #6c757d;
  font-size: 1rem;
  margin: 20px 0;
}

.app-card a {
  color: #624bff;
  font-weight: 600;
  text-decoration: none;
}

.app-card span {
  position: absolute;
  top: -20px;
  left: 42%;
  border-radius: 100%;
  z-index: 3;
  border: 2px solid #624bff;
  background-color: white;
  height: 45px;
  width: 45px;
  align-items: center;
  display: flex;
  justify-content: center;
  color: #624bff;
  font-weight: 700;
  font-size: 20px;
}

.app-btn {
  margin-top: 20px;
}

.app-btn button {
  padding: 14px 20px;
  background-color: #624bff;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* People Choose Section */
.choose-sect {
  padding: 100px 0;
  border-bottom: 1px solid #cdc7c7;
  text-align: center;
  background-color: #f8f9fa;
}

.choose-head {
  max-width: 725px;
  margin: auto;
  text-align: center;
}

.choose-head h2 {
  color: #151e2b;
  font-size: 2rem;
  margin-bottom: 16px;
}

.choose-head p {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 16px;
}

.choose-grid {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.choose-card {
  border: 1px solid #cfcbcb67;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 32.17%;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 5px;
}

.choose-card img {
  width: 64px;
  height: 64px;
}

.choose-card h3 {
  font-size: 20px;
  color: #151e28;
  margin-top: 25px;
}

.choose-card p {
  color: #6c757d;
  font-size: 1rem;
  margin: 20px 0;
}

.choose-card a {
  text-decoration: none;
  color: #624bff;
  font-size: 14px;
  padding: 8px 14px;
  border: 1.5px solid #624bff;
  border-radius: 4px;
}

/* Testimonials Section */
.test-sect {
  background-color: #151e28;
}

.test-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 0;
  max-width: 1150px;
  width: 100%;
}

.test-head {
  text-align: center;
}

.test-head h2 {
  color: white;
  font-size: 2rem;
}

.test-head p {
  font-size: 1rem;
  color: #6c757d;
  margin: 15px 0;
}

.test-grid {
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
}

.test-card {
  display: flex;
  flex-direction: column;
  align-items: start;
  max-width: 29.5%;
}

.test-card em {
  background-color: white;
  padding: 32px;
  text-align: justify;
  color: #151e28;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 5px;
}

.test-user {
  display: flex;
  margin-top: 25px;
  gap: 15px;
}

.test-user img {
  height: 40px;
  width: 40px;
  border-radius: 5px;
}

.user-info p {
  color: white;
  font-weight: 600;
}

.user-info span {
  color: #6c757d;
  font-weight: 600;
}
.ct {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Partner Section */
.pt-sec {
  padding: 15px 0;
  box-shadow: 0px 3px 5px #aba4a4;
}

.pt-grid {
  gap: 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.pt-grid img {
  width: 100%;
  height: auto;
}

/* Company News Section */
.nw-sec {
  margin: 100px 0;
  background-color: #f8f9fa;
  box-shadow: 0px 3px 5px #aba4a4;
  padding: 60px 0;
}

.nw-main {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nw-hdr,
.hp-hdr {
  text-align: center;
  color: #151e28;
}

.nw-hdr h2,
.hp-hdr h2 {
  font-size: 2rem;
}

.nw-hdr p {
  font-size: 1rem;
  margin: 15px 0;
}

.nw-cards {
  display: flex;
  justify-content: space-around;
  margin: 50px 0;
}

.nw-card {
  max-width: 29.5%;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.nw-card img {
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  width: 100%;
}

.nw-content {
  border: 1px solid #dbd5d5;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 30px;
}

.nw-content h3 {
  font-size: 20px;
  color: #111111;
}

.nw-content p {
  display: flex;
  gap: 5px;
  color: #dbd6d6;
  margin: 15px 0;
}

.nw-content span {
  color: #6c757d;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
}

.nw-content span a {
  text-decoration: none;
  color: #624bff;
  font-weight: 800;
  margin-left: 5px;
}

.nw-txt {
  color: #6c757d !important;
  font-size: 1rem;
}

.nw-content > a {
  color: #624bff;
  font-weight: 700;
  text-decoration: none;
}

/* Help Section */
.hp-sec {
  margin-bottom: 100px;
}

.hp-hdr p {
  font-size: 1rem;
  margin: 15px auto;
  max-width: 720px;
  text-align: center;
  color: #6c757d;
}

.hp-cards {
  display: flex;
  gap: 30px;
  margin-top: 65px;
}

.hp-card {
  width: 29.5%;
  padding: 62px;
  border: 1px solid #e9e4e4;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  height: fit-content;
}

.hp-card h4 {
  color: #151e28;
  font-size: 1rem;
  margin-top: 40px;
  text-transform: uppercase;
}

.hp-card h3 {
  font-size: 20px;
  color: #151e28;
  margin-top: 20px;
}

.hp-card p {
  color: #6c757d;
  font-size: 1rem;
  margin-top: 25px;
  text-align: center;
}

.hp-card a {
  color: #624bff;
  font-weight: 600;
  margin-top: 25px;
  text-decoration: none;
}

.hp-card > p > a {
  text-decoration: none;
  margin-top: -23px !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Footer */
.ft {
  background-color: #151e28;
}

.ft-hdr {
  display: flex;
  justify-content: space-between;
  padding: 20px;
}

.ft-hdr > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.ft-hdr h3 {
  color: white;
  font-size: 1.25rem;
}

.ft-input {
  display: flex;
  justify-content: center;
}

.ft-input input {
  padding: 16px 20px;
  border: none;
}

.ft-input input[type="email"] {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  width: 420px;
}

.ft-input input[type="email"]::placeholder {
  font-size: 14px;
}

.ft-input input[type="submit"] {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  background-color: #624bff;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.ft hr {
  border: none;
  border-top: 1px solid gray;
}

.ft-main {
  color: #adb5bd;
  display: flex;
  justify-content: space-between;
  margin: 50px 0;
}

.ft-desc {
  width: 48%;
}

.ft-desc > div {
  margin-top: 40px;
  display: flex;
}

.ft-desc > div > div {
  max-width: 273px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.ft-desc > div p {
  max-width: 200px;
}

.ft-links {
  width: 48%;
  display: flex;
  justify-content: space-around;
}

.ft-links ul {
  display: flex;
  flex-direction: column;
  list-style-type: none;
}

.ft-links ul li,
.ft-pages ul li {
  display: flex;
  gap: 20px;
  margin-top: 5px;
  cursor: pointer;
}

.ft-pages {
  display: flex;
  flex-direction: column;
}

.ft-btm {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  color: #adb5bd;
  font-size: 12px;
}

.ft-terms {
  display: flex;
}
