/* Enhanced Button Styles for ABC Website */

/* Base button styling */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(38, 46, 138, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

/* Add shine effect on hover */
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.75s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Hover effect with background animation */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(38, 46, 138, 0.3);
    color: white;
}

/* Active state */
.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(38, 46, 138, 0.2);
}

/* Special styling for registration buttons */
.register-service-btn {
    position: relative;
    padding-right: 30px;
    min-width: 180px;
    margin-top: 10px;
}

/* Enhanced buttons with icons */
.btn-enhanced {
    background-image: linear-gradient(135deg, var(--primary-color), #3d45a0);
    border: none;
    box-shadow: 0 4px 15px rgba(38, 46, 138, 0.3);
}

.btn-enhanced:hover {
    background-image: linear-gradient(135deg, #3d45a0, var(--primary-color));
    box-shadow: 0 6px 20px rgba(38, 46, 138, 0.4);
}

/* Icon animation */
.btn-enhanced i {
    transition: all 0.3s ease;
}

.btn-enhanced:hover i {
    transform: translateY(-2px);
}

/* Add subtle scale effect on hover */
.register-service-btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.register-service-btn:hover {
    transform: scale(1.05) translateY(-3px);
}

/* Pulse animation for the "Become a Partner" button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(38, 46, 138, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(38, 46, 138, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(38, 46, 138, 0);
    }
}

/* Special styling for the partnership button */
.register-service-btn[data-service="Partnership"] {
    background-color: #3d45a0;
    border-color: #3d45a0;
    animation: pulse 2s infinite;
    font-weight: 700;
}

.register-service-btn[data-service="Partnership"]:hover {
    background-color: #262e8a;
    border-color: #262e8a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .register-service-btn {
        padding-right: 45px;
    }
    
    .register-service-btn::after {
        right: 20px;
    }
}
