@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* CSS Variables for consistent theming */
:root {
  --primary-blue: #3b82f6;
  --primary-indigo: #6366f1;
  --primary-purple: #8b5cf6;
  --dark-bg: #111827;
  --dark-card: #1f2937;
  --dark-text: #f9fafb;
  --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;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --indigo-50: #eef2ff;
  --indigo-100: #e0e7ff;
  --indigo-400: #818cf8;
  --indigo-500: #6366f1;
  --indigo-600: #4f46e5;
  --purple-400: #a78bfa;
  --purple-500: #8b5cf6;
  --purple-600: #7c3aed;
  --green-100: #dcfce7;
  --green-600: #059669;
  --red-500: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dark mode styles */
.dark {
  background-color: var(--dark-bg);
  color: var(--dark-text);
}

.dark .card {
  background-color: var(--dark-card);
  border-color: var(--gray-700);
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-12 {
  gap: 3rem;
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.border {
  border-width: 1px;
}

.border-2 {
  border-width: 2px;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Typography */
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.leading-relaxed {
  line-height: 1.625;
}

/* Colors */
.text-white {
  color: #ffffff;
}

.text-gray-400 {
  color: var(--gray-400);
}

.text-gray-500 {
  color: var(--gray-500);
}

.text-gray-600 {
  color: var(--gray-600);
}

.text-gray-700 {
  color: var(--gray-700);
}

.text-gray-800 {
  color: var(--gray-800);
}

.text-gray-900 {
  color: var(--gray-900);
}

.text-blue-500 {
  color: var(--blue-500);
}

.text-blue-600 {
  color: var(--blue-600);
}

.text-indigo-600 {
  color: var(--indigo-600);
}

.text-purple-600 {
  color: var(--purple-600);
}

.text-green-600 {
  color: var(--green-600);
}

.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: var(--gray-50);
}

.bg-gray-100 {
  background-color: var(--gray-100);
}

.bg-gray-800 {
  background-color: var(--gray-800);
}

.bg-gray-900 {
  background-color: var(--gray-900);
}

.bg-blue-50 {
  background-color: var(--blue-50);
}

.bg-blue-100 {
  background-color: var(--blue-100);
}

.bg-blue-500 {
  background-color: var(--blue-500);
}

.bg-blue-600 {
  background-color: var(--blue-600);
}

.bg-indigo-100 {
  background-color: var(--indigo-100);
}

.bg-purple-100 {
  background-color: var(--purple-100);
}

.bg-green-100 {
  background-color: var(--green-100);
}

.border-gray-100 {
  border-color: var(--gray-100);
}

.border-gray-200 {
  border-color: var(--gray-200);
}

.border-gray-300 {
  border-color: var(--gray-300);
}

.border-blue-600 {
  border-color: var(--blue-600);
}

/* Shadows */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

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

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

/* Gradients */
.gradient-bg {
  background: linear-gradient(135deg, var(--blue-50) 0%, #ffffff 50%, var(--indigo-50) 100%);
}

.hero-gradient {
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--indigo-600) 50%, var(--purple-600) 100%);
}

.text-gradient {
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--indigo-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Component Styles */
.card {
  background-color: #ffffff;
  border: 1px solid var(--gray-100);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.business-card {
  background-color: #ffffff;
  border: 1px solid var(--gray-100);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.business-card:hover {
  box-shadow: var(--shadow-md);
}

.glass-effect {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue-600) 0%, var(--indigo-600) 50%, var(--purple-600) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

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

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-600);
}

.btn-outline:hover {
  background-color: var(--blue-50);
}

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

/* Form Styles */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 0.5rem;
  font-size: 1rem;
  min-height: 120px;
  resize: vertical;
  transition: all 0.3s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Header/Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-600);
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--gray-700);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.5rem;
  background-color: var(--gray-100);
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.language-btn {
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.language-btn.active {
  background-color: #ffffff;
  color: var(--blue-600);
  box-shadow: var(--shadow-sm);
}

.language-btn:hover:not(.active) {
  color: var(--gray-800);
}

/* Theme Toggle */
.theme-toggle {
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  color: var(--gray-600);
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  background-color: var(--gray-100);
  color: var(--gray-800);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 2rem;
  z-index: 10;
  position: relative;
}

.hero-text h1 {
  font-size: 3.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-text h2 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.625;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 384px;
  height: 384px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* Video Section */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.video-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

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

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(59, 130, 246, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.video-card:hover .video-play-btn {
  background-color: var(--blue-600);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1.5rem;
}

.video-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.video-subtitle {
  color: var(--gray-600);
  line-height: 1.5;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal-content {
  background-color: #ffffff;
  border-radius: 0.75rem;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.modal-close {
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--gray-500);
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background-color: var(--gray-100);
  color: var(--gray-700);
}

.modal-body {
  padding: 0;
}

.video-iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Contact Section */
.contact-info {
  background-color: #ffffff;
  border-left: 4px solid var(--blue-500);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.contact-icon.email {
  background-color: var(--blue-100);
  color: var(--blue-600);
}

.contact-icon.phone {
  background-color: var(--indigo-100);
  color: var(--indigo-600);
}

.contact-icon.address {
  background-color: var(--purple-100);
  color: var(--purple-600);
}

.contact-details h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--blue-600);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--blue-700);
}

/* Footer */
.footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  list-style: none;
}

.footer-link {
  color: var(--gray-400);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--gray-200);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.animate-fadeIn {
  animation: fadeIn 0.8s ease-out;
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

/* Enhanced Responsive Design */

/* Base responsive utilities */
.responsive-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .responsive-container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .responsive-container {
    max-width: 768px;
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .responsive-container {
    max-width: 1024px;
    padding: 0 2rem;
  }
}

@media (min-width: 1280px) {
  .responsive-container {
    max-width: 1280px;
  }
}

/* Mobile-first responsive design */
.responsive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .responsive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Typography responsive scaling */
.responsive-text-6xl {
  font-size: clamp(2rem, 8vw, 4rem);
  line-height: 1.1;
}

.responsive-text-3xl {
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.2;
}

.responsive-text-2xl {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  line-height: 1.3;
}

.responsive-text-xl {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.4;
}

/* Section spacing */
.section-responsive {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

/* Responsive images */
.responsive-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.responsive-hero-image {
  width: clamp(240px, 50vw, 384px);
  height: clamp(240px, 50vw, 384px);
  border-radius: 50%;
  object-fit: cover;
}

/* Mobile Navigation */
@media (max-width: 767px) {
  .nav-links {
    display: none !important;
  }
  
  .mobile-menu {
    display: block !important;
  }
  
  .mobile-menu-open .nav-links {
    display: flex !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 1000;
  }
}

/* Grid system improvements */
.auto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .auto-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Video grid responsive */
.video-grid-responsive {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 100%;
}

@media (max-width: 640px) {
  .video-grid-responsive {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .video-grid-responsive {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .video-grid-responsive {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Button responsive */
.btn-responsive {
  width: 100%;
  min-width: 200px;
  max-width: 300px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .btn-responsive {
    width: auto;
    min-width: 200px;
  }
}

/* Form responsive */
.form-responsive {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Modal responsive */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 1rem !important;
  }
  
  .modal-content {
    max-width: 100% !important;
    max-height: 90vh !important;
  }
  
  .video-iframe {
    height: 250px !important;
  }
}

@media (max-width: 480px) {
  .video-iframe {
    height: 200px !important;
  }
}

/* Contact section responsive */
.contact-responsive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .contact-responsive {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

/* Expertise cards responsive */
.expertise-responsive {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .expertise-responsive {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .expertise-responsive {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Fix for max-width issues */
.content-max-width {
  max-width: 100%;
  width: 100%;
}

@media (min-width: 640px) {
  .content-max-width {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .content-max-width {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .content-max-width {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .content-max-width {
    max-width: 1280px;
  }
}

/* Ensure proper spacing on all devices */
.space-y-responsive > * + * {
  margin-top: clamp(1rem, 4vw, 2rem);
}

/* Loading states responsive */
.loading-responsive {
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid currentColor;
  }
  
  .btn {
    border: 2px solid currentColor;
  }
}

/* Print styles */
@media print {
  .header,
  .modal-overlay,
  .floating-elements {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-400);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-500);
}

/* Loading states */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

/* Success state */
.success-message {
  background-color: var(--green-100);
  color: var(--green-600);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin: 1rem 0;
}

/* Error state */
.error-message {
  background-color: #fee2e2;
  color: var(--red-500);
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  margin: 1rem 0;
}

/* Floating elements */
.floating-elements {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  width: 8px;
  height: 8px;
  background-color: rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-20px);
    opacity: 0.8;
  }
}

/* Background effects */
.bg-blur-element {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  pointer-events: none;
}

.bg-blur-blue {
  background-color: var(--blue-400);
}

.bg-blur-indigo {
  background-color: var(--indigo-400);
}

.bg-blur-purple {
  background-color: var(--purple-400);
}


