/* X-YBER INSPIRED ULTRA MODERN THEME */
:root {
  /* CareWhistle Red & White Theme */
  --primary-red: #d23636;
  --secondary-red: #b91c1c;
  --light-red: #f87171;
  --accent-red: #991b1b;
  --gradient-1: linear-gradient(135deg, #d23636 0%, #b91c1c 100%);
  --gradient-2: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  --gradient-3: linear-gradient(135deg, #f87171 0%, #d23636 100%);
  --gradient-main: linear-gradient(135deg, #d23636 0%, #b91c1c 100%);
  --gradient-hero: linear-gradient(135deg, #d23636 0%, #b91c1c 100%);
  --gradient-card: linear-gradient(135deg, rgba(210, 54, 54, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%);
  
  /* Text Colors */
  --text-primary: #d23636;
  --text-secondary: #374151;
  --text-white: #FFFFFF;
  --text-muted: #6B7280;
  --text-dark: #1F2937;
  
  /* Background Colors */
  --bg-white: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-gray: #FFFFFF;
  
  /* Shadows - Ultra Modern */
  --shadow-sm: 0 1px 2px 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 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-dark: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Responsive Typography with clamp() - Mobile-First */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: clamp(0.75rem, 2vw, 0.875rem);
  --font-size-sm: clamp(0.875rem, 2.5vw, 1rem);
  --font-size-base: clamp(0.95rem, 2.5vw, 1.125rem);
  --font-size-lg: clamp(1rem, 3vw, 1.25rem);
  --font-size-xl: clamp(1.1rem, 3.5vw, 1.5rem);
  --font-size-2xl: clamp(1.25rem, 4vw, 1.875rem);
  --font-size-3xl: clamp(1.5rem, 5vw, 2.25rem);
  --font-size-4xl: clamp(1.8rem, 6vw, 2.8rem);
  --font-size-5xl: clamp(2rem, 7vw, 3.5rem);
  
  /* Mobile-First Spacing Grid (4/8px base) */
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem;  /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem;    /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem;  /* 24px */
  --space-8: 2rem;    /* 32px */
  --space-10: 2.5rem; /* 40px */
  --space-12: 3rem;   /* 48px */
  --space-16: 4rem;   /* 64px */
  --space-20: 5rem;   /* 80px */
  
  /* Mobile Touch Targets */
  --touch-target: 44px;
  --touch-target-lg: 56px;
  --font-size-6xl: 3.75rem;
}

/* Global Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ultra Modern Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translate3d(-40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-down {
  animation: fadeInDown 0.8s ease-out;
}

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

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

.animate-scale-up {
  animation: scaleUp 0.6s ease-out;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-gradient {
  background-size: 200% 200%;
  animation: gradient-shift 3s ease infinite;
}

/* Modern Navigation */
.modern-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-modern {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-text {
  font-size: var(--font-size-2xl);
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
}

.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.nav-actions {
  margin-left: 2rem;
  gap: 1rem;
  display: flex;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--font-size-base);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-dark);
  background: var(--gradient-card);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-modern {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-modern.primary {
  background: #d23636;
  color: white;
  box-shadow: var(--shadow-dark);
}

.btn-modern.primary:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 25px 50px -12px rgba(210, 54, 54, 0.4);
}

.btn-modern.secondary {
  background: var(--bg-white);
  color: var(--text-primary);
  border: 2px solid var(--primary-dark);
}

.btn-modern.secondary:hover {
  background: var(--primary-dark);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-modern {
  padding: 8rem 0 4rem;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-modern {
    padding: 3rem 0 2rem !important;
    min-height: 60vh !important;
  }
}

@media (max-width: 480px) {
  .hero-modern {
    padding: 2rem 0 1.5rem !important;
    min-height: 50vh !important;
  }
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1)"/><stop offset="100%" style="stop-color:rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: var(--font-size-6xl);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

/* Statistics Section */
.stats-section {
  background: var(--bg-white);
  padding: 4rem 0;
  border-bottom: 1px solid var(--bg-gray);
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--bg-light);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-card);
}

.stat-number {
  font-size: var(--font-size-4xl);
  font-weight: 900;
  background: var(--gradient-hero);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: var(--font-size-base);
}

/* Feature Sections */
.feature-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.feature-section:nth-child(even) {
  background: var(--bg-white);
}

.feature-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-content h2 {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.feature-content p {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
  color: var(--text-primary);
}

.feature-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--primary-dark);
  color: var(--text-white);
  border-radius: 50%;
  font-weight: 600;
  font-size: var(--font-size-xs);
  flex-shrink: 0;
}

.feature-image {
  position: relative;
  text-align: center;
}

.feature-image img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  animation: gradient-shift 4s ease infinite;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cta-container h2 {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-container p {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--bg-white);
  color: var(--primary-dark);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: var(--font-size-base);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

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

/* Modern Footer */
.modern-footer {
  background: var(--text-primary);
  color: var(--text-white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .brand-text {
  font-size: var(--font-size-3xl);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  color: white;
  font-size: var(--font-size-base);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--text-white);
  font-weight: 600;
  font-size: var(--font-size-lg);
  margin-bottom: 1rem;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 0.75rem;
  font-size: var(--font-size-sm);
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: white;
  font-size: var(--font-size-sm);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

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

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

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

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

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

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

/* Mobile Menu Styles */
.mobile-menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #d23636;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  background: white;
  margin: 0;
  padding: var(--space-6) var(--space-4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 var(--space-4) var(--space-4);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateY(0);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: var(--space-4) var(--space-2);
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-lg);
  border-radius: var(--space-2);
  margin-bottom: var(--space-1);
  min-height: var(--touch-target);
  transition: all 0.2s ease;
  position: relative;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: #d23636;
  background: rgba(210, 54, 54, 0.08);
  transform: translateX(4px);
}

.mobile-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: #d23636;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.mobile-nav-link:hover::before,
.mobile-nav-link.active::before {
  height: 60%;
}

.mobile-nav-actions {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(210, 54, 54, 0.1);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.mobile-nav-actions .btn-mobile {
  padding: var(--space-4) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: 600;
  border-radius: var(--space-2);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: var(--touch-target);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}

.mobile-nav-actions .btn-mobile.primary {
  background: #d23636;
  color: white;
  border-color: #d23636;
}

.mobile-nav-actions .btn-mobile.primary:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(210, 54, 54, 0.3);
}

.mobile-nav-actions .btn-mobile:not(.primary) {
  background: white;
  color: #d23636;
  border-color: #d23636;
}

.mobile-nav-actions .btn-mobile:not(.primary):hover {
  background: #d23636;
  color: white;
}

.btn-mobile {
  display: block;
  text-align: center;
  padding: 1rem;
  background: #f9fafb;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-mobile.primary {
  background: #d23636;
  color: white;
}

.btn-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile-First CSS Utilities */
.mobile-container {
  padding: 0 var(--space-4);
  max-width: 100%;
}

.mobile-stack > * + * {
  margin-top: var(--space-4);
}

.mobile-stack-sm > * + * {
  margin-top: var(--space-2);
}

.mobile-stack-lg > * + * {
  margin-top: var(--space-8);
}

.touch-target {
  min-height: var(--touch-target);
  min-width: var(--touch-target);
  padding: var(--space-3) var(--space-4);
}

.touch-target-lg {
  min-height: var(--touch-target-lg);
  min-width: var(--touch-target-lg);
  padding: var(--space-4) var(--space-6);
}

/* Enhanced Mobile Typography */
.mobile-title {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.mobile-subtitle {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--space-3);
}

.mobile-body {
  font-size: var(--font-size-base);
  line-height: 1.5;
  margin-bottom: var(--space-4);
}

.mobile-caption {
  font-size: var(--font-size-sm);
  line-height: 1.4;
  margin-bottom: var(--space-2);
}

/* Enhanced Mobile Button System */
.mobile-cta {
  padding: var(--space-4) var(--space-6) !important;
  font-size: var(--font-size-base) !important;
  min-height: var(--touch-target) !important;
  min-width: var(--touch-target) !important;
  touch-action: manipulation !important;
  border-radius: var(--space-2) !important;
  font-weight: 600 !important;
  text-align: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-2) !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.btn-primary-mobile {
  background: #d23636 !important;
  color: white !important;
  box-shadow: 0 2px 8px rgba(210, 54, 54, 0.2) !important;
}

.btn-primary-mobile:hover {
  background: #b91c1c !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(210, 54, 54, 0.3) !important;
}

.btn-secondary-mobile {
  background: white !important;
  color: #d23636 !important;
  border: 2px solid #d23636 !important;
}

.btn-secondary-mobile:hover {
  background: #d23636 !important;
  color: white !important;
}

.btn-full-width {
  width: 100% !important;
  margin: var(--space-2) 0 !important;
}

/* Mobile Navigation Enhancements */
.mobile-nav-enhanced {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
  padding: env(safe-area-inset-bottom);
}

.mobile-bottom-cta {
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
}

.mobile-cta {
  flex: 1;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--space-4);
  }
  
  /* Mobile Performance Optimizations */
  .hero-video-container {
    display: none; /* Hide video on mobile for performance */
  }
  
  .hero-section {
    min-height: 70vh !important;
    padding: var(--space-8) 0 !important;
  }
  
  .hero-content {
    padding: var(--space-6) var(--space-4) !important;
    text-align: center !important;
  }
  
  /* Mobile Hero Enhancements */
  .hero-section h1 {
    font-size: var(--font-size-4xl) !important;
    line-height: 1.1 !important;
    margin-bottom: var(--space-6) !important;
  }
  
  .hero-section p {
    font-size: var(--font-size-lg) !important;
    line-height: 1.4 !important;
    margin-bottom: var(--space-8) !important;
    max-width: 100% !important;
  }
  
  /* Mobile Grid Improvements */
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: var(--space-4) !important;
    padding: 0 var(--space-4) !important;
  }
  
  .feature-services {
    grid-template-columns: 1fr !important;
    gap: var(--space-6) !important;
  }
  
  .service-item {
    padding: var(--space-4) !important;
    border-radius: var(--space-2) !important;
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(210, 54, 54, 0.1) !important;
  }
  
  /* Mobile Card Enhancements */
  .service-card, .feature-card {
    padding: var(--space-6) !important;
    margin-bottom: var(--space-4) !important;
    border-radius: var(--space-3) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08) !important;
  }
  
  /* Mobile Compliance Carousel */
  .compliance-carousel {
    padding: var(--space-4) 0 !important;
  }
  
  .compliance-logos {
    gap: var(--space-6) !important;
  }
  
  .compliance-logo {
    min-width: 120px !important;
    height: 60px !important;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-actions {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  /* Global Mobile Text Optimization */
  h1, .hero-title {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.875rem !important;
  }
  
  h2 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }
  
  h3 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.625rem !important;
  }
  
  h4 {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
  }
  
  p, .hero-subtitle {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.875rem !important;
  }
  
  /* Enhanced Mobile Button Optimization */
  .btn-modern, .btn-mobile, a[style*="padding"] {
    padding: var(--space-4) var(--space-6) !important;
    font-size: var(--font-size-base) !important;
    min-height: var(--touch-target) !important;
    min-width: var(--touch-target) !important;
    touch-action: manipulation !important;
    font-weight: 600 !important;
    border-radius: var(--space-2) !important;
  }
  
  /* Mobile Navigation Enhancements - Removed */
  
  /* Fix About Section Grid Overflow on Mobile */
  .about-section-wrapper {
    padding: 2rem 0 !important;
  }
  
  .about-grid-cards,
  .services-grid,
  .sectors-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .core-services-card {
    padding: 1.5rem !important;
  }
  
  .about-section-wrapper h2 {
    font-size: 1.75rem !important;
  }
  
  .about-section-wrapper h3 {
    font-size: 1.4rem !important;
  }
  
  .about-section-wrapper p {
    font-size: 0.95rem !important;
  }
  
  /* Enhanced Mobile Containers */
  .container {
    padding: 0 1rem !important;
    max-width: 100% !important;
  }
  
  .nav-container {
    padding: 0 1rem !important;
  }
  
  /* Mobile Typography Overrides */
  body {
    font-size: 16px !important;
  }
  
  h1 {
    font-size: 1.5rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.875rem !important;
  }
  
  h2 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
  }
  
  h3 {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.625rem !important;
  }
  
  p {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.875rem !important;
  }
  
  /* Mobile Spacing */
  section {
    padding: 1.5rem 0 !important;
  }
  
  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden !important;
  }
  
  .modern-nav {
    padding: 0.5rem 0 !important;
  }
  
  .brand-text {
    font-size: 1.25rem !important;
  }
  
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Page Specific Styles */
body {
  padding-top: 80px;
}

