.page-template-Real-estate-page p strong{
    font-size: inherit!important;
    font-weight: 700!important;
    text-transform: inherit!important;
    font-family: inherit!important;
}
.page-template-Real-estate-page p{
    margin:0px!important;
}
.page-template-Real-estate-page header .container {
    max-width: 1154px !important;
}
.page-template-Real-estate-page h1,.page-template-Real-estate-page h2,.page-template-Real-estate-page h3,.page-template-Real-estate-page h4,.page-template-Real-estate-page h5,.page-template-Real-estate-page h6{
    text-transform: inherit!important;
}
.page-template-Real-estate-page .navbar {
    padding: 17px 0px;
    position: fixed;
    width: 100%;
    top: 0%;
    z-index: 99;
    height: 90px;
    background: #fff;
}


.page-template-Real-estate-page .wpcf7 form .wpcf7-response-output{
		text-align: center;
}
.page-template-Real-estate-page .wpcf7-form-control{
		margin-bottom: 20px;
}
.page-template-Real-estate-page .wpcf7-not-valid-tip{
    margin-top: -10px;
    margin-bottom: 15px;
}
.page-template-Real-estate-page .main-header .navbar-brand img{
	width: 108px;
    height: auto;
}

.page-template-Real-estate-page .navbar-brand a{
        display: flex;
}
.page-template-Real-estate-page .navbar-toggler .icon-bar{
      width: 25px;
      height: 3px;
      background-color: #363636;;
      margin-bottom: 4px;
      display: block;
}
.page-template-Real-estate-page .menu-item-has-children:hover .dropdown-menu{
        display: block !important;
}
.page-template-Real-estate-page .navbar-toggle {
      border: none;
      background: var(--color5); !important;
      padding-right: 0px;
      padding-left: 0px;
}
.page-template-Real-estate-page .navbar-toggle:hover {
    background: var(--color5) !important;
}
.page-template-Real-estate-page .navbar-toggle .icon-bar {
    transition: all 0.2s;
}
.page-template-Real-estate-page .navbar-toggle .top-bar {
      transform: rotate(45deg);
      transform-origin: 10% 10%;
}
.page-template-Real-estate-page .navbar-toggle .middle-bar {
    opacity: 0;
}
.page-template-Real-estate-page .navbar-toggle .bottom-bar {
      transform: rotate(-45deg);
      transform-origin: 8% 66%;
}
.page-template-Real-estate-page .navbar-toggle.collapsed .top-bar {
    transform: rotate(0);
}
.page-template-Real-estate-page .navbar-toggle.collapsed .middle-bar {
    opacity: 1;
}
.page-template-Real-estate-page .navbar-toggle.collapsed .bottom-bar {
    transform: rotate(0);
}
.page-template-Real-estate-page button:focus {
      outline: none;
      border:none;
}
.page-template-Real-estate-page .navbar-light .navbar-toggler{
        border:none;
        box-shadow: none;
}
.page-template-Real-estate-page .privacy-wrapper ul,.page-template-Real-estate-page .privacy-wrapper ol{
    list-style: none!important;
}
.page-template-Real-estate-page .privacy-wrapper ul li,.page-template-Real-estate-page .privacy-wrapper ol li{
    list-style: none!important;
}

#menu-real-estate-menu{
	margin-left: 0px!important;
}
#navbarSupportedContent{
	justify-content: center;
}
#menu-language_switcher{
	display: flex;
	align-items: center;
}
img.trp-flag-image{
	width: 22px!important;
	height: 22px!important;
	border-radius: 50%!important;
	object-fit: cover;
    object-position: center;
}
span.trp-ls-language-name{
	font-size: 9px!important;
	text-transform: uppercase;
	color: #363636!important;
    font-family: var(--font1);
}
.trp-language-switcher-container{
	padding: 10px 20px;
}
.trp-language-switcher-container.current-language-menu-item{
	background-color: #dcdcdc;
}
.trp-language-switcher-container a > span{
	display: flex;
	align-items: center;
	column-gap: 6px;
}
#navbarSupportedContent li{
	margin: 0px!important;
}
#navbarSupportedContent li .nav-link{
	margin: 0px!important;
}
#menu-real-estate-menu{
	column-gap: 60px;
}

