:root {
  --par-gradient:  linear-gradient(
    90deg, 
    rgba(150, 113, 1, 0.75), 
    rgba(224, 169, 1, 0.8));
}

html, body {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  overflow-x: hidden;
  color: #333;       
}

.btn,
.btn:focus,
.btn:active,
.btn:focus-visible,
.btn:hover {
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}

.bg-par {
  background: var(--par-gradient);
}

.text-par {
  background: var(--par-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.btn-par {
  background: var(--par-gradient);
  border: none;
  color: #fff; 
}

.btn-outline-light:hover {
    color: #000 !important; 
    background-color: #fff;
}

.bar-height {
  height: 32px; /* default (desktop) */
}

@media (max-width: 991px) {
  /* tablet */
  .bar-height {
    height: 80px;
  }
}

@media (max-width: 767px) {
  /* mobile */
  .bar-height {
    height: 60px;
  }
}

/* Position nested submenu */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -0.25rem;
}


/* Reset deprecated H1 behavior inside section/article/etc. */
:where(h1) {
  font-size: 2.5rem;   /* same as Bootstrap display-5 */
  line-height: 1.2;
  margin-block: 0.67em;
}

:where(h2) {
  font-size: 2rem;     /* or match Bootstrap’s h2 size */
  line-height: 1.3;
  margin-block: 0.83em;
}


@media (max-width: 576px) {
}


.h3-style{
  font-size: 1.25rem;
}

.text-gold {
  background: linear-gradient(90deg, #987200, #D8A301);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  color: transparent;    /* fallback */
}

.text-mute-dark{
  color: #4B5563;
}

.h1hero{
  width: 70%;
}

@media (min-width: 768px) {  /* tablets and up */
  .shift-up_little {
    position: relative;
    top: -20px; /* move up */
  }
}

.h2here{
  width: 60%;
  font-weight: 500;
  font-style: italic;
  font-size: 1.1em;
}


.h1hero{
  width: 70%;
}

@media (min-width: 768px) {  /* tablets and up */
  .shift-up_little {
    position: relative;
    top: -20px; /* move up */
  }
}


.navbar-bottom-shadow {
  box-shadow: 0 4px 6px -2px rgba(0, 0, 0, 0.2); /* X-offset, Y-offset, blur, spread, color */
}

.navbar-nav .nav-link {
  position: relative;
  display: inline-block; /* Make sure it wraps nicely */
  padding-bottom: 5px; /* Space for the border */
  transition: all 0.3s ease; /* Smooth transition */
  color: #fff !important;
}

.navbar-nav .nav-link.active {
  border-bottom: 3px solid #ffffff;
  color: #ffffff !important;
  font-weight: bold;
}

/* Change color when hovering over any nav-link */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  border-bottom: 3px solid #ffffff;
  color: #ffffff !important; /* Same or different color */
  font-weight: bold;
}



/*new style added */


/* Optional: change dropdown items too on hover */
/* Dropdown hover */
.navbar-nav .dropdown-menu .dropdown-item:hover,
.navbar-nav .dropdown-menu .dropdown-item:focus {
  background: rgba(138, 104, 1, 0.5) !important; /* remove Bootstrap blue */
  color: #ffffff !important;                /* your text color */
  font-weight: bold;
}

/* Dropdown active (clicked/selected) */
.navbar-nav .dropdown-menu .dropdown-item.active,
.navbar-nav .dropdown-menu .dropdown-item:active {
  background: rgba(138, 104, 1, 0.5) !important; /* no blue background */
  color: #ffffff !important;               /* keep same text color */
  font-weight: bold;
}



.cookie-banner {
  display: none; /* Show via JS if not accepted */
  z-index: 1050; /* Above Bootstrap elements */
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
}


/* Custom 14-column grid */
.custom-grid {
  display: flex;
  flex-wrap: wrap;
}

.custom-col-2-14 {
  flex: 0 0 calc((2 / 14) * 100%);
  max-width: calc((2 / 14) * 100%);
}

.custom-col-3-14 {
  flex: 0 0 calc((3 / 14) * 100%);
  max-width: calc((3 / 14) * 100%);
}

/* new style ends here */




.client-login:hover,
.client-login:focus{
  font-weight: bold;
}

/* Hamburger menu style */

/* 1️⃣ Normal state: custom color + custom border */
.navbar-toggler {
  border-color: #dddbdc !important;

}
.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* 2️⃣ Hover state: change border + icon color */
.navbar-toggler:hover {
  border-color: #FFFFFF !important; /* White border on hover */
  font-weight: bold !important;
}

.navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Focus + active (when clicked) */
.navbar-toggler:focus,
.navbar-toggler:active {
  border-color: #ffffff; /* or your hover color if you want it same as hover */
  box-shadow: none;
  outline: none;
}

.text-gold {
  background: linear-gradient(90deg, #987200, #D8A301);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  color: transparent;    /* fallback */
}

.text-mute-dark{
  color: #4B5563;
}

.h1hero{
  width: 70%;
}

@media (min-width: 768px) {  /* tablets and up */
  .shift-up_little {
    position: relative;
    top: -20px; /* move up */
  }
}

.h2here{
  width: 60%;
  font-weight: 500;
  font-style: italic;
  font-size: 1.1em;
}

/* Apply only on mobile (less than Bootstrap's lg breakpoint) */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-left: 10px; /* adjust as needed */
  }
  .navbar-brand {
    margin-left: 10px; /* adjust as needed */
  }
  .navbar-toggler {
    margin-right: 10px; /* adjust as needed */
  }

  .h1hero{
  width: 100%;
  font-size: 1.8em;
  line-height: 1.8;
  }

  .h2here{
    width: 100%;
    font-size: 1.1em;
    line-height: 1.6;
  }
}