/* Modern Pricing Cards */
.pricing-section {
  padding: 6rem 0;
  background: var(--bg-light);
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-header h1 {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.pricing-header p {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid transparent;
  transition: none !important;
  transform: none !important;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.5rem;
  min-height: auto;
}

.pricing-card:hover {
  /* No hover effects - disabled */
}

.pricing-card.popular {
  border-color: var(--primary-dark);
  background: var(--gradient-card);
}

.pricing-plan-name {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.pricing-plan-description {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.pricing-plan-price {
  display: flex;
  align-items: baseline;
  margin-bottom: 2rem;
}

.pricing-currency {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
}

.pricing-amount {
  font-size: var(--font-size-5xl);
  font-weight: 900;
  color: var(--text-primary);
  margin-left: 0.25rem;
}

.pricing-period {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  margin-left: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 3rem;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: var(--font-size-base);
  color: var(--text-primary);
}

.pricing-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background: var(--primary-dark);
  color: var(--text-white);
  border-radius: 50%;
  font-weight: 600;
  font-size: var(--font-size-xs);
  flex-shrink: 0;
}

.pricing-cta {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--gradient-hero);
  color: var(--text-white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.pricing-cta:hover {
  /* No hover effects - disabled */
}

/* New Pricing Card Components - Clean & Professional */
.pricing-card-new {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: none !important;
  transform: none !important;
  position: relative;
}

.pricing-card-new.pricing-popular {
  border-color: #d23636;
  border-width: 3px;
  box-shadow: 0 10px 25px rgba(210, 54, 54, 0.15);
}

.pricing-card-new.pricing-enterprise {
  border-color: #d23636;
  border-width: 2px;
}

.popular-badge {
  background: #d23636;
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  margin: -2rem -2rem 0 -2rem;
  margin-bottom: 1rem;
}

.pricing-card-header {
  text-align: center;
}

.pricing-card-header h3 {
  color: #d23636;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
}

.pricing-price {
  margin: 1rem 0;
}

.pricing-price .amount {
  font-size: 3rem;
  font-weight: 800;
  color: #1f2937;
}

.pricing-price .amount.custom {
  font-size: 2.5rem;
  color: #d23636;
}

.pricing-price .period {
  font-size: 1.125rem;
  color: #6b7280;
  margin-left: 0.5rem;
}

.pricing-card-header .staff-count {
  color: #3b82f6;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.pricing-features-box {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
}

.pricing-card-new.pricing-popular .pricing-features-box {
  background: #fef2f2;
}

.pricing-card-new.pricing-enterprise .pricing-features-box {
  background: #fef2f2;
}

.pricing-features-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-features-box li {
  padding: 0.625rem 0;
  color: #374151;
  font-size: 0.9375rem;
}

.pricing-cta-box {
  text-align: center;
  margin-top: auto;
}

.pricing-cta-box form {
  margin: 0;
}

.pricing-cta-box .btn-primary {
  width: 100%;
  background: #d23636;
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.pricing-cta-box .link-invoice {
  display: block;
  margin-top: 0.75rem;
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: underline;
}

/* Flash Messages */
.flash {
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  font-weight: 500;
}

.flash-success {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-left: 4px solid #10B981;
}

.flash-error {
  background: rgba(239, 68, 68, 0.1);
  color: #B91C1C;
  border-left: 4px solid #EF4444;
}

.flash-info {
  background: rgba(99, 102, 241, 0.1);
  color: #4338CA;
  border-left: 4px solid var(--primary-dark);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: var(--font-size-sm);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--bg-gray);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-family: var(--font-family);
  transition: all 0.3s ease;
  background: var(--bg-white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(210, 54, 54, 0.1);
}

.form-button {
  background: var(--gradient-hero);
  color: var(--text-white);
  padding: 0.75rem 2rem;
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.form-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-dark);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Notification Styles */
.notification {
  position: fixed;
  top: 100px;
  right: 2rem;
  background: var(--bg-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border-left: 4px solid var(--primary-dark);
  z-index: 1000;
  animation: slideInRight 0.3s ease;
}

/* AI Chat Widget Styles */
.chat-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-hero);
  border: none;
  color: var(--text-white);
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-dark);
}

.chat-modal {
  position: fixed;
  bottom: 6rem;
  right: 2rem;
  width: 350px;
  height: 500px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--bg-gray);
}

.chat-header {
  background: var(--gradient-hero);
  color: var(--text-white);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0;
}

.chat-close {
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-messages {
  height: 350px;
  overflow-y: auto;
  padding: 1rem;
}

.message {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.ai-message {
  background: var(--bg-light);
  color: var(--text-primary);
}

.user-message {
  background: var(--gradient-hero);
  color: var(--text-white);
  margin-left: 2rem;
}

.chat-input-container {
  padding: 1rem;
  border-top: 1px solid var(--bg-gray);
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid var(--bg-gray);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary-dark);
}

.chat-send {
  background: var(--primary-dark);
  color: var(--text-white);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--font-size-sm);
  font-weight: 500;
  transition: all 0.3s ease;
}

.chat-send:hover {
  background: var(--accent-dark);
}

/* Enhanced Mobile Hero Section */
@media (max-width: 768px) {
  .hero-modern {
    padding: 1.5rem 0 0.5rem !important;
    min-height: auto !important;
    margin: 0 !important;
  }
  
  .hero-modern > div {
    padding: 0 1rem !important;
  }
  
  .hero-modern div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
    min-height: auto !important;
  }
  
  .hero-modern h1 {
    font-size: 1.9rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-modern h1 br {
    display: none !important;
  }
  
  .hero-modern p {
    font-size: 1rem !important;
    text-align: center !important;
    margin-bottom: 1.5rem !important;
  }
  
  .hero-modern div[style*="max-width: 600px"] {
    max-width: 100% !important;
    padding: 0 1rem !important;
  }
  
  /* Mobile Video Container */
  .hero-modern div[style*="padding-top: 3rem"] {
    padding-top: 0 !important;
    order: -1; /* Video appears first on mobile */
  }
  
  .hero-modern div[style*="max-width: 500px"] {
    max-width: 320px !important;
    margin: 0 auto 2rem auto !important;
    padding: 1rem !important;
  }
  
  .hero-modern video {
    height: 180px !important;
    object-fit: cover !important;
  }
  
  /* Mobile Buttons */
  .hero-modern div[style*="display: flex; gap: 1rem"] {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .hero-modern a[style*="display: inline-flex"] {
    justify-content: center !important;
    width: 100% !important;
    max-width: 260px !important;
    padding: 1rem 1.5rem !important;
  }
  
  /* Mobile Stats - Stack instead of absolute positioning */
  .hero-modern div[style*="position: absolute"] {
    position: relative !important;
    margin: 0.5rem auto !important;
    float: none !important;
    display: inline-block !important;
  }
}

@media (max-width: 480px) {
  .hero-modern {
    padding: 1rem 0 0.5rem !important;
    margin: 0 !important;
  }
  
  .hero-modern > div {
    padding: 0 0.75rem !important;
  }
  
  .hero-modern h1 {
    font-size: 1.6rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .hero-modern p {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }
  
  .hero-modern div[style*="padding: 2rem"] {
    padding: 0.75rem !important;
  }
  
  .hero-modern div[style*="max-width: 500px"] {
    max-width: 280px !important;
  }
  
  .hero-modern a[style*="display: inline-flex"] {
    padding: 0.875rem 1.25rem !important;
    font-size: 0.9rem !important;
    max-width: 240px !important;
  }
  
  .hero-modern video {
    height: 160px !important;
  }
}

/* Mobile Carousel and Final Grid Optimizations */
@media (max-width: 768px) {
  .compliance-carousel {
    gap: 2rem !important;
  }
  
  .compliance-carousel img {
    height: 35px !important;
  }
  
  /* Additional Mobile Grid Fixes */
  div[style*="grid-template-columns: repeat(auto-fit"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }
  
  div[style*="grid-template-columns: repeat(6, 1fr)"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1rem !important;
  }
}

@media (max-width: 480px) {
  .compliance-carousel {
    gap: 1.5rem !important;
  }
  
  .compliance-carousel img {
    height: 30px !important;
  }
  
  div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
  
  div[style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Smooth Carousel Animation */
@keyframes smoothMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.compliance-carousel {
  animation-play-state: running;
}

.compliance-carousel:hover {
  animation-play-state: paused;
}

.compliance-carousel img:hover {
  opacity: 1 !important;
  filter: grayscale(0%) !important;
  transform: scale(1.1);
}

/* ENHANCED SMOOTH HOVER ANIMATIONS */

/* Smooth text hover effects */
h1, h2, h3, h4, h5, h6 {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

h1:hover, h2:hover, h3:hover {
  transform: translateY(-2px);
  letter-spacing: 0.5px;
}

p {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced link hover effects */
a {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

a:hover {
  transform: translateY(-2px);
}

.nav-link {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-red);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Enhanced button hover animations */
button, .btn-modern, input[type="submit"] {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

button:hover, .btn-modern:hover, input[type="submit"]:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(210, 54, 54, 0.3);
}

button:active, .btn-modern:active, input[type="submit"]:active {
  transform: translateY(-1px) scale(0.98);
}

/* Card hover enhancements */
.feature-card, .value-card, .stat-item {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.feature-card:hover, .value-card:hover, .stat-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(210, 54, 54, 0.2);
}

.feature-card h3:hover {
  color: var(--secondary-red);
}

/* List item animations */
li {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

li:hover {
  transform: translateX(5px);
  color: var(--secondary-red);
}

/* Form input hover effects */
input, textarea, select {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:hover, textarea:hover, select:hover {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(210, 54, 54, 0.1);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(210, 54, 54, 0.2);
  transform: scale(1.01);
}

/* Smooth scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Word animation effects */
.word-animate {
  display: inline-block;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced hover for pricing cards - DISABLED */
.pricing-card .btn-modern {
  /* No transitions */
}

.pricing-card:hover .btn-modern {
  /* No hover effects */
}

/* Smooth image hover effects */
img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Icon hover animations */
.feature-card svg, .value-card svg {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover svg, .value-card:hover svg {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 4px 8px rgba(210, 54, 54, 0.3));
}

/* Badge and label hover effects */
.badge, .label, .tag {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge:hover, .label:hover, .tag:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(210, 54, 54, 0.2);
}

/* Enhanced text selection */
::selection {
  background: rgba(210, 54, 54, 0.25);
  color: #d23636;
  text-shadow: none;
}

::-moz-selection {
  background: rgba(210, 54, 54, 0.25);
  color: #d23636;
  text-shadow: none;
}

/* Smooth page transitions */
body {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus visible for accessibility with smooth animations */
*:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 3px;
  transition: outline-offset 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth loading animations */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Enhanced scrollbar with smooth transitions */
::-webkit-scrollbar {
  width: 12px;
  transition: all 0.3s ease;
}

::-webkit-scrollbar-track {
  background: #f8f8f8;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-red), var(--secondary-red));
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--secondary-red), var(--accent-red));
  transform: scaleX(1.1);
}

/* Admin Portal Layout and Sidebar Styles */
.layout {
  display: flex;
  min-height: calc(100vh - 120px);
  margin-top: 80px;
}

.sidebar {
  width: 250px;
  background: linear-gradient(180deg, #1e293b 0%, #334155 100%);
  padding: 1.5rem 0;
  position: fixed;
  left: 0;
  top: 80px;
  bottom: 0;
  overflow-y: auto;
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
  z-index: 90;
  transition: transform 0.3s ease;
}

.sidebar a {
  display: block;
  padding: 0.875rem 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.sidebar a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-left-color: #0ea5e9;
}

.sidebar a.active {
  background: rgba(14, 165, 233, 0.15);
  color: white;
  border-left-color: #0ea5e9;
  font-weight: 600;
}

.main {
  flex: 1;
  padding: 2rem;
  margin-left: 250px;
  background: #f8fafc;
  min-height: calc(100vh - 120px);
}

/* Mobile Menu Toggle for Admin */
.admin-mobile-toggle {
  display: none;
  position: fixed;
  left: 1rem;
  top: 90px;
  z-index: 95;
  background: #1e293b;
  border: none;
  color: white;
  padding: 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  flex-direction: column;
  gap: 4px;
}

.admin-mobile-toggle span {
  width: 20px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.admin-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.admin-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.admin-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Admin Mobile Responsiveness */
@media (max-width: 1024px) {
  .main {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .main {
    margin-left: 0;
    padding: 1.5rem 1rem;
  }
  
  .admin-mobile-toggle {
    display: flex !important;
  }
  
  .layout {
    margin-top: 60px;
  }
  
  .sidebar {
    top: 60px;
  }
}

@media (max-width: 480px) {
  .main {
    padding: 1rem 0.75rem;
  }
  
  .sidebar {
    width: 100%;
  }
  
  .admin-mobile-toggle {
    left: 0.75rem;
    top: 70px;
  }
}

/* Remove white box/border on mobile homepage */
@media (max-width: 768px) {
  /* Services section mobile optimization */
  .services-section {
    margin-top: 1rem !important;
    padding: 2rem 0 !important;
  }
  
  .services-section > div {
    padding: 0 1rem !important;
  }
  
  /* Remove excessive white space */
  section[style*="background: white"] {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .services-section {
    margin-top: 0.5rem !important;
    padding: 1.5rem 0 !important;
  }
  
  .services-section > div {
    padding: 0 0.75rem !important;
  }
  
  section[style*="background: white"] {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

/* Desktop Layout Optimization - Bring sections closer together */
@media (min-width: 769px) {
  .hero-desktop-optimized {
    padding: 3rem 0 1rem 0 !important;
    min-height: 80vh !important;
  }
  
  .services-desktop-optimized {
    margin-top: 0rem !important;
    padding: 2rem 0 !important;
  }
  
  .stats-section {
    padding: 3rem 0 !important;
  }
  
  section[style*="padding: 5rem 0"] {
    padding: 3rem 0 !important;
  }
}

/* About Section Responsive Layout */
.about-section-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  padding: 3rem 0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about-header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-header h2 {
  color: #1f2937;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.about-header p {
  color: #6b7280;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-grid-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.about-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.about-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about-card h3 {
  color: #1f2937;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-align: center;
}

.about-card h3 svg {
  width: 20px;
  height: 20px;
}

.about-card p {
  color: #1f2937;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  text-align: left;
}

/* Tablet and Desktop - keep single column, just adjust sizing */
@media (min-width: 768px) {
  .about-section-wrapper {
    padding: 4rem 0;
  }
  
  .about-container {
    padding: 0 2rem;
    max-width: 900px;
  }
  
  .about-header {
    margin-bottom: 2.5rem;
  }
  
  .about-header h2 {
    font-size: 2.25rem;
  }
  
  .about-grid-cards {
    gap: 1.75rem;
    margin-bottom: 2.5rem;
  }
  
  .about-card {
    padding: 2rem;
  }
  
  .about-card h3 {
    font-size: 1.4rem;
  }
  
  .about-card h3 svg {
    width: 22px;
    height: 22px;
  }
  
  .about-card p {
    font-size: 1.05rem;
  }
}

/* Desktop - larger sizing but still single column */
@media (min-width: 1024px) {
  .about-section-wrapper {
    padding: 4rem 0;
  }
  
  .about-header {
    margin-bottom: 3rem;
  }
  
  .about-header h2 {
    font-size: 2.5rem;
  }
  
  .about-header p {
    font-size: 1.2rem;
  }
  
  .about-grid-cards {
    gap: 2rem;
    margin-bottom: 3rem;
  }
  
  .about-card {
    padding: 2.5rem;
  }
  
  .about-card h3 {
    font-size: 1.5rem;
  }
  
  .about-card h3 svg {
    width: 24px;
    height: 24px;
  }
  
  .about-card p {
    font-size: 1.1rem;
    line-height: 1.7;
  }
}
