/* CSS Custom Properties - Theme Variables */
:root {
  /* Health-focused Color Palette */
  --primary-green: #2d7d32;
  --secondary-blue: #1e88e5;
  --pure-white: #ffffff;
  --footer-dark: #1a1a1a;
  --button-green: #2d7d32;
  
  /* Section Background Colors */
  --section-light-gray: #f8f9fa;
  --section-light-green: #e8f5e8;
  --section-light-blue: #e3f2fd;
  --section-pale-green: #f1f8e9;
  --section-soft-blue: #e8f4fd;
  --section-off-white: #fafafa;
  
  /* Extended Health Colors */
  --health-mint: #a8e6cf;
  --health-sage: #88d8a3;
  --health-teal: #7fb069;
  --trust-blue: #6bb6ff;
  --calm-blue: #4fc3f7;
  
  /* Typography */
  --font-primary: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;
  
  /* Spacing & Layout */
  --container-max-width: 1200px;
  --section-padding: 80px 0;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  --border-radius-sm: 8px;
  
  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(45, 125, 50, 0.1);
  --shadow-medium: 0 8px 32px rgba(45, 125, 50, 0.15);
  --shadow-strong: 0 16px 48px rgba(45, 125, 50, 0.2);
  --shadow-blue: 0 4px 20px rgba(30, 136, 229, 0.1);
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Import Google Fonts for Professional Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Base Styles */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: var(--pure-white);
  color: #2c3e50;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
}

/* Enhanced Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: #1a202c;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 600;
}

p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 1.5rem;
}

/* Custom Container Enhancement */
.container {
  max-width: var(--container-max-width);
  position: relative;
}

.container-fluid {
  position: relative;
}

/* Hero Section Styling */
.hero-section {
  background: linear-gradient(135deg, var(--section-light-green) 0%, var(--section-light-blue) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(45, 125, 50, 0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Enhanced Button Styles */
.btn {
  font-weight: 600;
  border-radius: var(--border-radius);
  padding: 12px 32px;
  transition: var(--transition-smooth);
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--button-green);
  color: var(--pure-white);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #1e5a24;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-secondary {
  background: var(--secondary-blue);
  color: var(--pure-white);
  box-shadow: var(--shadow-blue);
}

.btn-secondary:hover {
  background: #1565c0;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(30, 136, 229, 0.2);
}

.btn-outline-primary {
  background: transparent;
  color: var(--button-green);
  border: 2px solid var(--button-green);
}

.btn-outline-primary:hover {
  background: var(--button-green);
  color: var(--pure-white);
  transform: translateY(-2px);
}

/* Custom Card Styles */
.health-card {
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid rgba(45, 125, 50, 0.1);
  position: relative;
  overflow: hidden;
}

.health-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green), var(--health-mint));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.health-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.health-card:hover::before {
  transform: scaleX(1);
}

.health-card .card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-green), var(--health-sage));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.health-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Section Background Variations */
.section-light {
  background: var(--section-light-gray);
}

.section-green {
  background: var(--section-light-green);
}

.section-blue {
  background: var(--section-light-blue);
}

.section-pale-green {
  background: var(--section-pale-green);
}

.section-soft-blue {
  background: var(--section-soft-blue);
}

.section-off-white {
  background: var(--section-off-white);
}

/* Navigation Enhancement */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 125, 50, 0.1);
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--primary-green) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #2c3e50 !important;
  padding: 0.75rem 1rem !important;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-green) !important;
  background: rgba(45, 125, 50, 0.1);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

/* Form Styling */
.form-control {
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  padding: 12px 16px;
  font-size: 1rem;
  transition: var(--transition-smooth);
  background: var(--pure-white);
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 125, 50, 0.1);
  outline: none;
}

.form-label {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  background: var(--pure-white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.feature-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-green), var(--health-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--pure-white);
  font-size: 2.5rem;
  transition: var(--transition-smooth);
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

/* Testimonials */
.testimonial-card {
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
  margin: 1rem 0;
  position: relative;
  border-left: 4px solid var(--primary-green);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--health-mint);
  font-family: serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--health-sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pure-white);
  font-weight: 600;
  font-size: 1.25rem;
}

/* Footer Styling */
.footer {
  background: var(--footer-dark);
  color: var(--pure-white);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--health-mint);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer a {
  color: #cbd5e0;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: block;
  padding: 0.25rem 0;
}

.footer a:hover {
  color: var(--health-mint);
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 2rem;
  margin-top: 2rem;
  text-align: center;
  color: #a0aec0;
}

/* Newsletter Subscription */
.newsletter-form {
  background: rgba(45, 125, 50, 0.1);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(45, 125, 50, 0.2);
}

.newsletter-form .form-control {
  border-color: rgba(45, 125, 50, 0.3);
  background: rgba(255, 255, 255, 0.9);
}

/* Google Maps Integration */
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 400px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  gap: 0.25rem;
  margin: 1rem 0;
}

.star {
  color: #ffd700;
  font-size: 1.25rem;
}

/* Consultation Booking */
.booking-card {
  background: var(--pure-white);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(45, 125, 50, 0.1);
}

.time-slot {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--border-radius);
  background: var(--pure-white);
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  font-weight: 500;
}

.time-slot:hover {
  border-color: var(--primary-green);
  background: var(--section-light-green);
}

.time-slot.selected {
  border-color: var(--primary-green);
  background: var(--primary-green);
  color: var(--pure-white);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }
  
  .hero-section {
    padding: 100px 0 60px;
  }
  
  .health-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
  
  .booking-card {
    padding: 2rem;
  }
  
  .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-section {
    padding: 80px 0 40px;
  }
  
  .health-card {
    padding: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .booking-card {
    padding: 1.5rem;
  }
  
  .newsletter-form {
    padding: 1.5rem;
  }
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-green), var(--health-teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-gradient-health {
  background: linear-gradient(135deg, var(--section-light-green) 0%, var(--section-light-blue) 100%);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.health-badge {
  background: linear-gradient(135deg, var(--primary-green), var(--health-sage));
  color: var(--pure-white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  display: inline-block;
}

/* Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--section-light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e5a24;
}

/* Focus States for Accessibility */
*:focus {


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}