:root {
  --primary-green: #27a745;
  --dark-bg: #343a40;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-light: #6c757d;
  --border-light: #dee2e6;
}

* {
  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;
}

html,
body {
  height: 100%;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.navbar-brand {
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-dark) !important;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-green) !important;
}

.hero-section {
  background: linear-gradient(135deg, #27a745 0%, #20c997 100%);
}

.hero-section h1 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.25rem;
}

.hero-section .btn-light {
  border-radius: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-section .btn-light:hover {
  background-color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Added video container styles */
.video-container {
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card {
  border: 2px solid #e9ecef;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  box-shadow: 0 8px 16px rgba(39, 167, 69, 0.15);
  border-color: var(--primary-green);
  transform: translateY(-4px);
}

.card.border-success {
  border-color: var(--primary-green) !important;
}

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

.btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 0.5rem;
}

.btn-success:hover {
  background-color: #1e7e34;
  border-color: #1e7e34;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(39, 167, 69, 0.3);
}

.btn-success:focus {
  box-shadow: 0 0 0 0.2rem rgba(39, 167, 69, 0.5);
}

.btn-light {
  color: var(--text-dark);
  background-color: white;
  border-color: white;
  font-weight: 600;
}

.btn-light:hover {
  background-color: #f8f9fa;
  border-color: white;
}

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

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

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

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

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(39, 167, 69, 0.25);
}

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

.badge.badge-success {
  background-color: var(--primary-green) !important;
  color: white;
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

footer {
  margin-top: auto;
}

footer a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-green);
  text-decoration: underline;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

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

  .hero-section p {
    font-size: 1rem;
  }

  .nav-link {
    margin-left: 0;
    padding: 0.5rem 0;
  }

  .card img {
    height: 150px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

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

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

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

  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .col-md-4,
  .col-lg-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

.bmi-calculator input[type="number"] {
  border-radius: 0.5rem;
}

.contact-form {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 0.75rem;
}

.policy-content,
.terms-content,
.cookie-content,
.disclaimer-content {
  line-height: 1.8;
}

.policy-content p,
.terms-content p,
.cookie-content p,
.disclaimer-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.policy-content ul,
.terms-content ul,
.cookie-content ul,
.disclaimer-content ul {
  margin-bottom: 1rem;
  margin-left: 1.5rem;
}

.policy-content ul li,
.terms-content ul li,
.cookie-content ul li,
.disclaimer-content ul li {
  margin-bottom: 0.5rem;
}

.alert-warning {
  border-radius: 0.5rem;
  border: 2px solid #ffc107;
  background-color: #fff3cd;
  color: #856404;
}
