.custom-service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    flex: 1 1 calc(33.333% - 20px);
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
	padding:28px 0px;
}

.service-item:hover {
    transform: translateY(-5px);
}

/* Front */
.service-front {
    padding: 30px 20px;
    text-align: center;
}

.service-front .service-icon {
    width: 90px;
    height: 90px;
    margin: 10px auto;
}

.service-front .service-icon img {
    width: 100%;
    height: auto;
}

.service-front .service-title {
    font-size: 18px;
    font-weight: 600;
    margin-top:15px;
	
}

/* Hover overlay */
.service-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #160066;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-item:hover .service-hover {
    opacity: 1;
}

.service-hover-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 10px;
		color:#fff;
}
h3.service-hover-title {
    color: #fff;
	 font-size: 20px;
}
.service-hover-title:hover {
    color: #fff;
}
.service-excerpt {
    font-size: 15px;
    margin-bottom: 15px;
}

.service-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #fff;
    color: #0073e6;
    text-decoration: none;
    font-weight: 600;
    border-radius: 25px;
    transition: background 0.3s ease, color 0.3s ease;
}

.service-btn:hover {
    background: #D58E00;
    color: #fff !important;
}
.service-container
{
	max-width:1200px;
	width:100%;
	padding:50px;
	margin:auto;
}

/* Responsive */
@media(max-width: 992px) {
    .service-item { flex: 1 1 calc(50% - 20px); }
}


.service-plus-icon
{
	display:none;
}

@media(max-width: 768px) {
	 .service-item { flex: 1 1 100%; }
	.service-container
{
	max-width:768px;
	width:100%;
	padding: 30px 15px;
	margin:auto;
}
	.service-front .service-title {
    font-size: 14px;
    font-weight: 600;
    margin-top:15px;
		width:100%;
	
}
.service-front {
    padding: 7px 8px;
    text-align: center;

        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 12px;
    
}
    /* Hide hover overlay for mobile */
    .service-hover {
        display: none !important;
    }

    .service-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border: 1px solid #eee;
        box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        padding: 7px 10px;
        position: relative;
        background: #fff;
    }

    
.service-front .service-icon {
   width: 45px;
     height: 45px; 
    flex-shrink: 0;
	margin: 10px 0px;
}
    .service-icon img {
        width: 90%;
        height: auto;
    }

    .service-title {
        font-size: 16px;
        font-weight: 600;
        margin: 0;
        text-align: left;
        color: #333;
    }

    /* Plus icon styles */
    .service-plus-icon {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background-color:#1a67b0;
        color: #fff;
        font-size: 22px;
        text-decoration: none;
        transition: background 0.3s ease;
        flex-shrink: 0;
    }
	span.plus-icon {
    color: #fff;
}
    .service-plus-icon:hover {
        background-color: #005bb5;
    }
}

