* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}


/* & ================ Nav SECTION ================ */

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  height: 68px;
  padding: 0 20px;
  font-size: 16px;
  color: #555;
  border-bottom: 1px solid #ddd;
}

.top-bar .company-name {
  font-weight: bold;
  font-weight: 800;
  font-size: 26px;
  color: #000;
}

.company-name {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 16px;
  color: #000;
  gap: 12px;
  /* space between logo and text */
}

.company-logo {
  height: 65px;
  width: auto;
  object-fit: contain;
  display: block;
  margin-left: 120px;
}

/* Text container */
.company-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

/* Main company name */
.company-title {
  font-size: 26px;
  font-weight: 800;
  color: #082362;
}

/* Tagline */
.company-tagline {
  font-size: 14px;
  font-weight: 500;
  color: #d4a017;
  margin-top: 2px;
}

.top-bar .info {
  display: flex;
  gap: 30px;
  align-items: center;
}

.top-bar .info .item {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Icons - simple inline svg for location and mail */
.icon {
  width: 20px;
  height: 20px;
  fill: #d9a534;
}

/* Main nav styling */
nav {
  background: #003474;
  display: flex;
  justify-content: center;
  padding: 15px 0;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color 0.3s;
}

nav ul li a:hover {
  /* color: #d9a534; */
  color: #c4d600;
}

/* Sticky nav */
.sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

.dropdown a {
  cursor: pointer;
}

/* Dropdown menu hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  min-width: 180px;
  z-index: 1000;
}

/* Dropdown menu items */
.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

.dropdown-menu li a:hover {
  color: #c4d600 !important;
  background-color: #f4f4f4;
}

/* Show dropdown on hover (for desktop) */
.dropdown:hover .dropdown-menu {
  display: block;
}


/*& ================= HERO Section ================= */
/* ================= HERO ================= */
.hero-new {
  height: 85vh;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* SLIDER */
.hero-slider {
  height: 100%;
}

/* SLIDE */
.hero-slide {
  height: 100%;
  width: 100%;
  display: none;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* ACTIVE */
.hero-slide.active {
  display: flex;
  align-items: center;
  animation: fadeUp 0.9s ease;
}

/* OVERLAY (READABILITY) */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Directional overlay so text remains readable on varying images */
.content-left.hero-slide::before {
  background: linear-gradient(to right, rgba(8, 47, 102, 0.65) 0%, rgba(8, 47, 102, 0.05) 60%);
}

.content-right.hero-slide::before {
  background: linear-gradient(to left, rgba(8, 47, 102, 0.65) 10%, rgba(8, 47, 102, 0.05) 70%);
}

/* CONTENT COMMON */
.hero-content {
  position: relative;
  z-index: 2;
  width: 44%;
  color: #fff;
  max-width: 680px;
}

/* RIGHT CONTENT */
.content-right .hero-content {
  margin-left: auto;
  margin-right: 5%;
}

/* LEFT CONTENT */
.content-left .hero-content {
  margin-left: 5%;
  margin-right: auto;
}

/* TEXT */
.hero-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
  line-height: 1.05;
}

.hero-content p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.95);
}

/* BUTTON */
.apply-btn {
  display: inline-block;
  background: #c4dd03;
  color: #082f66;
  padding: 14px 42px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
}

.apply-btn {
  min-width: 200px;
}

.apply-btn:hover {
  background: #bed600;
  transform: translateY(-2px);
}

