* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::placeholder {
  color: #b8b8b8;
}

body.hide-scrollbar {
  overflow-y: hidden;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #fff;
  color: #333;
  font-size: 16px !important;
}

.bg {
  background: linear-gradient(to top, #ffb65d 0%, #fff 40%, #fff 100%);
  width: 100%;
  height: 100dvh;
  color: white;
  position: absolute;
  top: 0;
}

.bgp {
  background: linear-gradient(to top, #ffb65d 0%, #fff 40%, #fff 100%);
  width: 100%;
  height: 100dvh;
  color: white;
  position: absolute;
  top: 0;
}

.container {
  width: 85%;
  margin: 0 auto;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  top: 30px;
  z-index: 1000;
  box-sizing: border-box;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #F67F00;
  text-decoration: none;
}

.logo span {
  color: #0473B7;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  text-decoration: none;
  color: #5f5f5f;
  font-weight: 500;
}

.activez {
  color: #0473B7;
}

nav a:hover {
  color: #0473B7;
}

.cta-button {
  padding: 10px 20px;
  background-color: #F67F00;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #0473B7;
}

.center-search {
  margin: 0 auto;
  width: 75%;
  position: relative;
  z-index: 4;
  top: 10rem;
  text-align: center;
}

.center-search {
  color: #5f5f5f;
}

.headline {
  font-size: 2.2rem;
  font-weight: bold;
  color: #F67F00;
  margin-bottom: 20px;
}

.center-search input[type="text"] {
  padding: 15px;
  width: 500px;
  max-width: 80vw;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #5f5f5f;
  font-weight: 600;
  outline: #F67F00;
}

input:focus {
  background-color: #fff7ee;
}


.center-search button {
  padding: 15px 20px;
  margin-left: 10px;
  background-color: #F67F00;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
}

.center-search button:hover {
  background-color: #0473B7;
  ;
}


.bottom-fade {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #F67F00;
  color: white;
  padding: 15px;
  border-radius: 20px;
  transition: opacity 0.5s ease;
  display: flex;
  flex-wrap: nowrap;
  /* prevent wrapping */
  gap: 10px;
  justify-content: center;
  max-width: 95vw;
  overflow-x: auto;
  /* enable horizontal scroll if needed */
  box-sizing: border-box;
}

.category {
  background-color: white;
  color: #F67F00;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  text-align: center;
  flex: 0 0 auto;
  /* prevent shrinking */
}

.category:hover {
  background-color: #F67F00;
  color: #fff;
  cursor: pointer;
}

.category i {
  font-size: 1.4rem;
  margin-bottom: 6px;
}



.hidden {
  opacity: 0;
}



.clearfix::after {
  content: "";
  display: table;
  /* or block */
  clear: both;
}


.categories {
  display: none;
  padding: 40px 20px;
}

.categories h2 {
  text-align: center;
  margin-bottom: 30px;
  color: #5f5f5f;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}

.category-box {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #ccc;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  transition: transform 0.2s ease;
  cursor: pointer;
}

.category-box:hover {
  transform: translateY(-5px);
  background-color: #fff7ee;
  border: 1px solid #F67F00;
}

.category-box i {
  font-size: 30px;
  color: #F67F00;
  margin-bottom: 10px;
}

.category-title {
  font-size: 16px;
  color: #333;
}


.containerz {
  display: flex;
  flex-wrap: wrap;
  position: relative;
  top: 5rem;
}

.resultflags {
  position: relative;
  top: 10px;
}

.resultviewbtn {
  background-color: #F67F00;
  padding: 8px 24px;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  margin: 18px 0 0 0;
  color: #fff;
}

.resultviewbtn:hover {
  background-color: #0473B7;
}

.filters {
  flex: 1 1 180px;
  padding: 20px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.filters label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: #555;
}

#selecters {
  width: 100%;
  padding: 10px;
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 3px;
  margin: 0 0 .5rem 0;
}

#priceSlider {
  width: 100%;
}

.containerz hr {
  margin: 25px 0;
}

.containerz h4 {
  color: #fff;
  margin: 0 0 2rem 0;
  text-align: center;
  background-color: #F67F00;
  padding: 8px 0;
  border-radius: 4px;
}

.filterbtn {
  width: 100%;
  padding: 10px 0;
  margin: 25px 0;
  background-color: #F67F00;
  cursor: pointer;
  border-radius: 8px;
  border: none;
  font-weight: 600;
  color: #fff;
}

.filterbtn:hover {
  background-color: #0473B7;
}

.results {
  flex: 3 1 600px;
  padding: 0px 0 20px 20px;
}

.results-header {
  margin-bottom: 20px;
}

.results-header p {
  position: relative;
  float: left;
  border-radius: 5px;
  background-color: #0473B7;
}

.selected-filters span {
  background-color: #ddd;
  padding: 5px 10px;
  margin-right: 5px;
  border-radius: 5px;
  display: inline-block;
  font-size: 0.9em;
}

.result-boxes {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.result-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  padding: 15px;
  background-color: #fff;
  gap: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.result-image {
  flex: 0 0 120px;
  height: 120px;
  background-color: #eee;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.result-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.result-name {
  font-weight: bold;
  font-size: 1.1em;
}

.result-services {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.result-services span {
  background-color: #f0f0f0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}

.result-meta {
  font-size: 0.9em;
  color: #555;
}

.result-tags {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.result-tags span {
  background-color: #ffefc8;
  color: #c9a223;
  padding: 4px 8px;
  margin-bottom: 5px;
  border-radius: 4px;
  font-size: 0.85em;
  text-align: right;
}

.result-button button {
  padding: 6px 12px;
  background-color: #F67F00;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* Plans Page */

.pricing-container {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

h1 {
  font-size: 32px;
  margin-bottom: 3rem;
  margin-top: 3rem;
  color: #5f5f5f;
}

.toggle-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: 0.4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #0473B7;
}

input:checked+.slider:before {
  transform: translateX(26px);
}

.cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 25px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card.featured {
  border: 2px solid #0473B7;
}

.card h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #5f5f5f;
}

.price {
  font-size: 32px;
  margin: 10px 0;
  color: #0473B7;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: left;
}

.card ul li {
  margin: 8px 0;
}

.card button {
  background: #F67F00;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.card button:hover {
  background: #0473B7;
}

.pagination a {
  background-color: #ffd6ab;
  margin: 5px;
  padding: 5px 10px;
  color: #f67f00;
  text-decoration: none;
}

.pagination.active {
  background-color: #f67f00;
  color: #fff;
}


/* Post Form Popup */

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 9999;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #333;
}

/* -------------------------- */

.form-container {
  display: flex;
  flex-wrap: wrap;
}

.form-section {
  flex: 1;
  min-width: 300px;
  padding: 10px;
}

.popup-content h2 {
  margin: 0 0 12px 12px;
  color: #555;
}

.form-group {
  margin-bottom: 15px;
}

.reqpostlab {
  display: block;
  margin-bottom: 5px;
  color: #5a5a5a;
  font-size: 14px;
}

.reqpostform {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
  background-color: #f9f9f9;
  border-radius: 3px;
  color: #5a5a5a;
  font-size: 14px;
}

.reqpostform ::placeholder {
  color: #0056b3;
}

.postreqbtn {
  background-color:#F67F00;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-weight: 600;
  border-radius: 3px;
  margin: .8rem 0;
}

.postreqbtn:hover{
  background-color:#0473B7;
}

.select-row {
  display: flex;
  gap: 10px;
}

.select-row>div {
  display: flex;
  flex-direction: column;
}


@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }
}

/* Lead Page */

.userdash {
  position: relative;
  top: 5rem;
  display: flex;
  height: 100vh;
}

.sidebar {
  width: 220px;
  background: #73abcd;
  color: white;
  padding: 20px;
  float: left;
  border-radius: 10px 0 0 10px;
}

.sidebar h2 {
  margin-top: 0;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar ul li {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #05639d;
}

.sidebar ul li:hover {
  background: #fff;
  color: #0473b7;
  border-radius: 8px;
}

.main-content {
  flex: 1;
  padding: 30px;
  overflow-y: auto;
  background: antiquewhite;
  border-radius: 0 10px 10px 0;
}

.section {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile & Tab Menu */

.topnav {
  overflow: hidden;
  background-color: rgb(45, 56, 64);
  ;
  position: relative;
  top: 3.2rem;
  border-radius: 8px;
}

.topnav #myLinks {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.topnav #myLinks.show {
  max-height: 520px;
  /* enough to show all links */
  opacity: 1;
}

.topnav a {
  color: rgba(255, 255, 255, 0.66);
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
  display: block;
  text-align: center;
}

.iconfa {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  color: #F67F00;
  font-weight: bold;
  font-size: 1.8rem;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.mobcat {
  width: 100%;
  background-color: #0473B7;
  position: absolute;
  bottom: 0;
  text-align: center;
  color: #fff;
  font-weight: bold;
  padding: 15px 0;
}

.catdrawer {
  height: auto;
  top: 5rem;
  position: relative;
}

.footerbox {
  position: relative;
  bottom: 0;
  width: 100%;
  margin: 60px 0 30px 0;
  padding: 10px 50px 20px 50px;
  text-align: center;
  z-index: 20;
  background-color: rgb(45, 56, 64);
  color: rgb(129, 149, 165);
  border-radius: 8px;
  float: left;
}

.footerbox a {
  color: rgb(129, 149, 165);
  text-decoration: none;
}

.footerbox a:hover {
  text-decoration: none;
  color: #fff;
}

.footerbox hr {
  margin: 10px 0 20px 0;
  height: 1px;
  border-width: 0;
  color: rgba(238, 240, 243, 0.18);
  background-color: rgba(238, 240, 243, 0.18);
}