/* ==========================================================================
   ISC CORE SERVICES GRID - SLEEK & CLASSICAL
   ========================================================================== */

.isc-services-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* The CSS Grid Layout */
.isc-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px; /* Ample breathing room for a high-end classical feel */
    align-items: stretch;
}

/* Individual Service Cards */
.isc-service-card {
    background: #ffffff;
    border: 1px solid #eaeaea; /* Very sleek, minimal border instead of heavy shadows */
    border-radius: 4px; /* Sharp but slightly softened corners */
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* The Hover "Lift" Effect */
.isc-service-card:hover {
    transform: translateY(-8px);
    border-color: #d1d5db;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04);
}

/* Icon Aesthetics */
.isc-service-icon {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.isc-service-icon i {
    font-size: 32px;
    line-height: 1;
}

.isc-service-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

/* Typography Constraints */
.isc-service-title {
    font-family: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 15px 0;
    letter-spacing: -0.3px;
}

.isc-service-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #555555;
    margin: 0 0 25px 0;
    flex-grow: 1; /* Pushes the "Read More" link to the bottom of the card */
}

/* Classical "Read More" Link with Underline Animation */
.isc-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    align-self: flex-start;
    padding-bottom: 4px;
    transition: color 0.3s ease;
}

.isc-read-more svg {
    transition: transform 0.3s ease;
}

/* The expanding animated underline */
.isc-read-more::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    transition: width 0.3s ease;
}

.isc-service-card:hover .isc-read-more::after {
    width: 100%; /* Line completes itself when the card is hovered */
}

.isc-service-card:hover .isc-read-more svg {
    transform: translateX(4px); /* Arrow nudges forward */
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .isc-services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .isc-service-card {
        padding: 30px 20px;
    }
}