/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

:root {
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #06b6d4;
  --accent-color: #f59e0b;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-dark: #0f172a;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --gradient-primary: -webkit-linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: -webkit-linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-accent: -webkit-linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

[data-theme="dark"] {
  --text-primary: #f9fafb;
  --text-secondary: #d1d5db;
  --text-light: #9ca3af;
  --bg-primary: #111827;
  --bg-secondary: #1f2937;
  --bg-dark: #0f172a;
  --border-color: #374151;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: all 0.3s ease;
  font-size: 14px; /* Reduced base font size */
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

[data-theme="dark"] .navbar {
  background: rgba(17, 24, 39, 0.95);
  border-bottom-color: var(--border-color);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem; /* Reduced padding */
  max-width: 1200px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem; /* Reduced from 1.5rem */
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-logo i {
  margin-right: 0.5rem;
  font-size: 1.5rem; /* Reduced from 1.8rem */
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem; /* Reduced from 2rem */
}

.nav-link,
.nav-link-style {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem; /* Added smaller font size */
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link-style:hover {
  color: var(--primary-color);
}

.nav-link::after,
.nav-link-style::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link-style:hover::after {
  width: 100%;
}

.nav-link.cta-btn,
.nav-link-style.cta-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 0.4rem 1.2rem; /* Reduced padding */
  border-radius: 25px;
  border: none;
  font-weight: 600;
  font-size: 0.85rem; /* Smaller font */
  transition: all 0.3s ease;
}

.nav-link.cta-btn:hover,
.nav-link-style.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-link.cta-btn::after,
.nav-link-style.cta-btn::after {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

.dark-mode-toggle {
  background: none;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 35px; /* Reduced from 40px */
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
  font-size: 0.8rem; /* Smaller icon */
}

.dark-mode-toggle:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Animated Hero Section */
.animated-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  overflow: hidden;
  padding: 80px 20px 40px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-money {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.money-symbol {
  position: absolute;
  font-size: 3rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.1);
  animation: floatMoney 8s linear infinite;
  user-select: none;
}

.money-symbol:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.money-symbol:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
}
.money-symbol:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
}
.money-symbol:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
}
.money-symbol:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
}
.money-symbol:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
}
.money-symbol:nth-child(7) {
  left: 70%;
  animation-delay: 6s;
}
.money-symbol:nth-child(8) {
  left: 80%;
  animation-delay: 7s;
}

@keyframes floatMoney {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.animated-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.3)"/></svg>')
    repeat;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%,
  100% {
    opacity: 0.3;
  }
  50% {
    opacity: 0.8;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.animated-title {
  font-size: 3rem; /* Reduced from 4rem */
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.title-line {
  display: block;
  opacity: 0;
  animation: slideInUp 0.8s ease forwards;
}

.title-line:nth-child(1) {
  animation-delay: 0.2s;
}
.title-line:nth-child(2) {
  animation-delay: 0.4s;
}
.title-line:nth-child(3) {
  animation-delay: 0.6s;
}

.title-line.highlight {
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3.5rem; /* Slightly larger for emphasis */
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 1.1rem; /* Reduced from 1.25rem */
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease 0.8s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 0.9;
  }
}

.hero-cta {
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}

.apply-now-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem; /* Slightly reduced padding */
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #1f2937;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem; /* Reduced from 1.2rem */
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  }
  50% {
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
  }
  100% {
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
  }
}

.apply-now-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.4);
}

.apply-now-btn i {
  transition: transform 0.3s ease;
}

.apply-now-btn:hover i {
  transform: translateX(5px);
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem; /* Reduced font size */
  opacity: 0.9;
}

.trust-item i {
  color: #ffd700;
  font-size: 1rem; /* Reduced icon size */
}

/* Offers Section */
.offers-section {
  padding: 4rem 0; /* Reduced from 6rem */
  background: var(--bg-secondary);
}

.section-title {
  text-align: center;
  font-size: 2rem; /* Reduced from 2.5rem */
  font-weight: 700;
  margin-bottom: 0.75rem; /* Reduced margin */
  color: var(--text-primary);
}

