﻿body {
    font-family: "Plus Jakarta Sans", sans-serif;
    padding-top: 75px;
}

/*---Loader---*/

#globalLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

.logo-spinner-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    z-index: 2;
}

.spinner-ring {
    position: absolute;
    width: 70px;
    height: 70px;
    border: 6px solid #ddd;
    border-top-color: #4a19e5;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

#progressBar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #4a19e5;
    z-index: 9999999;
    transition: width 0.25s ease;
}

#rotatingPlaceholder::placeholder {
    transition: opacity 0.4s ease-in-out;
    opacity: 1;
}

#rotatingPlaceholder.fade::placeholder {
    opacity: 0;
}

/*---Mobile Tabs Section---*/

.mobile-bottom-nav {
    display: none;
}

.hero-img {
    height: auto;
    border-radius: 18px;
}

.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background: #ffffff;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 9999;
}

    .mobile-bottom-nav a {
        text-decoration: none;
        color: #444;
        font-size: 12px;
        font-weight: 600;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-bottom-nav .icon {
        margin-bottom: 2px;
        font-size: 16px;
    }

    .mobile-bottom-nav a.active,
    .mobile-bottom-nav a:hover {
        color: #00956C;
    }

/*---Web Header Section---*/

.jxr-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 12px 20px;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
}

.jxr-container {
    max-width: 1290px;
    margin: auto;
}

.jxr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.jxr-left {
    display: flex;
    align-items: center;
    gap: 50px;
}

.jxr-logo {
    width: 80px;
}

.jxr-menu a {
    text-decoration: none;
    font-size: 16px;
    margin-right: 24px;
    color: #333;
    font-weight: 500;
}

    .jxr-menu a:hover {
        color: #000;
    }

.jxr-middle {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: end;
}

.jxr-location {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #ddd;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fafafa;
    width: 40%;
}

    .jxr-location .ico {
        margin-top: -5px;
        color: rgb(100 96 96);
    }

    .jxr-location .loc-text {
        font-size: 14px;
        color: rgb(129 129 129);
    }

.down {
    font-size: 12px;
    opacity: 0.7;
}

.jxr-search {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fafafa;
    width: 40%;
}

    .jxr-search input {
        border: none;
        outline: none;
        width: 100%;
        background: transparent;
        font-size: 15px;
    }

.search-ico {
    margin-right: 10px;
    opacity: 0.8;
    margin-top: -5px;
}

.jxr-login-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.login-text {
    font-size: 13px;
    font-weight: 500;
    margin-top: 4px;
    color: #333;
}

.jxr-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/*---Mobile Header Section---*/

.jxr-mobile-header {
    background: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
}

.search-box {
    position: relative;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding-left: 40px;
    height: 45px;
    display: flex;
    align-items: center;
}

    .search-box input {
        border: none;
        outline: none;
        width: 100%;
        height: 100%;
        font-size: 15px;
        border-radius: 50px;
    }

.search-icon {
    position: absolute;
    left: 12px;
    font-size: 18px;
    color: #777;
    margin-top: -4px;
}

.hero-section {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}

/*---Search Box Results Section---*/

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #e1e1e1;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    max-height: 360px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
}

.result-item {
    padding: 12px 16px;
    font-size: 15px;
    cursor: pointer;
    color: #333;
    font-weight: 500;
}

    .result-item:hover {
        background: #f3f3f3;
    }

.mobile-search-results {
    position: absolute;
    top: 136px;
    left: 0;
    width: 95%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
    max-height: 280px;
    overflow-y: auto;
    z-index: 9999;
    padding: 10px 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    margin: 0 12px !important;
}

    .mobile-search-results ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-search-results li {
        padding: 10px 18px;
        font-size: 13px;
        border-bottom: 1px solid #f2f2f2;
        cursor: pointer;
        font-weight: 500;
    }

        .mobile-search-results li:hover {
            background: #f8f8f8;
        }

/*---Offers Section---*/

.offers-section {
    width: 100%;
    padding: 30px 16px;
}

.offers-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.slider-container {
    position: relative;
    width: 100%;
}

.offers-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 0;
}

    .offers-wrapper::-webkit-scrollbar {
        display: none;
    }

.offer-card {
    min-width: calc((100% / 3) - 20px);
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.offer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
    z-index: 10;
}

.left-btn {
    left: -10px;
}

.right-btn {
    right: -10px;
}


/*---All Services Section---*/
.all-services-section {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 16px;
    padding-right: 16px;
}

.services-title {
    font-size: 24px;
    font-weight: 700;
}

