/* Services Section */
.services {
  background-color: var(--secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--primary);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer; /* Keep this for clickable feel */
}

/* Restore hover effects */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent);
}

.service-img {
  height: 200px;
  overflow: hidden;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

/* Restore image zoom on hover */
.service-card:hover .service-img img {
  transform: scale(1.1);
}

.service-content {
  padding: 25px;
  position: relative; /* Ensure content stays above */
  z-index: 1; /* Keep text clickable */
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--white);
}

.service-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.price {
  font-weight: 700;
  color: var(--accent);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 15px;
}

.service-more {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s;
  position: relative;
  z-index: 2; /* Keep button above clickable area */
}

.service-more i {
  margin-left: 5px;
  transition: transform 0.3s;
}

/* Restore button hover effect */
.service-more:hover {
  color: var(--accent-dark);
}

.service-more:hover i {
  transform: translateX(5px);
}

/* Add this to prevent text selection when clicking */
.service-card {
  user-select: none;
  -webkit-user-select: none;
}

.services .section-title p[data-translate="services_subtitle_price_estimate"] {
  font-size: 0.85rem;
  font-style: italic;
  color: #888;
  line-height: 1.4;
  text-align: left; /* Force left alignment */
  max-width: 100%; /* Full container width */
  margin: 10px 0 0 0; /* Top margin only */
  position: relative;
  width: 100%; /* Ensure full width */
  margin-bottom: 2rem; /* Adds space below the paragraph */
  padding-bottom: 1rem; /* Optional: adds space inside paragraph boundary */
  border-bottom: 1px solid rgba(212, 175, 55, 0.2); /* Optional: subtle gold line */
}


