/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1e3a8a;
  --primary-hover: #1e40af;
  --secondary-color: #3b82f6;
  --accent-color: #60a5fa;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --background: #ffffff;
  --background-gray: #f9fafb;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --whatsapp-color: #25D366;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: var(--background);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.logo-img {
  height: 100px;
  width: auto;
  transition: transform 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 1.75rem;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-btn {
  background: var(--primary-color);
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: background 0.3s;
}

.nav-btn:hover {
  background: var(--primary-hover);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(30, 58, 138, 0.50), rgba(30, 58, 138, 0.50)), 
              url('/static/hero-family.jpg') center/cover;
  color: white;
  padding: 6rem 0;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary-color);
  border-color: white;
}

.btn-secondary:hover {
  background: var(--background-gray);
  transform: translateY(-2px);
}

.btn-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.btn-link:hover {
  color: var(--primary-hover);
}

.service-card .btn-link {
  color: white;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s;
}

.service-card .btn-link:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.full-width {
  width: 100%;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.page-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

/* Service Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--background);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 3rem;
  color: white;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 700;
}

.service-card p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

/* About Section */
.about-section {
  background: var(--background-gray);
}

.about-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: var(--background-gray);
  border-radius: 1rem;
  padding: 3rem;
  margin: 2rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Loan Types Page */
.loan-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.loan-card {
  background: var(--background);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  border: 2px solid var(--border-color);
  transition: all 0.3s;
}

.loan-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 16px rgba(30, 58, 138, 0.15);
}

.loan-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.loan-icon i {
  font-size: 2.5rem;
  color: white;
}

.loan-card h3 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.loan-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.loan-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.5rem;
}

.loan-features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: 700;
}

/* EMI Calculator */
.calculator-container {
  max-width: 900px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.calculator-form {
  background: var(--background-gray);
  padding: 2rem;
  border-radius: 1rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.value-display {
  color: var(--primary-color);
  font-size: 1.125rem;
  font-weight: 700;
}

.form-group input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(to right, var(--primary-color) 0%, var(--accent-color) 100%);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.form-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: 3px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.form-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-hover);
}

.form-group input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  border: 3px solid var(--primary-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
}

.form-group input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-hover);
}

.slider-range {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.875rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
}

.calculator-result {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.result-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
}

.result-label {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.result-value {
  font-size: 3rem;
  font-weight: 700;
}

.result-details {
  background: var(--background-gray);
  padding: 2rem;
  border-radius: 1rem;
}

.result-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.result-row:last-child {
  border-bottom: none;
  font-weight: 600;
  color: var(--primary-color);
}

/* Apply Form */
.form-container {
  max-width: 600px;
  margin: 3rem auto;
  background: var(--background-gray);
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.success-message {
  text-align: center;
  padding: 3rem;
  background: var(--background-gray);
  border-radius: 1rem;
}

.success-message i {
  font-size: 4rem;
  color: var(--success-color);
  margin-bottom: 1rem;
}

.success-message h3 {
  color: var(--success-color);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.about-content h2 {
  font-size: 1.75rem;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  text-align: left;
  max-width: 100%;
}

.feature-list {
  list-style: none;
  margin: 1.5rem 0;
}

.feature-list li {
  padding: 0.75rem 0;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature-list i {
  color: var(--success-color);
  font-size: 1.25rem;
}

.about-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.contact-card {
  background: var(--background-gray);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

.contact-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-top: 0.25rem;
}

.contact-item strong {
  display: block;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--text-secondary);
  margin: 0;
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  margin-top: 3rem;
}

.cta-box h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.cta-box p {
  margin-bottom: 1.5rem;
  color: white;
}

.cta-box .btn-primary {
  background: white;
  color: var(--primary-color);
}

.cta-box .btn-primary:hover {
  background: var(--background-gray);
}

/* Footer */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 0.5rem;
  display: inline-block;
}

.footer-logo-img {
  height: 120px;
  width: auto;
  display: block;
}

.footer-col h4 {
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-col p {
  opacity: 0.9;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.footer-col a:hover {
  opacity: 1;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.contact-info i {
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0.8;
}

/* Sticky Apply Button */
.sticky-apply-btn {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--primary-color);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
  z-index: 999;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-apply-btn:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--whatsapp-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp {
  background: var(--whatsapp-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background: #20ba5a;
}

/* Bank & NBFC Partners Carousel */
.partners-section {
  background: var(--background);
  padding: 3rem 0;
  overflow: hidden;
}

.partners-section .section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.partners-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.logo-carousel {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--background), transparent);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--background), transparent);
}

.logo-track {
  display: flex;
  gap: 4rem;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.logo-track:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.partner-logo {
  flex-shrink: 0;
  width: 220px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #e5e7eb;
  transition: all 0.3s;
}

.partner-logo:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(30, 58, 138, 0.15);
  border-color: #1e3a8a;
  background: #f8fafc;
}

.bank-logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partner-logo:hover .bank-logo-img {
  filter: grayscale(0%);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partner-logo:hover img {
  filter: grayscale(0%);
}

.partners-disclaimer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 1rem;
  line-height: 1.6;
}

.partners-disclaimer i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--background);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    gap: 0;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title,
  .page-title {
    font-size: 2rem;
  }

  .calculator-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-sidebar {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky-apply-btn {
    bottom: 80px;
    right: 20px;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .services-grid,
  .loan-types-grid {
    grid-template-columns: 1fr;
  }

  .form-container {
    padding: 2rem;
  }
}

/* Loan Detail Pages */
.breadcrumb {
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--primary-hover);
}

.loan-detail-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--background-gray);
  border-radius: 1rem;
}

