html {
    scroll-behavior: smooth;
}

<style>
/* Full-width wrapper for the single property listing */
.spage-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}

/* Header section */
.sheader {
    width: 100%;
    min-height: 45vh;
    background-image: url('https://msmavic.com/wp-content/uploads/2025/04/DDD.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
}

.sheader::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}




.mvc-carousel .main-swiper img,
.mvc-carousel .thumb-swiper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mvc-carousel .thumb-swiper {
    margin-top: 10px;
}

.mvc-carousel .thumb-swiper .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
}

.mvc-carousel .thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid #007cba;
    border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .mvc-carousel .thumb-swiper .swiper-slide {
        width: 25% !important;
    }
}


.sheader-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.sheader h1 {
   
    font-size: 32px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow:
        0 0 4px rgba(0, 132, 255, 0.4),
        0 0 8px rgba(0, 132, 255, 0.3),
        0 0 12px rgba(0, 132, 255, 0.2);
}

.sheader p {
    font-size: 18px;
    margin-bottom: 30px;
}

.sheader-content button {
    background-color: #f5f5f5;
    color: #333;
    font-weight: bold;
    cursor: pointer;
    padding: 20px;
    justify-content: center;
}

.sheader-btn {
   display: inline-block;
    background: #123456;
    color: white;
    padding: 8px 16px;
    border: 2px solid #123456;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sheader-btn:hover {
    
    background: transparent;
    color: #123456;
    text-decoration: none;
}





/* SSSHeader Section */


.sproperty-title h4 {
    font-size: 20px;
    margin: 0;
}



/* Body Section */
.sbody {
    width: 100%;
    padding: 20px;
}

.sproperty-image {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
}

.sproperty-image img {
    width: 100%;
    max-width: 1000px;
    height: 550px;              /* fixed height */
    object-fit: cover;          /* fills box, crops excess */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


/* Optional: Add slight zoom on hover */
.sproperty-image img:hover {
    transform: scale(1.02);
}


.sproperty-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
    
   
    
}

.sproperty-column {
    background-color: transparent;
    padding: 20px 0;
    border-radius: 0;
    box-shadow: none;
    border-top: 4px solid orange; /* Orange border on top */
    text-align: left; /* Left align text */
}

.sproperty-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #007BFF;
    text-align: center;
}

.sproperty-column p {
    font-size: 14px;
    color: #555;
    text-align: center;
}



/* Make the columns responsive */
@media (max-width: 992px) {
    .sproperty-columns {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 600px) {
    .sproperty-columns {
        grid-template-columns: 1fr; /* 1 column on very small screens */
    }
}

/* Section Heading */
.ssection-heading {
    margin: 30px 0 20px;
    padding: 20px;
    text-align: center;
    background-color: transparent; /* Removed background */
    border-radius: 0;
}

.ssection-heading h2 {
    margin: 0;
    color: #003366;
    position: relative;
    display: inline-block;
    font-size: 28px;
}

.ssection-heading h2::after {
    content: '';
    display: block;
    width: 60px; /* ~half an inch */
    height: 4px;
    background-color: orange;
    margin: 10px auto 0;
    border-radius: 2px;
}




/* Container for the gallery */
.scustom-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.scustom-gallery-item img {
    width: 100%;
    height: 300px; /* Set desired uniform height */
    object-fit: cover; /* Crop image to fill space while preserving aspect ratio */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
}

/* Ensure that the image enlarges when clicked */
.scustom-gallery-item img.enlarged {
    transform: scale(2); /* Increase the size */
    transition: transform 0.3s ease; /* Smooth transition */
    z-index: 10;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    cursor: zoom-out; /* Change the cursor to indicate the image can be clicked again to shrink */
}

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

@media (max-width: 600px) {
    .scustom-gallery {
        grid-template-columns: 1fr;
    }
}

.sproperty-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 10px;
}

.sproperty-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* When an image is clicked, it will enlarge */
.sproperty-gallery img.enlarged {
    transform: scale(1.5);
    z-index: 10;
}



.full-size-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.full-size-img:hover {
    transform: scale(1.03);
}


.sproperty-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 1024px) {
    .sproperty-images {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sproperty-images {
        grid-template-columns: 1fr;
    }

    .full-size-img {
        height: auto;
        max-height: 250px;
    }
}



/* Lightbox Modal */
#imageModal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

#imageModal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#imageModal.show {
    display: flex;
}










/* Video */
.sproperty-video {
    width: 800px; /* Set fixed width */
    margin: 40px auto; /* Center horizontally and add top/bottom spacing */
    padding: 20px; /* Add padding inside the container */
    background-color: #f5f5f5; /* Optional background color */
    border-radius: 16px; /* Rounded corners to make it more "screen-like" */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border: 8px solid #333; /* Dark border for the "screen" effect */
}

.sproperty-video iframe {
    width: 100%; /* Make the iframe span the full width of the container */
    height: 450px; /* Set a fixed height for the iframe */
    border-radius: 8px; /* Rounded corners for the video itself */
    border: none; /* Remove border around the iframe */
    display: block; /* Ensure no space below the iframe */
    margin: 0; /* Remove any default margin */
}

/* Medium screens */
@media (max-width: 992px) {
    .sproperty-video {
        width: 100%; /* Full width on medium screens */
    }

    .sproperty-video iframe {
        height: 400px; /* Adjust height for medium screens */
    }
}

/* Small screens */
@media (max-width: 600px) {
    .sproperty-video {
        width: 100%; /* Full width on small screens */
    }

    .sproperty-video iframe {
        height: 300px; /* Adjust height for small screens */
    }
}





/* Loan calculator */
/* Container */
.container {
    display: flex;
    justify-content: space-between;
    gap: 10px; /* Space between columns */
    margin: 0 auto;
}

/* Left content - takes up 60% */
.content-left {
    flex: 0 0 70%;
    padding: 10px;
    background-color: transparent; /* Light background for demo */
    border: 8px solid #333;
}

/* Right content - takes up 40% */
.content-right {
    flex: 0 0 30%;
    padding: 20px;
    background-color: transparent; /* Light background for demo */
    border: 8px solid #333;
}

/* Responsive layout - stacks columns on smaller screens */
@media (max-width: 768px) {
    .container {
        flex-direction: column; /* Stacks the columns */
    }

    .content-left, .content-right {
        flex: 0 0 100%; /* Full width for each column */
    }
}



/* Wrapper to prevent layout break */
.slider {
  width: 500px;
  height: 300px;
  position: relative;
  overflow: hidden;
}

.slides {
  width: 100%;
  height: 100%;
  display: flex; /* or flexbox */
  transition: transform 0.5s ease-in-out; /* Transition effect for slides */
}

.slide {
  width: 100%;
  height: 100%;
  /* Add your image styling here */
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Make sure images fill the slide */
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* Add styling for the navigation buttons */
}



</style>


