/*
 * Services Header Row Alignment
 * Aligns the "List of Services" heading and call button in a flex row
 */

/* Better alignment for services header row */
.services-header-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 30px !important;
  padding: 0 !important;
}

/* Fix "List of Services" heading alignment */
.services-header-row h2 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #283848 !important;
  flex: 1 !important;
  text-align: left !important;
}

/* Ensure call button stays on the right */
.services-header-row .btn-call {
  margin-left: auto !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 20px !important;
  background-color: #222 !important;
  color: white !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

/* Call button hover effect */
.services-header-row .btn-call:hover {
  background-color: #d9a442 !important;
  transform: translateY(-2px) !important;
}

/* Phone icon spacing */
.services-header-row .btn-call i {
  margin-right: 8px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-header-row {
    flex-direction: row !important; /* Keep as row even on mobile */
    flex-wrap: wrap !important;
    gap: 15px !important;
  }
  
  .services-header-row h2 {
    font-size: 24px !important;
    flex-basis: 100% !important; /* Take full width on very small screens */
  }
  
  .services-header-row .btn-call {
    margin-left: 0 !important;
    margin-right: auto !important; /* Center button if it wraps to next line */
  }
}

/* Extra small screen adjustments */
@media (max-width: 480px) {
  .services-header-row {
    justify-content: center !important;
    text-align: center !important;
  }
  
  .services-header-row h2 {
    text-align: center !important;
    margin-bottom: 10px !important;
  }
}
