@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;600;700;800&display=swap');

/* Then you can use the font in your styles like this: */
body {
  font-family: 'Rubik', sans-serif;
}
/* Reset */
*{box-sizing:border-box;margin:0;padding:0;}
body{font-family:'Rubik',sans-serif;background:#fafbfc;color:#222;line-height:1.5;}

/* Announcement Banner - Color Cycling */
#top-announcement {
  width: 100%;
  padding: 0.7rem 0;
  text-align: center;
  color: #fff;
  font-weight: 600;
  background: #6f42c1;
  transition: 0.4s;
  animation: colorCycle 6s infinite;
}

@keyframes colorCycle {
  0% { background: #6f42c1; }    /* Purple */
  16.66% { background: #e91e63; } /* Pink */
  33.33% { background: #ff9800; } /* Orange */
  50% { background: #4caf50; }    /* Green */
  66.66% { background: #2196f3; } /* Blue */
  83.33% { background: #9c27b0; } /* Magenta */
  100% { background: #6f42c1; }   /* Back to Purple */
}


/* =============== HEADER SECTION STYLES START =============== */

.head-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(184, 143, 255, 0.05);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 2000px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============== HEADER SCROLL EFFECTS START =============== */
.head-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
/* =============== HEADER SCROLL EFFECTS END =============== */

/* =============== LOGO STYLES START =============== */
.head-logo {
  flex-shrink: 0;
  z-index: 1002;
  transition: all 0.3s ease;
}

.head-logo:hover {
  transform: scale(1.05);
}

#head-logo-link {
  display: inline-block;
  transition: all 0.3s ease;
}

#head-logo-link:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
  border-radius: 4px;
}

.head-logo-img {
  height: 44px;
  width: auto;
  transition: all 0.3s ease;
  display: block;
}

#head-logo-img:hover {
  filter: drop-shadow(0 2px 8px rgba(111, 66, 193, 0.3));
}
/* =============== LOGO STYLES END =============== */

/* =============== DESKTOP MENU START =============== */
.head-desktop-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  margin: 0 2rem;
}

.head-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  flex: 1;
}

/* =============== DESKTOP MENU ITEMS START =============== */
#head-menu-item-1,
#head-menu-item-2,
#head-menu-item-3,
#head-menu-item-4,
#head-menu-item-5,
#head-menu-item-6,
#head-menu-item-7 {
  position: relative;
}

.head-menu-link {
  text-decoration: none;
  color: #1a202c;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
  position: relative;
  display: inline-block;
}

.head-menu-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  transition: all 0.3s ease;
  transform: translateX(-50%);
  border-radius: 1px;
}

.head-menu-link:hover {
  color: #6f42c1;
  background: rgba(111, 66, 193, 0.1);
  transform: translateY(-2px);
}

.head-menu-link:hover::after {
  width: 80%;
}

.head-menu-link.active {
  color: #6f42c1;
  background: rgba(111, 66, 193, 0.1);
}

.head-menu-link.active::after {
  width: 80%;
}

/* =============== SPECIFIC LINK STYLES START =============== */
#head-link-eligibility:hover,
#head-link-emi:hover,
#head-link-how:hover,
#head-link-testimonials:hover,
#head-link-faq:hover,
#head-link-partner:hover {
  text-shadow: 0 0 8px rgba(111, 66, 193, 0.3);
}
/* =============== SPECIFIC LINK STYLES END =============== */

.head-apply-btn,
#head-apply-now-btn {
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: #fff ! important;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
  flex-shrink: 0;
  margin-left: auto;
  font-size: 0.9rem;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.head-apply-btn::before,
#head-apply-now-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.head-apply-btn:hover::before,
#head-apply-now-btn:hover::before {
  left: 100%;
}

.head-apply-btn:hover,
#head-apply-now-btn:hover {
  background: linear-gradient(135deg, #553c9a, #8e44ad);
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.head-apply-btn:focus,
#head-apply-now-btn:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}
/* =============== DESKTOP MENU END =============== */

/* =============== MOBILE HAMBURGER START =============== */
.head-menu-toggle,
#head-menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1001;
  padding: 12px;
  border-radius: 8px;
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
  align-items: center;
  justify-content: center;
  position: relative;
}

.head-menu-toggle:hover,
#head-menu-toggle:hover {
  background: rgba(111, 66, 193, 0.1);
}

.head-menu-toggle:focus,
#head-menu-toggle:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.head-hamburger,
#head-hamburger-icon {
  display: block;
  width: 24px;
  height: 2.8px;
  background: #6f42c1;
  position: relative;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.head-hamburger::before,
.head-hamburger::after,
#head-hamburger-icon::before,
#head-hamburger-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2.8px;
  background: #6f42c1;
  transition: all 0.3s ease;
  left: 0;
}

.head-hamburger::before,
#head-hamburger-icon::before {
  top: -7px;
}

.head-hamburger::after,
#head-hamburger-icon::after {
  top: 7px;
}

/* FIXED: Hamburger animation for active state */
.head-menu-toggle.active .head-hamburger,
#head-menu-toggle.active #head-hamburger-icon {
  background: transparent;
}

.head-menu-toggle.active .head-hamburger::before,
#head-menu-toggle.active #head-hamburger-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.head-menu-toggle.active .head-hamburger::after,
#head-menu-toggle.active #head-hamburger-icon::after {
  transform: rotate(-45deg);
  top: 0;
}
/* =============== MOBILE HAMBURGER END =============== */

/* =============== SIMPLE MOBILE MENU START =============== */
.head-mobile-menu,
#head-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 280px;
  z-index: 999;
  overflow: hidden;
  border: 1px solid rgba(111, 66, 193, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* SIMPLE: Show state animation */
.head-mobile-menu.show,
#head-mobile-menu.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.head-mobile-menu-list,
#head-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 12px 0;
}

/* =============== SIMPLE MOBILE MENU ITEMS START =============== */
#head-mobile-item-1,
#head-mobile-item-2,
#head-mobile-item-3,
#head-mobile-item-4,
#head-mobile-item-5,
#head-mobile-item-6,
#head-mobile-item-7 {
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

/* SIMPLE: Staggered fade-in for menu items */
.head-mobile-menu.show #head-mobile-item-1 { 
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: 0.1s; 
}
.head-mobile-menu.show #head-mobile-item-2 { 
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: 0.15s; 
}
.head-mobile-menu.show #head-mobile-item-3 { 
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: 0.2s; 
}
.head-mobile-menu.show #head-mobile-item-4 { 
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: 0.25s; 
}
.head-mobile-menu.show #head-mobile-item-5 { 
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: 0.3s; 
}
.head-mobile-menu.show #head-mobile-item-6 { 
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: 0.35s; 
}
.head-mobile-menu.show #head-mobile-item-7 { 
  opacity: 1; 
  transform: translateX(0); 
  transition-delay: 0.4s; 
}

/* SIMPLE: Mobile link styling */
.head-mobile-link {
  display: block;
  padding: 14px 20px;
  color: #1a202c;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.head-mobile-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  transition: width 0.3s ease;
}

/* SIMPLE: Hover effects */
.head-mobile-link:hover {
  background: rgba(111, 66, 193, 0.05);
  color: #6f42c1;
  transform: translateX(10px);
}

.head-mobile-link:hover::before {
  width: 4px;
}

/* =============== SPECIFIC MOBILE LINK STYLES START =============== */
#head-mobile-link-eligibility,
#head-mobile-link-emi,
#head-mobile-link-how,
#head-mobile-link-testimonials,
#head-mobile-link-faq,
#head-mobile-link-partner {
  transition: all 0.3s ease;
}

#head-mobile-link-eligibility:hover,
#head-mobile-link-emi:hover,
#head-mobile-link-how:hover,
#head-mobile-link-testimonials:hover,
#head-mobile-link-faq:hover,
#head-mobile-link-partner:hover {
  transform: translateX(15px);
}
/* =============== SPECIFIC MOBILE LINK STYLES END =============== */

/* SIMPLE: Mobile apply button */
.head-mobile-apply-btn,
#head-mobile-apply-btn {
  display: block;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: white !important;
  margin: 12px 16px;
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
  position: relative;
  overflow: hidden;
}

.head-mobile-apply-btn::before,
#head-mobile-apply-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.head-mobile-apply-btn:hover::before,
#head-mobile-apply-btn:hover::before {
  left: 100%;
}

.head-mobile-apply-btn:hover,
#head-mobile-apply-btn:hover {
  background: linear-gradient(135deg, #553c9a, #8e44ad);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}
/* =============== SIMPLE MOBILE MENU END =============== */

/* =============== SIMPLE ANIMATIONS START =============== */
@keyframes head-slideDown {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes head-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* =============== SIMPLE ANIMATIONS END =============== */

/* =============== RESPONSIVE BREAKPOINTS START =============== */
@media (max-width: 768px) {
  .head-header {
    justify-content: space-between;
    padding: 1rem 1.5rem;
  }
  
  .head-logo {
    position: static;
  }
  
  .head-desktop-menu,
  #head-desktop-nav {
    display: none;
  }
  
  .head-menu-toggle,
  #head-menu-toggle {
    display: flex;
  }
  
  .head-mobile-menu,
  #head-mobile-menu {
    right: 1rem;
    left: 1rem;
    min-width: auto;
  }
  
  .head-logo-img,
  #head-logo-img {
    height: 38px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .head-header {
    padding: 1rem 1.5rem;
  }
  
  .head-desktop-menu {
    margin: 0 1.5rem;
  }
  
  .head-menu {
    gap: 1.3rem;
  }
  
  .head-menu-link {
    padding: 0.75rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .head-apply-btn,
  #head-apply-now-btn {
    padding: 0.7rem 1.3rem;
    font-size: 0.85rem;
  }
}

@media (min-width: 1025px) {
  .head-header {
    padding: 1rem 3rem;
  }
  
  .head-desktop-menu {
    margin: 0 2.5rem;
  }
  
  .head-menu {
    gap: 2rem;
  }
  
  .head-menu-link {
    padding: 0.75rem 1.2rem;
    font-size: 0.95rem;
  }
  
  .head-apply-btn,
  #head-apply-now-btn {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
  }
}
/* =============== RESPONSIVE BREAKPOINTS END =============== */

/* =============== ACCESSIBILITY ENHANCEMENTS START =============== */
@media (prefers-reduced-motion: reduce) {
  .head-menu-link,
  .head-apply-btn,
  #head-apply-now-btn,
  .head-mobile-link,
  .head-mobile-apply-btn,
  #head-mobile-apply-btn,
  .head-logo,
  #head-logo-img,
  .head-hamburger,
  #head-hamburger-icon,
  .head-header {
    transition: none !important;
    animation: none !important;
  }
  
  .head-menu-link:hover,
  .head-apply-btn:hover,
  #head-apply-now-btn:hover,
  .head-mobile-link:hover,
  .head-mobile-apply-btn:hover,
  #head-mobile-apply-btn:hover {
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .head-header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 3px solid #6f42c1;
  }
  
  .head-menu-link {
    color: #000000;
    border: 1px solid transparent;
  }
  
  .head-menu-link:hover,
  .head-menu-link:focus {
    border-color: #6f42c1;
  }
  
  .head-mobile-menu,
  #head-mobile-menu {
    border: 3px solid #6f42c1;
  }
  
  .head-mobile-link {
    color: #000000;
  }
  
  .head-apply-btn,
  #head-apply-now-btn,
  .head-mobile-apply-btn,
  #head-mobile-apply-btn {
    border: 2px solid rgba(255, 255, 255, 0.8);
  }
}
/* =============== ACCESSIBILITY ENHANCEMENTS END =============== */

/* =============== FOCUS STATES START =============== */
.head-menu-link:focus,
.head-mobile-link:focus,
#head-link-eligibility:focus,
#head-link-emi:focus,
#head-link-how:focus,
#head-link-testimonials:focus,
#head-link-faq:focus,
#head-link-partner:focus,
#head-mobile-link-eligibility:focus,
#head-mobile-link-emi:focus,
#head-mobile-link-how:focus,
#head-mobile-link-testimonials:focus,
#head-mobile-link-faq:focus,
#head-mobile-link-partner:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.head-apply-btn:focus,
#head-apply-now-btn:focus,
.head-mobile-apply-btn:focus,
#head-mobile-apply-btn:focus {
  outline: 3px solid #6f42c1;
  outline-offset: 3px;
}
/* =============== FOCUS STATES END =============== */

/* =============== PRINT STYLES START =============== */
@media print {
  .head-header {
    position: static !important;
    background: white !important;
    box-shadow: none !important;
    border-bottom: 2px solid #000 !important;
    backdrop-filter: none !important;
    padding: 10px 20px !important;
    margin-bottom: 20px;
  }
  
  .head-menu-toggle,
  #head-menu-toggle,
  .head-mobile-menu,
  #head-mobile-menu {
    display: none !important;
  }
  
  .head-desktop-menu,
  #head-desktop-nav {
    display: flex !important;
    margin: 0 !important;
  }
  
  .head-menu {
    gap: 15px !important;
    flex-wrap: wrap !important;
  }
  
  .head-menu-link,
  #head-link-eligibility,
  #head-link-emi,
  #head-link-how,
  #head-link-testimonials,
  #head-link-faq,
  #head-link-partner {
    color: black !important;
    background: none !important;
    padding: 5px 8px !important;
    font-size: 12px !important;
    text-decoration: underline !important;
    page-break-inside: avoid;
  }
  
  .head-apply-btn,
  #head-apply-now-btn {
    background: none !important;
    color: black !important;
    border: 2px solid black !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    font-size: 12px !important;
    margin-left: 0 !important;
    page-break-inside: avoid;
  }
  
  .head-logo-img,
  #head-logo-img {
    height: 30px !important;
    filter: grayscale(1) !important;
  }
  
  .head-header::after {
    content: "Navigation Menu";
    display: block;
    font-size: 10px;
    color: #666;
    margin-top: 5px;
  }
  
  /* Hide animations and effects in print */
  .head-menu-link::after,
  .head-apply-btn::before,
  #head-apply-now-btn::before {
    display: none !important;
  }
  
  /* Ensure links are clickable in PDF */
  .head-menu-link[href],
  .head-apply-btn[href],
  #head-apply-now-btn[href] {
    text-decoration: underline !important;
  }
  
  /* Print-specific layout adjustments */
  .head-header {
    break-inside: avoid;
    break-after: avoid;
  }
  
  .head-menu {
    justify-content: flex-start !important;
  }
}
/* =============== PRINT STYLES END =============== */

/* =============== HERO SECTION STYLES START =============== */
#hero-main-content {
  font-family: 'Rubik', sans-serif;
}

.hero-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 20px 60px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(111, 66, 193, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-text-content {
  flex: 1;
  order: 1;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fadeInUp 0.8s ease 0.2s forwards;
}

/* Hero Image Container */
.hero-image-container {
  flex: 1;
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(30px);
  animation: hero-slideInRight 0.8s ease 0.4s forwards;
  padding-left: 20px;
  position: relative;
}

.hero-main-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(111, 66, 193, 0.15);
  transition: all 0.3s ease;
  display: block;
  object-fit: cover;
  background-color: #f8fafc;
  opacity: 0;
  transform: scale(0.95);
}

.hero-main-image.loaded {
  opacity: 1;
  transform: scale(1);
}

.hero-main-image.error {
  opacity: 1;
  transform: scale(1);
  border: 2px dashed rgba(111, 66, 193, 0.3);
  background-color: #f9f9f9;
}

.image-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #6f42c1;
  z-index: 1;
}

.hero-main-image.loaded + .image-loader,
.hero-main-image.error + .image-loader {
  display: none;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(111, 66, 193, 0.2);
  border-top: 3px solid #6f42c1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.hero-main-image:hover {
  transform: scale(1.02);
  box-shadow: 0 25px 50px rgba(111, 66, 193, 0.2);
}

/* Text Titles */
.hero-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a202c 0%, #6f42c1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left; /* Default for desktop */
}

.hero-subtitle {
  font-size: 1.375rem;
  font-weight: 600;
  color: #6f42c1;
  margin-bottom: 12px;
  line-height: 1.3;
  text-align: left; /* Default for desktop */
}

.hero-description {
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 32px;
  line-height: 1.5;
  text-align: left; /* Default for desktop */
}

/* Benefits Card */
.hero-benefits-card {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6f3ff 100%);
  border: 1px solid rgba(111, 66, 193, 0.2);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 4px 20px rgba(111, 66, 193, 0.1);
  position: relative;
}

.hero-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  align-items: start;
}

.hero-benefit-item {
  font-size: 0.9rem;
  color: #1a202c;
  font-weight: 500;
  position: relative;
  line-height: 1.35;
  display: block;
  padding-left: 26px;
  text-align: left;
}

.hero-benefit-item::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0px;
  color: white;
  font-weight: 700;
  font-size: 0.7rem;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(111, 66, 193, 0.3);
  flex-shrink: 0;
}

.benefit-text {
  display: inline;
  text-align: left;
}

/* Action Buttons */
.hero-action-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.hero-apply-btn,
.hero-emi-btn {
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-width: 160px;
  text-align: center;
  text-decoration: none !important;
  display: inline-block;
}

.hero-apply-btn:link,
.hero-apply-btn:visited,
.hero-apply-btn:hover,
.hero-apply-btn:active,
.hero-emi-btn:link,
.hero-emi-btn:visited,
.hero-emi-btn:hover,
.hero-emi-btn:active {
  text-decoration: none !important;
}

.hero-primary-btn {
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: white;
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.4);
}

.hero-primary-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.hero-primary-btn:hover::before {
  left: 100%;
}

.hero-primary-btn:hover {
  background: linear-gradient(135deg, #553c9a, #8e44ad);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.6);
  color: white !important;
}

.hero-secondary-btn {
  background: white;
  color: #6f42c1;
  border: 2px solid #6f42c1;
  box-shadow: 0 2px 10px rgba(111, 66, 193, 0.1);
}

.hero-secondary-btn:hover {
  background: #6f42c1;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.hero-disclaimer {
  font-size: 0.875rem;
  color: #718096;
  font-style: italic;
}

/* Animation Keyframes */
@keyframes hero-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Styles for Mobile Devices */
@media (max-width: 800px) {
  .hero-content-wrapper {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }
  .hero-text-content {
    order: 1;  /* Text first */
  }
  .hero-image-container {
    order: 2;  /* Image second */
    padding-left: 0;
    width: 100%;
    min-width: 0;
    justify-content: center;
  }
  .hero-main-image {
    width: 92vw;
    max-width: 100%;
    min-width: 200px;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(111, 66, 193, 0.12);
  }
  .hero-section {
    padding: 48px 8px 32px;
  }
  .hero-main-title {
    font-size: 2rem;
    text-align: center; /* Center on tablets and below */
  }
  .hero-subtitle {
    font-size: 1.1rem;
    text-align: center; /* Center on tablets and below */
  }
  .hero-description {
    font-size: 1rem;
    text-align: center; /* Center on tablets and below */
  }
  .hero-benefits-card {
    padding: 16px;
    margin-bottom: 20px;
  }
  .hero-benefits-list {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
  .hero-action-buttons {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-main-image {
    min-width: 120px;
    border-radius: 8px;
  }
  .hero-section {
    padding: 32px 0px 20px;
  }
  .hero-main-title {
    font-size: 1.5rem;
    text-align: center; /* Center on mobiles */
  }
}

/* =============== LOAN FEATURES SECTION =============== */
.loan-features-section {
  background: #ffffff;
  padding: 80px 20px;
  position: relative;
}

.loan-content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.loan-section-title {
  text-align: center;
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  animation: hero-fadeInUp 0.6s ease;
}

.loan-description {
  text-align: center;
  font-size: 1.125rem;
  color: #4a5568;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
  animation: hero-fadeInUp 0.6s ease 0.2s both;
}

.loan-features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.loan-feature-card {
  background: white;
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  border: 1px solid #e2e8f0;
}

.loan-feature-card:hover::before {
  transform: scaleX(1);
}

.loan-feature-card:hover,
.loan-feature-card.active {
  background: #f8f6ff;
  border-color: #6e42c100;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(111, 66, 193, 0.15);
}

.loan-feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.loan-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  filter: grayscale(0.3);
  transition: all 0.3s ease;
}

.loan-feature-card:hover .loan-feature-icon {
  filter: grayscale(0);
  transform: scale(1.1);
}

.loan-feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
  line-height: 1.3;
}

.loan-feature-description {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
}

.loan-feature-card:focus {
  outline: 1px solid #6f42c1;
  outline-offset: 1px;
}

/* =============== ANIMATIONS =============== */
@keyframes hero-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =============== RESPONSIVE DESIGN =============== */

/* Large Desktop */
@media (min-width: 1025px) {
  .hero-content-wrapper {
    gap: 60px;
  }
  
  .hero-text-content {
    flex: 1;
    order: 1;
  }
  
  .hero-image-container {
    flex: 1;
    order: 2;
    padding-left: 30px;
  }
  
  .hero-main-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  /* Desktop benefits - maintained 2x2 grid */
  .hero-benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
  }
  
  .hero-benefit-item {
    font-size: 0.95rem;
    padding-left: 28px;
  }
  
  .hero-benefit-item::before {
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
  }
}

