/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Global Styles */
body {
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}



/* Hero Section */
.hero {
    position: relative;
    min-height: 700px;
    background: linear-gradient(135deg, #1F4E8C 0%, #0c2e56 100%);
    overflow: hidden;
    padding: 80px 0 0;
  }
  
  .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  .floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
  }
  
  .shape1 {
    background: #e67e22;
    width: 400px;
    height: 400px;
    top: -180px;
    right: 10%;
    animation: float-slow 15s ease-in-out infinite alternate;
  }
  
  .shape2 {
    background: #3498db;
    width: 350px;
    height: 350px;
    bottom: -100px;
    left: -100px;
    animation: float-slow 12s ease-in-out infinite alternate-reverse;
  }
  
  .shape3 {
    background: #f39c12;
    width: 250px;
    height: 250px;
    top: 40%;
    right: -80px;
    animation: float-slow 18s ease-in-out infinite alternate;
  }
  
  .gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(31, 78, 140, 0) 0%, rgba(0, 20, 50, 0.6) 100%);
  }
  
  @keyframes float-slow {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(30px, 30px) rotate(5deg); }
  }
  
  .hero-container {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  
  .hero-content {
    flex: 1;
    max-width: 580px;
  }
  
  .hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(230, 126, 34, 0.95);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: 0 8px 15px rgba(230, 126, 34, 0.3);
    transform-origin: left center;
    animation: badge-pulse 3s ease-in-out infinite;
  }
  
  @keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
  }
  
  .badge-icon {
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
  }
  
  .hero-title-main {
    display: block;
  }
  
  .hero-title-highlight {
    display: block;
    color: #e67e22;
    position: relative;
  }
  
  .hero-title-highlight::after {
    content: '';
    position: absolute;
    height: 6px;
    width: 60px;
    background: #e67e22;
    bottom: -12px;
    left: 0;
    border-radius: 3px;
  }
  
  .hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 36px;
  }
  
  .hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
  }
  
  .cta-primary, .cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .cta-primary {
    background: linear-gradient(45deg, #e67e22 0%, #f39c12 100%);
    color: white;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.4);
  }
  
  .cta-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 25px rgba(230, 126, 34, 0.5);
  }
  
  .cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(5px);
  }
  
  .cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
  }
  
  .cta-primary i, .cta-secondary i {
    margin-left: 10px;
    transition: transform 0.3s ease;
  }
  
  .cta-primary:hover i, .cta-secondary:hover i {
    transform: translateX(5px);
  }
  
  .hero-stats {
    display: flex;
    gap: 30px;
    margin: 20px;
  }
  
  .stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2px 6px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: float-card 5s ease-in-out infinite;
  }
  
  .stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
  }
  
  .stat-icon {
    color: #e67e22;
    font-size: 24px;
    margin-bottom: 8px;
  }
  
  .stat-number {
    font-size: 30px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
  }
  
  .stat-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .hero-image {
    flex: 1;
    max-width: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .image-container {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .main-image {
    width: 100%;
    max-width: 450px;
    filter: drop-shadow(0px 20px 30px rgba(0, 0, 0, 0.25));
    animation: float-image 4s ease-in-out infinite;
  }
  
  @keyframes float-image {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
  }
  
  .floating-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  }
  
  .card-1 {
    top: 2%;
    left: -53px;
    animation: float-card 5s ease-in-out infinite;
  }
  
  .card-2 {
    bottom: 25%;
    right: -30px;
    animation: float-card 5s ease-in-out 1s infinite;
  }
  
  @keyframes float-card {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
  }
  
  .card-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(230, 126, 34, 0.1);
    color: #e67e22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }
  
  .card-text {
    font-weight: 600;
    color: #333;
  }
  
  .hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
  }
  
  /* Responsive styles */
  @media screen and (max-width: 1200px) {
    .hero-container {
      flex-direction: column;
      text-align: center;
    }
    
    .hero-content {
      max-width: 100%;
    }
    
    .hero-badge, .hero-cta {
      justify-content: center;
    }
    
    .hero-title-highlight::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    .hero-stats {
      justify-content: center;
    }
    
    .hero-image {
      margin-top: 40px;
      max-width: 400px;
    }
  }
  
  @media screen and (max-width: 768px) {
    .hero {
      min-height: 600px;
      padding-top: 60px;
    }
    
    .hero-title {
      font-size: 2.5rem;
    }
    
    .hero-description {
      font-size: 16px;
    }
    
    .stat-card {
      flex: 1;
      min-width: 100px;
      padding: 12px;
    }
    
    .stat-number {
      font-size: 24px;
    }
    
    .stat-text {
      font-size: 12px;
    }
    
    .floating-card {
      padding: 8px 12px;
      transform: scale(0.9);
    }
  }
  
  @media screen and (max-width: 576px) {
    .hero {
      min-height: 550px;
    }
    
    .hero-title {
      font-size: 2rem;
    }
    
    .hero-stats {
      flex-wrap: wrap;
      gap: 15px;
    }
    
    .stat-card {
      flex: 0 0 calc(50% - 15px);
    }
    
    .cta-primary, .cta-secondary {
      width: 100%;
    }
    
    .card-1 {
      top: 10%;
      left: -10px;
    }
    
    .card-2 {
      bottom: 15%;
      right: -10px;
    }
  }


  /* How It's Work 1 start */
 /*  How It Works Section Styles */
 :root {
  --primary: #4361ee;
  --primary-dark: #3a56d4;
  --primary-light: #eef1ff;
  --accent: #ff9f43;
  --accent-dark: #f7941d;
  --text-dark: #2d3748;
  --text-medium: #4a556c;
  --text-light: #718096;
  --white: #ffffff;
  --gray-light: #f8fafc;
  --gray-medium: #e2e8f0;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s ease;
}

