:root {
    --primary-color: #6db4e8;
    --primary-hover: #5ba3d6;
    --text-dark: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --border-light: #e9ecef;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

.hero-section {
    padding: 0 0 60px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1rem;
    position: relative;
    overflow: hidden;
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1200&h=600&fit=crop&crop=center');
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    min-height: 400px;
}

    .hero-container::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, rgba(21, 101, 192, 0.98) 0%, rgba(21, 101, 192, 0.85) 40%, rgba(21, 101, 192, 0.6) 70%, rgba(21, 101, 192, 0.3) 100%);
        z-index: 1;
    }

    .hero-container > .row {
        position: relative;
        z-index: 2;
    }

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-container {
        max-width: 100%;
        padding: 0;
        border-radius: 0 !important;
        margin: 0;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding-left: 0;
        padding-right: 0;
    }

    .hero-container {
        max-width: 100%;
        padding: 0;
        border-radius: 0 !important;
        margin: 0;
        min-height: auto;
    }

        .hero-container .row {
            text-align: center;
            padding: 0 !important;
        }

        .hero-container h1 {
            font-size: 1.75rem !important;
            line-height: 1.3;
            margin-bottom: 0.5rem !important;
        }

    .search-card {
        margin-top: 0.5rem;
    }

        .search-card h5 {
            margin-bottom: 1rem !important;
        }

    .content-block {
        padding: 0.75rem !important;
        font-size: 0.85rem;
        height: 90px;
        display: flex;
        align-items: center;
    }

        .content-block h6 {
            font-size: 0.85rem !important;
            margin-bottom: 0.25rem !important;
        }

        .content-block small {
            font-size: 0.75rem !important;
        }

        .content-block i {
            font-size: 1rem !important;
        }

    .tools-section .col-lg-6:first-child {
        margin-bottom: 1rem;
    }
}

.navbar {
    background-color: white !important;
    box-shadow: none !important;
    border-bottom: none;
    transition: all 0.3s ease;
    padding: 0 !important;
    height: 80px !important;
    min-height: 80px !important;
}

    .navbar .container {
        height: 80px !important;
        display: flex !important;
        align-items: center !important;
    }

/* Override any Bootstrap navbar shadows */
.navbar-light {
    box-shadow: none !important;
}

/* Add shadow when scrolled */
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Navbar links styling */
.navbar-nav .nav-link {
    color: #374151 !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: #6db4e8 !important;
        background-color: #f8f9fa;
    }

    .navbar-nav .nav-link.active {
        color: #6db4e8 !important;
    }

/* Dropdown styling */
.dropdown-menu {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.2s ease;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #6db4e8;
    }

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    color: var(--primary-color) !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: var(--primary-color) !important;
    }

.btn {
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: #1976d2;
    border-color: #1976d2;
}

    .btn-primary:hover {
        background-color: #1565c0;
        border-color: #1565c0;
        transform: translateY(-1px);
    }

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

    .btn-outline-primary:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: white;
    }

.card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: white;
}

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }

.form-control, .form-select {
    border-radius: 8px;
    border: 1px solid var(--border-light);
    padding: 0.75rem 1rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

    .form-control:focus, .form-select:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(109, 180, 232, 0.25);
    }

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
}

.display-4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.display-5 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-dark);
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.stats-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.stats-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

footer {
    background-color: var(--text-dark) !important;
}

.section-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Auth Modal Styles */
.divider {
    position: relative;
    text-align: center;
}

    .divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #dee2e6;
    }

    .divider span {
        background: white;
        padding: 0 1rem;
        color: #6c757d;
        font-size: 0.875rem;
    }

.input-group-text {
    background: white;
    border-right: none;
}

.input-group .form-control {
    border-left: none;
}

    .input-group .form-control:focus {
        border-left: none;
        box-shadow: none;
    }

.input-group:focus-within .input-group-text {
    border-color: #86b7fe;
}

.social-login-btn {
    border: 1px solid #dee2e6;
    color: #495057;
    padding: 0.875rem 1rem;
    transition: all 0.2s ease;
    font-weight: 500;
}

    .social-login-btn:hover {
        background-color: #f8f9fa;
        transform: translateY(-1px);
    }

    .social-login-btn .fab.fa-google {
        color: #4285f4;
    }

