@property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
}

.cc-contact-us {
    position: relative;
    overflow: visible;
}

.cc-contact-us::after,
.cc-contact-us::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    padding: 3px;
    border-radius: 4px;
    background-image: conic-gradient(
        from var(--angle),
        #5fbbea,
        #2673b1,
        #5fbbea,
        #042038,
        #5fbbea
    );
    animation: 3s spin linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cc-contact-us::before {
    filter: blur(1.5rem);
    padding: 5px;
}

.cc-contact-us::after {
    filter: blur(0.3rem);
}

.cc-contact-us:hover::after,
.cc-contact-us:hover::before {
    opacity: 1;
}

@keyframes spin {
    from {
        --angle: 0deg;
    }
    to {
        --angle: 360deg;
    }
}

/* Enhanced button styling */
.cc-contact-us {
    box-shadow: 0 4px 15px rgba(38, 115, 177, 0.2);
    transition: all 0.3s ease;
}

.cc-contact-us:hover {
    box-shadow: 0 6px 25px rgba(38, 115, 177, 0.4);
    transform: translateY(-2px);
}