/* Submenu wrapper */
.dropdown-submenu {
  position: relative;
}

/* Desktop: submenu flies out to the right */
@media (min-width: 992px) {
  .dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.125rem;
  }
}

/* Optional arrow indicator */
.dropdown-submenu > .dropdown-toggle::after {
  content: "▸";
  float: right;
  margin-left: 5px;
}

.dropdown-item.active {
  background: none !important;
  color: #84060F !important;
  font-weight: 600; /* optional for emphasis */
}


.bar-height {
  height: 32px; /* default (desktop) */
}


@media (max-width: 991px) {
  /* tablet */
  .bar-height {
    height: 80px;
    display: none;
  }
}

@media (max-width: 767px) {
  /* mobile */
  .bar-height {
    height: 60px;
    display: none;
  }
}


.video-background-container {
  position: relative;
  width: 100%;
  min-height: 500px; 
  max-height: 900px; 
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-bg img {
  width: 100%;
  height: auto;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(245deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  z-index: 2;
}

.content-on-video {
  flex: 1;
  z-index: 3;
  height: 100%;
}

.logo-bottom {
  position: absolute;
  bottom: 0;
  left: 0; 
  z-index: 3;
}
.tab-btn {
  cursor: pointer;
  color: #B5C6D5;
  padding: 10px 20px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn.active {
  color: #000;
  border-bottom: 3px solid rgba(224, 169, 1, 0.8);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.amenity-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  min-height: 182px;
}

.layout-img {
  display: none;
  width: 100%;
  height: auto;
}

.layout-img.active {
  display: block;
}

.sectionDuoMap {
  box-shadow: 0 0 8px rgb(223, 221, 221);
  border-radius: 0.5rem;
}

.map-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-size: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.map-card h4{
  font-size: 18px;
}

.features {
  background: 
    linear-gradient(rgba(123, 95, 0, 0.73), rgba(123, 95, 0, 0.73)),
    url("../images/house.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.transparent-navbar {
  background: transparent !important; /* remove any solid bg */
  box-shadow: none; /* no shadow */
  z-index: 5;
}



/* Ensure accessibility for icons */
[aria-hidden="true"] {
  speak: none;
}





.property_search {
    margin-top: -50px;          /* pull up to overlap previous section */
    position: relative; 
    z-index: 10;                /* make sure it’s above previous section */
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.3); /* ensure shadow is visible */
  }

  @media (max-width: 991.98px) {
    .property_search {
    margin-top: -40px;
    display: block;
    width: 90%;
  }
  }




.client-login {
  position: relative;
  display: inline-block; /* Make sure it wraps nicely */
  padding-bottom: 5px; /* Space for the border */
  transition: all 0.3s ease; /* Smooth transition */
}



/* Change color when hovering over any nav-link */
.client-login:hover,
.client-login:focus {
  color: #B08F1E !important; /* Same or different color */
  font-weight: bold;
}



.client-login-tou {
  position: relative;
  display: inline-block; /* Make sure it wraps nicely */
  padding-bottom: 5px; /* Space for the border */
  transition: all 0.3s ease; /* Smooth transition */
}
/* Change color when hovering over any nav-link */
.client-login-tour:hover,
.client-login-tour:focus {
  font-weight: bold;
}

@media (max-width: 576px) {
  .client-login-tour {
    width: 100% !important;
  }
}

.bottom-shadow_hero {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2) !important; /* X Y Blur Color */
}

.small-form-text {
  font-size: 0.8rem !important; /* or any size you want */
}

.feature-bg-section-overlay {
  background: 
    linear-gradient(90deg, rgba(152, 114, 0, 0.7), rgba(216, 163, 1, 0.7)),
    url('../images/bg_section.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* motion slider */

:root {
  --animate-duration: 2000ms;
  --animate-delay: 0.09s;
}

.horizontal-bullets li {
  position: relative;
  padding-left: 0.5rem;
  margin-right: 0.5rem;
}

.horizontal-bullets li:not(:first-child)::before {
  content: "•"; /* Unicode bullet */
  position: absolute;
  left: 0;
  color: #000; /* Change bullet color if needed */
}


.custom-card {
  position: relative;
  border: none; /* remove default border */
  border-radius: 8px; /* apply card rounding */
  overflow: hidden; /* ensure gradient doesn't overflow rounded corners */
}

.custom-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px; /* thickness of the border */
  background: linear-gradient(90deg, #c60100, #9e0000);
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}
.card-img-top{
  width: 45px;
  height: 45px;
  margin: 30px 30px 30px 15px;
  border-radius: 5px;
}

.bg-grey-white{
  background: #F9F9F9;
}

.custom-carousel-btn {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.2);
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 10;
}

.carousel-control-prev.custom-carousel-btn { left: -60px; }
.carousel-control-next.custom-carousel-btn { right: -60px; }

.custom-carousel-btn i {
  font-size: 1.5rem;
  background: linear-gradient(90deg, #987200, #D8A301);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 767px) {
  .carousel-control-prev.custom-carousel-btn { left: -10px; }
  .carousel-control-next.custom-carousel-btn { right: -10px; }
}

.footer-copy-right{
  color: #6B7280;
}

.w-65 {
  width: 65% !important;
}
@media (max-width: 767px) {
.w-65 {
  width: 100% !important;
}
.text-mobile-smaller {
    font-size: 18px;
  }
.image-footer{
  max-width: 100%;
  height: auto;
  width: 120px; /* Adjust size as needed */
}
.footer-copy-right{
  color: #6B7280;
}
}


.svg-icon {
  max-width: 100%;
  height: auto;
  width: 20px; /* Adjust size as needed */
}

.bg-black{
  background-color: #000000;
}
.footer-title{
  font-size: 18px;
}

.footer-text{
  font-size: 14px;
}



/* Force Font Awesome chevrons to white (covers font glyphs, pseudo-elements and injected SVGs) */
.footer-title .fa-chevron-down,
.footer-title .fa-chevron-down::before,
.footer-title .fa-chevron-down::after,
.footer-title i.fa-chevron-down,
.footer-title svg,
.footer-title svg * {
  color: #fff !important;
  fill:  #fff !important;
  stroke: #fff !important;
}

/* Make button border white on focus */
.footer-title:focus {
  border-color: #fff !important;
  box-shadow: none !important; /* optional: remove blue glow */
}

/* Toggle icon down ↔ up when collapse is open */
button[aria-expanded="true"] .fa-chevron-down::before {
  content: "\f077"; /* Font Awesome chevron-up */
}


/* Makes sure all clickable items meet touch target size */
.touch-target {
  padding: 2px; /* increases clickable area */
  text-decoration: none;
}

/* Cookie Banner */
/* Cookie Banner */
.cookie-banner {
  display: none; /* Show via JS if not accepted */
  z-index: 1050; /* Above Bootstrap elements */
  background-color: rgba(0, 0, 0, 0.6); /* semi-transparent black */
}




@media (max-width: 767px) {
  .cookiemargin{
    margin-top: 20px;
    margin-bottom: 10px;
  }
}


/* Scroll-to-Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 20px;
  display: none;
  border-radius: 50%;
  padding: 10px 12px;
  font-size: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 1050;
}
.scroll-top-btn:hover {
  background-color: #e0b800;
  color: #000;
}


/* Custom 14-column grid */
.custom-grid {
  display: flex;
  flex-wrap: wrap;
}

.custom-col-2-14 {
  flex: 0 0 calc((2 / 14) * 100%);
  max-width: calc((2 / 14) * 100%);
}

.custom-col-3-14 {
  flex: 0 0 calc((3 / 14) * 100%);
  max-width: calc((3 / 14) * 100%);
}


 /* Animate slide/zoom */
  .animate-menu.collapse:not(.show) {
    display: block;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.35s ease;
  }

  .animate-menu.collapse.show {
    height: auto;
    opacity: 1;
    transform: scale(1);
  }

.bg-dark-red{
  background: linear-gradient(90deg, #c60100, #9e0000);
}


.text-reddish {
  background: linear-gradient(90deg, #c60100, #9e0000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; /* for Firefox */
  color: transparent;    /* fallback */
}

.continuous-slider {
  overflow: hidden;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  padding: 10px 0;
}

.slider-track {
  display: flex;
  width: max-content;
  animation: scroll-left 30s linear infinite;
  align-items: center;
}

.slider-track img {
  margin: 0 30px;
  width: 200px;
  height: auto;
  object-fit: contain;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Base split */
.feature-split {
  position: relative;
  width: 100%;
}

/* Left full-bleed background using pseudo for desktop */
.feature-split::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 0;
  background: #000;
  width: 50%; /* adjusted at breakpoints */
}

.fs-col,
.fs-inner.container {
  position: relative;
  z-index: 2;
}

.fs-inner {
  padding-top: 12px;
  padding-bottom: 12px;
}

/* desktop calculations */
@media (min-width: 768px) {
  .feature-split::before { width: calc(50% - 180px); }
}
@media (min-width: 992px) {
  .feature-split::before { width: calc(50% - 240px); }
}
@media (min-width: 1200px) {
  .feature-split::before { width: calc(50% - 285px); }
}
@media (min-width: 1400px) {
  .feature-split::before { width: calc(50% - 330px); }
}

/* MOBILE: stack as vertical full-width blocks */
@media (max-width: 767.98px) {
  .feature-split::before { display: none; }

  .feature-split .col-md-3,
  .feature-split .col-md-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .fs-col--left {
    background: #000;
    color: #fff;
    width: 100%;
  }

  .fs-col--right {
    background: #fff;
    color: #000;
    width: 100%;
  }

  .fs-inner.container {
    padding-left: 15px; /* bootstrap gutters */
    padding-right: 15px;
  }
}


  /* Move indicators a bit below the carousel */
  #ambassadorCarousel .carousel-indicators {
    bottom: -60px;
  }

  /* Style indicators */
  #ambassadorCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #8A6801;
    opacity: 0.8;
  }

  #ambassadorCarousel .carousel-indicators .active {
    background-color: #F0B501;
    opacity: 1;
  }

  /* Adjust prev/next icons outside */
  #ambassadorCarousel .carousel-control-prev,
  #ambassadorCarousel .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: auto;
  }

  #ambassadorCarousel .carousel-control-prev i,
  #ambassadorCarousel .carousel-control-next i {
    font-weight: bold;
  }

  @media (min-width: 768px) {
    .border-md-end {
      border-right: 3px solid #e4af0e;
    }
  }

  #faq .card{
  margin: 20px auto;
}
#faq .card .sub{
  background-color: #f9f9f9;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 500;
  font-size: 20px;
  line-height: 28px;
  color: #00272e;
  padding: 0px 20px;
}
.icon {
  margin-left: 10px;
  transition: transform 0.2s ease;
}
#faq .card .active, #faq .card .sub:hover {
  color: #111;
}
#faq .card .description{
  background: rgba(71, 159, 72, 0.08);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