/* DOTS */
.hero-dots {
  position: absolute;
  /* Use a responsive bottom so dots remain inside the visible hero area across viewports */
  bottom: clamp(12px, 6%, 30px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 5;
}

.hero-dots span {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}

.hero-dots span.active {
  background: #c4dd03;
}

/* ANIMATION */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
/* RESPONSIVE */
@media (max-width: 768px) {

  /* Keep a tall hero but slightly reduced for phones */
  /* Let the hero section size to its content on small screens to avoid large blank gaps
     while ensuring each slide has a sensible minimum height so backgrounds remain visible */
  .hero-new {
    height: auto;
    min-height: 0;
  }

  .hero-slide {
    min-height: 58vh;
  }

  /* Maintain side-by-side visual: show image area and keep content to one side */
  .hero-slide.active {
    justify-content: space-between;
    text-align: left;
    padding: 0 4%;
  }

  /* Background anchoring to keep subject visible on small widths */
  .hero-slide.content-left {
    background-position: right center;
  }

  .hero-slide.content-right {
    background-position: left center;
  }

  /* Keep content column narrow so the image remains visible on the other side */
  .hero-content {
    width: 44%;
    max-width: 520px;
    margin: 0;
  }

  /* Slightly reduce headline size for small devices */
  .hero-content h1 {
    font-size: 24px;
    line-height: 1.05;
  }

  .hero-content p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Keep button compact but not full-width on small screens */
  .apply-btn {
    display: inline-block;
    min-width: 160px;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 15px;
    margin-top: 8px;
  }

  /* Reduce top spacing for the about section on small screens so it sits flush after the hero */
  .about-section {
    padding: 40px 16px;
  }

}

/* Very small screens: fallback to centered stacked layout */
@media (max-width: 420px) {
  .hero-new {
    height: 70vh;
  }

  .hero-slide.active {
    justify-content: center;
  }

  .hero-content {
    width: 90%;
    text-align: center;
  }

  .apply-btn {
    display: block;
    width: 90%;
    margin: 12px auto 0;
  }

  /* Ensure dots stay visibly inside the hero on very small devices */
  .hero-dots {
    bottom: 5%;
  }
}

/* Desktop layout: position content left/right explicitly */
.content-left.hero-slide.active {
  justify-content: flex-start;
}

.content-right.hero-slide.active {
  justify-content: flex-end;
}


/*& ================= ABOUT SECTION ================= */
.about-section {
  width: 100%;
  padding: 90px 30px;
  background: #fff;
  overflow-x: hidden;
}

.about-container {
  width: 90%;
  margin: auto;
  /* display: flex; */
  align-items: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  overflow-x: hidden;
}

/* Left Images */
.about-images {
  display: flex;
  flex: 1;
  justify-content: center;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.about-images img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about-content {
  flex: 1.2;
}

/* Right Content */
.about-tag {
  color: #d4a017;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
}

.about-title {
  font-size: 40px;
  font-weight: 700;
  margin: 10px 0 20px;
  line-height: 1.3;
  color: #222;
}

.about-text {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.6;
}

.about-info {
  display: flex;
  gap: 40px;
}

.info-item h4 {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #d4a017;
}

.info-item p {
  color: #666;
  line-height: 1.5;
}

/* Stats Section */
.stats-row {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px;
  justify-content: center;
}

.stat-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
  transition: 0.3s;
  min-width: 0;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card img {
  width: 50px;
  margin-bottom: 15px;
}

.stat-icon {
  width: 42px;
  height: 42px;
  stroke: #d4a017;
  /* brand gold */
  stroke-width: 2;
  fill: none;
  margin-bottom: 10px;
}

.stat-card h3 {
  font-size: 32px;
  font-weight: 700;
  color: #d4a017;
  margin-bottom: 10px;
}

.stat-card p {
  color: #777;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-info {
    flex-direction: column;
  }

  .about-image-box {
    max-width: 420px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-images .img-front {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 20px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-row {
    grid-template-columns: 1fr;
  }
}

/* & <==============  service section  =============> */

:root {
  --bg: #0f1724;
  --card: #0b1220;
  --accent: #06b6d4;
  --muted: #94a3b8;
  --primary-color: #1a73e8;
  --primary-dark: #1557b0;
  --secondary-color: #f8f9fa;
  --text-dark: #202124;
  --text-light: #5f6368;
  --success-color: #34a853;
  --border-color: #dadce0;
  --white: #ffffff;
  --gradient-start: #1a73e8;
  --gradient-end: #4285f4;
  /* font-family: "Inter", system-ui, sans-serif; */
}

body {
  margin: 0;
  /* background: linear-gradient(180deg, #081224, #071022); */
  color: #e6eef8;
}

.ourservice-section {
  background: linear-gradient(135deg, #0b2e6ae7 0%, #062c6e 100%);
  /* max-width: 1100px; */
  margin: 0px auto;
  padding: 32px;
  display: grid;
  align-items: center;
  justify-content: center;
}

.loans-header {
  text-align: center;
  margin-bottom: 20px;
}

.service-tag {
  /* color: var(--accent); */
  color: #f7b204;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
  margin-top: 50px;
}

.lead {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
}

/* GRID → 3 items per row */
.grid {
  display: grid;
  justify-content: center;
  align-items: center;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
  margin-bottom: 80px;
}

/* CARD */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  transition: 0.25s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(198, 196, 196, 0.2);
}

/* IMAGE */
.loan-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}

.muted {
  color: var(--muted);
}

/* DETAILS (EXPANDABLE) */
.details {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
  font-size: 14px;
  margin-bottom: 10px;
}

.details.open {
  max-height: 300px;
}

/* BUTTONS */
.btn {
  background: transparent;
  border: none;
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

.pill {
  margin-left: auto;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 20px;
  font-size: 12px;
  color: var(--muted);
}

.actions {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

/* APPLY NOW BUTTON – mustard yellow */
.apply-btn {
  background: #bed600;
  color: #000;
  font-weight: 700;
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
  cursor: pointer;
  border: none;
  font-size: 15px;
  text-align: center;
  margin-top: 10px;
  transition: 0.3s;
  /* font-family: 'Poppins', sans-serif; */
}

.apply-btn:hover {
  /* background: #e8af04; */
  background: #e4ff17d2;
  /* border: 2px solid #fcfcfc; */
  border: 2px solid rgb(217, 217, 228);
}

/* & <==============  our partners section  =============> */
.partners-section {
  width: 100%;
  padding: 90px 30px;
  /* background: #fff; */
  background: #f8f9fa;
  overflow-x: hidden;
}

.ourpartners-tag {
  color: #d4a017;
  /* font-size: 35px; */
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 10px;
}

.partners-header h3 {
  text-align: center;
  margin-bottom: 30px;
  color: #1c1f29;
  font-size: 35px;
  font-weight: 700;
  /* max-width: 760px; */
  /* margin: 0 auto; */
}

.partners-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.filter-btn {
  padding: 8px 16px;
  background: white;
  border: 1px solid #d3d8e0;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: #0062ff;
  color: white;
  border-color: #0062ff;
}

/* Logo Grid */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 18px;
}

.partner-card {
  background: white;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #e8ebf1;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.partner-card img {
  max-height: 40px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(0%);
}

/* &========================= GETLOAN SECTION ============================= */

.get-loan {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  color: #fff;
  backdrop-filter: blur(4px);
}

/* Moving Animated Gradient Background */
.get-loan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, #1a73e8, #0a3a82, #1a73e8);
  background-size: 300% 300%;
  animation: gradientMove 12s ease infinite;
  z-index: -2;
  filter: blur(6px);
  opacity: 0.85;
}

/* Blur Overlay */
.get-loan::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(8px);
  z-index: -1;
  background: rgba(5, 10, 40, 0.45);
}

/*^ Gradient Animation */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Hero Layout */
.getloan-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 20px;
}