/* Tablet View */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-content-wrapper {
    gap: 40px;
  }
  
  .hero-text-content {
    flex: 1.2;
  }
  
  .hero-image-container {
    flex: 0.8;
    padding-left: 10px;
  }
  
  .hero-main-title {
    font-size: 2.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  /* Tablet benefits - maintained 2x2 grid */
  .hero-benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
  }
  
  .hero-benefit-item {
    font-size: 0.85rem;
    padding-left: 26px;
  }
  
  .hero-benefit-item::before {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }
  
  .hero-action-buttons {
    gap: 12px;
  }
  
  .hero-apply-btn,
  .hero-emi-btn {
    min-width: 140px;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Mobile Large */
@media (min-width: 481px) and (max-width: 768px) {
  .hero-section {
    padding: 60px 15px 40px;
  }
  
  .hero-content-wrapper {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  
  .hero-text-content {
    order: 1;
    flex: none;
  }
  
  .hero-image-container {
    order: 2;
    flex: none;
    padding-left: 0;
  }
  
  .hero-main-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  /* Mobile Large benefits - maintained 2x2 grid */
  .hero-benefits-card {
    padding: 20px;
    margin-bottom: 24px;
    text-align: left;
  }
  
  .hero-benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
  }
  
  .hero-benefit-item {
    font-size: 0.8rem;
    padding-left: 24px;
    line-height: 1.3;
  }
  
  .hero-benefit-item::before {
    width: 16px;
    height: 16px;
    font-size: 0.65rem;
  }
  
  .hero-action-buttons {
    justify-content: center;
    gap: 12px;
  }
  
  .loan-features-section {
    padding: 60px 15px;
  }
  
  .loan-section-title {
    font-size: 1.5rem;
  }
  
  .loan-description {
    font-size: 1rem;
  }
  
  .loan-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .loan-feature-card {
    padding: 24px 20px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .hero-section {
    padding: 50px 10px 30px;
  }
  
  .hero-main-title {
    font-size: 1.75rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  /* Mobile Small benefits - maintained 2x2 grid */
  .hero-benefits-card {
    padding: 18px;
    margin-bottom: 20px;
    text-align: left;
  }
  
  .hero-benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
  }
  
  .hero-benefit-item {
    font-size: 0.75rem;
    padding-left: 22px;
    line-height: 1.25;
  }
  
  .hero-benefit-item::before {
    width: 15px;
    height: 15px;
    font-size: 0.6rem;
  }
  
  .hero-action-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-apply-btn,
  .hero-emi-btn {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .loan-features-section {
    padding: 50px 10px;
  }
  
  .loan-section-title {
    font-size: 1.375rem;
  }
  
  .loan-description {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }
  
  .loan-feature-card {
    padding: 20px 16px;
  }
  
  .loan-feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
  }
  
  .loan-feature-title {
    font-size: 1.125rem;
  }
  
  .loan-feature-description {
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .hero-benefits-card {
    padding: 16px;
  }
  
  .hero-benefits-list {
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }
  
  .hero-benefit-item {
    font-size: 0.7rem;
    padding-left: 20px;
    line-height: 1.2;
  }
  
  .hero-benefit-item::before {
    width: 14px;
    height: 14px;
    font-size: 0.55rem;
  }
  
  /* Stack loan features vertically on very small screens */
  .loan-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* =============== ACCESSIBILITY =============== */
@media (prefers-reduced-motion: reduce) {
  .hero-text-content,
  .hero-image-container,
  .loan-section-title,
  .loan-description,
  .loan-feature-card {
    animation: none !important;
  }
  
  .hero-main-image,
  .hero-apply-btn,
  .hero-emi-btn,
  .loan-feature-card {
    transition: none !important;
  }
}

/* =============== PRINT STYLES START =============== */
@media print {
  .hero-section,
  .loan-features-section {
    background: white !important;
    padding: 20px 10px !important;
    box-shadow: none !important;
    margin: 0 !important;
  }
  
  .hero-section::before {
    display: none !important;
  }
  
  .hero-content-wrapper {
    flex-direction: column !important;
    gap: 20px !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  .hero-text-content {
    order: 1 !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .hero-image-container {
    order: 2 !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    padding-left: 0 !important;
    text-align: center;
  }
  
  .hero-main-title {
    font-size: 24px !important;
    color: black !important;
    background: none !important;
    -webkit-text-fill-color: black !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    page-break-after: avoid;
  }
  
  .hero-subtitle {
    font-size: 18px !important;
    color: black !important;
    margin-bottom: 10px !important;
    page-break-after: avoid;
  }
  
  .hero-description {
    font-size: 14px !important;
    color: black !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
  }
  
  .hero-benefits-card {
    background: #f9f9f9 !important;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    padding: 15px !important;
    margin-bottom: 15px !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
  
  .hero-benefits-list {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  
  .hero-benefit-item {
    font-size: 12px !important;
    color: black !important;
    page-break-inside: avoid;
    padding-left: 20px !important;
  }
  
  .hero-benefit-item::before {
    color: black !important;
    width: 12px !important;
    height: 12px !important;
  }
  
  .hero-action-buttons {
    display: block !important;
    margin: 15px 0 !important;
  }
  
  .hero-apply-btn,
  .hero-emi-btn {
    display: inline-block !important;
    background: none !important;
    color: black !important;
    border: 1px solid black !important;
    padding: 8px 12px !important;
    margin: 5px 10px 5px 0 !important;
    text-decoration: none !important;
    font-size: 12px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    page-break-inside: avoid;
  }
  
  .hero-disclaimer {
    font-size: 10px !important;
    color: black !important;
    margin-top: 10px !important;
  }
  
  .hero-main-image {
    max-width: 300px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: grayscale(0.8) !important;
    page-break-inside: avoid;
    display: block !important;
    margin: 0 auto !important;
  }
  
  .image-loader {
    display: none !important;
  }
  
  .loan-content-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  .loan-section-title {
    font-size: 20px !important;
    color: black !important;
    margin-bottom: 12px !important;
    text-align: center !important;
    page-break-after: avoid;
    animation: none !important;
  }
  
  .loan-description {
    font-size: 14px !important;
    color: black !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    animation: none !important;
  }
  
  .loan-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .loan-feature-card {
    background: white !important;
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    padding: 15px !important;
    box-shadow: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    page-break-inside: avoid;
    cursor: default !important;
  }
  
  .loan-feature-icon {
    font-size: 18px !important;
    margin-bottom: 8px !important;
    filter: grayscale(1) !important;
    transform: none !important;
  }
  
  .loan-feature-title {
    font-size: 14px !important;
    color: black !important;
    margin-bottom: 8px !important;
    font-weight: bold !important;
  }
  
  .loan-feature-description {
    font-size: 12px !important;
    color: black !important;
    line-height: 1.3 !important;
  }
  
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
  }
  
  h1, h2, h3, h4, h5, h6, p, li, span, div {
    color: black !important;
    text-shadow: none !important;
  }
  
  @page {
    margin: 0.5in;
    size: A4;
  }
  
  @media print and (max-width: 600px) {
    .loan-features-grid {
      grid-template-columns: 1fr !important;
    }
    
    .hero-main-title {
      font-size: 20px !important;
    }
    
    .hero-subtitle {
      font-size: 16px !important;
    }
    
    .hero-main-image {
      max-width: 250px !important;
    }
  }
}
/* =============== PRINT STYLES END =============== */

/* 2.Features Grid Section CSS */


/* 3.Eligibility Checker and Personal Info Section CSS */
/* Complete Loan Eligibility Section CSS with All Missing Components */
.loan-eligibility-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 24px 15px;
  font-family: 'Rubik', sans-serif;
  box-sizing: border-box;
}

.loan-eligibility-container {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 12px 40px rgba(111,66,193,0.15);
  border: 1px solid #e3e9fd;
}

.loan-section-title {
  font-size: 1.4em;
  font-weight: 600;
  text-align: center;
  color: #6f42c1;
  margin-bottom: 8px;
}

.loan-eligibility-desc {
  text-align: center;
  color: #000000;
  margin-bottom: 28px;
  font-size: 1em;
}

.loan-eligibility-form {
  width: 100%;
}

.loan-form-group {
  margin-bottom: 24px;
}

.loan-form-label {
  display: block;
  font-weight: 600;
  color: #232345;
  margin-bottom: 8px;
  font-size: 1em;
}

.loan-form-select,
.loan-form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e3e9fd;
  border-radius: 8px;
  font-size: 1em;
  font-family: 'Rubik', sans-serif;
  background: #fff;
  color: #232345;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

.loan-form-select:focus,
.loan-form-input:focus {
  outline: none;
  border-color: #6f42c1;
  box-shadow: 0 0 0 3px rgba(111,66,193,0.1);
}

.loan-form-row {
  display: flex;
  gap: 16px;
}

.loan-half-width {
  flex: 1;
}

.loan-location-row {
  display: flex;
  gap: 12px;
}

.loan-state-select,
.loan-city-select {
  flex: 1;
}

/* Complete Budget Slider Styles - MISSING COMPONENTS */
.loan-budget-slider-container {
  width: 100%;
}

.loan-budget-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85em;
  color: #6f42c1;
  margin-bottom: 8px;
}

/* Slider Wrapper - MISSING */
.loan-slider-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.loan-budget-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e3e9fd;
  outline: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.loan-budget-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6f42c1;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(111,66,193,0.4);
  transition: all 0.3s ease;
}

.loan-budget-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(111,66,193,0.6);
}

/* Firefox Slider Styles - MISSING */
.loan-budget-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6f42c1;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(111,66,193,0.4);
  transition: all 0.3s ease;
}

.loan-budget-slider::-moz-range-track {
  height: 8px;
  background: #e3e9fd;
  border-radius: 4px;
}

/* Slider Track and Fill - MISSING */
.loan-slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  background: #e3e9fd;
  border-radius: 4px;
  transform: translateY(-50%);
}

.loan-slider-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #6f42c1, #9b6ff2);
  border-radius: 4px;
  transform: translateY(-50%);
  transition: width 0.3s ease;
}

.loan-budget-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 20px;
}

.loan-selected-budget {
  font-weight: 600;
  color: #232345;
  flex: 1;
}

.loan-manual-budget-input {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.loan-manual-label {
  font-size: 0.8em;
  color: #000000;
  font-weight: 500;
}

.loan-manual-input {
  padding: 4px 12px;
  border: 2px solid #e3e9fd;
  border-radius: 6px;
  font-size: 0.85em;
  font-family: 'Rubik', sans-serif;
  background: #fff;
  color: #232345;
  width: 160px;
  text-align: right;
  font-weight: 600;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.loan-manual-input:focus {
  outline: none;
  border-color: #6f42c1;
  box-shadow: 0 0 0 2px rgba(111,66,193,0.1);
  text-align: left;
}

.loan-manual-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231,76,60,0.1);
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.loan-continue-btn {
  background: linear-gradient(135deg, #6f42c1 0%, #9b6ff2 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(111,66,193,0.4);
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.loan-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(111,66,193,0.6);
}

.loan-continue-btn:active {
  transform: translateY(0);
}

.loan-continue-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.loan-btn-icon {
  font-size: 1.2em;
}

/* Vehicle Details Section - COMPLETE */
.loan-vehicle-details-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 24px 15px;
  font-family: 'Rubik', sans-serif;
  box-sizing: border-box;
}

.loan-vehicle-container {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 12px 40px rgba(111,66,193,0.15);
  border: 1px solid #e3e9fd;
}

.loan-vehicle-form {
  width: 100%;
}

/* Vehicle Search Container - MISSING */
.loan-vehicle-search-container {
  position: relative;
  width: 100%;
}

.loan-vehicle-search-container input {
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.loan-help-text {
  font-size: 0.85em;
  color: #000000;
  margin-top: 4px;
  margin-bottom: 0;
  font-style: italic;
}

.loan-personal-details-section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid #f0f0f0;
}

.loan-subsection-title {
  font-size: 1.3em;
  font-weight: 700;
  color: #232345;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.loan-subsection-title::before {
  content: "👤";
  font-size: 1.2em;
}

.loan-submit-btn {
  background: linear-gradient(135deg, #28a745 0%, #34ce57 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 25px;
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40,167,69,0.4);
  width: 100%;
  justify-content: center;
  margin-top: 16px;
}

.loan-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(40,167,69,0.6);
}

.loan-submit-btn:active {
  transform: translateY(0);
}

.loan-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Form Validation States - MISSING */
.loan-form-select.error,
.loan-form-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}

.loan-form-select.success,
.loan-form-input.success {
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40,167,69,0.1);
}

/* Loading States - MISSING */
.loan-form-select:disabled,
.loan-form-input:disabled {
  background-color: #f8f9fa;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.loan-text-center {
  text-align: center;
}

.loan-text-muted {
  color: #000000;
}

.loan-mb-0 {
  margin-bottom: 0 !important;
}

.loan-mt-2 {
  margin-top: 16px !important;
}

/* Enhanced Mobile Responsive - MISSING COMPONENTS */
@media (max-width: 768px) {
  .loan-eligibility-section,
  .loan-vehicle-details-section {
    padding: 18px 4vw;
    margin: 2rem auto;
  }
  
  .loan-eligibility-container,
  .loan-vehicle-container {
    padding: 24px 16px;
    border-radius: 16px;
  }
  
  .loan-section-title {
    font-size: 1.6em;
  }
  
  .loan-eligibility-desc {
    font-size: 0.95em;
    margin-bottom: 24px;
  }
  
  .loan-form-row {
    flex-direction: column;
    gap: 12px;
  }
  
  .loan-location-row {
    flex-direction: column;
    gap: 8px;
  }
  
  .loan-budget-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .loan-selected-budget {
    text-align: center;
    font-size: 1.1em;
    padding: 8px;
    background: #f8f9ff;
    border-radius: 6px;
  }
  
  .loan-manual-budget-input {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
  }
  
  .loan-manual-input {
    width: 140px;
  }
  
  .loan-continue-btn,
  .loan-submit-btn {
    font-size: 1em;
    padding: 14px 24px;
  }
  
  .loan-subsection-title {
    font-size: 1.2em;
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .loan-eligibility-section,
  .loan-vehicle-details-section {
    padding: 16px 3vw;
    margin: 1.5rem auto;
  }
  
  .loan-eligibility-container,
  .loan-vehicle-container {
    padding: 20px 12px;
    border-radius: 12px;
  }
  
  .loan-section-title {
    font-size: 1.4em;
  }
  
  .loan-form-select,
  .loan-form-input {
    font-size: 0.95em;
    padding: 10px 14px;
  }
  
  .loan-manual-input {
    width: 120px;
    font-size: 0.8em;
  }
  
  .loan-budget-range-labels {
    font-size: 0.8em;
  }
  
  .loan-form-group {
    margin-bottom: 20px;
  }
  
  .loan-continue-btn,
  .loan-submit-btn {
    font-size: 0.95em;
    padding: 12px 20px;
  }
  
  .loan-btn-icon {
    font-size: 1.1em;
  }
}

/* High Contrast Mode Support - MISSING */
@media (prefers-contrast: high) {
  .loan-eligibility-container,
  .loan-vehicle-container {
    border: 2px solid #232345;
  }
  
  .loan-form-select,
  .loan-form-input {
    border-width: 2px;
  }
  
  .loan-continue-btn,
  .loan-submit-btn {
    border: 2px solid rgba(255,255,255,0.5);
  }
}

/* Reduced Motion Support - MISSING */
@media (prefers-reduced-motion: reduce) {
  .loan-continue-btn,
  .loan-submit-btn,
  .loan-form-select,
  .loan-form-input,
  .loan-manual-input {
    transition: none;
  }
  
  .loan-continue-btn:hover,
  .loan-submit-btn:hover {
    transform: none;
  }
  
  @keyframes shake {
    0%, 100% { transform: translateX(0); }
  }
}

/* Print Styles - MISSING */
@media print {
  .loan-eligibility-section,
  .loan-vehicle-details-section {
    box-shadow: none;
    background: white;
    color: black;
  }
  
  .loan-continue-btn,
  .loan-submit-btn {
    display: none;
  }
}
/* Eligilibity checker ends */
/* Emi Calculator functionality and Repayment Chart Section CSS */

/* Enhanced Smart Calculator Section CSS */
/* Complete EMI Calculator Section CSS with All Components */
.emi-calc-smart-calculator-section {
  max-width: 900px;
  margin: 3rem auto;
  padding: 24px 15px;
  font-family: 'Rubik', sans-serif;
  box-sizing: border-box;
}

.emi-calc-calculator-container {
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 20px;
  padding: 32px 24px;
  box-shadow: 0 12px 40px rgba(111,66,193,0.15);
  border: 1px solid #e3e9fd;
}

.emi-calc-section-title {
  font-size: 1.4em;
  font-weight: 600;
  text-align: center;
  color: #6f42c1;
  margin-bottom: 8px;
}

.emi-calc-calculator-subtitle {
  text-align: center;
  color: #000000;
  margin-bottom: 28px;
  font-size: 1em;
}

/* Calculator Card Wrapper */
.emi-calc-calculator-card {
  width: 100%;
  background: transparent;
}

/* Loan Type Tabs */
.emi-calc-loan-type-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  background: #fff;
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.emi-calc-tab-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #000000;
  font-family: 'Rubik', sans-serif;
  font-size: 0.9em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.emi-calc-tab-btn.active {
  background: #232345;
  color: #fff;
  box-shadow: 0 2px 8px rgba(35,35,69,0.3);
}

.emi-calc-tab-btn:hover:not(.active) {
  background: #f8f9ff;
  color: #6f42c1;
}

.emi-calc-tab-btn:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.emi-calc-tab-icon {
  font-size: 1.1em;
}

/* Loan Type Info Banner */
.emi-calc-loan-type-info {
  background: linear-gradient(135deg, #6f42c1 0%, #9b6ff2 100%);
  color: #fff;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 24px;
  animation: emi-calc-slideIn 0.5s ease;
}

@keyframes emi-calc-slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.emi-calc-info-content {
  width: 100%;
}

.emi-calc-info-content h4 {
  margin: 0 0 6px 0;
  font-size: 1.1em;
  font-weight: 600;
}

.emi-calc-info-content p {
  margin: 0 0 8px 0;
  font-size: 0.9em;
  opacity: 0.9;
}

.emi-calc-rate-range {
  font-size: 0.85em;
  font-weight: 600;
  opacity: 0.95;
}

/* Calculator Controls */
.emi-calc-calculator-controls {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.emi-calc-control-group {
  margin-bottom: 32px;
}

.emi-calc-control-group:last-child {
  margin-bottom: 0;
}

.emi-calc-control-label {
  display: block;
  font-weight: 600;
  color: #232345;
  margin-bottom: 12px;
  font-size: 1em;
}

.emi-calc-slider-wrapper {
  position: relative;
  margin-bottom: 8px;
}

.emi-calc-calculator-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e3e9fd;
  outline: none;
  appearance: none;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.emi-calc-calculator-slider::-webkit-slider-thumb {
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6f42c1;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(111,66,193,0.4);
  transition: all 0.3s ease;
}

.emi-calc-calculator-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(111,66,193,0.6);
}

.emi-calc-calculator-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #6f42c1;
  cursor: pointer;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(111,66,193,0.4);
  transition: all 0.3s ease;
}

.emi-calc-calculator-slider::-moz-range-track {
  height: 8px;
  background: #e3e9fd;
  border-radius: 4px;
  border: none;
}


.emi-calc-slider-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 8px;
  background: #e3e9fd;
  border-radius: 4px;
  transform: translateY(-50%);
}

