/* From Uiverse.io by gharsh11032000 */
.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 24px;
    z-index: 1;
    position: relative;
    margin: 20px auto;
}

.contact-card {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 24px;
    line-height: 1.6;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 30px auto;
}

.contact-card-content {
    text-align: center;
    gap: 24px;
    padding: 36px;
    border-radius: 22px;
    color: #ffffff;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, #054588, #023266);
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
    height: 310px;
    width: 320px;  
}

.contact-card-content::before {
    position: absolute;
    content: "";
    top: -4%;
    left: 50%;
    width: 90%;
    height: 90%;
    transform: translate(-50%);
    background: radial-gradient(circle at 50% 0%, #6fa3db, #acd4ff);
    box-shadow: inset 0 0 30px 0 rgba(120, 183, 241, 0.2);
    z-index: -1;
    transform-origin: bottom;
    border-radius: inherit;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-card-content::after {
    position: absolute;
    content: "";
    top: -8%;
    left: 50%;
    width: 80%;
    height: 80%;
    transform: translate(-50%);
    background: #e7ecff;
    z-index: -2;
    transform-origin: bottom;
    border-radius: inherit;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}


.contact-card-content .para {
    z-index: 1;
    opacity: 1;
    font-size: 18px;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-card-link, .contact-card-link:visited, .contact-card-link:link {
    z-index: 1;
    color: var(--color-hover) !important;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-card-link:hover {
    color: #fff !important;
    text-shadow: 0 0 3px #fff;
}

.contact-card:hover {
    transform: translate(0px, -16px);
    z-index: 10;
}

.contact-card:hover .contact-card-content::before {
    rotate: -8deg;
    top: 0;
    width: 100%;
    height: 100%;
}

.contact-card:hover .contact-card-content::after {
    rotate: 8deg;
    top: 0;
    width: 100%;
    height: 100%;
}
.contact-card-title{
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 1.8rem;
    height: 2.4rem;
}
.contact-card-icon {
    width: 48px;
    height: 48px;
    color: #fff;
    display: block;
    margin: 0 auto 20px auto;
}