.loan-icon-large {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.loan-icon-large i {
  font-size: 3rem;
}

.loan-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.detail-card {
  background: var(--background);
  border: 2px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
}

.detail-card h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-card h2 i {
  font-size: 1.75rem;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 1rem;
  background: var(--background-gray);
  border-radius: 0.5rem;
  gap: 1rem;
}

.detail-item strong {
  color: var(--text-primary);
  font-weight: 600;
  flex-shrink: 0;
  min-width: 150px;
}

.detail-item span {
  color: var(--text-secondary);
  text-align: right;
  flex: 1;
}

.document-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.document-section h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.document-section h3:first-child {
  margin-top: 0;
}

.document-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.75rem;
}

.document-list li {
  padding: 0.875rem 1rem;
  background: var(--background-gray);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.document-list i {
  color: var(--success-color);
  font-size: 1.125rem;
}

.cta-box h2 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: white;
}

/* Responsive Design for Loan Details */
@media (max-width: 768px) {
  .loan-detail-header {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .loan-icon-large {
    width: 80px;
    height: 80px;
  }

  .loan-icon-large i {
    font-size: 2.5rem;
  }

  .detail-item {
    flex-direction: column;
    align-items: start;
    gap: 0.5rem;
  }

  .detail-item strong {
    min-width: auto;
  }

  .detail-item span {
    text-align: left;
  }

  .document-list {
    grid-template-columns: 1fr;
  }

  .logo-img {
    height: 60px;
  }

  .footer-logo-img {
    height: 60px;
  }
}

/* Customer Reviews Section */
.reviews-section {
  background: var(--background-gray);
  padding: 4rem 2rem;
  border-radius: 1rem;
  margin: 3rem 0;
}

.reviews-section .section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.reviews-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.reviews-slider {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 350px;
}

.review-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.review-card.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  color: #fbbf24;
}

.review-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--border-color);
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
}

.author-info h4 {
  color: var(--primary-color);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.review-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.review-location i {
  color: var(--primary-color);
}

.review-nav {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all 0.3s;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.review-nav:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(30, 58, 138, 0.4);
}

.review-nav:active {
  transform: scale(0.95);
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
}

.dot:hover {
  background: var(--secondary-color);
}

/* Responsive Reviews */
@media (max-width: 768px) {
  .reviews-section {
    padding: 2rem 1rem;
  }

  .reviews-container {
    gap: 1rem;
  }

  .review-card {
    padding: 2rem 1.5rem;
    min-height: 320px;
  }

  .review-text {
    font-size: 1rem;
  }

  .review-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .author-avatar {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }

  .review-stars {
    font-size: 1rem;
  }
}
