/* Base Styles */
.font-serif { font-family: 'Montserrat', sans-serif; }
.font-sans { font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body { 
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}
html {
    overflow-x: hidden;
}
.smooth-scroll { scroll-behavior: smooth; }

/* Professional color palette */
.primary-accent { color: #0f2557; }
.primary-bg { background-color: #0f2557; }
.primary-border { border-color: #0f2557; }

.secondary-accent { color: #eab308; }
.secondary-bg { background-color: #eab308; }
.secondary-border { border-color: #eab308; }

.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.1); }

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}
.card-hover:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Section Divider */
.section-divider {
    background: linear-gradient(90deg, transparent, #0f2557, transparent);
    height: 1px;
}

/* Professional elements */
.law-divider {
    position: relative;
    height: 2px;
    background-color: #0f2557;
    width: 60px;
}

.law-divider::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: white;
    padding: 0 10px;
    color: #0f2557;
    font-size: 18px;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 50;
    margin-top: 0.5rem;
}

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

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f3f4f6;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f9fafb;
    color: #0f2557;
    padding-left: 1.25rem;
}

/* Animation styles */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Hero background with gradient overlay */
.hero-bg {
    background-image: 
        linear-gradient(135deg, rgba(7, 19, 43, 0.95) 0%, rgba(15, 37, 87, 0.9) 50%, rgba(7, 19, 43, 0.98) 100%),
        url('https://images.unsplash.com/photo-1436450412740-6b988f486c6b?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&q=80&w=1170');
    background-size: cover;
    background-position: center;
}

/* Mobile Menu Fix - Prevent horizontal overflow */
#mobile-menu {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Ensure container doesn't cause overflow */
.container {
    max-width: 100%;
}
