/* ==================== CSS VARIABLES ==================== */
:root {
  /* Tetrad Color Scheme */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  
  --secondary-color: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  
  --tertiary-color: #f59e0b;
  --tertiary-dark: #d97706;
  --tertiary-light: #fbbf24;
  
  --quaternary-color: #ef4444;
  --quaternary-dark: #dc2626;
  --quaternary-light: #f87171;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
  --gradient-tertiary: linear-gradient(135deg, var(--tertiary-color), var(--quaternary-color));
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  --gradient-hero: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(16, 185, 129, 0.9));
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-3d: 0 8px 32px rgba(31, 38, 135, 0.37);
  
  /* Glass Morphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: 1px solid rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(20px);
  
  /* Typography */
  --font-roboto: 'Roboto', sans-serif;
  --font-lato: 'Lato', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==================== RESET & BASE STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-lato);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: #ffffff;
  overflow-x: hidden;
}

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

/* ==================== TYPOGRAPHY ==================== */
.font-roboto {
  font-family: var(--font-roboto);
}

.font-lato {
  font-family: var(--font-lato);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-roboto);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
}

p {
  margin-bottom: 1.5rem;
  color: var(--gray-600);
  line-height: 1.7;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-normal);
}

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

/* ==================== UTILITY CLASSES ==================== */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

.gradient-primary {
  background: var(--gradient-primary);
}

.gradient-secondary {
  background: var(--gradient-secondary);
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border: var(--glass-border);
}

.shadow-3d {
  box-shadow: var(--shadow-3d);
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  white-space: nowrap;
}

.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 var(--transition-slow);
  z-index: 1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  color: white;
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-2xl);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--shadow-md);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

button, input[type='submit'] {
  font-family: var(--font-roboto);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

button:hover, input[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ==================== CARDS ==================== */
.card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-2xl);
}

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-content h3 {
  margin-bottom: 1rem;
  color: var(--gray-800);
  font-size: 1.25rem;
}

.card-content p {
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 auto;
}

/* ==================== HEADER & NAVIGATION ==================== */
.header-nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: var(--z-fixed);
  transition: all var(--transition-normal);
}

.header-nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-lg);
}

.logo h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0;
}

.nav-link {
  color: var(--gray-700);
  font-weight: 500;
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-normal);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%;
  background: var(--gradient-primary);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

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

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition-normal);
  transform-origin: 1px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg);
}

.mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-lg);
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-attachment: fixed;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
}

.hero-content h1 {
  color: white !important;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95) !important;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content .btn {
  animation: fadeInUp 1s ease-out 0.4s both;
  margin: 0 0.5rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  animation: bounce 2s infinite;
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
  margin-top: 0;
}

/* Privacy and Terms Pages Padding */
.privacy-content,
.terms-content {
  padding-top: 100px;
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  padding: 2rem;
}

.success-content {
  text-align: center;
  color: white;
  max-width: 600px;
}

.success-content h1 {
  color: white !important;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.success-content p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* ==================== CLIENTELE SECTION ==================== */
#clientele {
  background: linear-gradient(135deg, var(--gray-50), white);
  padding: 5rem 0;
}

#clientele .card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
}

#clientele .card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: var(--shadow-2xl);
}

#clientele .card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

#clientele .card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

#clientele .card:hover .card-image::before {
  opacity: 1;
}

/* ==================== SUCCESS STORIES SECTION ==================== */
#success-stories {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

#success-stories::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>');
  z-index: 1;
}

.success-story-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  z-index: 2;
}

.success-story-card:hover {
  transform: translateY(-5px) scale(1.02);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-2xl);
}

.success-story-card h3 {
  color: white !important;
  margin-bottom: 1rem;
}

.success-story-card p {
  color: rgba(255, 255, 255, 0.9) !important;
  line-height: 1.7;
}

/* ==================== TESTIMONIALS SECTION ==================== */
#testimonials {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  padding: 5rem 0;
}

.testimonial-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--primary-color);
  height: 100%;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 2rem;
  font-size: 6rem;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.1;
  z-index: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px) rotateY(2deg);
  box-shadow: var(--shadow-2xl);
}

.testimonial-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-color);
  margin: 0 auto;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
  position: relative;
  z-index: 2;
  margin: 0;
}

.testimonial-card h4 {
  color: var(--gray-800);
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.testimonial-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin: 0;
}

