:root {
  --primary: #2b82d8;
  --primary-soft: #2b82d826;

  --dark: #0f172a;
  --darker: #020617;

  --bg: #f7f9fc;
  --card: #ffffff;

  --text-dark: #1e293b;
  --text-muted: #64748b;

  --border: #e5e7eb;

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.text-warning {
  color: red !important;
}
#ratingText{
  color: red !important;
}
.section-light {
  background: var(--bg);
}

.section-white {
  background: #fff;
}

.section-alt {
  background: #f1f5f9;
}

.section-dark {
  background: var(--dark);
  color: #fff;
}

.btn-primary-cta {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  box-shadow: 0 12px 30px #2b82d84d;
}

.btn-secondary-cta {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--text-dark) !important;
}
.btn-success{
  background-color: #157347 !important;
}
.btn-light{
  background: #c6c7c8 !important;
}
.apply-btn {
  background: #ef0d0d;
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px #ef0d0d53;
}

.apply-btn-anti{
    background: #ef0d0d;
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 10px 25px #ef0d0d53;
}

.apply-btn:hover {
  background: #c90909;
  transform: translateY(-2px);
  box-shadow: 0 16px 35px #ef0d0d53;
}

.loan-hero {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
}

.loan-hero h1 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  margin: 12px 0;
  color: #fff;
}

.badge {
  display: inline-flex  !important;
  align-items: center;
  font-size: 14px;
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 8px 16px;
  overflow: hidden;
}

.badge-icon {
  padding: 0 6px 0 12px;
  font-size: 18px;
  color: #fff;
  border-right: 1px solid #fff;
}

.badge-text {
  padding: 0 20px 0 8px;
  font-weight: 500;
  color: #fff;
}

.bg-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
}

.bg-blob {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(100px);
}

.blob-1 {
  top: 25%;
  left: 25%;
  background: #ef0d0d1c;
}

.blob-2 {
  bottom: 25%;
  right: 25%;
  background: #ef0d0d1c;
}

.bg-wrapper.faq_blob .blob-1 {
  top: 10%;
  left: 10%;
}

.button-group {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.button-group a {
  padding: 10px 24px;
}

.button-group .emi-btn {
  background: #2a6fb5;
  color: #fff;
  border-radius: 12px;
  transition: all 0.4s ease;
  font-weight: bold;
  text-decoration: none;
}

.button-group .emi-btn:hover {
  background: #2b82d8;
}

.ui-card {
  background: var(--card);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.ui-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

#resultAmount {
  color: var(--primary);
}

.result-box {
  display: none;
}

.btn-hero {
  background: #0783ff;
  color: #fff;
  border: none;
  font-weight: 600;
}

.btn-hero:hover {
  background: #0783ff;
  color: #fff;
}

.loan-wrapper img {
  width: 70%;
  height: auto;
  border-radius: 12px;
  margin-bottom: -80px;
}

/* Title */
.loan-title {
  font-weight: 700;
  font-size: 32px;
  text-align: center;
  margin-bottom: 30px;
}

.highlight-box {
  background: var(--bg);
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  transition: 0.3s;
}

.highlight-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.highlight-box .icon {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 10px;
}

.highlight-value {
  font-size: 24px;
  font-weight: 700;
}

.highlight-label {
  color: #6c757d;
  font-size: 14px;
}

.choose_wrap {
  margin-top: 40px;
}
.choose_wrap p{
  color: #666;
}
.choose_wrap .choose_card {
  background: #fff;
  padding: 4px 0;
  transition: 0.3s;
}

.choose_card h3,
.why_wrap h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0 7px 0;
}
.choose_card ul {
  list-style-type: disc;
  padding-left: 1rem;
  margin: 5px 0;
  padding: 0;
}
.choose_card ul li {
  margin-bottom: 7px;
  list-style-type: none;
  font-size: 14px !important;
    color: #666 !important; 
}
.process-section {
  background:
    radial-gradient(
      circle at top center,
      rgba(253, 214, 114, 0.12),
      transparent 55%
    ),
    #141007;
  color: #ffffff;
}

.process_wrap {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding-top: 40px;
}

.process_wrap::before {
  content: "";
  position: absolute;
  top: 0%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

.process_wrap .process_card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 26px;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  transition: all 0.3s;
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

/* Pulse glow animation */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 #ebbb0d66;
    opacity: 0.7;
  }

  70% {
    box-shadow: 0 0 0 12px #ebbb0d00;
    opacity: 1;
  }

  100% {
    box-shadow: 0 0 0 0 #ebbb0d00;
    opacity: 0.7;
  }
}

.process_wrap .process_card::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2b82d8;

  animation: pulseGlow 2s infinite;
}

.process_wrap .process_card h3 {
  font-size: 22px;
  margin: 10px 0 7px 0;
}

.process_wrap .process_card:nth-child(1)::before {
  animation-delay: 0s;
}

.process_wrap .process_card:nth-child(2)::before {
  animation-delay: 0.4s;
}

.process_wrap .process_card:nth-child(3)::before {
  animation-delay: 0.8s;
}

.process_wrap .process_card:nth-child(4)::before {
  animation-delay: 1.2s;
}

.process_card .process_icon {
  width: 50px;
  height: 50px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.process-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  background: var(--primary-soft);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--primary);
  margin-top: 8px;
}

.calculator-container {
  border-radius: 20px;
  padding: 40px;
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.slider-label {
  font-weight: 600;
  font-size: 16px;
}

.value-text {
  color: var(--primary);
  font-weight: bold;
  font-size: 18px;
}

.range-slider {
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 10px;
  background: #d1d5db;
  outline: none;
}

.range-slider::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
}

.summary-card {
  background: #e5e7eb;
  border-radius: 16px;
  padding: 24px;
}

