/* Custom styles for Trust Tax & Insurance Brokerage */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fafaf9;
}

::-webkit-scrollbar-thumb {
    background: #be2049;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9f1538;
}

/* Selection color */
::selection {
    background: #fecdd3;
    color: #6e1431;
}

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Line animation */
.line-reveal {
    position: relative;
    overflow: hidden;
}

.line-reveal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #be2049, transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.line-reveal:hover::after {
    transform: translateX(100%);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #be2049, #ff7aa3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(190, 32, 73, 0.1);
}

/* Pulse animation */
@keyframes pulse-subtle {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse-subtle {
    animation: pulse-subtle 2s ease-in-out infinite;
}

/* Shimmer effect for buttons */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.shimmer:hover::before {
    left: 100%;
}