/* Left Content */
.getloan-content {
  flex: 1.2;
  animation: fadeUp 1s ease-out;
}

.loan-tag {
  color: #f7b204;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 20px;
  /* margin-top: 50px; */
}

.getloan-content h1 {
  font-size: 46px;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 700;
}

.getloan-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #eaeaea;
}

/* Features List */
.getloan-features {
  margin-top: 20px;
}

.getloan-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  margin-bottom: 12px;
}

.tick-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #bed600;
  color: #34103e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===================== Floating Icons ======================== */
.floating-icon {
  position: absolute;
  width: 55px;
  opacity: 0.45;
  animation: float 6s ease-in-out infinite;
}

.icon1 {
  top: 12%;
  left: 5%;
  animation-delay: 0s;
}

.icon2 {
  bottom: 15%;
  right: 8%;
  animation-delay: 1.5s;
}

.icon3 {
  top: 50%;
  right: 12%;
  animation-delay: 3s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-18px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* ===================== FORM (Glassmorphic + Animation) ===================== */
.getloan-form {
  flex: 0 0 360px;
  background: rgba(255, 255, 255, 0.12);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: fadeUp 1.3s ease-out;
}

.getloan-form h3 {
  text-align: center;
  margin-bottom: 15px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
}

.getloan-form input,
.getloan-form select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: none;
  margin-bottom: 15px;
  background: rgba(255, 255, 255, 0.9);
}

