/* 
* Services Section Styles
*/

.services {
    background-color: #fff;
}

.services-container {
    margin-top: 4rem;
}

.service-card {
    background-color: #fff;
    border-radius: 0.8rem;
    padding: 3rem 2.5rem;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0.5rem;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.service-card:hover::before {
    height: 0.8rem;
}

.service-icon {
    width: 7rem;
    height: 7rem;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-description {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features li {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.service-features li i {
    color: var(--secondary-color);
    margin-right: 1rem;
    font-size: 1.6rem;
}

.service-link {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link i {
    margin-left: 0.8rem;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Media Queries */
@media (max-width: 992px) {
    .services-container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .service-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .service-icon {
        width: 6rem;
        height: 6rem;
    }
    
    .service-icon i {
        font-size: 2.5rem;
    }
}
