#services {
    padding-left: 0px!important;
    padding-right: 0px!important;
    padding-top: 13px!important;
}
.services-section {    max-width: 1100px;
    margin: 0 auto;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 32px;
}

.section-description {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns like the original 6-card grid */
    gap: 20px;
}

.service-card {
    position: relative;
    width: 100%;
    height: 333px; /* Matches typical industry card height; adjust as needed */
    overflow: hidden;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images fill the card */
}

.services-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black like industry cards */
    color: white;
    padding: 15px;
    transition: height 0.3s ease; /* Smooth expansion */
    height: 58%; /* Initial height to show title and partial text */
    overflow: hidden;
}


.services-overlay h3 {
    margin: 0 0 17px;
    font-size: 18px;
    font-weight: bold;
}

.services-overlay p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 1048px) {
    .services-overlay p {
    font-size: 12px;
    }
    .vanishmobile{display:none;}
}
@media (max-width: 828px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}