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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #334155;
}

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

/* Top Bar */
.top-bar {
  background-color: #0f172a;
  color: white;
  padding: 0.5rem 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.contact-info {
  display: flex;
  gap: 1.5rem;
}

.contact-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}

.contact-link:hover {
  color: #3b82f6;
}

.icon {
  width: 1rem;
  height: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

.social-link:hover {
  color: #3b82f6;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 4rem;
}

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

.nav-link {
  color: #475569;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #3b82f6;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 1.5rem;
  height: 2px;
  background-color: #475569;
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #475569;
  left: 0;
}

.hamburger::before {
  top: -0.5rem;
}

.hamburger::after {
  bottom: -0.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(to right, #0f172a, #1e293b, #1e40af);
  color: white;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 35px,
    rgba(255, 255, 255, 0.05) 35px,
    rgba(255, 255, 255, 0.05) 70px
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.text-accent {
  color: #93c5fd;
}

.hero-form-container {
  position: relative;
  z-index: 10;
  max-width: 40rem;
  margin: 0 auto;
}

.form-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.form-title {
  font-size: 1.75rem;
  font-weight: bold;
  color: #0f172a;
  text-align: center;
  margin-bottom: 0.75rem;
}

.form-subtitle {
  text-align: center;
  color: #475569;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.step-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.step-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #3b82f6, #2563eb);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.step-line {
  width: 2rem;
  height: 0.25rem;
  background-color: #bfdbfe;
}

.slider-container {
  background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
  padding: 2rem;
  border-radius: 0.75rem;
  border: 2px solid #bfdbfe;
  margin-bottom: 2rem;
}

.debt-amount {
  font-size: 3.5rem;
  font-weight: bold;
  color: #1d4ed8;
  text-align: center;
  margin-bottom: 1.5rem;
}

.slider {
  width: 100%;
  height: 0.5rem;
  border-radius: 0.25rem;
  background: #d1d5db;
  outline: none;
  -webkit-appearance: none;
  margin-bottom: 1rem;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider::-moz-range-thumb {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #3b82f6;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #475569;
  font-weight: 600;
}

/* Monthly Payment Section */
.monthly-payment-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid #bfdbfe;
  text-align: center;
}

.monthly-payment-label {
  font-size: 1rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.monthly-payment-amount {
  font-size: 2.5rem;
  font-weight: bold;
  color: #2563eb;
  margin: 0;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(to right, #2563eb, #1d4ed8);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(to right, #1d4ed8, #1e40af);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background: transparent;
  color: #2563eb;
  border: 2px solid #2563eb;
}

.btn-outline:hover {
  background: #2563eb;
  color: white;
}

.btn-large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* About Section */
.about {
  padding: 5rem 0;
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.section-badge {
  display: inline-block;
  background-color: #dbeafe;
  color: #1e40af;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.section-badge-light {
  background-color: #2563eb;
  color: white;
}

.section-title {
  font-size: 3rem;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.text-white {
  color: white;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 2rem;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

/* Values Section */
.values {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #2563eb;
  transition: box-shadow 0.3s;
}

.value-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.value-icon {
  width: 3rem;
  height: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.value-desc {
  color: #475569;
  line-height: 1.7;
}

/* Help Section */
.help {
  padding: 5rem 0;
  background-color: white;
}

.help-list {
  max-width: 56rem;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.help-item {
  background: linear-gradient(to right, #eff6ff, #dbeafe);
  padding: 1.5rem;
  border-radius: 0.75rem;
  border-left: 4px solid #2563eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 1rem;
  transition: box-shadow 0.3s;
}

.help-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.help-number {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.help-content {
  flex: 1;
}

.help-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.help-desc {
  color: #475569;
}

.help-cta {
  text-align: center;
}

.help-cta-text {
  font-size: 1.25rem;
  color: #475569;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #0f172a;
  color: white;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-card {
  background-color: white;
  color: #0f172a;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 2rem;
  align-items: center;
}

.service-image {
  display: flex;
  justify-content: center;
}

.service-image img {
  width: 12rem;
  height: 12rem;
  object-fit: contain;
}

.service-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.service-subtitle {
  color: #2563eb;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: #475569;
  line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
  padding: 5rem 0;
  background-color: white;
}

.timeline {
  max-width: 56rem;
  margin: 0 auto 3rem;
  position: relative;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #bfdbfe;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-left .timeline-content {
  margin-right: 50%;
  padding-right: 3rem;
}

.timeline-right .timeline-content {
  margin-left: 50%;
  padding-left: 3rem;
}

.timeline-content {
  background: linear-gradient(to bottom right, #eff6ff, #dbeafe);
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid #bfdbfe;
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.timeline-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #2563eb, #1e40af);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.timeline-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0f172a;
}

.timeline-desc {
  color: #475569;
  line-height: 1.7;
}

.timeline-dot {
  position: absolute;
  top: 2rem;
  left: 50%;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #2563eb;
  border-radius: 50%;
  border: 4px solid white;
  transform: translateX(-50%);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.how-it-works-cta {
  text-align: center;
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background-color: #f8fafc;
}

.faq-list {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: bold;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #2563eb;
}

.faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: #475569;
  line-height: 1.7;
}

.faq-answer p:not(:last-child) {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background-color: #0f172a;
  color: white;
  padding: 4rem 0;
}

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

.footer-logo {
  height: 5rem;
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-social-label {
  color: #94a3b8;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background-color 0.3s;
}

.social-icon:hover {
  background-color: #2563eb;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-link:hover {
  color: #93c5fd;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #cbd5e1;
}

.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-contact-item a:hover {
  color: #93c5fd;
}

.footer-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #93c5fd;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-link {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal-link:hover {
  color: #93c5fd;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

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

  .mobile-toggle {
    display: block;
  }

  .top-bar {
    display: none;
  }

  .timeline-line {
    display: none;
  }

  .timeline-left .timeline-content,
  .timeline-right .timeline-content {
    margin: 0;
    padding: 2rem;
  }

  .timeline-dot {
    display: none;
  }

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

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

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

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

@media (max-width: 640px) {
  .hero-title {
    font-size: 2rem;
  }

  .form-title {
    font-size: 1.25rem;
  }

  .debt-amount {
    font-size: 2.5rem;
  }

  .steps {
    gap: 0.5rem;
  }

  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }

  .step-line {
    width: 1rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 3rem 2rem 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  animation: slideUp 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #64748b;
  cursor: pointer;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.modal-close:hover {
  background-color: #f1f5f9;
  color: #1e293b;
}

.modal-step {
  text-align: center;
}

.modal-title {
  font-size: 2rem;
  font-weight: bold;
  color: #1e293b;
  margin-bottom: 1rem;
}

.modal-payment {
  font-size: 4rem;
  font-weight: bold;
  color: #3b82f6;
  margin: 1.5rem 0;
  line-height: 1;
}

.modal-subtitle {
  font-size: 1.125rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.modal-description {
  font-size: 1rem;
  color: #475569;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Application Form */
.application-form {
  text-align: left;
  margin-top: 2rem;
}

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

.form-group label {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s;
  font-family: inherit;
}

.form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

/* Success Step */
.success-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.success-icon svg {
  width: 3rem;
  height: 3rem;
  stroke: white;
  stroke-width: 3;
}

/* Modal Responsive */
@media (max-width: 640px) {
  .modal-content {
    padding: 2rem 1.5rem 1.5rem;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-payment {
    font-size: 3rem;
  }

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