/* WebClinic Index Page - Custom Styles v2.0 */
/* Enhanced for professional aesthetic and consistency */

/* ===== RESET AND BASE ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Jura', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #0F172A;
  color: #ffffff;
  line-height: 1.6;
  font-weight: 400;
}

/* ===== LAYOUT ===== */
/* Note: .container is defined in style.css */

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-7xl {
  max-width: 80rem;
}

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

/* ===== SPACING ===== */
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.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-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.p-2 { padding: 0.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.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; }
.mb-20 { margin-bottom: 5rem; }

.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mt-6 { margin-top: 1.5rem; }

.pt-4 { padding-top: 1rem; }

.space-y-8 > * + * {
  margin-top: 2rem;
}

.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* ===== DISPLAY ===== */
.block {
  display: block;
}

/* .hidden class removed - duplicated in mobile-menu.css line 15 */

/* ===== FLEXBOX ===== */
.flex {
  display: flex;
}

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

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

.flex-wrap {
  flex-wrap: wrap;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

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

.items-start {
  align-items: flex-start;
}

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

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

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-1 > * + * {
  margin-top: 0.25rem;
}

/* ===== GRID ===== */
.grid {
  display: grid;
}

/* ===== POSITIONING ===== */
.fixed {
  position: fixed;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }

.bottom-8 { bottom: 2rem; }
.left-1\/2 { left: 50%; }

.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.-z-5 { z-index: -5; }
.-z-10 { z-index: -10; }
.-z-20 { z-index: -20; }

/* ===== SIZING ===== */
.w-full {
  width: 100%;
}

.w-6 {
  width: 1.5rem;
}

.w-16 {
  width: 4rem;
}

.w-20 {
  width: 5rem;
}

.w-auto {
  width: auto;
}

.h-full {
  height: 100%;
}

.h-6 {
  height: 1.5rem;
}

.h-10 {
  height: 2.5rem;
}

.h-16 {
  height: 4rem;
}

.h-20 {
  height: 5rem;
}

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

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

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

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

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

.font-extrabold {
  font-weight: 800;
}

.leading-tight {
  line-height: 1.25;
}

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

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

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

.text-gray-200 {
  color: #e5e7eb;
}

.text-gray-300 {
  color: #d1d5db;
}

.text-gray-400 {
  color: #9ca3af;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-900 {
  color: #111827;
}

.text-green-500 {
  color: #10b981;
}

.text-vibrant {
  color: #3B82F6;
}

.text-transparent {
  color: transparent;
}

.text-blue-100 {
  color: #dbeafe;
}

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

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-gray-900 {
  background-color: #0F172A;
}

.bg-blue-50 {
  background-color: #eff6ff;
}

.bg-blue-100 {
  background-color: #dbeafe;
}

.bg-vibrant {
  background-color: #3B82F6;
}

.bg-opacity-95 {
  --tw-bg-opacity: 0.95;
}

.bg-gradient-vibrant {
  background: linear-gradient(135deg, #2563EB 0%, #0891B2 100%);
  position: relative;
}

.bg-gradient-vibrant::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--gradient-from, transparent), var(--gradient-to, transparent));
}

.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}

.from-blue-50 {
  --gradient-from: #eff6ff;
}

.to-cyan-50 {
  --gradient-to: #ecfeff;
}

.from-blue-500 {
  --gradient-from: #3b82f6;
}

.to-cyan-500 {
  --gradient-to: #06b6d4;
}

.from-vibrant {
  --gradient-from: #3B82F6;
}

.to-vibrant-cyan {
  --gradient-to: #06B6D4;
}

.from-bg-primary {
  --tw-gradient-from: #111827;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(17, 24, 39, 0));
}

.via-bg-secondary {
  --tw-gradient-stops: var(--tw-gradient-from), #1F2937, var(--tw-gradient-to, rgba(31, 41, 55, 0));
}

