.services-grid-section {
    background-color: #0b0b0b;
    color: #fff;
}

.services-grid-section .container {
    max-width: 1350px;
}

.service-card {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    height: 100%;
    transition: all 0.4s ease;
    overflow: visible; 
    cursor: pointer;
    background-color: #1a1a1a;
    background-image: linear-gradient(#e9e7e7, #868788);
    background-size: 100% 0%;
    background-repeat: no-repeat;
    background-position: center; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
    margin-top: 0; 
    border-top-right-radius: 0; 
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px; 
    right: -2px;
    width: 60px;
    height: 50px;
    background-color: #0b0b0b; 
    border-bottom-left-radius: 30px; 
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1; 
}

.service-card:hover {
    background-size: 100% 100%;
    color: #000;
    border-color: #e9e7e7, #868788;
}

.service-card:hover .card-id {
    background: transparent;
    color: #fff;
    border: none;
    opacity: 1;
}

.service-card:hover::after {
    border-left: 1px solid #e9e7e7, #868788;
    border-bottom: 1px solid #e9e7e7, #868788;
}

.service-card:hover .icon {
    background: #fff;
    color: #e9e7e7, #868788;
    transform: rotateY(360deg);
}

.service-card:hover p {
    opacity: 1;
    color: #222; 
}
.service-card:hover .card-id {
    color: #fff; 
    opacity: 1;
}
.card-id {
    position: absolute;
    top: 8px;
    right: 12px;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    border-radius: 0;
    
    display: block;
    
    font-size: 20px; 
    font-weight: 500;
    opacity: 0.5; 
    z-index: 5; 
    color: #fff;
    transition: all 0.4s ease;
    padding: 0;
}

.card-id::before, .card-id::after {
    display: none;
    content: none;
}

.service-card .icon-wrapper, .item-box .icon-wrapper {
    margin-bottom: 30px;
}

.service-card .icon, .item-box .icon {
    width: 75px;
    height: 75px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px; 
    color: #14CF83;
    transition: all 0.6s ease;
    transform-style: preserve-3d;
    backface-visibility: visible;
}



.service-card .icon svg {
    width: 100%;
    height: 100%;
}

.service-card h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.service-card p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}



.service-card .learn-more, .item-box .learn-more {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.learn-more i {
    margin-left: 10px;
}

.service-card:hover {
    transform: translateY(-10px);
}
