* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;600&display=swap');

body {
  direction: rtl;
  background-color: #f8f9fa;
  font-family: 'Vazirmatn', sans-serif;
  margin: 0;
  padding: 0;
}









.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader h2 {
  margin-top: 20px;
  font-family: Arial, sans-serif;
  color: #333;
  font-size: 20px;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.content {
  display: none;
}








header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 5%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-direction: row;
}

header h1 {
  color: #333;
  font-size: 1.8rem;
}

header nav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

header nav ul a {
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

header nav ul a:hover {
  color: #007bff;
  background-color: #f8f9fa;
}

.menu-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
}






.search-wrapper {
  max-width: 900px;
  margin: 40px auto 0;
  background: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 10px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.search-icon {
  background: #2f80ff;
  border: none;
  color: #fff;
  font-size: 20px;
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
}

.search-input {
  flex: 1;
  border: none;
  font-size: 16px;
  padding: 12px 16px;
  outline: none;
}

.location-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #555;
  font-size: 14px;
  padding: 0 12px;
  border-right: 1px solid #eee;
  cursor: pointer;
}







.sliders {
  width: 80%;
  height: 70vh;
  margin: 40px auto;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.sliders img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.sliders img.active {
  opacity: 1;
  visibility: visible;
}

.sliders i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  font-size: 40px;
  padding: 10px 16px;
  border-radius: 18%;
  cursor: pointer;
}

.left { left: 20px; }
.right { right: 20px; }







.popular-services {
  text-align: center;
  padding: 50px 0;
}

.popular-services .services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.popular-services .service-card {
  width: 140px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 15px 10px;
}

.popular-services .service-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin: 0 auto;
}

.popular-services .service-card p {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
}










.cards-Restaurant1::after {
  content: "";
  display: block;
  clear: both;
}

.Restaurant {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  float: left;
  width: 24%;
  margin: 0.5%;
  text-align: center;
  box-sizing: border-box;
}

.Restaurant img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.Restaurant h3 {
  margin: 10px 0 5px;
  font-size: 16px;
}

.Restaurant p {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}










.Timer {
  font-family: "Vazirmatn", sans-serif;
  width: 100%;
  max-width: 400px;
  margin: 30px auto;
  padding: 20px;
  text-align: center;
  background-color: #f44336;
  color: #fff;
  border-radius: 15px;
}

.takhfif h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: bold;
}

.time {
  font-size: 20px;
  font-weight: 500;
}













.countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-family: Arial, sans-serif;
  background-color: #f8f8f8;
  padding: 10px 20px;
  border-radius: 8px;
  width: fit-content;
  margin: 20px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.countdown div {
  text-align: center;
  padding: 5px 10px;
  background-color: #fff;
  border-radius: 5px;
  min-width: 50px;
}

.countdown div span {
  display: block;
  font-size: 20px;
  font-weight: bold;
}

.label {
  font-size: 12px;
  color: #555;
}














.popular-tehran-services {
  padding: 50px 80px;
  text-align: center;
}

.tehran h2 {
  font-size: 20px;
  word-spacing: 0.5px;
  font-weight: bolder;
  margin-bottom: 40px;
  color: #222;
  padding-right: 10rem;
}

.tehran1, .tehran4, .tehran7, .tehran10,.tehran13, .tehran16, .tehran19, .tehran22,.tehran25 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px;
  justify-items: center;
  margin: 0 auto;
  padding: 40px 0;
  max-width: 1200px;
}

.tehran2, .tehran5, .tehran8, .tehran11,.tehran14, .tehran17, .tehran20, .tehran23,.tehran26 {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 270px;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  text-align: center;
}

.tehran2 img, .tehran5 img, .tehran8 img,.tehran11 img, .tehran14 img, .tehran17 img,.tehran20 img, .tehran23 img, .tehran26 img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.tehran2:hover img, .tehran5:hover img,.tehran8:hover img, .tehran11:hover img,.tehran14:hover img, .tehran17:hover img,.tehran20:hover img, .tehran23:hover img,.tehran26:hover img {
  filter: brightness(70%);
}

