.hero-section {

    min-height: 100vh;
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    padding-top:10.8vh
}

.header-container {
    position: fixed;
    width: 100%;
    z-index: 9999999999;
}

.hero-content p {
    text-align: left;
    font-family: "Kanit", sans-serif;
    margin-top:30px;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 10.8vh; 
    left: 0;
    width: 100%;
    height: 89.2vh;
    z-index: 0;
    background-size: cover;
    background-position: center top;
    animation: backgroundSlideshow 15s infinite;
}

@keyframes backgroundSlideshow {
    0% {
        
        background-image: url('/wp-content/uploads/2025/04/scyscraper.webp');
    }
    33% {
        background-image: url('/wp-content/uploads/2025/04/apartment.webp');
    }
    66% {
        background-image: url('/wp-content/uploads/2025/04/scyscraper.webp');
    }
    100% {
        background-image: url('/wp-content/uploads/2025/04/apartment.webp');
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    padding: 30px;
    max-width: 60%;
    margin-left: 0 ;
    border-radius: 10px;
    margin-top:-50px;
    
}

.hero-content hr {
    border: 1px solid #4d4d4d;
    width: 30%;
    margin-left: 0;
}

@media(max-width:1024px) {

.hero-content {
    max-width: 80%;
    padding: 0px;
}
}

@media(max-width:768px) {

    .hero-content {
        max-width: 100%;
        padding: 0px;

    }
    }

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 20px;
    text-align: left;
    font-weight: 900;
}
.hero-content h1 span {
    font-size: 50px;
    color:red;
    font-weight: 900;
}

.hero-content form.property-search-form button {
    background: rgb(255 0 0 / 20%);
    border-radius: 0px 15px 15px 0px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 35px;
    color: #fff;
}

@media(max-width:768px) {
    .hero-content form.property-search-form button {
        width: 100%;
        border-radius: 15px;
        margin-top: 10px;
    }
}

.hero-content  input.search-field {
    padding: 15px;
    background: rgb(255 255 255 / 3%);
    border-radius: 15px 0px 0px 15px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-section input.search-field::placeholder {
    color: #fff;
}


.hero-content form.property-search-form {
    display: flex !important;
    gap: 30px;
    margin-top:40px;
}

@media(max-width:768px) {
    form.property-search-form {
        display: block;
    }}

.hero-section input.search-field {
    padding: 15px;
    background: rgb(255 255 255 / 3%);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media(max-width:768px) {
    form.property-search-form {
        display: block;
    }
    .hero-section input.search-field {
        border-radius: 15px !important;
    }
}

.hero-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ff6a00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.hero-btn:hover {
    background-color: #e55d00;
}








.hero-bottom-menu {
    background: rgb(0 0 0 / 57%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgb(0 0 0 / 30%);
    height: 150px;
    z-index: 99999;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px 0px 0px 0px;
    width: 55%;
    margin-left: auto;
    margin-right: 0;
}

@media(max-width:1024px) {
    .hero-bottom-menu {
        width: 60%;
    }
}

@media(max-width:768px) {
    .hero-bottom-menu {
        width: 80%;
    }
}

.bottom-menu-main {
    margin-top: -150px;
}

.hero-bottom-menu .row {
    margin: auto;
}


.property-type-nav {
    display: flex;
    justify-content: center;
}

ul#menu-property span {
    font-size: 20px;
    color: #fff;
    font-weight: 500;
    margin-top: 3px;
    text-align: center;
    margin:0px !important;
    padding: 0px;
}


ul#menu-property li img {
    filter: brightness(0) invert(1);
    width: 50px;
    height: 50px;
    object-fit: contain;
}

@media(max-width:1024px) {
    ul#menu-property li img {
        filter: brightness(0) invert(1);
        width: 30px;
        height: 30px;
        object-fit: contain;
    }
    ul#menu-property span {
        font-size: 16px;
    }
}

