@font-face {
    font-family: Nunito-Bold;
    src: url(../fonts/Nunito/static/Nunito-Bold.ttf);
}

@font-face {
    font-family: Nunito-SemiBold;
    src: url(../fonts/Nunito/static/Nunito-SemiBold.ttf);
}

@font-face {
    font-family: Nunito-Regular;
    src: url(../fonts/Nunito/static/Nunito-Regular.ttf);
}

* {
    box-sizing: border-box;
}
.float{
    display: none;
}

.active {
    display: inline !important;
}

.active-nav-btn {
    background-color: #090909 !important;
    color: white !important;
}

body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.separator {
    color: grey;
    font-weight: 200;
}

.display_modal {
    background-color: none;
    z-index: 1000;
    width: 100%;
    min-height: 100%;
    max-width: 1000px;
    overflow-y: auto;
    padding-top: 70px;
    scrollbar-width: none;
}

.display_modal .sections {
    display: flex;

}

.modal_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid rgb(0, 136, 255, 0.5);
    background-color: rgb(255, 255, 255);
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1000px;
    z-index: 1001;
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
}

.modal_nav span {
    font-size: medium;
    font-weight: 700;
    color: #000000;
    width: 100%;
    font-family: Nunito-Bold;
    padding: 5px;
    width: fit-content;
}

.modal_nav i {
    border: 1px solid rgb(48, 48, 48);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 5px;
}

.main_details {
    padding: 5px;
}