.emi-calc-slider-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 8px;
  background: linear-gradient(90deg, #6f42c1, #9b6ff2);
  border-radius: 4px;
  transform: translateY(-50%);
  transition: width 0.3s ease;
}

/* Enhanced Slider Controls with Consistent Manual Entry */
.emi-calc-slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 20px;
}

.emi-calc-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85em;
  color: #6f42c1;
  flex: 1;
}

/* Consistent Manual Input Container */
.emi-calc-manual-input-container {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.emi-calc-manual-label {
  font-size: 0.8em;
  color: #000000;
  font-weight: 500;
}

.emi-calc-manual-input {
  padding: 4px 12px;
  border: 2px solid #e3e9fd;
  border-radius: 6px;
  font-size: 0.85em;
  font-family: 'Rubik', sans-serif;
  background: #fff;
  color: #232345;
  width: 160px;
  text-align: right;
  font-weight: 600;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.emi-calc-manual-input:focus {
  outline: none;
  border-color: #6f42c1;
  box-shadow: 0 0 0 2px rgba(111,66,193,0.1);
  text-align: left;
}

.emi-calc-manual-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231,76,60,0.1);
  animation: emi-calc-shake 0.5s ease-in-out;
}

.emi-calc-manual-input:valid {
  border-color: #e3e9fd;
}

.emi-calc-manual-input:invalid {
  border-color: #e74c3c;
}

@keyframes emi-calc-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

/* EMI Results */
.emi-calc-emi-results {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.emi-calc-main-emi-display {
  text-align: center;
  margin-bottom: 24px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9ff 0%, #eae6ff 100%);
  border-radius: 12px;
}

.emi-calc-emi-amount {
  font-size: 2.8em;
  font-weight: 700;
  color: #6f42c1;
  margin-bottom: 4px;
  animation: emi-calc-counterUp 0.5s ease;
}

.emi-calc-emi-label {
  font-size: 1.1em;
  color: #000000;
  font-weight: 500;
}

.emi-calc-payment-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.emi-calc-summary-item {
  text-align: center;
  padding: 16px;
  background: #f8f9ff;
  border-radius: 12px;
  border: 1px solid #e3e9fd;
  transition: all 0.3s ease;
}

.emi-calc-summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(111,66,193,0.15);
}

.emi-calc-summary-value {
  display: block;
  font-size: 1.4em;
  font-weight: 600;
  color: #0a9323;
  margin-bottom: 4px;
}

.emi-calc-summary-label {
  font-size: 0.9em;
  color: #000000;
}

/* Payment Breakdown Visual */
.emi-calc-payment-breakdown-section h4 {
  font-size: 1.1em;
  font-weight: 600;
  color: #232345;
  margin-bottom: 16px;
}

.emi-calc-breakdown-visual {
  margin-bottom: 24px;
}