#faq .card p{
  font-weight: 400;
  font-size: 16px;
  line-height: 20px;
  color: #00272e;
  padding: 20px 40px;
  width: 80%;
}

.faq-card {
  border-radius: 12px;
  padding: 13.5px;
  text-align: center;
  font-size: 12px;
  min-height: 225px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.faq-card i{
  font-size: 35px;
  margin-bottom: 5px;
}
  
/* Modal base */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0,0,0,0.1);
  justify-content: center;
  align-items: center;
  overflow: auto;
}

.modal.active{
    display: flex;
}

/* Modal Content Card */
.modal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  height: auto;           
  min-height: 425px;
  max-height: 625px;
  display: flex;
  flex-direction: column; /* header, body, footer stack */
  animation: fadeIn 0.3s ease-in-out;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Header, body, footer */
.modal-header, .modal-footer {
  padding: 10px 20px;
  background: #f5f5f5;
  border-radius: 8px 8px 0 0;
}

.modal-footer {
  border-top: 1px solid #ddd;
  border-radius: 0 0 8px 8px;
  text-align: center;
  margin-top: auto; /* pushes footer down */
}

/* Close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
}

/* Fade animation */
@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}

/* Input and button */
.modal-body input[type="email"] {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.modal-body button {
  margin-top: 15px;
  width: 100%;
}


.footer-copy-right{
  color: #d0cece;
  text-decoration: none;
}

.footer-copy-right a{
  color: #d0cece;
}

.w-65 {
  width: 65% !important;
}

.svg-icon {
  max-width: 100%;
  height: auto;
  width: 20px; /* Adjust size as needed */
}

.bg-black{
  background-color: #000000;
}
.footer-title{
  font-size: 18px;
}

.footer-text{
  font-size: 14px;
}

/* Force Font Awesome chevrons to white (covers font glyphs, pseudo-elements and injected SVGs) */
.footer-title .fa-chevron-down,
.footer-title .fa-chevron-down::before,
.footer-title .fa-chevron-down::after,
.footer-title i.fa-chevron-down,
.footer-title svg,
.footer-title svg * {
  color: #fff !important;
  fill:  #fff !important;
  stroke: #fff !important;
}

/* Make button border white on focus */
.footer-title:focus {
  border-color: #fff !important;
  box-shadow: none !important; /* optional: remove blue glow */
}

/* Toggle icon down ↔ up when collapse is open */
button[aria-expanded="true"] .fa-chevron-down::before {
  content: "\f077"; /* Font Awesome chevron-up */
}

/* Custom 14-column grid */
.custom-grid {
  display: flex;
  flex-wrap: wrap;
}

.custom-col-2-14 {
  flex: 0 0 calc((2 / 14) * 100%);
  max-width: calc((2 / 14) * 100%);
}

.custom-col-3-14 {
  flex: 0 0 calc((3 / 14) * 100%);
  max-width: calc((3 / 14) * 100%);
}

@media (max-width: 450px) {
  .w-65{
    width: 100% !important;
  }
  .ctaP p{
    font-size: 15px !important;
  }
}


@media (max-width: 767px) {
  .w-65 {
    width: 100% !important;
  }
  .text-mobile-smaller {
      font-size: 18px;
    }
  .image-footer{
    max-width: 100%;
    height: auto;
    width: 120px; /* Adjust size as needed */
  }
  .footer-copy-right{
    color: #d0cece;
  }
  .footer-copy-right a{
    color: #d0cece;
  }
}

@media (max-width: 768px) {
  .form-container {
    margin: 20px;
    padding: 20px;
  }
  
  .form-title {
    font-size: 1.5rem;
  }

  .estate-card {
    width: 320px;
  }
}

@media (max-width: 575.98px) {
  .video-bg {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }
  #residential p{
    font-size: 12px;
  }
  #commercial p{
    font-size: 12px;
  }
  .layout p{
    font-size: 14px;
  }
  .layout h2{
    text-align: center;
  }
  .layout img{
    padding-top: 15px;
  }
  #faq .card .sub {
    font-size: 16px;
    padding: 20px;
  }
  .ctaP p{
    font-size: 16px !important;
  }
}

