.gradient-button {
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #021b79;
    border-radius: 4px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    box-shadow: 0 0px 0px #021b79;
    transition: background 0.6s ease;
}

.gradient-button:hover {
    /* background: linear-gradient(to right, #021b79, #45a247); */
background:  #021b79;
    color: white;
    border-color: red ;
    
}

.gradient-button .cover-effect {
    position: absolute;
    top: 50%;
    /* Start from the center vertically */
    left: 50%;
    /* Start from the center horizontally */
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #283c86;
    opacity: 0;
    transition: width 0.8s ease, height 0.8s ease, opacity 0.8s ease;
    /* Slower hover effect */
}

.gradient-button:hover .cover-effect {
    width: 200%;
    /* Expand to cover the button */
    height: 200%;
    /* Expand to cover the button */
    opacity: 0.1;
    /* Adjusted opacity to maintain text visibility */
}

/* alt button   */

.gradient-buttonalt {
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: #00c6ff;
    border-radius: 4px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); */
    box-shadow: 0 0px 0px #00c6ff;
    transition: background 0.6s ease;
}

.gradient-buttonalt:hover {
    /* background: linear-gradient(to right, #021b79, #45a247); */
    background: #00c6ff;
    color: white;
    border-color: red;

}

.gradient-buttonalt .cover-effect {
    position: absolute;
    top: 50%;
    /* Start from the center vertically */
    left: 50%;
    /* Start from the center horizontally */
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #00c6ff;
    opacity: 0;
    transition: width 0.8s ease, height 0.8s ease, opacity 0.8s ease;
    /* Slower hover effect */
}

.gradient-buttonalt:hover .cover-effect {
    width: 200%;
    /* Expand to cover the button */
    height: 200%;
    /* Expand to cover the button */
    opacity: 0.1;
    /* Adjusted opacity to maintain text visibility */
}