.section-subtitle {
  text-align: center;
  font-size: 1rem; /* Reduced from 1.1rem */
  color: var(--text-secondary);
  margin-bottom: 2.5rem; /* Reduced margin */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  display: -ms-grid;
  display: grid;
}

.offer-card {
  background: var(--bg-primary);
  border-radius: 15px;
  padding: 1.5rem; /* Reduced from 2rem */
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
}

.offer-card:hover {
  transform: translateY(-8px); /* Reduced from -10px */
  box-shadow: var(--shadow-xl);
}

.offer-card.featured {
  border: 2px solid var(--primary-color);
  transform: scale(1.02);
}

.offer-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem; /* Reduced font size */
  font-weight: 600;
}

.offer-card h3 {
  font-size: 1.3rem; /* Reduced from 1.5rem */
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.offer-amount {
  font-size: 1.1rem; /* Reduced font size */
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.offer-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem; /* Reduced font size */
  color: var(--text-secondary);
}

.detail i {
  color: var(--primary-color);
  font-size: 0.9rem; /* Reduced icon size */
}

.offer-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.offer-features li {
  padding: 0.4rem 0; /* Reduced padding */
  color: var(--text-secondary);
  font-size: 0.9rem; /* Reduced font size */
}

.offer-cta {
  width: 100%;
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 0.8rem; /* Reduced padding */
  border-radius: 10px;
  font-size: 0.95rem; /* Reduced font size */
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  text-align: center;
}

.offer-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* About Section */
.about-section {
  padding: 4rem 0; /* Reduced padding */
  background: var(--bg-primary);
}

.about-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-size: 0.95rem; /* Reduced font size */
}

.about-text a {
  color: var(--primary-color);
  text-decoration: none;
}

.about-text a:hover {
  text-decoration: underline;
}

/* Calculator Section */
.calculator {
  padding: 4rem 0; /* Reduced padding */
  background: var(--bg-secondary);
}

.calculator-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem; /* Reduced gap */
  margin-top: 2.5rem; /* Reduced margin */
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  display: -ms-grid;
  display: grid;
}

.calculator-inputs {
  background: var(--bg-primary);
  padding: 1.5rem; /* Reduced padding */
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.input-group {
  margin-bottom: 1.5rem; /* Reduced margin */
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem; /* Reduced margin */
  color: var(--text-primary);
  font-size: 0.95rem; /* Reduced font size */
}

.slider-container {
  position: relative;
}

.slider-container input[type="range"] {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; /* Reduced size */
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

.slider-container input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 5px;
  background: var(--border-color);
}

.slider-container input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  border: none;
}

.slider-value {
  text-align: center;
  font-size: 1rem; /* Reduced font size */
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 0.5rem;
}

.calculator-results {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* Reduced gap */
}

