:root {
    --coral-pink: #FF6F61;
    --baby-blue: #ADD8E6;
    --navy-blue: #1A237E;
    --deep-blue: #0D47A1;
    --soft-pink: #FFB6C1;
}


.services-container {
    padding: 60px 0;
    background: #f8f9fa;
}

.main-title {
    color: var(--navy-blue);
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 3px;
    background: var(--coral-pink);
}

.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-header {
    padding: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.pregnancy-header {
    background: linear-gradient(45deg, var(--baby-blue), var(--deep-blue));
}

.postpartum-header {
    background: linear-gradient(45deg, var(--soft-pink), var(--coral-pink));
}

.service-header h3 {
    margin: 0;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.service-header::before {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    padding: 20px;
    border-left: 3px solid var(--baby-blue);
    margin: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: #f8f9fa;
    border-left-color: var(--coral-pink);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--coral-pink);
    border: 3px solid white;
}

.timeline-title {
    color: var(--navy-blue);
    margin-bottom: 15px;
    font-weight: 600;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    color: #555;
}

.service-list li i {
    color: var(--coral-pink);
    margin-right: 10px;
    font-size: 0.8rem;
}

.icon-circle {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-circle i {
    color: white;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .service-card {
        margin-bottom: 30px;
    }
    
    .timeline-item {
        margin: 15px;
        padding: 15px;
    }
}


.main-container {
    padding: 20px 10px;
}

.journey-path {
    position: relative;
    padding-top: 30px;
}

.journey-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: linear-gradient(var(--soft-pink), var(--coral-pink));
    transform: translateX(-50%);
}

.care-card {
    position: relative;
    background: white;
    border-radius: 15px;
    margin-bottom: 25px;
    transform: translateX(0);
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.08);
}

.care-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.care-card::before {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--coral-pink);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.left-card {
    margin-right: 50%;
    padding-right: 25px;
}

.right-card {
    margin-left: 50%;
    padding-left: 25px;
}

.left-card::before {
    right: -7px;
}

.right-card::before {
    left: -7px;
}

.card-content {
    padding: 15px;
    background: white;
    border-radius: 15px;
}

.card-image {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.card-image:hover {
    transform: scale(1.05);
}

.trimester-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--navy-blue);
    color: white;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.card-description {
    color: #666;
    font-size: 1.1rem;
    margin: 10px 0;
    line-height: 1.5;
}

.learn-more-btn {
    background: linear-gradient(to right, var(--coral-pink), var(--soft-pink));
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-size: 0.9rem;
}

.learn-more-btn:hover {
    background: linear-gradient(to right, var(--soft-pink), var(--coral-pink));
    transform: translateY(-2px);
    color: white;
}

@media (max-width: 768px) {
    .left-card, .right-card {
        margin: 0 0 20px 0;
        padding: 0 15px 0 30px;
    }

    .care-card::before {
        left: 0;
    }

    .journey-path::before {
        left: 7px;
    }
}