/* ==========================================================================
   LOAN MASTERS - Components & Interactive Features CSS
   ========================================================================== */

/* ==========================================================================
   1. Hero Banner Component
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #091830 0%, #0E1A2F 60%, #182846 100%);
  color: var(--white);
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 8vw, 100px) 0;
  overflow: hidden;
}

.hero-glow-bg {
  position: absolute;
  top: -150px;
  right: -100px;
  width: min(600px, 100%);
  height: min(600px, 100%);
  background: radial-gradient(circle, rgba(229, 169, 59, 0.18) 0%, rgba(15, 40, 78, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-blue {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: min(500px, 100%);
  height: min(500px, 100%);
  background: radial-gradient(circle, rgba(26, 59, 107, 0.4) 0%, rgba(9, 24, 48, 0) 70%);
  filter: blur(70px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 56px);
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(229, 169, 59, 0.15);
  border: 1px solid rgba(249, 199, 104, 0.35);
  border-radius: var(--radius-full);
  color: var(--accent-light);
  font-size: clamp(0.75rem, 2vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 18px;
}

.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: clamp(0.95rem, 2.2vw, 1.18rem);
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
  width: 100%;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 3vw, 24px);
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
}

.stat-label {
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  color: var(--gray-400);
  font-weight: 500;
}

/* Hero Media Visual Container */
.hero-media-wrapper {
  position: relative;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl), 0 0 35px rgba(229, 169, 59, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.hero-image-card img {
  width: 100%;
  height: clamp(280px, 45vw, 480px);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

/* Floating Badges on Hero Image */
.floating-glass-card {
  position: absolute;
  background: rgba(14, 26, 47, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  z-index: 3;
}

.floating-glass-card.top-left {
  top: 24px;
  left: -20px;
}

.floating-glass-card.bottom-right {
  bottom: 24px;
  right: -20px;
}

.floating-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-gradient);
  color: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.floating-icon-box.emerald {
  background: linear-gradient(135deg, #34D399 0%, #059669 100%);
  color: var(--white);
}

.floating-card-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.floating-card-info p {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* ==========================================================================
   2. Partner Banks Marquee
   ========================================================================== */
.partner-marquee-section {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
}

.partner-marquee-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.partner-logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-around;
  flex-wrap: wrap;
}

.partner-logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-800);
  transition: var(--transition-fast);
}

.partner-logo-badge:hover {
  background: var(--white);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.partner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-dark);
}

/* ==========================================================================
   3. Products Showcase Grid
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-xl);
}

.product-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-card-header img {
  transform: scale(1.08);
}

.product-type-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(15, 40, 78, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--navy-900);
}

.product-card-desc {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-100);
}

.product-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--gray-700);
  font-weight: 500;
}

.product-feature-item svg {
  color: var(--emerald-dark);
  flex-shrink: 0;
}

.product-rate-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-50);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  border: 1px dashed var(--gray-300);
}

.rate-label {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-weight: 600;
}

.rate-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
}

/* ==========================================================================
   4. Awards & Credential Gallery
   ========================================================================== */
.awards-highlight-strip {
  background: linear-gradient(135deg, #182846 0%, #0E1A2F 100%);
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  border: 1px solid rgba(229, 169, 59, 0.35);
  box-shadow: var(--shadow-xl);
  margin-bottom: 48px;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.award-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.award-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.award-img-box {
  position: relative;
  height: 280px;
  background: #F1F5F9;
  overflow: hidden;
}

.award-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.award-card:hover .award-img-box img {
  transform: scale(1.06);
}

.award-zoom-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 40, 78, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.award-card:hover .award-zoom-overlay {
  opacity: 1;
}

.award-card-info {
  padding: 24px;
}

.award-card-issuer {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-dark);
  margin-bottom: 6px;
}

.award-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.award-card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ==========================================================================
   5. Interactive EMI Calculator Component
   ========================================================================== */
.calculator-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.calc-input-group {
  margin-bottom: 28px;
}

.calc-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.calc-input-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
}

.calc-input-display {
  background: var(--gray-50);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  min-width: 130px;
  text-align: right;
}

.calc-slider {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: var(--gray-200);
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--primary);
  cursor: pointer;
  touch-action: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition: transform var(--transition-fast);
}

.calc-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.calc-slider::-webkit-slider-thumb:hover,
.calc-slider::-webkit-slider-thumb:active {
  transform: scale(1.18);
  box-shadow: 0 0 15px rgba(229, 169, 59, 0.6);
}

.calc-min-max {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 6px;
}

/* Calculator Result Panel */
.calc-result-panel {
  background: linear-gradient(135deg, #0E1A2F 0%, #182846 100%);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(229, 169, 59, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.emi-result-title {
  font-size: 0.95rem;
  color: var(--gray-300);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.emi-amount-huge {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  color: var(--accent-light);
  margin-bottom: 24px;
  line-height: 1;
}

/* Donut Chart Visualizer */
.chart-container {
  width: 170px;
  height: 170px;
  margin: 0 auto 24px auto;
  position: relative;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  margin-bottom: 28px;
}

.legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-key {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
}

.legend-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-value {
  font-weight: 700;
  color: var(--white);
}

/* ==========================================================================
   6. Founder & Story Section (About Us)
   ========================================================================== */
.founder-profile-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  margin-bottom: 60px;
}

.founder-img-box {
  position: relative;
  background: #0E1A2F;
}

.founder-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-content {
  padding: clamp(24px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.founder-name {
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.founder-designation {
  font-size: 0.95rem;
  color: var(--accent-dark);
  font-weight: 700;
  margin-bottom: 20px;
}

.founder-bio {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.founder-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.founder-milestones {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.milestone-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(15, 40, 78, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.milestone-text h6 {
  font-size: 0.95rem;
  font-weight: 700;
}

.milestone-text p {
  font-size: 0.78rem;
  color: var(--gray-500);
}

/* ==========================================================================
   7. Application Form (Multi-Step)
   ========================================================================== */
.apply-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: var(--shadow-xl);
  max-width: 800px;
  margin: 0 auto;
}

.form-steps-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.form-steps-indicator::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--gray-200);
  z-index: 1;
}

.step-indicator-item {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--gray-300);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.step-indicator-item.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 16px rgba(15, 40, 78, 0.3);
}

.step-indicator-item.completed .step-circle {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--white);
}

.step-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
}

.form-step-content {
  display: none;
}

.form-step-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-group-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  color: var(--navy-900);
  font-size: 16px !important;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 40, 78, 0.12);
}

.form-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.form-radio-card {
  position: relative;
}

.form-radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  background: var(--gray-50);
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: var(--transition-fast);
  min-height: 80px;
  -webkit-tap-highlight-color: transparent;
}

.form-radio-card input:checked + .radio-card-label {
  border-color: var(--primary);
  background: rgba(15, 40, 78, 0.08);
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 0 0 2px var(--primary);
}

.form-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}

/* ==========================================================================
   8. Lightbox / Award Zoom Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 24, 48, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 850px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 20;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--black);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-img-wrapper {
  background: #000;
  min-height: 280px;
  max-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-wrapper img {
  max-height: 520px;
  object-fit: contain;
  width: 100%;
}

.modal-details {
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
