.tasks-section {
    padding: 80px 0;
}
.task-section-101{
    margin: 0;
    padding: 30px 0;
}

.task-block {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.task-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

.task-block .inner-box {
    padding: 25px;
}

.task-block .title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.task-block .text {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.task-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
}

.task-meta span {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.task-meta i {
    margin-right: 5px;
    color: #007bff;
}

.task-date {
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.task-date small {
    color: #888;
}

.reward {
    font-weight: 600;
    color: #28a745 !important;
}

@media (max-width: 768px) {
    .task-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .task-block .inner-box {
        padding: 20px;
    }
}



/* Option 1: Animated Gradient Background */
.tasks-section.animated-bg {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-shapes div {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: -50px;
    left: -50px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 50px;
    right: 100px;
    animation: float 8s ease-in-out infinite;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 10%;
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Option 2: Glass Morphism */
.glass-effect {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Option 3: Modern Color Schemes */
.tasks-section.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.tasks-section.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tasks-section.gradient-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.tasks-section.gradient-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.tasks-section.gradient-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.tasks-section.pattern-bg {
    background-color: #6a11cb;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.1) 0%, transparent 20%);
}

/* Enhanced Task Cards for Colored Backgrounds */
.tasks-section:not(.default-bg) .task-block {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tasks-section:not(.default-bg) .task-block:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* White text for colored backgrounds */
.tasks-section:not(.default-bg) .sec-title-three h2,
.tasks-section:not(.default-bg) .sec-title-three .sub-title {
    color: #fff;
}

.tasks-section:not(.default-bg) .sec-title-three .sub-title {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.scroll-list {
    height: 120px;              /* Adjust based on your design */
    overflow: hidden;
    position: relative;
}

.scroll-list li {
    padding: 5px 0;
    font-size: 15px;
}
