* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  opacity: 0;
  animation: fadeInBody 1s ease forwards;
}

@keyframes fadeInBody {
  to {
    opacity: 1;
  }
}


header, footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 1.5rem 0;
  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;
  text-decoration: none;
  margin: 0 20px;
  font-weight: bold;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ff9800;
}


main {
  max-width: 1000px;
  margin: 2rem auto;
  background-color: white;
  padding: 2rem;
  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 {
  text-align: center;
  background-color: #e2e2e2;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}


.services,
.testimonials {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}


.box {
  flex: 1;
  min-width: 250px;
  background-color: #f9f9f9;
  padding: 1.5rem;
  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-color: #f0f0f0;
  padding: 1rem;
  border-left: 4px solid #333;
  border-radius: 6px;
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}

footer p {
  font-size: 0.9rem;
  margin: 0;
}


@media (max-width: 700px) {
  .services,
  .testimonials {
    flex-direction: column;
  }
  body {
    padding: 20px;
  }
}