.result-card {
  background: var(--bg-primary);
  padding: 1.5rem; /* Reduced padding */
  border-radius: 15px;
  text-align: center;
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.result-card h3 {
  font-size: 0.9rem; /* Reduced font size */
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.result-value {
  font-size: 1.6rem; /* Reduced font size */
  font-weight: 700;
  color: var(--primary-color);
}

/* Features Section */
.features {
  padding: 4rem 0; /* Reduced padding */
  background: var(--bg-primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Reduced min width */
  gap: 1.5rem; /* Reduced gap */
  margin-top: 2.5rem; /* Reduced margin */
  display: -ms-grid;
  display: grid;
}

.feature-card {
  background: var(--bg-secondary);
  padding: 1.5rem; /* Reduced padding */
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.feature-card:hover {
  transform: translateY(-8px); /* Reduced movement */
  box-shadow: var(--shadow-xl);
}

.feature-icon {
  width: 60px; /* Reduced size */
  height: 60px;
  margin: 0 auto 1rem; /* Reduced margin */
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem; /* Reduced icon size */
  color: white;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.1rem; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 0.75rem; /* Reduced margin */
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem; /* Reduced font size */
}

/* How It Works */
.how-it-works {
  padding: 4rem 0; /* Reduced padding */
  background: var(--bg-secondary);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 2.5rem auto; /* Reduced margin */
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 2.5rem 0; /* Reduced margin */
  display: flex;
  align-items: center;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-icon {
  width: 50px; /* Reduced size */
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem; /* Reduced icon size */
  position: relative;
  z-index: 2;
  margin: 0 2rem;
}

.timeline-content {
  flex: 1;
  background: var(--bg-primary);
  padding: 1.5rem; /* Reduced padding */
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-content h3 {
  font-size: 1.1rem; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem; /* Reduced margin */
  font-size: 0.9rem; /* Reduced font size */
}

.timeline-duration {
  display: inline-block;
  background: var(--gradient-accent);
  color: white;
  padding: 0.2rem 0.6rem; /* Reduced padding */
  border-radius: 15px;
  font-size: 0.75rem; /* Reduced font size */
  font-weight: 500;
}

/* FAQ Section */
.faq {
  padding: 4rem 0; /* Reduced padding */
  background: var(--bg-primary);
}

.faq-search {
  position: relative;
  max-width: 500px;
  margin: 1.5rem auto 2.5rem; /* Reduced margins */
}

.faq-search input {
  width: 100%;
  padding: 0.8rem 2.5rem 0.8rem 1rem; /* Reduced padding */
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.95rem; /* Reduced font size */
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.faq-search input:focus {
  outline: none;
  border-color: var(--primary-color);
}

.faq-search i {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-secondary);
  margin-bottom: 1rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item.hidden {
  display: none;
}

.faq-question {
  padding: 1.25rem; /* Reduced padding */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-primary);
}

.faq-question h3 {
  font-size: 1rem; /* Reduced font size */
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.25rem; /* Reduced padding */
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.25rem 1.25rem; /* Reduced padding */
  max-height: 200px;
}

.faq-answer p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem; /* Reduced font size */
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: white;
  padding: 2.5rem 0 1rem; /* Reduced padding */
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Reduced min width */
  gap: 1.5rem; /* Reduced gap */
  margin-bottom: 1.5rem; /* Reduced margin */
  display: -ms-grid;
  display: grid;
}

.footer-section h4 {
  font-size: 1rem; /* Reduced font size */
  font-weight: 600;
  margin-bottom: 0.75rem; /* Reduced margin */
}

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

.footer-section ul li {
  margin-bottom: 0.4rem; /* Reduced margin */
}

.footer-section ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem; /* Reduced font size */
}

.footer-section ul li a:hover {
  color: white;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.3rem; /* Reduced font size */
  font-weight: 700;
  margin-bottom: 0.75rem; /* Reduced margin */
}

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

.footer-section p {
  font-size: 0.9rem; /* Reduced font size */
  line-height: 1.5;
  color: #d1d5db;
}

.social-links {
  display: flex;
  gap: 0.75rem; /* Reduced gap */
  margin-top: 1rem;
}

.social-links a {
  width: 35px; /* Reduced size */
  height: 35px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem; /* Reduced icon size */
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem; /* Reduced padding */
  text-align: center;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Reduced gap */
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.4rem; /* Reduced gap */
  font-size: 0.8rem; /* Reduced font size */
  opacity: 0.8;
}

.footer-bottom p {
  font-size: 0.8rem; /* Reduced font size */
  opacity: 0.7;
  margin-bottom: 1rem;
}

.legal-links {
  font-size: 0.75rem; /* Reduced font size */
  opacity: 0.7;
}

.legal-links a {
  color: #d1d5db;
  text-decoration: none;
  margin: 0 0.4rem; /* Reduced margin */
}

.legal-links a:hover {
  color: white;
  text-decoration: underline;
}

/* Legal Pages */
.legal-page {
  min-height: 100vh;
  padding: 5rem 0 2.5rem; /* Reduced padding */
  background: var(--bg-primary);
}

.legal-header {
  text-align: center;
  margin-bottom: 2.5rem; /* Reduced margin */
}

.legal-header h1 {
  font-size: 2rem; /* Reduced from 2.5rem */
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem; /* Reduced margin */
}

.effective-date {
  font-size: 0.9rem; /* Reduced font size */
  color: var(--text-secondary);
  font-style: italic;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-secondary);
  padding: 2.5rem; /* Reduced padding */
  border-radius: 15px;
  box-shadow: var(--shadow-md);
}

.legal-content h2 {
  font-size: 1.3rem; /* Reduced font size */
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem 0; /* Reduced margins */
}

.legal-content h3 {
  font-size: 1.1rem; /* Reduced font size */
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.25rem 0 0.6rem 0; /* Reduced margins */
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem; /* Reduced margin */
  font-size: 0.9rem; /* Reduced font size */
}

.legal-content ul {
  margin: 0.75rem 0; /* Reduced margin */
  padding-left: 1.5rem; /* Reduced padding */
}

.legal-content li {
  color: var(--text-secondary);
  margin-bottom: 0.4rem; /* Reduced margin */
  line-height: 1.6;
  font-size: 0.9rem; /* Reduced font size */
}

.legal-content a {
  color: var(--primary-color);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-footer {
  text-align: center;
  margin-top: 2.5rem; /* Reduced margin */
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem; /* Reduced font size */
  padding: 0.6rem 1.25rem; /* Reduced padding */
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  transition: all 0.3s ease;
}

.back-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Page Loader */
.loader {
  width: 50px; /* Reduced size */
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 60px; /* Reduced from 70px */
    flex-direction: column;
    background-color: var(--bg-primary);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-lg);
    padding: 1.5rem 0; /* Reduced padding */
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .animated-title {
    font-size: 2.2rem; /* Reduced font size */
  }

  .title-line.highlight {
    font-size: 2.5rem; /* Reduced font size */
  }

  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
  }

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

  .calculator-container {
    grid-template-columns: 1fr;
    gap: 1.5rem; /* Reduced gap */
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    flex-direction: row !important;
    padding-left: 70px;
  }

  .timeline-icon {
    position: absolute;
    left: 0;
    margin: 0;
  }

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

  .legal-content {
    padding: 1.5rem; /* Reduced padding */
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .animated-title {
    font-size: 1.8rem; /* Further reduced */
  }

  .title-line.highlight {
    font-size: 2rem; /* Further reduced */
  }

  .section-title {
    font-size: 1.6rem; /* Further reduced */
  }

  .nav-container {
    padding: 0.6rem 1rem; /* Reduced padding */
  }

  .legal-content {
    padding: 1.25rem; /* Further reduced padding */
  }

  .apply-now-btn {
    padding: 0.8rem 2rem; /* Reduced padding */
    font-size: 1rem; /* Reduced font size */
  }
}

/* Animation Classes */
[data-aos] {
  opacity: 0;
  transition: all 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-left"] {
  transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-right"] {
  transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}
/* Survey Section */
.survey-section {
  padding: 5rem 0;
  background: var(--bg-secondary);
}

.survey-container {
  max-width: 800px;
  margin: 3rem auto 0;
}

.survey-form {
  background: var(--bg-primary);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.survey-question {
  margin-bottom: 2.5rem;
}

.survey-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.survey-options {
  display: grid;
  gap: 0.8rem;
}

.survey-option {
  display: flex;
  align-items: center;
  padding: 0.9rem 1.2rem;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.survey-option:hover {
  border-color: var(--primary-color);
  background: var(--bg-primary);
  transform: translateX(3px);
}

.survey-option input[type="radio"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  margin-right: 0.8rem;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.survey-option input[type="radio"]:checked + .checkmark {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

.survey-option input[type="radio"]:checked + .checkmark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.survey-option input[type="radio"]:checked ~ .option-text {
  color: var(--primary-color);
  font-weight: 600;
}

.option-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.survey-actions {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.survey-thank-you {
  background: var(--bg-primary);
  padding: 3rem 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.thank-you-content i {
  font-size: 3.5rem;
  color: #10b981;
  margin-bottom: 1.2rem;
}

.thank-you-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.thank-you-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Survey Mobile Responsive Styles */
@media (max-width: 768px) {
  .survey-form {
    padding: 1.8rem 1.2rem;
  }

  .survey-question h3 {
    font-size: 1rem;
  }

  .survey-option {
    padding: 0.8rem;
  }

  .thank-you-content {
    padding: 1.5rem 1rem;
  }

  .thank-you-content i {
    font-size: 2.5rem;
  }

  .thank-you-content h3 {
    font-size: 1.3rem;
  }
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: var(--shadow-lg);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.cta-button.large {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

.cta-button i {
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}