/* WCHMO - Wound Care HMO Consulting Website */
/* Modern Medical Professional Design */

:root {
  --primary: #0066CC;
  --primary-dark: #004C99;
  --primary-light: #E6F0FA;
  --secondary: #00A86B;
  --secondary-dark: #008555;
  --accent: #FF6B35;
  --text-dark: #1A2332;
  --text-medium: #4A5568;
  --text-light: #718096;
  --bg-white: #FFFFFF;
  --bg-light: #F7FAFC;
  --bg-gray: #EDF2F7;
  --border: #E2E8F0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius: 8px;
  --radius-lg: 16px;
}

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

/* Global overflow control for mobile */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

p {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

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

.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--bg-light);
}

.section-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.section-primary h2,
.section-primary h3,
.section-primary p {
  color: white;
}

/* Navigation */
.navbar {
  background: var(--bg-white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

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

.nav-links a {
  color: var(--text-medium);
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.nav-cta {
  background: var(--primary);
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: var(--radius);
  border: none !important;
}

.nav-cta:hover {
  background: var(--primary-dark);
  color: white !important;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

@media (max-width: 968px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    gap: 0;
    box-shadow: var(--shadow);
    text-align: left;
    width: 100%;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links li {
    border-bottom: 1px solid var(--border);
    width: 100%;
  }
  
  .nav-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
    display: block !important;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 6rem 0 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .calculator-wrapper {
    padding: 1.5rem;
  }

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

/* Hero Section */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-badge {
  display: inline-block;
  background: var(--secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

@media (max-width: 968px) {
  .hero-stats {
    justify-content: center;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

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

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: white;
}

.btn-accent:hover {
  background: #e55a2b;
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary);
}

.btn-white:hover {
  background: var(--bg-light);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 968px) {
  .btn-group {
    justify-content: center;
  }
}

/* Cards */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 700;
}

.card p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.6;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 968px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
}

/* Problem/Solution Section */
.problem-solution {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 968px) {
  .problem-solution {
    grid-template-columns: 1fr;
  }
}

.problem-box, .solution-box {
  padding: 2.5rem;
  border-radius: var(--radius-lg);
}

.problem-box {
  background: #FEF2F2;
  border-left: 4px solid #DC2626;
}

.problem-box h3 {
  color: #DC2626;
  margin-bottom: 1.5rem;
}

.solution-box {
  background: #F0FDF4;
  border-left: 4px solid var(--secondary);
}

.solution-box h3 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.check-list {
  list-style: none;
}

.check-list li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: var(--text-medium);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: 700;
}

/* Niche Cards */
.niche-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.niche-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.niche-card-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.niche-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.niche-card-content {
  padding: 1.5rem;
}

.niche-card h3 {
  margin-bottom: 0.75rem;
}

.niche-card p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.niche-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Calculator Section */
.calculator-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
}

.calculator-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.calculator-results {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: none;
}

.calculator-results.show {
  display: block;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.result-item:last-child {
  border-bottom: none;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.result-label {
  color: var(--text-medium);
}

.result-value {
  font-weight: 600;
  color: var(--text-dark);
}

/* Testimonials */
.testimonial-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.testimonial-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-title {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Contact Form */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media (max-width: 968px) {
  .contact-section {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-form {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
}

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

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: white; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Calculator Page Specific */
.calculator-page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
}

.calculator-page-hero h1,
.calculator-page-hero p {
  color: white;
}

/* Niche Page Specific */
.niche-hero {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--primary-light) 100%);
}

.niche-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 968px) {
  .niche-hero-content {
    grid-template-columns: 1fr;
  }
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 600px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}

.benefit-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.benefit-icon {
  width: 40px;
  height: 40px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Niche Hero Images */
.niche-hero-content .hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.niche-hero-content .hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Service Section Images */
.service-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Image placeholders (legacy) */
.img-placeholder {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-gray) 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 3rem;
  min-height: 300px;
}

/* Hero Savings Card */
.hero-image-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-image-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.savings-showcase {
  text-align: center;
}

.savings-header {
  font-size: 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.savings-amount {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.savings-amount span {
  font-size: 1.5rem;
  color: var(--text-light);
  font-weight: 500;
}

.savings-detail {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.savings-bar {
  height: 12px;
  background: var(--bg-gray);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.savings-bar-fill {
  height: 100%;
  width: 70%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 6px;
  animation: fillBar 2s ease-out;
}

@keyframes fillBar {
  from { width: 0%; }
  to { width: 70%; }
}

.savings-stats {
  display: flex;
  justify-content: space-around;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-medium);
}

.savings-stats strong {
  color: var(--primary);
  font-size: 1.25rem;
  display: block;
}

/* Success message */
.success-message {
  background: #D1FAE5;
  color: #065F46;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  display: none;
}

.success-message.show {
  display: block;
}

/* ===== COMPREHENSIVE MOBILE FIXES ===== */
@media (max-width: 768px) {
  /* Prevent horizontal overflow */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 100%;
  }
  
  /* Hero section mobile */
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .hero-image img {
    max-width: 100%;
    height: auto;
  }
  
  /* Buttons stack on mobile */
  .btn-group {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Stats grid mobile */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  /* Cards mobile */
  .card {
    padding: 1.5rem;
  }
  
  /* Niche hero mobile */
  .niche-hero {
    padding: 6rem 0 3rem;
  }
  
  .niche-hero h1 {
    font-size: 1.75rem;
  }
  
  .niche-hero-content .hero-image {
    margin-top: 2rem;
  }
  
  .niche-hero-content .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
  }
  
  /* Services grid mobile */
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Service images mobile */
  .service-image {
    max-height: 200px;
    overflow: hidden;
  }
  
  /* Form sections mobile */
  .form-section {
    padding: 1.5rem;
  }
  
  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  /* Tables responsive */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Ensure all text wraps */
  h1, h2, h3, h4, h5, h6, p, li, span, a {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }
  
  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
  }
  
  .savings-showcase {
    padding: 1rem;
  }
  
  .savings-amount {
    font-size: 2rem;
  }
}

/* Calculator Mobile Fixes */
@media (max-width: 768px) {
  .calculator-wrapper {
    padding: 1rem;
    margin: 0;
  }
  
  .calculator-form {
    padding: 0;
  }
  
  .calculator-form .form-group {
    width: 100%;
  }
  
  .calculator-form input,
  .calculator-form select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .form-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .calculator-results {
    padding: 1rem;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .result-card {
    padding: 1rem;
  }
  
  .result-value {
    font-size: 1.5rem;
  }
}

/* CTA Section Mobile Fix */
@media (max-width: 768px) {
  .section-primary .btn-group {
    flex-direction: column;
    gap: 1rem;
  }
  
  .section-primary .btn-group .btn {
    width: 100%;
    text-align: center;
  }
  
  .btn-white {
    background: white !important;
    color: var(--primary) !important;
    border: none !important;
  }
  
  .btn-secondary {
    border: 2px solid white !important;
  }
}