@media(max-width:768px) {
    ul#menu-property li img {
        filter: brightness(0) invert(1);
        width: 20px;
        height: 20px;
        object-fit: contain;
        margin-bottom: 10px;
    }
 

}






  
  .hero-bottom-menu .row {
    display: flex;
    justify-content: flex-end;
  }
  
  .container-wrapper,
  .container {
    width: 100%;
  }
  
  /* Menu Container */
  .property-type-nav {
    overflow: hidden;
  }
  
  .property-type-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  /* Each menu item */
  .property-type-menu > li {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  
  /* Icon on top, text below */
  .property-type-menu > li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
  }
  
  /* Example: adjust image/icon size if there is one */
  .property-type-menu > li a img,
  .property-type-menu > li a i {
    margin-bottom: 5px;
    font-size: 28px; /* for font icons */
    width: 40px;      /* for images if used */
    height: 40px;
    object-fit: contain;
  }
  
  /* Width for responsiveness */
  


  
  
    
  









/* featured properties */

.property-item {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.property-thumb-overlay {
    display: block;
    position: relative;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.property-thumb-overlay img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-thumb-overlay:hover img {
    transform: scale(1.05);
}

.property-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.property-thumb-overlay:hover .property-overlay-content {
    opacity: 1;
}

.property-overlay-content h3 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 700;
}



.details-item {
    font-size: 14px;
}

.details-item-price {
    margin-top: 10px;
    font-weight: bold;
}


.property-overlay-content h3 {
    font-size: 30px !important;
    font-weight: 700;
}















.featured-properties-main .property-item .property-thumb img {
height:300px;
object-fit:cover;
border-radius: 15px;
}

.featured-properties {
margin-top:35px;
}

.featured-properties-main {
    margin-top: 150px;
}

@media(max-width:1024px) {
    .featured-properties-main {
        margin-top: 100px;
    }
}


.featured-properties .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1500px;
    width: 100%;
    padding: 0px 20px;
    margin:0 auto;
}

@media(max-width:1023px) {
    .featured-properties .container {
        grid-template-columns: 1fr;
    }
}


.property-item .property-thumb img {
    width: 100%;
    height:300px;
    object-fit:cover;
}


.property-item {
    position: relative;
    background: #000000;
    border-radius:15px;
}



.property-details h3 {
    margin: 0px;
}




.details-item-price {
    font-size: 30px;
    color: #fff;
    margin-top: 20px;
}



.property-item {
    position: relative;
    box-shadow: 0px 0px 20px #0000005c;
}







/* all properties */


.all-properties-main {
    margin-top: 200px;
}

.all-properties-button {
    text-align: center;
}

@media(max-width:1024px)  {
    .all-properties-main {
        
        margin-top: 100px;
    }
    .all-properties-button {
        width: fit-content;
        margin: 0 20px;
    }

    .all-cities-btn {
        width: fit-content;
    }
}


.property-item {
    border: 1px solid #ddd;
    overflow: hidden;
    position: relative;
}

.property-thumb {
    position: relative;
    overflow: hidden;
}

.property-thumb .thumb-image {
    transition: transform 0.4s ease;
}

.property-thumb:hover .thumb-image {
    transform: scale(1.1);
}

.property-thumb::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events:none;
}

.property-thumb:hover::after {
    opacity: 1;
}

.property-price {
    position: absolute;
    top: 10px;
    right: 10px;
    background:#000;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    z-index: 3;
    font-weight: bold;
}

.property-details {
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 70%;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 15px;
    z-index: 3;
    border-radius: 6px;
    
}

.property-details h3 {
    margin-bottom: 8px;
    font-size: 16px;
}

.property-details a {
    color: #000000;
}

.property-details a:hover {
    color:#ff0000;
}

.property-details-fields {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.details-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    background: #f1f1f1;
    padding: 4px 8px;
    border-radius: 4px;
}

.details-item.property-type {
    background: #000000;
    color: #fff;
}

.term-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 50%;
}






/* top cities */

.column.map-column {
    margin: auto;
}

.cities-properties-main {
    background: url(/real-estate/wp-content/uploads/2025/04/cities.webp);
    margin-top: 200px;
    padding: 150px 0px;
    position: relative;
}

@media(max-width:1024px) {
    .cities-properties-main {
        margin-top: 100px;
        padding: 80px 0px;
    }
}