/* ==================== COMMUNITY SECTION ==================== */
#community {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

#community::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  z-index: 1;
}

.community-stat {
  position: relative;
  z-index: 2;
  padding: 2rem;
  text-align: center;
  animation: countUp 2s ease-out;
}

.community-stat div:first-child {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
}

.community-stat div:last-child {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ==================== BEHIND THE SCENES SECTION ==================== */
#behind-the-scenes {
  padding: 5rem 0;
  background: white;
  position: relative;
}

.behind-scenes-item {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--gray-50), white);
  border-radius: 16px;
  border-left: 4px solid var(--secondary-color);
  transition: all var(--transition-normal);
}

.behind-scenes-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-lg);
}

.behind-scenes-item h3 {
  color: var(--gray-800);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.behind-scenes-item p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.behind-scenes-item .flex {
  align-items: center;
  margin-bottom: 0.5rem;
}

.behind-scenes-item .w-3 {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 1rem;
}

/* ==================== RESOURCES SECTION ==================== */
#recursos-externos {
  padding: 5rem 0;
  background: white;
}

.resource-card {
  background: linear-gradient(135deg, var(--gray-50), white);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-normal);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
}

.resource-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

.external-link {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all var(--transition-normal);
  margin-top: auto;
}

.external-link:hover {
  transform: translateX(5px);
}

/* ==================== CONTACT SECTION ==================== */
#contact {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.contact-form-container {
  position: relative;
  z-index: 2;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-info {
  position: relative;
  z-index: 2;
}

.contact-info h3 {
  color: white !important;
  margin-bottom: 2rem;
  font-size: 1.75rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: 12px;
  font-size: 16px;
  font-family: var(--font-lato);
  transition: all var(--transition-normal);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
}

.operating-hours {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 2rem;
}

.operating-hours h3 {
  color: white !important;
  margin-bottom: 1.5rem;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--gray-900);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--gradient-primary);
}

.footer-section h3 {
  color: white !important;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-section h4 {
  color: white !important;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: var(--gray-300);
  transition: color var(--transition-normal);
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: white;
  padding-left: 5px;
  transition: all var(--transition-normal);
}

.footer-section p {
  color: var(--gray-300);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-links a {
  color: var(--gray-300);
  font-weight: 500;
  transition: all var(--transition-normal);
  display: inline-block;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.social-links a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  transform: translateY(-2px);
}

/* ==================== 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);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.animate-fade-up {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-left {
  animation: fadeInLeft 1s ease-out;
}

.animate-fade-right {
  animation: fadeInRight 1s ease-out;
}

/* ==================== PARALLAX EFFECTS ==================== */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .card-content {
    padding: 1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .community-stat div:first-child {
    font-size: 3rem;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  .hero-background {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 13px;
    margin: 0.25rem;
  }
  
  .card-content {
    padding: 0.75rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .community-stat div:first-child {
    font-size: 2.5rem;
  }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .parallax-bg {
    background-attachment: scroll;
  }
  
  .hero-background {
    background-attachment: scroll;
  }
}

/* ==================== PRINT STYLES ==================== */
@media print {
  .header-nav,
  .mobile-menu,
  .scroll-indicator,
  .btn,
  button {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .hero-section {
    background: none !important;
    color: black !important;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-content h1,
  .hero-content p {
    color: black !important;
    text-shadow: none !important;
  }
}

/* ==================== HIGH CONTRAST MODE ==================== */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0000ff;
    --secondary-color: #008000;
    --gray-600: #000000;
    --gray-700: #000000;
    --gray-800: #000000;
    --gray-900: #000000;
  }
  
  .btn {
    border: 2px solid;
  }
  
  .card {
    border: 2px solid var(--gray-800);
  }
}

/* ==================== DARK MODE SUPPORT ==================== */
@media (prefers-color-scheme: dark) {
  :root {
    --gray-50: #1f2937;
    --gray-100: #374151;
    --gray-200: #4b5563;
    --gray-800: #f9fafb;
    --gray-900: #ffffff;
  }
  
  body {
    background-color: var(--gray-900);
    color: var(--gray-100);
  }
  
  .card {
    background: var(--gray-800);
    border-color: var(--gray-700);
  }
  
  .contact-form {
    background: rgba(31, 41, 55, 0.95);
  }
}