.emi-calc-breakdown-bar {
  display: flex;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.emi-calc-principal-portion {
  background: linear-gradient(135deg, #6f42c1, #9b6ff2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  transition: all 0.5s ease;
}

.emi-calc-interest-portion {
  background: linear-gradient(135deg, #0a9323, #076819);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85em;
  font-weight: 600;
  transition: all 0.5s ease;
}

.emi-calc-portion-label {
  font-size: 0.85em;
  font-weight: 600;
  white-space: nowrap;
}

/* Apply Section */
.emi-calc-apply-section {
  text-align: center;
  padding-top: 20px;
  border-top: 2px solid #f0f0f0;
}

.emi-calc-apply-section h4 {
  font-size: 1.1em;
  font-weight: 600;
  color: #232345;
  margin-bottom: 8px;
}

.emi-calc-apply-section p {
  color: #000000;
  margin-bottom: 20px;
  font-size: 0.95em;
}

.emi-calc-apply-now-button {
  background: linear-gradient(135deg, #6f42c1 0%, #9b6ff2 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(111,66,193,0.4);
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

.emi-calc-apply-now-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(111,66,193,0.6);
}

.emi-calc-apply-now-button:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.emi-calc-apply-now-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.emi-calc-apply-now-button.loading {
  opacity: 0.8;
  cursor: wait;
}

.emi-calc-apply-now-button.success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.emi-calc-btn-icon {
  font-size: 1.2em;
}

.emi-calc-security-badge {
  font-size: 0.85em;
  color: #000000;
}

/* Animations */
@keyframes emi-calc-counterUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .emi-calc-smart-calculator-section {
    padding: 18px 4vw;
  }
  
  .emi-calc-calculator-container {
    padding: 24px 16px;
    border-radius: 16px;
  }
  
  .emi-calc-section-title {
    font-size: 1.4em;
  }
  
  .emi-calc-calculator-card {
    margin: 0;
    padding: 0;
  }
  
  .emi-calc-loan-type-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .emi-calc-tab-btn {
    flex: 0 0 auto;
    min-width: 80px;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.8em;
    white-space: nowrap;
  }
  
  .emi-calc-info-content h4 {
    font-size: 1em;
  }
  
  .emi-calc-info-content p {
    font-size: 0.85em;
  }
  
  .emi-calc-slider-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .emi-calc-manual-input-container {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    justify-content: center;
  }
  
  .emi-calc-manual-input {
    width: 140px;
  }
  
  .emi-calc-calculator-controls, .emi-calc-emi-results {
    padding: 16px;
  }
  
  .emi-calc-emi-amount {
    font-size: 2.2em;
  }
  
  .emi-calc-payment-summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .emi-calc-breakdown-bar {
    height: 40px;
  }
  
  .emi-calc-portion-label {
    font-size: 0.8em;
  }
}

@media (max-width: 480px) {
  .emi-calc-manual-input {
    width: 120px;
    font-size: 0.8em;
  }
  
  .emi-calc-loan-type-info {
    padding: 12px 16px;
  }
  
  .emi-calc-info-content h4 {
    font-size: 0.95em;
  }
  
  .emi-calc-info-content p {
    font-size: 0.8em;
  }
  
  .emi-calc-rate-range {
    font-size: 0.8em;
  }
  
  .emi-calc-control-group {
    margin-bottom: 28px;
  }
  
  .emi-calc-portion-label {
    font-size: 0.75em;
  }
}

@media (max-width: 360px) {
  .emi-calc-breakdown-bar {
    height: 35px;
  }
  
  .emi-calc-portion-label {
    font-size: 0.7em;
  }
  
  .emi-calc-manual-input {
    width: 100px;
    font-size: 0.75em;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .emi-calc-calculator-container {
    border: 2px solid #232345;
  }
  
  .emi-calc-calculator-controls,
  .emi-calc-emi-results {
    border: 2px solid #e3e9fd;
  }
  
  .emi-calc-manual-input {
    border-width: 2px;
  }
  
  .emi-calc-apply-now-button {
    border: 2px solid rgba(255,255,255,0.5);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .emi-calc-apply-now-button,
  .emi-calc-tab-btn,
  .emi-calc-calculator-slider,
  .emi-calc-manual-input,
  .emi-calc-slider-fill,
  .emi-calc-principal-portion,
  .emi-calc-interest-portion,
  .emi-calc-summary-item {
    transition: none;
  }
  
  .emi-calc-apply-now-button:hover,
  .emi-calc-summary-item:hover {
    transform: none;
  }
  
  @keyframes emi-calc-slideIn {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes emi-calc-shake {
    0%, 100% { transform: translateX(0); }
  }
  
  @keyframes emi-calc-counterUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Print Styles */
@media print {
  .emi-calc-smart-calculator-section {
    box-shadow: none;
    background: white;
    color: black;
  }
  
  .emi-calc-calculator-container {
    box-shadow: none;
    border: 1px solid black;
  }
  
  .emi-calc-apply-now-button,
  .emi-calc-loan-type-tabs {
    display: none;
  }
  
  .emi-calc-loan-type-info {
    background: white;
    color: black;
    border: 1px solid black;
  }
}

/* End of Emi Calculator functionality and Repayment Chart Section CSS */

/* =============== LOAN REPAYMENT SCHEDULE STYLES START =============== */
.repay-sched-repayment-schedule-section {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 1rem;
  font-family: 'Rubik', sans-serif;
  background: #f8fafc;
  scroll-behavior: smooth;
}

/* =============== SCHEDULE CONTAINER STYLES START =============== */
.repay-sched-schedule-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
}
/* =============== SCHEDULE CONTAINER STYLES END =============== */

/* =============== HEADER SECTION STYLES START =============== */
.repay-sched-schedule-header {
  text-align: center;
  padding: 2.5rem 2rem 1.5rem;
  background: #f8fafc;
  color: #666666;
}

.repay-sched-schedule-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #6f42c1;
}

.repay-sched-schedule-description {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
}
/* =============== HEADER SECTION STYLES END =============== */

/* =============== CALCULATOR INPUT STYLES START =============== */
.repay-sched-schedule-calculator {
  padding: 2rem;
  border-bottom: 1px solid #ffffff;
  background: #ffffff;
}

.repay-sched-schedule-calculator h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* UPDATED: Single row layout for inputs */
.repay-sched-calculator-inputs {
  display: flex !important;
  justify-content: center !important;
  gap: 2rem !important;
  flex-wrap: nowrap !important;
}

.repay-sched-input-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 200px;
  max-width: 300px;
  position: relative;
}

/* ADDED: Icons for input labels */
.repay-sched-input-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.repay-sched-input-label::before {
  font-size: 1.2em;
  color: #000000;
}

/* Loan Amount Icon */
.repay-sched-input-label[for="repay-sched-schedule-loan-amount"]::before {
  content: '💰';
}

/* Interest Rate Icon */
.repay-sched-input-label[for="repay-sched-schedule-interest-rate"]::before {
  content: '📊';
}

/* Tenure Icon */
.repay-sched-input-label[for="repay-sched-schedule-tenure"]::before {
  content: '📅';
}

.repay-sched-form-input {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.repay-sched-form-input:focus {
  outline: none;
  border-color: #6f42c1;
  box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.repay-sched-form-input:focus-visible {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

/* Form input validation states */
.repay-sched-form-input.error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.repay-sched-form-input.success {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

/* Error and success messages */
.repay-sched-error-message {
  color: #e74c3c;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

.repay-sched-input-group.has-error .repay-sched-error-message {
  display: block;
}

.repay-sched-input-group.has-error .repay-sched-form-input {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.repay-sched-success-message {
  color: #10b981;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: none;
}

.repay-sched-input-group.has-success .repay-sched-success-message {
  display: block;
}

.repay-sched-input-group.has-success .repay-sched-form-input {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
/* =============== CALCULATOR INPUT STYLES END =============== */

/* =============== DYNAMIC TABLE STYLES START =============== */
.repay-sched-schedule-table-container {
  padding: 2rem;
}

/* UPDATED: Center align table title and subtitle */
.repay-sched-schedule-table-container h3,
#repay-sched-schedule-subtitle {
  text-align: center !important;
  margin-bottom: 1.5rem;
}

.repay-sched-schedule-table-container h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a202c;
}

#repay-sched-schedule-subtitle {
  color: #718096;
  font-size: 0.9rem;
  line-height: 1.4;
}

.repay-sched-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
  position: relative;
}

/* Enhanced table scroll behavior */
.repay-sched-table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.repay-sched-table-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.repay-sched-table-wrapper::-webkit-scrollbar-thumb {
  background: #6f42c1;
  border-radius: 4px;
}

.repay-sched-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #553c9a;
}

.repay-sched-schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  min-width: 600px;
  position: relative;
}

.repay-sched-schedule-table.loading {
  opacity: 0.6;
  pointer-events: none;
}

.repay-sched-schedule-table.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  border: 3px solid #6f42c1;
  border-radius: 50%;
  border-top-color: transparent;
  animation: repay-sched-spin 1s linear infinite;
  transform: translate(-50%, -50%);
}

.repay-sched-schedule-table thead {
  background: linear-gradient(135deg, #6f42c1, #764ba2);
  color: white;
}

.repay-sched-schedule-table th {
  padding: 1rem 0.75rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
}

.repay-sched-schedule-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.repay-sched-schedule-table tbody tr:nth-child(even) {
  background-color: rgba(111, 66, 193, 0.02);
}

.repay-sched-schedule-table tbody tr:hover {
  background: #f7fafc;
  transform: scale(1.01);
}

.repay-sched-schedule-table tbody tr.animating {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.3s ease;
}

.repay-sched-schedule-table tbody tr.animated {
  opacity: 1;
  transform: translateX(0);
}

.repay-sched-schedule-table td {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: #2d3748;
}

.repay-sched-schedule-table td:first-child {
  font-weight: 600;
  color: #6f42c1;
}
/* =============== DYNAMIC TABLE STYLES END =============== */

/* =============== SUMMARY SECTION STYLES START =============== */
.repay-sched-schedule-summary {
  padding: 0 2rem;
}

/* UPDATED: Single row layout for summary cards */
.repay-sched-summary-cards {
  display: flex !important;
  justify-content: center !important;
  gap: 3rem !important;
  flex-wrap: nowrap !important;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f7fafc, #edf2f7);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.repay-sched-summary-card {
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  transition: transform 0.2s ease;
  flex: 0 1 auto;
  min-width: 180px;
  max-width: 220px;
  animation: repay-sched-fadeInUp 0.6s ease forwards;
}

.repay-sched-summary-card:nth-child(1) {
  animation-delay: 0.1s;
}

.repay-sched-summary-card:nth-child(2) {
  animation-delay: 0.2s;
}

.repay-sched-summary-card:nth-child(3) {
  animation-delay: 0.3s;
}

.repay-sched-summary-card:hover {
  transform: translateY(-2px);
}

/* ADDED: Icons for summary labels */
.repay-sched-summary-label {
  display: block;
  font-size: 0.8rem;
  color: #718096;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.repay-sched-summary-label::before {
  font-size: 1.1em;
  margin-right: 0.3rem;
  color: #6f42c1;
}

/* Total EMI Icon */
.repay-sched-summary-card:nth-child(1) .repay-sched-summary-label::before {
  content: '💳';
}

/* Total Interest Icon */
.repay-sched-summary-card:nth-child(2) .repay-sched-summary-label::before {
  content: '📈';
}

/* Total Payment Icon */
.repay-sched-summary-card:nth-child(3) .repay-sched-summary-label::before {
  content: '💰';
}

.repay-sched-summary-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #6f42c1;
}
/* =============== SUMMARY SECTION STYLES END =============== */

/* =============== APPLY BUTTON STYLES START =============== */
.repay-sched-schedule-cta {
  text-align: center;
  padding-bottom: 1rem;
}

.repay-sched-apply-loan-button {
  background: linear-gradient(135deg, #6f42c1 0%, #9b6ff2 100%);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 1.1em;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(111,66,193,0.4);
  width: 90%;
  justify-content: center;
  margin-top: 15px;
}

.repay-sched-apply-loan-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.repay-sched-apply-loan-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.repay-sched-apply-loan-button:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.repay-sched-apply-loan-button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.repay-sched-apply-loan-button.processing {
  background: linear-gradient(135deg, #6f42c1, #764ba2) !important;
  opacity: 0.8;
}

.repay-sched-apply-loan-button.success {
  background: linear-gradient(135deg, #10b981, #059669) !important;
}

.repay-sched-apply-loan-button .loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: repay-sched-spin 1s linear infinite;
  margin-right: 8px;
}
/* =============== APPLY BUTTON STYLES END =============== */

/* =============== ANIMATIONS START =============== */
@keyframes repay-sched-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes repay-sched-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* =============== ANIMATIONS END =============== */

/* =============== MOBILE RESPONSIVE STYLES START =============== */
@media (max-width: 768px) {
  .repay-sched-repayment-schedule-section {
    padding: 1rem 0.5rem;
    margin: 2rem auto;
  }
  
  .repay-sched-schedule-calculator, .repay-sched-schedule-table-container {
    padding: 1.5rem 1rem;
  }
  
  .repay-sched-schedule-summary {
    padding: 0 1rem;
  }
  
  /* MOBILE: Keep inputs in single row */
  .repay-sched-calculator-inputs {
    display: flex !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .repay-sched-input-group {
    flex: 0 0 auto !important;
    min-width: 120px !important;
    max-width: 140px !important;
  }
  
  .repay-sched-input-label {
    font-size: 0.8rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .repay-sched-form-input {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.9rem !important;
  }
  
  /* MOBILE: Center align subtitle */
  .repay-sched-schedule-table-container h3 {
    font-size: 1.1rem !important;
  }
  
  #repay-sched-schedule-subtitle {
    font-size: 0.85rem !important;
    text-align: center !important;
  }
  
  .repay-sched-schedule-table {
    min-width: 500px;
  }
  
  /* MOBILE: Summary cards in single row */
  .repay-sched-summary-cards {
    display: flex !important;
    justify-content: space-around !important;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    padding: 1rem !important;
  }
  
  .repay-sched-summary-card {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0.75rem 0.5rem !important;
  }
  
  .repay-sched-summary-label {
    font-size: 0.7rem !important;
  }
  
  .repay-sched-summary-value {
    font-size: 1rem !important;
  }
}

/* =============== EXTRA SMALL MOBILE FIXES =============== */
@media (max-width: 480px) {
  .repay-sched-calculator-inputs {
    gap: 0.5rem !important;
  }
  
  .repay-sched-input-group {
    min-width: 100px !important;
    max-width: 120px !important;
  }
  
  .repay-sched-input-label {
    font-size: 0.75rem !important;
  }
  
  .repay-sched-form-input {
    padding: 0.4rem 0.5rem !important;
    font-size: 0.85rem !important;
  }
  
  #repay-sched-schedule-subtitle {
    font-size: 0.8rem !important;
  }
  
  .repay-sched-summary-cards {
    gap: 0.25rem !important;
  }
  
  .repay-sched-summary-card {
    padding: 0.5rem 0.25rem !important;
  }
  
  .repay-sched-summary-label {
    font-size: 0.65rem !important;
  }
  
  .repay-sched-summary-value {
    font-size: 0.9rem !important;
  }
  
  .repay-sched-schedule-summary {
    padding: 0 0.5rem;
  }
}

/* =============== ACCESSIBILITY AND PERFORMANCE ENHANCEMENTS =============== */
@media (prefers-reduced-motion: reduce) {
  .repay-sched-summary-card,
  .repay-sched-apply-loan-button,
  .repay-sched-schedule-table tbody tr {
    transition: none;
  }
  
  .repay-sched-summary-card:hover,
  .repay-sched-apply-loan-button:hover,
  .repay-sched-schedule-table tbody tr:hover {
    transform: none;
  }
  
  .repay-sched-summary-card {
    animation: none;
  }
  
  @keyframes repay-sched-fadeInUp {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes repay-sched-spin {
    to { transform: rotate(0deg); }
  }
}

@media (prefers-contrast: high) {
  .repay-sched-schedule-container {
    border: 2px solid #232345;
  }
  
  .repay-sched-form-input {
    border-width: 3px;
  }
  
  .repay-sched-apply-loan-button {
    border: 2px solid rgba(255,255,255,0.8);
  }
}

/* =============== PRINT STYLES =============== */
@media print {
  .repay-sched-repayment-schedule-section {
    background: white;
    box-shadow: none;
  }
  
  .repay-sched-schedule-container {
    box-shadow: none;
    border: 1px solid black;
  }
  
  .repay-sched-apply-loan-button {
    display: none;
  }
  
  .repay-sched-schedule-table thead {
    background: #f0f0f0 !important;
    color: black !important;
  }
  
  .repay-sched-schedule-table {
    font-size: 0.8rem;
  }
  
  .repay-sched-schedule-table th,
  .repay-sched-schedule-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .repay-sched-summary-cards {
    background: white !important;
  }
  
  .repay-sched-summary-card {
    border: 1px solid #000 !important;
    background: white !important;
  }
}

/* =============== MOBILE RESPONSIVE STYLES END =============== */
/* =============== LOAN REPAYMENT SCHEDULE STYLES END =============== */

/* =============== DYNAMIC LOAN REQUIREMENT SECTION STYLES START =============== */
/* =============== LOAN REQUIREMENT SECTION STYLES START =============== */

body { background: #f9fafb; font-family: 'Rubik', Arial, sans-serif; }
.loan-req-plain-bg { background: #f9fafb; }
.loan-req-requirement-section {
  max-width: 1100px; margin: 3rem auto; padding: 2rem 1rem 36px 1rem;
  font-family: 'Rubik', sans-serif; background: white;
}
.loan-req-requirement-header {
  text-align: center; padding-top: 44px; margin-bottom: 18px;
}
.loan-req-main-section-title {
  color: #6f42c1; font-size: 1.7rem; font-weight: 600;
  margin-bottom: 10px; line-height: 1.1;
}
.loan-req-requirement-subtitle {
  color: #0a0a0a; font-size: 1em;
  line-height: 1.6; max-width: 700px; margin: 0 auto;
}
.loan-req-form-title {
  color: #6f42c1; font-size: 1.5rem; font-weight: 700;
  margin-bottom: 2.3rem; text-align: center;
}
.loan-req-form-card {
  max-width: 1000px; width: 100%;
  background: #fff; border-radius: 16px;
  box-shadow: 0 3px 28px 0 rgba(44, 51, 67, 0.063);
  margin: 48px auto 36px auto; padding: 44px 56px 30px 56px;
  border: 1.2px solid #edecef; position: relative;
}
.loan-req-form-card.loading { opacity: 0.7; pointer-events: none; }
.loan-req-form-card.loading::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px;
  border: 3px solid #6f42c1; border-radius: 50%;
  border-top-color: transparent; animation: loan-req-spin 1s linear infinite;
  transform: translate(-50%, -50%); z-index: 1000;
}
.loan-req-form-row-2col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px 30px; margin-bottom: 1.4em;
}
.loan-req-form-group { margin-bottom: 0.4em; }
.loan-req-form-label { font-size: 1.04em; font-weight: 500; color: #000; margin-bottom: 0.21em; display: block; }
.loan-req-required { color: #bd2842; }
.loan-req-form-field,
.loan-req-form-textarea,
.loan-req-form-group select {
  width: 100%; padding: 0.7em 0.7em; background: #fff;
  border: 1.1px solid #e2e4ef; border-radius: 7px;
  font-size: 1em; color: #191b24; outline: none;
  transition: border 0.19s; margin-bottom: 0.14em; box-sizing: border-box;
}
.loan-req-form-field:focus, .loan-req-form-textarea:focus,
.loan-req-form-group select:focus {
  border-color: #6f42c1; background: #f9fafd;
}
.loan-req-form-field:focus-visible,
.loan-req-form-group select:focus-visible { outline: 2px solid #6f42c1; outline-offset: 2px; }
.loan-req-form-field::placeholder, .loan-req-form-textarea::placeholder { color: #b2b6bd; }
.loan-req-form-field.error { border-color: #e53e3e; background: #fef5f5; animation: loan-req-shake 0.5s ease-in-out; }
.loan-req-form-field.success { border-color: #38a169; background: #f0fff4; }
@keyframes loan-req-shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

/* Select enhancement (Loan Type, etc.) */
.loan-req-form-group select.loan-req-form-field {
  padding-right: 32px;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' fill='gray' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 8.5L10 13l4.5-4.5' stroke='%236f42c1' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 0.9em center/1.2em auto #fff;
  appearance: none;
  -webkit-appearance: none; -moz-appearance: none; cursor: pointer;
}
.loan-req-form-group select:focus { outline: 2px solid #6f42c1; }
.loan-req-form-group select:disabled { background: #f6f6f9; color: #aaa; }

/* File upload */
.loan-req-form-field[type="file"] { border: none; background: transparent; font-size: 1em; color: #333; margin-top: 6px; }
.loan-req-form-field[type="file"]:focus { outline: 2px solid #6f42c1; }

/* Date picker */
.loan-req-form-field[type="date"] {
  padding: 0.7em 0.7em; font-size: 1em; background: #fff; color: #191b24;
  border: 1.1px solid #e2e4ef; border-radius: 7px;
}
.loan-req-form-field[type="date"]:focus { border-color: #6f42c1; outline: 2px solid #6f42c1; }

/* Checkbox */
.loan-req-form-group input[type="checkbox"] {
  accent-color: #6f42c1; width: 20px; height: 20px; margin-right: 0.5em;
}
.loan-req-form-group label input[type="checkbox"] { vertical-align: middle; }

/* Tooltip/help block (optional) */
.loan-req-help-icon {
  display: inline-block; background: #edecef; color: #6f42c1; border-radius: 50%;
  width: 18px; height: 18px; font-size: 13px; text-align: center; line-height: 18px;
  font-weight: 700; cursor: pointer; margin-left: 5px;
}
.loan-req-tooltip {
  display: none; position: absolute; z-index: 11000; background: #fff;
  color: #333; border: 1px solid #6f42c1; padding: 8px 16px; border-radius: 8px;
  font-size: 0.95em; min-width: 200px; max-width: 90vw;
  box-shadow: 0 5px 16px rgba(111,66,193,0.08);
}
.loan-req-help-icon:hover + .loan-req-tooltip,
.loan-req-help-icon:focus + .loan-req-tooltip { display: block; }

/* Radio group */
.loan-req-profile-radio-group {
  display: flex; gap: 1.05em; margin-top: 0.16em; flex-wrap: wrap;
}
.loan-req-profile-radio-group input[type="radio"] { display: none; }
.loan-req-profile-radio-group label {
  border-radius: 15px; border: 1.1px solid #cecdf3;
  background: #fcfcfe; color: #6f42c1;
  padding: 0.33em 1.23em; font-size: 1em; font-weight: 500;
  cursor: pointer; transition: all 0.155s; user-select: none;
}
.loan-req-profile-radio-group input[type="radio"]:checked + label {
  border-color: #6f42c1; background: linear-gradient(90deg, #6f42c1 60%, #ebe1fd 170%);
  color: #fff; font-weight: 700;
}

/* Slider */
.loan-req-budget-slider-wrap {
  background: #fff; border: 1px solid #e2e4ef; border-radius: 12px;
  padding: 12px 16px; margin-bottom: 12px; position: relative;
  box-shadow: 0 2px 8px rgba(111, 66, 193, 0.05);
}
.loan-req-slider-group input[type=range] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 40px; background: transparent;
  outline: none; margin: 0; border-radius: 20px; cursor: pointer;
  --slider-progress: 20%;
}
/* WebKit Slider Track */
.loan-req-slider-group input[type=range]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 8px;
  background: linear-gradient(
    to right,
    #6f42c1 0%,
    #6f42c1 var(--slider-progress, 20%),
    #e2e4ef var(--slider-progress, 20%),
    #e2e4ef 100%
  );
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1); transition: background 0.3s ease;
}
/* WebKit Slider Thumb */
.loan-req-slider-group input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; border: 3px solid #6f42c1; box-shadow: 0 3px 12px rgba(111, 66, 193, 0.4);
  cursor: pointer; margin-top: -8px; transition: all 0.2s ease;
}
.loan-req-slider-group input[type=range]:hover::-webkit-slider-thumb,
.loan-req-slider-group input[type=range]:focus::-webkit-slider-thumb {
  transform: scale(1.1); box-shadow: 0 4px 20px rgba(111, 66, 193, 0.6); border-color: #553c9a;
}
/* Firefox Slider */
.loan-req-slider-group input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: #e2e4ef; border: none; }
.loan-req-slider-group input[type=range]::-moz-range-progress { height: 8px; border-radius: 8px; background: #6f42c1; }
.loan-req-slider-group input[type=range]::-moz-range-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #6f42c1;
  box-shadow: 0 3px 12px rgba(111, 66, 193, 0.4); cursor: pointer; transition: all 0.2s ease;
}
.loan-req-slider-group input[type=range]:hover::-moz-range-thumb,
.loan-req-slider-group input[type=range]:focus::-moz-range-thumb {
  transform: scale(1.1); box-shadow: 0 4px 20px rgba(111, 66, 193, 0.6);
}
/* IE/Edge Slider */
.loan-req-slider-group input[type=range]::-ms-track { width: 100%; height: 8px; background: transparent; border-color: transparent; color: transparent; }
.loan-req-slider-group input[type=range]::-ms-fill-lower { height: 8px; border-radius: 8px; background: #6f42c1; }
.loan-req-slider-group input[type=range]::-ms-fill-upper { height: 8px; border-radius: 8px; background: #e2e4ef; }
.loan-req-slider-group input[type=range]::-ms-thumb {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #6f42c1;
  box-shadow: 0 3px 12px rgba(111, 66, 193, 0.4); cursor: pointer;
}
.loan-req-slider-group input[type=range]:focus { outline: none; }
.loan-req-slider-group input[type=range]::-ms-tooltip { display: none; }
/* Slider Amount */
.loan-req-slider-amount-display {
  position: absolute; top: -36px; right: 12px; color: #6f42c1;
  background: #fff; border: 2px solid #6f42c1; border-radius: 8px;
  font-weight: 700; font-size: 0.9em; padding: 4px 12px; min-width: 70px;
  z-index: 10; text-align: center; box-shadow: 0 2px 8px rgba(111, 66, 193, 0.2);
  pointer-events: none; transition: all 0.3s ease;
}
.loan-req-slider-manual { margin-top: 1.15em; }

.loan-req-form-submit { margin-top: 1.7em; grid-column: span 2; }
.loan-req-submit-button {
  width: 100%; background: linear-gradient(135deg, #6f42c1 0%, #9b6ff2 100%);
  color: #fff; border: none; padding: 1.19em 0; border-radius: 9px;
  font-size: 1.15em; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: 0 4px 18px rgba(111, 66, 193, 0.2);
  transition: all 0.3s ease; cursor: pointer; font-family: 'Rubik', sans-serif;
}
.loan-req-submit-button:hover { box-shadow: 0 6px 25px rgba(111, 66, 193, 0.4); transform: translateY(-2px);}
.loan-req-submit-button:active { transform: translateY(-1px) scale(0.98);}
.loan-req-submit-button:disabled { opacity: 0.61; cursor: not-allowed; }
.loan-req-submit-button.submitting {
  background: linear-gradient(135deg, #553c9a 0%, #764ba2 100%);
  cursor: wait;
}
.loan-req-button-loader { display: none; width: 18px; height: 18px; border: 2px solid transparent; border-top: 2px solid #6f42c1;
  border-radius: 50%; animation: loan-req-spin 1s linear infinite; margin-left: 10px; }
@keyframes loan-req-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.loan-req-field-error { color: #e53e3e; font-size: 0.85em; min-height: 1em; margin-top: 0.10em; }

/* Success Popup */
.loan-req-success-popup {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(111, 66, 193, 0.1); display: flex; align-items: center; justify-content: center;
  z-index: 9999; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
  opacity: 0; animation: loan-req-fadeIn 0.3s ease forwards;
}
@keyframes loan-req-fadeIn { to { opacity: 1; } }
.loan-req-success-popup-inner {
  background: #fff; border-radius: 16px; padding: 2.1rem 1.8rem; text-align: center;
  box-shadow: 0 20px 60px rgba(111, 66, 193, 0.15); max-width: 400px; width: 90vw; position: relative;
  animation: loan-req-popfade 0.4s cubic-bezier(0.18, 0.74, 0.41, 1.01); border: 1px solid #e2e4ef;
}
@keyframes loan-req-popfade { 0% { transform: scale(0.8); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.loan-req-success-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.loan-req-success-popup h3 { font-size: 1.3rem; font-weight: 700; color: #6f42c1; margin-bottom: 1rem;}
#loan-req-loanReq-popup-details {
  margin-bottom: 1.5em; font-size: 0.95em; color: #4a5568; text-align: left;
  background: #f8f9ff; padding: 1rem; border-radius: 8px; border-left: 4px solid #6f42c1;
}
.loan-req-contact-box { display: flex; flex-direction: column; gap: 0.5em; margin-bottom: 1.5em; }
.loan-req-contact-btn {
  display: inline-block; background: var(--btn-color, #6f42c1); color: #fff; border-radius: 8px;
  padding: 0.6em 1.2em; font-size: 0.9em; font-weight: 600; text-decoration: none; transition: all 0.2s ease;
}
.loan-req-contact-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15);}
.loan-req-success-close-btn {
  padding: 0.7em 2em; background: #fff; color: #6f42c1; border-radius: 8px; border: 2px solid #6f42c1;
  font-weight: 700; font-size: 1em; cursor: pointer; transition: all 0.2s ease; font-family: 'Rubik', sans-serif;
}
.loan-req-success-close-btn:hover { background: #6f42c1; color: #fff; }

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
  .loan-req-slider-group input[type=range]::-webkit-slider-thumb { width: 32px; height: 32px; margin-top: -12px;}
  .loan-req-slider-group input[type=range]::-moz-range-thumb { width: 32px; height: 32px;}
  .loan-req-profile-radio-group label { padding: 0.5em 1.5em; font-size: 1.1em; min-height: 44px; display: flex; align-items: center; justify-content: center;}
  .loan-req-submit-button { min-height: 48px; font-size: 1.2em;}
  .loan-req-contact-btn { min-height: 44px; font-size: 1em; padding: 0.8em 1.4em;}
  .loan-req-success-close-btn { min-height: 44px; padding: 0.8em 2.2em;}
}

/* Accessibility */
@media (prefers-contrast: high) {
  .loan-req-form-field { border-width: 2px;}
  .loan-req-submit-button { border: 2px solid rgba(255,255,255,0.8);}
  .loan-req-slider-group input[type=range]::-webkit-slider-thumb { border-width: 4px;}
}
@media (prefers-reduced-motion: reduce) {
  .loan-req-form-field, .loan-req-submit-button, .loan-req-contact-btn, .loan-req-success-close-btn, .loan-req-profile-radio-group label, .loan-req-slider-amount-display {transition: none;}
  .loan-req-submit-button:hover {transform: none;}
  @keyframes loan-req-spin {to {transform: rotate(0deg);}}
  @keyframes loan-req-shake {0%, 100% {transform: translateX(0);}}
  @keyframes loan-req-popfade {0%, 100% {transform: scale(1); opacity: 1;}}
  @keyframes loan-req-fadeIn {0%, 100% {opacity: 1;}}
}

/* Print styles */
@media print {
  .loan-req-requirement-section { background: white; }
  .loan-req-success-popup, .loan-req-submit-button { display: none !important; }
  .loan-req-form-field { border: 1px solid black; background: white; }
}

/* Responsive */
@media (max-width: 900px) {
  .loan-req-form-card { padding: 32px 24px; margin: 24px auto;}
  .loan-req-form-row-2col { grid-template-columns: 1fr; gap: 20px;}
  .loan-req-form-submit { grid-column: span 1;}
  .loan-req-slider-amount-display { right: 16px; top: -32px;}
}
@media (max-width: 768px) {
  .loan-req-requirement-section { padding: 1.5rem 0.5rem; margin: 2rem auto;}
  .loan-req-form-card { padding: 24px 16px; margin: 16px auto;}
  .loan-req-main-section-title { font-size: 1.5rem;}
  .loan-req-form-title { font-size: 1.3rem;}
  .loan-req-profile-radio-group { justify-content: center; gap: 0.8em;}
  .loan-req-profile-radio-group label { padding: 0.4em 1em; font-size: 0.9em;}
  .loan-req-slider-amount-display { right: 12px; top: -30px; font-size: 0.85em; padding: 3px 8px; min-width: 60px;}
}
@media (max-width: 480px) {
  .loan-req-form-card { padding: 20px 12px;}
  .loan-req-main-section-title { font-size: 1.3rem;}
  .loan-req-form-title { font-size: 1.2rem; margin-bottom: 1.8rem;}
  .loan-req-form-field { font-size: 0.95em; padding: 0.6em;}
  .loan-req-profile-radio-group { flex-direction: column; align-items: stretch; gap: 0.6em;}
  .loan-req-profile-radio-group label { text-align: center;}
  .loan-req-success-popup-inner { padding: 1.5rem 1.2rem; width: 95vw;}
  .loan-req-contact-box { gap: 0.4em;}
  .loan-req-contact-btn { font-size: 0.85em; padding: 0.5em 1em;}
  .loan-req-slider-amount-display { right: 8px; top: -30px; font-size: 0.8em; padding: 2px 8px; min-width: 50px; }
  .loan-req-budget-slider-wrap { padding: 10px 12px;}
}
@media (max-width: 360px) {
  .loan-req-form-card { padding: 16px 8px; margin: 12px auto;}
  .loan-req-main-section-title { font-size: 1.2rem;}
  .loan-req-form-title { font-size: 1.1rem; margin-bottom: 1.5rem;}
  .loan-req-form-field { font-size: 0.9em; padding: 0.5em;}
  .loan-req-success-popup-inner { padding: 1.2rem 1rem; width: 98vw;}
}

/* =============== MOBILE RESPONSIVE END =============== */
/* =============== LOAN REQUIREMENT SECTION STYLES END =============== */

/* =============== HOW IT WORKS SECTION STYLES START =============== */
/* =============== HOW IT WORKS SECTION STYLES START =============== */
.hw-how-it-works-section {
  padding: 50px 20px;
  background: #ffffff;
  font-family: 'Rubik', sans-serif;
}

.hw-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =============== SECTION HEADER START =============== */
.hw-section-header {
  text-align: center;
  margin-bottom: 60px;
}

.hw-section-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #6f42c1;
  margin-bottom: 16px;
}

.hw-section-header p {
  font-size: 1rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
/* =============== SECTION HEADER END =============== */

/* =============== STEPS GRID START =============== */
.hw-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
/* =============== STEPS GRID END =============== */

/* =============== STEP ITEM START =============== */
.hw-step-item {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
}

.hw-step-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #6f42c1;
}
/* =============== STEP ITEM END =============== */

/* =============== STEP NUMBER START =============== */
.hw-step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-size: 24px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.hw-step-item:hover .hw-step-number {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
}

.hw-step-number span {
  display: block;
}
/* =============== STEP NUMBER END =============== */

/* =============== STEP CONTENT START =============== */
.hw-step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
}

.hw-step-content p {
  font-size: 1rem;
  color: #718096;
  line-height: 1.5;
  margin: 0;
}
/* =============== STEP CONTENT END =============== */

/* =============== MOBILE RESPONSIVE START =============== */
@media (max-width: 768px) {
  .hw-how-it-works-section {
    padding: 60px 15px;
  }
  
  .hw-section-header h2 {
    font-size: 1.4rem;
  }
  
  .hw-section-header {
    margin-bottom: 40px;
  }
  
  .hw-steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .hw-step-item {
    padding: 30px 25px;
  }
  
  .hw-step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hw-how-it-works-section {
    padding: 50px 10px;
  }
  
  .hw-section-header h2 {
    font-size: 1.75rem;
  }
  
  .hw-step-item {
    padding: 25px 20px;
  }
}
/* =============== MOBILE RESPONSIVE END =============== */

/* =============== ACCESSIBILITY ENHANCEMENTS START =============== */
@media (prefers-reduced-motion: reduce) {
  .hw-step-item,
  .hw-step-number {
    transition: none !important;
  }
  
  .hw-step-item:hover {
    transform: none !important;
  }
  
  .hw-step-item:hover .hw-step-number {
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .hw-step-item {
    border-color: #1a202c;
    border-width: 3px;
  }
  
  .hw-step-content p {
    color: #2d3748;
  }
}

/* =============== FOCUS STATES START =============== */
.hw-step-item:focus-within {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}
/* =============== FOCUS STATES END =============== */

/* =============== PRINT STYLES START =============== */
@media print {
  .hw-how-it-works-section {
    background: white;
    padding: 20px 0;
  }
  
  .hw-step-item {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .hw-steps-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
/* =============== PRINT STYLES END =============== */

/* =============== ENHANCED HOVER EFFECTS START =============== */
.hw-step-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}

.hw-step-item:hover::before {
  transform: scaleX(1);
}

.hw-step-item:hover .hw-step-content h3 {
  color: #6f42c1;
  transition: color 0.3s ease;
}
/* =============== ENHANCED HOVER EFFECTS END =============== */

/* =============== ANIMATION SUPPORT START =============== */
@keyframes hw-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hw-step-item {
  animation: hw-fadeInUp 0.6s ease both;
}

.hw-step-item:nth-child(1) {
  animation-delay: 0.1s;
}

.hw-step-item:nth-child(2) {
  animation-delay: 0.2s;
}

.hw-step-item:nth-child(3) {
  animation-delay: 0.3s;
}

/* =============== ACTIVE STATE START =============== */
.hw-step-item.hw-active {
  border-color: #6f42c1;
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(111, 66, 193, 0.2);
}

.hw-step-item.hw-active .hw-step-number {
  background: linear-gradient(135deg, #553c9a, #6f42c1);
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(111, 66, 193, 0.5);
}

.hw-step-item.hw-active .hw-step-content h3 {
  color: #6f42c1;
}

.hw-step-item.hw-active::before {
  transform: scaleX(1);
}
/* =============== ACTIVE STATE END =============== */

/* Disable animations for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hw-step-item {
    animation: none !important;
  }
}
/* =============== ANIMATION SUPPORT END =============== */

/* =============== HOW IT WORKS SECTION STYLES END =============== */

/* =============== TESTIMONIALS SECTION STYLES START =============== */
/* =============== TESTIMONIALS SECTION STYLES START =============== */
.test-testimonials-section {
  background: white;
  padding: 80px 20px;
  font-family: 'Rubik', sans-serif;
}

.test-testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =============== SECTION HEADER START =============== */
.test-testimonials-header {
  text-align: center;
  margin-bottom: 60px;
}

.test-testimonials-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #6f42c1;
  margin-bottom: 16px;
}

.test-testimonials-header p {
  font-size: 1rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
/* =============== SECTION HEADER END =============== */

/* =============== TESTIMONIALS GRID START =============== */
.test-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  min-height: 280px;
}

.test-testimonial-card {
  background: #f8fafc;
  padding: 25px 20px;
  border-radius: 16px;
  border-left: 4px solid #6f42c1;
  box-shadow: 0 4px 20px rgba(111, 66, 193, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: test-fadeInUp 0.6s ease forwards;
  position: relative;
  display: flex;
  flex-direction: column;
}

.test-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(111, 66, 193, 0.15);
}
/* =============== TESTIMONIALS GRID END =============== */

/* =============== STAR RATING START =============== */
.test-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 15px;
  justify-content: flex-start;
}

.test-star {
  color: #fbbf24;
  font-size: 1rem;
}

.test-star.empty {
  color: #e2e8f0;
}
/* =============== STAR RATING END =============== */

/* =============== TESTIMONIAL CONTENT START =============== */
.test-testimonial-quote {
  font-size: 1rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  flex-grow: 1;
}

.test-testimonial-quote::before {
  content: '"';
  font-size: 1.5rem;
  color: #6f42c1;
  font-family: serif;
  margin-right: 4px;
}

.test-testimonial-quote::after {
  content: '"';
  font-size: 1.5rem;
  color: #6f42c1;
  font-family: serif;
  margin-left: 4px;
}

.test-customer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.test-customer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  flex-shrink: 0;
}

.test-customer-details h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 4px;
}

.test-customer-details p {
  font-size: 0.875rem;
  color: #718096;
  margin: 0;
}
/* =============== TESTIMONIAL CONTENT END =============== */

/* =============== NAVIGATION DOTS START =============== */
.test-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.test-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2e8f0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.test-dot.active {
  background: #6f42c1;
  transform: scale(1.2);
}

.test-dot:hover {
  background: #9f7aea;
}
/* =============== NAVIGATION DOTS END =============== */

/* =============== ADD REVIEW SECTION START =============== */
.test-add-review-section {
  text-align: center;
}

.test-add-review-btn {
  width: 100%; 
  background: linear-gradient(135deg, #6f42c1 0%, #9b6ff2 100%);
  color: #fff; 
  border: none; 
  padding: 1.19em 0;
  border-radius: 9px; 
  font-size: 1.15em; 
  font-weight: 700; 
  letter-spacing: 0.01em;
  box-shadow: 0 4px 18px rgba(111, 66, 193, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Rubik', sans-serif;
}

.test-add-review-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
}

.test-add-review-btn:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}
/* =============== ADD REVIEW SECTION END =============== */

/* =============== REVIEW MODAL START =============== */
.test-review-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  animation: test-fadeIn 0.3s ease;
  backdrop-filter: blur(5px);
}

.test-modal-content {
  background: white;
  margin: 5% auto;
  padding: 30px;
  border-radius: 16px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: test-slideIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.test-close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  transition: color 0.3s ease;
}

.test-close-modal:hover {
  color: #6f42c1;
}

.test-modal-content h3 {
  color: #6f42c1;
  margin-bottom: 20px;
  font-size: 1.5rem;
  margin-top: 0;
}

.test-form-input,
.test-form-textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Rubik', sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  font-size: 1rem;
}

.test-form-input:focus,
.test-form-textarea:focus {
  outline: none;
  border-color: #6f42c1;
  box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.test-form-textarea {
  height: 100px;
  resize: vertical;
  min-height: 80px;
}

.test-rating-section {
  margin-bottom: 20px;
}

.test-rating-section label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #4a5568;
}

.test-star-rating {
  display: flex;
  gap: 4px;
}

.test-star-rating .test-star {
  font-size: 1.5rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.test-star-rating .test-star:hover,
.test-star-rating .test-star.active {
  color: #fbbf24;
}

.test-submit-btn {
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
  font-family: 'Rubik', sans-serif;
}

.test-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
}

.test-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
/* =============== REVIEW MODAL END =============== */

/* =============== ANIMATIONS START =============== */
@keyframes test-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes test-fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes test-slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes test-slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* =============== ANIMATIONS END =============== */

/* =============== MOBILE RESPONSIVE START =============== */
@media (max-width: 768px) {
  .test-testimonials-section {
    padding: 60px 15px;
  }
  
  .test-testimonials-header h2 {
    font-size: 1.5rem;
  }
  
  .test-testimonials-header p {
    font-size: 0.95rem;
  }
  
  .test-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: auto;
  }
  
  .test-testimonial-card {
    padding: 20px 15px;
    min-height: 160px;
  }
  
  .test-stars {
    margin-bottom: 12px;
  }
  
  .test-star {
    font-size: 0.9rem;
  }
  
  .test-testimonial-quote {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .test-testimonial-quote::before,
  .test-testimonial-quote::after {
    font-size: 1.2rem;
  }
  
  .test-customer-avatar {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  .test-customer-details h4 {
    font-size: 0.95rem;
  }
  
  .test-customer-details p {
    font-size: 0.8rem;
  }
  
  .test-modal-content {
    margin: 10% auto;
    padding: 20px;
    width: 95%;
  }
  
  .test-add-review-btn {
    padding: 12px 28px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .test-testimonials-section {
    padding: 50px 10px;
  }
  
  .test-testimonials-header h2 {
    font-size: 1.25rem;
  }
  
  .test-testimonials-header p {
    font-size: 0.9rem;
  }
  
  .test-testimonial-card {
    padding: 15px 12px;
    min-height: 140px;
  }
  
  .test-testimonial-quote {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  
  .test-add-review-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
  
  .test-modal-content {
    padding: 15px;
    margin: 15% auto;
  }
  
  .test-modal-content h3 {
    font-size: 1.25rem;
  }
  
  .test-form-input,
  .test-form-textarea {
    font-size: 0.95rem;
    padding: 10px;
  }
  
  .test-star-rating .test-star {
    font-size: 1.3rem;
  }
}
/* =============== MOBILE RESPONSIVE END =============== */

/* =============== ACCESSIBILITY ENHANCEMENTS START =============== */
@media (prefers-reduced-motion: reduce) {
  .test-testimonial-card,
  .test-add-review-btn,
  .test-submit-btn,
  .test-dot,
  .test-star-rating .test-star {
    transition: none !important;
    animation: none !important;
  }
  
  .test-testimonial-card:hover,
  .test-add-review-btn:hover,
  .test-submit-btn:hover {
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .test-testimonial-card {
    border-color: #1a202c;
    border-width: 2px;
  }
  
  .test-form-input,
  .test-form-textarea {
    border-width: 3px;
  }
  
  .test-add-review-btn,
  .test-submit-btn {
    border: 2px solid rgba(255,255,255,0.8);
  }
}

/* =============== PRINT STYLES START =============== */
@media print {
  .test-testimonials-section {
    background: white;
    padding: 20px 0;
  }
  
  .test-add-review-section,
  .test-testimonials-dots {
    display: none;
  }
  
  .test-testimonial-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .test-testimonials-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
/* =============== PRINT STYLES END =============== */

/* =============== TESTIMONIALS SECTION STYLES END =============== */

/* =============== FAQ SECTION STYLES START =============== */

.faq-faq-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 20px;
  font-family: 'Rubik', sans-serif;
  position: relative;
  overflow: hidden;
}

.faq-faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(111, 66, 193, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.faq-faq-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
/* =============== FAQ SECTION STYLES END =============== */

/* =============== FAQ HEADER START =============== */
.faq-faq-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  animation: faq-fadeInUp 0.8s ease 0.2s forwards;
}

#faq-main-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
  line-height: 1.3;
  background: linear-gradient(135deg, #1a202c 0%, #6f42c1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#faq-main-description {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}
/* =============== FAQ HEADER END =============== */

/* =============== FAQ LIST START =============== */
.faq-faq-list {
  margin-bottom: 50px;
}

.faq-faq-item {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: faq-slideInUp 0.6s ease forwards;
  overflow: hidden;
}

.faq-faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-faq-item:nth-child(8) { animation-delay: 0.8s; }
.faq-faq-item:nth-child(9) { animation-delay: 0.9s; }
.faq-faq-item:nth-child(10) { animation-delay: 1.0s; }

.faq-faq-item:hover {
  border-color: rgba(111, 66, 193, 0.2);
  box-shadow: 0 4px 12px rgba(111, 66, 193, 0.1);
  transform: translateY(-2px);
}

.faq-faq-item.active {
  border-color: #6f42c1;
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.15);
}

.faq-faq-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
/* =============== FAQ LIST END =============== */

/* =============== FAQ QUESTION START =============== */
.faq-faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  position: relative;
}

.faq-faq-question:hover {
  background: rgba(111, 66, 193, 0.02);
}

.faq-faq-question:focus {
  outline: 2px solid #6f42c1;
  outline-offset: -2px;
  background: rgba(111, 66, 193, 0.05);
}

.faq-question-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  line-height: 1.4;
  padding-right: 20px;
  flex: 1;
}

.faq-faq-icon {
  flex-shrink: 0;
  transition: all 0.3s ease;
  color: #6f42c1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.faq-faq-item.active .faq-faq-icon {
  transform: rotate(180deg);
}

.faq-faq-icon svg {
  width: 100%;
  height: 100%;
}
/* =============== FAQ QUESTION END =============== */

/* =============== FAQ ANSWER START =============== */
.faq-faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8fafc;
}

.faq-faq-item.active .faq-faq-answer {
  max-height: 500px;
  border-top: 1px solid #e2e8f0;
}

.faq-faq-answer-content {
  padding: 24px;
  color: #4a5568;
  line-height: 1.7;
  font-size: 1rem;
}

.faq-faq-answer-content p {
  margin: 0 0 20px 0;
}

.faq-faq-answer-content p:last-of-type {
  margin-bottom: 20px;
}
/* =============== FAQ ANSWER END =============== */

/* =============== FAQ ANSWER ACTIONS START =============== */
.faq-answer-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.faq-helpful-btn,
.faq-contact-btn-inline {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-helpful-btn {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.faq-helpful-btn:hover:not(:disabled) {
  background: rgba(34, 197, 94, 0.15);
  transform: translateY(-1px);
}

.faq-helpful-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.faq-contact-btn-inline {
  background: rgba(111, 66, 193, 0.1);
  color: #6f42c1;
  border: 1px solid rgba(111, 66, 193, 0.2);
}

.faq-contact-btn-inline:hover {
  background: rgba(111, 66, 193, 0.15);
  transform: translateY(-1px);
}
/* =============== FAQ ANSWER ACTIONS END =============== */

/* =============== FAQ CONTACT SECTION START =============== */
.faq-faq-contact {
  text-align: center;
  padding: 40px 20px;
  background: rgba(111, 66, 193, 0.03);
  border-radius: 16px;
  border: 1px solid rgba(111, 66, 193, 0.1);
  opacity: 0;
  transform: translateY(30px);
  animation: faq-fadeInUp 0.8s ease 1.2s forwards;
}

.faq-faq-contact p {
  font-size: 1.125rem;
  color: #4a5568;
  margin: 0;
}

.faq-contact-link {
  color: #6f42c1;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  padding-bottom: 2px;
}

.faq-contact-link:hover {
  color: #553c9a;
  border-bottom-color: #6f42c1;
  transform: translateY(-1px);
}

.faq-contact-link:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
  border-radius: 4px;
}
/* =============== FAQ CONTACT SECTION END =============== */

/* =============== CONTACT MODAL START =============== */
.faq-contact-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  animation: faq-modalFadeIn 0.3s ease;
}

.faq-contact-modal-content {
  background: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: faq-modalSlideIn 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.faq-close-contact-modal {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #6b7280;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.faq-close-contact-modal:hover {
  color: #6f42c1;
  background: rgba(111, 66, 193, 0.1);
  transform: rotate(90deg);
}

#faq-modal-title {
  color: #1a202c;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  padding: 32px 32px 0 32px;
}

.faq-modal-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
  padding: 0 32px 24px 32px;
}
/* =============== CONTACT MODAL END =============== */

/* =============== CONTACT OPTIONS START =============== */
.faq-contact-options {
  padding: 0 24px 24px 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.faq-contact-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.faq-contact-option::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(111, 66, 193, 0.05), transparent);
  transition: left 0.5s;
}

.faq-contact-option:hover::before {
  left: 100%;
}

.faq-contact-option:hover {
  border-color: #6f42c1;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.15);
}

.faq-contact-option:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.faq-contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(111, 66, 193, 0.1);
  transition: all 0.3s ease;
}

.faq-contact-option:hover .faq-contact-icon {
  background: #6f42c1;
  transform: scale(1.1);
}

.faq-whatsapp-option:hover .faq-contact-icon {
  background: #25d366;
}

.faq-phone-option:hover .faq-contact-icon {
  background: #0ea5e9;
}

.faq-email-option:hover .faq-contact-icon {
  background: #dc2626;
}

.faq-chat-option:hover .faq-contact-icon {
  background: #7c3aed;
}

.faq-contact-details {
  flex: 1;
}

.faq-contact-details h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 4px 0;
}

.faq-contact-details p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 4px 0;
}

.faq-contact-number {
  font-size: 0.875rem;
  color: #6f42c1;
  font-weight: 500;
}
/* =============== CONTACT OPTIONS END =============== */

/* =============== MODAL FOOTER START =============== */
.faq-modal-footer {
  background: #f9fafb;
  padding: 20px 32px;
  text-align: center;
  border-top: 1px solid #e5e7eb;
}

.faq-modal-footer p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}
/* =============== MODAL FOOTER END =============== */

/* =============== ANIMATIONS START =============== */
@keyframes faq-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faq-slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes faq-modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes faq-modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes faq-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

@keyframes faq-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
/* =============== ANIMATIONS END =============== */

/* =============== RESPONSIVE DESIGN START =============== */
@media (max-width: 1024px) {
  .faq-faq-section {
    padding: 70px 15px;
  }
  
  .faq-contact-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .faq-contact-option {
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .faq-faq-section {
    padding: 60px 15px;
  }
  
  #faq-main-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  #faq-main-description {
    font-size: 1rem;
  }
  
  .faq-faq-question {
    padding: 16px 20px;
  }
  
  .faq-question-text {
    font-size: 1rem;
    padding-right: 15px;
  }
  
  .faq-faq-answer-content {
    padding: 20px;
    font-size: 0.95rem;
  }
  
  .faq-contact-modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  #faq-modal-title {
    font-size: 1.5rem;
    padding: 24px 24px 0 24px;
  }
  
  .faq-modal-subtitle {
    padding: 0 24px 20px 24px;
  }
  
  .faq-contact-options {
    padding: 0 16px 20px 16px;
    gap: 10px;
  }
  
  .faq-modal-footer {
    padding: 16px 24px;
  }
  
  .faq-answer-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .faq-helpful-btn,
  .faq-contact-btn-inline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .faq-faq-section {
    padding: 50px 10px;
  }
  
  #faq-main-title {
    font-size: 1.5rem;
  }
  
  #faq-main-description {
    font-size: 0.95rem;
  }
  
  .faq-faq-question {
    padding: 14px 16px;
  }
  
  .faq-question-text {
    font-size: 0.95rem;
  }
  
  .faq-faq-answer-content {
    padding: 16px;
    font-size: 0.9rem;
  }
  
  .faq-contact-modal-content {
    margin: 15% auto;
  }
  
  #faq-modal-title {
    font-size: 1.375rem;
    padding: 20px 20px 0 20px;
  }
  
  .faq-modal-subtitle {
    padding: 0 20px 16px 20px;
    font-size: 0.95rem;
  }
  
  .faq-contact-options {
    padding: 0 12px 16px 12px;
  }
  
  .faq-contact-option {
    padding: 16px 12px;
    gap: 12px;
  }
  
  .faq-contact-icon {
    width: 35px;
    height: 35px;
    font-size: 1.25rem;
  }
  
  .faq-contact-details h4 {
    font-size: 1rem;
  }
  
  .faq-contact-details p {
    font-size: 0.8rem;
  }
  
  .faq-contact-number {
    font-size: 0.8rem;
  }
  
  .faq-modal-footer {
    padding: 12px 20px;
  }
  
  .faq-modal-footer p {
    font-size: 0.8rem;
  }
}
/* =============== RESPONSIVE DESIGN END =============== */

/* =============== ACCESSIBILITY ENHANCEMENTS START =============== */
@media (prefers-reduced-motion: reduce) {
  .faq-faq-item,
  .faq-faq-question,
  .faq-faq-icon,
  .faq-faq-answer,
  .faq-contact-option,
  .faq-helpful-btn,
  .faq-contact-btn-inline,
  .faq-contact-link {
    transition: none !important;
    animation: none !important;
  }
  
  .faq-faq-item:hover,
  .faq-contact-option:hover,
  .faq-helpful-btn:hover,
  .faq-contact-btn-inline:hover {
    transform: none !important;
  }
  
  .faq-faq-header,
  .faq-faq-contact {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .faq-faq-section {
    background: white;
  }
  
  .faq-faq-item {
    border: 2px solid #1a202c;
  }
  
  .faq-faq-item.active {
    border-color: #6f42c1;
    border-width: 3px;
  }
  
  .faq-contact-option {
    border: 2px solid #1a202c;
  }
  
  .faq-contact-option:hover {
    border-color: #6f42c1;
    border-width: 3px;
  }
  
  .faq-helpful-btn,
  .faq-contact-btn-inline {
    border-width: 2px;
  }
}

/* =============== FOCUS ENHANCEMENTS START =============== */
.faq-faq-question:focus,
.faq-contact-option:focus,
.faq-helpful-btn:focus,
.faq-contact-btn-inline:focus,
.faq-contact-link:focus,
.faq-close-contact-modal:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

/* High contrast focus for better accessibility */
@media (prefers-contrast: high) {
  .faq-faq-question:focus,
  .faq-contact-option:focus,
  .faq-helpful-btn:focus,
  .faq-contact-btn-inline:focus,
  .faq-contact-link:focus {
    outline: 3px solid #6f42c1;
    outline-offset: 3px;
  }
}
/* =============== FOCUS ENHANCEMENTS END =============== */
/* =============== ACCESSIBILITY ENHANCEMENTS END =============== */

/* =============== CORRECTED PRINT STYLES START =============== */
@media print {
  /* ✅ CORRECTED: Remove deprecated color-adjust property */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    /* REMOVED: color-adjust: exact !important; - DEPRECATED */
  }
  
  /* ✅ PAGE SETUP */
  @page {
    margin: 0.75in;
    size: A4;
    color: black;
  }
  
  /* ✅ HIDE WEB-ONLY ELEMENTS */
  .faq-contact-modal,
  .faq-answer-actions,
  .faq-faq-contact {
    display: none !important;
  }
  
  /* ✅ SECTION STYLING */
  .faq-faq-section {
    background: white !important;
    padding: 0 !important;
    page-break-inside: avoid;
    font-family: 'Times New Roman', serif !important;
  }
  
  .faq-faq-section::before {
    display: none !important;
  }
  
  .faq-faq-container {
    max-width: none !important;
    margin: 0 !important;
  }
  
  /* ✅ HEADER STYLING */
  .faq-faq-header {
    text-align: center !important;
    margin-bottom: 30px !important;
    page-break-after: avoid;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  #faq-main-title {
    font-size: 22px !important;
    color: black !important;
    background: none !important;
    -webkit-text-fill-color: black !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    border-bottom: 2px solid black;
    padding-bottom: 10px;
  }
  
  #faq-main-description {
    font-size: 14px !important;
    color: black !important;
    line-height: 1.4 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
    max-width: none !important;
  }
  
  /* ✅ FAQ ITEMS STYLING */
  .faq-faq-list {
    margin-bottom: 0 !important;
  }
  
  .faq-faq-item {
    border: 1px solid #666 !important;
    border-radius: 0 !important;
    margin-bottom: 15px !important;
    box-shadow: none !important;
    background: white !important;
    page-break-inside: avoid;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    overflow: visible !important;
  }
  
  .faq-faq-item.active::before {
    display: none !important;
  }
  
  /* ✅ QUESTIONS STYLING */
  .faq-faq-question {
    padding: 10px 12px !important;
    background: #f5f5f5 !important;
    border-bottom: 1px solid #666 !important;
    page-break-after: avoid;
  }
  
  .faq-question-text {
    font-size: 14px !important;
    color: black !important;
    font-weight: bold !important;
    line-height: 1.3 !important;
    padding-right: 0 !important;
  }
  
  .faq-faq-icon {
    display: none !important;
  }
  
  /* ✅ ANSWERS STYLING - ALWAYS SHOWN */
  .faq-faq-answer {
    max-height: none !important;
    overflow: visible !important;
    background: white !important;
    border: none !important;
    display: block !important;
  }
  
  .faq-faq-item .faq-faq-answer {
    border-top: none !important;
  }
  
  .faq-faq-answer-content {
    padding: 12px !important;
    font-size: 12px !important;
    color: black !important;
    line-height: 1.4 !important;
  }
  
  .faq-faq-answer-content p {
    margin: 0 0 8px 0 !important;
    text-align: justify;
  }
  
  .faq-faq-answer-content p:last-of-type {
    margin-bottom: 0 !important;
  }
  
  /* ✅ NUMBERING FAQ ITEMS */
  .faq-faq-item {
    counter-increment: faq-counter;
  }
  
  .faq-faq-list {
    counter-reset: faq-counter;
  }
  
  .faq-question-text::before {
    content: "Q" counter(faq-counter) ". ";
    font-weight: bold;
    color: black;
  }
  
  .faq-faq-answer-content::before {
    content: "A" counter(faq-counter) ". ";
    font-weight: bold;
    color: black;
    display: block;
    margin-bottom: 5px;
  }
  
  /* ✅ PAGE BREAK CONTROLS */
  .faq-faq-header {
    page-break-after: avoid;
  }
  
  .faq-faq-item {
    page-break-inside: avoid;
    page-break-after: auto;
  }
  
  .faq-faq-question {
    page-break-after: avoid;
  }
  
  .faq-faq-answer {
    page-break-before: avoid;
  }
  
  /* ✅ PREVENT WIDOWS AND ORPHANS */
  .faq-question-text,
  .faq-faq-answer-content p {
    widows: 2;
    orphans: 2;
  }
  
  /* ✅ PRINT HEADER */
  .faq-faq-section::after {
    content: "Contact: +91 7871555590 | Email: loanonwheels.in@gmail.com | Website: www.loanonwheels.com";
    display: block !important;
    font-size: 10px !important;
    color: #666 !important;
    text-align: center !important;
    margin-top: 30px !important;
    padding-top: 15px !important;
    border-top: 1px solid #ccc !important;
    font-style: italic;
    page-break-inside: avoid;
  }
  
  /* ✅ TABLE OF CONTENTS STYLE */
  .faq-faq-list::before {
    content: "Frequently Asked Questions Index";
    display: block !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: black !important;
    margin-bottom: 15px !important;
    text-align: center !important;
    border-bottom: 1px solid black;
    padding-bottom: 5px;
  }
  
  /* ✅ LINK HANDLING */
  a {
    color: black !important;
    text-decoration: none !important;
  }
  
  a[href]:after {
    content: " (" attr(href) ")";
    font-size: 10px;
    color: #666;
  }
  
  a[href^="#"]:after {
    content: "";
  }
  
  /* ✅ REMOVE INTERACTIVE ELEMENTS */
  button,
  [onclick],
  [role="button"] {
    display: none !important;
  }
  
  /* ✅ ENSURE VISIBILITY */
  .faq-faq-item,
  .faq-faq-question,
  .faq-faq-answer,
  .faq-question-text,
  .faq-faq-answer-content,
  .faq-faq-answer-content p {
    visibility: visible !important;
    display: block !important;
  }
}

/* ✅ SPECIFIC PRINT OPTIMIZATIONS */
@media print and (max-width: 8.5in) {
  #faq-main-title {
    font-size: 18px !important;
  }
  
  .faq-question-text {
    font-size: 12px !important;
  }
  
  .faq-faq-answer-content {
    font-size: 11px !important;
  }
}

@media print and (orientation: landscape) {
  .faq-faq-item {
    margin-bottom: 10px !important;
  }
  
  .faq-faq-answer-content {
    columns: 2;
    column-gap: 20px;
  }
}
/* =============== CORRECTED PRINT STYLES END =============== */
/* =============== FAQ SECTION STYLES END =============== */

/* =============== PARTNERSHIP SECTION STYLES START =============== */
/* =============== PARTNERSHIP SECTION STYLES START =============== */
.part-partnership-section {
  background: #ffffff;
  padding: 80px 20px;
  font-family: 'Rubik', sans-serif;
}

.part-partnership-container {
  max-width: 1200px;   /* Use SAME max-width as your forms/other sections */
  margin: 0 auto;
  box-sizing: border-box;
  padding-left: 20px;
  padding-right: 20px;  /* Add consistent horizontal padding */
}

/* =============== SECTION HEADER START =============== */
.part-partnership-header {
  text-align: center;
  margin-bottom: 60px;
}

.part-partnership-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #6f42c1;
  margin-bottom: 16px;
}

.part-partnership-header p {
  font-size: 1.4rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto 8px auto;
  line-height: 1.6;
}

.part-partnership-subtitle {
  color: #718096 !important;
  font-size: 0.9rem !important;
}
/* =============== SECTION HEADER END =============== */

/* =============== BENEFITS GRID START =============== */
.part-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.part-benefit-card {
  background: white;
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
}

.part-benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border-color: #6f42c1;
}

.part-benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  color: white;
  transition: all 0.3s ease;
}

.part-benefit-card:hover .part-benefit-icon {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.part-benefit-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
}

.part-benefit-card p {
  font-size: 0.9rem;
  color: #718096;
  line-height: 1.5;
  margin: 0;
}
/* =============== BENEFITS GRID END =============== */

/* =============== STATS SECTION START =============== */
.part-stats-section {
  background: white;
  padding: 50px 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.part-stats-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 12px;
}

.part-stats-section > p {
  font-size: 0.95rem;
  color: #718096;
  margin-bottom: 35px;
}

.part-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.part-stat-item {
  text-align: center;
}

.part-stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #6f42c1;
  margin-bottom: 8px;
  line-height: 1;
}

