/* System font stack for performance */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #ffffff;
    background-color: #1e3a8a;
    font-weight: 400;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern typography hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: #ffffff;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.05em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 600;
    letter-spacing: -0.015em;
}

p {
    line-height: 1.8;
    color: #ffffff;
    font-size: 1.1rem;
}

/* Smooth scrolling */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Dark blue hero background */
.hero-bg {
    background-color: #1e3a8a;
}

@media (max-width: 640px) {
    .hero-bg {
        background-color: #1e3a8a;
    }
}


/* Enhanced card shadows and aesthetics */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Enhanced form styling */
form {
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

/* Enhanced button aesthetics */
button {
    font-weight: 600;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
}

/* Improved checkbox styling */
input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 0.375rem;
    border: 2px solid #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: #2563eb;
    border-color: #2563eb;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z'/%3e%3c/svg%3e");
}

input[type="checkbox"]:hover {
    border-color: #60a5fa;
    transform: scale(1.05);
}

.shadow-lg {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 25px 25px -12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.shadow-lg:hover {
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.35), 0 25px 25px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

/* Fade in animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accordion styles */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.open {
    max-height: 200px;
}


/* Form validation styles */
.form-error {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
}

.input-error {
    border-color: #DC2626 !important;
}

/* Modern Button hover effects with sophisticated animations */
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

button:hover {
    /* No transform effects */
}

/* Removed button shine effect */

/* Enhanced Focus states for accessibility */
button:focus,
input:focus,
textarea:focus,
a:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

/* Utility classes matching Tailwind-like structure */
.max-w-6xl {
    max-width: 72rem;
}

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

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

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

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-20 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.py-16 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.py-12 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.py-8 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.p-8 {
    padding: 2rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-4 {
    padding: 1rem;
}

.pt-20 {
    padding-top: 5rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

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

.mb-12 {
    margin-bottom: 3rem;
}

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

.mb-6 {
    margin-bottom: 1.5rem;
}

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

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

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

.mt-6 {
    margin-top: 1.5rem;
}

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

.mt-1 {
    margin-top: 0.25rem;
}

.mt-0\.5 {
    margin-top: 0.125rem;
}

.mr-4 {
    margin-right: 1rem;
}

.gap-12 {
    gap: 3rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-1 {
    gap: 0.25rem;
}

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

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

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

/* Grid and flexbox */
.grid {
    display: grid;
}

.flex {
    display: flex;
}

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

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

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

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

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

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

/* Responsive grid */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    
    .md\:flex-row {
        flex-direction: row;
    }
    
    .md\:text-base {
        font-size: 1rem;
    }
    
    .md\:text-2xl {
        font-size: 1.5rem;
    }
    
    .md\:text-4xl {
        font-size: 2.25rem;
    }
    
    .md\:text-5xl {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .lg\:text-6xl {
        font-size: 3.75rem;
    }
}

/* Modern Colors with sophisticated palette */
.bg-white {
    background-color: #ffffff;
}

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

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

.bg-gray-300 {
    background-color: #d1d5db;
}

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

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

.bg-gray-900 {
    background-color: #1e3a8a;
}

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

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

.bg-blue-600 {
    background-color: #3b82f6;
}

.bg-blue-700 {
    background-color: #2563eb;
}

.bg-green-100 {
    background-color: #2563eb;
}

.bg-green-600 {
    background-color: #16a34a;
}

.bg-green-700 {
    background-color: #15803d;
}

.text-white {
    color: #ffffff;
}

.text-gray-500 {
    color: #ffffff;
}

.text-gray-600 {
    color: #ffffff;
}

.text-gray-700 {
    color: #374151;
}

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

.text-blue-600 {
    color: #2563eb;
}

.text-green-600 {
    color: #16a34a;
}

.text-yellow-400 {
    color: #facc15;
}

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

.border-t {
    border-top-width: 1px;
}

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

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

.border-gray-700 {
    border-color: #374151;
}

.border-blue-200 {
    border-color: #bfdbfe;
}

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

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

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

/* Modern glass morphism effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
}

/* Modern gradient text */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Typography */
.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

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

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

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

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

/* Positioning */
.fixed {
    position: fixed;
}

.relative {
    position: relative;
}

.top-0 {
    top: 0;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.bottom-0 {
    bottom: 0;
}

.z-40 {
    z-index: 40;
}

.z-50 {
    z-index: 50;
}

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

.w-6 {
    width: 1.5rem;
}

.w-8 {
    width: 2rem;
}

.w-16 {
    width: 4rem;
}

.w-20 {
    width: 5rem;
}

.h-auto {
    height: auto;
}

.h-6 {
    height: 1.5rem;
}

.h-8 {
    height: 2rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

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

/* Display */
.block {
    display: block;
}

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

.hidden {
    display: none;
}

/* Flex direction */
.flex-col {
    flex-direction: column;
}

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

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

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

/* Form inputs */
input, textarea {
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Modern Hover effects with smooth transitions */
.hover\:underline:hover {
    text-decoration: underline;
    text-decoration-color: #667eea;
    text-underline-offset: 4px;
}

.hover\:bg-blue-700:hover {
    background-color: #2563eb;
}

.hover\:bg-green-700:hover {
    background-color: #15803d;
}

.hover\:bg-gray-100:hover {
    background-color: #2563eb;
    transform: translateY(-1px);
}

.hover\:bg-gray-700:hover {
    background-color: #1d4ed8;
    transform: translateY(-1px);
}

.hover\:opacity-90:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Modern card animations */
.card-hover-effect {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-effect:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Enhanced Mobile Optimization */
@media (max-width: 768px) {
    /* Typography scaling */
    .text-4xl {
        font-size: 2rem;
    }
    
    .text-5xl {
        font-size: 2.25rem;
    }
    
    .text-6xl {
        font-size: 2.5rem;
    }
    
    .text-3xl {
        font-size: 1.75rem;
    }
    
    .text-2xl {
        font-size: 1.375rem;
    }
    
    .text-xl {
        font-size: 1.125rem;
    }
    
    /* Mobile form optimization */
    .max-w-2xl {
        max-width: 100%;
        margin: 0 1rem;
    }
    
    /* Mobile padding adjustments */
    .py-20 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .py-16 {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
    
    .p-8 {
        padding: 1.5rem;
    }
    
    .px-8 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .py-4 {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    /* Mobile spacing */
    .mb-32 {
        margin-bottom: 6rem;
    }
    
    .mb-16 {
        margin-bottom: 2.5rem;
    }
    
    .mb-12 {
        margin-bottom: 2rem;
    }
    
    .gap-6 {
        gap: 1rem;
    }
    
    /* Mobile grid adjustments */
    .md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
    
    /* Button improvements for mobile */
    button {
        min-height: 48px;
        font-size: 1rem;
    }
    
    /* Input improvements for mobile */
    input, select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Hero section mobile optimization */
    .lg\:grid-cols-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Enhanced Gradient Backgrounds */
.bg-gradient-to-r {
    background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

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

.from-white {
    --tw-gradient-from: #ffffff;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 255, 255, 0));
}

.to-blue-50 {
    --tw-gradient-to: #eff6ff;
}

.from-gray-50 {
    --tw-gradient-from: #f9fafb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(249, 250, 251, 0));
}

.from-blue-600 {
    --tw-gradient-from: #2563eb;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(37, 99, 235, 0));
}

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

.from-green-600 {
    --tw-gradient-from: #16a34a;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(22, 163, 74, 0));
}

.to-green-500 {
    --tw-gradient-to: #22c55e;
}

.from-green-500 {
    --tw-gradient-from: #22c55e;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(34, 197, 94, 0));
}

.to-emerald-500 {
    --tw-gradient-to: #10b981;
}

.from-green-700 {
    --tw-gradient-from: #15803d;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(21, 128, 61, 0));
}

.to-emerald-700 {
    --tw-gradient-to: #047857;
}

.from-blue-700 {
    --tw-gradient-from: #1d4ed8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(29, 78, 216, 0));
}

.to-purple-600 {
    --tw-gradient-to: #9333ea;
}

.from-blue-400 {
    --tw-gradient-from: #60a5fa;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(96, 165, 250, 0));
}

.to-purple-500 {
    --tw-gradient-to: #a855f7;
}

.to-purple-700 {
    --tw-gradient-to: #7c3aed;
}

.hover\:from-green-700:hover {
    --tw-gradient-from: #15803d;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(21, 128, 61, 0));
}

.hover\:to-green-600:hover {
    --tw-gradient-to: #16a34a;
}

.hover\:to-emerald-700:hover {
    --tw-gradient-to: #047857;
}

.hover\:from-blue-700:hover {
    --tw-gradient-from: #1d4ed8;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(29, 78, 216, 0));
}

.hover\:to-purple-700:hover {
    --tw-gradient-to: #7c3aed;
}

/* Enhanced Colors */
.text-blue-500 {
    color: #3b82f6;
}

.text-green-500 {
    color: #22c55e;
}

.text-purple-500 {
    color: #a855f7;
}

.text-orange-500 {
    color: #f97316;
}

.text-gray-800 {
    color: #1f2937;
}

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

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

.bg-purple-200 {
    background-color: #e9d5ff;
}

.bg-blue-400 {
    background-color: #60a5fa;
}

.bg-purple-400 {
    background-color: #c084fc;
}

.bg-pink-400 {
    background-color: #f472b6;
}

/* Enhanced Shadows */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.shadow-3xl {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.hover\:shadow-green-500\/50:hover {
    box-shadow: 0 20px 25px -5px rgba(34, 197, 94, 0.5), 0 10px 10px -5px rgba(34, 197, 94, 0.1);
}

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

.hover\:shadow-3xl:hover {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.group:hover .group-hover\:shadow-green-400\/50 {
    box-shadow: 0 20px 25px -5px rgba(74, 222, 128, 0.5), 0 10px 10px -5px rgba(74, 222, 128, 0.1);
}

/* Enhanced Border Radius */
.rounded-2xl {
    border-radius: 1.25rem;
}

/* Mobile-specific aesthetic improvements */
@media (max-width: 768px) {
    .rounded-2xl {
        border-radius: 1rem;
    }
    
    .rounded-xl {
        border-radius: 0.875rem;
    }
    
    .rounded-lg {
        border-radius: 0.75rem;
    }
    
    /* Better touch targets for mobile */
    button, select {
        min-height: 44px;
        min-width: 44px;
    }
    
    input[type="checkbox"] {
        min-height: 20px;
        min-width: 20px;
    }
    
    /* Improved mobile form layout */
    .mobile-form-spacing {
        margin-bottom: 1.25rem;
    }
    
    /* Enhanced mobile typography */
    body {
        font-size: 16px;
        line-height: 1.6;
    }
    
    /* Better mobile contrast */
    .text-sm {
        font-size: 0.95rem;
        font-weight: 500;
    }
}

/* Enhanced Border */
.border-gray-100 {
    border-color: #f3f4f6;
}

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

.border-white\/20 {
    border-color: rgba(255, 255, 255, 0.2);
}

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

/* Enhanced Background Utilities */
.bg-white\/95 {
    background-color: rgba(255, 255, 255, 0.98);
}

.bg-gray-50\/50 {
    background-color: rgba(249, 250, 251, 0.7);
}

/* Enhanced aesthetic improvements */
.aesthetic-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Glass morphism effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Improved text contrast for mobile */
@media (max-width: 768px) {
    .text-gray-700 {
        color: #374151;
        font-weight: 600;
    }
    
    .text-gray-600 {
        color: #4b5563;
        font-weight: 500;
    }
    
    /* Better link visibility on mobile */
    a {
        font-weight: 600;
        text-decoration: underline;
        text-decoration-thickness: 2px;
        text-underline-offset: 3px;
    }
}

/* Enhanced Blend Modes and Filters */
.mix-blend-multiply {
    mix-blend-mode: multiply;
}

.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-xl {
    --tw-blur: blur(24px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.blur-lg {
    --tw-blur: blur(16px);
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

/* Enhanced Positioning */
.absolute {
    position: absolute;
}

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

.-inset-4 {
    top: -1rem;
    right: -1rem;
    bottom: -1rem;
    left: -1rem;
}

.-top-40 {
    top: -10rem;
}

.-right-40 {
    right: -10rem;
}

.-bottom-40 {
    bottom: -10rem;
}

.-left-40 {
    left: -10rem;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.left-4 {
    left: 1rem;
}

.top-1\/2 {
    top: 50%;
}

/* Enhanced Transforms */
.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-x-2 {
    --tw-translate-x: 0.5rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:translate-x-2:hover {
    --tw-translate-x: 0.5rem;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:scale-105:hover {
    --tw-scale-x: 1.05;
    --tw-scale-y: 1.05;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Enhanced Sizing */
.w-80 {
    width: 20rem;
}

.h-80 {
    height: 20rem;
}

.w-96 {
    width: 24rem;
}

.h-96 {
    height: 24rem;
}

/* Enhanced Spacing */
.pl-12 {
    padding-left: 3rem;
}

/* Enhanced Display */
.inline-block {
    display: inline-block;
}

/* Enhanced Duration */
.duration-300 {
    transition-duration: 300ms;
}

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

/* Enhanced Overflow */
.overflow-hidden {
    overflow: hidden;
}

/* Enhanced Z-Index */
.z-10 {
    z-index: 10;
}

/* Enhanced Opacity */
.opacity-10 {
    opacity: 0.1;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-70 {
    opacity: 0.7;
}

/* Enhanced Hero Gradient Text */
.gradient-text-hero {
    background: linear-gradient(135deg, #ffffff 0%, #dbeafe 50%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #ffffff; /* Fallback for browsers that don't support bg-clip */
}

/* Enhanced Animations */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

/* Smooth fade-in animation for mobile */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-mobile {
    animation: fadeInUp 0.6s ease-out;
}

/* Micro-interactions for better UX */
@keyframes buttonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

button:active {
    animation: buttonPress 0.1s ease-in-out;
}

/* Enhanced ripple effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

.animation-delay-600 {
    animation-delay: 0.6s;
}

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

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(34, 197, 94, 0.4), 0 0 10px rgba(34, 197, 94, 0.3), 0 0 15px rgba(34, 197, 94, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.6), 0 0 30px rgba(34, 197, 94, 0.4), 0 0 40px rgba(34, 197, 94, 0.3);
    }
}

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

/* Enhanced submit button with shimmer effect */
.submit-button-glow {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

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

.submit-button-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-button-glow:hover::before {
    transform: translateX(100%) rotate(45deg);
}

.submit-button-glow:hover {
    animation-duration: 1.5s;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* Enhanced form field container */
.form-field-container {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: static;
    margin-bottom: 1.5rem;
}

.form-field-container:hover {
    transform: translateY(-2px);
}

.form-field-container:focus-within {
    transform: translateY(-2px);
}

/* Enhanced input styling */
input, select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
}

input:hover, select:hover {
    border-color: #60a5fa;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.15);
}

input:focus, select:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 8px 25px rgba(59, 130, 246, 0.15);
}

/* Enhanced label styling */
label {
    font-weight: 600;
    letter-spacing: 0.025em;
    color: #374151;
    transition: color 0.3s ease;
}

.form-field-container:focus-within label {
    color: #2563eb;
}

/* Enhanced select styling */
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
    padding-right: 2.5rem;
    position: static;
    cursor: pointer;
    transition: all 0.3s ease;
}

select:hover {
    background-color: #ffffff;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), 0 4px 12px rgba(59, 130, 246, 0.15);
    position: static;
    background-color: #ffffff;
}

/* Custom option styling for better mobile experience */
select option {
    padding: 0.75rem;
    font-size: 1rem;
    background-color: #ffffff;
    color: #374151;
}

select option:hover {
    background-color: #f3f4f6;
}

