:root {
  --primary-color: #2196F3;
  --gradient: linear-gradient(#B9E2FF, #ffffff);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #051525;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.bg {
  background: var(--gradient);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#open {
  display: none;
}

.logo img {
  width: 35px;
  height: 35px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.788);
  display: flex;
  align-items: center;
  gap: .3rem;
}

.logo .span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
}

.nav-links .active::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  margin-top: 1px;
}

.auth-buttons .btn {
  margin-left: 10px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
}

.sign-in {
  border: none;
  color: black;
  background-color: #fff;
  box-shadow: rgb(190, 188, 188) 1px 1px 1px;
}

.sign-up {
  background: var(--primary-color);
  color: #fff;
  box-shadow: #007bff 1px 1px 1px;
}

@media (max-width: 900px) {
  .navbar {
    padding: 10px 15px;
  }

  .responsive-head {
    display: flex;
    justify-content: space-between;
  }

  .auth-buttons {
    display: flex;
  }

  #open {
    display: flex;
  }

  .navbar #big {
    display: none;
  }

  #open {
    display: block;
    background: white;
    padding: 6px;
    border: 1px solid #CFDCE6;
    border-radius: 6px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.04);
    outline: none;
    font-size: 20px;
    cursor: pointer;
    color: #4F5D69;
  }

  .responsive {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    padding: 16px 20px;
    animation: slideDown 0.3s;
    overflow-y: hidden;
  }

  .responsive .links1 .active::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    margin-top: 1px;
  }

  .responsive .links1 li {
    width: 100%;
    text-align: center;
  }

  .responsive.show {
    display: flex;
  }

  .responsive-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .auth-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  .auth-buttons .btn {
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
  }

  .sign-in {
    color: #000;
    background-color: #fff;
    box-shadow: rgb(190, 188, 188) 1px 1px 1px;
    font-size: 15px;
    text-align: center;
    width: 100%;
  }

  .sign-up {
    background: var(--primary-color);
    color: #fff;
    box-shadow: #007bff 1px 1px 1px;
    font-size: 15px;
    text-align: center;
    width: 100%;
  }

  .logo a span {
    font-size: 20px;
  }

  .responsive ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .responsive ul li a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
  }

  .responsive #close {
    background: none;
    padding: 5px;
    border: none;
    font-size: 25px;
    cursor: pointer;
    color: #524f4f;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero {
  display: flex;
  justify-content: space-between;
  padding: 60px 50px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 46px;
  padding-top: 20px;
}

.hero-text h1 span {
  color: #007bff;
}

.overline {
  background-color: #e9f5fe;
  border-radius: 30px;
  color: #2196f3;
  padding: 10px 20px 10px 20px;
  width: 193px;
  font-size: 12px;
  height: 16px;
  box-shadow: 0 0.5px;
}

.overline-dot {
  font-size: 50px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2196f3;
  display: inline-block;
  margin-right: 5px;
}

.hero-buttons {
  margin-top: 20px;
}

.hero-buttons .btn {
  margin-right: 15px;
}

.btn {
  padding: 10px 16px;
  border-radius: 8px;
  outline: none;
  border: none;
  font-weight: 500;
}

.btn.primary {
  background: #007bff;
  color: #fff;
  box-shadow: #007bff 1px 1px 1px;
}

.btn.secondary {
  background: #fff;
  border: none;
  color: black;
  box-shadow: rgb(185, 183, 183) 1px 1px 1px;
}

.btn.details {
  display: inline-block;
  margin-top: 10px;
  background: var(--primary-color);
  color: #fff;
  text-decoration: none;
}

ating .filter-container {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  width: 500px;
  max-width: 95%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-left: auto;
  margin-right: auto;
}