/*** Lead Gen Style ***/
#welcomeModalDesktop .modal-dialog {
  max-width:1100px !important;
  width: 90% !important;
}

#welcomeModalDesktop .modal-content {
  border-radius: 15px;
  overflow: hidden;
  max-width: none !important;
  width: 100% !important;
  min-height: 350px;
}

#welcomeModalDesktop .col-md-6:first-child {
  min-height: 350px;
}

#welcomeModalDesktop .left-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#welcomeModalDesktop .right-content {
  min-height: 350px;
  display: flex;
  flex-direction: column;
}

#welcomeModalDesktop .logo-image {
  max-width: 180px;
  height: auto;
}

#welcomeModalDesktop .form-wrapper {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

#welcomeModalDesktop .row {
  margin: 0;
  min-height: 350px;
}

#welcomeModalMobile .modal-dialog {
  max-width: 500px;
}

#welcomeModalMobile .logo-image {
  max-width: 180px;
  height: auto;
}

#welcomeModalMobile .left-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#welcomeModalMobile .modal-content {
  max-width: none !important;
  width: 100% !important;
}

/* ── Fix tourModal — override generic .modal-content conflict ── */
#tourModal.modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1055;
  overflow-x: hidden;
  overflow-y: auto;
}

#tourModal .modal-dialog {
  max-width: 620px;
  width: 90%;
  margin: 2rem auto;
}

