* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  overflow-x: hidden;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #111;
  color: #fff;
  position: fixed;
  width: 100%;
  z-index: 50;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav a:hover {
  color: #ffcc00;
}

#logoimg {
  margin: auto;
  border-radius: 50%;
  position: absolute;
  right: 11rem;
}

.header {
  min-height: 50vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("https://rahatmoverspackersdoha.com/wp-content/uploads/2024/04/item_4528007_602.png");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 20px;
  position: relative;
  top: 5rem;
  margin-bottom: 5rem;
}

.header h1 {
  font-size: 36px;
  line-height: 1.4;
}

section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

h2 {
  margin-bottom: 20px;
  color: #111;
}

p {
  line-height: 1.8;
  font-size: 16px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.values li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.team {
  margin-top: 30px;
}

.team img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}
@media (max-width: 570px) {
  h2 {
    position: relative;
    left: 1rem;
  }
  #logoimg {
    position: absolute;
    left: 1rem;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    padding: 15px;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: -10px;
  }

  .header {
    min-height: 40vh;
  }

  .header h1 {
    font-size: 24px;
  }

  p {
    font-size: 14px;
  }

  section {
    padding: 40px 15px;
  }
}
