/* Custom styles for 104 Campus Drive */

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

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

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

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

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

.animate-float-delayed {
    animation: float-delayed 4.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.animate-float-delayed-2 {
    animation: float-delayed-2 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Service card hover effects */
.service-card {
    border: 1px solid transparent;
}

.service-card:hover {
    border-color: rgba(5, 150, 105, 0.1);
}

/* Testimonial card hover */
.testimonial-card {
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(5, 150, 105, 0.15);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.08);
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
}

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

::-webkit-scrollbar-track {
    background: #fefdf8;
}

::-webkit-scrollbar-thumb {
    background: #d1fae5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a7f3d0;
}

/* Selection color */
::selection {
    background: #d1fae5;
    color: #064e3b;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float,
    .animate-float-delayed,
    .animate-float-delayed-2 {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .service-card,
    .testimonial-card,
    a,
    button {
        transition: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

#mobile-menu.active {
    max-height: 400px;
    opacity: 1;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

/* Print styles */
@media print {
    nav, .animate-float, .animate-float-delayed, .animate-float-delayed-2 {
        display: none;
    }
}
