section {
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
}

.profile-heading {
    text-align: center;
    color: var(--primary-text-color);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: .5px;
    padding: 10px;
}

.profile-wrapper {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 100vh;
    width: 100%;   
}

.dashboard-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dashboard-categories a {
    background: #fff;
    border-radius: 25px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    border: 1px solid #dcdcdc;
    transition: 0.3s ease;
    width: 85%;
}

.dashboard-categories a:hover {
    background: linear-gradient(to top left, #deffde, #eeffee);
    border-color: #ceffce;
}

.dashboard-categories a img {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    padding: 10px;
    box-shadow:  0 2px 4px #ccc;
}

.saved-jobs img {
    background: #eaf2ff;
}

.recommended-jos img {
    background: #ffebe9;
}

.dashboard-categories a div {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dashboard-categories a h1 {
    font-size: 16px;
    text-transform: capitalize;
    color: var(--primary-text-color);
    font-weight: 500;
    text-align: center;
    letter-spacing: .5px;
}

.dashboard-categories a p {
    font-size: 14px;
    color: var(--secondary-text-color);
    text-align: center;
    letter-spacing: .5px;
}

@media (min-width: 680px) and (max-width: 1199px) {
    .profile-heading {
        font-size: 20px;
    }
    
    .dashboard-categories a {
        border-radius: 30px;
        gap: 15px;
        width: 80%;
    }
    
    .dashboard-categories a img {
        width: 85px;
        min-width: 85px;
        height: 85px;
    }
    
    .dashboard-categories a h1 {
        font-size: 18px;
    }
    
    .dashboard-categories a p {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .profile-heading {
        font-size: 22px;
    }
    
    .dashboard-categories a {
        border-radius: 35px;
        gap: 20px;
        width: 70%;
    }
    
    .dashboard-categories a img {
        width: 90px;
        min-width: 90px;
        height: 90px;
    }
    
    .dashboard-categories a h1 {
        font-size: 20px;
    }
    
    .dashboard-categories a p {
        font-size: 18px;
    }
}