/* Hero Section */
.hero {
  background: linear-gradient(to right, #fceabb, #f8b500);
  color: #333;
  padding: 80px 15px;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

.hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 0.3em;
  cursor: default;
  animation: slideInTop 1.2s ease;
}

.hero-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
  animation: fadeIn 2s ease-in-out 0.5s;
  animation-fill-mode: both;
}

.btn {
  padding: 12px 25px;
  background-color: #333;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: #555;
  transform: scale(1.05);
}

/* Services Section */
.section.services {
  padding: 60px 20px;
  background: #f7f7f7;
  text-align: center;
}

.section.services h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #222;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
  color: #222;
}

.service-card p {
  font-size: 1em;
  color: #555;
}

.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideInTop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cursor changes */
a, .btn, .service-card {
  cursor: pointer;
}

h1, h2, h3, p {
  cursor: default;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
  .hero-content h1 {
    font-size: 2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  .btn {
    font-size: 0.95em;
    padding: 10px 20px;
  }

  .service-card img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 10px;
  }

  .hero-content h1 {
    font-size: 1.8em;
  }

  .hero-content p {
    font-size: 0.95em;
  }

  .btn {
    font-size: 0.9em;
    padding: 8px 16px;
  }

  .service-card {
    padding: 15px;
  }

  .service-card h3 {
    font-size: 1em;
  }

  .service-card p {
    font-size: 0.9em;
  }

  .service-card img {
    height: 150px;
  }
}
