

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.main-wrapper {
  width: 90%;
  margin-inline: auto;
  margin-top: 5%;
  margin-bottom: 10%;
}

.link-map-town {
  direction: ltr;
  display: flex;
  flex-direction: column;
}

.link-map-town a {
  width: 20%;
  text-decoration: none;
  color: var(--text-color);
  font-family: var(--primary-font-bold);
  font-size: 1.5rem;
}

.link-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  white-space: nowrap;
}

.circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--text-color);
  margin-right: 10px;
}

.active {
  background-color: var(--primary-color);
}

.main-map {
  width: 80%;
  margin-inline: auto;
}

.map-world {
  width: 100%;
  height: 40rem;
}

.map-world img {
  width: 100%;
  height: 100%;
}

.address-box {
  display: none; /* Initially hide all addresses */
}
.active {
  display: block; /* Show only the active city's address */
}

.map-iran,
.map-canada,
.map-dubai,
.map-turkey {
  width: 90%;
  height: 18rem;
  border-radius: 20px;
  position: relative;
  margin-top: 5%;
  z-index: 2
}

.map-box {
  width: 100%;
  height: 16rem;
  z-index: 2;
  position: relative;
}

.map-iran iframe,
.map-canada iframe,
.map-dubai iframe,
.map-turkey iframe {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: none;
}

.map-iran img,
.map-canada img,
.map-dubai img,
.map-turkey img {
  width: 25%;
  height: 100%;
  border-radius: 20px;
  position: absolute;
  left: 0;
  top: -6%;
  z-index: 2;
}

.location-town {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 3%;
  justify-content: left;
}

.circle-town {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: var(--primary-color);
  margin-right: 10px;
}

.circle-iran,
.circle-dubai,
.circle-canada,
.circle-turkey {
  margin-right: 0;
  margin-left: 10px;
}

.name-town-iran,
.name-town-canada,
.name-town-dubai,
.name-town-turkey {
  text-decoration: none;
  color: var(--text-color);
  font-family: var(--primary-font-bold);
  font-size: 1.5rem;
  text-align: left;
}

.name-town-iran::before {
  content: "";
  position: absolute;
  width: 35rem;
  height: 3px;
  background-color: var(--primary-color);
  left: 50%;
  top: -12rem;
  transform: translateX(-25rem) rotate(135deg);
  z-index: 1;
}

.name-town-canada::before {
  content: "";
  position: absolute;
  width: 30rem;
  height: 3px;
  background-color: var(--primary-color);
  left: 30%;
  top: -15rem;
  transform: translateX(-25rem) rotate(90deg);
}

.name-town-dubai::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 3px;
  background-color: var(--primary-color);
  left: 50%;
  top: -11rem;
  transform: translateX(-25rem) rotate(139deg);
}

.name-town-turkey::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 3px;
  background-color: var(--primary-color);
  left: 44%;
  top: -12rem;
  transform: translateX(-23rem) rotate(130deg);
}

.address-town p {
  text-decoration: none;
  width: 90%;
  color: var(--text-color);
  font-family: var(--primary-font-bold);
  font-size: 1.3rem;
  margin-top: 5%;
  border-right: 2px solid var(--primary-color);
  padding-right: 2%;
  padding-bottom: 5%;
}

.box-address-iran span,
.box-address-canada span,
.box-address-dubai span,
.box-address-turkey span {
  color: var(--text-color);
  font-family: var(--primary-font-bold);
  font-size: 1.3rem;
}

