body {
  font-size: 1.125rem;
  line-height: 1.7;
  font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

h1 {
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.3;
}

h2 {
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.35;
}

h3 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.4;
}

h4, .h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.75;
}

.fixed-top {
  background: #fff;
  z-index: 9999;
}

a {
  color: #f4623a;
}

header.masthead {
  padding-top: 10rem;
  padding-bottom: 5.5rem;
  background: linear-gradient(rgba(92,77,66,0.8), rgba(92,77,66,0.8)), url("../assets/img/property.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  border-color: #f4623a;
  box-shadow: 0 0 0 0.2rem rgba(244,98,58,0.25);
}

.form-control-lg {
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 1.125rem;
  line-height: 1.5;
}

.btn-group-lg > .btn,
.btn-lg {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.3rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-xl {
  padding: 1.25rem 2.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  border-radius: 10rem;
}

.btn-primary {
  background-color: #f4623a !important;
  border-color: #f4623a !important;
  color: #fff !important;
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #d94e1c !important;
  border-color: #d94e1c !important;
  color: #fff !important;
}


.navbar {
  padding: 0.5rem 1rem;
}





.navbar-nav .nav-link {
  display: block;
  padding: 0.35rem 0.6rem;
  font-size: 1rem;
  line-height: 1.3;
  white-space: nowrap;   
  flex-shrink: 1;
  text-align: center;
}


.navbar-nav .nav-link.wrap-text {
  white-space: normal;    
  display: inline-block; 
  max-width: 160px;       
  line-height: 1.3;
  text-align: center;
  word-break: break-word; 
}


@media (max-width: 991px) {
  .navbar-nav .nav-link {
    font-size: 0.95rem;
    padding: 0.35rem 0.5rem;
  }
  .navbar-nav .nav-link.wrap-text {
    max-width: 140px;    
  }
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}


@media (min-width: 1200px) {
  .navbar-nav .nav-link {
    font-size: 1.05rem;
    padding: 0.35rem 0.65rem;
  }
  .navbar-nav .nav-link.wrap-text {
    max-width: 180px;     
  }
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

/* Rounded rectangle button */
.navbar-toggler {
 display: inline-block;
  flex-shrink: 0;
  border: none;
  width: 50px;
  height: 40px;
  border-radius: 12px;
  background-color: rgba(0,0,0,0.06);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
  cursor: pointer;
  padding: 0;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Hamburger lines */
.navbar-toggler span {
  position: absolute;
  left: 10px;
  width: 30px;
  height: 3px;
   background: red !important;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
}


.navbar-toggler span:nth-child(1) {
  top: 12px;
}

.navbar-toggler span:nth-child(2) {
  top: 18px;
}

.navbar-toggler span:nth-child(3) {
  top: 24px;
}


.navbar-toggler.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 18px;
}

.navbar-toggler.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 18px;
}
.navbar .dropdown-menu {
  border: none;
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  margin-top: 12px;
  position: absolute;
}


.dropdown-item:hover {
    background-color: #f5f8fb;
    color: #02658C;
}
.dropdown-item {
    font-weight: 500;
}

@media (min-width: 992px) {  
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0; /* remove jump */
  }

  .navbar .dropdown-toggle::after {
    transition: transform 0.2s ease;
  }

  .navbar .dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg); 
  }
}



.navbar .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 30px; /* adjust to align with menu text */
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffffff; /* same as dropdown bg */
}


.navbar .dropdown-menu {
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}




#carouselExampleIndicators .carousel-inner {
  border: 5px solid #000;
}

.contact_form_container {
  background: #b4bacb;
  border: 1px solid #000;
}

hr.divider {
  height: 0.2rem;
  max-width: 3.25rem;
  margin: 1.5rem auto;
  background-color: #f4623a;
  opacity: 1;
}

.text-white-75 {
  color: rgba(255,255,255,0.75) !important;
}

.page-section {
  padding: 8rem 0;
}

.bg-primary {
  --bs-bg-opacity: 1;
  background-color: #5cbdb9 !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

@media (min-width: 1200px) {
  h4, .h4 {
    font-size: 1.5rem;
  }
}

.box1 {
  padding: 16px;
  background-color: #fff;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 50%);
}

.box1 img {
  width: 100%;
  margin-bottom: 12px;
}

@media (max-width: 767px) {
  .box1 {
    padding: 16px;
    margin-left: 8px;
    margin-right: 8px;
  }
}

.container.py-4.px-3 {
  background-color: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  max-width: 650px;
  margin: auto;
}

legend {
  font-weight: 600;
  font-size: 1.3em;
}

small.text-muted {
  font-size: 0.85em;
  color: #6c757d !important;
}

.icon-xl {
    font-size: 2.5rem;
}
