/* Custom CSS for TRT Tampa */

.gradient-hero {
    background: linear-gradient(135deg, hsl(221, 83%, 53%) 0%, #1d4ed8 100%);
}

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

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

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Custom focus styles for better accessibility */
.focus\:ring-medical-blue:focus {
    --tw-ring-color: hsl(221, 83%, 53%);
}

/* Hover effects for service cards */
.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);
}

/* Custom gradient backgrounds */
.bg-gradient-medical {
    background: linear-gradient(135deg, hsl(221, 83%, 53%) 0%, hsl(269, 84%, 45%) 100%);
}

.bg-gradient-wellness {
    background: linear-gradient(135deg, hsl(158, 84%, 35%) 0%, hsl(174, 100%, 29%) 100%);
}

/* Responsive font scaling */
@media (max-width: 640px) {
    .text-4xl {
        font-size: 2.25rem;
        line-height: 2.5rem;
    }
    
    .text-6xl {
        font-size: 3rem;
        line-height: 1;
    }
}

/* Enhanced button styles */
.btn-primary {
    background: linear-gradient(135deg, hsl(221, 83%, 53%) 0%, #1d4ed8 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Loading animation for form submission */
.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    border-color: #ffffff transparent #ffffff transparent;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

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

::-webkit-scrollbar-thumb {
    background: hsl(221, 83%, 53%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1d4ed8;
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .text-white {
        color: black !important;
    }
    
    .gradient-hero {
        background: white !important;
        color: black !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .text-gray-600 {
        color: #374151;
    }
    
    .text-gray-700 {
        color: #1f2937;
    }
    
    .border-gray-300 {
        border-color: #6b7280;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    * {
        transition: none !important;
        animation: none !important;
    }
}