.services-view-all {
    font-size: 16px;
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px;
}

.service-box {
    background: #fff;
    border-radius: 14px;
    padding: 18px 10px;
    text-align: center;
    border: 1px solid #eee;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .service-box img {
        width: 50px;
        height: 50px;
        object-fit: contain;
        margin: 0 auto;
    }

    .service-box p {
        margin-top: 10px;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

.services-mobile {
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

    .services-mobile::-webkit-scrollbar {
        display: none;
    }

.service-box-mobile {
    min-width: 110px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 15px 10px;
    text-align: center;
    cursor: pointer;
}

    .service-box-mobile img {
        width: 45px;
        height: 45px;
        object-fit: contain;
    }

    .service-box-mobile p {
        margin-top: 8px;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/*---Your Home, Our Expertise Section---*/
.services-section {
    padding: 30px 16px;
}

.services-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    height: 480px;
    background-size: cover;
    background-position: center;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

    .service-card .overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.15));
        inset: 0;
    }

    .service-card .content {
        position: absolute;
        bottom: 10px;
        padding: 0 25px;
        color: #fff;
        z-index: 2;
    }

    .service-card .title {
        font-size: 24px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .service-card .desc {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        opacity: 0.85;
    }

/*---Footer---*/
.jxr-footer {
    background: #f6f6f6;
    padding: 50px 90px 5px;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: #333;
}

.footer-top {
    max-width: 1300px;
    margin: auto;
}

.footer-logo img {
    width: 100px;
    margin-bottom: 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    color: #333;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 15px;
    opacity: 0.9;
}

    .footer-col a:hover {
        opacity: 1;
    }

.social-icons a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50%;
    margin-right: 8px;
    font-size: 16px;
    color: #000;
}

.jxr-footer hr {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #ddd;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
}

/*---Trending Services---*/
.recent-services {
    padding: 20px 16px;
    font-family: "Plus Jakarta Sans", sans-serif;
    overflow: visible !important;
}

.container-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

    .container-title h2 {
        font-size: 24px;
        font-weight: 700;
        margin: 0;
    }

    .container-title .view-all {
        color: #007bff;
        text-decoration: none;
        font-weight: 600;
    }


.recent-scroll {
    display: block;
    white-space: nowrap;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    width: 100%;
    scrollbar-width: none;
}

    .recent-scroll::-webkit-scrollbar {
        display: none;
    }

.recent-card {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
    background: #fff;
    border-radius: 20px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    padding: 12px;
    margin-right: 16px;
    box-sizing: border-box;
    margin-top: 5px;
    cursor: pointer;
}

    .recent-card img.service-img {
        width: 100%;
        height: 150px;
        border-radius: 16px;
        object-fit: cover;
        margin-bottom: 10px;
    }

    .recent-card h4 {
        font-size: 16px;
        font-weight: 700;
        margin: 0 0 6px;
    }

.free-badge {
    background: #e2efe2;
    color: #0b8a0b;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 10px;
    display: inline-block;
}

/*---Startup and Playstore Section---*/
.startup-section {
    padding: 30px 16px;
}

