/* Home Page Specific CSS */

/* ========================================
   Hero Section Animations
   ======================================== */
.hero-title {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Floating Background Elements
   ======================================== */
.floating-element {
    position: absolute;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(5, 150, 105, 0.1));
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-3 {
    width: 80px;
    height: 80px;
    bottom: 20%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* ========================================
   Solution Cards Hover Effects
   ======================================== */
.solution-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.solution-card:hover {
    transform: translateY(-5px);
    border-color: #10B981;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.solution-card:hover .fa-chart-line,
.solution-card:hover .fa-brain,
.solution-card:hover .fa-microchip,
.solution-card:hover .fa-eye {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* ========================================
   Statistics Animation
   ======================================== */
.stat-value {
    transition: all 0.3s ease;
}

.stat-value.counting {
    color: #10B981;
    transform: scale(1.1);
}

/* ========================================
   Responsive Design Enhancements (Home)
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .floating-element {
        display: none;
    }

    .solution-card {
        margin-bottom: 1rem;
    }
}

/* ========================================
   Loading Animation
   ======================================== */
.loading {
    opacity: 0;
    animation: loadIn 0.8s ease-out forwards;
}

@keyframes loadIn {
    to {
        opacity: 1;
    }
}

/* ========================================
   Intersection Observer Animations
   ======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
