/* =========================
   3 SECTIONS CSS
========================= */

.elig-section,
.compare-section,
.docs-section {
  padding: 100px 0;
}

.elig-section {
  background: var(--cream);
}

.compare-section {
  background: var(--paper);
}

.docs-section {
  background: var(--cream);
}


/* COMMON */

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: 37px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-top: 14px;
}


/* =========================
   ELIGIBILITY
========================= */

.elig-card {
  background: var(--paper);
  border-radius: 10px;
  padding: 0;
  box-shadow: 0 30px 70px -30px rgba(10, 34, 64, .25);
  overflow: hidden;
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line);
}

.elig-progress {
  display: flex;
  background: #031C3B;
}

.elig-progress .dot-step {
  flex: 1;
  text-align: center;
  padding: 16px 10px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .4);
  position: relative;
}

.elig-progress .dot-step.active {
  color: #DA9C26;
}

.elig-progress .dot-step.done {
  color: rgba(255, 255, 255, .75);
}

.elig-progress .dot-step::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: transparent;
}

.elig-progress .dot-step.active::after {
  background: #C9A227;
}

.elig-body {
  padding: 44px;
}

.elig-step {
  display: none;
}

.elig-step.active {
  display: block;
  animation: step-in .4s ease;
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateX(14px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.elig-step h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.elig-sub {
  color: var(--ink-soft);
  font-size: 14px;
  margin-bottom: 28px;
}

.elig-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.elig-opt {
  border: 1.5px solid #031C3B;
  border-radius: 6px;
  padding: 18px 20px;
  cursor: pointer;
  transition: .2s;
  font-weight: 600;
  font-size: 14.5px;
  color: #031C3B;
}

.elig-opt:hover {
  border-color: #031C3B;
  background: #031C3B;
  color: #fff;
}

.elig-opt.selected {
  border-color: #031C3B;
  background: #031C3B;
  color: #fff;
}

.elig-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  align-items: center;
}

.elig-back {
  font-size: 13.5px;
  color: var(--ink-soft);
  cursor: pointer;
  font-weight: 600;
}

.elig-back:hover {
  color: var(--navy-900);
}

.elig-result {
  text-align: center;
  padding: 10px 0;
}

.elig-result .amount {
  font-size: 44px;
  color: #000000;
  margin: 18px 0 6px;
  font-weight: 700;
}

.eyebrow {
  font-size: 12.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #DA9C26;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: #DA9C26;
  display: inline-block;
}

.elig-result .amount span {
  color: #DA9C26;
}

.elig-result p {
  color: var(--ink-soft);
  font-size: 14.5px;
  max-width: 440px;
  margin: 0 auto 26px;
}


/* =========================
   RATE TABLE
========================= */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.compare-table th {
  background: #DA9C26;
  color: #000000;
  text-align: left;
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.compare-table td {
  padding: 18px 20px;
  border-bottom: 1px solid #da9b2672;
  font-size: 14.5px;
  color: white;
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* .compare-table tr:hover td {
  background: #ffffff;
} */

.compare-table .rate {

  font-weight: 600;
  color: #DA9C26;
  font-size: 16px;
}

.compare-note {
  font-size: 12.5px;
  color: #ffffff;
  margin-top: 16px;
  font-style: italic;
}


/* =========================
   DOCUMENTS
========================= */

.docs-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.docs-tab {
  padding: 11px 20px;
  border-radius: 24px;
  border: 1.5px solid var(--line);
  background: #031C3B;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: .2s;
}

.docs-tab:hover {
  border-color: var(--gold-500);
  color: #fff;
}

.docs-tab.active {
  background: #DA9C26;
  border-color: var(--navy-900);
  color: #fff;
}

.docs-panel {
  display: none;
}

.docs-panel.active {
  display: block;
  animation: step-in .35s ease;
}

.docs-entity-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.entity-tab {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  border: 1px solid #DA9C26;
  color: #000000;
  cursor: pointer;
  background: transparent;
}

.entity-tab.active {
  background: #DA9C26;
  color: #fff;
}

.entity-panel {
  display: none;
}

.entity-panel.active {
  display: block;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
}

.doc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px 22px;
}

.doc-card h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: #DA9C26;
  margin-bottom: 12px;
  font-weight: 700;
}

.doc-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-card li {
  display: flex;
  gap: 10px;
  padding: 7px 0;
  font-size: 14px;
  color: var(--ink);
}

.doc-card li::before {
  content: "—";
  color: var(--gold-500);
  flex-shrink: 0;
}


/* =========================
   RESPONSIVE
========================= */

@media(max-width:700px) {

  .elig-options {
    grid-template-columns: 1fr;
  }

  .elig-body {
    padding: 28px;
  }

  .compare-table {
    font-size: 13px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .compare-table th,
  .compare-table td {
    padding: 12px 10px;
  }

}

@media(max-width:800px) {

  .doc-grid {
    grid-template-columns: 1fr;
  }

}

@media(max-width:500px) {

  .elig-progress .dot-step {
    font-size: 10px;
    padding: 13px 5px;
  }

  .elig-result .amount {
    font-size: 32px;
  }

}

.calc-card {
  background: #F2F4F8;
  border-radius: 8px;
  padding: 34px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .5);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .6);
}