.emi-box {
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

.emi-value {
  font-size: 48px;
  font-weight: bold;
  color: var(--primary);
}

.info-box {
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.total-box {
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 18px;
  font-weight: bold;
}

.progress-custom {
  height: 14px;
  border-radius: 20px;
  overflow: hidden;
  background: #cbd5e1;
  display: flex;
}

.progress-principal {
  background: #374151;
}

.progress-interest {
  background: var(--primary);
}

.btn-apply {
  background: var(--primary) !important;
  color: white;
  font-weight: 600;
}

.btn-apply:hover {
  background: #d97706;
}

.amort-card {
  background: #fff;
  border-radius: 12px;
  height: 300px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #eee;
  overflow-y: auto;
}

.amort-table {
  margin-bottom: 0;
}

.amort-table thead {
  background: #f7f9fc;
  font-weight: 600;
}

.amort-table th {
  font-size: 14px;
  padding: 12px;
  color: #444;
}

.amort-table td {
  padding: 12px;
  font-size: 14px;
  color: #555;
}

.amort-table tbody tr {
  transition: 0.2s;
}

.amort-table tbody tr:hover {
  background: #f3f6fb;
}

.amort-table td:nth-child(2) {
  font-weight: 600;
  color: #2a6fb5;
}

.amort-table td:nth-child(3) {
  color: #2e7d32;
}

.amort-table td:nth-child(4) {
  color: #d32f2f;
}
.amort-btn {
  background: linear-gradient(135deg, #2a6fb5, #1e4e82);
  color: #fff;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.amort-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #1e4e82, #163a63);
}

.rate-box {
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.rate-value {
  font-size: 40px;
  font-weight: bold;
  color: var(--primary);
}

.rate-bar {
  height: 12px;
  border-radius: 20px;
  background: linear-gradient(to right, #22c55e, var(--primary), #ef4444);
  position: relative;
}

.rate-dot {
  width: 18px;
  height: 18px;
  background: #111827;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.factor-card .factor-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 10px;
}

.tip-list li {
  margin-bottom: 8px;
}

.custom-table th {
  font-size: 14px;
  color: #6b7280;
}

.custom-table td {
  font-size: 14px;
  padding: 14px 8px;
}

.charge-row {
  border-radius: 12px;
  background: #f3f4f680;
  padding: 14px;
  margin-bottom: 10px;
  box-shadow:
    rgba(0, 0, 0, 0.02) 0px 1px 3px 0px,
    rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
}

.icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--primary);
}

.icon-box svg {
  width: 20px;
  height: 20px;
}

.note-box {
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: 12px;
  padding: 14px;
  font-size: 13px;
  color: #374151;
}

.important-box {
  background: var(--primary-soft);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 24px;
}

.important-box h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.eligibility-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  height: 100%;
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
}

/* Number badge */
.badge-number {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary);
  color: white;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Check list */
.check-list li {
  margin-bottom: 12px;
  color: #4b5563;
  list-style: none;
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.doc-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow:
    rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
    rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
  height: 100%;
}

.doc-list {
  margin-top: 15px;
  padding-left: 0;
}

.doc-list li {
  list-style: none;
  margin-bottom: 10px;
  color: #4b5563;
  position: relative;
  padding-left: 18px;
}

.doc-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 8px;
}

.testimonial-slider .ui-card {
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  height: 280px;
  margin: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Stars */
.star {
  color: var(--primary);
  font-size: 14px;
}

/* Avatar */
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border-color: var(--primary) !important;
}

.quote {
  font-size: 28px;
  color: var(--primary) 55;
}

.slick-prev:before,
.slick-next:before {
  color: var(--primary);
}

.accordion-item.ui-card {
  padding: 0;
  box-shadow: var(--shadow-sm);
}

/* Icon circle */
.icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.stats-cta-section {
  background: #1a1a1a;
  padding: 30px 0;
}

.stat-label {
  font-size: 12px;
  color: #797e96;
  font-weight: 700;
  letter-spacing: 1px;
}

.stat-highlight {
  color: #2b82d8;
  font-weight: 500;
  font-size: 14px;
}

/* Desktop divider */
@media (min-width: 992px) {
  .border-lg {
    border-left: 1px solid #797e96;
    border-right: 1px solid #797e96;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 767px) {
  .choose_wrap {
    grid-template-columns: repeat(2, 1fr);
  }

  .process_wrap {
    grid-template-columns: 1fr;
    padding-left: 50px;
  }

  .process_wrap::before {
    width: 2px;
    height: 100%;
  }

  .process_wrap .process_card::before {
    content: "";
    position: absolute;
    top: 50px;
    left: -50px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2b82d8;
    animation: pulseGlow 2s infinite;
  }

  .process_wrap .process_card {
    align-items: flex-start;
    text-align: left;
  }
  .rate-value{
    font-size: 25px;
  }
}

/* =================blog cards============== */
.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.blog-image {
  position: relative;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #0d6efd;
  color: #fff;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.blog-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 13px;
  color: #888;
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.read-more {
  font-size: 14px;
  font-weight: 600;
  color: #0d6efd;
  text-decoration: none;
  transition: 0.3s;
}

.read-more:hover {
  letter-spacing: 0.5px;
}

@media only screen and (max-width:768px){
  .loan-hero h1{
    font-size: 20px;
  }
  .button-group{
    display: block;
  }
  .apply-btn-anti{
    display: block !important;
    width: 100%  !important;
    text-align: center;
  }
  .button-group a{
    display: block !important;
  }
  .button-group .emi-btn{
     display: block;
    width: 100%;
    text-align: center;
  }
  .emi-value{
    font-size: 20px;
  }
}