@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');

*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:active,
:focus,
:hover {
    outline: 0 !important;
    outline-offset: 0;
}

a,
a:hover {
    text-decoration: none;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

/* ----- Variable Define ----- */
:root {
    /* Background Colors */
    --bg-primary: #121212;
    --bg-white: #fff;
    --bg-light-white: #f5f5f5;
    --bg-body: #fab1a066;
    --bg-body2: #fab1a0;
    --bg-light-blue: #a29bfe91;

    /* Text colors */
    --text-white: #fff;
    --text-black: #121212;
    --text-danger: #f63440;
    --text-grey: #aaa;
    --text-dark-grey: #777;
    --text-green: limegreen;

    /* Font Style */
    --primary-font: 'Roboto', sans-serif;
    --secondary-font: 'Quicksand', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary-font);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75rem;
    color: var(--text-black);
    overflow-x: hidden;
}

.body {
    background: var(--bg-body);
}

input,
button,
textarea,
select {
    box-shadow: none !important;
}

/* 
    ==========================================
        Custom Scrollbar
    ==========================================
*/
::-webkit-scrollbar {
    width: 0.625rem;
}

::-webkit-scrollbar-track {
    background: var(--white-color);
}

::-webkit-scrollbar-thumb {
    background: var(--grey-color);
}

/* 
    ==========================================
        Custom CSS Design
    ==========================================
*/

.btn-primary {
    background: var(--bg-primary);
    color: var(--text-white);
    border-color: var(--bg-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-black);
    border-color: var(--bg-primary);
}

.btn-secondary {
    background: var(--bg-body);
    color: var(--text-black);
    border-color: var(--bg-body);
}

.btn-secondary:hover {
    background: transparent;
    color: var(--text-black);
    border-color: var(--bg-body);
}

.text-info {
    color: var(--text-info) !important;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    height: 7.8vh;
    transition: background-color 0.3s ease;
}

.header.scrolled {
    background-color: var(--bg-body2);
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
}

.header .site-branding {
    text-decoration: none;
    font-weight: bold;
    color: #333;
    font-size: 1.6vw;
}

.header ul {
    display: flex;
    align-items: center;
    gap: 50px;
    width: 100vw;
    transition: all 0.4s;
}

.header ul li {
    list-style: none;
}

.header ul li:nth-child(3) {
    margin-left: auto;
}

.header ul li a {
    text-decoration: none;
    color: #333;
    font-size: 1vw;
    font-weight: 500;
    transition: all 0.4s;
}

.header ul li a:hover,
.header ul li a:active {
    color: rgb(83, 124, 238);
}

#menu-toggle {
    display: none;
    color: #333;
    font-size: 1.2vw;
    font-weight: 500;
    transition: all 0.4s;
}

.closeBtn-wrap {
    display: none;
}

/* 
    ==========================================
        Index Page CSS Design
    ==========================================
*/

/* Home */
#home {
    position: relative;
    overflow: hidden;
    /* min-height: 75vh; */
    min-height: calc(100vh - 30vh);
}

#home .img {
    position: absolute;
    top: 50px;
    left: 0;
    height: 78%;
    object-fit: contain;
    z-index: -1;
}

.cover-title {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    width: 33%;
}

.main-search {
    background: var(--bg-white);
    border-radius: 50px;
    border: 1px solid var(--text-black);
    display: flex;
    align-items: center;
    justify-content: end;
    overflow: hidden;
    padding: 5px 5px;
}

.main-search input[type="text"] {
    border: unset;
    outline: unset;
    width: 100%;
    padding: 0px 20px;
}

.main-search button {
    background: unset;
    border: unset;
    outline: unset;
    padding: 0px 15px;
}

.search-cate-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2%;
    padding: 10px;
    border: 1px solid var(--text-grey);
    cursor: pointer;
    transition: 0.5s;
}

.search-cate-btn.active {
    background: var(--bg-body);
}

.search-cate-btn p {
    font-size: 25px;
}

.search-cate-btn:hover {
    background: var(--bg-body);
}

.search-cate-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2%;
    padding: 10px;
    border: 1px solid var(--text-grey);
    cursor: pointer;
    transition: 0.5s;
    border-radius: 50px;
}

.search-cate-badge.active {
    background: var(--bg-primary);
    color: var(--text-white);
}

.search-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-black);
    font-size: 14px;
}

.search-divider::before,
.search-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 10px;
}

.accordion-button:not(.collapsed) {
    color: var(--text-black);
    background-color: var(--bg-body);
    box-shadow: inset 0 calc(-1* var(--bg-body)) 0 var(--bg-body);
}

.cover-notify {
    position: absolute;
    top: 60px;
    right: 26px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    background: var(--bg-body2);
    padding: 10px;
    border: 1px solid var(--text-black);
    border-radius: 12px 0px 12px 12px;
}

