/* === FINAL USER REQUEST: compact footer, aligned icons, lighter Search Property button === */
.footer {
  padding: 28px 0 10px !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
.footer .container {
  max-width: 1190px !important;
}
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.35fr 1.15fr 1.05fr 1.05fr !important;
  gap: 24px !important;
  align-items: center !important;
}
.footer-col {
  min-height: 150px !important;
  padding-left: 22px !important;
  border-left: 1px solid rgba(255, 255, 255, 0.16) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}
.footer-col.footer-brand {
  border-left: 0 !important;
  padding-left: 0 !important;
  min-height: 160px !important;
  align-items: center !important;
  justify-content: center !important;
}
.footer .footer-logo,
.footer-logo {
  width: 420px !important;
  max-width: 100% !important;
  max-height: 210px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  margin: 0 auto !important;
  filter: none !important;
}
.footer h5 {
  margin-bottom: 12px !important;
}
.footer a {
  line-height: 1.35 !important;
}
.footer-links.two-col {
  columns: 2 !important;
  column-gap: 24px !important;
}
.footer-contact a {
  display: grid !important;
  grid-template-columns: 20px 1fr !important;
  align-items: start !important;
  gap: 9px !important;
  line-height: 1.45 !important;
  margin: 7px 0 !important;
  word-break: normal !important;
}
.footer-contact a i {
  width: 20px !important;
  min-width: 20px !important;
  text-align: center !important;
  margin: 0 !important;
  padding-top: 3px !important;
  color: var(--red, #d50012) !important;
}
.contact-strip {
  padding: 12px 0 !important;
}
.contact-grid {
  align-items: center !important;
  gap: 0 !important;
}
.contact-item {
  display: grid !important;
  grid-template-columns: 42px 1fr !important;
  align-items: center !important;
  gap: 12px !important;
  line-height: 1.25 !important;
  min-height: 46px !important;
  padding: 0 18px !important;
}
.contact-item i {
  width: 42px !important;
  min-width: 42px !important;
  text-align: center !important;
  font-size: 26px !important;
  margin: 0 !important;
}
.contact-item b,
.contact-item a {
  font-weight: 600 !important;
}
.search-card .btn-red,
.search-card a.btn-red {
  font-family: Montserrat, Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px !important;
  text-transform: uppercase !important;
  font-size: 14px !important;
  padding: 13px 18px !important;
  gap: 10px !important;
  border-radius: 9px !important;
  white-space: nowrap !important;
}
.search-card .btn-red i {
  font-size: 18px !important;
}
.copy {
  margin-top: 20px !important;
  padding-top: 12px !important;
}
@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    align-items: center !important;
    text-align: center !important;
  }
  .footer-col {
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    padding-left: 0 !important;
    padding-top: 16px !important;
    min-height: auto !important;
    align-items: center !important;
  }
  .footer-col.footer-brand {
    border-top: 0 !important;
    min-height: auto !important;
  }
  .footer .footer-logo,
  .footer-logo {
    width: 420px !important;
    max-height: 190px !important;
  }
  .footer-contact a {
    grid-template-columns: 20px auto !important;
    justify-content: center !important;
    text-align: left !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
  }
  .contact-item {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
    justify-content: center !important;
    text-align: left !important;
  }
  .contact-item:last-child {
    border-bottom: 0 !important;
  }
}
@media (max-width: 575px) {
  .footer .footer-logo,
  .footer-logo {
    width: 420px !important;
    max-height: 170px !important;
  }
  .search-card .btn-red,
  .search-card a.btn-red {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Final requested fixes: footer email normal, mobile dropdowns, career image, map link */
.contact-strip .contact-item:nth-child(3) b,
.contact-strip .contact-item:nth-child(3) a,
.footer-contact a[href*="myhome@investinmysore.in"] {
  font-weight: 400 !important;
}
.career-openings {
  display: flex !important;
  flex-direction: column !important;
}
.career-openings .career-side-image {
  margin-top: 18px !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  min-height: 230px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
}
.career-openings .career-side-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: 230px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.45s ease !important;
}
.career-openings:hover .career-side-image img {
  transform: scale(1.05) !important;
}
.map-link {
  display: block !important;
  cursor: pointer !important;
}
.navbar .dropdown-menu {
  z-index: 1055 !important;
}
@media (max-width: 991px) {
  .search-card {
    overflow: visible !important;
    position: relative !important;
  }
  .search-card .search-item {
    position: relative !important;
    overflow: visible !important;
    z-index: auto !important;
  }
  .search-card .dropdown {
    position: static !important;
    width: 100% !important;
  }
  .search-card .dropdown-menu.show {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    min-width: 100% !important;
    margin-top: 10px !important;
    max-height: 220px !important;
    overflow-y: auto !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16) !important;
    border-radius: 12px !important;
  }
  .location-btn,
  .property-type-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .dropdown-submenu > .dropdown-menu {
    position: static !important;
    left: auto !important;
    top: auto !important;
    margin-left: 12px !important;
    margin-top: 6px !important;
    box-shadow: none !important;
    max-height: 240px !important;
    overflow-y: auto !important;
  }
  .dropdown-submenu.open > .dropdown-menu {
    display: block !important;
  }
}
