#our-services-section {
    font-family: 'Poppins', sans-serif;
    background-color: white; 
    padding: 60px 0;
}

#our-services-container {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

#services-filter-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px ;
    margin-bottom: 30px;
}

#services-filter-container .filter-btn {
    background-color: #f5eaf0;
    color: black;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 20px; 
    font-weight: 500; 
    transition: all 0.3s ease;
}

#services-filter-container .filter-btn.active {
    background-color: #d9538d;
    color: white;
}

#services-filter-container .filter-btn:not(.active):hover {
    background-color: #e8d8e0;
}

#services-carousel-wrapper {
    background-color: #fbeff3;
    padding: 40px 0;
    text-align: center;
}

#services-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

#services-carousel-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

#services-carousel-slider .carousel-card {
    min-width: 100%;
    box-sizing: border-box;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services-carousel-slider .service-table {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto; 
    background-image: linear-gradient(to right, white 70%, #f7f5fa 70%);

    height: auto;
    min-height: 420px;
    
    align-content: center;
    border-radius: 8px;
    overflow: hidden; 
}

#services-carousel-slider .service-table .table-row {
    display: contents;
}

#services-carousel-slider .service-table .table-row:not(:last-of-type) .name-cell {
    border-bottom: 1px solid #f2eaf0;
}

#services-carousel-slider .service-table .table-cell {
    padding: 20px 40px; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    
    font-size: 17px; 
    
    color: #333;
}

#services-carousel-slider .service-table .price-cell {
    background-color: transparent; 
    font-weight: 700; 
    white-space: nowrap;
    text-align: right;
}

#services-carousel-slider .service-table .header-cell + .price-cell {
    text-align: center; 
    font-weight: 600; 
}

#services-carousel-slider .service-table .header-cell .main-title {
    font-weight: 600;
    font-size: 18px;
}

#services-carousel-slider .service-table .header-cell .subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 400;
}

#services-carousel-container .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 30px;
    font-weight: bold;

    color: #d9538d; 
    
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s ease; 
}

#services-carousel-container .carousel-arrow:hover {
    opacity: 0.7;
}

#services-carousel-container .carousel-arrow.prev { left: 10px; }
#services-carousel-container .carousel-arrow.next { right: 10px; }

#services-carousel-dots {
    text-align: center;
    margin-top: 25px;
    display: inline-block; 
    background-color: white;
    padding: 8px 12px; 
    border-radius: 30px; 
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.07);
}

#services-carousel-dots .dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin: 0 4px;
    background-color: #d1b5c2;
    border-radius: 50%;
    cursor: pointer;
}

#services-carousel-dots .dot.active {
    background-color: #d9538d;
}

@media (max-width: 768px) {
    #our-services-section { padding: 40px 0; }
    #services-filter-container .filter-btn { font-size: 14px; padding: 8px 16px; }
    #services-carousel-slider .carousel-card { padding: 0 45px; }

    #services-carousel-container .carousel-arrow { 
        font-size: 28px;
        padding: 10px;
    }
    #services-carousel-container .carousel-arrow.prev { left: 5px; }
    #services-carousel-container .carousel-arrow.next { right: 5px; }

    #services-carousel-slider .service-table {
        grid-template-columns: 1fr;
        background-image: none;
        background-color: white;
        height: auto;
  
        min-height: 600px; 
        
        padding-top: 25px;
        padding-bottom: 25px;
    }

    #services-carousel-slider .service-table .table-cell {
        text-align: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    #services-carousel-slider .service-table .table-row:not(:last-of-type) .name-cell {
        border-bottom: none;
    }
    
    #services-carousel-slider .service-table .name-cell {
        font-size: 17px;
        font-weight: 500;
        padding-top: 15px; 
    }

    #services-carousel-slider .service-table .price-cell {
        font-size: 17px;
        font-weight: 700;
        padding-top: 8px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f2eaf0;
    }

    #services-carousel-slider .service-table .table-row:last-of-type .price-cell {
        border-bottom: none;
    }

    #services-carousel-slider .service-table .header-cell .main-title {
        font-size: 20px; 
        font-weight: 700;
        line-height: 1.3; 
    }
    
    #services-carousel-slider .service-table .header-cell .subtitle {
        font-size: 14px;
        margin-top: 4px;
        font-weight: 400;
    }

    #services-carousel-slider .service-table .header-cell + .price-cell {
        border-bottom: none;
        padding-bottom: 25px; 
    }
}