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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.hero-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0 !important;
}

.hero-section h1 {
  color: #1a1a1a;
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-section .lead {
  font-size: 1.1rem;
  color: #666;
}

.bmi-calculator {
  padding: 60px 0 !important;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 53, 69, 0.15) !important;
}

.card img {
  height: 250px;
  object-fit: cover;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  font-weight: 600;
  padding: 10px 30px;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
  transform: scale(1.02);
}

.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
  font-weight: 600;
}

.btn-outline-danger:hover {
  background-color: #dc3545;
  border-color: #dc3545;
  color: white;
}

.text-danger {
  color: #dc3545 !important;
}

.border-danger {
  border: 1px solid #dc3545 !important;
}

.bg-danger {
  background-color: #dc3545 !important;
}

.testimonials {
  padding: 60px 0 !important;
}

.testimonials .card {
  border-left: 4px solid #dc3545;
}

.cta-section {
  padding: 80px 0 !important;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

footer {
  background-color: #1a1a1a !important;
  color: white;
  padding: 60px 0 !important;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #dc3545;
  text-decoration: underline;
}

footer hr {
  background-color: rgba(255, 255, 255, 0.1) !important;
  margin: 30px 0;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.form-control {
  border-radius: 6px;
  border: 1px solid #ddd;
  padding: 10px 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.custom-checkbox .custom-control-label {
  cursor: pointer;
  user-select: none;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .cta-section h2 {
    font-size: 1.8rem;
  }

  .card {
    margin-bottom: 20px;
  }

  .hero-section {
    padding: 40px 0 !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 30px 0 !important;
  }

  .hero-section h1 {
    font-size: 1.5rem;
  }

  .display-4 {
    font-size: 2rem !important;
  }

  .lead {
    font-size: 1rem !important;
  }

  .btn {
    padding: 8px 20px !important;
    font-size: 0.95rem;
  }
}
