/* Custom CSS for Balanced Diet Cottage */

/* Brand variables + African Color Palette */
:root {
  /* Core brand tokens */
  --brand: #f59332;       /* primary brand */
  --brand-dark: #f2750a;  /* brand accent */
  --brand-600: #e35d00;
  --muted: #6b7280;
  --text: #111827;
  --bg: #ffffff;
  --card-bg: #ffffff;
  --success: #16a34a;
  --danger: #dc2626;

  /* African Color Palette (kept for compatibility) */
  --african-50: #fefdf8;
  --african-100: #fdf9ec;
  --african-200: #f9f0d9;
  --african-300: #f3e2bf;
  --african-400: #ead090;
  --african-500: #d4a857;
  --african-600: #b8923f;
  --african-700: #9a7b34;
  --african-800: #7f6530;
  --african-900: #6b5429;
}

.bg-african-50 { background-color: var(--african-50); }
.bg-african-100 { background-color: var(--african-100); }
.bg-african-200 { background-color: var(--african-200); }
.bg-african-300 { background-color: var(--african-300); }
.bg-african-400 { background-color: var(--african-400); }
.bg-african-500 { background-color: var(--african-500); }
.bg-african-600 { background-color: var(--african-600); }
.bg-african-700 { background-color: var(--african-700); }
.bg-african-800 { background-color: var(--african-800); }
.bg-african-900 { background-color: var(--african-900); }

.text-african-50 { color: var(--african-50); }
.text-african-100 { color: var(--african-100); }
.text-african-200 { color: var(--african-200); }
.text-african-300 { color: var(--african-300); }
.text-african-400 { color: var(--african-400); }
.text-african-500 { color: var(--african-500); }
.text-african-600 { color: var(--african-600); }
.text-african-700 { color: var(--african-700); }
.text-african-800 { color: var(--african-800); }
.text-african-900 { color: var(--african-900); }

.border-african-50 { border-color: var(--african-50); }
.border-african-100 { border-color: var(--african-100); }
.border-african-200 { border-color: var(--african-200); }
.border-african-300 { border-color: var(--african-300); }
.border-african-400 { border-color: var(--african-400); }
.border-african-500 { border-color: var(--african-500); }
.border-african-600 { border-color: var(--african-600); }
.border-african-700 { border-color: var(--african-700); }
.border-african-800 { border-color: var(--african-800); }
.border-african-900 { border-color: var(--african-900); }

.hover\:bg-african-50:hover { background-color: var(--african-50); }
.hover\:bg-african-100:hover { background-color: var(--african-100); }
.hover\:bg-african-200:hover { background-color: var(--african-200); }
.hover\:bg-african-300:hover { background-color: var(--african-300); }
.hover\:bg-african-400:hover { background-color: var(--african-400); }
.hover\:bg-african-500:hover { background-color: var(--african-500); }
.hover\:bg-african-600:hover { background-color: var(--african-600); }
.hover\:bg-african-700:hover { background-color: var(--african-700); }
.hover\:bg-african-800:hover { background-color: var(--african-800); }
.hover\:bg-african-900:hover { background-color: var(--african-900); }

.hover\:text-african-50:hover { color: var(--african-50); }
.hover\:text-african-100:hover { color: var(--african-100); }
.hover\:text-african-200:hover { color: var(--african-200); }
.hover\:text-african-300:hover { color: var(--african-300); }
.hover\:text-african-400:hover { color: var(--african-400); }
.hover\:text-african-500:hover { color: var(--african-500); }
.hover\:text-african-600:hover { color: var(--african-600); }
.hover\:text-african-700:hover { color: var(--african-700); }
.hover\:text-african-800:hover { color: var(--african-800); }
.hover\:text-african-900:hover { color: var(--african-900); }

/* Font Display Class */
.font-display {
  font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
  font-weight: 600;
}

/* Branded button utility - Premium Edition */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(245, 147, 50, 0.25),
              0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-brand::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-brand:hover::before {
  width: 300px;
  height: 300px;
}

.btn-brand:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 36px rgba(245, 147, 50, 0.35),
              0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-brand:active {
  transform: translateY(-1px) scale(0.98);
  transition: all 0.1s ease;
}

/* Secondary Brand Button */
.btn-brand-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--brand-dark);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 2px solid var(--brand);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-brand-outline:hover {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245, 147, 50, 0.3);
}

.text-brand {
  color: var(--brand-dark);
}

/* Advanced Brand Gradients */
.brand-gradient-primary {
  background: linear-gradient(135deg, #f59332 0%, #f2750a 50%, #e35d00 100%);
}

.brand-gradient-radial {
  background: radial-gradient(circle at top right, #f59332 0%, #f2750a 50%, rgba(242, 117, 10, 0.8) 100%);
}

.brand-gradient-mesh {
  background: linear-gradient(135deg, rgba(245, 147, 50, 0.95) 0%, rgba(242, 117, 10, 0.9) 100%),
              linear-gradient(45deg, rgba(22, 163, 74, 0.1) 0%, transparent 100%);
}

/* Glass Morphism System */
.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15),
              0 2px 8px rgba(0, 0, 0, 0.05);
}

