/* ===== Global Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #2c3e50;
  text-align: center;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide.active { opacity: 1; }

.hero-content {
  text-align: center;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 20px 30px;
  border-radius: 12px;
  animation: fadeInUp 1s ease;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.hero-content .btn {
  padding: 12px 25px;
  background: #1abc9c;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin: 5px;
  display: inline-block;
  transition: 0.3s;
}

.hero-content .btn.secondary {
  background: #2980b9;
}

.hero-content .btn:hover {
  transform: scale(1.05);
  background: #16a085;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Calculator Widget ===== */
.calculator-widget {
  background: white;
  max-width: 600px;
  margin: 50px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  text-align: center;
}
.calculator-widget input {
  width: 80%;
  margin: 10px auto;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.calculator-widget button {
  padding: 10px 20px;
  background: #1abc9c;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}
.calculator-widget button:hover {
  background: #16a085;
  transform: scale(1.05);
}

/* ===== Offers Section ===== */
.offers-section {
  padding: 60px 20px;
  text-align: center;
  background: #fff;
}
.offers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}
.offer-card {
  background: white;
  padding: 20px;
  width: 280px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.offer-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}
.offer-card h3 { color: #2980b9; }
.offer-card .interest {
  color: #16a085;
  font-weight: bold;
  margin: 8px 0;
}
.apply-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  background: #1abc9c;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: bold;
}
.apply-btn:hover {
  background: #16a085;
  transform: scale(1.05);
}

/* ===== Why Choose Us ===== */
.why-choose {
  padding: 60px 20px;
  background: #f0f8ff;
}
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
.feature {
  background: #fff;
  padding: 25px;
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: 0.3s;
  text-align: center;
}
.feature i {
  font-size: 2rem;
  margin-bottom: 12px;
  color: #1abc9c;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* ===== Partners Carousel ===== */
/* ===== Partners Section ===== */
.partners {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.partners h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.partners-subtitle {
  color: #666;
  margin-bottom: 40px;
  font-size: 1rem;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* ===== Partner Card (Bank Logos) ===== */
.partner-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
  width: 180px;       /* ✅ All cards same width */
  height: 120px;      /* ✅ All cards same height */
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-card img {
  max-width: 100%;
  max-height: 60px;   /* ✅ Logo size fix */
  object-fit: contain;
  filter: grayscale(100%);
  transition: 0.3s;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.partner-card:hover img {
  filter: none;
}

/* ===== Special Card for "150+ Other Partners" ===== */
.partner-card.more-partners {
  background: linear-gradient(135deg, #1abc9c, #2980b9);
  color: white;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  text-decoration: none;   /* ✅ underline remove */
}

.partner-card.more-partners h3 {
  font-size: 2rem;
  margin: 0;
}

.partner-card.more-partners p {
  margin-top: 5px;
  font-size: 0.9rem;
}

.partner-card.more-partners:hover {
  background: linear-gradient(135deg, #16a085, #3498db);
  transform: translateY(-6px);
}

.partner-card.more-partners:hover h3,
.partner-card.more-partners:hover p {
  color: #fff;
}

/* ===== Responsive Layout ===== */
@media (max-width: 900px) {
  .partner-card {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .partner-card {
    width: 100%;
  }
}



/* ===== Stats ===== */
.stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 60px 20px;
  background: #f9f9f9;
}
.stat {
  text-align: center;
}
.stat h3 {
  font-size: 2rem;
  color: #2980b9;
}

/* ===== Process Steps ===== */
.process {
  background: #fff;
  padding: 60px 20px;
}
.steps {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.step {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  width: 150px;
  text-align: center;
  font-weight: bold;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 60px 20px;
  background: #f0f8ff;
}
.testimonial-cards {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scrollbar-width: none;
}
.testimonial-cards::-webkit-scrollbar { display: none; }
.testimonial {
  background: #fff;
  padding: 20px;
  min-width: 280px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}
.testimonial:hover { transform: translateY(-6px); }
.testimonial p { font-style: italic; margin-bottom: 8px; }
.testimonial span { font-weight: bold; color: #2980b9; }

/* ===== Newsletter ===== */
.newsletter {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}
.newsletter form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
.newsletter input {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.newsletter button {
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  background: #1abc9c;
  color: white;
  cursor: pointer;
  font-weight: bold;
}
.newsletter button:hover { background: #16a085; }

/* ===== Trust ===== */
.trust {
  padding: 40px 20px;
  text-align: center;
  font-weight: bold;
  background: #f9f9f9;
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  z-index: 999;
  transition: 0.3s ease;
}
.whatsapp-float img { width: 45px; height: 45px; }
.whatsapp-float:hover {
  transform: scale(1.1);
  background: #20b955;
}


/* ===== Popup Message ===== */
/* ===== Popup Message ===== */
.popup {
  display: none;              /* ✅ Hidden by default */
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.6); /* ✅ Dark overlay */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  max-width: 350px;
  animation: popupFade 0.3s ease; /* ✅ Smooth open animation */
}

.popup-content p {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.popup-content button {
  padding: 10px 18px;
  background: #1abc9c;
  border: none;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s ease;
}

.popup-content button:hover {
  background: #16a085;
  transform: scale(1.05);
}

/* ✅ Popup animation */
@keyframes popupFade {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* 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;
}