.filter-container h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.sort-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.sort-buttons button {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.sort-buttons button.active {
  background: #4bb7f9;
  color: #fff;
  border: none;
}

label {
  display: block;
  font-size: 14px;
  margin: 12px 0 6px;
  color: #555;
}

select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

.location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.location-row select {
  flex: 1;
}

.use-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.use-location span {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #4bb7f9;
  border-radius: 50%;
  background-color: transparent;
  transition: all 0.3s ease;
}

.use-location.active span {
  background-color: #4bb7f9;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.2);
}

.action-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-buttons button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

.apply-btn {
  background: #4bb7f9;
  color: #fff;
}

.apply-btn:hover {
  background: #249de4;
}

.clear-btn {
  background: #f0f0f0;
  color: rgb(44, 149, 235);
}

.clear-btn:hover {
  background: #ddd;
}

.explore {
  padding-top: 40px;
  padding-bottom: 40px;
  background: #f6fafd;
}

.explore-head h2 {
  text-align: center;
}

.explore-head p {
  text-align: center;
}

.explore-container {
  background-color: rgba(233, 245, 254, 1);
  padding: 10px;
  margin: 0 40px;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.search-box {
  margin: 20px 0 20px 40px;
  display: flex;
  justify-content: space-between;
}

.search {
  display: flex;
  gap: 15px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: hidden;
}

.modal-content {
  background: #fff;
  margin: 50px auto;
  padding: 20px;
  border-radius: 12px;
  width: 500px;
  max-width: 95%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

.close-modal {
  float: right;
  font-size: 26px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  margin-top: -10px;
}

.close-modal:hover {
  color: #000;
}

.filter-container h3 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.sort-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.sort-buttons button {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s;
}

.sort-buttons button.active {
  color: #000;
  background: #BADEFB;
  border: none;
}

label {
  display: block;
  font-size: 14px;
  margin: 12px 0 6px;
  color: #555;
}

select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  background-color: #fff;
}

.location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.location-row select {
  flex: 1;
}

.use-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}

.use-location span {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #4bb7f9;
  border-radius: 50%;
}

.action-buttons {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-buttons button {
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  transition: 0.3s;
}

.apply-btn {
  background: var(--primary-color);
  color: #fff;
}

.clear-btn {
  background: #BADEFB;
  color: rgb(44, 149, 235);
}

.clear-btn:hover {
  background: #BADEFB !important;
}


@media (max-width: 500px) {
  .modal-content {
    width: 95%;
    padding: 15px;
  }

  .sort-buttons {
    flex-direction: column;
  }

  .sort-buttons button {
    width: 100%;
  }

  .location-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .use-location {
    align-self: flex-start;
  }

  .overline {
    margin-right: 65%;
  }
}

.search-box input {
  padding: 10px 40px 10px 35px;
  width: 300px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.search button {
  color: #ccc;
  border-radius: #ccc;
}

.search-box .search-lens {
  border: 1px solid #A1ACB4;
  border-radius: 8px;
  background-color: #fff;
  display: flex;
  align-items: center;
  padding: 6px;
  height: 35px;
}

.search-box .search-lens input {
  outline: none;
  border: none;
  margin: 0;
  padding: 0;
  height: 33px;
  padding-left: 7px;
}

.search-box .search #filterBtn {
  border: 1px solid #A1ACB4;
  background-color: #fff;
  display: flex;
  align-items: center;
  border-radius: 8px;
  width: 80px;
  justify-content: space-around;
  cursor: pointer;
  font-size: 12px;
}

.business-cards {
  display: flex;
  justify-items: center;
  gap: 20px;
  justify-content: center;
}

.card {
  border-radius: 12px;
  width: 390px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
  background: #ffff;
  margin-top: 20px;
}

.card h3 {
  padding-left: 10px;
  margin-top: 5px;
  font-size: 19px;
}

.card p {
  padding-left: 10px;
  font-size: 15px;
}

.card img {
  width: inherit;
  border-radius: 10px;
}

.rate-box {
  display: flex;
  justify-content: space-between;
  align-content: center;
  padding: 10px;
  align-items: center;
}

.verified {
  color: #007bff;
  width: 20px;
  height: 20px;
  padding-top: 4px;
}

.rating {
  display: flex;
  justify-content: center;
}

.rating span {
  margin-left: 5px;
}

footer {
  background: #f3f4f6;
  padding: 40px 80px;
  margin-top: 3rem;
  text-align: start;
}

.footer-logo img {
  width: 30px;
  height: 30px;
  margin-right: 8px;
}

footer .hubb {
  font-size: 19px;
}

.footer-logo .hub {
  color: #2196F3;
}

.footer-logo a {
  color: #000;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center !important;
  text-align: start;
  gap: 2rem;
}

.footer-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.links a {
  text-decoration: none;
  color: gray;
  font-size: 0.9rem;
}

.newsletter {
  max-width: 390px;
  text-align: start;
}

.newsletter p {
  color: gray;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.newsletter form {
  display: flex;
  gap: 0.5rem;
}

.newsletter input {
  flex: 1;
  padding: 0.6rem;
  border: 1px solid #d1d5db;
  border-bottom-left-radius: 8px;
  border-top-left-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}

.newsletter button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
}

hr {
  font-weight: 500;
  margin-top: 50px;
  border: 1px solid #d1d5db;
}

.footer-icons {
  margin: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  font-size: 1.2rem;
  color: gray;
}

.social-icons a:hover {
  color: #2196f3;
}

.social-icons a {
  color: gray;
}

.copyright {
  font-size: 0.85rem;
  color: gray;
}

@media (max-width: 992px) {
  .nav-links {
    margin: 15px 0;
  }

  .hero {
    flex-direction: column;
    text-align: left;
    padding: 30px 20px 10px 20px;
  }

  .hero-text {
    width: 100%;
  }

  .hero-image img {
    margin-top: 20px;
    width: 100%;
    display: none;
  }

  .search-box input {
    padding: 10px 40px 10px 35px;
    width: 200px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 20px;
  }

  .card h3 {
    font-size: 15px;
  }

  .card P {
    font-size: 12px;
  }

  .verified {
    width: 15px;
    height: 15px;
    padding-bottom: 0px;
  }

  .rating img {
    width: 15px;
    height: 15px;
  }

  .star-text {
    font-size: 15px;
  }

  .explore {
    padding: 20px 20px;
    background: #f6fafd;
    margin-top: 10px;
  }

  .explore-container {
    background-color: rgba(233, 245, 254, 1);
    padding-bottom: 20px;
    margin-right: 0px;
    margin-left: 0px;
    border-radius: 12px;
  }

  .btn.details {
    font-size: 12px;
  }

  .business-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0px;
  }

  .card {
    width: 90%;
    max-width: 400px;
  }

  .card img {
    width: 100%;
  }

  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

  .t-card {
    width: 90%;
    max-width: 400px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .step-box {
    width: 90%;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: left;
    padding-bottom: 20px;
  }

  .bottom {
    flex-direction: column;
    text-align: left;
  }

  .bottom p {
    text-align: left;
    margin: 30px 0px 10px 0px;
  }

  .footer {
    padding: 40px 20px;
  }

  .footer-links {
    display: block;
    text-align: left;
    font-size: 15px;
  }

  #open {
    display: block;
  }

  #big {
    display: none;
  }
}

