body {
  padding: 30px 150px;
  font-family: "Geologica", sans-serif;
  margin-top: 100px;
  color: #252525;
}

a {
  text-decoration: none;
}

.navbar_links {
  color: black;
}

.header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.container {
  width: 100%;
  margin: auto;
}

.top-word {
  font-weight: 500;
  font-size: 48px;
  line-height: 1.5;
  color: #1760a4;
  margin-bottom: 20px;
}

.contact-form p {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.input-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.input-group input,
select,
textarea {
  font-weight: 600;
  font-size: 14px;
  padding: 10px;
  border: none;
  background-color: #f8fbff;
  border-radius: 4px;
  outline: none;
  color: #252525;
  flex: 1;
}

form {
  display: grid;
  gap: 10px;
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder,
input[type="email"]::placeholder,
textarea::placeholder {
  font-family: Geologica;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #A7A7A7;
}

select {
  font-family: Geologica;
  font-weight: 400;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #A7A7A7;
}

textarea {
  height: 120px;
  resize: none;
}

form button {
  background-color: #17488b;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #275fad;
}

.contact-info {
  display: flex;
  gap: 20px;
  margin-top: 30px;
}

.city-list {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 250px;
}

.city-list button {
  display: flex;
  align-items: center;
  text-align: left;
  font-family: 'Segoe UI';
  font-weight: 600;
  font-size: 14px;
  color: #252525;
  border-radius: 5px;
  border: none;
  padding: 8px 10px;
  gap: 8px;
  background-color: #fff;
  transition: background-color 0.3s, color 0.3s;
}

.city-list button:hover {
  background-color: #f6f6f6;
  color: #17488b;
}

.city-list img {
  width: 18px;
  height: 18px;
}

.details {
  flex: 2;
}

.details-top {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 5px;
}

.details-2,
.details-3,
.details-4 {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
}

.details-3 {
  color: #969696;;
}

.phones {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
}

.phone-1 {
  margin-right: auto;
}

.phones p {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: #17488b;
  gap: 8px;
  margin-right: auto;
}

.phones img {
  width: 20px;
  height: 20px;
}

@media (max-width: 1200px) {
  body {
    padding: 30px 50px;
  }
}

@media (max-width: 1024px) {
  body {
    padding: 20px 30px;
  }
  .contact-info {
    flex-direction: column;
  }
  .city-list,
  .details {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  body {
    padding: 20px;
    margin-top: 80px;
  }
  .top-word {
    font-size: 32px;
  }
  .input-group {
    flex-direction: column;
  }
  form button,
  textarea {
    width: 100%;
  }
  .phones {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .top-word {
    font-size: 26px;
  }
  .contact-form p,
  .details-top {
    font-size: 18px;
  }
  .city-list button {
    font-size: 13px;
  }
  .phones p {
    font-size: 13px;
  }
}