/*video library*/
.vlib-grid {
    display: grid;
   grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.vlib-card {
    background: #fff;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.vlib-card:hover { transform: translateY(0px); }

.vlib-media-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}

.vlib-main-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.5s;
}

.js-vlib-thumb { opacity: 0; } /* Hide until frame is captured */

.vlib-hover-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}

.vlib-card:hover .vlib-hover-video { opacity: 1; }

.vlib-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fff;
    font-size: 40px;
    opacity: 1;
    transition: 0.3s;
}

.vlib-card:hover .vlib-play-icon { opacity: 0; }

.vlib-info{
	position: absolute;
	height: 100%;
	width: 100%;
	background-color: rgba(54, 54, 54, .81);
	opacity: 0;
	top: 0px;
	left: 0px;
}
.vlib-info  h3{ 
	padding: 0px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s;
    width: 100%;
    text-align: center;
}
.vlib-info h3 {font-size: 15px;line-height: 18px; color: #fff; font-family: var(--font1);}

/* Modal Styles */
.vlib-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.vlib-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
}

.vlib-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    overflow: hidden;
    z-index: 100;
}


#vlib-player-container video, 
#vlib-player-container iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.vlib-modal-text { padding: 20px; }
.vlib-card:hover .vlib-info { opacity: 1; }

.vlib-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    color: #fff;
    opacity: 1;
    transition: 0.3s;
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    top: 50%;
    transform: translate(0px, -50%);
    background-color: rgba(0, 0, 0, .5);
}
.vlib-card:hover .vlib-play-icon { opacity: 0; }

/* Modal Navigation Arrows */
.vlib-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    font-size: 40px;
    padding: 20px;
    cursor: pointer;
    z-index: 1000;
    transition: background 0.3s;
    border-radius: 50%;
    line-height: 1;
    width: 70px;
    height: 70px;
    z-index: 999;
}
.vlib-nav:hover { background: rgba(255,255,255,0.3); }
.vlib-prev { left: 20px; }
.vlib-next { right: 20px; }

/* Hide nav on mobile or adjust size */
@media (max-width: 768px) {
    .vlib-nav { font-size: 24px; width: 44px; height: 44px; padding: 0; }
    .vlib-prev { left: 5px; }
    .vlib-next { right: 5px; }
}

.vlib-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    align-items: center;
    justify-content: center;
}
.vlib-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.9);
}
.vlib-modal-content {
    position: relative;
    background: #fff;
    width: calc(100vw - 100px);
    max-width: 100%;
    border-radius: 8px;
    overflow: hidden;
    z-index: 100;
    height: calc(100vh - 100px);
}
.vlib-close {
    font-size: 30px;
    background: none; border: none;
    color: #333; cursor: pointer;
    z-index: 110;
}
#vlib-player-container video { width: 100%; display: block; aspect-ratio: 1/1; background: #000; }
.vlib-modal-text { padding: 25px; max-height: 100%; overflow-y: auto; display: flex;flex-direction: column;justify-content: center;align-items: flex-start;}

.vlib-modal-content{
	display: flex;
}
.vlib-player-container-wrap{
	flex: 0 0 50%;
	display: flex;
	align-items: center;
    height: 100%;
}
#vlib-player-container{
	padding: 20%;;
}
.vlib-modal-text{
	flex: 0 0 50%;
}

/* Container for top-right buttons */
.vlib-modal-controls {
    position: absolute;
    top: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
    z-index: 120;
    width: 100%;
    justify-content: space-between;
    padding: 0px 5px;
}

.vlib-fullscreen, .vlib-close {
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.vlib-close { font-size: 35px; line-height: 1; }
.vlib-fullscreen:hover, .vlib-close:hover { transform: scale(1.1); }

/* Fullscreen Specific Styles */
#vlib-modal-element:fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
}

#vlib-modal-element:fullscreen #vlib-player-container {
    flex-grow: 1;
    background: #000;
    display: flex;
    align-items: center;
    padding: 5%;
    height: 100vh;
}

#vlib-modal-element:fullscreen video {
    max-height: 100%;
    width: 100%;
}
/* Ensure controls are visible in dark fullscreen */
#vlib-modal-element:fullscreen .vlib-fullscreen,
#vlib-modal-element:fullscreen .vlib-close {
    color: #fff;
}
#vlib-modal-element:fullscreen .vlib-fullscreen svg path{
	fill: #fff!important;
}

