.primaryBgColor {
    background: #7568be !important;
}

.mycard {
    transition: background-color 0.3s ease;
    background-color: #ffffff;
    border: 3px solid #cccccc padding 3px;
}

.mycard:hover {
    background-color: #eee;
}

.wizard>.steps>ul li {
    margin-left: 20px;
}

.wizard>.steps a .number,
.wizard>.steps a:hover .number,
.wizard>.steps a:active .number {
    margin-left: 10px;
}

.error {
    color: red;
    margin-top: 3px;
    margin-bottom: 5px;
}

.number_of_unreadNotifications {
    position: absolute;
    left: 1px;
    top: 0px;
    color: red;
}

.dropdown>.main-notification-list {
    width: 300px !important;
}

.btn {
    margin-top: 5px;
}

.star-rating {
    direction: rtl;
    font-size: 2rem;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating label {
    color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}

.star-rating input[type="radio"]:checked~label {
    color: #ffc107;
    /* Bootstrap warning yellow */
}

.star-rating label:hover,
.star-rating label:hover~label {
    color: #ffc107;
}


/* Adjust height of editable area */

.ck-editor__editable {
    min-height: 200px;
    width: 100%;
}


/* Optional: control max width */

.ck-editor {
    max-width: 100%;
}

.warning-anim {
    animation: pulseWarning 1.5s infinite;
}

@keyframes pulseWarning {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.swiper-wrapper,
.swiper-slide {
    height: 300px !important;
}

.hero-section {
    height: 314px;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}


/* FULL overlay covers whole slider */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.z-1 {
    z-index: 2 !important;
}

.swiper-slide img {
    object-fit: cover;
    width: 400px;
    height: 100%;
}

.scroll-down-btn {
    position: fixed;
    bottom: 20px;
    right: 0;
    transform: translateX(-50%);
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .carousel-inner {
    padding-top: 0;
}

.sidebarpage .nav-link.active {
    border-radius: 6px;
}

.sidebarpage .nav-link.active i {
    color: black !important;
}


/* Ensure all nav-links align correctly */

.sidebarpage .nav-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px;
}


/* Left container: icon + text */

.sidebarpage .left-group {
    display: flex;
    align-items: center;
    gap: 8px;
}


/* Rotate arrow on collapse open */

.sidebarpage .nav-link[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}


/* Make chevron consistent */

.sidebarpage .bi-chevron-down {
    transition: 0.2s ease;
}


/* Icons aligned uniformly */

.sidebarpage .nav-link i {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.admin-slider-page .image-container {
    width: 200px;
    height: 53px;
}

.admin-slider-page .slider-image {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

div.tagsinput span.tag {  
    border: none  !important;
    display: block  !important;
    float: left  !important;
    padding: 5px  !important;
    text-decoration: none;
    background: #5F53A4 !important;
    color: #fff  !important;
    margin-right: 5px  !important;
    font-size: 16px  !important;
    font-family: 'Cairo'  !important;
    border-radius: 5px  !important;
}


div.tagsinput span.tag a {
    font-weight: 700  !important;
    color: #fff !important;
    text-decoration: none  !important;
    font-size: 11px  !important;
    margin: 0px 5px 0px 5px  !important;
}

@media screen and (max-width: 768px) {
    .header_mgs {
        font-size: 10px !important;
    }
    .page_title {
        font-size: 18px;
    }
    .services-box {
        padding: 0px 40px;
    }
    .services .card-title {
        font-size: 17px;
    }

    .hero-img {
    width: auto !important;
}



}

.home-blog .nice-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s ease;
    border: 1px solid #f1f1f1;
}

.home-blog .nice-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0px 12px 28px rgba(0, 0, 0, 0.1);
}

.nice-blog-image-wrapper {
    display: block;
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.nice-blog-image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-blog .nice-blog-card:hover .nice-blog-image {
    transform: scale(1.07);
}

.nice-blog-content {
    padding: 18px 20px 22px;
}

.nice-blog-title {
    font-weight: 700;
    font-size: 1.15rem;
    color: #111;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog .nice-blog-card:hover .nice-blog-title {
    color: #0d6efd;
}

.home-blog .nice-blog-snippet {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.55;
    margin: 0;
    height: 48px;
    overflow: hidden;
}

.register-page .wizard>.steps>ul li {
    margin-left: 20px;
}

.register-page.wizard>.steps a .number,
.register-page.wizard>.steps a:hover .number,
.register-page .wizard>.steps a:active .number {
    margin-left: 10px;
}

.error {
    color: red
}

a {
    text-decoration: none
}

.wizard>.actions>ul>li.disabled {
    display: none;
}

.wizard>.actions>ul>li.disabled {
    display: none;
}

.register-page .actions>ul {
    display: flex;
}

.register-page .actions>ul>li {
    flex: 1;
    margin-right: 20px;
}

.register-page .wizard>.actions a:hover,
.register-page .wizard>.actions a:active,
.register-page .wizard>.actions a {
    background-color: #5f53a4 !important
}

.register-page .wizard .steps {
    display: none;
}

.register-page h4 {
    display: none !important
}

.home-show-request-service .wizard>.steps>ul li {
    margin-left: 20px;
}

.home-show-request-service .wizard>.steps a .number,
.home-show-request-service .wizard>.steps a:hover .number,
.home-show-request-service .wizard>.steps a:active .number {
    margin-left: 10px;
}

.home-show-request-service .error {
    color: red
}

.inbox-page .card {
    width: 400px;
    border-radius: 10px;
    border: none
}

.inbox-page .top {
    background-color: #eee;
    padding: 5px;
    padding-left: 20px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px
}

.inbox-page .bottom {
    padding: 10px;
    background-color: #fff;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px
}

.services-home-page #loader {
    transition: opacity 0.3s ease;
}

.services-home-page #loader p {
    font-size: 0.95rem;
    color: #0d6efd;
}

.mainhomepage #loader {
    transition: opacity 0.3s ease;
}

.mainhomepage #loader p {
    font-size: 0.95rem;
    color: #0d6efd;
}

.header_mgs {
    font-size: 14px;
}


/* Empty Offer State Styling */

.empty-state-icon {
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%,
    100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.empty-state-icon i {
    transition: color 0.3s ease;
}

.card:hover .empty-state-icon i {
    color: #7568be !important;
}


/* Info Cards Hover Effect */

.bg-light.rounded {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.bg-light.rounded:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}


/* Button Enhancements */

.btn-primary {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(117, 104, 190, 0.3);
}


/* Offer Cards Styling */

.badge {
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
}


/* Info Cards in Offer Section */

.bg-light.rounded.h-100 {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.bg-light.rounded.h-100:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}


/* Smooth icon animations */

.mdi {
    transition: transform 0.3s ease;
}

.bg-light.rounded:hover .mdi {
    transform: scale(1.1);
}


    /*force LTR */
    .phone_align_left{
        direction: ltr !important;
        text-align: left !important;
    }