body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f4f4f4;
  line-height: 1.6;
  opacity: 0; 
  animation: fadeInBody 1s ease forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}

header, footer {
  background: #333;
  color: white;
  padding: 1rem 0;
  text-align: center;
  opacity: 0;
  animation: fadeSlideDown 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ff9800;
}

main {
  padding: 2rem;
  background: white;
  max-width: 1000px;
  margin: auto;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards;
  animation-delay: 0.9s;
}


section:nth-child(2) {
  animation-delay: 1.1s;
}
section:nth-child(3) {
  animation-delay: 1.3s;
}
section:nth-child(4) {
  animation-delay: 1.5s;
}

.hero {
  background: #e2e2e2;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.services, .testimonials {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.box {
  flex: 1;
  background: #fafafa;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  cursor: default;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.contact {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .services, .testimonials {
    flex-direction: column;
  }
}