.glass-card-hover:hover {
  background: rgba(255, 255, 255, 0.98);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(31, 38, 135, 0.2),
              0 4px 12px rgba(245, 147, 50, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus\:not-sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Feature Cards - Professional Design */
.feature-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(245, 147, 50, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--success) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(245, 147, 50, 0.15),
              0 8px 16px rgba(0, 0, 0, 0.08);
  border-color: rgba(245, 147, 50, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 16px rgba(245, 147, 50, 0.3);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 24px rgba(245, 147, 50, 0.4);
}

/* Mission & Vision Section */
.mission-section {
  background: linear-gradient(135deg, 
    rgba(245, 147, 50, 0.05) 0%, 
    rgba(22, 163, 74, 0.05) 50%,
    rgba(212, 169, 97, 0.05) 100%);
  border-radius: 24px;
  padding: 3rem;
  border: 2px solid rgba(245, 147, 50, 0.1);
  position: relative;
  overflow: hidden;
}

.mission-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 147, 50, 0.1) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.mission-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--success) 100%);
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 12px 28px rgba(245, 147, 50, 0.3);
  animation: pulse 3s ease-in-out infinite;
}

/* Custom animations */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.8; 
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Hover Lift Effect */
.hover-lift {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Shimmer Effect for Premium Elements */
.shimmer {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 3s infinite linear;
}

/* Badge Styles */
.badge-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px rgba(245, 147, 50, 0.3);
}

.badge-success {
  background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
  color: white;
}

.badge-premium {
  background: linear-gradient(135deg, var(--african-600) 0%, var(--african-700) 100%);
  color: white;
}

/* Animation classes for about page */
.animate-fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* Custom focus styles for accessibility */
*:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

*:focus-visible {
  outline: 2px solid #f59332;
  outline-offset: 2px;
}

/* Loading screen styles */
#loadingScreen {
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

#loadingScreen.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Navigation styles */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #f59332, #f2750a);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

/* Mobile menu styles */
#mobileMenu {
  transition: all 0.3s ease;
  transform-origin: top;
}

#mobileMenu.hidden {
  transform: scaleY(0);
  opacity: 0;
}

#mobileMenu:not(.hidden) {
  transform: scaleY(1);
  opacity: 1;
}

/* Menu card hover effects */
.menu-card {
  transition: all 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Service card styles - Premium Edition */
.service-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--success) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(245, 147, 50, 0.2),
              0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: rgba(245, 147, 50, 0.3);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(245, 147, 50, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 12px 28px rgba(245, 147, 50, 0.45);
}

/* Gallery image overlay effects */
.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(245, 147, 50, 0.9), rgba(242, 117, 10, 0.9));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Statistics Cards - Dashboard Style */
.stat-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-dark) 100%);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(245, 147, 50, 0.15);
  border-color: rgba(245, 147, 50, 0.3);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(245, 147, 50, 0.3);
}

/* Testimonial card styles - Enhanced */
.testimonial-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 4rem;
  color: rgba(245, 147, 50, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(245, 147, 50, 0.15),
              0 4px 8px rgba(0, 0, 0, 0.08);
  border-color: rgba(245, 147, 50, 0.2);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  object-fit: cover;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #f59332, #f2750a);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #f2750a, #e35d00);
}

/* Form styles */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #f59332;
  border-color: transparent;
}

/* Button hover effects */
.btn-primary {
  background: linear-gradient(to right, #f59332, #f2750a);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(to right, #f2750a, #e35d00);
  transform: translateY(-1px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Modal animations */
.modal-enter {
  opacity: 0;
  transform: scale(0.9);
}

.modal-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.modal-exit {
  opacity: 1;
  transform: scale(1);
}

.modal-exit-active {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hero section parallax effect - Premium Edition */
.hero-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(245, 147, 50, 0.1) 0%, 
    rgba(22, 163, 74, 0.05) 50%,
    transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
  animation: fadeInUp 1.2s ease-out 0.4s both;
}

@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
  }
}

/* Section Headers - Professional Style */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 147, 50, 0.1) 0%, rgba(22, 163, 74, 0.1) 100%);
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  border: 1px solid rgba(245, 147, 50, 0.2);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--success) 100%);
  margin: 2rem auto;
  border-radius: 999px;
}

/* Custom gradient text - Enhanced */
.gradient-text {
  background: linear-gradient(135deg, #f59332 0%, #f2750a 50%, #e35d00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-success {
  background: linear-gradient(135deg, var(--success) 0%, #16a34a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating elements */
.floating {
  animation: float 6s ease-in-out infinite;
}

.floating:nth-child(2) {
  animation-delay: 2s;
}

.floating:nth-child(3) {
  animation-delay: 4s;
}

/* Newsletter form styles */
#newsletterForm input:focus {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Footer link hover effects */
.footer-link {
  position: relative;
  transition: all 0.2s ease;
}

.footer-link:hover {
  padding-left: 8px;
}

.footer-link:before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.2s ease;
}

.footer-link:hover:before {
  opacity: 1;
  left: -10px;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .bg-gradient-to-br {
    background: #ffffff !important;
  }
  
  .text-neutral-600 {
    color: #000000 !important;
  }
  
  .border-neutral-200 {
    border-color: #000000 !important;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .auto-dark {
    background-color: #1f2937;
    color: #f9fafb;
  }
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .bg-gradient-to-br,
  .bg-gradient-to-r {
    background: white !important;
  }
}

/* Custom utility classes */
.text-shadow {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.text-shadow-lg {
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.backdrop-blur-sm {
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.backdrop-blur-md {
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* 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.2), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Error states */
.error-shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 20%, 40%, 60%, 80%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
}

/* Success states */
.success-bounce {
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% { transform: translateY(0); }
  40%, 43% { transform: translateY(-8px); }
  70% { transform: translateY(-4px); }
  90% { transform: translateY(-2px); }
}