.part-stat-label {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 500;
}

.part-partner-cta-btn {
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: white;
  border: none;
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.3);
  margin-bottom: 20px;
  font-family: 'Rubik', sans-serif;
}

.part-partner-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(111, 66, 193, 0.4);
}

.part-partner-cta-btn:active {
  transform: translateY(0);
}

.part-partner-cta-btn:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.part-disclaimer {
  font-size: 0.8rem;
  color: #718096;
  margin: 0;
}
/* =============== STATS SECTION END =============== */

/* =============== PARTNER MODAL START =============== */
.part-partner-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  animation: part-fadeIn 0.3s ease;
  overflow-y: auto;
  backdrop-filter: blur(5px);
}

.part-partner-modal-content {
  background: white;
  margin: 2% auto;
  padding: 40px;
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: part-slideIn 0.4s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.part-close-partner-modal {
  color: #999;
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 28px;
  font-weight: normal;
  cursor: pointer;
  transition: color 0.2s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.part-close-partner-modal:hover {
  color: #6f42c1;
  background: rgba(111, 66, 193, 0.1);
}

.part-close-partner-modal:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.part-partner-modal-content h3 {
  color: #6f42c1;
  margin: 0 0 15px 0;
  font-size: 1.125rem;
  font-weight: 600;
  text-align: center;
}

.part-modal-subtitle {
  color: #718096;
  font-size: 0.9rem;
  text-align: center;
  margin: 0 0 30px 0;
  line-height: 1.5;
}
/* =============== PARTNER MODAL END =============== */

/* =============== PARTNER FORM START =============== */
.part-partner-form {
  max-width: 100%;
}

.part-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.part-form-group {
  margin-bottom: 20px;
}

.part-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #000000;
  font-size: 0.9rem;
}

.part-form-input,
.part-form-select,
.part-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Rubik', sans-serif;
  transition: all 0.3s ease;
  background: white;
  box-sizing: border-box;
}

