/* Custom animations and styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out forwards;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0ea5e9; /* primary-500 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0284c7; /* primary-600 */
}

/* Loading spinner */
.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #0ea5e9; /* primary-500 */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 8px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #0ea5e9, #0369a1); /* primary-500 to primary-700 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom button styles */
.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0369a1); /* primary-500 to primary-700 */
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0284c7, #075985); /* primary-600 to primary-800 */
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3); /* primary-500 with opacity */
}

/* Form focus states */
.form-input:focus {
    outline: none;
    border-color: #0ea5e9; /* primary-500 */
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1); /* primary-500 with opacity */
}

/* Card hover effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Primary color variations */
.bg-primary-50 {
    background-color: #f0f9ff;
}

.bg-primary-100 {
    background-color: #e0f2fe;
}

.bg-primary-200 {
    background-color: #bae6fd;
}

.bg-primary-300 {
    background-color: #7dd3fc;
}

.bg-primary-400 {
    background-color: #38bdf8;
}

.bg-primary-500 {
    background-color: #0ea5e9;
}

.bg-primary-600 {
    background-color: #0284c7;
}

.bg-primary-700 {
    background-color: #0369a1;
}

.bg-primary-800 {
    background-color: #075985;
}

.bg-primary-900 {
    background-color: #0c4a6e;
}

.text-primary-50 {
    color: #f0f9ff;
}

.text-primary-100 {
    color: #e0f2fe;
}

.text-primary-200 {
    color: #bae6fd;
}

.text-primary-300 {
    color: #7dd3fc;
}

.text-primary-400 {
    color: #38bdf8;
}

.text-primary-500 {
    color: #0ea5e9;
}

.text-primary-600 {
    color: #0284c7;
}

.text-primary-700 {
    color: #0369a1;
}

.text-primary-800 {
    color: #075985;
}

.text-primary-900 {
    color: #0c4a6e;
}

.border-primary-500 {
    border-color: #0ea5e9;
}

.border-primary-600 {
    border-color: #0284c7;
}

/* Custom background utilities */
.bg-image-blur {
    filter: blur(8px);
    -webkit-filter: blur(8px);
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.backdrop-blur-md {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.backdrop-blur-lg {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Custom section styles */
.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
}

/* Custom card styles */
.feature-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.feature-icon {
    background-color: #e0f2fe; /* primary-100 */
    color: #0ea5e9; /* primary-500 */
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Responsive utilities */
@media (max-width: 768px) {
    .mobile-center {
        text-align: center;
    }
    
    .mobile-full {
        width: 100%;
    }
    
    .section-padding {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background-color: #fff;
    }
    
    .container {
        max-width: 100%;
        width: 100%;
    }
}