.btn-dark {
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
}

.auth-form .btn-dark {
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
}

.auth-form .btn-dark {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.search-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

    .icon-circle.blue {
        background-color: rgba(109, 180, 232, 0.1);
    }

    .icon-circle.light-blue {
        background-color: rgba(109, 180, 232, 0.15);
    }

    .icon-circle.green {
        background-color: rgba(25, 135, 84, 0.1);
    }

    .icon-circle.purple {
        background-color: rgba(102, 16, 242, 0.1);
    }

/* Modern Icon Styling */
.modern-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    font-weight: 500;
}

    .modern-icon.blue-bg {
        background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    }

    .modern-icon.green-bg {
        background: linear-gradient(135deg, #10b981, #059669);
    }

    .modern-icon.purple-bg {
        background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    }

    .modern-icon.orange-bg {
        background: linear-gradient(135deg, #f59e0b, #d97706);
    }

.simple-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

    .simple-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

.content-block {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
    height: 110px;
    display: flex;
    align-items: center;
}

    .content-block h6 {
        line-height: 1.2;
    }

    .content-block small {
        line-height: 1.2;
    }

    .content-block:hover {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

    .content-block.active {
        border-color: var(--primary-color) !important;
        border-width: 2px !important;
        background-color: rgba(109, 180, 232, 0.1) !important;
        box-shadow: 0 4px 12px rgba(109, 180, 232, 0.2) !important;
    }

.calculator-showcase .d-flex {
    height: 100%;
    min-height: 80px;
}

.tool-showcase-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    text-align: center;
}

    .tool-showcase-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        border-color: var(--primary-color);
    }

.tool-icon-wrapper {
    display: flex;
    justify-content: center;
}

.tool-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto;
}

    .tool-icon.blue {
        background: linear-gradient(135deg, rgba(109, 180, 232, 0.15) 0%, rgba(109, 180, 232, 0.25) 100%);
        color: var(--primary-color);
    }

    .tool-icon.green {
        background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.25) 100%);
        color: #28a745;
    }

    .tool-icon.purple {
        background: linear-gradient(135deg, rgba(102, 16, 242, 0.15) 0%, rgba(102, 16, 242, 0.25) 100%);
        color: #6610f2;
    }

.tool-features {
    text-align: left;
}

.feature-item {
    display: flex;
    align-items: center;
}

.hamburger-menu {
    width: 24px;
    height: 18px;
    position: relative;
    cursor: pointer;
}

    .hamburger-menu span {
        display: block;
        position: absolute;
        height: 2px;
        width: 100%;
        background: var(--text-dark);
        border-radius: 1px;
        transition: all 0.3s ease;
    }

        .hamburger-menu span:nth-child(1) {
            top: 0;
        }

        .hamburger-menu span:nth-child(2) {
            top: 8px;
        }

        .hamburger-menu span:nth-child(3) {
            top: 16px;
        }

.mobile-user-btn {
    background-color: var(--bg-light) !important;
    border: 1px solid var(--border-light) !important;
    color: var(--text-dark) !important;
    width: 40px;
    height: 40px;
}

.tool-tab {
    transition: all 0.3s ease;
    cursor: pointer;
}

    .tool-tab:hover {
        background-color: rgba(109, 180, 232, 0.05);
        border-color: var(--primary-color) !important;
    }

    .tool-tab.active {
        background-color: rgba(109, 180, 232, 0.1);
        border-color: var(--primary-color) !important;
        border-width: 2px !important;
    }

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

    .tab-content.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