.calc-card h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

.calc-card .sub {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 9px;
}

.field label .val {
  color: #DA9C26;

  font-weight: 600;
}

input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 4px;
  background: #E6E1D3;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #DA9C26;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
  cursor: pointer;
}

.calc-result {
  background: #031C3B;
  border-radius: 6px;
  padding: 20px;
  margin-top: 20px;
  background-image: radial-gradient(circle at 100% 0%, rgba(232, 190, 74, .14), transparent 60%);
}

.calc-result-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.calc-result div small {
  color: rgba(255, 255, 255, .6);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.calc-result div b {
  color: #fff;

  font-size: 25px;
  display: block;
  margin-top: 5px;
}

.calc-result .emi b {
  color: #DA9C26;
}

.split-bar {
  display: flex;
  height: 8px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 10px;
}

.split-principal {
  background: #DA9C26;
}

.split-interest {
  background: rgba(255, 255, 255, .25);
}

.split-legend {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
}

.split-legend span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

.split-legend .p::before {
  background: #DA9C26;
}

.split-legend .i::before {
  background: rgba(255, 255, 255, .4);
}






.cibil-score-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background: #031C3B;
}

/* Main Box */
.cibil-score-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  padding: 55px 65px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  background: linear-gradient(135deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Moving Shine */
.cibil-score-box::before {
  content: "";
  position: absolute;
  top: -100%;
  left: -30%;
  width: 30%;
  height: 300%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.12),
      transparent);
  transform: rotate(25deg);
  animation: cibilShine 4s linear infinite;
  pointer-events: none;
}

@keyframes cibilShine {
  0% {
    left: -40%;
  }

  100% {
    left: 140%;
  }
}

/* Content */
.cibil-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cibil-small-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.cibil-small-title i {
  font-size: 15px;
}

.cibil-content h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 700;
}

.cibil-content p {
  max-width: 650px;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  line-height: 1.8;
}

/* Features */
.cibil-features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 30px;
}

.cibil-features span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.cibil-features i {
  font-size: 14px;
}

/* Button */
.cibil-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border-radius: 8px;
  background: #ffffff;
  color: #031c3b;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cibil-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.8),
      transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.cibil-btn:hover::before {
  left: 150%;
}

.cibil-btn:hover {
  transform: translateY(-3px);
  color: #031c3b;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

.cibil-btn i {
  transition: transform 0.3s ease;
}

.cibil-btn:hover i {
  transform: translateX(5px);
}

/* Right Icon */
.cibil-score-icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.score-circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 0 0 15px rgba(255, 255, 255, 0.02),
    0 0 50px rgba(255, 255, 255, 0.08);
  animation: scorePulse 3s ease-in-out infinite;
}

.score-circle::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  animation: scoreRotate 8s linear infinite;
}

.score-circle i {
  color: #ffffff;
  font-size: 65px;
}

/* Glow */
.cibil-shine {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.cibil-shine-one {
  width: 250px;
  height: 250px;
  top: -100px;
  right: 10%;
  background: #ffffff;
  animation: glowMove 5s ease-in-out infinite alternate;
}

.cibil-shine-two {
  width: 180px;
  height: 180px;
  bottom: -80px;
  left: 15%;
  background: #ffffff;
  animation: glowMove 6s ease-in-out infinite alternate-reverse;
}

@keyframes scorePulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes scoreRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes glowMove {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(40px, 20px);
  }
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 991px) {

  .cibil-score-section {
    padding: 60px 0;
  }

  .cibil-score-box {
    padding: 45px 35px;
    gap: 30px;
  }

  .cibil-content h2 {
    font-size: 34px;
  }

  .score-circle {
    width: 145px;
    height: 145px;
  }

  .score-circle i {
    font-size: 50px;
  }
}

@media (max-width: 767px) {

  .cibil-score-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 35px 25px;
  }

  .cibil-content h2 {
    font-size: 30px;
  }

  .cibil-content p {
    font-size: 15px;
  }

  .cibil-score-icon {
    align-self: center;
  }

  .score-circle {
    width: 130px;
    height: 130px;
  }

  .score-circle i {
    font-size: 45px;
  }

  .cibil-features {
    gap: 15px;
  }

  .cibil-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}