/*============================================================================================
	Start Branches Area
==============================================================================================*/

.branches-grid-wrap {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.branches-single-wrap {
  padding: 10px;
}

.branches-single-wrap._1 {
  background-color: rgba(254, 200, 78, 0.1);
}

.branches-single-wrap._2 {
  background-color: rgba(245, 68, 128, 0.1);
}

.branches-single-wrap._3 {
  background-color: rgba(22, 180, 127, 0.1);
}

.branches-border-wrap {
  border: 2px dashed #000;
}

.branches-border-wrap._1 {
  border-color: #fec84e;
}

.branches-border-wrap._2 {
  border-color: #f54480;
}

.branches-border-wrap._3 {
  border-color: #16b47f;
}

.branches-img-wrap {
  border-bottom: 2px dashed #000;
  padding: 10px;
}

.branches-img-wrap._1 {
  border-bottom-color: var(--orange-500);
}

.branches-img-wrap._2 {
  border-bottom-color: var(--secondary-color);
}

.branches-img-wrap._3 {
  border-bottom-color: var(--green-700);
}

.branches-img {
  width: 100%;
}

.branches-details-wrap {
  padding: 20px 20px 30px 30px;
}

.branches-name {
  text-transform: capitalize;
  margin-bottom: 20px;
}

.branches-details-list {
  grid-row-gap: 20px;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.branches-single-details,
.branches-single-details a {
  grid-column-gap: 12px;
  align-items: center;
  display: flex;
}

.branches-list-details {
  color: rgba(19, 17, 38, 0.8);
  transition: all 0.4s ease;
}
.branches-single-details a:hover .branches-list-details {
  color: var(--primary-color);
}

.branches-map-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.branches-map-card {
  background: var(--white-color);
  box-shadow: 0px 16px 48px 0px rgba(44, 44, 84, 0.08);
  border-radius: 12px;
  transition: all 0.4s ease;
}
.branches-map-card:hover {
  box-shadow: 0px 48px 72px 0px rgba(44, 44, 84, 0.11);
}
.branches-map-info {
  padding: 24px;
}
.branches-map-info h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}
.branches-map-info p {
  margin: 0;
  font-size: 16px;
  line-height: 150%;
}
.branches-map-location {
  position: relative;
}
.branches-map-location::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 12px 12px 0px 0px;
  background: var(--primary-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.branches-map-card:hover .branches-map-location::before {
  visibility: visible;
  opacity: 0.6;
}
.branches-map-location iframe {
  width: 100%;
  height: 240px;
  border-radius: 12px 12px 0px 0px;
}

.branches-map-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--white-color);
  padding: 16px;
  border-radius: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.branches-map-icon img {
  max-width: 116px;
}
.branches-map-card:hover .branches-map-icon {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

@media only screen and (min-width: 768px) and (max-width: 1199.99px) {
  .branches-grid-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

@media only screen and (max-width: 767.99px) {
  .branches-grid-wrap {
    grid-template-columns: 1fr;
  }
}

/*============================================================================================
	End Branches Area
==============================================================================================*/
