/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Rotating Animation */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Pulsing Animation */
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Shape Styles */
.shape {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Hero Section Shapes */
.hero .shape-1 {
    top: 10%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero .shape-2 {
    top: 20%;
    right: 5%;
    animation: rotate 20s linear infinite;
}

/* About Section Shapes */
.about-us .shape-3 {
    bottom: 10%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Services Section Shapes */
.our-service .shape-4 {
    top: 20%;
    right: 10%;
    animation: pulse 4s ease-in-out infinite;
}

/* Testimonial Section Shapes */
.client-testimonials .shape-5 {
    bottom: 20%;
    left: 5%;
    animation: rotate 25s linear infinite reverse;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .shape {
        display: none;
    }
    
    .hero .shape-1,
    .hero .shape-2 {
        display: block;
        width: 80px;
    }
}

/* Add this to your existing CSS or create a new animations.css file */
.shape-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.shape-overlay img {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
}

/* Add these styles to your existing CSS */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}
