@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&family=Figtree:ital,wght@0,300..900;1,300..900&family=Outfit:wght@100..900&family=Quicksand:wght@300..700&display=swap");

body {
    font-family: "Figtree" !important;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    background-color: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.error {
    position: relative;
    padding: 1rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    width: 100%;
}

.error-msg {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* header section  */

.header-section-search-page img {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 99vh;
    background-position: center center;
}

/* search filter left sude section  */
.left-right-section .row {
    display: flex;
    margin-bottom: 3rem;
    /* border: 10px solid blue; */
}
.search-filter {
    margin: 1rem 0 0 2rem;
}
.divider {
    border-right: 3px solid #808080;
    margin: 4rem 0 1rem 2rem;
}

.search-filter .fa-solid {
    float: left;
    margin: 6px 10px 0 0;
    padding-bottom: 20px;
}

/* Custom input range */
.range {
    margin-bottom: 20px;
    margin-top: 60px;
}
.range__content {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
}

.range__slider {
    width: 100%;
    height: 9px;
    background-color: #ece7f9;
    border-radius: 4rem;
    box-shadow: 0 4px 12px hsla(256, 72%, 24%, 0.2);
    overflow: hidden;
}

.range__slider-line {
    width: 100%;
    height: 100%;
    background: #1e40af;
    position: relative;
}

.range__thumb {
    width: 15px;
    height: 15px;
    background-color: #1e40af;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(41, 17, 105, 0.2);
    position: absolute;
}

/* Value input range */
.range__value {
    width: 45px;
    height: 45px;
    background: #1e40af;
    position: absolute;
    top: -57px;
    left: -14px;
    border-radius: 2rem 2rem 2rem 0.25rem;
    transform: rotate(-45deg);
    display: grid;
    place-items: center;
}

.range__value-number {
    transform: rotate(45deg);
    color: #ffffff;
    font-size: 14px;
}

/* Default input range */
.range__input {
    appearance: none;
    width: 100%;
    height: 16px;
    position: absolute;
    opacity: 0;
}

.range__input::-webkit-slider-thumb {
    appearance: none;
    width: 32px;
    height: 32px;
}

.range__input::-webkit-slider-thumb:hover {
    cursor: pointer;
}

.filter-box {
    background-color: #ffffff;
    box-shadow: 2px 2px 7px 7px rgba(0, 0, 0, 0.25);
    padding: 20px;
    /* border: 3px solid red; */
}
.form-field {
    padding: 13px;
    border: 2px solid #1e40af;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 5px;
    margin-top: 5px;
    /* border: 3px solid red; */
}
.search-filter-title {
    margin-bottom: 20px;
    /* border: 3px solid red; */
}

.col-sm {
    width: 30%;
    height: fit-content;
    position: sticky;
    top: 0px !important;
}
.search-filter-btn {
    width: 100%;
    padding: 7px;
    background-color: transparent;
    border: 2px solid #1e40af;
    color: #1e40af;
    font-size: 20px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.search-filter-btn:hover {
    background-color: #1e40af;
    border: 2px solid #1e40af;
    color: #ffffff;
}

/* ravi */
.col-lg {
    width: 70%;
    margin-right: 4rem;
    height: 100%;
    /* border: 5px solid red; */
}
.result-title h2 {
    padding: 1rem 1.9rem;
    /* border: 3px solid red; */
}

.results {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    width: 100%;
    row-gap: 30px;
    margin-left: 2rem;
    column-gap: 20px;
    /* border: 5px solid red; */
}

.result-box {
    background-color: #ffffff;
    box-shadow: 3px 3px 8px 8px rgba(0, 0, 0, 0.25);
    padding: 1rem;
    width: 30%;
    /* border: 3px solid blue; */
    position: relative;
    min-height: 200px;
    max-height: 350px;
}
.result-box .logo-feature-image {
    width: 100%;
    height: 37%;
}
.result-box .logo-feature-image img {
    width: 100%;
    height: 100%;
    /* border: 3px solid blue; */
    border-radius: 10px;
    box-shadow: 2px 2px 4px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.result-box h2 {
    padding: 12px 0;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.1;
    /* border: 3px solid red; */
    white-space: nowrap; /* Prevents the text from wrapping onto multiple lines */
    overflow: hidden; /* Hides the overflow content */
    text-overflow: ellipsis; /* Adds the ellipsis (...) */
    width: auto;
}

.location,
.phone {
    display: flex;
    /* border: 3px solid blue; */
}

.location {
    min-height: 20%;
    max-height: 40%;
    margin-bottom: 5px;
}

.phone {
    height: 8%;
    margin-bottom: 5px;
}

.location img {
    width: 9%;
    position: relative;
    right: 6px;
    height: 13%;
    top: 3px;
    padding-left: 5px;
}
.phone img {
    width: 9%;
    position: relative;
    right: 6px;
    height: 50%;
    top: 3px;
    padding-left: 5px;
}

.location-title,
.phone-title {
    font-size: 12px;
}

.link-icons {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 18px;
    padding-top: 10px;
    /* border: 3px solid blue; */
    position: absolute;
    bottom: 16px;
    width: calc(100% - 2rem);
    max-width: auto;
    margin-left: auto;
}

.link-icons img {
    width: 28px;
    /* margin-right: 30px; */
    height: 100%;
    /* border: 3px solid red; */
}

.pagination {
    margin: 5% 0 0 40%;
}

.pagination .show-page {
    color: #333;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    border: 1px solid #ddd;
}

.pagination .show-page:hover {
    background-color: #1e40af;
    color: #ffffff;
}

.pagination .active {
    background-color: #1e40af;
    color: white;
    border: 1px solid #1e40af;
}

.disabled {
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color 0.3s;
    background-color: light-dark(rgba(239, 239, 239, 0.3), rgba(19, 1, 1, 0.3));
    color: light-dark(rgba(16, 16, 16, 0.3), rgba(255, 255, 255, 0.3));
    border: 1px solid #ddd;
}

@media only screen and (max-width: 910px) {
    .result-box {
        width: 43%;
    }
}

@media only screen and (max-width: 700px) {
    .col-sm {
        width: 100%;
        position: relative;
        /* border: 5px solid blue !important; */
    }
    .left-right-section .row {
        display: block;
    }

    .col-lg {
        width: 93%;
        /* border: 5px solid blue !important; */
        height: 2400px;
    }
    .result-box {
        width: 45%;
        /* border: 3px solid red; */
    }
  
    
    .link-icons {
        align-items: center;
        justify-content: center;
    }
    .search-filter {
        margin: 2rem 1rem 0 2rem;
    }
    /* .location img,
    .phone img {
        width: 4%;
        top: 3px;
    } */
    /* .view img {
        width: 20%;
    } */
    /* .rating-star img {
        width: 4%;
    } */
    /* .result-box .logo-feature-image {
        margin-bottom: 3%;
    } */
    /* .result-box .logo-feature-image img {
        width: 50%;
        height: auto;
        margin: 0 auto;
    } */
    /* .phone {
        padding: 20px 0;
    } */
    /* .results {
        margin-left: 1.5rem;
    } */
    .pagination {
        margin: 7% 8%;
        /* border: 5px solid red; */
    }
}

@media only screen and (max-width: 480px) {
    .col-lg {
        width: 87%;
        margin-right: 0rem;
        height: max-content;
    }
    .result-box {
        width: 90%;
    }
    .pagination {
        margin: 7% 8%;
        /* border: 5px solid red; */
    }
}

.gps-search {
    width: 100%;
    /* border: 3px solid red; */
    margin-top: -5px;
    margin-bottom: 0;
}