/* ============================================
   ANIMATED HERO SECTION
   ============================================ */

/* Animated Gradient Background */
.hero-animated {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #4facfe);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 20s infinite;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    left: 35%;
    animation-delay: 4s;
    animation-duration: 30s;
}

.particle:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 50%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    left: 65%;
    animation-delay: 3s;
    animation-duration: 22s;
}

.particle:nth-child(6) {
    width: 90px;
    height: 90px;
    left: 80%;
    animation-delay: 5s;
    animation-duration: 28s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Geometric Shapes Animation */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
}

.shape-1 {
    width: 200px;
    height: 200px;
    border: 3px solid white;
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation: rotate 20s linear infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    border: 3px solid white;
    top: 60%;
    left: 5%;
    animation: rotate 15s linear infinite reverse;
}

.shape-3 {
    width: 100px;
    height: 100px;
    border: 3px solid white;
    border-radius: 50%;
    bottom: 20%;
    right: 30%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

/* Content Overlay */
.hero-animated .container {
    position: relative;
    z-index: 2;
}

/* Animated Text */
.animated-text {
    animation: fadeInUp 1s ease-out;
}

.animated-text-delay-1 {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animated-text-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SERVICE CARDS ANIMATIONS
   ============================================ */

.service-card-animated {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.service-card-animated:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.service-card-animated:hover::before {
    left: 100%;
}

.service-icon-animated {
    transition: all 0.3s ease;
}

.service-card-animated:hover .service-icon-animated {
    transform: rotateY(360deg) scale(1.2);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   BUTTON ANIMATIONS
   ============================================ */

.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-animated:hover::before {
    width: 300px;
    height: 300px;
}

.btn-animated:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

.loader-animated {
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-animated .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3em;
    animation: spin 1s linear infinite, colorChange 3s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes colorChange {
    0%, 100% { border-top-color: #667eea; }
    33% { border-top-color: #764ba2; }
    66% { border-top-color: #f093fb; }
}

/* ============================================
   WAVE ANIMATION FOR SECTIONS
   ============================================ */

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

@media (max-width: 768px) {
    .hero-animated {
        min-height: 80vh;
    }
    
    .particle {
        display: none;
    }
    
    .shape {
        display: none;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Made with Bob */