.how-it-works {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--gray-light) 0%, #f0f4ff 100%);
  position: relative;
  overflow: hidden;
}

/* Modern glass morphism background elements */
.how-it-works::before {
  content: '';
  position: absolute;
  width: 40%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.08) 0%, rgba(67, 97, 238, 0) 70%);
  top: -10%;
  right: -10%;
  z-index: 0;
}

.how-it-works::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 159, 67, 0.05) 0%, rgba(255, 159, 67, 0) 70%);
  bottom: -20%;
  left: -15%;
  z-index: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header styling */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-badge-p{
      color: #718096;
    font-size: 18px;
    padding: 10px;
}

.section-header h2 {
  color: var(--text-dark);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 4px;
  background: var(--accent);
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.section-description {
  color: var(--text-medium);
  font-size: 18px;
  max-width: 600px;
  margin: 10px auto 0;
}

/* Steps container - modern card layout */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.step-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Step icon styling */
.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}

.step-icon svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.step-number {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.step-card h3 {
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.step-card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* CTA styling */
.cta-container {
  text-align: center;
  margin-top: 40px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
  transition: var(--transition);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(67, 97, 238, 0.4);
}

.cta-button svg {
  width: 20px;
  height: 20px;
  margin-left: 8px;
  transition: var(--transition);
}

.cta-button:hover svg {
  transform: translateX(5px);
}


/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .how-it-works {
    padding: 80px 0;
  }
  
  .section-header h2 {
    font-size: 32px;
  }
  
  .section-description {
    font-size: 16px;
  }
  
  .steps-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 480px) {
  .section-header h2 {
    font-size: 28px;
  }
  
  .section-badge {
    font-size: 12px;
  }
  
  .step-card {
    padding: 30px 20px;
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
  }
  
  .cta-button {
    padding: 14px 28px;
    font-size: 15px;
  }
}
/* How it's Work 1 end */


/* EMI Calculator Section */
.emi-calculator {
    padding: 80px 0;
    background-color: #fff;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}


.section-title h2::after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: var(--accent);
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Don't forget to make the h2 relatively positioned */
.section-title h2 {
  position: relative;
}


.section-title p {
    color: #718096;
  font-size: 18px;
  padding-top: 10px;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.calculator-form {
    flex-basis: 45%;
    min-width: 300px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.calculate-btn {
    background-color: #e67e22;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    font-size: 16px;
}

.calculate-btn:hover {
    background-color: #d35400;
}

.calculator-results {
    flex-basis: 45%;
    min-width: 300px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.chart-container {
    width: 100%;
    margin-bottom: 20px;
}

.result-details {
    margin-top: 20px;
}

.result-details h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.result-label {
    font-weight: 600;
    color: #555;
}

.result-value {
    font-weight: 500;
    color: #e67e22;
}

.pie-chart-container {
    position: relative;
    height: 250px;
    width: 100%;
}

.loan-type-info {
    margin-top: 20px;
    padding: 15px;
    background-color: #f0f8ff;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

.loan-type-info h4 {
    margin-bottom: 10px;
    color: #3498db;
}

.error-input {
    border: 2px solid #e74c3c !important;
    background-color: #fdf2f2 !important;
}

.error-message {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}



 /* Additional custom pie chart styles */
 .pie-chart-container {
  position: relative;
  height: 250px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#custom-pie-chart {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: conic-gradient(#868788 0% var(--principal-percentage), #e67e22 var(--principal-percentage) 100%);
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.color-box {
  width: 16px;
  height: 16px;
  border-radius: 3px;
}

.principal-color {
  background-color: #646464;
}

.interest-color {
  background-color: #e67e22;
}

/* Tooltip styles */
.chart-tooltip {
  position: absolute;
  background: rgba(0,0,0,0.8);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12px;
  display: none;
  z-index: 100;
  pointer-events: none;
}



/* Partner Banks Section */
.partner-banks {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.banks-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.bank-card {
    flex: 0 0 calc(20% - 20px);
    min-width: 150px;
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.bank-card:hover {
    transform: translateY(-5px);
}

.bank-logo {
    height: 60px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-logo img {
    max-width: 100%;
    max-height: 100%;
}


/* Services Section */
.services {
    padding: 80px 0;
    background-color: #fff;
}

.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 0 0 calc(33.33% - 30px);
    min-width: 300px;
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}



/* Don't forget to make the h2 relatively positioned */
.section-title h2 {
  position: relative;
}

.section-title p {
      color: #718096;
    font-size: 18px;
    padding: 10px
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-img {
    height: 200px;
    background-color: #ddd;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-content {
    padding: 20px;
}

.service-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.service-content p {
    color: #777;
    margin-bottom: 15px;
}

.read-more {
    color: #e67e22;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.read-more:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #e67e22;
    transform-origin: bottom right;
    transition: transform 0.3s;
}

.read-more:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* LIC HFL Formats Section */
.lic-hfl-formats {
    background-color: #4b4b4b;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.lic-hfl-formats h2 {
    margin-bottom: 20px;
}

.click-here-btn {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.click-here-btn:hover {
    background-color: #d35400;
}




        /* Customer Testimonials Section */
        .testimonials {
            padding: 100px 0;
            background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
            position: relative;
            overflow: hidden;
        }

        .testimonials::before {
            content: '';
            position: absolute;
            width: 350px;
            height: 350px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(67, 97, 238, 0.02) 100%);
            bottom: -150px;
            right: -100px;
            z-index: 0;
        }

        .testimonials::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: linear-gradient(135deg, rgba(230, 126, 34, 0.05) 0%, rgba(230, 126, 34, 0.02) 100%);
            top: -50px;
            left: -50px;
            z-index: 0;
        }

        .testimonials .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 2;
        }

        .testimonials .section-title .subtitle {
            display: inline-block;
            background-color: rgba(230, 126, 34, 0.1);
            color: #e67e22;
            padding: 8px 16px;
            border-radius: 50px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .testimonials .section-title h2 {
            font-size: 42px;
            color: #2d3748;
            margin-bottom: 25px;
            position: relative;
            display: inline-block;
        }

        .testimonials .section-title h2::after {
            content: '';
            position: absolute;
            width: 70px;
            height: 4px;
            background: #e67e22;
            bottom: -12px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .testimonials .section-title p {
            color: #718096;
            font-size: 18px;
            max-width: 600px;
            margin: 25px auto 0;
        }

        .testimonials-slider {
            position: relative;
            max-width: 100%;
            margin: 0 auto;
            z-index: 2;
            overflow: hidden;
        }

        .testimonial-container {
            display: flex;
            animation: marquee 80s linear infinite;
            width: fit-content;
        }

        .testimonial-container:hover {
            animation-play-state: paused;
        }

        .testimonial-card {
            flex: 0 0 auto;
            width: 350px;
            margin: 0 15px;
            background-color: white;
            border-radius: 12px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            position: relative;
            opacity: 1;
        }

        .testimonial-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .quotation-mark {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 60px;
            line-height: 1;
            color: rgba(230, 126, 34, 0.1);
            font-family: 'Georgia', serif;
        }

        .testimonial-text {
            font-size: 16px;
            line-height: 1.7;
            color: #718096;
            margin-bottom: 20px;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            margin-top: 20px;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            overflow: hidden;
            margin-right: 15px;
            background-color: #f0f0f0;
            border: 3px solid rgba(230, 126, 34, 0.2);
        }

        .author-avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .author-info {
            flex: 1;
        }

        .author-name {
            font-size: 18px;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 4px;
        }

        .author-role {
            font-size: 14px;
            color: #e67e22;
        }

        .rating {
            display: flex;
            margin-bottom: 10px;
        }

        .star {
            color: #f39c12;
            font-size: 18px;
            margin-right: 2px;
        }

        /* Hide navigation elements */
        .testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    position: relative;
    z-index: 2;
}

.dots-container {
    display: flex;
    gap: 8px;
}

.dot-btn {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.18);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.dot-btn.active {
    background: #e67e22;
    transform: scale(1.35);
}

.nav-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: white;
    cursor: pointer;
    font-size: 18px;
    color: #2d3748;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.nav-arrow:hover {
    background: #e67e22;
    color: white;
    border-color: #e67e22;
}

        /* Marquee Animation - Seamless infinite scroll */
        @keyframes marquee {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(-50%);
            }
        }

        /* Responsive Styles */
        @media screen and (max-width: 1200px) {
            .testimonial-card {
                width: 320px;
            }
            
            .testimonials .section-title h2 {
                font-size: 38px;
            }
        }

        @media screen and (max-width: 992px) {
            .testimonials {
                padding: 80px 0;
            }
            
            .testimonials .section-title h2 {
                font-size: 36px;
            }
            
            .testimonials .section-title p {
                font-size: 16px;
            }

            .testimonial-card {
                width: 300px;
            }
        }

        @media screen and (max-width: 768px) {
            .testimonial-card {
                width: 280px;
                padding: 25px;
            }
            
            .testimonials .section-title {
                margin-bottom: 40px;
            }
            
            .testimonials .section-title h2 {
                font-size: 30px;
            }

            .testimonial-container {
                animation-duration: 25s;
            }
        }

        @media screen and (max-width: 576px) {
            .testimonials {
                padding: 60px 0;
            }
            
            .testimonials .section-title h2 {
                font-size: 26px;
            }
            
            .testimonials .section-title p {
                font-size: 14px;
            }
            
            .testimonial-card {
                width: 260px;
                padding: 20px;
            }
            
            .author-avatar {
                width: 50px;
                height: 50px;
            }
            
            .author-name {
                font-size: 16px;
            }
            
            .testimonial-text {
                font-size: 14px;
            }

            .testimonial-container {
                animation-duration: 20s;
            }
        }

        /* Animation for initial fade in */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* .testimonial-card {
            animation: fadeIn 0.5s ease forwards;
            animation-delay: calc(var(--card-index) * 0.1s);
        } */

/* ============================
   RESPONSIVE STYLES 
   ============================ */

/* Small screens (phones) */
@media screen and (max-width: 576px) {
    .section-title h2 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 14px;
    }
    
    .apply-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
    
    .step {
        padding: 20px;
        margin: 10px 0;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .form-group label,
    .form-group input,
    .form-group select {
        font-size: 14px;
    }
    
    .bank-card {
        min-width: 120px;
    }
    
    .copyright {
        font-size: 12px;
    }
}


/* Large screens (tablets landscape to small desktops) */
@media screen and (min-width: 769px) and (max-width: 992px) {
    .bank-card {
        flex: 0 0 calc(25% - 20px);
    }
    
    .service-card {
        flex: 0 0 calc(50% - 30px);
    }
    
    .calculator-form, 
    .calculator-results {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
    
    .calculator-container {
        flex-direction: column;
    }
    
    .footer-column {
        flex: 0 0 50%;
    }
    
    .footer-column:last-child {
        flex: 0 0 100%;
        margin-top: 20px;
    }
}

/* Landscape orientation for phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .hero p {
        margin-bottom: 15px;
    }
    
    .how-it-works,
    .emi-calculator,
    .partner-banks,
    .services {
        padding: 40px 0;
    }
    
    .section-title {
        margin-bottom: 30px;
    }
    
    nav {
        overflow-y: auto;
    }
}

/* High-DPI Phone Screens */
@media screen and (max-width: 576px) and (min-resolution: 2dppx) {
    .step, .bank-card, .service-card, .calculator-form, .calculator-results {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .footer-links a, 
    .contact-info a {
        padding: 8px 0;  /* Larger touch target */
    }
    
    .form-group input,
    .form-group select,
    .calculate-btn {
        height: 44px; /* Larger touch target */
    }
}

@media (max-width: 768px) {
    .dots-container {
        display: none;
    }
}