.tehran2:hover, .tehran5:hover, .tehran8:hover,.tehran11:hover, .tehran14:hover, .tehran17:hover,.tehran20:hover, .tehran23:hover, .tehran26:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}


.tehran3 h2, .tehran6 h2, .tehran9 h2,.tehran12 h2, .tehran15 h2, .tehran18 h2,.tehran21 h2, .tehran24 h2 {
  font-size: 20px;
  word-spacing: 0.5px;
  font-weight: bolder;
  margin-bottom: 20px;
  color: #222;
  padding-right: 10rem;
}

.service-title {
  margin: 15px 0 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #222;
}

.service-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  padding-bottom: 15px;
}

.service-links a {
  color: #007bff;
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.2s;
}

.service-links a:hover {
  color: #0056b3;
  text-decoration: underline;
}













.wrapper4 {
  max-width: 1000px;
  margin: 60px auto;
  text-align: center;
}

.banner4 {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 3px 25px rgba(0, 0, 0, 0.06);
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner4 p {
  font-size: 18px;
  color: #444;
  margin-bottom: 30px;
  line-height: 1.8;
}

.btn-register {
  background-color: #ffffff;
  color: #0066ff;
  border: none;
  padding: 11px 72px;
  border-radius: 10px;
  font-size: 17px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease;
}















.cities-section {
  background: #fff;
  margin-top: 40px;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 3px 25px rgba(0, 0, 0, 0.05);
}

.cities-section h3 {
  font-size: 17px;
  color: #555;
  margin-bottom: 25px;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.city-list span {
  background-color: #f3f4f6;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 14px;
  color: #444;
  transition: all 0.2s ease;
}

.city-list span:hover {
  background-color: #e9ebef;
  cursor: pointer;
}













.footer {
  background-color: #fff;
  color: #2c3e50;
  padding: 60px 20px 40px;
  font-family: 'Vazirmatn', sans-serif;
  direction: rtl;
  border-top: 1px solid #eee;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #2b3d52;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin: 8px 0;
}

.footer-column ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #005eff;
}

.footer-brand {
  text-align: center;
}

.footer-brand h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.footer-icons img {
  width: 28px;
  height: 28px;
  transition: opacity 0.3s;
}

.footer-icons img:hover {
  opacity: 0.7;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-badges img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #f8f9fb;
  border-radius: 10px;
  padding: 8px;
}

.footer-bottom {
  margin-top: 60px;
  text-align: center;
  font-size: 13px;
  color: #555;
  line-height: 2;
  border-top: 1px solid #eee;
  padding-top: 25px;
}








@media (max-width: 992px) {
  .tehran1, .tehran4, .tehran7, .tehran10, .tehran13, .tehran16, .tehran19, .tehran22,.tehran25 {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 5%;
    height: auto;
  }

  header nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .popular-tehran-services {
    padding: 50px 20px;
  }

  .tehran h2 {
    padding-right: 2rem;
    text-align: right;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  header {
    flex-direction: row;
    justify-content: space-between;
  }

  header nav {
    position: absolute;
    top: 80px;
    right: 0;
    width: 100%;
    background: #fff;
    display: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }

  header nav.active {
    display: block;
  }

  header nav ul {
    flex-direction: column;
    padding: 20px 0;
    gap: 15px;
  }

  .sliders {
    width: 95%;
    height: 50vh;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-badges img {
    width: 75px;
    height: 75px;
  }
}









@media (max-width: 600px) {
  .tehran1, .tehran4, .tehran7, .tehran10,.tehran13, .tehran16, .tehran19, .tehran22,.tehran25 {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
  }

  .Restaurant {
    width: 48%;
    margin: 1%;
  }

  .search-wrapper {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
  }

  .location-box {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    width: 100%;
    justify-content: center;
  }

  .search-input {
    width: 100%;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    font-size: 12px;
  }

  .banner4 {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .btn-register {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .Restaurant {
    width: 98%;
    margin: 1%;
  }

  .popular-services .service-card {
    width: 120px;
  }

  .tehran h2 {
    font-size: 18px;
    padding-right: 1rem;
    margin-bottom: 20px;
  }

  .sliders i {
    font-size: 30px;
    padding: 8px 12px;
  }
}