.part-form-input:focus,
.part-form-select:focus,
.part-form-textarea:focus {
  outline: none;
  border-color: #6f42c1;
  box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.1);
}

.part-form-input::placeholder,
.part-form-textarea::placeholder {
  color: #a0aec0;
}

.part-form-select {
  cursor: pointer;
}

.part-form-select option {
  color: #1a202c;
  background: white;
  padding: 8px;
}

.part-form-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.part-form-input:invalid,
.part-form-select:invalid,
.part-form-textarea:invalid {
  box-shadow: none;
}

.part-form-input.error,
.part-form-select.error,
.part-form-textarea.error {
  border-color: #e53e3e;
  background-color: #fef5f5;
}

.part-form-input.error:focus,
.part-form-select.error:focus,
.part-form-textarea.error:focus {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.part-field-error {
  color: #e53e3e;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
  animation: part-fadeIn 0.3s ease;
}
/* =============== PARTNER FORM END =============== */

/* =============== CHECKBOX GROUP START =============== */
.part-checkbox-group {
  margin-bottom: 25px;
}

.part-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.part-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #6f42c1;
}

.part-checkbox-label input[type="checkbox"]:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.part-terms-link,
.part-privacy-link {
  color: #6f42c1;
  text-decoration: none;
  font-weight: 500;
}

.part-terms-link:hover,
.part-privacy-link:hover {
  text-decoration: underline;
  color: #553c9a;
}

.part-terms-link:focus,
.part-privacy-link:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}
/* =============== CHECKBOX GROUP END =============== */

/* =============== SUBMIT BUTTON START =============== */
.part-submit-partner-btn {
  width: 100%;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: white;
  border: none;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  font-family: 'Rubik', sans-serif;
}

.part-submit-partner-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.3);
}

.part-submit-partner-btn:active:not(:disabled) {
  transform: translateY(0);
}

.part-submit-partner-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.part-submit-partner-btn:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}

.part-submit-partner-btn.loading {
  pointer-events: none;
}

.part-submit-partner-btn.success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.part-submit-partner-btn.error {
  background: linear-gradient(135deg, #e53e3e, #fc8181);
}

.part-button-text {
  transition: all 0.3s ease;
}

.part-button-loader {
  display: none;
  align-items: center;
}

.part-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: part-spin 1s ease-in-out infinite;
}
/* =============== SUBMIT BUTTON END =============== */

/* =============== ANIMATIONS START =============== */
@keyframes part-spin {
  to { 
    transform: rotate(360deg); 
  }
}

@keyframes part-fadeIn {
  from { 
    opacity: 0; 
  }
  to { 
    opacity: 1; 
  }
}

@keyframes part-slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes part-slideInRight {
  from { 
    transform: translateX(100%); 
    opacity: 0; 
  }
  to { 
    transform: translateX(0); 
    opacity: 1; 
  }
}
/* =============== ANIMATIONS END =============== */

/* =============== NOTIFICATION STYLES START =============== */
.part-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  color: white;
  z-index: 1001;
  max-width: 400px;
  animation: part-slideInRight 0.5s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-family: 'Rubik', sans-serif;
}

.part-notification.success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.part-notification.error {
  background: linear-gradient(135deg, #e53e3e, #fc8181);
}
/* =============== NOTIFICATION STYLES END =============== */

/* =============== MOBILE RESPONSIVE START =============== */
@media (max-width: 768px) {
  .part-partnership-section {
    padding: 60px 15px;
  }
  
  .part-partnership-header h2 {
    font-size: 1.4rem;
  }
  
  .part-partnership-header p {
    font-size: 0.9rem;
  }
  
  /* 2 IN A ROW ON MOBILE */
  .part-benefits-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-bottom: 60px;
  }
  
  .part-benefit-card {
    padding: 25px 20px;
  }
  
  .part-benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
  }
  
  .part-benefit-card h3 {
    font-size: 1rem;
  }
  
  .part-benefit-card p {
    font-size: 0.85rem;
  }
  
  .part-stats-section {
    padding: 35px 25px;
  }
  
  .part-stats-section h3 {
    font-size: 1.1rem;
  }
  
  .part-stats-grid {
    gap: 30px;
  }
  
  .part-stat-number {
    font-size: 2rem;
  }
  
  .part-partner-cta-btn {
    padding: 14px 32px;
    font-size: 0.95rem;
  }
  
  /* Mobile Modal */
  .part-partner-modal {
    padding: 10px;
  }
  
  .part-partner-modal-content {
    padding: 25px 20px;
    margin: 5% auto;
    width: 100%;
    max-width: none;
    border-radius: 12px;
  }
  
  .part-close-partner-modal {
    top: 15px;
    right: 20px;
    font-size: 24px;
    width: 30px;
    height: 30px;
  }
  
  .part-partner-modal-content h3 {
    font-size: 1rem;
  }
  
  .part-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .part-form-group {
    margin-bottom: 16px;
  }
  
  .part-form-input,
  .part-form-select,
  .part-form-textarea {
    padding: 12px 14px;
    font-size: 0.9rem;
  }
  
  .part-checkbox-label {
    font-size: 0.85rem;
  }
  
  .part-submit-partner-btn {
    padding: 14px 20px;
    font-size: 0.95rem;
    min-height: 50px;
  }
}

@media (max-width: 480px) {
  .part-partnership-section {
    padding: 50px 10px;
  }
  
  .part-partnership-header h2 {
    font-size: 1.5rem;
  }
  
  /* KEEP 2 IN A ROW ON SMALL MOBILE */
  .part-benefits-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
  }
  
  .part-benefit-card {
    padding: 20px 16px;
  }
  
  .part-benefit-icon {
    width: 50px;
    height: 50px;
  }
  
  .part-benefit-card h3 {
    font-size: 0.9rem;
  }
  
  .part-benefit-card p {
    font-size: 0.8rem;
    line-height: 1.4;
  }
  
  .part-stats-section {
    padding: 25px 20px;
  }
  
  .part-stats-grid {
    gap: 25px;
  }
  
  .part-stat-number {
    font-size: 1.8rem;
  }
  
  .part-partner-cta-btn {
    padding: 12px 28px;
    font-size: 0.9rem;
  }
  
  .part-partner-modal-content {
    padding: 20px 15px;
    margin: 8% auto;
  }
  
  .part-partner-modal-content h3 {
    font-size: 0.95rem;
  }
  
  .part-form-input,
  .part-form-select,
  .part-form-textarea {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .part-form-group label {
    font-size: 0.85rem;
  }
  
  .part-checkbox-label {
    font-size: 0.8rem;
  }
  
  .part-submit-partner-btn {
    font-size: 0.9rem;
    min-height: 48px;
  }
}

@media (max-width: 320px) {
  .part-benefits-grid {
    gap: 12px;
  }
  
  .part-benefit-card {
    padding: 16px 12px;
  }
  
  .part-benefit-icon {
    width: 45px;
    height: 45px;
  }
  
  .part-benefit-card h3 {
    font-size: 0.85rem;
  }
  
  .part-benefit-card p {
    font-size: 0.75rem;
  }
  
  .part-stats-section {
    padding: 20px 15px;
  }
  
  .part-stat-number {
    font-size: 1.6rem;
  }
  
  .part-partner-modal-content {
    padding: 15px 12px;
  }
  
  .part-form-input,
  .part-form-select,
  .part-form-textarea {
    padding: 10px;
    font-size: 0.8rem;
  }
}
/* =============== MOBILE RESPONSIVE END =============== */

/* =============== ACCESSIBILITY ENHANCEMENTS START =============== */
@media (prefers-reduced-motion: reduce) {
  .part-benefit-card,
  .part-partner-cta-btn,
  .part-submit-partner-btn,
  .part-form-input,
  .part-form-select,
  .part-form-textarea {
    transition: none !important;
    animation: none !important;
  }
  
  .part-benefit-card:hover,
  .part-partner-cta-btn:hover,
  .part-submit-partner-btn:hover {
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .part-benefit-card {
    border-color: #1a202c;
    border-width: 2px;
  }
  
  .part-form-input,
  .part-form-select,
  .part-form-textarea {
    border-width: 3px;
  }
  
  .part-partner-cta-btn,
  .part-submit-partner-btn {
    border: 2px solid rgba(255,255,255,0.8);
  }
}

/* =============== PRINT STYLES START =============== */
@media print {
  .part-partnership-section {
    background: white;
    padding: 20px 0;
  }
  
  .part-partner-cta-btn,
  .part-partner-modal {
    display: none !important;
  }
  
  .part-benefit-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  
  .part-benefits-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
  }
}
/* =============== PRINT STYLES END =============== */

/* =============== PARTNERSHIP SECTION STYLES END =============== */


/* =============== CONTACT SECTION STYLES START =============== */
/* =============== CONTACT SECTION STYLES START =============== */
.cont-contact-section {
  background: #f8fafc;
  padding: 80px 20px;
  font-family: 'Rubik', sans-serif;
}

.cont-contact-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* =============== SECTION HEADER START =============== */
.cont-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.cont-section-title {
 font-size: 1.875rem;
    font-weight: 700;
    color: #6f42c1;
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
    line-height: 1.2;
    background: linear-gradient(135deg, #412985 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cont-section-subtitle {
  font-size: 1rem;
  color: #4a5568;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
  animation: cont-fadeInUp 0.6s ease 0.2s both;
}
/* =============== SECTION HEADER END =============== */

/* =============== STATS SECTION START =============== */
.cont-stats-section {
  margin-bottom: 60px;
}

.cont-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.cont-stat-item {
  text-align: center;
  padding: 20px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.cont-stat-item:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.cont-stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.cont-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #6f42c1;
  margin-bottom: 8px;
  line-height: 1;
}

.cont-stat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #4a5568;
}
/* =============== STATS SECTION END =============== */

/* =============== CONTACT METHODS START =============== */
.cont-contact-methods {
  margin-bottom: 50px;
}

.cont-methods-header {
  text-align: center;
  margin-bottom: 40px;
}

.cont-methods-header h3 {
 font-size: 1.4rem;
    font-weight: 600;
    color: #6f42c1;
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
    line-height: 1.2;
    background: linear-gradient(135deg, #412985 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cont-methods-header p {
  font-size: 0.95rem;
  color: #4a5568;
}

.cont-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.cont-method-card {
  background: white;
  border-radius: 16px;
  padding: 30px 25px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.cont-method-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 16px 16px 0 0;
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.cont-method-card:hover::before {
  transform: scaleX(1);
}

.cont-method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(111, 66, 193, 0.15);
  border-color: #6f42c1;
}

.cont-method-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.cont-method-card.cont-featured {
 
  background: linear-gradient(135deg, rgba(111, 66, 193, 0.02), rgba(255, 255, 255, 1));
}

.cont-featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.cont-method-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.cont-method-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.cont-method-icon.cont-whatsapp-icon {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.cont-method-card:hover .cont-method-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
}

.cont-method-icon svg {
  width: 24px;
  height: 24px;
}

.cont-method-type {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
}

.cont-method-info {
  margin-bottom: 25px;
}

.cont-contact-number {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6f42c1;
  margin-bottom: 6px;
}

.cont-contact-time {
  font-size: 0.85rem;
  color: #718096;
  margin-bottom: 12px;
}

.cont-method-desc {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
}

.cont-method-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  color: white;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 4px 15px rgba(111, 66, 193, 0.2);
}