.cover-notify small {
    line-height: 18px;
    font-weight: 600;
}

.cover-notify a {
    background: var(--bg-white);
    color: var(--text-black);
}

/* Service */
.serv-box {
    background: var(--bg-white);
    overflow: hidden;
    border-radius: 50px 50px 0px 0px;
    border: 1px solid var(--text-black);
}

.serv-box-img {
    width: 100%;
    height: 20vh;
    position: relative;
    overflow: hidden;
}

.serv-box-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.serv-box-title {
    color: var(--text-black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    padding: 3px 5px;
    border-top: 1px solid var(--text-black);
}

/* Favourites */
.fav-box-img {
    width: 100%;
    height: 20vh;
    border: 1px solid var(--text-black);
    position: relative;
    overflow: hidden;
}

.fav-box-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.fav-box-img button {
    position: absolute;
    right: 0;
    bottom: 0;
    border: 1px solid var(--text-black);
    padding: 0px 12px;
}

.fav-box-title {
    padding: 8px;
    color: var(--text-black);
    font-weight: bold;
}

/* Offers */
#offer {
    background: var(--bg-body2);
    background-image: url('../media/offer/offer-cover.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

/* Contact */
#contact {
    padding-top: 5rem;
}

.contact {
    padding: 4rem 0;
    background-color: var(--bg-light-white);
}

.contact .info li p a {
    font-size: 1rem;
    display: inline-block;
    margin: 0.75rem 0;
    color: var(--text-black);
}

.contact .form-group {
    margin-bottom: 1.5rem;
}

.contact .form-control {
    height: 3.30rem;
    padding: 0.375rem 1.1875rem;
    border: none;
    font-size: 1rem;
    box-shadow: 0 0.1875rem 1.25rem 0 rgb(0 0 0 / 12%);
}

.contact textarea {
    width: 100%;
    border-radius: 0.25rem;
    padding: 0.75rem 1.1875rem;
    border: none;
    font-size: 1rem;
    margin-top: 0.3125rem;
    box-shadow: 0 0.1875rem 1.25rem 0 rgb(0 0 0 / 12%);
}

.contact textarea:focus {
    outline: none;
    border: none;
}

/* About */
#about {
    background: var(--bg-light-blue);
    background-image: url('../media/app/app-cover.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: right;
}

.app-title {
    width: 49%;
}

.app-card {
    height: 49vh;
    position: relative;
    overflow: hidden;
    background: unset !important;
    border: unset !important;
}

.app-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.copyright {
    border-top: 1px solid var(--bg-light-white);
}

.copyright p,
.copyright a {
    color: var(--text-dark-grey);
}

.lang-btn {
    background: var(--bg-white);
    color: var(--text-black);
    border: 1px solid var(--text-black);
    cursor: pointer;
    transition: 0.5s;
}

.lang-btn:hover {
    background: var(--bg-body);
}

.lang-btn.active {
    background: var(--bg-body);
}

/* Back to Top Btn */
#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 25px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: var(--bg-primary);
    color: var(--bg-white);
    cursor: pointer;
    height: 45px;
    width: 45px;
    border-radius: 50px;
}

#myBtn:hover {
    opacity: 0.8;
}


/* 
    ==========================================
        Search Page CSS Design
    ==========================================
*/

#mapContainer {
    background-color: rgba(235, 234, 234, 0.89);
}

#mapContainer.scrolled {
    position: fixed;
    right: 0;
    height: 100%;
}

/* Search Card */
.search-card {
    width: 100%;
    height: auto;
    border: 1px solid var(--bg-primary);
}

.search-card-header {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 25vh;
}

.search-card-header img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.search-card-header .fav-icon {
    position: absolute;
    top: 7px;
    right: 7px;
    height: 40px;
    width: 40px;
    border-radius: 50px;
    border: unset;
    transition: 0.5s;
}

.search-card-header .fav-icon:hover {
    color: var(--text-danger);
}

.search-card-header .fav-icon.active {
    color: var(--text-danger);
}

.search-card-body {
    background: var(--bg-white);
    border-top: 1px solid var(--bg-primary);
    width: 100%;
    height: auto;
    padding: 10px;
}

.search-card-footer {
    background: var(--bg-white);
    border-top: 1px dashed var(--bg-primary);
    width: 100%;
    height: 5vh;
    padding: 7px;
}


/* 
    ==========================================
        Search Details Page CSS Design
    ==========================================
*/
.form-check-input:checked {
    background-color: var(--bg-body2);
    border-color: var(--bg-body2);
}

.form-check-input[type=checkbox] {
    border-radius: unset;
    border: 1px solid var(--text-black);
}

.card2.active {
    background: var(--bg-body);
}

.border-top-dashed {
    border-top: 1px dashed var(--text-black);
}