.hamburger-icon {
    display: flex;
    flex-direction: column;
    width: 18px;
    height: 14px;
    justify-content: space-between;
    flex-shrink: 0;
    align-self: center;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #374151;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    color: #374151 !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

    .mobile-menu-toggle:hover {
        background: #f9fafb !important;
        border-color: #d1d5db !important;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }

.login-btn {
    background: white !important;
    border: 1px solid #e5e7eb !important;
    color: #374151 !important;
    border-radius: 20px !important;
    padding: 10px 20px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    display: flex !important;
    align-items: center !important;
    font-size: 0.95rem !important;
}

    .login-btn:hover {
        background: #f9fafb !important;
        border-color: #d1d5db !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        color: #374151 !important;
    }

    .login-btn i {
        color: #374151 !important;
    }

    .login-btn:hover i {
        color: #374151 !important;
    }

@media (max-width: 768px) {
    .hero-section {
        padding: 0 0 40px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .navbar-brand {
        font-size: 1.25rem !important;
    }
}

/* Footer Styles */
.footer-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 0 20px;
    margin-top: 80px;
    position: relative;
}

    .footer-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    }

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-description {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.newsletter-section {
    margin-top: 1.5rem;
}

    .newsletter-section .input-group {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .newsletter-section .form-control {
        border: none;
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        padding: 12px 16px;
    }

        .newsletter-section .form-control::placeholder {
            color: #b8b8b8;
        }

        .newsletter-section .form-control:focus {
            background-color: rgba(255, 255, 255, 0.15);
            border-color: var(--primary-color);
            box-shadow: none;
            color: #ffffff;
        }

.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

    .footer-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 2px;
        background-color: var(--primary-color);
        border-radius: 1px;
    }

.footer-links ul {
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

    .footer-link:hover {
        color: var(--primary-color);
        transform: translateX(4px);
    }

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: #b8b8b8;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #b8b8b8;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

    .social-link:hover {
        background: var(--primary-color);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(109, 180, 232, 0.3);
    }

.legal-links {
    display: flex;
    gap: 0;
}

    .legal-links .footer-link {
        font-size: 0.85rem;
    }

/* Clean Modern Navigation */
.modern-navbar {
    padding: 0;
    background: white;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

    /* Add shadow when scrolled */
    .modern-navbar.scrolled {
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    }

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 80px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--primary-color) !important;
    margin-right: 2rem;
}

    .navbar-brand:hover {
        color: var(--primary-hover) !important;
        text-decoration: none;
    }

.brand-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    margin-right: 8px;
}

.brand-text {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: 60px;
}

.nav-item {
    color: #374151;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: color 0.2s ease;
}

    .nav-item:hover {
        color: var(--primary-color);
        text-decoration: none;
    }

    .nav-item.active {
        color: var(--primary-color);
        font-weight: 500;
    }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-ghost {
    background: none;
    border: 1px solid transparent;
    color: #374151;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

    .btn-ghost:hover {
        background-color: #f3f4f6;
        color: #111827;
    }

.btn-primary-custom {
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

    .btn-primary-custom:hover {
        background-color: #5ca3d9;
        border-color: #5ca3d9;
    }

.mobile-menu-toggle {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background-color: #374151;
    border-radius: 1px;
    transition: all 0.3s ease;
}

/* Slide-in Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.mobile-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

    .mobile-menu-panel.active {
        transform: translateX(0);
    }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-content {
    padding: 0;
}

.mobile-nav-links {
    padding: 20px 0;
}

.mobile-nav-item {
    display: block;
    color: #374151;
    text-decoration: none;
    font-weight: 400;
    padding: 16px 20px;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
    font-size: 1rem;
}

    .mobile-nav-item:hover,
    .mobile-nav-item.active {
        color: var(--primary-color);
        background-color: rgba(109, 180, 232, 0.05);
        text-decoration: none;
    }

.mobile-nav-actions {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

/* Modern Login Modal Styles */
.login-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

    .login-modal-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.login-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90%;
    max-width: 440px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (max-width: 576px) {
    .login-modal {
        width: 95%;
        max-width: 95%;
        max-height: 85vh;
        border-radius: 12px;
        overflow-y: auto;
        margin: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        position: fixed;
        left: 50%;
    }

    .login-modal-body {
        padding: 0 20px 20px 20px !important;
    }

    .login-modal-header {
        padding: 12px 16px 0 16px !important;
        position: sticky;
        top: 0;
        background: white;
        z-index: 10;
        border-radius: 12px 12px 0 0;
    }

    .login-icon {
        width: 60px !important;
        height: 60px !important;
        border-radius: 16px !important;
    }

    .login-modal h3 {
        font-size: 1.3rem !important;
        margin-bottom: 1.5rem !important;
    }

    .social-login-btn {
        padding: 14px 18px !important;
        font-size: 0.95rem !important;
    }

    .form-control {
        padding: 12px 16px !important;
        font-size: 0.95rem !important;
    }
}

.login-modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.login-modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 24px 0 24px;
}

.login-modal-close {
    background: #f5f5f5;
    border: none;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    font-weight: 500;
}

    .login-modal-close:hover {
        background-color: #e8e8e8;
        color: #333;
    }

.login-modal-body {
    padding: 0 32px 32px 32px;
}

.login-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24, #ff9ff3, #54a0ff);
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-gradient {
    width: 40px;
    height: 50px;
    background: white;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.login-modal h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
}

.social-login-section {
    margin-bottom: 1.5rem;
}

.social-login-btn {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 12px;
}

    .social-login-btn:hover {
        border-color: #d1d5db;
        background-color: #f9fafb;
        transform: translateY(-1px);
    }

.google-btn i {
    color: #4285f4;
    font-size: 1.1rem;
}

.apple-btn i {
    color: #000;
    font-size: 1.2rem;
}

.login-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 500;
}

    .login-divider::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        height: 1px;
        background: #e5e7eb;
        z-index: 1;
    }

    .login-divider span {
        background: white;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }

