* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins;
  text-decoration: none;
}
body {
  background: #f4f7fb;
}

/* NAV */
.nav {
  display: flex;
  justify-content: space-between;
  padding: 15px 8%;
  background: #0b2d4d;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
}

/* MOBILE BTN */
.menu-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: #1c7ed6;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 2000;
}
.menu-btn span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 3px;
}

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0b2d4d;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  transition: 0.5s;
  z-index: 1999;
}
.mobile-menu a {
  color: white;
  font-size: 26px;
  text-decoration: none;
}
.mobile-menu.show {
  bottom: 0;
}
.close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* SLIDER */
.slider {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: 1s;
}
.slide.active {
  opacity: 1;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #0007;
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}

/* SECTION */
.section {
  padding: 70px 10%;
  text-align: center;
}
.dark {
  background: #0b2d4d;
  color: white;
}
.title {
  font-size: 32px;
  margin-bottom: 40px;
}

/* SECTION TITLE */
.title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 600;
  color: #222;
}

/* CARD CONTAINER */
.card {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}
#loan{
    background-color: rgb(3, 54, 25);
    height: 100%;
    width: 100%;
}

/* GRADIENT BORDER ANIMATION */
.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: linear-gradient(120deg, #00c6ff, #0072ff, #00c6ff);
  background-size: 300% 300%;
  z-index: -1;
  animation: borderMove 6s linear infinite;
  opacity: 0.7;
}

@keyframes borderMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* HOVER EFFECT */
.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
}

/* PROFILE IMAGE */
.profile-img {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}

.profile-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* TEXT STYLING */
.card h3 {
  margin: 6px 0;
  color: #222;
  font-weight: 600;
}

.partner {
  color: #0072ff;
  font-weight: 500;
  margin-top: 10px;
}

.desc {
  margin-top: 15px;
  color: #555;
  line-height: 1.6;
  font-size: 15px;
}

/* FADE-IN ANIMATION */
.card {
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

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

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.box {
  width: 100%;
  background: white;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

.box img {
  width: 100%;
  margin-bottom: 0px;
  object-fit: fill;
}
.box p {
  color: black;
  font-weight: 900;
  font-size: 22px;
}
@media (max-width: 1024px) {
    .box p{
        font-size: 15px;
    }
}
.box:hover {
  transform: translateY(-8px);
}
.highlight {
  background: #ffffff;
  color: white;
}

/* CONTACT */
.contact p {
  margin: 10px;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background: #061a2c;
  color: white;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav nav {
    display: none;
  }
  .slider {
    height: 60vh;
  }
}
