/* =======================
   Ovan Develop
   ======================= */

:root {
  --brand: #4169e1;
  --bg: #0b0f15;
  --card: rgba(255, 255, 255, 0.03);
  --glass: rgba(18, 22, 28, 0.56);
  --text: #e9eef8;
  --muted: #a6b0c0;
  --radius: 14px;
  --shadow-lg: 0 18px 50px rgba(3, 6, 12, 0.6);
  --shadow-sm: 0 8px 20px rgba(3, 6, 12, 0.5);
  --container: 1160px;
}

@font-face {
  font-family: "Nahid";
  src: url("../font/Nahid.woff2") format("woff2"),
    url("../font/Nahid.woff") format("woff");
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Nahid";
  user-select: none;
  -moz-user-select: none;
  -webkit-user-drag: none;
}
html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 40px;
}


#particles-js {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
}
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 20px;
}

.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--glass);
  border-radius: 12px;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px) saturate(120%);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text);
}
.brand-en {
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 30px;
}
.brand-en span {
  color: var(--brand);
  margin-inline-start: 6px;
  font-size: 30px;
}
.brand-fa {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-inline-start: auto;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.18s;
}
.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.btn-primary {
  display: inline-block;
  background: var(--brand);
  color: #fff !important;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(65, 105, 225, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.04);
}
.btn-ghost,
.btn-outline {
  display: inline-block;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
}
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  padding: 6px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: rgba(0, 0, 0, 0.808);
  margin: 8px 0;
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--shadow-sm);
}
.mobile-menu a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
}
.mobile-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.322);
}
.mobile-menu.open {
  display: block;
}

.hero {
  padding: 28px 0 42px;
}
.hero-inner {
  padding: 32px 0;
}
.slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-lg);
}
.slides {
  position: relative;
  height: 62vh;
  min-height: 420px;
}
.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transform: scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
  opacity: 0;
}
.slide.active {
  opacity: 1;
  transform: none;
}
.slide-overlay {
  width: 58%;
  max-width: 760px;
  padding: 48px;
  margin-inline-start: auto;
  margin-inline-end: 6%;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 12, 0.55),
    rgba(6, 8, 12, 0.55)
  );
  border-radius: 14px;
  color: var(--text);
  backdrop-filter: blur(6px);
  box-shadow: 0 20px 50px rgba(2, 6, 12, 0.6);
}
.slide-overlay h1 {
  font-size: 2.1rem;
  margin-bottom: 12px;
}
.slide-overlay p {
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.6;
}
.slide-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-controls {
  position: absolute;
  bottom: 18px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
}
.slider-controls button {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
}
.dots {
  display: flex;
  gap: 8px;
  padding: 6px;
  background: rgba(0, 0, 0, 0.28);
  border-radius: 999px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 0;
  cursor: pointer;
}
.dot.active {
  background: var(--brand);
  box-shadow: 0 6px 18px rgba(65, 105, 225, 0.22);
}

.section {
  padding: 64px 0;
}
.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.section-head .lead {
  color: var(--muted);
  max-width: 820px;
  margin-inline: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s;
}
.feature-card:hover {
  transform: translateY(-8px);
}
.f-icon {
  font-size: 22px;
  margin-bottom: 10px;
  text-align: center;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.proj {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.proj img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.proj:hover img {
  transform: scale(1.06);
}
.proj-info {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(180deg, rgba(2, 6, 10, 0), rgba(2, 6, 10, 0.68));
  padding: 18px;
  color: var(--text);
  transition: transform 0.32s;
}
.proj h3 {
  margin: 0 0 6px;
}
.proj p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.proj-link {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.price-card {
  background: var(--card);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.28s;
}
.price-card:hover {
  transform: translateY(-12px);
}
.price-top .sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 4px;
}
.amount {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand);
}
.price-features {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  color: var(--muted);
}
.price-features li {
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
}
.price-cta {
  margin-top: auto;
}
.featured {
  border: 2px solid rgba(65, 105, 225, 0.18);
  box-shadow: 0 30px 70px rgba(65, 105, 225, 0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.contact-card {
  background: var(--card);
  padding: 20px;
  border-radius: 12px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  color: var(--muted);
}
.contact-list li {
  padding: 8px 0;
}
.contact-form {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0.02)
  );
  padding: 20px;
  border-radius: 12px;
}
.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.95rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: transparent;
  color: var(--text);
  margin-top: 6px;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.site-footer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.7s cubic-bezier(0.18, 0.9, 0.32, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-overlay {
    width: 70%;
  }
}
@media (max-width: 760px) {
    .slide-overlay h1 {
  font-size:20px;
}
.slide-overlay p {
  font-size:16px;
}
.slide-ctas a{
    font-size:16px;
}
  .site-header {
    top: 0px;
  }
  .header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 15px;
    border-radius: 0px;
  }
  .nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .slides {
    height: 50vh;
    min-height: 320px;
  }
  .slide-overlay {
    width: 92%;
    padding: 18px;
    margin-inline: auto;
  }
  .features-grid,
  .portfolio-grid,
  .pricing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    gap: 10px;
  }
}
a {
  text-decoration: none;
  color: #4169e1 !important;
}