/* Feature Section Hover Animations */
.single-feature-style-one {
    transition: all 0.4s ease-in-out;
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.single-feature-style-one::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 ease-in-out;
    z-index: 1;
}

.single-feature-style-one:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.single-feature-style-one:hover::before {
    left: 100%;
}

.single-feature-style-one .icon-box {
    transition: all 0.3s ease-in-out;
    transform: scale(1);
}

.single-feature-style-one:hover .icon-box {
    transform: scale(1.1);
    animation: pulse 1.5s infinite;
}

.single-feature-style-one .icon-box i {
    transition: all 0.3s ease-in-out;
    color: #e74c3c;
}

.single-feature-style-one:hover .icon-box i {
    color: #c0392b;
    text-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}

.single-feature-style-one .text-box h3 {
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 2;
}

.single-feature-style-one:hover .text-box h3 {
    color: #e74c3c;
    transform: translateX(5px);
}

.single-feature-style-one .text-box p {
    transition: all 0.3s ease-in-out;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.single-feature-style-one:hover .text-box p {
    opacity: 1;
    transform: translateX(3px);
}

/* Pulse animation for icons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
    }
}

/* Different hover colors for each feature */
.single-feature-style-one:nth-child(1):hover .icon-box i {
    color: #3498db;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.3);
}

.single-feature-style-one:nth-child(1):hover .text-box h3 {
    color: #3498db;
}

.single-feature-style-one:nth-child(2):hover .icon-box i {
    color: #27ae60;
    text-shadow: 0 0 20px rgba(39, 174, 96, 0.3);
}

.single-feature-style-one:nth-child(2):hover .text-box h3 {
    color: #27ae60;
}

.single-feature-style-one:nth-child(3):hover .icon-box i {
    color: #f39c12;
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.3);
}

.single-feature-style-one:nth-child(3):hover .text-box h3 {
    color: #f39c12;
}

/* Stagger animation for multiple features */
.feature-style-one .col-md-4:nth-child(1) .single-feature-style-one {
    animation-delay: 0s;
}

.feature-style-one .col-md-4:nth-child(2) .single-feature-style-one {
    animation-delay: 0.1s;
}

.feature-style-one .col-md-4:nth-child(3) .single-feature-style-one {
    animation-delay: 0.2s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .single-feature-style-one:hover {
        transform: translateY(-5px);
    }
    
    .single-feature-style-one:hover .text-box h3,
    .single-feature-style-one:hover .text-box p {
        transform: translateX(0);
    }
}
