/* Custom styles */
.nav-link {
    @apply text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary transition-colors font-medium;
}

.mobile-nav-link {
    @apply block px-3 py-2 text-gray-700 dark:text-gray-300 hover:text-primary dark:hover:text-primary hover:bg-gray-100 dark:hover:bg-gray-800 rounded-lg transition-colors;
}

.section-title {
    @apply text-3xl md:text-4xl font-bold text-center text-gray-900 dark:text-white mb-12;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.card {
    @apply bg-white/70 dark:bg-gray-800/70 backdrop-blur-xl rounded-3xl p-8 shadow-xl hover:shadow-2xl transition-all duration-500 border border-white/20 dark:border-gray-700/50 hover:scale-105 hover:-translate-y-2;
    background: linear-gradient(145deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

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

.card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255,255,255,0.1);
}

.card-icon {
    @apply w-20 h-20 rounded-3xl flex items-center justify-center mb-6 relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.card-title {
    @apply text-xl font-bold text-gray-900 dark:text-white mb-3;
    letter-spacing: -0.025em;
}

.card-description {
    @apply text-gray-600 dark:text-gray-300 mb-6 flex-1 leading-relaxed;
}

.card-link {
    @apply inline-flex items-center space-x-2 font-semibold transition-all duration-300 group-hover:translate-x-2 px-4 py-2 rounded-xl;
    background: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.card-link:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transform: translateY(-1px);
}

.carousel-indicator.active {
    @apply bg-white;
    box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

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

/* Enhanced background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    @apply bg-gray-100/50 dark:bg-gray-800/50;
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb {
    @apply bg-gray-400/70 dark:bg-gray-600/70 rounded-full;
    backdrop-filter: blur(10px);
}

::-webkit-scrollbar-thumb:hover {
    @apply bg-gray-500/80 dark:bg-gray-500/80;
}

/* Enhanced animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* Enhanced stagger animation delays */
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.15s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.25s; }
.card:nth-child(5) { animation-delay: 0.3s; }
.card:nth-child(6) { animation-delay: 0.35s; }

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

/* Floating elements animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* Enhanced hero section */
.hero-slide {
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.hero-slide > div {
    position: relative;
    z-index: 2;
}

/* Glassmorphism navigation */
nav {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.dark nav {
    background: rgba(17, 24, 39, 0.8) !important;
    border-bottom: 1px solid rgba(75, 85, 99, 0.2);
}

/* Enhanced button styles */
button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover {
    transform: translateY(-1px);
}

/* Premium footer */
footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    position: relative;
}

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