* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'segoe UI', Tahoma, Geneva, Verdana , sans-serif;
}

body {
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
    padding-bottom: 60;
    transition: background-color 0.3s, color0.3;
}
body.dark-mode {
    background-color: #1a1a1a;
    color: #f0f0f0;
}
.navbar {
    display: flex;
    justify-content:  space-between;
    align-items: center;
    background-color: #2c3e50;
    padding: 1rem 2rem;
    color: white;
    position: sticky;
    top: 0;
}

.navbar ul {
 display: flex;
 list-style: none;
 gap: 1.5rem; 
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.navbar a:hover {
    text-decoration: underline;
}
.container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: background 0.3s, color 0.3s;
}

body.dark-mode .card {
    background: #2a2a2a;
    box-shadow: 0 4px 6px rgba(0,0,0,0.4);
}

h1,h2,h3 {
    margin-bottom: 1rem;
}
.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.project-item {
    border: 1fr solid #ddd;
    background-color: #eef2f5;
    padding: 1rem;
    border-radius: 6px;
}

body.dark-mode .project-item {
    background-color: #353535;
}
.ai-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #e8f4fd;
    border-left: 4px solid #3498db;
    border-radius: 4px;
}

body.dark-mode .ai-note {
    background: #1c3346;
    border-left-color: #5dade2;
}

#themeToggleBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    background-color: #3498db;
    color: white;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 55px rgba(0,0,0,0.2);
}

#themeToggleBtn:hover {
    background-color: #2980b9;
}