@import url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://cdn.fontcdn.ir/IRANSans/IRANSans.css"rel="stylesheet"type="text/css');


:root{
  --primary:#00bfff; /* فیروزه‌ای روشن */
  --primary-dark:#004e92; /* آبی تیره */
  --accent:#00bfff; /* طلایی */
  --bg:#f6f8fb;
  --card-bg: rgba(255,255,255,0.7);
  --glass: rgba(255,255,255,0.08);
  --radius:14px;
  --maxWidth:1200px;
  font-family: 'Vazir', sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;background:linear-gradient(180deg,#f7fbff 0%, #f6f8fb 100%);color:#222}
.container{max-width:var(--maxWidth);margin:0 auto;padding:24px}




/* هدر / ناوبار */
.site-header{
  background: linear-gradient(90deg,var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 18px 0;
  box-shadow: 0 6px 30px rgba(3,10,36,0.12);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;gap:12px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{height:46px;width:46px;border-radius:10px;object-fit:cover;border:2px solid rgba(255,255,255,0.14)}
.brand h1{font-size:20px;margin:0}
.nav{display:flex;gap:18px;align-items:center}
.nav a{color:#fff;text-decoration:none;font-weight:600;padding:8px 12px;border-radius:10px;transition:all .18s}
.nav a:hover{background:rgba(255,255,255,0.08)}

/* هرو (hero) */
.hero{
  padding: 56px 0;
  text-align:right;
  direction:rtl;
}
.hero-grid{display:grid;grid-template-columns:1fr 460px;gap:30px;align-items:center;max-width:var(--maxWidth);margin:0 auto;padding:0 24px}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.75));
  border-radius: var(--radius);
  padding:26px;
  box-shadow: 0 10px 30px rgba(3,10,36,0.06);
}
.hero h2{margin:0 0 10px;font-size:28px;color:var(--primary-dark)}
.hero p{color:#334155;margin:0 0 18px;line-height:1.7}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.btn{
  display:inline-block;padding:12px 20px;border-radius:10px;text-decoration:none;font-weight:700;
  transition:all .18s;border:2px solid transparent;
}
.btn-primary{background:var(--primary);color:#fff}
.btn-outline{background:transparent;color:var(--primary-dark);border-color:var(--primary-dark)}
.btn-primary:hover{transform:translateY(-3px);box-shadow:0 10px 30px rgba(0,78,146,0.12)}
.hero-visual{background:linear-gradient(135deg,var(--primary),var(--primary-dark));border-radius:16px;padding:28px;color:#fff;text-align:center}
.hero-visual img{max-width:100%;height:165px;border-radius:12px;box-shadow:0 8px 30px rgba(0,0,0,0.2)}

/* سرویس‌ها (کارت‌ها) */
.section-title{font-size:20px;color:var(--primary-dark);margin:0px 0 25px;text-align: center;}
.services-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85));
  border-radius:12px;padding:18px;box-shadow:0 8px 26px rgba(3,10,36,0.06);text-align:center;
  transition:transform .18s, box-shadow .18s;
}
.service-card:hover{transform:translateY(-8px);box-shadow:0 18px 40px rgba(3,10,36,0.09)}
.service-card img{width:64px;height:64px;object-fit:contain;margin-bottom:12px}
.service-card h4{margin:6px 0 8px;color:var(--primary-dark)}
.service-card p{font-size:14px;color:#556;line-height:1.6}

/* بنر ویژه */
.promo-banner {
    margin: 50px auto;
    padding: 32px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fbff, #eef3f8);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    /* مرکز افقی */
    gap: 28px;
    max-width: 90%;
    text-align: center;
    /* برای متن */
    transition: all 0.3s ease;
}

.promo-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
}

/* تصویر بنر */
.promo-banner img {
    width: 300px;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.promo-banner img:hover {
    transform: scale(1.03);
}

/* بخش متنی */
.promo-banner .promo-content {
    max-width: 600px;
}

.promo-banner .promo-content h3 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 1.6rem;
    font-weight: 700;
}

.promo-banner .promo-content p {
    color: #444;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0 0 20px;
}

/* دکمه‌ها */
.promo-banner .promo-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.promo-banner .promo-actions a {
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: none;
}

.btn.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn.btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
}

/* ریسپانسیو برای موبایل */
@media (max-width: 768px) {
    .promo-banner {
        flex-direction: column;
        padding: 24px;
    }

    .promo-banner img {
        width: 100%;
        height: auto;
    }

    .promo-banner .promo-content h3 {
        font-size: 1.4rem;
    }
}


/* اسلایدر مقالات */

.services-slider {
    padding: 10px 0;
}

