/* Credly Link Container */
.credly-link {
    display: inline-block;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
    position: relative;
}

/* Credly Logo Image */
.credly-link img {
    width: 100px;
    height: auto;
    transition: all 0.3s ease;
}

/* Hover Effects */
.credly-link:hover {
    transform: translateY(-5px);
    background-color: rgba(52, 152, 219, 0.1);
}

.credly-link:hover img {
    filter: brightness(1.1);
}

/* Active/Click Effects */
.credly-link:active {
    transform: translateY(-2px);
    background-color: rgba(52, 152, 219, 0.2);
}

.credly-link:active img {
    filter: brightness(0.95);
}

/* Tooltip */
.credly-link::after {
    content: "View Certifications";
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.credly-link:hover::after {
    opacity: 1;
}

/* Focus styles for accessibility */
.credly-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.5);
}