﻿/* ================= SEARCH BOX ================= */
.search-box {
    background: #ffffff;
    padding:10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* ================= TABS ================= */
.search-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

    .search-tabs li {
        padding: 10px 22px;
        border-radius: 30px;
        background: #f1f1f1;
        font-weight: 600;
        cursor: pointer;
        white-space: nowrap;
        user-select: none;
        transition: background 0.3s ease, color 0.3s ease;
    }

        .search-tabs li:hover {
            background: #e6e6e6;
        }

        .search-tabs li.active {
            background: #0d6efd;
            color: #ffffff;
        }

/* ================= SEARCH FIELDS ================= */
.search-fields {
    display: flex;
    gap: 15px;
    align-items: center;
}

    .search-fields .form-control {
        height: 56px;
        border-radius: 14px;
        font-size: 15px;
        padding: 0 15px;
    }

/* ================= SEARCH BUTTON ================= */
.btn-search {
    background: #0d6efd;
    color: #ffffff;
    border: none;
    padding: 0 38px;
    height: 56px;
    border-radius: 16px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.3s ease, transform 0.1s ease;
}

    .btn-search:hover {
        background: #0b5ed7;
    }

    .btn-search:active {
        transform: scale(0.97);
    }

/* ================= SELECT2 (DROPDOWN FIX) ================= */
.select2-container {
    width: 100% !important;
    z-index: 10000;
}

.select2-container--default .select2-selection--single {
    height: 56px;
    border-radius: 14px;
    border: 1px solid #ced4da;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection__rendered {
    line-height: 56px;
    padding-left: 15px;
}

.select2-dropdown {
    z-index: 10001 !important; /* 🔥 dropdown never hides */
}

/* ================= TABLET ================= */
@media screen and (max-width: 991px) {
    .search-box {
        padding: 20px;
        margin: 0 20px;
    }

    .search-tabs {
        gap: 10px;
    }

        .search-tabs li {
            padding: 8px 18px;
            font-size: 14px;
        }
}

/* ================= MOBILE ================= */
@media screen and (max-width: 768px) {

    /* Tabs wrap – no cut */
    .search-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

        .search-tabs li {
            flex: 1 1 45%;
            text-align: center;
            font-size: 14px;
        }

    /* Fields stack */
    .search-fields {
        flex-direction: column;
        gap: 12px;
    }

        .search-fields .form-control {
            width: 100%;
            height: 50px;
            font-size: 14px;
        }

    .btn-search {
        width: 100%;
        height: 50px;
        border-radius: 12px;
    }
}

/* ================= SMALL MOBILE ================= */
@media screen and (max-width: 480px) {
    .search-tabs li {
        font-size: 13px;
        padding: 7px 12px;
    }

    .search-box {
        margin: 0 10px;
    }
}
.card-line-animate {
    position: relative;
    padding: 15px;
}

    /* animated border layer */
    .card-line-animate span {
        position: absolute;
        background: #2b7cff;
        z-index: 1;
        pointer-events: none;
    }

/* content layer */
.search-box {
    position: relative;
    z-index: 5;
    background: #fff;
    padding: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}


    /* TOP */
    .card-line-animate .line-top {
        top: 0;
        left: 0;
        height: 3px;
        width: 0;
        animation: topLine 4s linear infinite;
    }

    /* RIGHT */
    .card-line-animate .line-right {
        top: 0;
        right: 0;
        width: 3px;
        height: 0;
        animation: rightLine 4s linear infinite;
        animation-delay: 1s;
    }

    /* BOTTOM */
    .card-line-animate .line-bottom {
        bottom: 0;
        right: 0;
        height: 3px;
        width: 0;
        animation: bottomLine 4s linear infinite;
        animation-delay: 2s;
    }

    /* LEFT */
    .card-line-animate .line-left {
        bottom: 0;
        left: 0;
        width: 3px;
        height: 0;
        animation: leftLine 4s linear infinite;
        animation-delay: 3s;
    }

/* ================= KEYFRAMES ================= */

@keyframes topLine {
    0% {
        width: 0;
    }

    25% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

@keyframes rightLine {
    0% {
        height: 0;
    }

    25% {
        height: 100%;
    }

    100% {
        height: 100%;
    }
}

@keyframes bottomLine {
    0% {
        width: 0;
    }

    25% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

@keyframes leftLine {
    0% {
        height: 0;
    }

    25% {
        height: 100%;
    }

    100% {
        height: 100%;
    }
}


.city-wrapper {
    position: relative;
    width: 100%;
}

    .city-wrapper .city {
        width: 100%;
        padding-left: 40px; /* Mic ke liye space */
        padding-right: 40px; /* GPS ke liye space */
    }

    /* Common icon style */
    .city-wrapper img {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height:30px;
        cursor: pointer;
        opacity: .9;
    }

    /* Mic - left */
    .city-wrapper .mic-icon {
        right:45px;
    }

    /* GPS - right */
    .city-wrapper .gps-icon {
        right: 10px;
    }
.serviceType {
    width: 50%; /* Desktop */
}

/* Mobile = full width */
@media(max-width:768px) {
    .serviceType {
        width: 100% !important;
    }
}

.contact-area {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Mobile view — 768px se chhota screen */
@media (max-width: 768px) {
    .contact-area {
        flex-direction: column; /* row → column */
    }

        .contact-area .single-contact {
            width: 100%; /* full width */
        }
}
