/* Social Icons Animation Styles */
.hero-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-social .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-social .social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.hero-social .social-icon:hover {
    color: #fff;
    transform: translateY(-5px);
}

.hero-social .social-icon:hover:before {
    transform: translateY(0);
}

/* Sliding animation for blocks below introduction */
.service-item {
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
}

.service-item.visible {
    transform: translateY(0);
    opacity: 1;
}

.service-item:nth-child(1) {
    transition-delay: 0.1s;
}

.service-item:nth-child(2) {
    transition-delay: 0.2s;
}

.service-item:nth-child(3) {
    transition-delay: 0.3s;
}

.service-item:nth-child(4) {
    transition-delay: 0.4s;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.service-item:hover:before {
    width: 100%;
}

.service-icon {
    position: relative;
    overflow: hidden;
}

.service-icon img {
    transition: transform 0.5s ease;
}

.service-item:hover .service-icon img {
    transform: scale(1.1) rotate(5deg);
}
