/* General Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  margin: 0;
  color: #333;
}



/* Tabs Section */
.loan-tabs {
  margin: 40px auto;
  text-align: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-container {
  display: inline-flex;
  position: relative;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  padding: 10px;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}
.tabs-container::-webkit-scrollbar {display:none;}

.tab-btn {
  position: relative;
  padding: 12px 20px;
  margin: 0 4px;
  border: none;
  border-radius: 40px;
  font-weight: 600;
  background: transparent;
  color: #2c3e50;
  cursor: pointer;
  transition: all 0.3s ease;
}
.tab-btn:hover {
  color: #1abc9c;
  transform: translateY(-2px);
}
.tab-btn.active {
  color: #fff;
}

/* Sliding Indicator */
.tab-indicator {
  position: absolute;
  bottom: 5px;
  left: 0;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg,#2980b9,#1abc9c);
  transition: all 0.35s ease;
}
.section-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  margin: 40px auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  max-width: 1100px;
}
/* Loan Cards Grid Layout */
.loans-wrapper {
  max-width: 1100px;
  margin: 40px auto;
}

.loan-card.personal { border-left: 5px solid #3498db; }
.loan-card.business { border-left: 5px solid #16a085; }
.loan-card.home { border-left: 5px solid #d35400; }
.loan-card.property { border-left: 5px solid #8e44ad; }
.loan-card.solar { border-left: 5px solid #f1c40f; }
.loan-card.project { border-left: 5px solid #9b59b6; }
.loan-card.ccod { border-left: 5px solid #2c3e50; }
.loan-card.machinery { border-left: 5px solid #27ae60; }

.loan-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  animation: fadeIn 1s ease-in-out;
}

/* Accordion */
.accordion {
  background: #2980b9;
  color: white;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: left;
  border-radius: 6px;
  margin-top: 10px;
  transition: background 0.3s ease;
}
.accordion:hover { background: #1abc9c; }

.panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #f4f4f4;
  border-radius: 6px;
  padding: 0 10px;
  margin-top: 5px;
}

/* Comparison Table */
.comparison {
  grid-column: 1 / -1;
  margin: 40px 0;
  text-align: center;
}
.comparison input {
  padding: 10px;
  margin-bottom: 15px;
  border: 2px solid #2980b9;
  border-radius: 25px;
  width: 60%;
}
.comparison table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.comparison th, .comparison td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  font-size: 0.95rem;
}
.comparison th {
  background: #2980b9;
  color: white;
  cursor: pointer;
}
.comparison tr:nth-child(even) { background: #f9f9f9; }

/* Calculator */
.calculator {
  grid-column: 1 / -1;
  text-align:center;
  margin:40px auto;
  max-width:600px;
  background:white;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.calculator input {
  width:90%;
  padding:10px;
  margin:8px 0;
  border:1px solid #ccc;
  border-radius:6px;
}
.calculator button {
  padding:10px 20px;
  background:#16a085;
  color:white;
  border:none;
  border-radius:6px;
  cursor:pointer;
  transition: all 0.3s ease;
}
.calculator button:hover { background:#1abc9c; }

/* Process Flow */
.process {
  grid-column: 1 / -1;
  text-align: center;
  margin: 80px auto;
  max-width: 1200px;
  padding: 20px;
}
.process h2 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  color: #2c3e50;
}
.progress-bar {
  width: 80%;
  height: 8px;
  background: #ddd;
  margin: 0 auto 30px;
  border-radius: 5px;
  overflow: hidden;
}
.progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg,#1abc9c,#2980b9);
  transition: width 1s ease;
}

.timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 230px;
  text-align: center;
  z-index: 2;
  padding: 20px;
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.9s ease, transform 0.3s ease;
}
.step.reveal.active {
  transform: translateY(0);
  opacity: 1;
}
.step.highlight {
  background: rgba(26,188,156,0.15);
  box-shadow: 0 0 25px rgba(26,188,156,0.6);
  transform: scale(1.05);
  border: 2px solid #1abc9c;
}
.circle {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2980b9, #1abc9c);
  color: #fff;
  font-size: 1.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  animation: pulse 2.5s infinite;
}
.circle span { font-size: 0.9rem; margin-bottom: 4px; display: block; }

/* Reviews Slider */
.reviews {
  grid-column: 1 / -1;
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
}
.review-card .stars {
  color: #f1c40f;
  font-size: 1.1rem;
}

.reviews h2 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: #2c3e50;
}
.review-slider {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
}
.review-card {
  min-width: 280px;
  flex-shrink: 0;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.review-card:hover { transform: translateY(-6px); }
.review-card .avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg,#2980b9,#1abc9c);
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review-card .content p {
  font-style: italic;
  margin-bottom: 8px;
}
.review-card .content span { font-size: 0.9rem; color: #666; }

/* Sticky Apply */
.sticky-apply {
  position:fixed;
  bottom:90px;
  right:20px;
  background:#e67e22;
  color:white;
  padding:15px 25px;
  border-radius:50px;
  text-decoration:none;
  font-weight:bold;
  animation: pulseButton 2s infinite;
  transition: transform 0.3s ease;
}
.sticky-apply:hover { transform: scale(1.1); }
@keyframes pulseButton {
  0% { box-shadow: 0 0 0 0 rgba(230,126,34,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(230,126,34,0); }
  100% { box-shadow: 0 0 0 0 rgba(230,126,34,0); }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover { transform: rotate(15deg) scale(1.1); }
.whatsapp-float img { width: 70%; }

/* Animations */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(26,188,156,0.6); }
  70% { box-shadow: 0 0 0 25px rgba(26,188,156,0); }
  100% { box-shadow: 0 0 0 0 rgba(26,188,156,0); }
}

/* Search Bar */

.section-box {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  margin: 40px auto;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  max-width: 1100px;
}
.search-bar {
  text-align: center;
  margin: 30px auto;
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  max-width: 800px;
}
.search-bar input {
  width: 60%;
  padding: 12px 15px;
  border: 2px solid #2980b9;
  border-radius: 25px;
  font-size: 1rem;
  outline: none;
  transition: 0.3s;
}
.search-bar input:focus {
  border-color: #1abc9c;
  box-shadow: 0 0 8px rgba(26, 188, 156, 0.5);
}


.sticky-nav {
  position: sticky;
  top: 0;
  background: #fff;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  z-index: 1000;
  border-bottom: 2px solid #eee;
}
.sticky-nav a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
}
.sticky-nav a:hover { color: #1abc9c; }

.apply-btn {
  display: inline-block;
  margin-top: 12px;
  padding: 10px 20px;
  background: #2980b9;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}
.apply-btn:hover { background: #1abc9c; }

/* Document Sections */
.doc-section {
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border-left: 4px solid #1abc9c;
  border-radius: 8px;
}

.doc-section h4 {
  margin-bottom: 10px;
  color: #2980b9;
}

.doc-section ul {
  margin-left: 20px;
  list-style-type: disc;
}



/* Preloader Background */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #2c3e50;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 100000; /* सबके ऊपर */
  color: white;
  font-family: 'Segoe UI', sans-serif;
}

/* Loader Circle */
.loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #1abc9c;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hide after load */
body.loaded #preloader {
  display: none;
}
