/* ===================================================
   Service Index — No-Sidebar Navigation Cards Layout
   Extracted from Service/Index.cshtml (else branch)
=================================================== */

/* Navigation Cards Grid */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.nav-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5DD0F0 0%, #3B82F6 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.nav-card:hover::before {
    opacity: 0.05;
}

.nav-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(93, 208, 240, 0.2);
    border-color: #5DD0F0;
}

.nav-card-content {
    position: relative;
    z-index: 1;
}

.nav-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #5DD0F0 0%, #3B82F6 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.nav-card:hover .nav-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(93, 208, 240, 0.4);
}

.nav-icon i {
    font-size: 32px;
    color: white;
}

.nav-title {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.nav-card:hover .nav-title {
    color: #3B82F6;
}

.nav-description {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.nav-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3B82F6;
    font-weight: 600;
    font-size: 14px;
    transition: gap 0.3s ease;
}

.nav-card:hover .nav-arrow {
    gap: 12px;
}