.phone-number {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.phone-number {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* .number-turkey,
.number-canada {
  margin-left: 10%;
} */

.form-wrapper {
  width: 80%;
  margin-inline: auto;
  margin-top: 10%;
  margin-bottom: 10%;
}

.form-wrapper form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.input-contct-us-wrapper {
  width: 100%;
  display: grid;
  justify-items: center;
  grid-template-columns: auto auto;
  row-gap: 20%;
  column-gap: 1%;
}

.input-contct-us {
  display: flex;
  width: 100%;
}

.form-wrapper-label {
  width: 20%;
  background-color: var(--primary-color);
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--primary-font-bold);
  font-size: 1.1rem;
  color: var(--white-color);
  text-align: center;
}

.input-contct-us input {
  width: 80%;
  height: 3.5rem;
  border: 3px solid var(--primary-color);
  border-radius: 30px;
  padding-inline: 2%;
  font-size: 1rem;
  outline: none;
  color: var(--primary-color);
  font-family: var(--primary-font);
}

input[type="file"]::-webkit-file-upload-button {
  display: none;
}

.main-wrapper textarea {
  width: 100%;
  height: 10rem;
  border: 3px solid var(--primary-color);
  border-radius: 20px;
  margin-top: 5%;
  font-size: 1rem;
  padding: 1%;
  outline: none;
  color: var(--primary-color);
  font-family: var(--primary-font);
}

.form-submit {
  width: 30%;
  height: 4rem;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-family: var(--primary-font-bold);
  border: none;
  border-radius: 30px;
  margin-top: 3%;
  font-size: 1.5rem;
  cursor:pointer;
}


/* -----media query----- */

@media screen and (max-width: 1300px) {
  .name-town-iran::before {
    width: 31rem;
    left: 55%;
    top: -12rem;
    transform: translateX(-25rem) rotate(130deg);
  }

  .name-town-dubai::before {
    width: 32rem;
    height: 3px;
    left: 52%;
    top: -11rem;
    transform: translateX(-25rem) rotate(137deg);
  }

  .name-town-turkey::before {
    width: 33rem;
    height: 3px;
    left: 45%;
    top: -12rem;
    transform: translateX(-23rem) rotate(130deg);
  }

  .name-town-canada::before {
    width: 30rem;
    height: 3px;
    left: 35%;
    top: -15rem;
    transform: translateX(-25rem) rotate(90deg);
  }
}

@media screen and (max-width: 1000px) {
  .name-town-iran::before {
    width: 28rem;
    left: 65%;
    top: -12rem;
    transform: translateX(-25rem) rotate(127deg);
  }

  .name-town-dubai::before {
    width: 27rem;
    height: 3px;
    left: 69%;
    top: -10rem;
    transform: translateX(-25rem) rotate(125deg);
  }

  .name-town-turkey::before {
    width: 29rem;
    height: 3px;
    left: 56%;
    top: -11.7rem;
    transform: translateX(-23rem) rotate(120deg);
  }

  .name-town-canada::before {
    width: 30rem;
    height: 3px;
    left: 42%;
    top: -15rem;
    transform: translateX(-25rem) rotate(90deg);
  }
  .main-wrapper-label {
    font-size: 1rem;
    width: 30%;
  }


  .form-wrapper-label label {
    font-size: 1rem;
  }
}

@media screen and (max-width: 768px) {
  .main-wrapper {
    width: 90%;
    margin-top: 30%;
  }
  .main-map {
    width: 100%;
  }
  .map-world {
    height: 34rem;
}
  .name-town-iran::before {
    width: 25rem;
    left: 78%;
    top: -8.5rem;
    transform: translateX(-25rem) rotate(120deg);
  }

  .name-town-dubai::before {
    width: 27rem;
    height: 3px;
    left: 73%;
    top: -7.1rem;
    transform: translateX(-25rem) rotate(125deg);
  }
  
  .name-town-turkey::before {
    width: 29rem;
    height: 3px;
    left: 61%;
    top: -8.2rem;
    transform: translateX(-23rem) rotate(120deg);
  }

  .name-town-canada::before {
    width: 28rem;
    height: 3px;
    left: 43%;
    top: -11rem;
    transform: translateX(-25rem) rotate(90deg);
  }

  .map-iran,
  .map-canada,
  .map-dubai,
  .map-turkey {
    width: 100%;
    height: 15rem;
  }

  .map-box {
    width: 100%;
    height: 13.5rem;
  }

  .map-iran img,
  .map-canada img,
  .map-dubai img,
  .map-turkey img {
    width: 30%;
  }
  .form-wrapper {
    width: 100%;
  }
}
@media screen and (max-width: 700px) {
  .name-town-iran::before {
    left: 80%;
    top: -7.5rem;
  }
}

@media screen and (max-width: 600px) {
  .main-wrapper {
    margin-top: 40%;
    width: 80%;
  }

  .input-contct-us-wrapper {
    display: flex;
    flex-direction: column;
  }

  .main-wrapper-label {
    width: 20%;
  }

  .input-contct-us {
    margin-top: 5%;
  }
  .map-world img {
    height: 450px;
  }
  .map-world {
    height: 28rem;
  }
  .name-town-iran::before,
  .name-town-dubai::before,
  .name-town-turkey::before,
  .name-town-canada::before {
    display: none;
  }
  .map-box {
    width: 100%;
    height: 11.5rem;
  }
  .map-iran img, .map-canada img, .map-dubai img, .map-turkey img {
    height: 210px;
    width: 35%;
  }
}

@media screen and (max-width: 500px) {
  .main-wrapper-label {
    width: 30%;
  }

  .form-submit {
    width: 40%;
    height: 3rem;
  }
  .map-world img {
    height: 400px;
    width: 500px;
  }
  .map-world {
    height: 25rem;
    overflow-x: scroll;
    overflow-y: hidden;
  } 
  .map-world::-webkit-scrollbar {
    height: 7px; 
}

.map-world::-webkit-scrollbar-track {
    background: #f1f1f1; 
}

.map-world::-webkit-scrollbar-thumb {
    background: rgb(250, 169, 183); 
    border-radius: 3px; 
}

.map-world::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color); 
}
.map-iran, .map-canada, .map-dubai, .map-turkey {
  margin-top: 3rem;
}
.address-town p {
  font-size: 1.1rem;
}
.name-town-iran, .name-town-canada, .name-town-dubai, .name-town-turkey {
  font-size: 1.3rem;
}
.form-wrapper-label {
  width: 25%;
}
.input-contct-us input {
  width: 75%;
}
}
