/* === Base Reset === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to bottom, #fff, #f2f6fb);
  color: #333;
}

/* === Navbar === */
.backdrop-blur {
  backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, 0.5); /* better transparency */
  color: #fff;
  position: sticky;
   top: 0; z-index: 1020;
  
}

.sticky-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1050;
  background-color: rgba(65, 157, 180, 0.815);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-in-out;
}


/* === Hero Banner === */
.hero-banner {
  position: relative;
  background-image: url('/img/heroSection-city.jpg');
  background-size: cover;
  background-position: center;
  height: 400px;
  width: 100%;
  overflow: hidden;
}

.hero-banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-banner .content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-banner h1,
.hero-banner p {
  color: #fff;
}

/* === Top Search Bar === */
.top-search {
  position: sticky;
  top: 0;
  z-index: 1050;
  background-color: rgba(0, 16, 22, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* === Search Container === */
.search-container {
  position: relative;
  margin: 20px 0;
  
}

.search-input {
  height: 35px;
  border-radius: 30px;
  padding-left: 40px;
  font-size: 16px;
  border: none;
  width: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input:focus {
  border-color: #446d8a;
  box-shadow: 0 0 0 0.15rem rgba(2, 51, 87, 0.15);
  outline: none;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #535353;
  font-size: 18px;
  pointer-events: none;
}

/* === Search Button (if placed below input) === */
.search-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  font-size: 16px;
  padding: 10px 24px;
  border-radius: 30px;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #098ceb;
}

/* === Footer === */
footer {
  background-color: #222;
  color: #ccc;
  padding: 15px 0;
  font-size: 14px;
  text-align: center;
}

header {
  background-color: rgb(6, 126, 86);
}
