/* Custom blood red color */
.bg-blood-red {
  background-color: #9a2525;
}

/* Enhanced Button Styles */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
  z-index: -1;
  transition: all 0.3s ease;
  transform: scaleX(0);
  transform-origin: right;
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-purple {
  background: linear-gradient(135deg, #8B5CF6, #7C3AED);
  color: white;
}

.btn-purple:hover {
  background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.btn-outline {
  background: transparent;
  border: 2px solid #8B5CF6;
  color: #8B5CF6;
}

.btn-outline:hover {
  background: #8B5CF6;
  color: white;
}

/* Enhanced Card Hover Effects */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(124, 58, 237, 0.05));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

/* Mobile header improvements */
@media (max-width: 768px) {
  header {
    padding: 0.5rem;
  }
  
  /* Mobile menu improvements */
  #mobile-menu {
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  #mobile-menu .border-b {
    border-color: #e5e7eb;
  }
  
  #mobile-menu a {
    transition: all 0.2s ease;
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  #mobile-menu a:hover {
    background-color: #f3f4f6;
    padding-left: 1.5rem;
    border-radius: 0.5rem;
  }
  
  /* Header logo spacing on mobile */
  .header-logo-container {
    gap: 0.25rem;
    max-width: calc(100% - 50px); /* Leave space for hamburger menu */
  }
  
  .header-logo-container img {
    max-height: 3rem;
  }
  
  /* Improve touch targets */
  .btn-primary {
    min-height: 48px; /* Minimum touch target size */
    min-width: 48px;
    padding: 1rem 1.5rem;
  }
  
  /* Better spacing on mobile */
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
}

/* Subtle page transition animations */
.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered animations for cards */
.card {
  transition: all 0.3s ease;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }