:root {
  --primary: #2563eb;
  --secondary: #1e40af;
}

body {
  font-family: 'Inter', sans-serif;
  position: relative;
  background-color: #fdf6e9;
  /* Light cream background from user image */
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Prevent Google Translate gadget overflow on mobile */
.goog-te-gadget {
  box-sizing: border-box !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.1;
  /* Increased opacity for better visibility */
  background-image: url('data:image/svg+xml,<%3Fxml version=%221.0%22 encoding=%22UTF-8%22%3F><svg width=%2260%22 height=%2260%22 viewBox=%220 0 60 60%22 xmlns=%22http://www.w3.org/2000/svg%22><g fill=%22none%22 fill-rule=%22evenodd%22><g fill=%22%23000000%22 fill-opacity=%221%22><path d=%22M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z%22/%3E</g></g></svg>');
  background-size: 30px 30px;
  pointer-events: none;
}

.btn-blue {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-blue:hover {
  background: var(--secondary);
  transform: scale(1.05);
}

.category-card {
  background: #f1f5f9;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: 0.3s;
}

.category-card:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-5px) scale(1.05);
  cursor: pointer;
}

.category-card:hover i,
.category-card:hover h3 {
  color: #fff !important;
}

.service-card {
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s;
  text-align: center;
  padding: 20px;
}

.service-card i,
.service-card h3 {
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
  background: var(--primary);
}

.service-card:hover i,
.service-card:hover h3 {
  color: white;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.popup-inner {
  background: white;
  color: #1e293b;
  padding: 25px;
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
}

.popup-inner input {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  margin-bottom: 12px;
}

/*.language-btn {*/
/*  padding: 10px; border-radius: 8px; background: #f1f5f9;*/
/*  cursor: pointer; text-align: center;*/
/*}*/
/*.language-btn.active { background: var(--primary); color: white; font-weight: 600; }*/

.location-btn {
  padding: 10px;
  border-radius: 8px;
  background: #f1f5f9;
  cursor: pointer;
  text-align: center;
  margin-bottom: 4px;
}

.location-btn.active {
  background: var(--primary);
  color: white;
  font-weight: 600;
}

/* Custom Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease-out forwards;
}

/* Glassmorphism utilities */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ===== Global Quick Response Buttons ===== */
button,
a,
[role="button"],
.btn-blue,
.category-card,
.service-card,
.location-btn,
[onclick] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease !important;
}

button:active,
a:active,
[role="button"]:active,
.btn-blue:active,
.category-card:active,
.location-btn:active,
[onclick]:active {
  transform: scale(0.96) !important;
  opacity: 0.9;
}

/* Remove 300ms tap delay on mobile */
* {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}
