/* Services Content Styles - One per row */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    min-height: 280px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-img {
    width: 40%;
    min-width: 350px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.service-card:hover .service-img {
    transform: scale(1.03);
}

.service-desc {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.service-desc h3 i {
    color: #666;
    background: rgba(233, 247, 239, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: normal;
}

.service-desc p {
    color: #6c757d;
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
}

.service-link {
    display: inline-block;
    text-decoration: none;
    background: linear-gradient(to right, #f84e73, #e71845);
    color: white;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    align-self: flex-start;
}

.service-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.4);
}

/* Services Process Styles - Horizontal Timeline */
.services-process{
    background-color: #FFF;
    border-radius: 15px;
    margin-top: 20px;
}
.timeline-container {
    position: relative;
    padding: 60px 0;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 2px;
    background: #f1f1f1;
    z-index: 1;
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(100% / 7);
    z-index: 2;
    cursor: pointer;
}

.timeline-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    
}
.timeline-icon .iconfont{
    color: #f01859;
    font-size: 1.6rem;
}

.timeline-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #f01859;
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}
.timeline-item:hover .timeline-icon{
    background-color: #f01859;
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(235, 81, 114, 0.4);
}

.timeline-item:hover .timeline-icon .iconfont{
    color: white;
}

.timeline-text {
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    min-width: 140px;
}

.timeline-item:hover .timeline-text {
    background: #f01859;
    color: white;
    transform: translateY(-5px);
}

.timeline-content {
    position: absolute;
    top: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 10;
    text-align: center;
}

.timeline-item:hover .timeline-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.timeline-content h4 {
    color: #f01859;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .service-card {
        flex-direction: column;
        min-height: auto;
    }
    
    .service-img {
        width: 100%;
        min-width: auto;
        height: 250px;
    }
    
    .timeline {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        width: 25%;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 0 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .service-desc h3 {
        font-size: 1.6rem;
    }
    
    .timeline-item {
        width: 33.33%;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 2.2rem;
    }
    
    .service-desc {
        padding: 20px;
    }
    
    .service-desc h3 {
        font-size: 1.4rem;
    }
    
    .service-desc p {
        font-size: 1rem;
    }
    
    .timeline-item {
        width: 50%;
    }
    
    .timeline-content {
        width: 90%;
        left: 50%;
    }
}