.fade:not(.show) {
	display: none;
}

.service-modal.show {
	position: fixed;
	bottom: 64px;
	width: 100%;
	left: 0;
	z-index: 1038;
}

.service-modal .modal-dialog {
    max-width: 600px;
    transition: transform 0.3s ease-out;
}

.modal-dialog-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(250, 250, 250, 0.84);
}

.service-modal .modal-content {
    border-radius: 16px;
    border: none;
	box-shadow: 0px 4px 7.7px 6px #00000017;
    direction: rtl;
	margin: 0 31px;
    background: #fff;
	position: relative;
}

.service-modal .modal-title {
	font-family: Ploni ML v2 AAA;
	font-weight: 700;
	font-size: 21px;
	leading-trim: Cap height;
	line-height: 1;
	letter-spacing: 0%;
	text-align: center;
	vertical-align: middle;
	padding: 34px 0 0px;
}

.service-modal .btn-close {
    position: absolute;
	width: 32px;
	height: 32px;
	top: 10px;
	right: 10px;
	color: #000;
	background: none;
	border: none;
	padding: 0;
	font-weight: 700;
}

.service-modal-grid {
    max-width: 100%;
}

.service-modal-item {
    display: block;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    color: inherit;
}

.service-modal-item .service-icon-container {
    margin-bottom: 0.75rem;
}

.service-modal-item .service-icon-circle {
    width: 83px;
    height: 83px;
    background-color: #D9D9D9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-modal-item .service-icon {
    width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	max-width:65px;
	max-height:65px;

}

.service-modal-title {
	font-family: Ploni ML v2 AAA;
	font-weight: 400;
	font-size: 17px;
	leading-trim: Cap height;
	line-height: 13px;
	letter-spacing: 0%;
	text-align: center;
	vertical-align: middle;
	color: #000000;
    margin: 0;
}

/* Service Modal Trigger Button */
.service-modal-btn {
    position: fixed;
    top: 50%;
    left: 0;
    width: 95px;
    background: #F59100;
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1140;
    opacity: 1 !important;
    transform: translateY(-50%) !important;
	text-align: center;
	padding: 37px 15px;
}

.service-modal-btn:hover {
	background-color: #F59100;
    text-decoration: none;
}

.service-modal-btn svg {
	width: 63px;
	height: 63px;
	display: block;
	margin: 0 auto 18px;
}

@media (min-width: 768px) {
    .service-modal.fade .modal-dialog {
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
    }
    
    .service-modal.show .modal-dialog {
        transform: translateX(50px);
    }
    
    /* Position modal on left side */
    .service-modal .modal-dialog {
		padding: 1px;
        margin-left: 0;
        margin-right: auto;
        max-width: 600px;
    }
}

/* Mobile Animation - Slide from bottom */
@media (max-width: 767.98px) {
    .service-modal .modal-dialog {
        margin: 0;
        max-width: 100%;
        height: 100vh;
        display: flex;
        align-items: flex-end;
    }
    
    .service-modal .modal-content {
        border-radius: 20px 20px 0 0;
        max-height: 95vh;
        overflow-y: auto;
    }

    .service-modal-item .service-icon-circle {
        width: 65px;
        height: 65px;
    }
    
    .service-modal-btn {
        display: none !important;
    }

	.service-modal-item .service-icon-container {
		margin-bottom: 15px;
	}

	.service-modal-grid {
		padding: 37px;
		padding-top:10px;
	}

	.service-modal-title {
		font-weight:600;
	}
	.service-modal-item .service-icon {
		max-width:50px;
		max-height:50px;
	}
}

[dir="rtl"] .service-modal .modal-header,
.service-modal[dir="rtl"] .modal-header {
    text-align: right;
}

[dir="rtl"] .service-modal .btn-close,
.service-modal[dir="rtl"] .btn-close {
    margin-left: 0;
    margin-right: auto;
}

.mobile-modal-trigger.self-service-item {
    position: relative;
}

@media (min-width: 768px) {
    .mobile-modal-trigger.self-service-item::after {
        display: none;
    }
}

@media (min-width: 992px) {
	.service-modal.show {
		bottom: 0;
		height: 100%;
		padding: 0 !important;
		display: flex !important;
		align-items: center;
	}

	.service-modal .modal-content {
		padding-left: 50px;
		margin: 0;
	}

	.service-modal .modal-title {
		padding: 20px 0 10px;
		margin: 0;
	}

	.service-modal-grid {
		padding-inline: 40px 20px;
		padding-bottom: 30px;
	}

	.service-modal.show, .floating--active {
		z-index: 1100;
	}

}

.service-modal-item {
  border:none;
  background-color:transparent;
}

.cb-launcher-ellipse .launcher-text {
    overflow: visible !important;
}
  .service-modal-item {
    display: flex;
    flex-direction: column; /* Stack icon and text vertically */
    align-items: center;    /* Center them horizontally */
    text-align: center;     /* Ensure text inside the title is centered */
    justify-content: center;
    width: 100%;
}

.service-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 10px; /* Optional: adds space between icon and text */
}

.service-icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
}