/* Services List Block Styles */
.services-list-section {
    color: var(--text-color, #FFFFFF);
    border-radius: 16px;
    margin: 40px 0;
    width: 100%;
}

.services-list-container {
    margin: 0 auto;
    width: 100%;
}

/* Header */
.services-list-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 40px;
}

.services-list-title {
    font-size: clamp(36px, 7vw, 50px);
    font-weight: bold;
    margin: 0 0 20px 0;
    color: var(--text-color);
    line-height: 1.2;
}

.services-list-description {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
    color: var(--text-color);
}

/* Categories Grid */
.services-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 78px;
    margin-bottom: 40px;
}



.category-header {
    margin-bottom: 25px;
}

.category-name {
    font-size: 12px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: var(--text-color);
}

.category-subtitle {
    font-size: 14px;
    opacity: 0.7;
    color: var(--text-color);
    margin-bottom: 0 !important;

}

/* Service Items */
.category-services {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-item {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}


.service-main {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap:8px
}

/* Toggle Arrow Button */
.service-toggle {
    /*border: none;*/
    /*color: var(--text-color);*/
    /*cursor: pointer;*/
    /*padding: 8px;*/
    /*transition: all 0.2s ease;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: center;*/
    /*background-color: #384897;*/
    transform: rotate(180deg);
    width: 24px;
    height: 24px;
}

.category-subtitle-container{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.service-toggle[aria-expanded="true"]{
    transform: rotate(0deg);
}
.service-arrow {
    transition: transform 0.3s ease;
}

/* Service Info */
.service-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-right: 15px;
}

.service-name {
    font-size: 16px;

    color: var(--text-color);
}

.service-price {
    font-size: 15px;
    font-weight: bold;
    color: white;
	white-space:nowrap;
}

/* Add to Cart Button */
.service-add-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    background-color: #03FE07;
    font-weight: bold;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Service Description */
.service-description {
    margin-top: 8px;
    animation: slideDown 0.3s ease-out;
}

.service-description p {
    margin: 15px 0 0 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.8;
    color: var(--text-color);
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        padding-bottom: 18px;
    }
}

/* Footnote */
.services-footnote {
    font-size: 12px;
    opacity: 0.6;
    text-align: center;
    margin-top: 40px;
    font-style: italic;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-list-section {
        padding: 40px 15px;
        margin: 20px 0;
    }

    .services-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-list-header {
        padding: 30px 20px;
    }

    .services-list-title {
        font-size: 28px;
    }



    .service-main {
        padding: 15px;
    }

    .service-description {
        padding: 0 15px 15px 45px;
    }

    .service-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-right: 10px;
    }
}

@media (max-width: 480px) {
    .service-main {
        padding: 12px;
    }

    .service-toggle {
        margin-right: 10px;
    }

    .service-description {
        padding-left: 35px;
    }

    .category-name {
        font-size: 18px;
    }
}






/* High contrast mode */
@media (prefers-contrast: high) {
    .service-category {
        border-width: 3px;
    }

    .service-item {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .service-arrow,
    .service-add-btn,
    .service-item {
        transition: none;
    }

    .service-description {
        animation: none;
    }

    .service-add-btn:hover {
        transform: none;
    }
}