/* ===== Services Section ===== */
.services {
    position: relative;
    overflow: hidden;
}

.bg-light {
    background-color: #f9fafc;
}

.section-padding {
    padding: 6rem 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-subtitle {
    display: inline-block;
    color: #007bff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    position: relative;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #007bff;
    margin: 0.5rem auto 0;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.section-description {
    color: #6c757d;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #007bff, #00c6ff);
    transition: height 0.3s ease;
}

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

.service-card:hover::before {
    height: 8px;
}

.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.8rem;
}

.service-icon i {
    font-size: 2.2rem;
    color: #007bff;
    position: relative;
    z-index: 2;
}

.service-icon .icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    top: 0;
    left: 0;
    z-index: 1;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.service-card:hover .icon-bg {
    transform: scale(1);
}

.service-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

.service-card p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
}

.service-features i {
    color: #007bff;
    font-size: 0.9rem;
    margin-right: 0.8rem;
    margin-top: 0.2rem;
}

.service-features span {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

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

.service-link:hover {
    color: #0056b3;
    border-bottom-color: rgba(0, 123, 255, 0.3);
}

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

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
    .section-padding {
        padding: 5rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}