.submit-btn {
  width: 100%;
  padding: 12px;
  /* background: #4effa1; */
  /* background:#feb704; */
  /* color: #06295d; */
  background: #bed600;
  color: #34103e;
  border: none;
  border-radius: 6px;
  font-size: 17px;

  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.submit-btn:hover {
  /* background: #2ee98c; */
  /* background: #d4a017; */
   background: #d9ff00;
}

/* Form Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .getloan-container {
    flex-direction: column;
    text-align: center;
  }

  .getloan-form {
    width: 100%;
    max-width: 420px;
  }
}

/* ===================== CHATBOT BUBBLE ======================== */
.chatbot-bubble {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #1a73e8;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s;
  z-index: 999;
}

.chatbot-blink {
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.6);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(26, 115, 232, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(26, 115, 232, 0);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-form {
    width: 100%;
    max-width: 400px;
  }

  .trusted-badges {
    justify-content: center;
  }
}

/* ^===============================  why choose us Feature section ==================================== */
/* Features Section */
.features {
  padding: 4rem 2rem;
  /* background: var(--secondary-color); */
  background: #f8f9fa;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-tag {
  display: flex;
  justify-content: center;
  color: #d4a017;
  /* font-size: 35px; */
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #082362;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  /* transition: transform 0.3s, box-shadow 0.3s; */
  transition: all 0.35s ease;
  border: 1px solid #e6e6e6;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-color: #0b4fc7;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #003474, #34103e);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.2rem;
  transition: 0.3s ease;
}

feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-icon svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #082362;
}

.subtext {
  text-align: center;
  font-size: 18px;
  margin-bottom: 3rem;
  color: #333;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.feature-card p {
  color: #5f6368;
  line-height: 1.6;
}

/*^========================= How It Works =============================================*/
.how-it-works {
  padding: 4rem 2rem;
  background: var(--white);
}

.steps-container {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background: #082362;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #082362;
}

.step p {
  color: var(--text-light);
}

/*&========================================== EMI Loan Calculator  =================================================*/
.calculator {
  padding: 4rem 1rem;
  background-color: var(--secondary-color);
  color: #0f172a;
  /* dark readable text */
  opacity: 1
}

.calculator-container {
  max-width: 1200px;
  margin: auto;
  background: #fff;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #0c2f6a;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
}

/* -------- Inputs -------- */
.slider-group {
  margin-bottom: 2.5rem;
}

/* Labels */
.calculator .slider-label span,
.calculator .min-max span {
  color: #212f42;

}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 18px;
}

/* Tenure Toggle */
.tenure-toggle {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 20px;
  padding: 2px;
  margin-left: 10px;
  vertical-align: middle;
}

.toggle-option {
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  border-radius: 15px;
  color: #64748b;
  transition: all 0.3s;
  user-select: none;
}

.toggle-option.active {
  background: #a9e604;
  color: #34103e;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.inline-input {
  display: flex;
  align-items: center;
  background: #f4f7fc;
  border: 1px solid #dbe2ef;
  border-radius: 6px;
  padding: 5px 8px;
}

.inline-input input {
  width: 90px;
  border: none;
  outline: none;
  background: transparent;
  text-align: right;
  font-weight: 600;
  font-size: 15px;
}

input[type=range] {
  width: 100%;
  height: 7px;
  border-radius: 4px;
  /* background: #e5e7eb; */
  background: #a6eb05e0;
  appearance: none;
  margin-top: 10px;
}

input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #196cd9;
  cursor: pointer;
}

.min-max {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #6b7280;
  margin-top: 6px;
}