.modal_nav .backBtn {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgb(48, 48, 48);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

.modal_nav .backBtn i {
    color: rgb(48, 48, 48);
    font-size: 18px;
    border: none;
    margin: auto;
}

.modal_nav .price {
    color: rgb(0, 136, 255);
    font-family: Nunito-SemiBold;
    font-size: medium;
    border: 1px solid rgb(0, 136, 255);
    padding: 5px 10px;
    border-radius: 10px;

}


.modal_nav .book-now-btn,
.view-room-btn {
    text-decoration: none;
    background-color: rgb(0, 102, 255);
    color: white;
    font-family: Nunito-Bold;
    padding: 10px 20px;
    border-radius: 10px;
    width: fit-content;
    display: block;
    border: none;
    cursor: pointer;
}


.sections .left,
.sections .right {
    min-height: 100%;
    overflow: hidden;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    padding: 5px;
    border: none;
    box-sizing: border-box;
}

.left {
    width: 60%;
    margin-right: 10px;
}

.right {
    width: 40%;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(0, 136, 255, 0.2);
}

.right p {
    font-size: medium;
    font-weight: 700;
    color: #000000;
    width: 100%;
    font-family: Nunito-Bold;
    margin: 10px;
}

.imgs {
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    box-sizing: border-box;
}

.left .imgs .title {
    font-size: medium;
    font-weight: 700;
    color: #ffffff;
    width: fit-content;
    font-family: Nunito-Bold;
    margin: 0;
    position: absolute;
    top: 10px;
    margin: 0 10px;
    z-index: 1000;
    font-size: large;
    background-color: rgb(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 5px;
    box-sizing: border-box;
}

.swiper-pagination {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    width: 50px !important;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: smaller !important;
    color: #ffffff !important;
    font-family: Nunito-Bold;
    margin: 5px;
}
.expand{
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    color: #ffffff;
    background-color: rgba(0, 0, 0,0.5);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: medium;
    cursor: pointer;
    line-height: 1;
    margin: 0;
    padding: 0;
    border: none;
    transition: all 0.3s ease;
}

.expand:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.expand i {
    color: #ffffff;
    font-size: medium;
    line-height: 1;
    margin: 0;
    padding: 0;
}

.left .imgs {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border-radius: 16px;
}

.left .imgs img {
    min-width: 100%;
    height: 400px;
    max-height: 450px;
    object-fit: cover;
    border-radius: 16px;
    display: inline;
    margin-left: 2px;
    border: 1px solid rgba(116, 116, 116, 0.2);
}


.location .titles,
.number .titles,
.description .titles,
.contact .titles,
.caretaker .titles {
    display: block;
    color: black;
    font-size: medium;
    font-family: Nunito-Bold;
}

.number,
.description,
.location,
.contact {
    font-size: medium;
    color: #3b3b3b;
    line-height: 1.5;
    font-family: Nunito-SemiBold;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(230, 230, 230);
    margin: 5px;
}

.contact .info {
    display: block;
    font-size: smaller;
    color: #ffffff;
    font-weight: 800;
    font-family: Nunito-SemiBold;
    background-color: rgb(0, 0, 0);
    border-radius: 10px;
    padding: 10px;
}

.caretaker {
    margin-bottom: 10px;
    border: 1px solid rgb(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 5px;

}


/* AMENITIES SECTION */

.amenities {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.amenity,
.security-feature {
    display: flex;
    width: 40%;
    flex-direction: row;
    align-items: start;
    justify-content: start;
    gap: 10px;
    border-radius: 12px;
    text-align: center;
    font-family: Nunito-SemiBold;
    font-weight: 200;
    padding: 2px 0;
    margin: 5px;
}

.amenity i,
.security-feature i {
    font-size: 18px;
    color: #484848;
}

.amenity span,
.security-feature span {
    font-size: smaller;
    color: #444444;
    font-weight: 100;
    margin-left: 10px;
}

/* SECURITY FEATURES */

.security-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    background-color: white;
    width: 100%;
    margin-top: 0;
    overflow: hidden;

}

.security-feature {
    display: inline-flex;
    width: 150px;
    height: 150px;
    flex-direction: column;
    align-items: center;
}

.security-section p {
    font-size: medium;
    font-weight: 700;
    color: #000000;
    width: 100%;
    font-family: Nunito-Bold;
}





.imgs {
    width: 100%;
    height: auto;
}

.swiper-slide {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}



.sub_details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    margin: 10px 5px;
}

.sub_details p {
    font-size: medium;
    font-weight: 700;
    color: #000000;
    width: 100%;
    font-family: Nunito-Bold;
    padding: 5px;
    margin: 0;
}

.sub_details p.empty {
    text-align: center;
    color: #777777;
    font-size: medium;
    padding: 20px;
    border: 1px solid rgb(165, 165, 165);
    border-radius: 10px;
    background-color: rgb(255, 255, 255);

}

.details_link {
    width: 100%;
    max-width: 300px;
    height: fit-content;
    border-radius: 10px;
    overflow: hidden;
    margin: 2px;
    box-sizing: border-box;
    text-decoration: none;
    display: inline;
}

.rental_building_card,
.room_card,
.house_card {
    height: 350px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: start;
    background-color: #fff;
    position: relative;
    border: 1px solid grey;
}


.rental_building_card .rental_building_img,
.room_card .room_img,
.house_card .house_img {
    overflow: hidden;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: inherit;
    position: relative;
}

.rental_building_card .rental_building_img img,
.room_card .room_img img,
.house_card .house_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.room_img .type {
    color: rgb(0, 0, 0);
    position: absolute;
    top: 2px;
    right: 2px;
    font-family: Nunito-Bold;
    font-size: x-small;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 4px 10px;
}

.room_img i,
.rental_building_img i,
.house_img i {
    color: rgb(0, 0, 0);
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    padding: 5px;
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 18px;
}

.card_details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 0;
    margin: 5px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    transition-duration: 0.3s;
}


.card_details span,
.card_details p {
    display: block;
    text-align: start;
}

.rental_building_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card_details .location,
.rental_building_card .location,
.house_card .location {
    color: #777;
    font-family: Nunito-SemiBold;
    padding: 2px 10px;
    overflow: hidden;
    text-wrap: nowrap;
    max-width: 90%;
    text-overflow: ellipsis;
    font-size: medium;
}

.rental_building_title,
.house_title {
    color: rgb(25, 79, 229);
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    overflow: hidden;
    text-wrap: nowrap;
    width: auto;
    max-width: 95%;
    text-overflow: ellipsis;
    font-family: Nunito-Bold;
    margin: 0;
}

.vacant {
    color: #000000;
    font-weight: 700;
    padding: 0 5px;
    font-family: Nunito-Bold;
    background-color: rgba(0, 136, 255, 0.1);
    border-radius: 6px;
    font-size: small;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}

/* Fullscreen Image Modal Styles */
#fullscreen_image_modal {
    background-color: rgba(0, 0, 0, 0.95) !important;
}

