.popular-assignments {
    padding: 30px 0;
    background-color: #eef4fa;
}

.p-section-title {
    text-align: center;
    margin-bottom: 15px;
}
.p-section-title h2 {
    font-size: 2.8rem;
    color: #001c64;
    margin: 0;
    font-weight: 300;
    position: relative;
  }

  .p-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
  }
  .p-section-title span{
    font-weight: 700;
    background: linear-gradient(45deg, #4e65c9, #7641ab);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

.p-section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.p-assignment-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto 40px;
}

.p-category-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 25px;
    transition: transform 0.3s ease;
}

.p-category-card:hover {
    transform: translateY(-5px);
}

.p-category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

.p-category-header i {
    font-size: 28px;
    color: #e74c3c;
    margin-right: 15px;
    font-weight: 700;
}

.p-category-header h3 {
    font-size: 1.4rem;
    color: #001c64;
    margin: 0;
}

.p-assignment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-assignment-list li {
    margin-bottom: 12px;
}

.p-assignment-list a {
    display: block;
    padding: 10px 15px;
    color: #001c64;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: clamp(.934rem,.97642857rem,1rem);
    font-weight: 400;
    font-family: "Helvetica",Arial,sans-serif;
    line-height: 1.5rem;
}

.p-assignment-list a:hover {
    background-color: #f0f7ff;
    color: #2980b9;
    padding-left: 20px;
}


/* Action Buttons */
.p-action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.p-order-btn, .p-whatsapp-btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    height: 70px;
    line-height: 70px;
    font-size: 20px;
}

.p-order-btn {
    background: linear-gradient(180deg,#ff6d1b,#ff6d1b);
    border: 1px solid #df5609;
    box-shadow: 0 0 0 4px rgba(255,109,27,.15),0 1px 2px 0 rgba(41,16,8,.15),0 3px 7px 0 rgba(41,16,8,.08),inset 0 2px 2px 0 rgba(255,212,188,.5);
    color: #fff;  
}

.p-order-btn:hover {
    background: linear-gradient(180deg,#ff5f1b,#fd450b);
    border: 1px solid #d23c0d;
    border-radius: 6px;
    box-shadow: 0 0 0 4px rgba(255,109,27,.15),0 1px 2px 0 rgba(41,16,8,.15),0 3px 7px 0 rgba(41,16,8,.08),inset 0 2px 2px 0 rgba(255,212,188,.5);
    transform: translateY(-2px);
}

.p-whatsapp-btn {
    background-color: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.p-whatsapp-btn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.p-whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

@media (max-width: 768px) {
    .p-assignment-categories {
        grid-template-columns: 1fr;
    }

    .p-action-buttons {
        flex-direction: inline;
        align-items: center;
        margin: 0;
    }

    .p-order-btn, .p-whatsapp-btn {
        width: 40%;
        text-align: center;
        justify-content: center;
        display: inline-flex;
        font-size: 16px;
        height: 60px;

    }
}