/* Container */
.nd-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* Card Base */
.nd-service-card {
    background-color: #E6EFFF;
    /* Gray background */
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nd-service-card:hover {
    transform: translateY(-5px);
    background-color: #355fb8;
    /* Blue on hover */
    box-shadow: 0 10px 30px rgba(53, 95, 184, 0.3);
}

/* Featured Card - Now behaves the same as regular cards */
.nd-service-card.nd-service-featured {
    background-color: #f5f5f5;
    /* Same gray as regular cards */
    /* transform: scale(1.05);  Removed per user request */
}

/* Image */
.nd-service-image {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 25px;
    height: 200px;
    flex-shrink: 0;
}

.nd-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Service Content Wrapper */
.nd-service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Occupy remaining space */
}

/* Title */
.nd-service-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #172748;
    font-family: "Outfit", sans-serif;
    transition: color 0.3s ease;
}

.nd-service-card:hover .nd-service-title {
    color: #fff;
}

/* Featured cards now behave the same */
.nd-service-featured .nd-service-title {
    color: #172748;
    /* Same as regular cards */
}

/* Features List */
.nd-service-features {
    flex-grow: 1;
    /* Push button down */
    margin-bottom: 30px;
}

.nd-service-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nd-service-features li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #556b8d;
    transition: color 0.3s ease;
}

.nd-service-card:hover .nd-service-features li {
    color: #e0e7ff;
}

/* Featured cards now behave the same */
.nd-service-featured .nd-service-features li {
    color: #556b8d;
    /* Same as regular cards */
}

/* Custom Bullet Icon */
.nd-service-features li::before {
    content: '•';
    /* Simple bullet point */
    font-family: inherit;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 1px;
    color: #355fb8;
    /* Blue bullet to match brand */
    font-size: 16px;
    line-height: 1;
}

.nd-service-card:hover .nd-service-features li::before {
    color: #fff;
    /* White bullet on hover */
}

/* Button */
.nd-service-footer {
    text-align: center;
}

.nd-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #355fb8;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.nd-service-card:hover .nd-service-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.nd-service-card:hover .nd-service-btn:hover {
    background-color: #fff;
    color: #355fb8;
}

.nd-service-btn i {
    margin-left: 8px;
    font-size: 12px;
}

/* Featured cards now have same button style as regular cards */
.nd-service-featured .nd-service-btn {
    background-color: #355fb8;
    border: none;
    color: #fff;
}

.nd-service-featured .nd-service-btn:hover {
    background-color: #2b4ea1;
    color: #fff;
}