.contact-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  color: #2d3748;
  margin-bottom: 40px;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.branch-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.branch-card:hover {
  transform: translateY(-5px);
}

.map-container {
  position: relative;
  padding-top: 56.25%;
  background: #e2e8f0;
}

.location-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.branch-info {
  padding: 25px;
}

.branch-name {
  color: #c53030;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.contact-icon {
  width: 24px;
  height: 24px;
  fill: #4a5568;
}


.phone-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: #c53030;
}


.button-group {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.direction-btn {
  display: inline-block;
  padding: 10px 25px;
  background: #c53030;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.call-btn {
  background: #38a169;
  display: inline-block;
  padding: 10px 25px;
  color: white;
  border-radius: 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
}

.direction-btn:hover {
  background: #9b2c2c;
  transform: translateX(5px);
}

.call-btn:hover {
  background: #2f855a;
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .branches-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .branches-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .branch-info {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 15px;
  }
  
  .branch-name {
    font-size: 1.2rem;
  }
  
  .contact-detail {
    font-size: 0.9rem;
  }
  
  .button-group {
    flex-direction: column;
  }
  
  .direction-btn,
  .call-btn {
    width: 100%;
  }
}