* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #bdfff6, #ffffff,#b7d7f5);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

        /* Header styles */
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
background: rgba(255, 255, 255, 0.6);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
position: fixed;
width: 100%;
z-index: 1000;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 40px;
}

.nav-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.right-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* General Button Styling */
.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 8px;
    font-size: 1rem;
    color: #6B7280; 
    border-radius: 8px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Hover and Focus Effects */
.menu-toggle:hover {
    background-color: #F3F4F6; 
}

.menu-toggle:focus {
    outline: none;
    ring: 2px solid #D1D5DB; 
}

/* Icon Styling */
.menu-icon {
    width: 20px;
    height: 20px;
}

/* Menu Style */
.navbar-menu {
    display: none; 
    background-color: #ffffff5f;
    padding: 10px;
    position: absolute;
    top: 50px; 
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Menu Active (showing) */
.navbar-menu.active {
    display: block; 
}

/* Screen Reader only text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    overflow: hidden;
}


.nav-links a {
    color: #003B71;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.nav-links a:hover {
    background: rgba(0, 59, 113, 0.1);
}

/* Ask AI Button Styles */
.nav-links a.ask-ai-btn {
    background: linear-gradient(90deg, #00e6ff, #0099ff);
    color: white !important;
    font-weight: bold;
    font-size: 0.95rem;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: inline-block;
    text-align: center;
}


.nav-links a.ask-ai-btn:hover {
    background: linear-gradient(90deg, #00e6ff, #0099ff);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.mobile-nav {
    display: none;
}

.search {
    position: relative;
    display: flex;
    align-items: center;
}

.search .search-icon {
    position: absolute;
    left: 12px;
    color: #003B71;
    font-size: 1rem;
    z-index: 2;
}

.search input {
    padding: 0.5rem 1rem 0.5rem 2.5rem;
    border-radius: 20px;
    border: 1px solid #003B71;
    background: white;
    color: #003B71;
    width: 200px;
}

.search input::placeholder {
    color: rgba(0, 59, 113, 0.7);
}

        .menu-toggle {
            display: none;
            font-size: 24px;
            cursor: pointer;
        }

        /* Main content styles */
        main {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }

        .chat-container {
            width: 100%;
            max-width: 800px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .welcome-message h1 {
            font-size: 2.5rem;
            text-align: center;
            color: #054377;
            margin-bottom: 20px;
        }

        .blue-text {
            background: linear-gradient(90deg, #00e6ff, #0099ff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text; 
        }
        

        .chat-messages {
            width: 100%;
            max-height: 400px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 15px;
            padding-right: 10px;
        }

        .message {
            padding: 15px;
            border-radius: 999px;
            max-width: 80%;
            animation: fadeIn 0.3s ease-in-out;
        }

        .user-message {
            align-self: flex-end;
            background-color: #00A3FF;
            color: white;
        }

        .ai-message {
            background-color: white;
            color: #054377;
            border: 2px solid transparent;
            border-radius: 20px;
            width: fit-content;
            background-image: linear-gradient(white, white), linear-gradient(90deg, #00e6ff, #0099ff);
            background-origin: border-box;
            background-clip: padding-box, border-box;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
        }

        .input-container {
            width: 100%;
        }

        .input-wrapper {
            display: flex;
            border-radius: 30px;
            overflow: hidden;
            background-color: white;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }

        #userInput {
            flex: 1;
            padding: 15px 20px;
            border: none;
            outline: none;
            font-size: 16px;
        }


        .send-btn {
            background: linear-gradient(135deg, #00e6ff, #0099ff);
            border: none;
            padding: 12px;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s ease;
            box-shadow: 0 4px 10px rgba(0, 153, 255, 0.3);
        }
        
        .send-btn:hover {
            background: linear-gradient(135deg, #00caff, #007acc);
        }
        

        .suggestion-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-top: 10px;
        }

        .chip {
            background-color: white;
            border: 2px solid transparent;
            background-image: linear-gradient(white, white), linear-gradient(90deg, #00e6ff, #0099ff);
            background-origin: border-box;
            background-clip: padding-box, border-box;
            color: #054377;
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.95rem;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .chip:hover {
            background-color: #00A3FF;
            color: white;
            background-image: none;
            border: 2px solid #00A3FF;
            box-shadow: 0 0 10px rgba(0, 163, 255, 0.4);
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive styles */
        @media (max-width: 900px) {
            .nav-links {
                gap: 15px;
            }
            
            .search-input {
                width: 120px;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background-color: white;
                flex-direction: column;
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                z-index: 100;
            }
            
            .nav-links.active {
                display: flex;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .welcome-message h1 {
                font-size: 2rem;
            }
            
            .message {
                max-width: 90%;
            }
        }

        @media (max-width: 480px) {
            header {
                padding: 15px;
            }
            
            .logo img {
                height: 30px;
            }
            
            .search-container {
                display: none;
            }
            
            .welcome-message h1 {
                font-size: 1.5rem;
            }
            
            .input-wrapper {
                border-radius: 20px;
            }
            
            #userInput {
                padding: 12px 15px;
            }
            
            .chip {
                padding: 6px 12px;
                font-size: 14px;
            }
        }