/* Body Styling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
body {
    font-family: "Raleway", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    color: #000;
    font-weight: 400;
    font-size: 1rem;
    position: relative;
    overflow-y: auto;
    height: 100%;
}
/* width */
::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.scrollspy-container{
    min-height: calc(100vh - 320px);
}
.form-floating>label {
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
}
.form-control:focus{
    box-shadow: none;
}
/* Header Styling */
.navbar-theme {
    background-color: #000;
    position: fixed;
    top: -100px;
    width: 100%;
    z-index: 1030;
    transition: top 0.3s;
    animation-name: headerAnimation;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-delay: 3s;
}

@keyframes headerAnimation {
    0% {
        top: -100px;
    }
    100% {
        top: 0;
    }
}
/* Hero Section Styling */
.hero {
    position: relative;
    min-height: 120vh;
    width: 100%;
    transition: transform 0.5s, opacity 0.5s;
    display: flex;
    align-items: center;
    /*background-image: url(../images/slider1.jpg);*/
    background-repeat: no-repeat;
    background-size: cover;
}

section.hero::before {
    content: "";
    position: absolute;
    top:0; right:0; bottom: 0;left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content h1{
    font-size:4rem;
}
.hero-content h5{
    font-size:2rem;
}

.autoshow {
    opacity: 0;
    transform: translateY(100px) scale(0.1);
    transition: opacity 0.5s, transform 0.5s;
}

.autoOpacity {
    opacity: 0.1;
    transition: opacity 1s;
}

.autoshow.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.autoOpacity.visibleH {
    opacity: 0.3;
}

.autoOpacity.visible {
    opacity: 1;
}


/*.autoshow{*/
/*    animation: autoShowAnimation both;*/
/*    animation-timeline: view(70% 5%);*/
/*}*/
/*@keyframes autoShowAnimation{*/
/*    from{*/
/*        opacity: 0;*/
/*        transform:  translateY(200px) scale(0.3);*/
/*    }to{*/
/*         opacity: 1;*/
/*         transform:  translateY(0) scale(1);*/
/*     }*/
/*}*/
/*.autoOpacity{*/
/*    animation: autoOpacityAnimation linear both;*/
/*    animation-timeline: view();*/
/*}*/
/*@keyframes autoOpacityAnimation{*/
/*    0%{*/
/*        opacity: 0.1;*/
/*    }40%, 60%{*/
/*         opacity: 0.3;*/
/*     }*/
/*    60%, 100%{*/
/*        opacity: 1;*/
/*    }*/
/*}*/
/* Form Content Css */
.form-content {
    background: rgb(61, 59, 59);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgb(237, 237, 237);
}

.progress-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step span {
    display: block;
    color: #fff;
}

.step span:first-child {
    background: #ccc;
    color: #000;
    border-radius: 50%;
    padding: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.step.active span:first-child,
.step.completed span:first-child {
    background: #007b5e;
    color: #fff;
}

.progress {
    position: absolute;
    top: 15px;
    left: 5%;
    width: calc(100% - 40px);
    height: 4px;
    background: #ccc;
    z-index: 0;
}

.progress-bar-fill {
    width: 50%;
    height: 100%;
    background: #007b5e;
    transition: width 0.3s ease;
}

.form-page {
    display: none;
}

.form-page.active {
    display: block;
}

.form-page h2 {
    color: #ddd;
}


/* About Section  Design */
.about-content h2{
    font-size: 3rem;
}
.about-content h2 strong{
    font-weight: 800;
}
.about-content p{
    /*font-size: 1.4rem;*/
    /*font-weight: 500;*/
}
.about-profile {
    position: relative;
    text-align: center;
    background: rgba(0, 0, 0, 0.909);
}


/* Award section css */

.award-content-left {
    background: url('../images/award-back.png') no-repeat center / cover;
    color: #fff;
    text-align: center;
    padding: 40px 80px;
    min-height: 100vh;
}

.award-content-right {
    background-color: #000;
    color: #fff;
    padding: 80px 80px;
    min-height: 100vh;
}

/* for sale section css */
.for-sale{
    padding: 4rem 0;
}
.sale-title h1 {
    font-size: xx-large;
    font-weight: 300;
    text-align: center;
}

.img-container {
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-position: center;
    transition: all .2s ease;
}

.img-container img:hover {
    transform: scale(1.1);
}

.info {
    padding: 20px;
    text-align: center;
}

.info h2 {
    font-size: 1rem;
    margin: 0 0 10px;
}

.info p {
    font-size: 1em;
    color: #555;
}

.detail {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.detail span {
    margin: 10px;
}

.limited-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    text-overflow: ellipsis;
}

.limited-paragraph {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    /* Limit to 3 lines */
    text-overflow: ellipsis;
}

.more-link {
    display: none;
    cursor: pointer;
    color: black;
    text-decoration: none;
}

.limited-paragraph.expanded {
    -webkit-line-clamp: unset;
    white-space: normal;
}

.limited-paragraph+.more-link {
    display: inline;
}


/* Sold sectoin css */
.sold {
    background: url('../images/award-back.png') no-repeat center / cover;
    padding: 80px 0;
}

.sold-title h1 {
    font-size: xx-large;
    font-weight: 300;
    text-align: center;
    color: white;
}

.sold-container {
    background: #000;
    padding: 50px;
    color: #fff;
}

.info {
    padding: 20px;
    text-align: center;
}

.info h2 {
    font-size: 1rem;
    margin: 0 0 10px;
}

.info p {
    font-size: 1em;
    color: #555;
}

.detail {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.detail span {
    margin: 10px;
}

.limited-lines {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 2;
    /* Limit to 2 lines */
    text-overflow: ellipsis;
}

.limited-paragraph {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 3;
    /* Limit to 3 lines */
    text-overflow: ellipsis;
}

.more-link {
    display: none;
    cursor: pointer;
    color: black;
    text-decoration: none;
}

.limited-paragraph.expanded {
    -webkit-line-clamp: unset;
    white-space: normal;
}

.limited-paragraph+.more-link {
    display: inline;
}

/* Testimonial Section Css*/

.testimonial-slider {
    background-color: #fff;
    padding: 100px 80px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
    max-width: 1440px;
    text-align: center;
    display: flex;
    align-items: center;

}

.testimonial-slider h2 {
    margin-bottom: 20px;
    font-size: xx-large;
    font-weight: 900;
}

.testimonial-slide {
    display: none;
    width: 800px;
    margin: 0 auto;
}

.testimonial-slide.active {
    display: block;
}

.prev-btn,
.next-btn {
    background-color: transparent;
    border: none;
    font-size: 8em;
    cursor: pointer;
    color: #111;
    flex-shrink: 0;
}

.next-btn:hover,
.prev-btn:hover {
    background-color: rgba(85, 85, 85, 0.36);
}

.prev-btn {
    margin-right: 20px;
}

.next-btn {
    margin-left: 20px;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-content h3 {
    font-size: 2em;
    font-weight: 100;
    margin-bottom: 10px;
}

.testimonial-content p {
    font-size: 1em;
    margin-bottom: 10px;
}

.testimonial-content p.author {
    font-weight: bold;
    font-size: 1.2em;
}

/* Responsive Design */
footer {
    background: black;
    bottom: 0;
    padding: 60px 50px;
}
/* Lightbox */
.detail-content{
    padding: 7rem 0 4rem;
}
.slide-main{
    width: 100%;
    height: 500px;
    overflow: hidden;
}
.slide-main .elem{
    margin-bottom: 0;
}
.slide-main .elem span{
    /*padding-bottom: 110%;*/
}
.slide-img{
    height: 500px;
    overflow-y: auto;
}
.img-box{
    width: 100%;
    height: 280px;
    overflow: hidden;
}
.img-box img{
    width: 100%;
    height: 100%;
}
.elem {
    display: block;
    height: auto;
    background-clip: padding-box;
    margin-bottom: 1.5rem;
    max-width: 100%;
}
.elem > span {
    display: block;
    cursor: pointer;
    height: 0;
    padding-bottom:	57%;
    background-size: cover;
    background-position: center center;
}

.review-card {
    min-height: 300px;
}

.modal-fullscreen .modal-body img {
    object-fit: contain;
}
.btn-close {
    background-color: gray;
    z-index: 1051; /* Ensures the close button is above other content */
}



/*.agent-card .img-box {*/
/*    width: 100%;*/
/*    overflow: hidden;*/
/*    position: relative;*/
/*    padding-top: 75%; !* Adjust this value to control the height of the container *!*/
/*}*/

/*.agent-card .img-box img {*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    object-fit: contain;*/
/*}*/


.card {
    border: none;
}
.card-image-wrapper {
    height: 300px; /* Set a fixed height for the image container */
    overflow: hidden;
}
.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain aspect ratio, cover the entire container */
}
.card-text-wrapper {
    width: 100%;
}
.consultant-meta-head {
    padding-top: 10px;
}
.consultant-name {
    margin: 0;
    font-size: 1.25rem;
}
.consultant-position {
    color: #666;
}
.consultant-contact {
    margin-top: 10px;
}
.consultant-phone, .consultant-email {
    display: block;
    margin-top: 5px;
}
.icon-general-contact-phone::before, .icon-general-contact-email::before {
    content: "\260E"; /* Example icon content */
    margin-right: 5px;
}



.big-image {
    width: 100%;
    height: 400px;
    border-radius: 10px;
}

.small-images {
    display: flex;
    flex-direction: column;
}

.small-image {
    width: 100%;
    height: 192px;
    border-radius: 10px;
}


#cookie-banner {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 80%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
}

.object-fit-cover {
    object-fit: cover;
    height: 100%;
}

.pac-container{
    z-index: 9999;
}

.d-flex.align-items-center p {
    margin-bottom: 0;
}


@media (max-width: 768px) {
    .big-image {
        height: 300px;
    }
    .small-image {
        height: 140px;
    }
}


/*@media (min-width:768px) and (max-width:991px){*/
/*    .big-image {*/
/*        height: 300px;*/
/*    }*/
/*    .small-image {*/
/*        height: 140px;*/
/*    }*/
/*}*/



@media (min-width: 768px) and (orientation: portrait) {
    .big-image {
        height: 250px;
    }
    .small-image {
        height: 115px;
    }
}

@media (min-width: 768px) and (max-width:1100px) and (orientation: landscape) {
    .big-image {
        height: 300px;
    }
    .small-image {
        height: 140px;
    }
}



@media (min-width: 768px) {

    .d-md-block-custom {
        display: unset !important;
        display: flex !important;
        justify-content: center;
    }
    #lcl_window {
     width: 90% !important;
    }
}

/**
for tab
 */
@media (min-width:767px) and (max-width:991px){
    .detail-content {
        padding: 6rem 0 2rem;
    }
    .slide-main .elem span{
        padding-bottom: 110%;
    }
}

/**
for tab pro
 */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
    .slide-main .elem span{
        padding-bottom: 110%;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .slide-main .elem span{
        padding-bottom: 110%;
    }
}

@media (max-width:767px){
    .slide-main{
        height: 300px;
    }
    .detail-content {
        padding: 6rem 0 2rem;
    }
}

/*@media (min-width: 768px) and (max-width: 1024px) {*/
/*    .slide-main .elem span{*/
/*        padding-bottom: 110%;*/
/*    }*/
/*}*/















