/* Global Styles */

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

/* Typography adjustments */
body {
    line-height: 1.6;
}

/* Custom utility classes */
.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

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

.btn-hover-effect:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Logo styling */
.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: #0056b3;
}

/* Mobile menu animations */
.mobile-menu-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 200ms, transform 200ms;
}

.mobile-menu-exit {
    opacity: 1;
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 150ms, transform 150ms;
}

/* Service icons */
.service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 86, 179, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Testimonial card */
.testimonial-card {
    border-left: 4px solid #0056b3;
}

/* Contact form styling */
.form-input:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

/* Custom section padding */
.section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Hero section specific styling */
.hero-height {
    min-height: 500px;
}

@media (min-width: 768px) {
    .hero-height {
        min-height: 600px;
    }
}

/* Call Now button pulsating effect */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.pulse-button {
    animation: pulse 2s infinite;
}

/* Blog post styles */
.blog-post img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* Footer link hover effect */
.footer-link {
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: underline;
}

/* Fix for services dropdown */
.group .absolute {
    padding-top: 0.5rem;
}

/* Enhanced dropdown behavior */
.group:hover .group-hover\:block,
.group-hover\:block:hover {
    display: block !important;
}

/* Improved dropdown padding */
.dropdown-menu {
    padding-top: 10px;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0;
    transform: translateY(-5px);
    pointer-events: none;
}

/* Show dropdown with transition */
.group:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Create a larger hitbox for the dropdown */
.group::after {
    content: '';
    position: absolute;
    height: 15px;
    width: 100%;
    bottom: -15px;
    left: 0;
    z-index: 10;
}

/* Additional padding around menu items for easier selection */
.dropdown-menu a {
    padding: 12px 16px;
    transition: background-color 0.2s ease;
}

/* Add a delay before hiding to make it less sensitive to mouse movements */
.dropdown-menu {
    transition-delay: 0.1s;
}

.group:hover .dropdown-menu {
    transition-delay: 0s;
}