/* Card container */
#helpNav {
    border-bottom: 0;
    justify-content: center;
    gap: 1.5rem;
}

/* Each tab as a card */
#helpNav .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    width: 250px;
    height: 170px;
    padding: 1.5rem 1rem 1rem;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 16px;
    color: #ddd;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

/* Icon circle */
#helpNav .nav-link .icon-featured {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #ddd;
    margin-bottom: 20px;
    font-size: 26px;
    color: #c3c4c5;
}

/* Text under the icon */
#helpNav .nav-link p {
    margin: 0;
    font-size: 18px;
    color: #c3c4c5;
    line-height: 1.3;
}

/* Hover effect */
#helpNav .nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Active card */
#helpNav .nav-link.active {
    background: #4788ff;
    border-color: #4788ff;
    color: #fff;
    box-shadow: 0 12px 24px rgba(11, 99, 255, 0.3);
}

#helpNav .nav-link.active p {
    color: #fff;
}

#helpNav .nav-link.active .icon-featured {
    border-color: #fff;
    background: #fff;
}

#helpNav .nav-link.active .icon-featured i {
    color: #4788ff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    #helpNav .nav-link {
        width: 48%;
        height: 160px;
    }
}


/* Fix the flaticon display issue */
#helpNav .box-content [class^="flaticon-"] {
    font-size: 64px;                 /* match size to FA icons */
    line-height: 1;
    display: inline-block;
    width: 64px;
    height: 64px;
    text-align: center;
    vertical-align: middle;
    color: #c3c4c5;
}

/* Optional: override any default padding/margins */
#helpNav .box-content [class^="flaticon-"]::before {
    font-size: 64px;
    vertical-align: middle;
}


#helpNav .nav-link.active .box-content [class*="flaticon-"] {
    color: #fff;
}

#helpNav .nav-link.active .box-content [class*="flaticon-"]::before {
    color: #fff;
}