.vlib-player-wrap{
	position: relative;
}

/* 4 Element Row Logic */
.vlib-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
}

/* 2.5 Row View Logic */
.vlib-grid-wrapper {
    position: relative;
    max-height: 750px; /* This height will be overwritten by JS for precision */
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.vlib-grid-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    height: 150px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.3s;
}

.vlib-grid-wrapper.is-expanded {
    max-height: 5000px !important; /* Forces expansion */
}
.vlib-grid-wrapper.is-expanded .vlib-grid-overlay {
    opacity: 0;
}

/* Load More Button */
.vlib-loadmore-container {
    text-align: center;
    padding: 40px 0;
}
.vlib-btn {
    background: transparent;
    color: rgba(54, 54, 54, .9);
    padding: 11px 29px;
    border: 1px solid #363636;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    font-size: 12px;
    line-height: 12px;
}
.vlib-btn:hover {transform: scale(1.02); }

/* Modal Content & Anti-Download */
#vlib-player-container video {
    width: 100%;
    display: block;
    pointer-events: auto;
}

/* Responsiveness */
@media (max-width: 1024px) { .vlib-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .vlib-grid { grid-template-columns: 1fr; } }



.vlib-fullscreen svg{
	width: 26px;
	height: 26px;
}
.vlib-close svg{
	width: 26px;
	height: 26px;
}
.vlib-media-wrapper{
	background: url('images/video-thumb.jpg');
	    aspect-ratio: 1 / 1;
	    background-size: contain;

}
.video-inside-wrapper #bg-video-mute-toggle{
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Show button on hover */
.video-inside-wrapper:hover #bg-video-mute-toggle,
.video-inside-wrapper:focus-within #bg-video-mute-toggle {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Placeholder state */
.vlib-lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

/* Loaded state */
.vlib-lazy[src]:not([src^="data:image"]) {
    opacity: 1;
}

/* Ensure the wrapper maintains aspect ratio while empty */
.vlib-media-wrapper {
    aspect-ratio: 16 / 9;
    background-color: #f0f0f0; /* Show your theme color while waiting */
}

/* Initial state for all cards */
.vlib-card {
    opacity: 0;
    transform: translateY(30px); /* Start 30px lower */
    transition: opacity 0.8s cubic-bezier(0.2, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

/* The state triggered by JavaScript */
.vlib-card.vlib-appeared {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay for the grid (Optional: makes 4-in-a-row appear one by one) */
.vlib-card:nth-child(2n) { transition-delay: 0.1s; }
.vlib-card:nth-child(3n) { transition-delay: 0.2s; }
.vlib-card:nth-child(4n) { transition-delay: 0.3s; }

/* Ensure the wrapper can grow infinitely when expanded */
#vlib-grid-wrapper.is-expanded {
    max-height: none !important;
    overflow: visible !important;
}

/* Ensure the fade-out overlay disappears on mobile when expanded */
#vlib-grid-wrapper.is-expanded::after {
    display: none;
}

/*************Responsive Styles*****************/

/*******************************************/

/**************iPad Landscape***************/
@media screen and ( max-width: 1100px ){
#menu-real-estate-menu {
    column-gap: 50px;
}
}

