/* Custom Styles for Wyoming Digital */

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

/* Line clamp utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Custom focus styles */
input:focus,
button:focus,
a:focus {
    outline: none;
}

/* Animation for mobile menu */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Hover lift effect for cards */
.service-card,
.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.blog-card:hover {
    transform: translateY(-4px);
}

/* Button hover animations */
.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #2563eb;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Trust badge hover */
.trust-badge {
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form input focus animation */
input[type="text"] {
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Quick link arrow animation */
.quick-link-arrow {
    transition: transform 0.3s ease;
}

.group:hover .quick-link-arrow {
    transform: translateX(4px);
}

/* Social icon hover */
.social-icon {
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom:hover {
    transform: scale(1.05);
}

/* Stagger animation for service cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
}
