@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir.woff2') format('woff2'),
       url('../fonts/Vazir.woff') format('woff');
  font-weight: 400;
}

@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir-Medium.woff2') format('woff2'),
       url('../fonts/Vazir-Medium.woff') format('woff');
  font-weight: 500;
}

@font-face {
  font-family: 'Vazir';
  src: url('../fonts/Vazir-Bold.woff2') format('woff2'),
       url('../fonts/Vazir-Bold.woff') format('woff');
  font-weight: 700;
}

/* Reset */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* بدنه */
body{
  font-family: 'Vazir', sans-serif;
  line-height: 1.5;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f8f8;
}

/* تیترها */
h1,h2,h3,h4,h5,h6{
  font-weight: 700;
  margin: 0 0 10px 0;
}

/* هدر */
header{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  background-color: #0077cc;
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;

  /* سایه نرم زیر منو */
  box-shadow:
    0 4px 10px rgba(0,0,0,0.10),
    0 15px 40px rgba(0,0,0,0.25);
}

/* لوگو سمت راست */
header .logo{
  position: absolute;
  right: 30px;
  z-index: 2000;
}
header .logo a{ display: block; }
header .logo img{
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* منو */
header nav{
  display: flex;
  justify-content: center;
  flex: 1;
  position: relative; /* برای منوی موبایل absolute */
}

header nav ul.nav-list{
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-direction: row;
}

header nav ul.nav-list li a{
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  padding: 6px 10px;
  transition: background 0.3s, color 0.3s;
  border-radius: 8px;
}

header nav ul.nav-list li a.active{
  color: #ffcc00;
}

/* همبرگر */
.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  position: absolute;
  left: 30px;
  z-index: 2000;
}

.menu-toggle span{
  height: 3px;
  width: 25px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* تبدیل همبرگر به ضربدر */
.menu-toggle.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2){
  opacity: 0;
}
.menu-toggle.active span:nth-child(3){
  transform: rotate(-45deg) translate(6px, -6px);
}

/* main زیر هدر */
main{
  margin-top: 70px; /* برابر ارتفاع header */
  flex: 1;
}

/* سکشن‌ها */
section{
  width: 100%;
  padding: 80px 20px;
  text-align: center;
  color: white;
}

