* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    padding-top: 80px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-logo a:hover {
    color: #667eea;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

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

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #4a5568;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

h1 {
    text-align: center;
    padding: 30px 20px;
    background: #4a5568;
    color: white;
    font-size: 2rem;
    font-weight: 300;
}

.input-section {
    padding: 20px;
    display: flex;
    gap: 10px;
}

#todoInput {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

#todoInput:focus {
    border-color: #667eea;
}

#addBtn {
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

#addBtn:hover {
    background: #5a67d8;
}

#todoList {
    list-style: none;
    padding: 0 20px 20px;
}

.todo-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background: #f7fafc;
    border-radius: 6px;
    border-left: 4px solid #667eea;
    transition: all 0.3s;
}

.todo-item:hover {
    background: #edf2f7;
    transform: translateX(5px);
}

.todo-item.completed {
    opacity: 0.6;
    border-left-color: #48bb78;
}

.todo-item.completed .task-text {
    text-decoration: line-through;
    color: #718096;
}

.task-text {
    flex: 1;
    font-size: 16px;
    color: #2d3748;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.complete-btn, .delete-btn {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}

.complete-btn {
    background: #48bb78;
    color: white;
}

.complete-btn:hover {
    background: #38a169;
    transform: scale(1.1);
}

.delete-btn {
    background: #f56565;
    color: white;
}

.delete-btn:hover {
    background: #e53e3e;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 1.3rem;
        color: white;
        padding: 15px 30px;
        border-radius: 25px;
        transition: all 0.3s;
        text-align: center;
        min-width: 120px;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateX(-5px);
        color: white;
    }
    
    .nav-link::after {
        display: none;
    }
}

.stats-section {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

#taskStats {
    font-size: 18px;
    font-weight: 600;
    color: #2d3748;
}

#clearCompleted {
    padding: 10px 16px;
    background: #e53e3e;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

#clearCompleted:hover {
    background: #c53030;
}

@media (max-width: 600px) {
    body {
        padding: 10px;
        padding-top: 70px;
    }
    
    .container {
        margin: 0;
        border-radius: 0;
    }
    
    h1 {
        font-size: 1.5rem;
        padding: 20px;
    }
    
    .input-section {
        flex-direction: column;
    }
    
    #addBtn {
        width: 100%;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    #clearCompleted {
        width: 100%;
    }
}

/* About Page Styles */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.about-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-content {
    padding: 40px 20px;
    display: grid;
    gap: 30px;
}

.about-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    transition: transform 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.about-card h2 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.about-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1rem;
}

.about-footer {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.banner-image {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.about-footer p {
    color: #4a5568;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: #667eea;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #5a67d8;
}

@media (max-width: 600px) {
    .about-hero {
        padding: 30px 15px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 30px 15px;
    }
    
    .about-card {
        padding: 20px 15px;
    }
}