/* Modern Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0466c8;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-gradient {
    background: linear-gradient(135deg, #0466c8 0%, #023e7d 100%);
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(4, 102, 200, 0.3);
}

/* Glass Navigation Effect */
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Hero Section Styling */
.hero-gradient {
    background: linear-gradient(135deg, #023e7d 0%, #0466c8 50%, #0353a4 100%);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Animation Classes */
.animate-scale-in {
    animation: scaleIn 0.5s ease-out forwards;
}

.animate-scale-in-delay {
    animation: scaleIn 0.5s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-scale-in-delay-2 {
    animation: scaleIn 0.5s ease-out 0.4s forwards;
    opacity: 0;
}

.animate-slide-left {
    animation: slideLeft 0.6s ease-out forwards;
    opacity: 0;
}

.animate-slide-right {
    animation: slideRight 0.6s ease-out forwards;
    opacity: 0;
}

.animate-bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Modern Footer Animation */
.footer-animation {
    position: relative;
    width: 100%;
    height: 120px;
    margin-bottom: -1px;
    overflow: hidden;
    background: linear-gradient(135deg, #023e7d 0%, #0466c8 50%, #0353a4 100%);
}

.footer-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 75%, 
        transparent 100%);
    animation: footerShine 3s ease-in-out infinite;
}

.footer-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        #0466c8 0%, 
        #87c2fd 25%, 
        #0466c8 50%, 
        #87c2fd 75%, 
        #0466c8 100%);
    animation: footerGlow 3s ease-in-out infinite;
}

@keyframes footerShine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: -100%;
    }
}

@keyframes footerGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

/* Footer toggle effect */
.footer-toggle {
    animation: footerPulse 3s ease-in-out infinite;
}

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

/* Rain Effect */
.rain-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.rain-drop {
    position: absolute;
    top: -10px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    width: 2px;
    height: 15px;
    border-radius: 0 0 100% 100%;
    animation: rain-fall linear infinite;
}

@keyframes rain-fall {
    to {
        transform: translateY(calc(100vh + 20px));
    }
}

/* Generate multiple rain drops */
.rain-container::before,
.rain-container::after {
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.6));
    border-radius: 0 0 100% 100%;
    animation: rain-fall linear infinite;
}

.rain-container::before {
    left: 10%;
    animation-duration: 1.5s;
    animation-delay: 0.2s;
}

.rain-container::after {
    left: 30%;
    animation-duration: 1.8s;
    animation-delay: 0.5s;
}

/* Additional rain drops */
.rain-container .drop1,
.rain-container .drop2,
.rain-container .drop3,
.rain-container .drop4,
.rain-container .drop5,
.rain-container .drop6,
.rain-container .drop7,
.rain-container .drop8 {
    position: absolute;
    top: -10px;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.7));
    border-radius: 0 0 100% 100%;
    animation: rain-fall linear infinite;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

.rain-container .drop1 { left: 15%; animation-duration: 1.2s; animation-delay: 0.1s; }
.rain-container .drop2 { left: 25%; animation-duration: 1.4s; animation-delay: 0.3s; }
.rain-container .drop3 { left: 35%; animation-duration: 1.1s; animation-delay: 0.5s; }
.rain-container .drop4 { left: 50%; animation-duration: 1.6s; animation-delay: 0.7s; }
.rain-container .drop5 { left: 65%; animation-duration: 1.3s; animation-delay: 0.9s; }
.rain-container .drop6 { left: 75%; animation-duration: 1.5s; animation-delay: 1.1s; }
.rain-container .drop7 { left: 85%; animation-duration: 1.2s; animation-delay: 1.3s; }
.rain-container .drop8 { left: 95%; animation-duration: 1.4s; animation-delay: 1.5s; }

/* Premium Shadows */
.shadow-premium {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

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

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Marquee Animation */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marquee-content {
    display: flex;
    gap: 24px;
    animation: marquee-scroll 30s linear infinite;
    width: fit-content;
}

.marquee-item {
    flex: 0 0 auto;
    width: 350px;
    min-width: 350px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .marquee-item {
        width: 300px;
        min-width: 300px;
    }
}

@media (max-width: 640px) {
    .marquee-item {
        width: 280px;
        min-width: 280px;
    }
}

/* Premium Hero Animations */
@keyframes animate-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: animate-gradient 15s ease infinite;
}

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

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

@keyframes animate-shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.animate-shimmer {
    background-size: 200% auto;
    animation: animate-shimmer 3s linear infinite;
}
