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

@keyframes float1 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 30px) rotate(5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-15px, 25px) rotate(-3deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float3 {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -20px) rotate(7deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Apply Animations */
.animate-fadeIn {
    animation: fadeIn 1s ease-out forwards;
}

.animate-float1 {
    animation: float1 10s ease-in-out infinite;
}

.animate-float2 {
    animation: float2 12s ease-in-out infinite;
    animation-delay: 2s;
}

.animate-float3 {
    animation: float3 14s ease-in-out infinite;
    animation-delay: 1s;
}

/* Custom Fonts */
.font-sans {
    font-family: 'Poppins', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* Project Card Hover Effect */
.project-card {
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

/* Testimonial Slider */
.testimonial-slider {
    min-height: 350px;
}

.testimonial {
    transition: all 0.5s ease;
}

.testimonial.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .team-section .member {
        margin-bottom: 2rem;
    }
}

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

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

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

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

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