/*@font-face {
    font-family: 'Vazir';
    src: url('/assets/fonts/Vazir-Bold.woff2') format('woff2');*/
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}*/
.header {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Vazir', arial, sans-serif; 
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
   display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #1E355F;
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: #1E355F;
}

.nav-link:hover::after {
  width: 100%;
}
.header-cta {
  background: #1E355F;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.header-cta:hover {
  background: #163048;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 53, 95, 0.3);
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #1E355F;
}
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 0;
  }

  .nav-menu.open {
    max-height: 400px;
    padding: 1rem;
  }

  .header-cta {
    display: none; 
  }
}

.menu-toggle {
  display: none;
  font-size: 1.8rem; 
  background: none;
  border: none;
  cursor: pointer;
  color: #1E355F;
  position: absolute; 
  top: 50%; 
  right: 20px;
  transform: translateY(-50%);
  z-index: 1100; 
  padding: 0.3rem 0.5rem;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 0;
  }

  .nav-menu.open {
    max-height: 400px; 
    padding: 1rem;
  }

  .header-cta {
    display: none; 
  }
}
@media (max-width: 768px) {
  .hero-visual {
    display: none !important;
  }
}
.header {
  position: relative;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  z-index: 1000;
}

.header-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
}

.line-path {
  fill: none;
  stroke: #A8E10C;
  stroke-width: 2;
  stroke-dasharray: 3000;
  stroke-dashoffset: 3000; 
  animation: drawLine 8s ease-in-out infinite alternate;
}

@keyframes drawLine {
  from {
    stroke-dashoffset: 3000;
  }
  to {
    stroke-dashoffset: 0;
  }
}
