:root {
  --primary: #043d04;
  --accent: #9333ea;
  --bg: #f4f6fb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
}

.Main-Header-LoanTerms {
  background: linear-gradient(rgba(9, 7, 148, 0.1), #1215e0cc),
    url(/img/All-Nairattt.jpg) no-repeat center
      center / cover;
  height: 700px;
  font-weight: 600;
}
.loanprocess {
  background: #fff;
  position: absolute;
  width: 80%;
  text-align: center;
  left: 9%;
  display: flex;
  color: #4d4a4a;
  top: 90%;
  padding: 30px;
  height: 293px;
  border-radius: 30px;
}

.loanprocess div {
  line-height: 33px;
  padding: 12px;
  font-size: 15px;
}
.jajaja {
  width: 1px;
  height: 90%;
  background: #4d4a4a;
}

/* CALCULATOR */

.wrapperLoanTerms {
  max-width: 1200px;
  margin-top: 210px;
  margin-left: 70px;
  background: #fff;
  padding: 40px 20px;
}

.calculator {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.card {
  background: var(--card);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.section {
  margin-bottom: 40px;
}

.label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
}

.value-box {
  background: #eef2ff;
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 10px;
  font-weight: 600;
}

input[type="range"] {
  width: 100%;
  height: 6px;
  border-radius: 10px;
  background: #e5e7eb;
  outline: none;
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  transition: 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.toggle {
  display: inline-flex;
  background: #e5e7eb;
  border-radius: 50px;
  overflow: hidden;
}

.toggle button {
  border: none;
  padding: 8px 20px;
  background: none;
  cursor: pointer;
  font-weight: 600;
}

.toggle .active {
  background: var(--primary);
  color: white;
}

.rate-box {
  background: #f9fafb;
  padding: 20px;
  border-radius: 15px;
  width: 220px;
}

.rate-box span {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.summary .row span:first-child {
  color: var(--muted);
}

.big-emi {
  font-size: 42px;
  font-weight: 700;
  margin: 20px 0;
}

.apply-btn {
  width: 100%;
  background: var(--primary);
  border: none;
  padding: 14px;
  color: white;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.apply-btn:hover {
  background: #0c3f96;
}

canvas {
  margin: 20px auto;
}

/* Responsive */
@media (max-width: 900px) {
  .calculator {
    grid-template-columns: 1fr;
  }
  .loanprocess {
    background: #fff;
    position: relative;
    width: 90%;
    text-align: center;
    left: 9%;
    display: flex;
    color: #4d4a4a;
    flex-direction: column;
    top: 90%;
    padding: 30px;
    height: 693px;
    border-radius: 30px;
    font-size: 12px;
    margin-bottom: 50px;
  }
  .loanprocess div {
    line-height: 33px;
    padding: 12px;
    font-size: 12px;
  }
  .loanprocess div h2 {
    font-size: 12px;
  }
}
.loanprocess div h2 {
  font-size: 19px;
}
/* TESTIMONIAL */

.sectionTesti {
  padding: 20px 0;
  position: relative;
}

.sliderTestimonial-wrapper {
  max-width: 1150px;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.sliderTestimonial {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.cardTesti {
  min-width: 100%;
  background: #ffffff;
  border-radius: 14px;
  padding: 55px;
  display: flex;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  position: relative;
}

.cardTesti img {
  width: 360px;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.contentTesti {
  padding-left: 60px;
  max-width: 600px;
  position: relative;
}

.watchTesti {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #6b7280;
  margin-bottom: 20px;
}

.watchTesti .iconTesti {
  width: 30px;
  height: 30px;
  background: #3b82f6;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 12px;
}

h2 {
  font-size: 40px;
  margin: 0 0 20px;
  color: #111827;
}

.text {
  font-size: 16px;
  line-height: 1.8;
  color: #6b7280;
  margin-bottom: 35px;
}

.name {
  font-weight: 700;
  font-size: 22px;
  color: #111827;
}

.location {
  font-size: 14px;
  color: #6b7280;
  margin-top: 5px;
}

/* Large decorative quotes */
.cardTesti::after {
  content: "”";
  font-size: 140px;
  color: #f1f3f7;
  position: absolute;
  right: 60px;
  bottom: 40px;
  font-weight: bold;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  margin-left: 30px;
  margin-right: 30px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 18px;
}

.arrow:hover {
  background: #043d04;
  color: white;
}

.prev {
  left: -25px;
}

.next {
  right: -25px;
}

/* Responsive */
@media (max-width: 900px) {
  .cardTesti {
    flex-direction: column;
    text-align: center;
    padding: 40px 25px;
  }

  .cardTesti img {
    width: 100%;
    height: 280px;
  }

  .contentTesti {
    padding-left: 0;
    padding-top: 30px;
  }

  .cardTesti::after {
    display: none;
  }

  h2 {
    font-size: 30px;
  }
}
