/* ==========================================================================
   ATULYAM FINSERVE - STYLESHEET
   Modern, High-Conversion Theme for Home Loan & Mortgage Financial Services
   ========================================================================== */

:root {
  --primary: #0b2545;
  --primary-light: #134074;
  --primary-dark: #061527;
  --secondary: #00a86b;
  --secondary-hover: #008f5a;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --dark: #0f172a;
  --gray-900: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-premium: 0 15px 35px -5px rgba(11, 37, 69, 0.12), 0 0 15px rgba(0, 168, 107, 0.06);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--gray-700);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------------- Top Utility Bar ---------------- */
.top-bar {
  background: var(--primary-dark);
  color: var(--gray-300);
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.top-bar a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--gray-300);
}
.top-bar a:hover {
  color: var(--white);
}
.top-badge {
  background: rgba(0, 168, 107, 0.2);
  color: #34d399;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ---------------- Main Header & Nav ---------------- */
.main-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.main-header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 0.25rem 0;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(0, 168, 107, 0.25);
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.logo-title span {
  color: var(--secondary);
}
.logo-tagline {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gray-500);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  font-weight: 600;
  color: var(--gray-700);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--secondary);
  transition: var(--transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nav-phone-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: var(--gray-100);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}
.nav-phone-btn:hover {
  background: #e2e8f0;
  color: var(--secondary);
}
.nav-phone-btn i {
  color: var(--secondary);
}

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

/* ---------------- Common Buttons & Badges ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11, 37, 69, 0.3);
}
.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.4);
  color: var(--white);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 168, 107, 0.3);
}
.btn-secondary:hover {
  background: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.4);
  color: var(--white);
}
.btn-outline {
  border-color: var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--gray-50);
}
.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}
.btn-block {
  width: 100%;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.pill-accent {
  background: var(--accent-light);
  color: #b45309;
}
.pill-secondary {
  background: #d1fae5;
  color: #065f46;
}
.pill-primary {
  background: #e0f2fe;
  color: #0369a1;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}
.section-subtitle {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  margin-bottom: 0.6rem;
  display: block;
}
.section-title {
  font-size: 2.35rem;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--gray-600);
  font-size: 1.05rem;
}

/* ---------------- Hero Section ---------------- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #07192f 0%, #0b2545 60%, #134074 100%);
  color: var(--white);
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.07;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}
.hero-glow-1 {
  position: absolute;
  top: -15%;
  right: 10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 168, 107, 0.28) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  left: 5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge-wrap {
  margin-bottom: 1.25rem;
}
.hero-badge {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #a7f3d0;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-badge i {
  color: var(--accent);
}
.hero-title {
  font-size: 3.2rem;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}
.hero-title .highlight {
  background: linear-gradient(120deg, #34d399, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-description {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 580px;
}
.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}
.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}
.highlight-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(0, 168, 107, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Quick Form Card */
.hero-form-card {
  background: var(--white);
  color: var(--gray-700);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 0 0 4px 4px;
}
.form-header {
  margin-bottom: 1.5rem;
}
.form-title {
  font-size: 1.45rem;
  color: var(--dark);
  font-weight: 700;
}
.form-subtitle {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 0.2rem;
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--dark);
  background: var(--gray-50);
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--secondary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 168, 107, 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-note {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-align: center;
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* ---------------- Stats Strip ---------------- */
.stats-strip {
  background: var(--white);
  padding: 2.25rem 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 10;
  margin-top: -2rem;
  border-radius: var(--radius-lg);
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--gray-200);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-box {
  padding: 0 1rem;
  border-right: 1px solid var(--gray-200);
}
.stat-box:last-child {
  border-right: none;
}
.stat-number {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.stat-number span {
  color: var(--secondary);
}
.stat-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 600;
}

/* ---------------- Loan Products Section ---------------- */
.section-products {
  padding: 6rem 0;
  background: var(--gray-50);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(0, 168, 107, 0.3);
}
.product-card.featured-product {
  border: 2px solid var(--secondary);
}
.popular-ribbon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--secondary), #059669);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 168, 107, 0.4);
}
.product-card-body {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: #ecfdf5;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.product-card:hover .product-icon-wrap {
  background: var(--secondary);
  color: var(--white);
  transform: scale(1.05);
}
.product-title {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}
.product-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  min-height: 48px;
}
.product-rate-box {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px dashed var(--gray-300);
}
.rate-item span {
  display: block;
}
.rate-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 600;
}
.rate-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-heading);
}
.product-features-list {
  margin-bottom: 1.75rem;
  flex-grow: 1;
}
.product-features-list li {
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.product-features-list li i {
  color: var(--secondary);
  font-size: 0.9rem;
}
.product-card-footer {
  margin-top: auto;
}

/* ---------------- Loan Comparison Table ---------------- */
.section-comparison {
  padding: 5.5rem 0;
  background: var(--white);
}
.comparison-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}
.comparison-table-wrap {
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.comparison-table th {
  padding: 1.25rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
}
.comparison-table th.col-home {
  background: var(--primary-light);
}
.comparison-table th.col-lap {
  background: #065f46;
}
.comparison-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-700);
}
.comparison-table tr:hover td {
  background: var(--gray-50);
}
.comparison-feature-name {
  font-weight: 700;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ---------------- Interactive EMI Calculator ---------------- */
.section-calculator {
  padding: 6rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
}
.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
}
.calc-control-group {
  margin-bottom: 2.25rem;
}
.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}
.calc-label {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}
.calc-value-badge {
  background: #e0f2fe;
  color: var(--primary);
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
}

