/* reset.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

html,
body {
  height: 100% !important;
}

body {
  font-family: sans-serif !important;
}

ol,
ul {
  list-style: none !important;
}

a {
  text-decoration: none !important;
  color: inherit !important;
}

table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

button,
input,
select,
textarea {
  font: inherit !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
.w-33 {
  width: 33.3333%;
}

main {
  margin-top: 2rem;
}
.text-justify {
  text-align: justify;
}
.btn-moin {
  position: relative;
  background: transparent;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
}
.btn-moin::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid #4d79a9;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  clip-path: inset(0 0 0 100%);
  transition: clip-path 300ms ease-in-out;
}
.btn-moin:hover::after {
  clip-path: inset(0 0 0 0);
}
#particles-js {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#particles-container {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 100%;
}
.parallax-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 130%;
  height: 100%;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
}
.bg-user {
  background: rgba(255, 255, 255, 0.2); /* نیمه شفاف */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px); /* برای Safari */
}

.ceo-box {
  gap: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 1rem;
  padding: 2rem;
  transition: ease-out 500ms;
}
.ceo-box:hover {
  gap: 2rem;
  background: linear-gradient(160deg, #ffffff 20%, #f5f5f5 80%);
  box-shadow: 15px 15px 15px #e1e1e1;
  border-radius: 1rem;
  transition: ease-in 500ms;
}
.ceo-box h2 {
  color: #000000;
  transition: 500ms ease-out;
}
.ceo-box:hover h2 {
  color: #7d6d2e;
  transition: 500ms ease-in;
}
.ceo-box span {
  color: #3a3a3a;
  transition: 500ms ease-out;
}
.ceo-box:hover span {
  color: #000000;
  transition: 500ms ease-in;
}
.ceo-about {
  text-align: justify;
  color: rgb(171, 171, 171);
  transition: 500ms ease-out;
}
.ceo-box:hover .ceo-about {
  color: #3a3a3a;
  transition: 500ms ease-in;
  line-height: 1.6;
}
.ceo-contact {
  display: flex;
  gap: 0.5rem;
  transition: 500ms ease-out;
}
.ceo-box:hover .ceo-contact {
  gap: 0.8rem;
  transition: 500ms ease-in;
}
.ceo-contact img {
  width: 40px;
}
.img-ceo {
 width: 50%;
}
.user-contact {
  display: flex;
  gap: 1rem;
}
.user-contact img {
  width: 30px;
}
.customer {
  width: 20%;
}
#mobilenav {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

#mobilenav.open {
  transform: translateX(0);
}
/* منوی موبایل (در حالت بسته) */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -250px; /* خارج از صفحه */
  width: 250px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.71);
  backdrop-filter: blur(10px);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 2rem 1rem;
}

/* منو باز */
.mobile-nav.open {
  right: 0;
}

/* Overlay پشت منو */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #4d8da928;
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1000;
}
.overlay.active {
  opacity: 1;
  visibility: visible;
}