.to-bg-primary {
  --tw-gradient-to: #111827;
}

.bg-cover {
  background-size: cover;
}

.bg-center {
  background-position: center;
}

.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}

.opacity-90 {
  opacity: 0.9;
}

.opacity-10 {
  opacity: 0.1;
}

/* ===== BORDERS ===== */
.border {
  border-width: 1px;
}

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

.border-white {
  border-color: #ffffff;
}

.border-gray-100 {
  border-color: #f3f4f6;
}

.border-vibrant {
  border-color: #3B82F6;
}

.rounded-md {
  border-radius: 0.375rem;
}

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

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

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

.rounded-circle {
  border-radius: 50%;
}

/* ===== SHADOWS ===== */
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.12);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 10px 20px -5px rgba(37, 99, 235, 0.2);
}

/* ===== TRANSFORMS ===== */
.transform {
  transform: var(--tw-transform);
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.hover\:-translate-y-1:hover {
  transform: translateY(-0.25rem);
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

/* ===== TRANSITIONS ===== */
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* ===== HOVER EFFECTS ===== */
.hover\:text-vibrant:hover {
  color: #3B82F6;
}

.hover\:border-vibrant:hover {
  border-color: #3B82F6;
}

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

.hover\:bg-gray-100:hover {
  background-color: #f3f4f6;
}

.hover\:bg-gray-700:hover {
  background-color: #374151;
}

.hover\:bg-vibrant:hover {
  background-color: #3B82F6;
}

.hover\:text-white:hover {
  color: #ffffff;
}

.hover\:text-gray-900:hover {
  color: #111827;
}

.hover\:bg-blue-100:hover {
  background-color: #dbeafe;
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

/* Gradient hover effects */
.hover\:from-blue-600:hover {
  --gradient-from: #2563eb;
}

.hover\:to-cyan-600:hover {
  --gradient-to: #0891b2;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-vibrant {
  0%, 100% {
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
  }
  50% {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5), 0 0 30px rgba(59, 130, 246, 0.3);
  }
}

.animate-pulse-vibrant {
  animation: pulse-vibrant 2s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.15;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: translateY(0);
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce-slow {
  animation: bounce 2s infinite;
}

/* ===== OVERFLOW ===== */
.overflow-hidden {
  overflow: hidden;
}

/* ===== EFFECTS ===== */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.focus\:ring-inset:focus {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

.focus\:ring-white:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* ===== RESPONSIVE - MOBILE FIRST ===== */
@media (min-width: 640px) {
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:items-center { align-items: center; }
}

@media (min-width: 768px) {
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-5xl { font-size: 3rem; line-height: 1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:p-12 { padding: 3rem; }
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:flex { display: flex; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:items-center { align-items: center; }
  .lg\:space-x-8 > * + * { margin-left: 2rem; }
}

/* ===== HERO CAROUSEL ===== */
#hero-carousel-container .carousel,
#hero-carousel-container .carousel-inner,
#hero-carousel-container .carousel-item {
  height: 100%;
  width: 100%;
}

#hero-carousel-container .carousel-item {
  transition: opacity 1.5s ease-in-out;
}

#hero-carousel-container .carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 1.5s;
  transition-property: opacity;
}

#hero-carousel-container .carousel-fade .carousel-item.active {
  opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero-gradient-overlay {
  background: linear-gradient(135deg, #111827 0%, #1F2937 50%, #111827 100%);
  opacity: 0.9;
}

/* ===== ACCESSIBILITY ===== */
/* Note: .sr-only and .skip-link are defined in style.css and modern-utilities.css to avoid conflicts */

/* ===== LEGACY SUPPORT ===== */
.site-content {
  min-height: 100vh;
}

[data-include] {
  display: block;
}

/* ===== GROUP HOVER ===== */
.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

.group:hover .group-hover\:bg-blue-100 {
  background-color: #dbeafe;
}