/* سکشن صفحه اصلی با پارالکس */
#section1{
  background-image: url('../images/bg1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* سکشن‌های دیگر */
#section2{ background-color: #ff6600; }
#section3{ background-color: #009966; }
#section4{ background-color: #3a3a3a; }

/* دکمه‌ها */
.btn-group{
  margin-top: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn{
  background-color: #ffcc00;
  color: #000;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn:hover{
  background-color: #e6b800;
  transform: translateY(-2px);
}

.btn-outline{
  background-color: transparent;
  border: 2px solid #ffcc00;
  color: #ffcc00;
}

.btn-outline:hover{
  background-color: #ffcc00;
  color: #000;
}

/* فوتر */
footer{
  text-align: center;
  padding: 20px;
  background-color: #0077cc;
  color: white;
}

/* =========================
   منوی موبایل اسلایدی
   ========================= */
@media (max-width: 768px){

  .menu-toggle{ display: flex; }

  header nav ul.nav-list{
    /* به جای display:none، اسلایدی می‌کنیم */
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background-color: #0077cc;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 999;

    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  header nav ul.nav-list.active{
    max-height: 420px; /* اگر آیتم‌ها زیاد شد بیشتر کن */
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  header nav ul.nav-list li a{
    display: block;
    padding: 15px 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    border-radius: 0;
  }
}

/* =========================
   فقط مخصوص صفحه pricing
   ========================= */
body.pricing-page{
  background: #07102b;
}


/* =========================
   صفحه تماس حرفه‌ای
   ========================= */
body.contact-page{
  background: linear-gradient(135deg,#07102b,#0b1a44,#07102b);
}

/* جلوگیری از تاثیر استایل عمومی section روی تماس */
body.contact-page section{
  color: unset;
  text-align: unset;
  padding: 0;
}

/* هِرو */
.contact-hero{
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}

.contact-hero::before,
.contact-hero::after{
  content:"";
  position:absolute;
  width:900px;
  height:520px;
  filter: blur(60px);
  opacity:.55;
  pointer-events:none;
  z-index:0;
}
.contact-hero::before{
  right:-280px;
  top:-180px;
  background: radial-gradient(circle, rgba(120,90,255,.55), transparent 60%);
}
.contact-hero::after{
  left:-320px;
  bottom:-200px;
  background: radial-gradient(circle, rgba(60,140,255,.35), transparent 65%);
}

.contact-wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-head{
  text-align: center;
  margin-bottom: 28px;
  color: #fff;
}
.contact-head h1{
  font-size: 34px;
  margin: 0 0 10px;
}
.contact-head p{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,.75);
  line-height: 2;
  font-size: 14px;
}

/* گرید */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 22px;
  align-items: start;
}

/* کارت‌ها */
.info-card,
.contact-form-card{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* اطلاعات تماس */
.info-card{
  padding: 22px 18px;
  color: #fff;
}
.info-card h3{
  margin: 0 0 16px;
  font-size: 18px;
}
.info-row{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.10);
}
.info-row:first-of-type{
  border-top: none;
}
.info-icon{
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(76,111,255,.18);
  border: 1px solid rgba(76,111,255,.35);
  flex: 0 0 34px;
}
.info-title{
  font-size: 12px;
  color: rgba(255,255,255,.65);
  margin-bottom: 3px;
}
.info-value{
  font-size: 14px;
  color: rgba(255,255,255,.9);
  line-height: 1.9;
}
.info-note{
  margin-top: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 12px;
}

/* فرم */
.contact-form-card{
  padding: 22px;
}
.contact-form-pro{
  color: #fff;
}

.form-row{
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-row label{
  font-size: 13px;
  color: rgba(255,255,255,.75);
}

.contact-form-pro input,
.contact-form-pro textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(10,16,40,.55);
  color: #fff;
  font-family: 'Vazir', sans-serif;
  outline: none;
}

.contact-form-pro textarea{
  resize: vertical;
  min-height: 140px;
}

.contact-form-pro input::placeholder,
.contact-form-pro textarea::placeholder{
  color: rgba(255,255,255,.45);
}

.contact-form-pro input:focus,
.contact-form-pro textarea:focus{
  border-color: rgba(140,160,255,.55);
  box-shadow: 0 0 0 4px rgba(76,111,255,.18);
}

.contact-submit{
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg,#4c6fff,#6f8cff);
  box-shadow: 0 14px 30px rgba(76,111,255,.28);
}

.contact-hint{
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  text-align: center;
  line-height: 1.8;
}

/* ریسپانسیو */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
}


html, body, button, input, textarea, select {
  font-family: 'Vazir', sans-serif;
}



/* =========================
   عنوان روی تصویر درباره ما
   ========================= */

.about-hero{
  position: relative;
  overflow: hidden;
}

.about-hero .hero-img{
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* لایه تیره روی تصویر */
.about-hero .hero-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.55));
  z-index: 1;
}

/* محتوای روی تصویر */
.hero-content{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 0 20px;
}

/* عنوان */
.hero-title{
  font-family: 'Vazir', sans-serif;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0;
}

.hero-title span{
  display: block;
}

/* سایز دسکتاپ */
.hero-title span:first-child{
  font-size: 42px;
}

.hero-title span:last-child{
  font-size: 36px;
}

/* =========================
   ریسپانسیو موبایل
   ========================= */
@media (max-width: 768px){

  .about-hero .hero-img{
    height: 280px;
  }

  .hero-title span:first-child{
    font-size: 28px;
  }

  .hero-title span:last-child{
    font-size: 24px;
  }
}


/* =========================
   Section 2 - سه ستونه حرفه‌ای
   ========================= */
#section2.section2-pro{
  background: #0b1a44;       /* آبی تیره */
  color: #fff;
  text-align: right;         /* برخلاف سایر سکشن‌ها */
}

#section2.section2-pro .s2-wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
}

#section2.section2-pro .s2-grid{
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr; /* ستون متن کمی بزرگ‌تر */
  gap: 18px;
  align-items: stretch;
}

#section2.section2-pro .s2-col{
  border-radius: 18px;
}

#section2.section2-pro .s2-text{
  padding: 18px 18px;
}

#section2.section2-pro .s2-text h2{
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.5;
}

#section2.section2-pro .s2-text p{
  margin: 0;
  color: rgba(255,255,255,.85);
  line-height: 2.1;
  font-size: 14px;
}

/* کارت‌ها (ستون‌های 2 و 3) */
#section2.section2-pro .s2-card{
  padding: 18px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#section2.section2-pro .s2-card h3{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
}

#section2.section2-pro .s2-card ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#section2.section2-pro .s2-card li{
  padding: 10px 10px;
  border-radius: 12px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,.88);
  font-size: 14px;
}

/* ریسپانسیو */
@media (max-width: 980px){
  #section2.section2-pro .s2-grid{
    grid-template-columns: 1fr; /* موبایل: ستون‌ها زیر هم */
  }
  #section2.section2-pro{
    text-align: right;
  }
}