@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --secondary: #10B981;
  --accent: #F59E0B;
  --background: #F9FAFB;
  --card-bg: #FFFFFF;
  --text-main: #111827;
  --text-muted: #6B7280;
  --border-color: #E5E7EB;
  --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
}

.navbar {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary) !important;
}

/* Custom Nav Styling */
.custom-nav .nav-link {
  transition: all 0.2s ease;
  border-radius: 8px;
  padding: 8px 12px !important;
  margin: 0 4px;
}

.custom-nav .nav-link:hover {
  background-color: #f3f4f6;
  transform: translateY(-2px);
}

.move-vs-stay-link {
  color: var(--primary) !important;
  position: relative;
  background-color: rgba(79, 70, 229, 0.05);
}

.move-vs-stay-link::after {
  content: "NEW";
  position: absolute;
  top: -2px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 7px;
  padding: 1px 3px;
  border-radius: 3px;
  font-weight: 900;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.text-indigo {
  color: #6366f1 !important;
}

.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
  color: white;
  text-align: center;
  border-radius: 0 0 50px 50px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.card {
  border: none;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.hover-white:hover {
  color: white !important;
}

.calculator-card {
  background: white;
  padding: 2rem;
  border-radius: 24px;
  margin-top: -60px;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-header {
  background-color: #F3F4F6;
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.badge-estimate {
  background-color: var(--accent);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
}

.footer {
  padding: 4rem 0;
  background-color: #111827;
  color: white;
  margin-top: 5rem;
}

.table th {
  font-weight: 600;
  color: var(--text-muted);
  border-top: none;
}

.cookie-banner {
  border-top: 4px solid var(--primary) !important;
  transition: all 0.5s ease-in-out;
}

#cookieBanner p {
  line-height: 1.6;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.city-guide-container h2 {
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.city-guide-container h3 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.city-guide-container p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.city-guide-container ul {
  margin-bottom: 1.5rem;
}

.city-guide-container li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}