.cont-method-btn:hover {
  background: linear-gradient(135deg, #553c9a, #8e44ad);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.4);
}

.cont-method-btn.cont-whatsapp-btn {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

.cont-method-btn.cont-whatsapp-btn:hover {
  background: linear-gradient(135deg, #1da851, #0f7c77);
}

.cont-method-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.cont-method-btn:hover svg {
  transform: translateX(3px);
}
/* =============== CONTACT METHODS END =============== */



/* =============== ANIMATIONS START =============== */
@keyframes cont-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cont-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes cont-slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* =============== ANIMATIONS END =============== */

/* =============== MOBILE RESPONSIVE START =============== */
@media (max-width: 1024px) {
  .cont-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .cont-methods-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cont-trust-items {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .cont-contact-section {
    padding: 60px 15px;
  }
  
  .cont-section-title {
    font-size: 1.5rem;
  }
  
  .cont-section-subtitle {
    font-size: 0.95rem;
  }
  
  .cont-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 30px 20px;
  }
  
  .cont-stat-item {
    padding: 16px 12px;
  }
  
  .cont-stat-number {
    font-size: 2rem;
  }
  
  .cont-method-card {
    padding: 25px 20px;
  }
  
  .cont-method-icon {
    width: 45px;
    height: 45px;
  }
  
  .cont-method-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .cont-method-type {
    font-size: 1rem;
  }
  
  .cont-contact-number {
    font-size: 1rem;
  }
  
  .cont-method-btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .cont-trust-items {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .cont-trust-item {
    padding: 16px 12px;
  }
  
  .cont-trust-icon {
    font-size: 1.5rem;
  }
  
  .cont-trust-item span {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .cont-contact-section {
    padding: 50px 10px;
  }
  
  .cont-section-title {
    font-size: 1.25rem;
  }
  
  .cont-section-subtitle {
    font-size: 0.9rem;
  }
  
  .cont-stats-grid {
    padding: 25px 16px;
  }
  
  .cont-stat-number {
    font-size: 1.8rem;
  }
  
  .cont-stat-label {
    font-size: 0.8rem;
  }
  
  .cont-method-card {
    padding: 20px 16px;
  }
  
  .cont-featured-badge {
    right: 12px;
    padding: 4px 12px;
    font-size: 0.7rem;
  }
  
  .cont-method-header {
    gap: 12px;
  }
  
  .cont-method-icon {
    width: 40px;
    height: 40px;
  }
  
  .cont-method-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .cont-method-type {
    font-size: 0.95rem;
  }
  
  .cont-contact-number {
    font-size: 0.95rem;
  }
  
  .cont-contact-time {
    font-size: 0.8rem;
  }
  
  .cont-method-desc {
    font-size: 0.85rem;
  }
  
  .cont-method-btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  
  .cont-trust-section {
    padding: 20px 16px;
  }
}
/* =============== MOBILE RESPONSIVE END =============== */

/* =============== ACCESSIBILITY ENHANCEMENTS START =============== */
@media (prefers-reduced-motion: reduce) {
  .cont-method-card,
  .cont-method-btn,
  .cont-method-icon,
  .cont-stat-item,
  .cont-trust-item {
    transition: none !important;
    animation: none !important;
  }
  
  .cont-method-card:hover,
  .cont-method-btn:hover,
  .cont-stat-item:hover,
  .cont-trust-item:hover {
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .cont-method-card {
    border-color: #1a202c;
    border-width: 2px;
  }
  
  .cont-method-btn {
    border: 2px solid rgba(255,255,255,0.8);
  }
  
  .cont-stats-grid,
  .cont-trust-section {
    border-width: 2px;
  }
}

/* =============== FOCUS STATES START =============== */
.cont-method-btn:focus,
.cont-method-card:focus,
.cont-stat-item:focus,
.cont-trust-item:focus {
  outline: 2px solid #6f42c1;
  outline-offset: 2px;
}
/* =============== FOCUS STATES END =============== */

/* =============== PRINT STYLES START =============== */
@media print {
  .cont-contact-section {
    background: white;
    padding: 20px 0;
  }
  
  .cont-stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .cont-methods-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cont-trust-items {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .cont-method-card,
  .cont-stats-grid,
  .cont-trust-section {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}
/* =============== PRINT STYLES END =============== */
/* Contact Section with Counter End */

/* Partner Bank Logo Styles CSS Start*/
/* =============== PARTNERSHIP BANKS SECTION START =============== */
.partnership-banks-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Rubik', sans-serif;
}

.partnership-banks-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(111, 66, 193, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.banks-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* =============== SECTION HEADER =============== */
.banks-header {
    margin-bottom: 50px;
}

.banks-section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #6f42c1;
    margin-bottom: 16px;
    font-family: 'Rubik', sans-serif;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a202c 0%, #6f42c1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banks-description {
    font-size: 1.125rem;
    color: #4a5568;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    font-family: 'Rubik', sans-serif;
}

/* =============== CAROUSEL CONTAINER =============== */
.banks-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 120px;
    border-radius: 16px;
    background: white;
    box-shadow: 0 4px 20px rgba(111, 66, 193, 0.08);
    padding: 20px 0;
    border: 1px solid rgba(111, 66, 193, 0.1);
    margin: 0 auto;
}

.banks-carousel-track {
    display: flex;
    align-items: center;
    height: 80px;
    animation: banks-scroll 40s linear infinite;
    gap: 60px;
    width: fit-content;
    padding: 0 30px;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* =============== BANK LOGO ITEMS =============== */
.bank-logo-item {
    flex-shrink: 0;
    height: 70px;
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    transition: all 0.3s ease;
    filter: brightness(0.9) opacity(0.9) grayscale(0.1);
    cursor: pointer;
    border-radius: 8px;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    contain: layout style paint;
}

.bank-logo-item:hover {
    filter: brightness(1) opacity(1) grayscale(0);
    transform: scale(1.08);
    background: transparent;
    border-color: rgba(111, 66, 193, 0.2);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.15);
}

.bank-logo-item:focus {
    outline: 2px solid #6f42c1;
    outline-offset: 2px;
    transform: scale(1.05);
    filter: brightness(1) opacity(1) grayscale(0);
}

.bank-logo-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(111, 66, 193, 0.05), rgba(159, 122, 234, 0.02));
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.bank-logo-item:hover::before {
    opacity: 1;
}

.bank-logo-item img {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: logoFadeIn 0.5s ease forwards;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}

.bank-logo-item:hover img {
    transform: scale(1.02);
}

/* =============== FALLBACK LOGO STYLING =============== */
.fallback-logo {
    background: rgba(111, 66, 193, 0.1) !important;
    border: 1px dashed rgba(111, 66, 193, 0.3) !important;
}

.fallback-logo:hover {
    background: rgba(111, 66, 193, 0.15) !important;
    border-color: rgba(111, 66, 193, 0.5) !important;
}

/* =============== CAROUSEL CONTROLS =============== */
.carousel-controls {
    position: absolute;
    top: 10px;
    right: 15px;
    display: flex;
    gap: 8px;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banks-carousel-container:hover .carousel-controls {
    opacity: 1;
}

.control-btn {
    background: rgba(111, 66, 193, 0.8);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(111, 66, 193, 1);
    transform: scale(1.1);
}

.control-btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
}

/* =============== NO-JS FALLBACK =============== */
.no-js-fallback {
    text-align: center;
    padding: 40px 20px;
    color: #4a5568;
    font-style: italic;
    background: rgba(111, 66, 193, 0.05);
    border-radius: 12px;
    border: 1px dashed rgba(111, 66, 193, 0.2);
}

/* =============== ANIMATIONS =============== */
@keyframes banks-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-25%);
    }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes successFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Pause animation on container hover */
.banks-carousel-container:hover .banks-carousel-track {
    animation-play-state: paused;
}

/* Logo loading animation delays */
.bank-logo-item:nth-child(1) img { animation-delay: 0.1s; }
.bank-logo-item:nth-child(2) img { animation-delay: 0.2s; }
.bank-logo-item:nth-child(3) img { animation-delay: 0.3s; }
.bank-logo-item:nth-child(4) img { animation-delay: 0.4s; }
.bank-logo-item:nth-child(5) img { animation-delay: 0.5s; }
.bank-logo-item:nth-child(6) img { animation-delay: 0.6s; }

/* =============== LOADING AND ERROR STATES =============== */
.banks-loader {
    text-align: center;
    color: #6f42c1;
    padding: 50px 0;
    font-family: 'Rubik', sans-serif;
}

.banks-loader .loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(111, 66, 193, 0.2);
    border-top: 3px solid #6f42c1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.banks-loader p {
    font-size: 1rem;
    color: #4a5568;
    margin: 0;
}

.banks-error {
    text-align: center;
    color: #e53e3e;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid #fc8181;
    font-family: 'Rubik', sans-serif;
    animation: errorShake 0.5s ease-in-out;
}

.banks-error p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.error-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.retry-button {
    background: linear-gradient(135deg, #6f42c1, #9f7aea);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.retry-button:hover {
    background: linear-gradient(135deg, #553c9a, #8e44ad);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.4);
}

.retry-button:active {
    transform: translateY(0);
}

.retry-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.retry-button:hover .retry-icon {
    transform: rotate(180deg);
}

.banks-success {
    text-align: center;
    color: #38a169;
    font-size: 0.9rem;
    margin-top: 15px;
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(56, 161, 105, 0.1), rgba(72, 187, 120, 0.05));
    border: 1px solid rgba(56, 161, 105, 0.2);
    border-radius: 8px;
    animation: successFadeIn 0.5s ease, successFadeOut 3s ease 2s forwards;
    font-weight: 500;
}

/* =============== RESPONSIVE DESIGN =============== */

/* Large Desktop */
@media (min-width: 1200px) {
    .partnership-banks-section {
        padding: 90px 20px;
    }
    
    .banks-carousel-container {
        height: 140px;
        padding: 25px 0;
    }
    
    .banks-carousel-track {
        height: 90px;
        gap: 80px;
    }
    
    .bank-logo-item {
        height: 80px;
        width: 170px;
        padding: 15px 20px;
    }
    
    .banks-section-title {
        font-size: 2rem;
    }
    
    .banks-description {
        font-size: 1.2rem;
        margin-bottom: 60px;
    }
}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1199px) {
    .partnership-banks-section {
        padding: 80px 20px;
    }
    
    .banks-carousel-container {
        height: 120px;
        padding: 20px 0;
    }
    
    .banks-carousel-track {
        height: 80px;
        gap: 60px;
    }
    
    .bank-logo-item {
        height: 70px;
        width: 150px;
    }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .partnership-banks-section {
        padding: 70px 20px;
    }
    
    .banks-section-title {
        font-size: 1.75rem;
        margin-bottom: 14px;
    }
    
    .banks-description {
        font-size: 1.1rem;
        margin-bottom: 45px;
    }
    
    .banks-carousel-container {
        height: 100px;
        padding: 15px 0;
    }
    
    .banks-carousel-track {
        height: 70px;
        gap: 50px;
        animation: banks-scroll 35s linear infinite;
    }
    
    .bank-logo-item {
        height: 60px;
        width: 130px;
        padding: 10px 12px;
    }
}

/* Mobile Large */
@media (min-width: 481px) and (max-width: 768px) {
    .partnership-banks-section {
        padding: 60px 15px;
    }
    
    .banks-section-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .banks-description {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .banks-carousel-container {
        height: 90px;
        padding: 12px 0;
        border-radius: 12px;
    }
    
    .banks-carousel-track {
        height: 66px;
        gap: 40px;
        animation: banks-scroll 30s linear infinite;
    }
    
    .bank-logo-item {
        height: 55px;
        width: 120px;
        padding: 8px 10px;
        cursor: default;
        -webkit-tap-highlight-color: rgba(111, 66, 193, 0.2);
    }
    
    .bank-logo-item:hover {
        transform: scale(1.05);
    }
    
    .bank-logo-item:active {
        transform: scale(0.98);
    }
    
    .carousel-controls {
        top: 5px;
        right: 10px;
    }
    
    .control-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .retry-button {
        padding: 10px 20px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .banks-header {
        margin-bottom: 40px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .partnership-banks-section {
        padding: 50px 10px;
    }
    
    .banks-section-title {
        font-size: 1.375rem;
        margin-bottom: 10px;
    }
    
    .banks-description {
        font-size: 0.95rem;
        margin-bottom: 35px;
        padding: 0 10px;
    }
    
    .banks-carousel-container {
        height: 80px;
        padding: 10px 0;
        border-radius: 10px;
    }
    
    .banks-carousel-track {
        height: 60px;
        gap: 30px;
        animation: banks-scroll 25s linear infinite;
    }
    
    .bank-logo-item {
        height: 50px;
        width: 110px;
        padding: 6px 8px;
        cursor: default;
        -webkit-tap-highlight-color: rgba(111, 66, 193, 0.2);
    }
    
    .bank-logo-item:hover {
        transform: scale(1.03);
    }
    
    .bank-logo-item:active {
        transform: scale(0.98);
    }
    
    .banks-loader {
        padding: 40px 0;
    }
    
    .banks-loader .loader-spinner {
        width: 35px;
        height: 35px;
        margin-bottom: 12px;
    }
    
    .error-content {
        gap: 12px;
    }
    
    .retry-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .banks-success {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .partnership-banks-section {
        padding: 40px 8px;
    }
    
    .banks-section-title {
        font-size: 1.25rem;
    }
    
    .banks-description {
        font-size: 0.9rem;
        margin-bottom: 30px;
    }
    
    .banks-carousel-container {
        height: 75px;
        padding: 8px 0;
    }
    
    .banks-carousel-track {
        height: 59px;
        gap: 25px;
        animation: banks-scroll 20s linear infinite;
    }
    
    .bank-logo-item {
        height: 45px;
        width: 100px;
        padding: 5px 6px;
    }
}

/* =============== ACCESSIBILITY =============== */
@media (prefers-reduced-motion: reduce) {
    .banks-carousel-track {
        animation: none !important;
    }
    
    .bank-logo-item,
    .bank-logo-item img,
    .bank-logo-item::before {
        transition: none !important;
        animation: none !important;
    }
    
    .banks-loader .loader-spinner {
        animation: none !important;
        border: 3px solid #6f42c1;
    }
    
    .banks-error {
        animation: none !important;
    }
    
    .bank-logo-item img {
        opacity: 1 !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .partnership-banks-section {
        background: white;
    }
    
    .partnership-banks-section::before {
        display: none;
    }
    
    .banks-carousel-container {
        border: 2px solid #6f42c1;
        box-shadow: none;
        background: white;
    }
    
    .bank-logo-item {
        border: 1px solid #6f42c1;
        background: transparent;
        filter: none;
    }
    
    .bank-logo-item:hover {
        background: #6f42c1;
        color: white;
    }
    
    .banks-section-title {
        color: #000;
        background: none;
        -webkit-text-fill-color: #000;
    }
}

/* =============== PRINT STYLES START =============== */
@media print {
    .partnership-banks-section {
        background: white !important;
        padding: 30px 10px !important;
        box-shadow: none !important;
        margin: 0 !important;
        page-break-inside: avoid;
    }
    
    .partnership-banks-section::before {
        display: none !important;
    }
    
    .banks-content-wrapper {
        max-width: 100% !important;
        margin: 0 !important;
        text-align: center !important;
    }
    
    .banks-section-title {
        font-size: 18px !important;
        color: black !important;
        background: none !important;
        -webkit-text-fill-color: black !important;
        margin-bottom: 10px !important;
        page-break-after: avoid;
        font-weight: bold !important;
    }
    
    .banks-description {
        font-size: 12px !important;
        color: black !important;
        margin-bottom: 20px !important;
        line-height: 1.4 !important;
        page-break-after: avoid;
    }
    
    .banks-carousel-container {
        height: auto !important;
        overflow: visible !important;
        background: white !important;
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 15px !important;
        page-break-inside: avoid;
    }
    
    .banks-carousel-track {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        height: auto !important;
        animation: none !important;
        padding: 0 !important;
        justify-items: center;
        align-items: center;
    }
    
    .bank-logo-item {
        height: 40px !important;
        width: 80px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 5px !important;
        border: 1px solid #ddd !important;
        border-radius: 0 !important;
        background: white !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
        cursor: default !important;
        page-break-inside: avoid;
        position: relative !important;
    }
    
    .bank-logo-item::before {
        display: none !important;
    }
    
    .bank-logo-item:hover {
        transform: none !important;
        background: white !important;
        border-color: #ddd !important;
        box-shadow: none !important;
    }
    
    .bank-logo-item img {
        max-height: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
        object-fit: contain !important;
        filter: grayscale(0.8) !important;
        transform: none !important;
        transition: none !important;
        opacity: 1 !important;
        animation: none !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .banks-loader,
    .banks-error,
    .banks-success {
        display: none !important;
    }
    
    .banks-carousel-container::after {
        content: "Banking Partners" !important;
        display: block !important;
        text-align: center !important;
        font-size: 10px !important;
        color: #666 !important;
        margin-top: 10px !important;
        font-style: italic !important;
    }
    
    .carousel-controls {
        display: none !important;
    }
    
    @media print and (max-width: 600px) {
        .banks-carousel-track {
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 10px !important;
        }
        
        .bank-logo-item {
            height: 35px !important;
            width: 70px !important;
            padding: 3px !important;
        }
        
        .banks-section-title {
            font-size: 16px !important;
        }
        
        .banks-description {
            font-size: 11px !important;
        }
    }
    
    @media print and (max-width: 400px) {
        .banks-carousel-track {
            grid-template-columns: repeat(2, 1fr) !important;
        }
        
        .bank-logo-item {
            height: 30px !important;
            width: 60px !important;
        }
        
        .banks-section-title {
            font-size: 14px !important;
        }
        
        .banks-description {
            font-size: 10px !important;
        }
    }
    
    * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    h1, h2, h3, h4, h5, h6, p, div, span {
        color: black !important;
        text-shadow: none !important;
    }
    
    @page {
        margin: 0.5in;
        size: A4;
    }
}
/* =============== PRINT STYLES END =============== */
/* =============== PARTNERSHIP BANKS SECTION END =============== */

/* =============== ELEGANT FOOTER CSS - COMPLETE CORRECTED VERSION =============== */
/* =============== FOOTER SECTION STYLES START =============== */
.foot-elegant-footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 50%, #1a202c 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
  font-family: 'Rubik', sans-serif;
}

.foot-footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* =============== BACKGROUND ELEMENTS START =============== */
.foot-elegant-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.foot-gradient-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(111, 66, 193, 0.4) 0%, transparent 70%);
  filter: blur(40px);
  animation: foot-float 8s ease-in-out infinite;
}

.foot-orb-1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-delay: 0s;
}

.foot-orb-2 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: -125px;
  animation-delay: -2s;
}

.foot-orb-3 {
  width: 200px;
  height: 200px;
  bottom: -100px;
  left: 30%;
  animation-delay: -4s;
}

.foot-floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.foot-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(159, 122, 234, 0.6);
  border-radius: 50%;
  animation: foot-particle-float 6s ease-in-out infinite;
}

.foot-particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.foot-particle:nth-child(2) { top: 60%; left: 20%; animation-delay: -1s; }
.foot-particle:nth-child(3) { top: 30%; left: 70%; animation-delay: -2s; }
.foot-particle:nth-child(4) { top: 80%; left: 60%; animation-delay: -3s; }
.foot-particle:nth-child(5) { top: 40%; left: 90%; animation-delay: -4s; }
/* =============== BACKGROUND ELEMENTS END =============== */

/* =============== FOOTER CONTENT START =============== */
.foot-footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  padding: 80px 20px 60px;
  position: relative;
  z-index: 1;
}

.foot-company-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.foot-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.foot-logo {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.foot-company-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.foot-company-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e0;
  margin-bottom: 30px;
}

.foot-social-media {
  display: flex;
  gap: 12px;
}

.foot-social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #e2e8f0;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.foot-social-item:hover {
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.foot-social-icon {
  width: 20px;
  height: 20px;
}
/* =============== FOOTER CONTENT END =============== */

/* =============== NAVIGATION START =============== */
.foot-navigation {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.foot-nav-column {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.foot-nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.foot-nav-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  border-radius: 1px;
}

.foot-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.foot-nav-list li {
  margin-bottom: 12px;
}

.foot-nav-link {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 6px;
  padding: 8px 12px;
}

.foot-nav-link:hover {
  color: #ffffff;
  background: rgba(111, 66, 193, 0.1);
  padding-left: 16px;
}

.foot-link-arrow {
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  font-size: 0.8rem;
  color: #9f7aea;
}

.foot-nav-link:hover .foot-link-arrow {
  opacity: 1;
  transform: translateX(4px);
}
/* =============== NAVIGATION END =============== */

/* =============== NEWSLETTER SECTION START =============== */
.foot-newsletter-section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.foot-newsletter-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.foot-newsletter-description {
  font-size: 0.9rem;
  color: #cbd5e0;
  line-height: 1.5;
  margin-bottom: 25px;
}

.foot-newsletter-form {
  margin-bottom: 30px;
}

.foot-newsletter-input-group {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 4px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.foot-newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: #ffffff;
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.foot-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.foot-newsletter-input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
}

.foot-newsletter-submit {
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  min-width: 120px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.foot-newsletter-submit:hover:not(:disabled) {
  background: linear-gradient(135deg, #553c9a, #8e44ad);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
}

.foot-newsletter-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.foot-newsletter-submit:active:not(:disabled) {
  transform: translateY(0) scale(0.98);
}

/* Enhanced Rolling Send Icon Animation */
.foot-submit-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.foot-submit-icon svg {
  width: 100%;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: center;
}

/* Rolling animation on hover */
.foot-newsletter-submit:hover .foot-submit-icon svg {
  animation: foot-roll-send 0.6s ease-in-out;
}

/* Rolling animation on click/send */
.foot-newsletter-submit.sending .foot-submit-icon svg {
  animation: foot-roll-send-active 0.8s ease-in-out;
}

/* Success state animation */
.foot-newsletter-submit.success .foot-submit-icon svg {
  animation: foot-bounce-success 0.6s ease-in-out;
  color: #48bb78;
}

/* Loading state animation */
.foot-newsletter-submit.loading .foot-submit-icon svg {
  animation: foot-spin-loading 1s linear infinite;
}

.foot-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.foot-stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
}

.foot-stat-card:hover {
  background: rgba(111, 66, 193, 0.2);
  border-color: rgba(111, 66, 193, 0.3);
  transform: translateY(-2px);
}

.foot-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #9f7aea;
  margin-bottom: 4px;
}

.foot-stat-label {
  font-size: 0.8rem;
  color: #cbd5e0;
  font-weight: 500;
}
/* =============== NEWSLETTER SECTION END =============== */

/* =============== FOOTER BOTTOM START =============== */
.foot-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 20px;
}

.foot-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.foot-copyright {
  color: #a0aec0;
  font-size: 0.85rem;
}

.foot-bottom-links {
  display: flex;
  gap: 24px;
}

.foot-bottom-link {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.foot-bottom-link:hover {
  color: #9f7aea;
}
/* =============== FOOTER BOTTOM END =============== */

/* =============== SCROLL TO TOP START =============== */
.foot-scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #6f42c1, #9f7aea);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(111, 66, 193, 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  z-index: 1000;
}

.foot-scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.foot-scroll-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 30px rgba(111, 66, 193, 0.4);
}

