body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

/* Header section */
#head {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #45a049;
}

/* Restaurant Cards Container */
#root {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

/* Individual Restaurant Card */
.card {
    width: 288px;
    background-color: white;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* Card Image */
.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pictures .card-offer {
  position: relative;
  bottom:40px;
  left: 190px;
  background-color: #007aff;
  color: white;
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}



/* Card Content */
.card-content {
    margin-top: -15px;
    padding: 15px;
}

/* Restaurant Name and Rating */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.card-header .rating {
    background-color: #f4b400;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    color: #fff;
}

/* Food Type and Price */
.card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-top: 10px;
}

/* Location and Distance */
.card-location {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 14px;
}


#filterpopup {
    position: fixed;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#filterpopup button {margin-top:15px;
                     margin-bottom: -2px;
                     padding: 5px 10px;}

#flclose {float: right;}

.filteroption {
    margin: 10px 0;
}

button {
    padding: 8px 16px;
    margin: 10px;
    cursor: pointer;
}

button:hover {
    background-color: #ddd;
}

.hidden {
    display: none;
}

.second img{
    height: 50px; width: 50px;
}

.search {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
  width: 40vw;
  flex-grow: 1;
  padding:0;
  height: 40px;
  margin-top: 15px;
}

.location {
  display: flex;
  align-items: center;
  color: #777;
}

.location-icon {
  margin-right: 5px;
  color: #ff3f6c;
}

.location-text {
  font-size: 14px;
}

.arrow {
  margin-left: 5px;
  font-size: 10px;
}

.divider {
  height: 24px;
  width: 1px;
  background: #ccc;
  margin: 0 12px;
}

.search-input {
  display: flex;
  align-items: center;
  flex-grow: 1;
}

.search-icon {
  margin-right: 8px;
  color: #888;
}

.search-input input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
}

.first{margin-left: 10vw;
       margin-right: 10vw;}
.first,.second{
    display: flex;
    justify-content: center;}

.dining,.delivery,.nightlife{
    display: flex;
}

.box button {
    background-color: #f4f4f4;
    color: black;
    font-weight: bold;
    margin-top: 15px;}

.second{display: flex;
        justify-content:space-evenly;
        margin: 0px 10vw;}

.brand>h1 {margin-top: 13px;
           margin-right: 20px;}



.logo {
      width: 60px;
      height: 50px;
      border-radius: 50%;
      background: radial-gradient(circle, #e692cb, #7ac9f3);
      display: flex;
      justify-content: center;
      align-items: center;
      box-shadow: 0 0 15px #c6488799;
      animation: pulse 2s infinite ease-in-out;
    }
    .logo span {
      font-size: 15px;
      font-weight: bold;
      background: linear-gradient(45deg, #f40d81, #1385f7);
      -webkit-background-clip: text;
      color: transparent;
    }
    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }


    /* first footer styles */

.container {
  max-width: 700px;
  margin: auto;
}

h2 {
  margin-bottom: 20px;
  color: #2e2e2e;
}

.accordion-item {
  border-radius: 8px;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.accordion-header {
  padding: 20px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header::after {
  content: "▾";
  font-size: 16px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 20px 20px;
  display: none;
  color: #444;
}

/* last footer styles */

.zomato-footer {
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  padding: 40px 20px 20px;
  color: #333;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
}

.footer-logo h1 {
  font-weight: bold;
  font-size: 28px;
  margin-bottom: 30px;
  color: #1c1c1c;
}

.footer-sections {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 180px;
  margin-bottom: 30px;
}

.footer-column h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
}

.footer-column ul li:hover {
  color: #000;
}

.social-icons span {
  margin-right: 10px;
  font-size: 20px;
  cursor: pointer;
}

.app-links img {
  width: 140px;
  margin: 10px 0;
  display: block;
}

.footer-bottom {
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
  font-size: 12px;
  color: #888;
  text-align: left;
  margin-top: 30px;
}


/* login signup slider */

.up-show {display: flex; justify-content: center;}
.cont {
  width: 300px; margin: 10px auto;
  position: relative; padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  display: none;
  position: fixed;
  z-index: 2000;
  background-color: white;
  
}
.btn-box {
  display: flex; position: relative;
  margin-bottom: 20px;
}
.btn-box button {
  flex: 1; padding: 10px;
  border: none; background: lightgray;
  cursor: pointer;
}
#slid {
  position: absolute; bottom: 0;
  left: 0; width: 50%;
  height: 3px; background: #ff5c5c;
  transition: left .3s;
}
.form { display: flex; flex-direction: column; }
.form input {
  margin: 5px 0; padding: 10px;
  border: 1px solid #ccc;
}
.form button {
  margin-top: 10px; padding: 10px;
  background: #ff5c5c; color: #fff;
  border: none; cursor: pointer;
}
.hidd { display: none; }

#cut{float: right;
     
     border: 2px solid black;
     border-radius: 50%;
     font-size: 15px;
     padding-left: 0.2rem;
     padding-right: 0.2rem;}

  .cut{cursor: pointer;}


  #locate{border: none;
    outline: none;}