.startup-img {
    height: auto;
    border-radius: 18px;
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

.app-section {
    width: 100%;
    padding: 100px 16px 20px;
    position: relative;
}

.app-wrapper {
    background: #3E6AF0;
    border-radius: 30px;
    padding: 60px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: visible;
}

.app-left {
    width: 55%;
    color: #fff;
}

    .app-left h2 {
        font-size: 44px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .app-left p {
        font-size: 16px;
        opacity: 0.85;
        margin-bottom: 25px;
        max-width: 90%;
    }

.app-buttons img {
    width: 160px;
    margin-right: 12px;
}

.app-right {
    width: 55%;
    text-align: right;
}

.phone-combined {
    width: 95%;
    max-width: 457px;
    position: absolute;
    right: 52px;
    top: -97px;
}

@media (max-width: 480px) {
    .mobile-search-results {
        top: 136px;
    }
}

@media (max-width: 334px) {
    .mobile-search-results {
        top: 153px;
    }
}

@media only screen and (min-device-width: 300px) and (max-device-width: 480px) {
    .jxr-header {
        display: none !important;
    }

    .jxr-mobile-header {
        display: block !important;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-top: 0px;
    }

    .hero-section {
        margin-top: 10rem !important;
        margin-bottom: 3rem !important;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 768px) {
    .jxr-header {
        display: none !important;
    }

    .jxr-mobile-header {
        display: block !important;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-top: 0px;
    }

    .hero-section {
        margin-top: 10rem !important;
        margin-bottom: 3rem !important;
    }

    .offer-card {
        min-width: calc(50% - 20px);
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .services-title {
        font-size: 18px;
    }

    .services-view-all {
        font-size: 14px;
    }

    .offers-title {
        font-size: 18px;
    }

    .all-services-section {
        margin-top: 10px;
        margin-bottom: 0px;
    }

    .app-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .app-left {
        width: 100%;
    }

    .app-right {
        margin-top: 0px;
    }

    .phone-combined {
        display: none;
    }

    .app-section {
        padding: 0px 16px;
    }

    .app-left h2 {
        font-size: 35px;
    }

    .app-left p {
        font-size: 14px;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .jxr-header {
        display: block !important;
    }

    .jxr-mobile-header {
        display: none !important;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .offer-card {
        min-width: calc((100% / 3) - 20px);
    }

    .services-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .app-left h2 {
        font-size: 34px;
    }

    .phone-combined {
        display: none;
    }

    .app-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .app-section {
        padding: 0px 16px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1366px) {
    .jxr-header {
        display: block !important;
    }

    .jxr-mobile-header {
        display: none !important;
    }

    .offer-card {
        min-width: calc((100% / 3) - 20px);
    }

    .app-wrapper {
        padding: 55px 40px;
    }

    .app-left h2 {
        font-size: 40px;
    }

    .phone-combined {
        width: 88%;
        max-width: 446px;
        top: -105px;
    }
}

@media only screen and (min-width: 1025px) {
    .mobile-bottom-nav {
        display: none !important;
    }

    .services-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media only screen and (max-width: 1024px) {
    .jxr-desktop-only {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 670px) and (max-width: 1015px) {

    .jxr-middle {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
    }

    .jxr-search {
        width: 48% !important;
        min-width: 0 !important;
        padding: 10px 12px !important;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .jxr-location {
        width: 48% !important;
        min-width: 0 !important;
        padding: 10px 12px !important;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .jxr-left,
    .jxr-right {
        flex-shrink: 0 !important;
    }

    .ico,
    .search-ico {
        flex-shrink: 0;
    }
}

@media (min-width: 769px) {

    .user-dropdown-wrapper {
        position: relative;
    }

    .user-dropdown {
        position: absolute;
        top: 55px;
        right: 0;
        width: 170px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 4px 18px rgba(0,0,0,0.15);
        padding: 10px 0;
        display: none;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.25s ease;
        z-index: 99999;
    }

        .user-dropdown.show {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        .user-dropdown a {
            display: block;
            padding: 10px 18px;
            font-size: 14px;
            color: #333;
            text-decoration: none;
            font-family: "Plus Jakarta Sans", sans-serif;
        }

            .user-dropdown a:hover {
                background: #f5f5f5;
            }
}

@media only screen and (max-width: 480px) {
    .offer-card {
        min-width: 100%;
    }

    .offers-section {
        padding: 0px 16px;
    }

    .offers-title {
        font-size: 14px;
    }

    .services-grid {
        display: none !important;
    }

    .services-title {
        font-size: 18px;
        font-weight: 700;
    }

    .services-view-all {
        font-size: 13px;
        font-weight: 600;
    }

    .offers-title {
        font-size: 18px;
    }

    .all-services-section {
        margin-top: 10px;
        margin-bottom: 10px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .app-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .app-left {
        width: 100%;
    }

        .app-left h2 {
            font-size: 28px;
        }

        .app-left p {
            font-size: 14px;
        }

    .app-buttons img {
        width: 140px;
        margin-bottom: 8px;
    }

    .app-right {
        margin-top: 0px;
    }

    .phone-combined {
        display: none;
    }

    .app-section {
        padding: 0px 16px;
    }
}

@media screen and (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .social-icons a {
        width: 38px;
        height: 38px;
    }

    .footer-bottom {
        font-size: 13px;
        line-height: 20px;
    }

    .jxr-footer {
        padding: 30px 20px 5px;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .footer-col a {
        font-size: 14px;
    }
}

/*--Trending Services--*/

@media (min-width:1200px) {
    .recent-card {
        width: 320px;
    }
}

@media (min-width:1025px) and (max-width:1199px) {
    .recent-card {
        width: 300px;
    }
}

@media (min-width:768px) and (max-width:1024px) {
    .recent-card {
        width: 46%;
        max-width: 420px;
    }
}

@media (max-width:767px) {
    .recent-card {
        width: 75%;
    }

    .container-title h2 {
        font-size: 18px;
    }

    .container-title .view-all {
        font-size: 13px;
    }
}