.email-input-container {
    position: relative;
    margin-bottom: 16px;
}

.email-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

.email-input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    border: 1px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    background: white;
    transition: all 0.2s ease;
}

    .email-input:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(109, 180, 232, 0.1);
    }

    .email-input::placeholder {
        color: #9ca3af;
    }

.email-continue-btn {
    width: 100%;
    padding: 16px 20px;
    background: #333;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.2s ease;
    margin-bottom: 2rem;
}

    .email-continue-btn:hover {
        background: #222;
        transform: translateY(-1px);
    }

.privacy-notice {
    text-align: center;
}

    .privacy-notice p {
        color: #6b7280;
        font-size: 0.85rem;
        line-height: 1.5;
        margin: 0;
    }

.privacy-link {
    color: #333;
    text-decoration: underline;
}

    .privacy-link:hover {
        color: var(--primary-color);
    }

@media (max-width: 768px) {
    .footer-section {
        padding: 40px 0 20px;
        margin-top: 40px;
    }

    .footer-brand {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-links {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-bottom {
        text-align: center;
    }

        .footer-bottom .row {
            flex-direction: column;
            align-items: center;
        }

        .footer-bottom .col-md-6 {
            width: 100%;
            margin-bottom: 1rem;
        }

            .footer-bottom .col-md-6:last-child {
                margin-top: 0;
                margin-bottom: 0;
            }

    .social-links {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .legal-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

        .legal-links .footer-link {
            margin: 0;
            font-size: 0.8rem;
        }

    .footer-copyright {
        text-align: center;
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }

    .navbar-content {
        padding: 12px 0;
        min-height: 60px;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .brand-text {
        font-size: 1.1rem;
    }
}

/* Filter and Reset Button Hover Effects */
.filter-btn:hover {
    background: #5ca3d9 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 180, 232, 0.3);
}

.reset-btn:hover {
    background: #f8f9fa !important;
    color: #495057 !important;
    border-color: #dee2e6 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Mobile navbar button hover effects */
.navbar-toggler:hover,
.btn.login-btn.d-lg-none:hover {
    background: #f8f9fa !important;
    border-color: #e9ecef !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler:focus,
.btn.login-btn.d-lg-none:focus {
    box-shadow: none !important;
    outline: none !important;
}

/* Force hide mobile login button on desktop */
@media (min-width: 992px) {
    .btn.login-btn.d-lg-none {
        display: none !important;
    }
}

/* Tablet styling for navbar and buttons */
@media (min-width: 577px) and (max-width: 991px) {
    .navbar {
        height: 80px !important;
        min-height: 80px !important;
        padding: 0 !important;
    }

        .navbar .container {
            padding-left: 16px !important;
            padding-right: 16px !important;
            max-width: 100% !important;
            height: 80px !important;
            display: flex !important;
            align-items: center !important;
        }

    /* Position hamburger button at far left */
    .navbar-toggler.d-lg-none {
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* Keep logo centered */
    .navbar-brand.mx-auto {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }

    /* Position login button at far right */
    .btn.login-btn.d-lg-none {
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    .navbar-toggler {
        background: white !important;
        border: 1px solid #e9ecef !important;
        border-radius: 25px !important;
        padding: 14px 24px !important;
        color: #000000 !important;
        font-weight: 500 !important;
        font-size: 0.9rem !important;
        transition: all 0.2s ease !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

        .navbar-toggler:hover {
            background: #f8f9fa !important;
            border-color: #dee2e6 !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
            color: #000000 !important;
        }

        .navbar-toggler:focus {
            box-shadow: none !important;
            outline: none !important;
        }

        .navbar-toggler span:last-child {
            display: inline !important;
        }

        .navbar-toggler .navbar-toggler-icon {
            margin-right: 8px !important;
            color: #000000 !important;
        }

        .navbar-toggler .hamburger-line {
            background-color: #000000 !important;
        }

    /* Tablet login button styling */
    .btn.login-btn.d-lg-none {
        background: white !important;
        border: 1px solid #e9ecef !important;
        border-radius: 25px !important;
        padding: 14px 24px !important;
        color: #000000 !important;
        font-weight: 500 !important;
        font-size: 0.9rem !important;
        transition: all 0.2s ease !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

        .btn.login-btn.d-lg-none:hover {
            background: #f8f9fa !important;
            border-color: #dee2e6 !important;
            transform: translateY(-1px) !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
            color: #000000 !important;
        }

        .btn.login-btn.d-lg-none span {
            display: inline !important;
        }

        .btn.login-btn.d-lg-none i {
            margin-right: 8px !important;
            color: #000000 !important;
        }
}

/* Hide text on small mobile screens */
@media (max-width: 576px) {
    .navbar {
        height: 80px !important;
        min-height: 80px !important;
        padding: 0 !important;
    }

        .navbar .container {
            height: 80px !important;
            display: flex !important;
            align-items: center !important;
        }

    .navbar-toggler span:last-child,
    .btn.login-btn.d-lg-none span {
        display: none !important;
    }

    /* Hide "Alle categorieën" link on mobile */
    .search-card a[href*="woordenboek"] {
        display: none !important;
    }

    .navbar-toggler {
        padding: 14px !important;
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        border-radius: 50% !important;
        background: white !important;
        border: 1px solid #e9ecef !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
    }

        .navbar-toggler:hover {
            background: #f0f0f0 !important;
            border-color: #d0d0d0 !important;
            box-shadow: none !important;
        }

    .btn.login-btn.d-lg-none {
        padding: 14px !important;
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        border-radius: 50% !important;
        background: white !important;
        border: 1px solid #e9ecef !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: none !important;
    }

        .btn.login-btn.d-lg-none:hover {
            background: #f0f0f0 !important;
            border-color: #d0d0d0 !important;
            box-shadow: none !important;
        }

    .navbar-toggler .navbar-toggler-icon {
        margin-right: 0 !important;
    }

    .btn.login-btn.d-lg-none i {
        margin-right: 0 !important;
        font-size: 1.1rem !important;
    }

    .navbar-toggler-icon {
        font-size: 1.1rem !important;
    }
}

/* Modern dropdown styling */
.dropdown-menu {
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    margin-top: 10px !important;
    min-width: 280px !important;
    background: white !important;
}

.dropdown-item {
    padding: 12px 16px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    transition: all 0.2s ease !important;
    margin-bottom: 8px !important;
}

    .dropdown-item:last-child {
        margin-bottom: 0 !important;
    }

    .dropdown-item:hover {
        background-color: #f8f9fa !important;
        color: #1976d2 !important;
        transform: translateX(4px) !important;
    }

    .dropdown-item:focus {
        background-color: #f8f9fa !important;
        color: #1976d2 !important;
    }

.dropdown-divider {
    margin: 16px 0 !important;
    border-color: #e9ecef !important;
}

/* Dropdown arrow styling */
.dropdown-toggle::after {
    border-top: 0.3em solid !important;
    border-right: 0.3em solid transparent !important;
    border-left: 0.3em solid transparent !important;
    margin-left: 0.5em !important;
}
