/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.btn-secondary:hover {
    background: #3b82f6;
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
}

.nav-logo i {
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #333;
    position: relative;
}

.nav-link:hover {
    color: #3b82f6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.3s ease;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    transform: scale(1.05);
}

.nav-toggle:active {
    transform: scale(0.95);
}

.bar {
    width: 24px;
    height: 3px;
    background: #2563eb;
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cards */
.card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(29, 78, 216, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    color: #3b82f6;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section h4 i {
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: #cbd5e1;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.footer-section ul li a i {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 16px;
    flex-shrink: 0;
}

.footer-section ul li a:hover {
    color: #3b82f6;
    padding-left: 10px;
}

.footer-section ul li a:hover i {
    opacity: 1;
    transform: translateX(2px);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.6rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 1.5rem;
}

.footer-logo i {
    font-size: 1.8rem;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    color: #3b82f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #ffffff;
        width: 100%;
        text-align: left;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        padding: 0.5rem 0;
        height: calc(100vh - 70px);
        justify-content: flex-start;
        gap: 0;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        margin: 0.25rem 1rem;
        border-radius: 10px;
        border-left: 3px solid transparent;
        transition: all 0.25s ease;
        display: flex;
        align-items: center;
        gap: 0.9rem;
        font-size: 0.95rem;
        opacity: 0;
        transform: translateX(-20px);
        animation: slideInLeft 0.3s ease forwards;
        color: #64748b;
        font-weight: 500;
        background: transparent;
        position: relative;
    }

    .nav-menu.active .nav-link:nth-child(1) { animation-delay: 0.05s; }
    .nav-menu.active .nav-link:nth-child(2) { animation-delay: 0.1s; }
    .nav-menu.active .nav-link:nth-child(3) { animation-delay: 0.15s; }
    .nav-menu.active .nav-link:nth-child(4) { animation-delay: 0.2s; }
    .nav-menu.active .nav-link:nth-child(5) { animation-delay: 0.25s; }

    @keyframes slideInLeft {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .nav-link i {
        font-size: 1.2rem;
        width: 24px;
        color: #60a5fa;
        flex-shrink: 0;
        transition: all 0.25s ease;
    }

    .nav-link span {
        font-size: 0.95rem;
        transition: all 0.25s ease;
    }

    .nav-link:hover {
        background: #f8fafc;
        border-left-color: #3b82f6;
        color: #1e40af;
        padding-left: 1.8rem;
    }

    .nav-link:hover i {
        color: #3b82f6;
        transform: scale(1.1);
    }

    .nav-link.active {
        background: linear-gradient(90deg, #eff6ff 0%, #f8fafc 100%);
        border-left-color: #3b82f6;
        color: #1e40af;
        font-weight: 600;
    }

    .nav-link.active i {
        color: #3b82f6;
    }

    .nav-link:active {
        background: #eff6ff;
        transform: scale(0.97);
    }

    /* Remove ::after effect on mobile */
    .nav-link::after {
        display: none;
    }

    /* Remove ::before pseudo element that might be causing the blue box */
    .nav-menu::before {
        display: none !important;
        content: none !important;
    }

    .nav-link::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle:hover {
        background: rgba(59, 130, 246, 0.15);
        border-color: rgba(59, 130, 246, 0.5);
    }

    .nav-toggle.active {
        background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
        border-color: transparent;
    }

    .nav-toggle.active .bar {
        background: white;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    /* Mobile Search */
    .nav-search {
        display: none;
    }

    /* Add mobile search inside menu */
    .nav-menu::before {
        content: '';
        display: block;
        padding: 1rem 2rem;
        background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
        color: white;
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .section-title { font-size: 2rem; }
    
    .container {
        padding: 0 15px;
    }

    /* Overlay when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::after {
        content: '';
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }

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

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .section-title { font-size: 1.75rem; }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .nav-logo {
        font-size: 1.3rem;
    }

    .nav-logo i {
        font-size: 1.5rem;
    }

    .nav-link {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .nav-link i {
        font-size: 1.1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3b82f6;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none; }
.visible { display: block; }
/* Enhanced Footer Layout */
.footer-section:first-child {
    padding-right: 2rem;
}

.footer-section:first-child p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 400px;
}

/* Responsive Footer Layout */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1.8fr 1fr 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        padding-right: 0;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .footer-section:first-child p {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .footer-section:first-child {
        grid-column: 1;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul li a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        justify-content: center;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
    }
}
/* Additional Footer Enhancements */

/* Better spacing for footer sections */
.footer-section:not(:first-child) h4 {
    border-bottom: 2px solid rgba(59, 130, 246, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Enhanced social links layout */
.social-links {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    max-width: 200px;
}

/* Better alignment for footer links */
.footer-section ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Enhanced footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    color: #94a3b8;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* Large screen optimizations */
@media (min-width: 1400px) {
    .footer-content {
        grid-template-columns: 2.2fr 1fr 1fr 1fr;
        gap: 5rem;
    }
    
    .footer-section:first-child {
        padding-right: 3rem;
    }
}

/* Medium-large screen adjustments */
@media (max-width: 1100px) and (min-width: 993px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 2.5rem;
    }
    
    .footer-section:first-child {
        padding-right: 1rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
    }
    
    .footer-section ul li a {
        font-size: 0.9rem;
    }
}

/* Tablet landscape adjustments */
@media (max-width: 992px) and (min-width: 769px) {
    .social-links {
        grid-template-columns: repeat(6, 1fr);
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Mobile landscape adjustments */
@media (max-width: 640px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
    
    .footer-section:first-child {
        padding-bottom: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-bottom-links {
        gap: 1.5rem;
    }
    
    .social-links {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.8rem;
        max-width: 280px;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .footer-content {
        padding: 0 0.5rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .footer-bottom-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-links {
        grid-template-columns: repeat(3, 1fr);
        max-width: 150px;
    }
    
    .footer-section h4 {
        font-size: 1rem;
        gap: 8px;
    }
    
    .footer-section ul li a {
        font-size: 0.85rem;
        gap: 8px;
    }
}
/* Breadcrumb Navigation */
.breadcrumb {
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    padding: 0.5rem 0;
    margin-top: 80px;
    position: relative;
    z-index: 999;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

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

.breadcrumb-item a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    transition: color 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.breadcrumb-item a:hover {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    color: #9ca3af;
    margin-left: 0.5rem;
    font-weight: 300;
}

.breadcrumb-item:last-child a {
    color: #3b82f6;
    font-weight: 500;
    pointer-events: none;
}

/* Hide breadcrumb on mobile for space */

/* ===== SEARCH BOX STYLES ===== */

/* Modern Search Box */
.nav-search {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-search .search-box {
    position: relative;
    width: 280px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.nav-search .search-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-search .search-box:hover::before {
    opacity: 1;
}

.nav-search .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.9rem;
    z-index: 2;
}

.nav-search .search-box input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.9rem;
    background: #f9fafb;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.nav-search .search-box input:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Search Results Dropdown */
.search-box .search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-height: 480px;
    overflow: hidden;
    z-index: 9999;
    display: none;
    animation: slideDown 0.3s ease;
}

.search-box .search-results.show {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-results-header {
    padding: 12px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-results-count {
    color: #2563eb;
}

.search-results-list {
    max-height: 420px;
    overflow-y: auto;
}

.search-results-list::-webkit-scrollbar {
    width: 8px;
}

.search-results-list::-webkit-scrollbar-track {
    background: #f9fafb;
}

.search-results-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.search-results-list::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.search-result {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.search-result:last-child {
    border-bottom: none;
}

.search-result:hover {
    background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
}

.search-result a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-result-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.search-result:hover .search-result-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: #1f2937;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-result-name mark {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    color: #2563eb;
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 700;
}

.search-result-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
}

.search-result-category {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%);
    color: #2563eb;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
}

.search-result-category i {
    font-size: 0.7rem;
}

.search-result-arrow {
    color: #d1d5db;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.search-result:hover .search-result-arrow {
    color: #2563eb;
    transform: translateX(4px);
}

.search-no-results {
    padding: 60px 20px;
    text-align: center;
    color: #6b7280;
}

.search-no-results i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 16px;
    display: block;
}

.search-no-results p {
    font-size: 1rem;
    font-weight: 500;
    color: #1f2937;
    margin-bottom: 8px;
}

.search-no-results small {
    font-size: 0.875rem;
    color: #9ca3af;
}

.search-loading {
    padding: 40px 20px;
    text-align: center;
}

.search-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f4f6;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.search-loading-text {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Search Box Responsive Design */
@media (max-width: 1024px) {
    .nav-search .search-box {
        width: 220px;
    }
}

@media (max-width: 768px) {
    .nav-search {
        display: none;
    }
    
    /* Mobile search can be added as a separate component */
    .mobile-search {
        display: block;
        width: 100%;
        margin: 1rem 0;
    }
    
    .mobile-search .search-box {
        width: 100%;
    }
}

/* Focus states for accessibility */
.nav-search input:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-search .search-box {
        background: white;
        border: 2px solid #000;
    }
    
    .nav-search .search-box input {
        background: white;
        color: #000;
        border-color: #000;
    }
    
    .search-results {
        border: 2px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .nav-search .search-box,
    .nav-search .search-box input,
    .search-result a {
        transition: none;
    }
    
    .nav-search .search-box::before {
        display: none;
    }
}