.cities-properties-main::before {
    content: "";
    background-image: linear-gradient(to right top, #000000e3, #000000f5, #0e0b19f2, #070b1e, #000000f5);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
}

.cities-properties-main .row {
    z-index: 99;
    position: relative;
}


.cities-columns-wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

@media(max-width:1023px) {
    .cities-columns-wrapper {
        grid-template-columns: 1fr;
    }
}

ul.city-column li a {
    background: #3e3e3e9c;
    padding: 15px 20px;
    font-size: 18px;
    color: #fff;
    position: relative;
    width: 100% !important;
    display: block;
    border-left: 2px solid red;
}

@media(max-width:1024px) {
    ul.city-column li a {
        font-size:16px;
    }
}

ul.city-column li a:hover {
    background: red;
    color: #fff;
    position: relative;
    display: block;
}



ul.city-column li::before {
    content: "";
    background: #ff0000;
    width: 2px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}





 .cities-columns-wrapper .container {
 max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    }






.column {
    flex: 1;
    min-width: 300px;
}

.cities-column .city-columns {
    display: flex;
    gap: 20px;
}

.city-column {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.city-column li {
    margin-bottom: 10px;
}

.map-column img {
    max-width: 100%;
    height: auto;
    display: block;
}

.column.map-column img {
    height: 700px;
}


.arrow-button {
    display: inline-flex
;
    align-items: center;
    gap: 8px;
    padding: 15px 50px;
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}



.arrow-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.arrow-button:hover .arrow-icon {
    transform: translateX(5px);
}

.all-cities-btn {
    margin-top: 52px;
}





.sell-property-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.sell-property-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.sell-property-image {
  flex: 1;
  min-width: 300px;
}

.sell-property-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.sell-property-content {
  flex: 1;
  min-width: 300px;
}

.sell-property-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.sell-property-content p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #444;
}

/* Button Styling */


.arrow-button:hover {
  background-color: red;
  color: #fff;
  border: 2px solid red;
}

.arrow-icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.arrow-button:hover .arrow-icon {
  transform: translateX(5px);
}



/* agents */

.agents-main {
    margin-top: 150px;
}

@media(max-width:1024px) {
    .agents-main {
        margin-top: 100px;
    }
}

.agents-title-container {
    margin-bottom: 50px;
}

.all-agents {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0px 20px;
}

h1.agents-header-title, h2.agents-header-title, h3.agents-header-title, h4.agents-header-title, h5.agents-header-title, h6.agents-header-title {
    position: relative;
    font-size:72px;
font-family: "Lato", sans-serif;
  font-weight: 900;
  text-align: center;
}

h1.agents-header-title::after {
    position: absolute;
    content: "";
    background: #e3e3e3;
    width: 20%;
    height: 1px;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
}



.agents-title-container p {
    text-align: center;
}



.agent-item {
    flex: 0 0 calc(33.333% - 20px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.agent-thumb {
    position: relative;
    width: 100%;
    height: 100%;
}

.agent-thumb img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.agent-info-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 15px;
    box-sizing: border-box;
    text-align: left;
    z-index: 2;
}

.agent-info-overlay .agent-name {
    font-weight: bold;
    font-size: 16px;
}

.agent-info-overlay .agent-email {
    font-size: 14px;
    opacity: 0.9;
}

/* Responsive for smaller screens */
@media (max-width: 992px) {
    .agent-item {
        flex: 0 0 48%;
    }
}

@media (max-width: 600px) {
    .agent-item {
        flex: 0 0 100%;
    }
}


/* testimonoials */

.testimonials-carousel.swiper {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0px 20px;
}


.swiper-horizontal {
    padding-bottom: 60px;
}

.testimonials-main {
    margin-top: 150px;
}

@media(max-width:1024px) {
    .testimonials-main {
        margin-top: 100px;
    }
}


.testimonial-content {
    background: #000000ba;
    padding: 15px;
    position: relative;
    border-radius: 10px;
    color: #fff;
}

.testimonial-author {
    font-size: 25px;
    font-weight: 700;
    border-bottom: 1px solid #ffffff24;
    padding-bottom: 10px;
}

.testimonial-text p {
    margin-top: 15px;
}

.testimonial-text {
    display: flex
;
    gap: 20px;
}

.testimonial-text h1 {
    font-size: 80px;
    line-height: 1;
}











@media(max-width:1024px) {
    .cities-columns-wrapper .container, .all-agents, .testimonials-carousel.swiper {
 max-width: 100% !important;
    }

}
