.hero-background {
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at 50% 50%, #001f3f 0%, #000b1d 100%);
  position: relative;
  overflow: hidden;
}

/* ایجاد الگوی شبکه/مادربرد با خطوط ظریف */
.hero-background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px; /* سایز شبکه */
}

body {
  margin: 0;
}

.hero {
  height: 100vh;
  background-image: url("../imgs/image.png\ \(1\).jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.content {
  height: 200vh;
  background: white;
}

#p1 {
  text-align: center;
  color: #2c7496;
}

h1 {
  text-align: center;
  color: rgb(28, 75, 104);
}

h2 {
  text-align: center;
  color: #397692dd;
}

h3 {
  text-align: center;
}
.cards {
  display: flex;
  gap: 20px;
  /* width: fit-content; */
}

.card {
  /* width: fit-content; */
  justify-content: center;
  align-items: center;
  border: 1px solid #ccc;
  padding: 20px;
  width: 250px;
  background-color: rgba(79, 145, 181, 0.715);
  border-radius: 30px;
  box-shadow: 0px 5px 15px #163d50d1;
  color: #0c394e;
  transition: 0.3s;
}

.card:hover {
  transition: 0.3s;
  transform: translateY(-5px) scale(1.02);
}
/* 
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(39, 78, 104, 0.888);
  color: rgb(9, 26, 38);
  padding: 10px;
  width: 90%;
  border-radius: 40px;
  position: fixed;
  top: 0;
  left: 50%;
  padding: 20px;
  transform: translateX(50%);
} */
.navbar {
  display: flex;
  flex-direction: row;
  /* justify-content: space-between; */
  /* align-items: center; */
  padding: 0 20px;
  background-color: rgb(28, 71, 106);
  border-radius: 40px;
  /* position: absolute; */
  position: fixed;
  width: 40%;
  min-width: 300px;
  top: 10px;
  right: 80px;
}
.menu {
  text-decoration: none;
  color: rgb(15, 46, 64);
  font-size: 17px;
  display: flex;
  list-style: none;
  gap: 20px;
}

.menu a {
  text-decoration: none;
  display: inline-block;
  color: rgb(255, 255, 255);
  transition: 0.3s;
}

.menu a:hover {
  color: #1b3d4da3;
  transform: translateY(-1.5px);
}