.swiper {
    padding: 22px 0 36px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.service-slide {
    width: 300px;
    min-height: 320px;
    background: linear-gradient(180deg, #fff, #f7faff);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    transition: all 0.3s ease;
}

.service-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* عنوان */
.service-slide h4 {
    margin: 0 0 10px;
    color: var(--primary-dark);
    font-size: 17px;
    font-weight: 700;
    text-align: center;
}

/* توضیحات */
.service-slide p {
    flex: 1;
    color: #4c5c6b;
    font-size: 14.2px;
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: justify;
}

/* دکمه */
.service-slide .read-more {
    align-self: center;
    padding: 10px 20px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.service-slide .read-more:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* برای هماهنگی کارت‌ها */
.swiper-wrapper {
    align-items: stretch;
}

/* حالت موبایل */
@media (max-width: 768px) {
    .service-slide {
        width: 90%;
        min-height: auto;
        padding: 18px;
    }

    .service-slide p {
        font-size: 13.5px;
    }
}


.swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    margin-top: 14px;
}

.swiper-pagination .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.swiper-pagination .dot.edge-dot {
    opacity: 0.25;
    transform: scale(0.8);
}

.swiper-pagination .dot.active-dot {
    opacity: 1;
    transform: scale(1.3);
}


/* پیشنهاد ویژه */
.offer-card{display:flex;gap:18px;align-items:center;padding:20px;border-radius:14px;background:linear-gradient(90deg,var(--primary-dark),#001124);color:#fff}
.offer-card img{width:220px;height:140px;object-fit:cover;border-radius:10px}


/* تماس سریع */
.contact-box {
    margin: 60px auto;
    padding: 40px 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f8fcff, #e8f2ff);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    max-width: 90%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.contact-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

/* متن اصلی سمت راست */
.contact-text {
    flex: 1;
    min-width: 280px;
    text-align: right;
}

.contact-text h3 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.contact-text p {
    color: #445;
    margin: 0 0 20px;
    font-size: 1rem;
    line-height: 1.8;
}

/* دکمه تماس */
.contact-text .btn.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-text .btn.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* اطلاعات تماس */
.contact-info {
    min-width: 260px;
    background: #fff;
    padding: 22px 26px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    text-align: right;
    /* ← در حالت دسکتاپ راست‌چین */
}

.contact-info .contact-title {
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    padding-bottom: 4px;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    margin-top: 10px;
    font-size: 0.95rem;
}

.contact-info .contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* 📱 حالت موبایل */
@media (max-width: 768px) {
    .contact-box {
        padding: 28px 18px;
        text-align: center;
        /* کل بخش وسط‌چین */
    }

    .contact-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-text,
    .contact-info {
        text-align: center;
        /* متن و کارت هر دو وسط‌چین */
    }

    .contact-info .contact-item {
        justify-content: center;
    }
}

/* فوتر */
.site-footer {
    background: #0b1220;
    color: #dfe9f3;
    padding: 50px 0 25px;
    font-family: 'IRANSans', sans-serif;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ستون‌های فوتر */
.footer-col {
    flex: 1 1 280px;
    min-width: 240px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #00bfff;
    position: relative;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 70px;
    height: 1px;
    background: #00bfff;
    border-radius: 2px;
}

.footer-col p {
    color: #b8c6d8;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 8px;
}

.footer-col a {
    display: block;
    color: #cfe6ff;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 6px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #00bfff;
    transform: translateX(-4px);
}

/* شماره تماس در یک خط */
.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #b8c6d8;
    font-size: 14px;
}

.contact-item a {
    color: #00bfff;
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: #fff;
}

/* کپی‌رایت */
.footer-col .copy {
    margin-top: 14px;
    font-size: 12px;
    color: #8fa1b6;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 8px;
}

/* نسخه موبایل */
@media (max-width: 768px) {
    .site-footer {
        padding: 35px 0 20px;
    }

    .site-footer .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        /* فاصله ستون‌ها کمتر شد */
        padding: 0 16px;
    }

    .footer-col {
        min-width: 100%;
        margin-bottom: 10px;
        /* کاهش فاصله بین ستون‌ها */
    }

    .footer-col h4 {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .contact-item {
        justify-content: center;
        /* شماره تماس وسط‌چین */
    }

    .footer-col .copy {
        border: none;
        margin-top: 8px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .site-footer .container {
        display: block;
        /* جلوگیری از فضای اضافی Flex */
        text-align: center;
        /* همه وسط‌چین */
        padding: 0 16px;
    }

    .footer-col {
        margin-bottom: 10px;
        /* کاهش فاصله عمودی */
        padding: 0;
    }

    .footer-col:last-child {
        margin-bottom: 0;
        /* آخرین ستون فاصله نداشته باشه */
    }

    .contact-item {
        justify-content: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* واکنشگرا */
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; padding:0 16px}
  .services-cards{grid-template-columns:repeat(2,1fr)}



@media (max-width: 768px) {
    .hero h2{
        text-align: center;
        /* عنوان و متن وسط‌چین */
    
    }

    .hero-grid {
        grid-template-columns: 1fr;
        /* عکس زیر متن بیاد */
    }

    .cta-row {
        justify-content: center;
        flex-wrap: nowrap
        /* دکمه‌ها وسط‌چین */
    }
}


}
@media (max-width: 560px){
  .services-cards{grid-template-columns:repeat(1,1fr)}
  .nav{display:none}
  .brand h1{font-size:18px}

}




body {
    font-family: 'Vazir', sans-serif;
    background: #f1f5f9;
    color: var(--text_color, #333);
    margin: 0;
    padding: 0;
    direction: rtl;
}

.containers {
    width: 90%;
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
}

.containers h1 {
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 30px;
}

.packages {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.package-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-left: 5px solid var(--primary);
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.package-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.package-card p {
    line-height: 1.5;
    margin-bottom: 12px;
}

.package-card strong {
    color: var(--primary-dark);
}

.package-card .price {
    font-size: 1.2em;
    color: var(--primary-dark);
    margin-top: 10px;
}

.package-card a {
    display: inline-block;
    margin-top: 15px;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background 0.2s;
}

.package-card a:hover {
    background: var(--primary-dark);
}














.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 30px;
}

.package-card {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
    transition: transform .3s ease;
}

.package-card:hover {
    transform: translateY(-5px);
}

.package-card h2 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.package-card .desc {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

.package-card .features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: right;
}

.package-card .features li {
    padding: 5px 0;
    font-size: 14px;
}

.package-card .price {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-dark);
    margin: 15px 0;
}

.btn-link,
.btn-buy {
    display: inline-block;
    padding: 10px 18px;
    margin-top: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-link {
    background: var(--primary-dark);
    color: #fff;
}

.btn-link:hover {
    background: var(--primary);
}

.btn-buy {
    background: var(--primary);
    color: #fff;
}

.btn-buy:hover {
    background: var(--primary-dark);
}





.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 20px;
  margin: 15px 0;
  align-items: start;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  line-height: 1.8;
  text-align: right;
  direction: rtl;
}

.feature-item .icon {
  flex-shrink: 0;
  width: 22px;
  text-align: center;
  margin-left: 6px;
}

.feature-item .text {
  flex: 1;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
















/* 🧭 گروه دکمه‌ها */
.button-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* اگر عرض کم شود، زیر هم می‌روند */
  margin-top: 14px;
}

.btn-link,
.btn-buy {
  flex: 1 1 auto;
  min-width: 120px;
  text-align: center;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

/* رنگ و افکت‌ها */
.btn-link {
  background: var(--primary-dark);
  color: #fff;
}

.btn-link:hover {
  background: var(--primary);
}

.btn-buy {
  background: var(--primary);
  color: #fff;
}

.btn-buy:hover {
  background: var(--primary-dark);
}

/* واکنش‌گرا */
@media (max-width: 600px) {
  .button-group {
    flex-direction: column;
    gap: 8px;
  }

  .btn-link,
  .btn-buy {
    width: 100%;
  }
}



/* ===== موبایل: آیکن سه‌خط و منوی نیم‌صفحه (کم‌تهاجم) ===== */
@media (max-width: 768px) {
  /* مطمئن می‌شویم آیکن قابل مشاهده و کلیک‌پذیر باشد */
  .menu-toggle {
    display: flex !important;        /* حتماً در موبایل نشان داده شود */
    flex-direction: column;
    position: absolute;              /* قرارگیری روی هدر */
    left: 12px;                      /* گوشه سمت چپ */
    top: 50%;
    transform: translateY(-50%);
    z-index: 3000;                   /* بالاتر از بقیه عناصر */
    padding: 10px;
    gap: 5px;
    cursor: pointer;
    background: transparent;         /* اگر لازم است تست کن با رنگ برای دیدن */
    align-items: center;
  }

  /* سه خط داخل آیکن */
  .menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
  }

  /* اگر هدر یا کانتینر overflow:hidden داشته باشه، موقعیت fixed امن‌تره */
  .site-header { position: relative; } /* اگر قبلاً ندارید، این خط را اضافه کن */

  /* منوی نیم‌صفحه از سمت چپ */
  .nav {
    position: fixed !important;
    top: 0;
    left: -100%;
    width: 55%;
    max-width: 380px;
    height: 100vh;
    background: #fff;
    display: flex !important;
    flex-direction: column;
    padding: 80px 20px;
    gap: 16px;
    box-shadow: 2px 0 14px rgba(0,0,0,0.15);
    transition: left .35s ease;
    z-index: 2500;
    overflow-y: auto;
  }

  .nav.active {
    left: 0 !important;
  }

  /* اگر بخوای آیکن به X تغییر کنه (اختیاری) */
  .menu-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


  .nav a {
    color: #333 !important;       /* رنگ تیره برای خوانایی */
    font-size: 16px;
    text-decoration: none;
    padding: 8px 0;
  }

  .nav a:hover {
    color: #00bfff !important;    /* رنگ آبی فیروزه‌ای هنگام هاور */
  }
}


@media (max-width: 768px) {
  .packages {
    grid-template-columns: 1fr;
    justify-items: center; /* کارت را وسط قرار می‌دهد */
  }

  .package-card {
    padding: 10px;
    width: 100%; /* کارت‌ها 95 درصد عرض صفحه را می‌گیرند */
  }
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--primary);
    color: #fff;
}


/* دکمه‌های نویگیشن Swiper */
.swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

/* فاصله از لبه‌ها */
.swiper-button-next {
    left: -1% !important;
    /* فاصله از راست */
}

.swiper-button-prev {
    right: -1% !important;
    /* فاصله از چپ */
}


.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 16px;
    /* ← اندازه فلش داخل دایره */
}