/* Custom Styles */
.gradient-background {
    background: linear-gradient(135deg, #1E3A8A 0%, #1E40AF 100%);
}

/* Enhanced Navigation Styles */
.nav-link {
    padding: 0.5rem 1rem;
    color: #374151;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2563EB;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #2563EB;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link.active {
    color: #2563EB;
    font-weight: 600;
}

.nav-link.active::after {
    width: 80%;
}

/* Enhanced Button Styles */
.btn-primary {
    background-image: linear-gradient(to right, #2563EB, #1D4ED8);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    background-image: linear-gradient(to right, #1D4ED8, #1E40AF);
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-secondary {
    background-color: white;
    color: #2563EB;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    border: 2px solid #2563EB;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: #EBF5FF;
    border-color: #1D4ED8;
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Enhanced Card Styles */
.card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

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

/* Mobile Menu Animation */
.mobile-menu {
    transform: translateY(0);
    transition: all 0.3s ease-in-out;
}

.mobile-menu.hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Dropdown Animation */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border-radius: 1rem;
    padding: 1rem 0;
    width: 16rem;
    border: 1px solid #F3F4F6;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 50;
}

.group:hover .dropdown-menu {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Language Selector Enhancement */
.language-selector {
    background-color: white;
    border: 2px solid #E5E7EB;
    border-radius: 0.75rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.language-selector:hover {
    border-color: #2563EB;
}

.language-selector:focus {
    outline: none;
    border-color: transparent;
    box-shadow: 0 0 0 2px #2563EB;
}

/* Animation Classes */
.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Backdrop blur fallback */
.backdrop-blur-fallback {
    background-color: rgba(255, 255, 255, 0.95);
}

@supports (backdrop-filter: blur(12px)) {
    .backdrop-blur-fallback {
        background-color: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(12px);
    }
}

/* Service Tab Styles */
.service-tab {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.service-tab.active {
    background-color: #2563EB;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.service-tab:hover:not(.active) {
    background-color: #F9FAFB;
    color: #2563EB;
}