/* -------- EMI -------- */
.emi-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.emi-circle {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  /* background: conic-gradient(
    #196cd9 0deg,
    #06448a 0deg,
    #9dff01 0deg,
    #e9ebe5 360deg
  ); */

  /* background: conic-gradient(rgb(8 50 106) 0deg, rgb(20 88 177) 313.092deg, #c4dd03 313.092deg, #bed600 360deg); */
  background: conic-gradient(rgb(8 50 106) 0deg,
      rgb(20 88 177) 180deg,
      #c4dd03 180deg,
      #bed600 360deg);

  display: flex;
  align-items: center;
  justify-content: center;
}

.emi-circle-inner {
  width: 170px;
  height: 170px;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.emi-circle-inner p {
  /* color: #64748b; */
  color: #061934;
  font-weight: 800;
  font-size: 18PX;
}

.emi-circle-inner h3 {
  margin-top: .5rem;
  color: #196cd9;
}

.emi-summary {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2rem;
}

.emi-summary span {
  color: #000000;
  font-size: 18px;
}

.emi-summary strong {
  color: #0c2f6a;
}

.emi-summary div {
  text-align: center;
}

/* -------- Table -------- */
.repayment-schedule {
  margin-top: 4rem;
  background: #fdfdfd;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.repayment-schedule h3 {
  color: #111;
  border-left: 4px solid #007bff;
  padding-left: 15px;
  margin-bottom: 20px;
  font-size: 24px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  background: linear-gradient(135deg, #196cd9, #0c2f6a);
  color: #fff;
}

th,
td {
  padding: 12px;
  border: 1px solid #e5e7eb;
  text-align: right;
  /* color: #000; */
}

.calculator table td {
  color: #0f172a;
  font-weight: 500;
}

.calculator table th {
  color: #ffffff;
}

th:first-child,
td:first-child {
  text-align: center;
}

/* -------- Responsive -------- */
@media(max-width:900px) {
  .calculator-grid {
    grid-template-columns: 1fr;
  }
}

/*&==================== Eligibility Section =============================*/
.eligibility {
  padding: 4rem 2rem;
  background: var(--white);
}

.eligibility-container {
  max-width: 1200px;
  margin: 0 auto;
}

.eligibility-tag {
  display: flex;
  justify-content: center;
  color: #d4a017;
  /* font-size: 35px; */
  font-weight: 600;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 10px;
}

.eligibility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.eligibility-card {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.eligibility-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #082362;
}

.eligibility-card ul {
  list-style: none;
  padding-left: 0;
}

.eligibility-card li {
  padding: 0.5rem 0;
  color: var(--text-light);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

/* Circular Tick (Same as Home Loan) */
.tick-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #bed600;
  color: #34103e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/*^======================== Testimonials ============================*/
.testimonials {
  padding: 4rem 2rem;
  background: var(--secondary-color);
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  color: #fbbc04;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #082362;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: #082362;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ====================== FAQ SECTION ====================== */
.faq-section {
  padding: 70px 20px;
  background: var(--secondary-color);
}

.faq-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #003f7f;
  margin-bottom: 40px;
}

.faq-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 18px;
  border-left: 5px solid #007bff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  box-shadow: 0 4px 14px rgba(0, 118, 255, 0.25);
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  cursor: pointer;
}

.faq-number {
  background: #007bff;
  color: #fff;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  font-weight: 600;
}

.faq-header h3 {
  flex: 1;
  font-size: 18px;
  color: #003f7f;
  font-weight: 600;
}

.faq-header .icon {
  font-size: 20px;
  font-weight: 700;
  color: #003f7f;
  transition: 0.3s;
}

.faq-body {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

/* Active State */
.faq-item.active .faq-body {
  max-height: 500px;
  padding: 15px 20px 20px;
}

.faq-item.active .icon {
  transform: rotate(45deg);
  color: #007bff;
}

/* Responsive */
@media (max-width: 600px) {
  .faq-title {
    font-size: 26px;
  }

  .faq-header h3 {
    font-size: 16px;
  }
}


/*&===================== CTA Section ===========================================*/
.cta {
  padding: 4rem 2rem;
  /* background: linear-gradient(135deg, var(--gradient-start) 0%, #081a38 100%); */
  background: linear-gradient(360deg,
      var(--gradient-start) 0%,
      #081a38 100%);
  color: var(--white);
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  background: var(--white);
  color: #082362;
  padding: 1rem 3rem;
  border: none;
  border-radius: 40px;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}



/*& ===================== CONTACT SECTION ===================== */
.contact-section {
  background: #052b52;
  padding: 70px 20px;
  color: #fff;
  /* font-family:"Poppins", sans-serif; */
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-left {
  flex: 1;
  min-width: 300px;
}

.contact-subtitle {
  color: #feb704;
  /* color: #bed600; */
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.contact-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.contact-subtitle2 {
  font-size: 20px;
  font-weight: 600;
  color: #d0e2ff;
  margin-bottom: 18px;
}

.contact-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #d9e6ff;
  max-width: 550px;
  margin-bottom: 25px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #0d3b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.social-icons a:hover {
  /* background: #feb704;
  color: #06295d; */
  background: #bed600;
  color: #34103e;
}

/* RIGHT SIDE */
.contact-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-box {
  display: flex;
  gap: 18px;
  background: #0d3a66;
  padding: 20px;
  border-radius: 10px;
  align-items: center;
  transition: 0.3s;
}

.contact-box:hover {
  transform: translateX(6px);
  background: #114a87;
}

.icon-wrapper {
  background: #fff;
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #003474;
  font-weight: 700;
}

.contact-box h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.contact-box p {
  margin: 2px 0 0;
  color: #d5e3ff;
}

/* Responsive */
@media(max-width:800px) {
  .contact-container {
    flex-direction: column;
    text-align: left;
  }

  .contact-title {
    font-size: 28px;
  }
}



/*^========================== Footer =====================================================*/

.footer-main {
  background: #001a4d;
   /* background: #081a38; */
  color: #ffffff;
  padding: 70px 40px 60px;
  font-size: 14px;
}

/* Shared grid */
.footer-row {
  display: grid;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

/* Top row: About | Legal | Contact */
.footer-top {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 40px;
}

/* Bottom row: Quick Links | Loans | Cards + Insurance */
.footer-bottom {
  grid-template-columns: repeat(3, 1fr);
}

/* Columns */
.footer-col h3 {
  font-size: 25px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-col p {
  line-height: 1.7;
  /* color: #dbe4ff; */
  color: var(--white);
  margin: 0 0 8px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  /* color: #dbe4ff; */
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col ul li a:hover {
  color: #bed600;
}

/* Cards + Insurance stacked spacing */
.stacked-title {
  margin-top: 20px;
}

/* Copyright / legal line shown under footer columns */
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  width: 100%;
  text-align: center;
  font-size: 14px;
  color: #ffffff;
  background: #001a4d;
  display: block;
  padding: 12px 0 8px 0;
  letter-spacing: 0.5px;
  margin-top: 48px;
}

@media (max-width: 520px) {
  .footer-legal {
    font-size: 13px;
    padding: 10px 0;
    margin-top: 28px;
  }
}



/* Responsive */

/* Footer responsive: stack columns on smaller screens */
@media (max-width: 900px) {
  .footer-top,
  .footer-bottom {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .footer-main {
    padding: 56px 32px;
  }

  .footer-col h3 {
    font-size: 20px;
  }

  .footer-col p,
  .footer-col ul li {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-main {
    padding: 40px 18px;
  }

  .footer-col h3 {
    font-size: 18px;
  }

  .footer-col p,
  .footer-col ul li {
    font-size: 13px;
  }

  .footer-legal {
    font-size: 13px;
    padding: 10px 12px;
    margin-top: 24px;
  }
}


/* & =========================================================
   RESPONSIVE & MOBILE MENU STYLES
========================================================= */

/* Hamburger Menu Icon (Hidden on Desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 2000;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 3px;
  transition: 0.3s;
}

/* Hamburger active animation */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ================= MEDIA QUERIES ================= */

@media (max-width: 900px) {

  /* --- TOP BAR --- */
  .top-bar {
    height: auto;
    flex-direction: column;
    padding: 10px 20px;
    gap: 10px;
    text-align: center;
  }

  .company-name {
    margin: 0;
    justify-content: center;
  }

  .company-logo {
    margin-left: 0;
    height: 50px;
  }

  .top-bar .info {
    display: none;
    /* Hide top info on tablet/mobile to save space */
  }

  /* --- NAVIGATION --- */
  nav {
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
  }

  .menu-toggle {
    display: flex;
    /* Show hamburger */
  }

  .nav-list {
    position: fixed;
    top: 0;
    left: -100%;
    /* Hidden by default */
    width: 280px;
    height: 100vh;
    background: #003474;
    flex-direction: column;
    gap: 0;
    padding-top: 130px;
    transition: 0.3s ease;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1500;
  }

  .nav-list.active {
    left: 0;
    /* Slide in */
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list li a {
    display: block;
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 16px;
  }

  /* Dropdowns in mobile menu */
 
  .dropdown-menu {
    position: static;
    display: none;
    /* Hidden by default */
    background: #ffffff;
    /* White background */
    box-shadow: none;
    width: 100%;
    padding-left: 0;
  }

  .dropdown-menu li a {
    color: #1a1a1a !important;
    /* Dark text */
    background: #f8f9fa;
    /* Slight off-white for contrast */
    border-bottom: 1px solid #e9ecef;
    padding-left: 40px;
    /* Indent sub-items */
    font-size: 15px;
  }

  .dropdown-menu li a:hover {
    color: #d4a017 !important;
    /* Orange text on hover */
    background: #ffffff;  
    padding-left: 45px;
    /* Slight movement effect */
  }

  /* Show when hovered OR when active class is added via JS */
  .dropdown:hover .dropdown-menu,
  .dropdown.active .dropdown-menu {
    display: block;
  }

  /* --- HERO --- */
  .hero-new {
    height: auto;
    min-height: 360px;
  }

  .hero-slide {
    padding-top: 80px;
  }

  .hero-slide.active {
    justify-content: center;
    text-align: center;
  }

  .hero-content {
    /* width: 44%; */
    margin: auto;
    /* text-align: center; */
    padding-bottom: 40px;
    position: relative;
  z-index: 2;
  width: 50%;
  color: #fff;
  max-width: 680px;
  }

  /* .content-right .hero-content,
  .content-left .hero-content {
    margin: 0 auto;
  } */

  .content-right .hero-content {
  margin-left: auto;
  margin-right: 5%;
}

  .content-left .hero-content {
    margin-left: 5%;
    margin-right: auto;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  /* --- SECTIONS --- */
  .about-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .grid,
  .features-grid,
  .partners-grid,
  .footer-grid,
  .steps-grid,
  .eligibility-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cols on tablet */
  }

  .getloan-container {
    flex-direction: column;
    text-align: center;
  }

  .getloan-form {
    width: 100%;
    max-width: 100%;
    /* Full width on mobile */
  }

  .calculator-grid {
    grid-template-columns: 1fr;
  }

  .contact-container {
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  /* --- MOBILE SPECIFIC --- */

  .grid,
  .features-grid,
  .partners-grid,
  .footer-grid,
  .steps-grid,
  .eligibility-grid {
    grid-template-columns: 1fr;
    /* 1 col on mobile */
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .about-title,
  .section-title,
  .contact-title {
    font-size: 26px;
  }

  .stats-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nav-list {
    width: 100%;
    /* Full width menu on very small screens */
  }
}

/* ================= LARGE TABLETS / LAPTOPS (900px - 1270px) ================= */
@media (min-width: 900px) and (max-width: 1270px) {

  /* Fix layout for intermediate screens (e.g. laptops) */
  .hero-new {
    height: auto;
    min-height: 500px;
    padding-bottom: 15px;
    /* Ensure space for dots at bottom */
  }

  .hero-slide {
    min-height: 500px;
  }

  /* Ensure dots stay nicely positioned */
  .hero-dots {
    bottom: 25px;
  }

  /* Prevent Nav Crowding */
  nav ul {
    gap: 15px;
    /* Reduce gap from 30px */
  }

  nav ul li a {
    font-size: 15px;
    /* Reduce font from 18px */
    white-space: nowrap;
    /* Prevent text wrapping */
  }
}