﻿
/* Enhanced animations and effects */
.service-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(13, 148, 136, 0.15);
}

.nav-link {
    position: relative;
    overflow: hidden;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, #0D9488, #FBBF24);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .nav-link:hover::after {
        transform: translateX(0);
    }

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-bg {
    background: linear-gradient(135deg, #0D9488, #065F46, #FBBF24);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}
/* Parallax effect for hero */
.parallax {
    perspective: 1px;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.parallax-layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateZ(-1px) scale(2);
}
/* Wavy section dividers */
.wave-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 70 1440 320'%3E%3Cpath fill='%23F3F4F6' fill-opacity='1' d='M0,288L48,272C96,256,192,224,288,197.3C384,171,480,149,576,165.3C672,181,768,235,864,245.3C960,256,1056,224,1152,197.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

.instagram-media {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

iframe {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
/* Dropdown styles */
.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.dropdown-submenu:hover .dropdown-submenu-menu {
    display: block;
}

.dropdown-submenu-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 200px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}
/* Mobile submenu toggle */
.mobile-submenu-toggle {
    display: none;
}

@media (max-width: 767px) {
    .dropdown-menu, .dropdown-submenu-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .mobile-submenu-toggle:checked + .dropdown-menu {
        display: block;
    }
}
.activeMenuItem{
    color:dodgerblue
}
/* Additional Animation Keyframes */
@keyframes slideIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}