@import url(https://db.onlinewebfonts.com/c/fd131d436dd85453848ae4a84bb466ad?family=Zing+Rust+Demo+Base);
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@100..1000&display=swap");

.location-section {
  position: relative;
  width: 100%;
  height: auto; /* Allow height to adjust */
  display: flex;
  justify-content: center; /* Center content */
  align-items: center;
  overflow: hidden;
  background-color: #e5f3ff;
  margin: 10vh 0;
}

.map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Behind the card */
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.location-card {
  position: relative;
  z-index: 2; /* Above the map */
  background: #222; /* Dark background for contrast */
  border-radius: 10px;
  width: calc(50% - 20px); /* Responsive width with margin */
  padding: 38px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
  margin: 15vh 0px;
}

.location-card img {
  width: auto; /* Maintain aspect ratio */
  max-width: 100%; /* Responsive image */
  height: auto;
  border-radius: 10px;
}

.location-card h2 {
  color: #fa8539;
  font-size: clamp(24px, 5vw, 46.8px); /* Responsive font size */
}

.working-days,
.working-hours p {
  color: white;
  font-size: clamp(12px, 3vw, 16.8px); /* Responsive font size */
  font-family: "DM Sans", sans-serif;
  line-height: normal; /* Normal line height for readability */
}

.buttons {
  display: flex;
  justify-content: space-around;
  margin-top: 15px;
  flex-wrap: wrap; /* Allow wrapping of buttons */
  gap: 10px;
  padding: 10px 15px;
}

.buttons .btn {
  background-color: #fa8539;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: clamp(14px, 2vw, 16px); /* Responsive button text size */
  transition: background-color 0.3s;
  text-align: center;
  border: none;
  margin-bottom: 10px; /* Space between buttons */
  padding: 10px; /* Padding for buttons */
  flex-grow: 1; /* Allow buttons to grow equally */
}

.buttons .btn:hover {
  background-color: #e76e28;
}

.contact_us_btn,
.get_exact_location_btn {
  border-radius: 25px !important;
}

@media (max-width: 768px) {
  .location-card {
    max-width: 90%;
    padding: 15px;
  }

  .buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .location-card {
    width: 100%;
  }
}
