:root {
  --primary-color: #f4c430;
  --primary-dark: #d4a520;
  --secondary-color: #2c3e50;
  --text-dark: #1a1a1a;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --border-radius: 8px;
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-dark);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 196, 48, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-dark);
}

.btn-outline-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

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

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

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.page-header {
  background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
  border-bottom: 3px solid var(--primary-color);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
}

.card {
  border: none;
  border-radius: var(--border-radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-title {
  color: var(--text-dark);
  font-weight: 600;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-light {
  background-color: var(--bg-light) !important;
}

.shadow-sm {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

.footer {
  margin-top: 4rem;
}

.footer h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

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

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

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

#bmiResult {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 1rem;
  border-radius: var(--border-radius);
  text-align: center;
}

.feature-icon {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-form .form-control {
  border-radius: var(--border-radius);
  border: 2px solid #e0e0e0;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(244, 196, 48, 0.25);
}

.contact-info h5 {
  color: var(--text-dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.badge-primary {
  background-color: var(--primary-color);
  color: var(--text-dark);
}

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

.cta-section h2 {
  font-weight: 700;
}

.policy-content h2 {
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content ul {
  margin-bottom: 1.5rem;
}

.table {
  margin-top: 1rem;
}

.table thead {
  background-color: var(--bg-light);
}

.alert {
  border-radius: var(--border-radius);
}

img {
  max-width: 100%;
  height: auto;
}

.rounded {
  border-radius: var(--border-radius) !important;
}

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

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

  .page-header h1 {
    font-size: 2rem;
  }

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

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

  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}
