/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #ededf2;
}

h1 {
  color: #0b0501;
  font-size: 32px;
  margin-top: 5px;
}

.box {
  font-size: 16px;
  margin-top: 5px;
  color: #0b0501;
}

header {
  position: relative;
  background-color: rgb(69, 96, 96);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 10px;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: -1;
}

nav {
  background-color: #333;
  overflow: hidden;
  text-align: center;
}

nav a {
  display: inline-block;
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  font-size: 14px;
}

nav a:hover {
  background-color: #ff6b00;
}

section {
  padding: 10px;
}

.services li {
  margin-bottom: 6px;
  list-style: none;
  font-size: 14px;
}

.one, .two, .three, .four, .five {
  width: 50%;
  height: auto;
  object-fit: cover;
  position: relative;
  animation: run 3s linear infinite;
  border-radius: 8px;
  margin: 8px 0;
}

@keyframes run {
  0% {
    left: 0px;
  }
  50% {
    left: 150px;
  }
  100% {
    left: 8px;
  }
}

footer {
  background-color: gray;
  color: black;
  text-align: center;
  padding: 8px;
}

.contact a {
  color: #0b0501;
  text-decoration: none;
  font-weight: bold;
}

p {
  font-size: 14px;
}

/* Responsive for Mobile View */
@media (max-width: 600px) {
  h1 {
    font-size: 22px;
  }

  .box {
    font-size: 12px;
    padding: 0 8px;
  }

  nav a {
    display: block;
    padding: 10px;
    font-size: 13px;
  }

  section {
    padding: 8px;
  }

  .services li {
    font-size: 12px;
  }

  .one, .two, .three, .four, .five {
    width: 100%;
    margin: 5px 0;
  }

  p {
    font-size: 12px;
  }

  footer {
    font-size: 12px;
    padding: 6px;
  }

  header img {
    width: 100%;
    max-width: 250px;
  }
}