#fullscreen_image_modal.active {
    display: flex !important;
}

.fullscreen_image_container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullscreen_image_wrapper {
    width: 90%;
    height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#fullscreen_image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.fullscreen_close_btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1003;
}

.fullscreen_close_btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.fullscreen_nav_btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 1003;
}

.fullscreen_nav_btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.fullscreen_nav_btn.prev-btn {
    left: 20px;
}

.fullscreen_nav_btn.next-btn {
    right: 20px;
}

.fullscreen_image_counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 20px;
    font-family: Nunito-SemiBold;
    font-size: medium;
    z-index: 1003;
}

.booking_form div .info {
    font-family: Nunito-SemiBold !important;
    color: grey !important;
    font-size: small !important;
    margin: 5px;
}

.booking_form {
    width: 100%;
    max-width: 600px;
    margin: 5px auto;
    padding: 10px;
    border-radius: 10px;
}

.booking_form .booking_form_skeletons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    border-radius: 10px;
    padding: 10px;
}

.booking_form .booking_form_skeletons .skeleton1 {
    width: 100%;
    height: 60px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 1000px 100%;
    border-radius: 10px;
    animation: skeleton-loading 2s infinite;
}

.booking_form .booking_form_skeletons .skeletonbtn {
    width: 90%;
    height: 40px;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 1000px 100%;
    border-radius: 10px;
    animation: skeleton-loading 2s infinite;
    margin: 5px auto;
}

@keyframes skeleton-loading {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.booking_form form {
    border-radius: 10px;
    padding: 10px;
    background-color: white;
    border: 1px solid white;
}

.booking_form form h3 {
    font-family: Nunito-Bold;
    color: rgb(0, 0, 0);
    text-align: center;
    margin: 10px 0;
}

.booking_form form div {
    background-color: rgba(128, 128, 128, 0.1);
    display: flex;
    justify-content: start;
    flex-direction: column;
    margin-bottom: 10px;
    font-family: Nunito-Bold;
    font-size: medium;
    padding: 5px 10px;
    border-radius: 10px;
}

.booking_form form div span {
    color: rgb(0, 0, 0);
    font-size: small;
    text-align: start;
}

.booking_form form .value {
    color: rgb(68, 68, 68);
    font-size: medium;
    font-family: Nunito-SemiBold;
    text-align: start;
}

.booking_form form .booking_titles {
    color: rgb(0, 0, 0);
    font-size: medium;
    font-family: Nunito-Bold;
    text-align: start;
}

.booking_form form .form-group {
    background-color: transparent;

}

.booking_form form .unit-name {
    border: 1px solid rgb(212, 212, 212);
}

.booking_form form input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgb(182, 182, 182);
    border-radius: 10px;
    outline: none;
    font-family: Nunito-SemiBold;
}

.booking_form form .confirm-btn,
.booking_form form .cancel-btn {
    width: 90%;
    margin: 5px auto;
    display: block;
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    outline: none;
    border-radius: 10px;
    text-align: center;
    font-family: Nunito-Bold;
    cursor: pointer;
}

.booking_form form .cancel-btn {
    background-color: rgb(197, 197, 197);
    color: black;
}