/* Branches Hero Section */
.branches-hero {
  position: relative;
  height: 380px;
  background-image: url('../images/branch-banner.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.branches-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
 background: rgb(0 0 0 / 71%);
}

.branches-hero__content {
  position: relative;
  z-index: 1;
}



.branches-hero__title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 34px;
  margin-top: 0;
}

.branches-hero__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.branches-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
 padding: 13px 19px;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  transition: background-color 0.2s;
  border-radius: 45px;
background: #0B5EBE;
}

.branches-hero__btn:hover {
  background-color: #0056b3;
}

/* Branches Page Container */
.branches-page {
  background-color: #f8f9fb;
  padding-bottom: 60px;
}
@media screen and (max-width:500px) {
  .branches-page {
  padding-bottom: 20px;
}
}

.branches-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Filters */
.branches-filters {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 40px 0 20px;
}

.filter-dropdown {
  position: relative;
}
.lg{
  width: 386px;
}

.filter-dropdown select {
  appearance: none;
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 10px 40px 10px 16px;
  border-radius: 8px;
  font-size: 13px;
  color: #6b7280;
  cursor: pointer;
  min-width: 160px;
  outline: none;
  width: 100%;
  height: 44px;
}

.filter-dropdown::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Grid */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }
 .branches-hero__btn {
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 45px;
    justify-content:center;
}
.branches-hero__btn img{
  width: 20px;
}
.branches-hero__title {
    font-size: 30px;
    margin-bottom: 21px;
}
}
@media (max-width: 590px) {
 .branches-hero__buttons {
    flex-direction: column;
  }
  .lg{
    width: 100%;
  }
  .branches-filters {
    gap: 6px;
    flex-direction: column;
    padding: 20px 0;
}
}

/* Card */
.branch-card {
  border-radius: 14px;
border: 1px solid #E0E3EF;
background: #FFF;
padding: 14px;
min-width: 33%;
}

.branch-card__tag {
  display: inline-block;
  color: #0E295A;
  font-size: 14px;
  font-weight: 500;
 padding: 5px 9px;
  margin-bottom: 16px;
  border-radius: 14px;
background: #DBE1FF;
}

.branch-card__name {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
  margin-top: 0;
}

.branch-card__designation {
  margin-bottom: 16px;
  margin-top: 0;
  color: #525252;
font-size: 14px;
}

.branch-card__contact-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.contact-item img {
     width: 26px;
    height: 26px;
}

.contact-item .icon-circle svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Details Box */
.branch-card__details {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 14px;
background: #F6F6F7;
}

.detail-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 19px;
}

.detail-item p {
  margin: 0;
  word-break: break-word;
  font-size: 13px;
}

.detail-item img {
width: 21px;
}
