* {
    font-family: "Ubuntu", sans-serif !important;
}

a {
    font-family: "Ubuntu", sans-serif !important;
}

p {
    font-family: "Ubuntu", sans-serif !important;
}

body {
    cursor: url('/frontend/images/cursor.png') 4 4, auto;
    font-family: "Ubuntu", sans-serif !important;
}

.header-body {
    border-radius: var(--border-radius);
}

@media (max-width: 991px) {
    .header-body {
        border-radius: 30px;
    }
}

#header .header-nav-main.header-nav-main-slide nav>ul>li>span>a.active::before {
    content: "";
    background-color: var(--primary);
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 1px;
    left: 0;
    border-radius: var(--border-radius);
}

#header .header-nav-main nav>ul>li>span>a:not(.active) {
    color: var(--dark) !important;
}


.auth-btns::before {
    content: "";
    background: rgba(0, 0, 0, 0.25);
    width: 1px;
    height: 16px;
    position: absolute;
    display: block;
    top: 50%;
    left: 36%;
    transform: translate3d(0, -50%, 0);
}

/* home page services tabs */
.service-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.service-tabs {
    /* margin-bottom: -10px; */
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    z-index: 2;
    position: relative;
}

.service-tabs .nav-link {
    scroll-snap-align: start;
    flex: 0 0 auto;
    border-radius: 1rem 1rem 0 0;
    background: transparent;
    color: #333;
    margin: 0 0.3rem;
    width: 100px;
    text-align: center;
    padding: 0.7rem 0.5rem;
    box-shadow: none;
    position: relative;
    transition: all 0.3s ease;
}

.service-tabs .nav-link .icon-placeholder {
    width: 30px;
    height: 30px;
    margin: 0 auto 0.4rem;
}

.service-tabs .nav-link.active {
    background: #fff;
    color: #3b82f6;
}

/* Remove triangle for unactive, add for active only */
.service-tabs .nav-link::after {
    display: none;
}

.service-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #fff;
    display: block;
}

.search-box {
    background: #fff;
    padding: 1.5rem 3rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: -2px;
    position: relative;
    z-index: 1;
}

.form-control {
    border-radius: 2rem;
    padding: 0.6rem 1.2rem;
}

.btn {
    padding: 0.6rem 1.5rem;
}

@media (max-width: 576px) {
    .service-tabs-wrapper {
        margin: 0 -1rem;
        padding: 0 1rem;
    }

    .service-tabs {
        justify-content: flex-start !important;
    }

    .service-tabs .nav-link {
        min-width: 90px;
        padding: 0.5rem;
        font-size: 0.8rem;
    }
}

.service-tabs::-webkit-scrollbar {
    display: none;
}


/* services boxes  */
.service-card {
    border: 1px solid #f1f1f1;
    border-radius: 1.5rem;
    text-align: center;
    padding: 3rem 1rem;
    background-color: #fff;
    transition: 0.3s;
    position: relative;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon.orange {
    background-color: #fff4e5;
}

.service-icon.blue {
    background-color: #e6f0ff;
}

.service-label {
    font-weight: 700;
    color: var(--primary-400);
    font-size: 1.1rem;
}

.indicator {
    width: 50px;
    height: 4px;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.indicator.orange {
    background-color: #fdbb4b;
}

.indicator.blue {
    background-color: #74acff;
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.2rem 0.8rem;
    }
}

.custom-owl .owl-nav button {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    background-color: #fff !important;
    color: var(--dark) !important;
    border: 2px solid var(--dark-100) !important;
    border-radius: 50%;
    width: 48px !important;
    height: 48px !important;
    pointer-events: auto !important;
    transition: background-color 0.3s ease !important;
}

.custom-owl .owl-nav button:hover {
    background-color: var(--dark-100) !important;
}
