/* SureSafe Custom Styles */

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

body {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Grid pattern background */
.bg-grid-pattern {
    background-image: 
        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Smooth transitions for nav links */
.nav-link {
    transition: color 0.2s ease;
}

/* Section divider utility */
.section-divider {
    border: none;
    border-top: 2px solid #E8F4FD;
    margin: 0;
}

/* Card hover lift */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 107, 53, 0.15);
}

/* Form input focus ring */
.form-input:focus {
    outline: none;
    border-color: #FF6B35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

/* Alert messages */
.alert {
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}
.alert-success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border-left: 4px solid #4CAF82;
}
.alert-error {
    background-color: #FFEBEE;
    color: #C62828;
    border-left: 4px solid #E57373;
}

/* Hero section */
.hero-bg {
    background: linear-gradient(135deg, #FFF4E6 0%, #FFFFFF 100%);
    position: relative;
}

/* Pulse animation for stats */
@keyframes pulse-border {
    0%, 100% { border-color: #FF6B35; }
    50% { border-color: #4A90E2; }
}

.stat-badge:hover {
    animation: pulse-border 2s ease-in-out infinite;
}

/* Stat badge */
.stat-badge {
    background-color: #FFF4E6;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    border: 2px solid #FF6B35;
    transition: all 0.3s ease;
}

/* Fade in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button hover effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

/* Testimonial slider smooth transition */
#testimonialTrack {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating button pulse */
@keyframes float-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 25px 50px -12px rgba(255, 107, 53, 0.5);
    }
}

.floating-btn {
    animation: float-pulse 3s ease-in-out infinite;
}