@media (max-width: 600px) {
  .nav-links {
    gap: 10px;
  }

  .hero-text h1 {
    font-size: 30px;
    line-height: 40px;
  }

  .hero-text p {
    font-size: 14px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  #open {
    display: block;
  }

  #big {
    display: none;
  }

  .filter-container {
    width: 100%;
    padding: 15px;
  }

  .sort-buttons {
    flex-direction: column;
  }

  .sort-buttons button {
    width: 100%;
  }

  .location-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .use-location {
    align-self: flex-start;
  }

  .fa-star {
    font-size: 15px;
  }

  .search {
    width: 100%;
    gap: 0;
    justify-content: space-between;
  }

  .search-box {
    margin: 20px 0 20px 0px;
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .search-box input {
    max-width: 300px;
  }

  .search-box button {
    width: 100%;
    max-width: 300px;
  }

  .business-cards {
    gap: 0px;
    padding: 0px 10px;
  }

  .card {
    width: 100%;
    max-width: 350px;
  }

  .t-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .t-img img {
    margin-bottom: 10px;
  }

  .step-box h3 {
    font-size: 18px;
  }

  .step-box ul li {
    font-size: 14px;
  }

  .subscribe input,
  .subscribe button {
    width: 100%;
    margin: 5px 0;
  }

  footer {
    flex-direction: column;
    max-width: 100%;
    background: #f3f4f6;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 2rem;
    text-align: start;
  }

  .links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .newsletter p {
    color: gray;
    font-size: 14px;
    margin-bottom: 1.5rem;
  }

  .footer-container {
    flex-direction: column;
  }

  .footer-container .footer-main {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
  }

  .footer-container .footer-main .footer-logo a {
    margin: 0 0 10px;
  }

  footer form {
    flex-direction: column;
  }

  .newsletter input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
  }

  .newsletter button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    cursor: pointer;
  }
}