.range-slider {
  width: 100%;
  -webkit-appearance: none;
  height: 8px;
  border-radius: 5px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  transition: background 0.15s ease-in-out;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary);
  cursor: pointer;
  box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.25);
  transition: var(--transition);
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 0 6px rgba(0, 168, 107, 0.35);
}
.slider-hints {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-500);
  margin-top: 0.4rem;
}

/* Calculator Output Side */
.calc-result-box {
  background: linear-gradient(145deg, #0b2545 0%, #134074 100%);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 15px 30px rgba(11, 37, 69, 0.25);
}
.emi-hero-output {
  text-align: center;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 1.75rem;
}
.emi-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #94a3b8;
  font-weight: 600;
}
.emi-amount-val {
  font-size: 2.8rem;
  font-weight: 800;
  color: #34d399;
  font-family: var(--font-heading);
  line-height: 1.1;
  margin: 0.4rem 0;
}
.emi-note {
  font-size: 0.8rem;
  color: #cbd5e1;
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}
.breakdown-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
}
.breakdown-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-principal {
  background: #3b82f6;
}
.dot-interest {
  background: var(--accent);
}
.breakdown-val {
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--white);
}

.calc-chart-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0;
}

/* ---------------- 4-Step Process ---------------- */
.section-process {
  padding: 6rem 0;
  background: var(--white);
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.process-step-card {
  text-align: center;
  padding: 2rem 1.25rem;
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}
.process-step-card:hover {
  transform: translateY(-5px);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}
.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(11, 37, 69, 0.3);
}
.step-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0.75rem auto 1.25rem auto;
}
.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
}
.step-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
}

/* ---------------- Eligibility & Documents ---------------- */
.section-eligibility {
  padding: 6rem 0;
  background: var(--gray-50);
}
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.tab-btn {
  padding: 0.85rem 2rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--gray-300);
  background: var(--white);
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}
.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.doc-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.doc-box-title {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary);
}
.doc-checklist li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}
.doc-checklist li i {
  color: var(--secondary);
  margin-top: 0.25rem;
}

