.navbar {
 box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 12px 20px;
    z-index: 1000;
    position: fixed;
    width: 100%;
    background-color: rgba(25, 135, 84, 0.9) !important;
}

.navbar-brand {
  font-size: 24px;
  letter-spacing: 1px;
}

.nav-link {
  font-weight: 500;
  margin: 0 10px;
  transition: 0.3s;
  border-radius: 10px;
  font-size: 20px;
  color: white;
}

.nav-link:hover {
 transform: scale(1.08);
 color:gold;
}

form input {
  border-radius: 25px;
  transition: 0.3s;
  color: #198754;
background-color: white;
}

.btn {
  border-radius: 25px;
  transition: 0.3s;
  color: #198754;
background-color: white;
margin-left: 50px;
}

.btn:hover {
  transform: scale(1.05);
}

.hero-section{
    background: linear-gradient(to right,#f8f9fa,#eaf7ef);
    min-height: 85vh;
    display: flex;
    align-items: center;
}


.hero-title{
    font-size: 58px;
    font-weight: bold;
    color: #198754;
    margin-bottom: 20px;
}

.hero-text{
    font-size: 35px;
    color:rgba(0, 0, 0, 0.495);
    line-height: 1.8;
}

.hero-img{
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transition: 0.4s;
}
.hero-img:hover{
transform: scale(1.03);
}

.btn-success{
    border-radius: 30px;
    font-size: 18px;
    transition: 0.3s;
}

.btn-success:hover{
    transform: scale(1.05);
}
.hero-title{
  opacity: 0;
  transition: 3s;
  transform: translateY(20px);
}
.hero-title.show{
  opacity:1;
  transform: translateY(0);
}

#suggestions{
  background:white;
  border-radius:10px;
  margin-top:5px;
  box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

#suggestions div{
  padding:10px;
  cursor:pointer;
}

#suggestions div:hover{
  background:#f1f1f1;
}
.housing-card {
    position: relative;
    overflow: hidden; 
    transition: all 0.3s ease;
}

.fav-nav-wrapper {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
   margin-right: auto ;
    margin-left: 20px ; 
    order: 1; 
    border-radius: 50px; 
    background: rgba(0, 0, 0, 0.2); 
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


.fav-icon-container {
    position: relative;
    display: flex;
    align-items: center;
    
}

.fav-icon-container i {
    font-size: 1.3rem;
    color: #ff4d4d; 
    filter: drop-shadow(0 0 5px rgba(255, 77, 77, 0.3));
}

.fav-badge {
    position: absolute;
    top: -5px;
    right: -8px;
   background-color: #ffc107;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
   border: 1px solid #fff; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.fav-label {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.fav-nav-wrapper:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.fav-nav-wrapper:hover i {
    color: #ffc107; 
    transform: scale(1.1);
}
@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.heart-bump {
    animation: heartBeat 0.4s ease-out;
}
#favoriteSidebar .offcanvas-header {
    background-color: #ffffff !important; 
    background-image: none !important; 
    border-bottom: 1px solid #eee !important;
}


#favoriteSidebar .offcanvas-title {
    color: #198754 !important; 
    font-size: 22px !important;
    font-weight: bold !important;
    opacity: 1 !important; 
}
#favoriteSidebar .btn-close {
    filter: none !important; 
    opacity: 1 !important;
}