/* Services Section Styling */
.services {
    position: relative;
    padding: 80px 5%;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    text-align: center;
    overflow: hidden;
}

.services .particles-container {
    z-index: 1;
    pointer-events: none;
}

.services .footer-services {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    z-index: 10;
}

.services .footer-services h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.services .footer-services h3:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--accent-orange);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.services .footer-services ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.services .footer-services ul li {
    flex: 1 1 220px;
    max-width: 280px;
    margin-bottom: 15px;
    position: relative;
    transition: all 0.3s ease;
}

.services .footer-services ul li:hover {
    transform: translateY(-10px);
}

.service-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
    pointer-events: none;
}

.service-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.services .footer-services ul li:hover .service-title {
    opacity: 1;
    transform: translateY(0);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.services .footer-services ul li:hover .service-image img {
    transform: scale(1.1);
}

.services .footer-services ul li a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.services .footer-services ul li a i {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--accent-orange);
    transition: all 0.3s ease;
}

.services .footer-services ul li a:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.services .footer-services ul li a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}

.services .footer-services ul li a:hover i {
    transform: scale(1.2);
    color: white;
}

.services .footer-services ul li a:hover:before {
    transform: translateX(0);
}

.services .footer-services ul li a:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .services {
        padding: 60px 5%;
    }
    
    .services .footer-services {
        padding: 20px;
    }
    
    .services .footer-services ul {
        flex-direction: column;
        align-items: center;
    }
    
    .services .footer-services ul li {
        width: 100%;
        max-width: 100%;
    }
}