/* ---------------- Banking Partners ---------------- */
.section-partners {
  padding: 5rem 0;
  background: var(--white);
  text-align: center;
}
.partners-badge {
  display: inline-block;
  background: #f1f5f9;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gray-700);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.partner-card i {
  font-size: 2rem;
  color: var(--primary-light);
  margin-bottom: 0.5rem;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
  color: var(--primary);
}

/* ---------------- Why Atulyam Finserve ---------------- */
.section-why {
  padding: 6rem 0;
  background: linear-gradient(135deg, #0b2545 0%, #061527 100%);
  color: var(--white);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-features-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.why-feature-card {
  display: flex;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.why-feature-card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(6px);
  border-color: rgba(0, 168, 107, 0.5);
}
.why-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 168, 107, 0.2);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.why-card-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.why-card-desc {
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Comparison Versus Card */
.versus-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--gray-700);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.versus-header {
  text-align: center;
  margin-bottom: 2rem;
}
.versus-title {
  font-size: 1.4rem;
  color: var(--dark);
}
.versus-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.9rem;
  align-items: center;
}
.versus-item.header {
  font-weight: 800;
  color: var(--dark);
  border-bottom: 2px solid var(--gray-300);
}
.versus-bad {
  color: #ef4444;
  font-weight: 600;
}
.versus-good {
  color: var(--secondary);
  font-weight: 700;
}

/* ---------------- Testimonials ---------------- */
.section-testimonials {
  padding: 6rem 0;
  background: var(--gray-50);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 107, 0.3);
}
.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.testimonial-text {
  font-size: 0.95rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}
.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}
.author-name {
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}
.author-loan-tag {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
}

/* ---------------- FAQ Accordion ---------------- */
.section-faq {
  padding: 6rem 0;
  background: var(--white);
}
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--secondary);
  box-shadow: var(--shadow-sm);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dark);
  font-family: var(--font-heading);
}
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  transition: var(--transition);
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--secondary);
  color: var(--white);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: var(--gray-50);
}
.faq-answer-inner {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ---------------- Main Lead Capture / Contact Section ---------------- */
.section-apply {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  position: relative;
}
.apply-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
}
.apply-info-side {
  background: linear-gradient(145deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.apply-info-title {
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.apply-info-desc {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.contact-detail-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.contact-val {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.apply-form-side {
  padding: 3.5rem;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #061220;
  color: #94a3b8;
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-logo .logo-title {
  color: var(--white);
}
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #64748b;
}
.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-title {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--secondary);
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-disclaimer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.6;
}
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

/* ---------------- Floating Quick Buttons ---------------- */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}
.float-whatsapp {
  background: #25d366;
}
.float-whatsapp:hover {
  transform: scale(1.1);
  background: #20ba5a;
}
.float-call {
  background: var(--primary);
}
.float-call:hover {
  transform: scale(1.1);
  background: var(--primary-light);
}
.float-tooltip {
  position: absolute;
  right: 68px;
  background: var(--dark);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  font-weight: 600;
}
.float-btn:hover .float-tooltip {
  opacity: 1;
  right: 65px;
}

/* ---------------- Success Modal ---------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal-overlay.active {
  display: flex;
}
.modal-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  animation: modalPop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modalPop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.modal-icon-success {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.25rem auto;
}
.modal-title {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.modal-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 1.75rem;
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--gray-500);
  cursor: pointer;
}

/* ---------------- Responsive Media Queries ---------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem;
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-left, .top-bar-right {
    font-size: 0.78rem;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    transform: translateY(-120%);
    transition: var(--transition);
    z-index: 999;
    border-bottom: 1px solid var(--gray-200);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .mobile-toggle {
    display: block;
  }
  .nav-phone-btn {
    display: none;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-box:nth-child(2) {
    border-right: none;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .docs-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .apply-card {
    grid-template-columns: 1fr;
  }
  .apply-info-side, .apply-form-side {
    padding: 2.25rem 1.5rem;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .floating-actions {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .float-btn {
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
  }
}
