/* Location Section Grid */
.location-section {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.location-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Each Location Item */
.location-item {
  background-color: #d8e9d3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 60px;
  box-sizing: border-box;
}

/* Hover Effect */
.location-item:hover {
  background-color: #439f47;
  color: white;
  border-color: white;
}

.location-item:hover .location-text,
.location-item:hover .location-icon svg {
  color: white;
  fill: white !important;
}

/* Outer border wrapper for icon (separate class) */
.location-icon-border {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid #4caf50;
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.5s ease;
  box-sizing: border-box;
}

/* Circular animation on hover */
.location-item:hover .location-icon-border {
  border-color: white;
  transform: rotate(360deg) scale(1.2);
}

/* Inner SVG icon */
.location-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: all 0.5s ease;
}

/* SVG inherits text color */
.location-icon svg {
  width: 20px;
  height: 20px;
  fill: #4caf50;
  transition: all 0.5s ease;
}

/* Text Styling */
.location-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #4caf50;
  font-family: 'DM Sans', sans-serif;
  word-break: break-word;
}

/* Responsive */
@media (max-width: 992px) {
  .location-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .location-container {
    grid-template-columns: 1fr;
  }
}