.foot-scroll-to-top svg {
  width: 20px;
  height: 20px;
}
/* =============== SCROLL TO TOP END =============== */

/* =============== ANIMATIONS START =============== */
@keyframes foot-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

@keyframes foot-particle-float {
  0%, 100% { transform: translate(0, 0); opacity: 0.6; }
  50% { transform: translate(20px, -20px); opacity: 1; }
}

@keyframes foot-shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

@keyframes foot-ripple {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* =============== ENHANCED SEND ICON ANIMATIONS =============== */
@keyframes foot-roll-send {
  0% { 
    transform: rotate(0deg) translateX(0);
  }
  25% { 
    transform: rotate(90deg) translateX(-2px);
  }
  50% { 
    transform: rotate(180deg) translateX(-4px);
  }
  75% { 
    transform: rotate(270deg) translateX(-2px);
  }
  100% { 
    transform: rotate(360deg) translateX(0);
  }
}

@keyframes foot-roll-send-active {
  0% { 
    transform: rotate(0deg) translateX(0) scale(1);
  }
  20% { 
    transform: rotate(72deg) translateX(-3px) scale(1.1);
  }
  40% { 
    transform: rotate(144deg) translateX(-6px) scale(1.05);
  }
  60% { 
    transform: rotate(216deg) translateX(-3px) scale(1.1);
  }
  80% { 
    transform: rotate(288deg) translateX(0) scale(1.05);
  }
  100% { 
    transform: rotate(360deg) translateX(4px) scale(1);
  }
}

@keyframes foot-bounce-success {
  0%, 20%, 60%, 100% {
    transform: translateY(0) scale(1);
  }
  40% {
    transform: translateY(-4px) scale(1.2);
  }
  80% {
    transform: translateY(-2px) scale(1.1);
  }
}

@keyframes foot-spin-loading {
  0% { 
    transform: rotate(0deg);
  }
  100% { 
    transform: rotate(360deg);
  }
}

/* Pulse effect for the button when loading */
@keyframes foot-pulse-button {
  0% {
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
  }
  50% {
    box-shadow: 0 6px 30px rgba(111, 66, 193, 0.6);
  }
  100% {
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
  }
}

.foot-newsletter-submit.loading {
  animation: foot-pulse-button 1.5s ease-in-out infinite;
}

/* Slide-in effect for success message */
@keyframes foot-slide-success {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* =============== ANIMATIONS END =============== */

/* =============== MOBILE RESPONSIVE START =============== */
@media (max-width: 1024px) {
  .foot-footer-content {
    grid-template-columns: 1fr;
    gap: 50px;
    padding: 60px 20px 50px;
  }
  
  .foot-navigation {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .foot-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .foot-footer-content {
    gap: 40px;
    padding: 50px 15px 40px;
  }
  
  .foot-navigation {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .foot-newsletter-input-group {
    flex-direction: column;
    gap: 8px;
    background: transparent;
    padding: 0;
  }
  
  .foot-newsletter-input,
  .foot-newsletter-submit {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
  }
  
  .foot-newsletter-submit {
    background: linear-gradient(135deg, #6f42c1, #9f7aea);
    border: none;
    padding: 14px 20px;
  }
  
  .foot-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .foot-bottom-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .foot-scroll-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .foot-footer-content {
    padding: 40px 10px 30px;
    gap: 30px;
  }
  
  .foot-company-name {
    font-size: 1.25rem;
  }
  
  .foot-social-media {
    gap: 8px;
  }
  
  .foot-social-item {
    width: 40px;
    height: 40px;
  }
  
  .foot-social-icon {
    width: 18px;
    height: 18px;
  }
  
  .foot-nav-title {
    font-size: 1rem;
  }
  
  .foot-nav-link {
    font-size: 0.85rem;
    padding: 6px 10px;
  }
  
  .foot-newsletter-title {
    font-size: 1rem;
  }
  
  .foot-newsletter-description {
    font-size: 0.85rem;
  }
  
  .foot-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .foot-stat-card {
    padding: 16px 12px;
  }
  
  .foot-stat-number {
    font-size: 1.25rem;
  }
  
  .foot-stat-label {
    font-size: 0.75rem;
  }
}
/* =============== MOBILE RESPONSIVE END =============== */

/* =============== ACCESSIBILITY ENHANCEMENTS START =============== */
@media (prefers-reduced-motion: reduce) {
  .foot-gradient-orb,
  .foot-particle,
  .foot-social-item,
  .foot-nav-link,
  .foot-newsletter-submit,
  .foot-scroll-to-top {
    animation: none !important;
    transition: none !important;
  }
  
  .foot-social-item:hover,
  .foot-newsletter-submit:hover,
  .foot-scroll-to-top:hover {
    transform: none !important;
  }
}

@media (prefers-contrast: high) {
  .foot-elegant-footer {
    background: #000000;
    border-top: 2px solid #ffffff;
  }
  
  .foot-nav-link,
  .foot-bottom-link {
    color: #ffffff;
  }
  
  .foot-newsletter-input,
  .foot-stat-card {
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.5);
  }
}

/* =============== FOCUS STATES START =============== */
.foot-nav-link:focus,
.foot-social-item:focus,
.foot-newsletter-input:focus,
.foot-newsletter-submit:focus,
.foot-bottom-link:focus,
.foot-scroll-to-top:focus {
  outline: 2px solid #9f7aea;
  outline-offset: 2px;
}
/* =============== FOCUS STATES END =============== */

/* =============== PRINT STYLES START =============== */
@media print {
  .foot-elegant-footer {
    background: white !important;
    color: black !important;
  }
  
  .foot-scroll-to-top,
  .foot-floating-particles,
  .foot-gradient-orb {
    display: none !important;
  }
  
  .foot-footer-content {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .foot-navigation {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .foot-nav-link,
  .foot-bottom-link {
    color: black !important;
  }
}
/* =============== PRINT STYLES END =============== */

/* =============== ELEGANT FOOTER CSS END =============== */

/* =============== LOAN VIRTUAL ASSISTANT STYLES START =============== */
.loan-bot-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
  --loan-primary: rgb(111, 66, 193);
  --loan-primary-pale: rgb(233, 222, 255);
  --loan-success: #10B981;
  --loan-danger: #EF4444;
  --loan-gray-50: #F9FAFB;
  --loan-white: #fff;
  --loan-shadow-purple: 0 8px 32px rgba(111,66,193,0.25);
  --loan-shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
  --loan-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04);
  --loan-radius-md: 12px;
  --loan-radius-xl: 20px;
  --loan-radius-2xl: 24px;
  --loan-transition-slow: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

.loan-bot-toggle {
  width: 80px;
  height: 80px;
  border-radius: 100%;
  border: none;
  background: none !important;
  box-shadow: none !important;
  color: var(--loan-white);
  cursor: pointer;
  transition: var(--loan-transition-slow);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* allow badge outside */
  padding: 0;
}

.loan-toggle-avatar {
  width: 100%;
  height: 100%;
  object-fit: contain; /* prevent cropping, scale entire icon */
  border-radius: 100%;
  transition: var(--loan-transition-slow);
  box-shadow: none !important;
  opacity: 1;
  transform: scale(1);
}

.loan-bot-toggle.active .loan-toggle-avatar {
  opacity: 0;
  transform: scale(0.5);
  pointer-events: none;
}

.loan-notification {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--loan-success);
  color: var(--loan-white);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
  border: 2px solid var(--loan-white);
  box-shadow: var(--loan-shadow-sm);
  z-index: 2; /* ensure visibility */
}

.loan-chat-window {
  position: absolute;
  bottom: 75px;
  left: 0;
  width: 360px;
  height: 540px;
  background: var(--loan-white);
  border-radius: var(--loan-radius-2xl);
  box-shadow: var(--loan-shadow-xl);
  border: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px) scale(0.95);
  transition: var(--loan-transition-slow);
  overflow: hidden;
}

.loan-chat-window.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.loan-chat-header {
  background: var(--loan-white);
  color:#1F2937;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #F3F4F6;
  position: relative;
}

.loan-avatar {
  width: 40px; height: 40px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; background: var(--loan-primary);
  box-shadow: var(--loan-shadow-sm); overflow: hidden;
}

.loan-avatar-img {
  width: 36px; height: 36px; object-fit: cover; border-radius: 50%;
}

.loan-info { flex: 1; }
.loan-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}
.loan-info p {
  margin: 2px 0 0 0;
  font-size: 13px;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 6px;
}
.loan-status-dot {
  width: 6px;
  height: 6px;
  background: var(--loan-success);
  border-radius: 50%;
}
.loan-header-actions {
  display: flex;
  gap: 4px;
}
.loan-header-btn {
  background: #F9FAFB;
  border: none;
  color: #6B7280;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--loan-transition-slow);
}
.loan-header-btn:hover,
.loan-header-btn:focus {
  background: var(--loan-primary);
  color: var(--loan-white);
  border-color: var(--loan-primary);
  box-shadow: var(--loan-shadow-sm);
  outline: none;
  transform: translateY(-1px);
}

.loan-messages {
  flex:1; padding:20px 24px; overflow-y:auto; background:var(--loan-gray-50);
  scroll-behavior: smooth;
}
.loan-message {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  animation: loanSlideIn 0.3s ease;
}
@keyframes loanSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.loan-user-message { flex-direction: row-reverse; }
.loan-message-avatar {
  width: 28px; height: 28px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; background: var(--loan-primary);
  box-shadow: var(--loan-shadow-sm); overflow: hidden;
}
.loan-message-avatar .loan-avatar-img {
  width: 26px; height: 26px; border-radius: 50%; object-fit: cover;
}
.loan-user-message .loan-message-avatar { background: #4B5563; }
.loan-message-bubble {
  background: var(--loan-white);
  padding: 12px 16px;
  border-radius: 16px;
  max-width: 260px;
  box-shadow: var(--loan-shadow-sm);
  border: 1px solid #E5E7EB;
  position: relative;
}
.loan-bot-message .loan-message-bubble { background: var(--loan-white); border: 1px solid #D1D5DB; }
.loan-user-message .loan-message-bubble {
  background: var(--loan-primary);
  color: var(--loan-white);
  margin-left: auto;
  border: none;
  box-shadow: var(--loan-shadow-purple);
}
.loan-message-text {
  font-size: 14px;
  line-height: 1.4;
  color: #1F2937;
  margin: 0;
}
.loan-user-message .loan-message-text { color: var(--loan-white); }

.loan-help-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 0;
}
.loan-help-options span {
  background: var(--loan-primary-pale);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  text-align: center;
  color: var(--loan-primary);
  font-weight: 500;
  border: 1px solid rgba(111,66,193,0.2);
  transition: var(--loan-transition-slow);
  cursor: pointer;
}
.loan-help-options span:hover,
.loan-help-options span:focus-visible {
  background: var(--loan-primary);
  color: var(--loan-white);
  transform: translateY(-1px);
  outline: none;
  box-shadow: 0 0 6px var(--loan-primary-pale);
}
.loan-typing {
  display: flex;
  gap: 4px;
  padding: 8px 0;
  align-items: center;
}
.loan-typing span {
  width: 6px; height: 6px;
  background: #9CA3AF; border-radius: 50%;
  animation: loanTyping 1.4s infinite ease-in-out;
}
.loan-typing span:nth-child(2) { animation-delay: 0.2s; }
.loan-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes loanTyping {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

.loan-quick-actions {
  padding: 16px 24px;
  border-top: 1px solid #F3F4F6;
  background: var(--loan-white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.loan-quick-btn {
  background: var(--loan-white);
  border: 1px solid #E5E7EB;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--loan-transition-slow);
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  text-align: center;
}
.loan-quick-btn:hover,
.loan-quick-btn:focus {
  background: var(--loan-primary);
  color: var(--loan-white);
  border-color: var(--loan-primary);
  box-shadow: var(--loan-shadow-sm);
  outline: none;
  transform: translateY(-1px);
}

.loan-input-section {
  padding: 16px 24px;
  border-top: 1px solid #F3F4F6;
  background: var(--loan-white);
  border-radius: 0 0 24px 24px;
}
.loan-input-box {
  display: flex;
  align-items: center;
  background: var(--loan-gray-50);
  border: 1px solid #E5E7EB;
  border-radius: 20px;
  padding: 4px;
  transition: var(--loan-transition-slow);
}
.loan-input-box:focus-within {
  border-color: var(--loan-primary);
  box-shadow: 0 0 0 3px var(--loan-primary-pale);
}
#loan-user-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  color: #1F2937;
}
#loan-user-input::placeholder { color: #9CA3AF; }
#loan-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--loan-primary);
  color: var(--loan-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--loan-transition-slow);
  margin-left: 4px;
}
#loan-send-btn:hover:not(:disabled),
#loan-send-btn:focus:not(:disabled) {
  background: #553293;
  transform: scale(1.05);
  outline: none;
}
#loan-send-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
#loan-send-btn svg { width: 16px; height: 16px; }

.loan-input-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  font-size: 11px;
  color: #9CA3AF;
}

.loan-modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
}
.loan-modal-content {
  background: var(--loan-white);
  border-radius: 20px;
  box-shadow: var(--loan-shadow-xl);
  width: 90%;
  max-width: 400px;
  max-height: 80vh;
  overflow: hidden;
}
.loan-modal-header {
  background: var(--loan-primary);
  color: var(--loan-white);
  padding: 20px 24px;
  text-align: center;
}
.loan-modal-header h3 {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 600;
}
.loan-modal-header p { margin: 0; opacity: 0.9; font-size: 14px; }
.loan-modal-body { padding: 24px; }
.loan-support-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.loan-support-option {
  background: var(--loan-white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: var(--loan-transition-slow);
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
}
.loan-support-option:hover,
.loan-support-option:focus-visible {
  border-color: var(--loan-primary);
  background: var(--loan-primary-pale);
  transform: translateY(-2px);
  box-shadow: var(--loan-shadow-sm);
  outline: none;
}
.loan-support-icon {
  font-size: 20px;
  flex-shrink: 0;
  color: var(--loan-primary);
}
.loan-support-option strong {
  color: #1F2937;
  font-size: 14px;
}
.loan-support-option p {
  margin: 0;
  color: #6B7280;
  font-size: 12px;
}
.loan-close-modal-btn {
  width: 100%;
  padding: 10px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  color: #6B7280;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--loan-transition-slow);
}
.loan-close-modal-btn:hover,
.loan-close-modal-btn:focus {
  background: #E5E7EB;
  color: #374151;
  outline: none;
}

@media (max-width: 480px) {
  .loan-bot-widget {
    bottom: 12px;
    left: 12px;
  }
  .loan-bot-toggle {
    width: 56px;
    height: 56px;
  }
  .loan-toggle-avatar {
    width: 52px;
    height: 52px;
  }
  .loan-chat-window {
    width: 280px !important;
    height: 400px !important;
    bottom: 60px;
    left: 0 !important;
    border-radius: 16px !important;
  }
  .loan-chat-header {
    padding: 12px 16px;
  }
  .loan-avatar {
    width: 32px;
    height: 32px;
  }
  .loan-avatar-img {
    width: 28px;
    height: 28px;
  }
  .loan-info h3 {
    font-size: 14px;
  }
  .loan-info p {
    font-size: 11px;
  }
  .loan-header-btn {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }
  .loan-messages {
    padding: 12px 16px;
  }
  .loan-message-bubble {
    max-width: 200px;
    padding: 10px 14px;
  }
  .loan-message-text {
    font-size: 12px;
  }
  .loan-help-options {
    gap: 6px;
  }
  .loan-help-options span {
    font-size: 10px;
    padding: 4px 8px;
  }
  .loan-quick-actions {
    padding: 12px 16px;
    gap: 6px;
  }
  .loan-quick-btn {
    font-size: 10px;
    padding: 8px 10px;
  }
  .loan-input-section {
    padding: 12px 16px;
    border-radius: 0 0 16px 16px;
  }
  #loan-user-input {
    font-size: 12px;
    padding: 10px 14px;
  }
  #loan-send-btn {
    width: 32px;
    height: 32px;
  }
  .loan-input-footer {
    font-size: 10px;
  }
  .loan-modal-content {
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loan-message,
  .loan-typing span,
  .loan-bot-toggle,
  .loan-header-btn,
  .loan-quick-btn,
  #loan-send-btn,
  #loan-user-input,
  .loan-support-option {
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .loan-bot-widget {
    display: none !important;
  }
}


/* =============== LOAN VIRTUAL ASSISTANT STYLES END=============== */