/* Search detail slider */
.carousel-control-next,
.carousel-control-prev {
    background-color: var(--bg-white) !important;
    position: absolute;
    top: 50%;
    bottom: 50%;
    transform: translate(0%, -50%);
    background: 0 0;
    height: 35px;
    width: 35px;
    border: 1px solid var(--bg-primary);
    border-radius: 50px;
    margin: 0% 3%;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 1rem;
    height: 1rem;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter: invert(1) brightness(0);
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid var(--text-black);
}

.carousel-indicators .active {
    opacity: 1;
    background: var(--bg-body);
}

.button-container {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 35%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 35%;
}

.button-container>.contine-btn {
    background-color: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

/* 
    ==========================================
        Register Page CSS Design
    ==========================================
*/

.full-height {
    height: 100vh;
}

.img-cover {
    position: relative;
    overflow: hidden;
}

.img-cover img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.title-2 {
    font-size: 23px;
}

.register_wrap {
    margin: 15% auto;
    width: 50%;
}


/* 
    ==========================================
       Mamber Register Page CSS Design
    ==========================================
*/

.register_wrap2 {
    /* margin: 5% auto; */
    margin: 0% auto;
    width: 50%;
}


/* 
    ==========================================
       Service Confirm Page CSS Design
    ==========================================
*/
.border-dashed {
    border: 2px dashed var(--bg-light-blue);
}

/* 
    ==========================================
       Profile Page CSS Design
    ==========================================
*/
.user-profile-img {
    outline: 3px solid var(--text-grey);
    border: 3px solid transparent;
}

.imageUploadBtn {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-448%, -42%);
    font-size: 25px;
    cursor: pointer;
}

/* 
    ==========================================
        Booked Services Page CSS Design
    ==========================================
*/
.bs-card:hover {
    background: var(--bg-body);
    cursor: pointer;
    transition: 0.5s;
    border-color: var(--bg-body2);
}

.bs-card.active {
    background: var(--bg-body);
    border-color: var(--bg-body2);
}

/* DatePicker Design */
#inline-datepicker {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    width: 40%;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.datepicker {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333333;
}

.datepicker table {
    width: 100%;
    text-align: center;
}

.datepicker th {
    color: rgb(13, 14, 13);
    font-weight: bold;
}

.datepicker td {
    font-size: 14px;
    padding: 8px;
    transition: background-color 0.3s;
}

.datepicker td.day:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}

.datepicker .today {
    background-color: rgb(13, 14, 13) !important;
    color: #ffffff !important;
}

.datepicker .active {
    background-color: rgb(13, 14, 13) !important;
    color: #ffffff !important;
}


/*  ******************************************
    ==========================================
        Mobile View Page CSS Design
    ==========================================
*   ******************************************/

@media screen and (max-width: 700px) {

    /* Header */
    .header {
        display: flex;
        align-items: center;
        height: 6vh;
    }

    .header .site-branding {
        font-size: 4vw;
    }

    .header ul {
        background-color: #fff;
        position: absolute;
        left: -100%;
        top: 0;
        display: flex;
        align-items: start;
        flex-direction: column;
        gap: 25px;
        width: 100vw;
        height: 100vh;
        margin-top: 0;
        padding: 25px;
    }

    .header ul.active {
        left: 0;
    }

    .header ul li:nth-child(3) {
        margin-left: 0;
    }

    .header ul li a {
        font-size: 4vw;
    }

    #menu-toggle {
        display: block;
        font-size: 4vw;
    }

    .closeBtn-wrap {
        display: block;
    }

    /* Cover */
    #home .img {
        position: absolute;
        top: 0;
        left: 0;
        height: unset;
        object-fit: cover;
        z-index: -1;
    }

    .cover-title {
        width: 100%;
    }

    .cover-notify {
        top: 12px;
        right: 16px;
    }

    .serv-box-img {
        height: 38vh;
    }

    .app-title {
        width: 100%;
    }

    .cover-notify {
        top: unset;
        bottom: 0px;
        right: 8px;
        left: 8px;
    }

    /* 
        ==========================================
            Search Details Page CSS Design
        ==========================================
    */
    .button-container {
        left: 50%;
        width: 91%;
    }

    #mapView {
        display: none;
        margin-top: 3%;
    }

    /* 
        ==========================================
            Register Page CSS Design
        ==========================================
    */
    .register_wrap {
        margin: 41% auto;
        width: 100%;
    }

    /* 
        ==========================================
        Mamber Register Page CSS Design
        ==========================================
    */
    .register_wrap2 {
        margin: 25% auto;
        width: 100%;
    }

    /* 
        ==========================================
            Booked Services Page CSS Design
        ==========================================
    */

    /* DatePicker Design */
    #inline-datepicker {
        width: unset;
        margin: unset;
    }

    /* 
        ==========================================
        Profile Page CSS Design
        ==========================================
    */
    .imageUploadBtn { transform: translate(-351%, -42%);}

}