

    :root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --success-color: #4cc9f0;
    --warning-color: #f72585;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fb;
    color: var(--dark-color);
    padding-top: 76px; /* For fixed navbar */
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fb 0%, #e3e8ff 100%);
    margin-bottom: 40px;
}

.hero-img {
    text-align: center;
    font-size: 15rem;
    color: var(--primary-color);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    border-bottom: none;
    padding: 1.2rem 1.5rem;
}

/* Task List */
.task-list {
    min-height: 300px;
}

.task-item {
    background: white;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    cursor: move;
}

.task-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.task-item.completed {
    opacity: 0.8;
    border-left-color: #28a745;
    background-color: #f8fff9;
}

.task-item.high-priority {
    border-left-color: var(--warning-color);
}

.task-content {
    flex-grow: 1;
}

.task-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.task-description {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.task-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
}

.task-category {
    background-color: #e9ecef;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.task-actions {
    display: flex;
    gap: 10px;
}

.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    transition: all 0.2s ease;
}

.btn-action:hover {
    transform: scale(1.1);
}

.btn-complete:hover {
    background-color: #28a745;
    color: white;
}

.btn-delete:hover {
    background-color: #dc3545;
    color: white;
}

.btn-edit:hover {
    background-color: #007bff;
    color: white;
}

/* Priority Badges */
.priority-badge {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.priority-low {
    background-color: #d4edda;
    color: #155724;
}

.priority-medium {
    background-color: #fff3cd;
    color: #856404;
}

.priority-high {
    background-color: #f8d7da;
    color: #721c24;
}

/* Feature Cards */
.feature-card {
    border-radius: 15px;
    background: white;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Statistics */
.stat-box h3 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-img {
        font-size: 10rem;
        margin-top: 30px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .card-header .d-flex {
        flex-direction: column;
        gap: 10px;
    }
    
    #filterCategory {
        width: 100% !important;
    }
    
    .task-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .task-actions {
        margin-top: 15px;
        align-self: flex-end;
    }
}

/* Animation for new tasks */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.task-item {
    animation: fadeIn 0.3s ease;
}
   
