/* Custom Styles */

* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navigation Active State */
.nav-link.active {
    color: #0066CC;
    font-weight: 600;
}

/* Smooth Scroll Offset for Fixed Navbar */
section {
    scroll-margin-top: 80px;
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width:  10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #0066CC;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0052a3;
}

/* Form Focus States */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #0066CC;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Button Hover Effects */
button,
a.btn {
    position: relative;
    overflow: hidden;
}

button::before,
a.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

button:hover::before,
a.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Image Hover Effects */
.image-hover-zoom {
    overflow: hidden;
}

.image-hover-zoom img {
    transition: transform 0.5s ease;
}

.image-hover-zoom:hover img {
    transform: scale(1.1);
}

/* Loading Animation for Form */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin:  -10px 0 0 -10px;
    border:  2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation:  spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Hero Section Custom Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.delay-1000 {
    animation-delay:  1s;
}

/* Glassmorphism effect */
.backdrop-blur-sm {
    backdrop-filter:  blur(8px);
}

.backdrop-blur-md {
    backdrop-filter: blur(12px);
}

/* Pulse animation for icons */
@keyframes pulse-slow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation:  pulse-slow 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Border animation */
@keyframes border-pulse {
    0%, 100% {
        border-color: rgba(255, 255, 255, 0.3);
    }
    50% {
        border-color: rgba(255, 255, 255, 0.6);
    }
}

.border-animate {
    animation: border-pulse 2s ease-in-out infinite;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .text-5xl {
        font-size:  2.5rem;
    }
    
    .text-7xl {
        font-size:  3rem;
    }
}

/* Print Styles */
@media print {
    nav,
    footer,
    #scroll-top {
        display:  none;
    }
}