@media screen and ( max-width: 991px ){
	#navbarSupportedContent .navbar-nav{
		position: absolute;
		top: 0%;
		left: 0%;
		background-color: var(--color8);
	    width: 100%;
	    transition: 0s;
	    padding: 40px 15px;
	    z-index: 50;
	    height: 100vh;
	}
	.noscroll{
		overflow: hidden;
	}
	.sec-navbar .navbar-nav{
		height: 100vh;
		padding-bottom: 40px !important;
		justify-content: end;
		background-color: var(--color8) !important;
	}
	.dropdown-menu{
		display: flex;
		flex-direction: column;
		background-color: var(--color5);
		border: 0px;
		margin-left: 20px;
		padding: 0px;
	}
	.navbar-brand{
		margin: 0%;
		padding: 0px;
	}
	#navbarSupportedContent li {
	    margin: 10px 0px;
	}
	footer .row div:nth-child(1),
	footer .row div:nth-child(1){
		margin-bottom: 30px;
	}
	body {
	    margin: 110px 0px 0px 0px;
	}
	#navbarSupportedContent li .nav-link {
	    margin: 10px 0px;
	}
	.dropdown-toggle::after{
		display: none;
	}
 .elementor-element.e-con-boxed.e-parent > .e-con-inner {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

.navbar-collapse.collapsing {
        left: -75%;
        transition: height 0s ease;
        top: 90px;
    }

    .navbar-collapse.show {
        left: 0;
        transition: left 300ms ease-in-out;
    }

    .navbar-toggler.collapsed ~ .navbar-collapse {
        transition: left 200ms ease-in-out;
        top: 90px;
    }
	.navbar-collapse {
	    position: fixed;
	    top: 0px;
	    left: 0;
	    padding-left: 0px;
	    padding-right: 0px;
	    padding-bottom: 15px;
	    width: 75%;
	    height: 100%;
	    padding-top: 37.72px;
	    background: #fff;
	    z-index: 999;
	    /*box-shadow: rgba(0, 0, 0, 0.2) 0px 9px 15px 0px;*/
	    top: 90px;
	}
	.nav-link span{
		color: #363636!important;
	}	
	#navbarSupportedContent .dropdown-menu li a{
		color: #fff!important;
	}
	.navbar-light .navbar-toggler{
		order: 3;
	}
	#navbarSupportedContent{
		margin-left: 0px!important;
	}
	.navbar-light .navbar-nav .nav-link{
		padding: 10px 0px!important;
	}
}
/*******************************************/

/*************************iPad Portrait***************/
@media screen and (max-width: 985px){

}
/*******************************************/

/**********************iPhone Landscape*************/
@media screen and (max-width: 767px){
	footer .row >div{
		margin-bottom: 30px;
	}
	body {
	    margin: 90px 0px 0px 0px;
	}
	.vlib-modal-content{
		flex-direction: column;
    	align-items: center;
	}
	.vlib-modal-content{
		height: calc(100vh - 200px);
	}
	#vlib-player-container{
		padding-bottom: 10%;
	}
	.vlib-modal-text{
		justify-content: flex-start;
    	align-items: flex-start;
    	padding-top: 0px;
	}

}
@media screen and (max-width: 575px){
	.blog h2{
		margin-top: 15px;
	}
}
/*******************************************/

/***************iPhone Portrait**************/
@media screen and (max-width: 479px){
	body {
	    margin: 80px 0px 0px 0px;
	}
	.trp-language-switcher-container {
    padding: 7px 8px;
}
}
/*******************************************/


/* Tablet and Mobile (Portrait & Landscape) */
@media (max-width: 991px) {
    .vlib-modal {
        align-items: center; /* Aligns content to top so scrolling starts correctly */
        padding: 10px;
    }

    .vlib-modal-content {
        width: calc(100vw - 50px);
        max-height: 95vh; /* Prevents container from going off-screen */
        overflow-y: auto; /* ENABLE SCROLLING */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
        display: flex;
        flex-direction: column;
        border-radius: 8px;
    }

    /* Fixed controls at the top so they don't scroll away (Optional) */
    .vlib-modal-controls {
        position: sticky;
        top: 0;
        z-index: 10;
        background: transparent; 
        padding: 5px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    /* Adjust video size in landscape */
    .vlib-player-wrap {
        width: 100%;
        position: relative;
    }

    .vlib-modal-text {
        adding: 20px;
        flex-grow: 1;
        align-items: center;
        justify-content: flex-start;
        max-height: fit-content;
        width: fit-content;
        margin: 0 auto;
    }
    #vlib-player-container {
    	padding: 10%;
    	padding-bottom: 5%;
}
#vlib-modal-desc{
	    width: 100%;
}
}

/* Specific fix for short screens (Landscape Phones) */
@media (max-height: 600px) and (orientation: landscape) {
    .vlib-player-wrap {
        max-width: 70%; /* Smaller video so text is visible on side/bottom */
        margin: 0 auto;
    }
    
    #vlib-modal-title {
        font-size: 18px;
    }
    .vlib-modal-content {
        height: calc(100vh);
    }
}

