/* Process Section Improvements */

.work {
    position: relative;
    padding: 90px 0;
    background-color: #f9fafc;
    overflow: hidden;
}

.work::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-color: rgba(67, 97, 238, 0.03);
    z-index: 1;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.work__wrapper {
    position: relative;
    background-color: #fff;
    border-radius: 15px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 2;
    overflow: hidden;
}

.work__wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #4361ee, #7289f3);
}

.section__title .sub-title {
    color: #4361ee;
    font-weight: 600;
    font-size: 18px;
    display: block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section__title .title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 20px;
}

.work__content {
    padding-right: 20px;
}

.work__content-list {
    position: relative;
}

.work__content-list::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 60px;
    height: calc(100% - 100px);
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.work__item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.work__item:last-child {
    margin-bottom: 0;
}

.work__item-num {
    margin-right: 25px;
    flex-shrink: 0;
}

.work__item-num h5 {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4361ee;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    margin: 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3);
    transition: all 0.3s ease;
}

.work__item:hover .work__item-num h5 {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(67, 97, 238, 0.4);
}

.work__item-text {
    flex-grow: 1;
    padding-top: 5px;
}

.work__item-text h4 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
    position: relative;
    transition: all 0.3s ease;
}

.work__item:hover .work__item-text h4 {
    color: #4361ee;
    transform: translateX(5px);
}

.work__item-text p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 0;
}

.work__img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-20px);
}

.work__img img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: all 0.5s ease;
}

.work__wrapper:hover .work__img img {
    transform: scale(1.03);
}

.work__img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(67, 97, 238, 0.1));
    z-index: 1;
    border-radius: 10px;
}

.work__img::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-color: #4361ee;
    opacity: 0.1;
    border-radius: 50%;
    transform: translate(30%, 30%);
    z-index: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wow.fadeInUp {
    animation: fadeInUp 1s ease forwards;
}

/* Responsive styles */
@media (max-width: 1199px) {
    .work__wrapper {
        padding: 50px 40px;
    }
    
    .section__title .title {
        font-size: 32px;
    }
    
    .work__item-text h4 {
        font-size: 20px;
    }
    
    .work__img {
        margin-left: 0 !important;
    }
    
    .process-stats {
        left: 20px;
    }
}

@media (max-width: 991px) {
    .work {
        padding: 70px 0;
    }
    
    .work__wrapper {
        padding: 40px 30px;
    }
    
    .work__content {
        margin-bottom: 50px;
        padding-right: 0;
    }
    
    .section__title .title {
        font-size: 28px;
    }
    
    .work__img {
        transform: translateY(0);
        max-width: 100%;
        margin: 0 auto;
    }
    
    .process-intro {
        max-width: 100%;
    }
    
    .process-stats {
        bottom: 20px;
        left: 20px;
        padding: 12px 20px;
    }
    
    .process-stat-item span {
        font-size: 28px;
    }
    
    .process-stat-item p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .work {
        padding: 60px 0;
    }
    
    .work__wrapper {
        padding: 30px 20px;
    }
    
    .section__title .title {
        font-size: 24px;
    }
    
    .work__item {
        margin-bottom: 30px;
    }
    
    .work__item-num h5 {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .work__item-text h4 {
        font-size: 18px;
    }
    
    .process-cta {
        margin-top: 30px;
        padding-left: 20px;
    }
    
    .process-link {
        font-size: 15px;
    }
    
    .process-stats {
        bottom: 15px;
        left: 15px;
        padding: 10px 15px;
    }
    
    .process-stat-item span {
        font-size: 24px;
    }
    
    .process-stat-item p {
        font-size: 12px;
    }
}

@media (max-width: 575px) {
    .work {
        padding: 50px 0;
    }
    
    .work__content-list::before {
        left: 22px;
    }
    
    .work__item-num {
        margin-right: 15px;
    }
    
    .work__item-num h5 {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .process-intro {
        font-size: 15px;
    }
    
    .process-stats {
        bottom: 10px;
        left: 10px;
        padding: 8px 12px;
    }
    
    .process-stat-item span {
        font-size: 20px;
        margin-bottom: 2px;
    }
    
    .process-stat-item p {
        font-size: 11px;
    }
}

/* New elements added to process.php */
.process-intro {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 25px;
    max-width: 95%;
}

.process-cta {
    margin-top: 40px;
    position: relative;
    padding-left: 25px;
    border-left: 2px dashed #4361ee;
}

.process-link {
    display: inline-block;
    color: #4361ee;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    padding-right: 30px;
    transition: all 0.3s ease;
}

.process-link i {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.process-link:hover {
    color: #2644cc;
    padding-right: 35px;
}

.process-link:hover i {
    right: -5px;
}

.process-overlay {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: rgba(67, 97, 238, 0.05);
    border-radius: 50%;
    z-index: -1;
}

.process-stats {
    position: absolute;
    bottom: 30px;
    left: -20px;
    background-color: #4361ee;
    color: #fff;
    border-radius: 10px;
    padding: 15px 25px;
    box-shadow: 0 10px 30px rgba(67, 97, 238, 0.3);
    z-index: 3;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.work__wrapper:hover .process-stats {
    transform: translateY(-10px);
}

.process-stat-item {
    text-align: center;
}

.process-stat-item span {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.process-stat-item p {
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
} 