#tourModal .modal-content {
  /* reset the broken generic styles */
  width: 100% !important;
  max-width: 100% !important;
  min-height: unset !important;
  max-height: unset !important;
  height: auto !important;
  display: block !important;
  flex-direction: unset !important;
  padding: 0 !important;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: none;
  overflow: hidden;
}

#tourModal .modal-body {
  padding: 2rem;
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
}

#tourModal .btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

#tourModal h4 {
  font-size: 20px;
  font-weight: 700;
  color: #161A1D;
}

#tourModal .section-card {
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: #fff;
}

#tourModal .section-card h6 {
  font-size: 14px;
  font-weight: 700;
  color: #161A1D;
  margin-bottom: 2px;
}

#tourModal .section-card p {
  font-size: 12px;
  color: #6c757d;
  margin-bottom: 1rem;
}

#tourModal .form-label {
  font-size: 13px;
  font-weight: 500;
  color: #161A1D;
  margin-bottom: 4px;
}

#tourModal .form-control,
#tourModal .form-select {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 13px;
  padding: 10px 14px;
  color: #161A1D;
}

#tourModal .form-control:focus,
#tourModal .form-select:focus {
  background-color: #fff;
  border-color: #C0392B;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.1);
}

#tourModal .btn-submit {
  background: linear-gradient(90deg, rgba(132, 6, 15, 1), rgba(225, 29, 72, 1));
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 14px;
  width: 100%;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

#tourModal .btn-submit:hover {
  opacity: 0.9;
}
