/* Professional Government Court Website Styles */

/* Custom Colors */
:root {
    --primary-red: #dc2626;
    --primary-blue: #2563eb;
    --primary-yellow: #eab308;
    --primary-brown: #92400e;
    --dark-brown: #451a03;
    --light-blue: #dbeafe;
}

/* Header Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Navbar Hover Effects */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

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

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

/* Dropdown Animations */
.dropdown-menu {
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.group:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu Animation */
.mobile-menu-enter {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.mobile-menu-enter.show {
    max-height: 500px;
}

/* Court Seal/Badge Effect */
.court-seal {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-blue));
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .court-title-hindi {
        font-size: 1.25rem;
    }
    .court-title-english {
        font-size: 1.125rem;
    }
}

/* Government Badge Style */
.gov-badge {
    background: linear-gradient(45deg, var(--primary-brown), var(--dark-brown));
    border: 2px solid var(--primary-yellow);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Navigation Active State */
.nav-active {
    background-color: rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid var(--primary-yellow);
}

/* Professional Shadow Effects */
.professional-shadow {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.professional-shadow-lg {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Emergency Contact Styling */
.emergency-contact {
    background: linear-gradient(90deg, var(--primary-red), #ef4444);
    border-left: 4px solid var(--primary-yellow);
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .header-animate,
    .nav-link,
    .dropdown-menu,
    .mobile-menu-enter {
        animation: none;
        transition: none;
    }
}

/* Focus States for Accessibility */
.nav-link:focus,
button:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

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