.services-section {
    padding: 80px 0;
    background: #fff;
}

.services-container {
    width: 100%;
    margin: 0 auto;
}

.services-intro {
    padding: 0 20px 40px;
}

.services-intro h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
}

/* --- CONNECTED GRID SYSTEM --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0; /* Boxes ko apas mein mila diya */
    border-top: 1px solid #eee;
    border-left: 1px solid #eee;
    
}

.services-grid a{
    text-decoration: none;
}

.service-card {
    position: relative;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

/* --- WAVE FILL EFFECT --- */
.card-bg {
    position: absolute;
    bottom: -100%; /* Shuru mein neeche hoga */
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
}

.service-card:hover .card-bg {
    bottom: 0; /* Neeche se upar aayega */
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: 0.4s;
}

.s-icon {
    width: 32px;
    height: 32px;
    color: #000;
    margin-bottom: 12px;
    transition: 0.4s;
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
    transition: 0.4s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

/* --- HOVER TEXT/ICON COLOR --- */
.service-card:hover .s-icon,
.service-card:hover h3 {
    color: #fff;
    transform: scale(1.1);
}

/* --- MOBILE VIEW 2/2 GRID --- */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* Mobile par 2 columns */
    }
    .service-card {
        height: 160px;
    }
    .services-intro h2 {
        font-size: 2rem;
    }
}









/*hoverrrrrrrrr effect*/

 
#s-web:hover .s-icon,
#s-web:hover h3 {
    color: #0070f3;
 }

 #s-app:hover .s-icon,
#s-app:hover h3 {
    color: #7d33ff;
 }

 #s-pms:hover .s-icon,
#s-pms:hover h3 {
    color: #2e5bff;
 }

 #s-crm:hover .s-icon,
#s-crm:hover h3 {
    color: #00ff9d;
 }

 #s-meta:hover .s-icon,
#s-meta:hover h3 {
    color: #e1306c;
 }

 #s-ecom:hover .s-icon,
#s-ecom:hover h3 {
    color: #f97316;
 }

 #s-ppt:hover .s-icon,
#s-ppt:hover h3 {
    color: #8a2be2;
 }

 #s-smm:hover .s-icon,
#s-smm:hover h3 {
    color: #ff0050;
 }

 