/* حذف مارجین و پدینگ پیش‌فرض */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
    background-color: #0c2461;
}

/* بخش لوگو وسط صفحه */
.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 21.5vh;
}

.logo-section img {
    max-width: 900px;
    width: 100%;
    height: auto;
}
/* ============= DROPDOWN MENU ============= */
.menu li {
  position: relative;
}

.menu li .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0; /* راست چین */
  background-color: #ecf0f1;
  min-width: 220px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  list-style: none;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  z-index: 999;
  text-align: right; /* متن راست‌چین */
}

.menu li .dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  font-weight: normal;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  text-align: right; /* لینک راست‌چین */
}

.menu li .dropdown-menu li a:hover {
  background-color: #007bff;
  color: #fff;
}

/* نمایش کرکره وقتی ماوس روی منو بره */
.menu li.dropdown:hover .dropdown-menu {
  display: block;
}

/* ریسپانسیو: در موبایل منوی کرکره عمودی بشه */
@media (max-width: 768px) {
  .menu li .dropdown-menu {
    position: static;
    box-shadow: none;
    min-width: unset;
  }
}

/* بخش منو */
.menu-section {
    background-color: #ecf0f1;
    padding: 15px 0;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.menu-section .menu {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    gap: 25px;
}

.menu-section .menu li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 12px;
    transition: color 0.3s;
    margin-right: 1.5rem;
}

.menu-section .menu li a:hover {
    color: #007bff;
}

/* دکمه همبرگری */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    justify-content:right;
    align-items:flex-start;
    margin-right: 1rem;
    margin-bottom: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    justify-content:right;
    align-items:flex-start;
    margin: auto 0;
}

/* موبایل منو */
@media (max-width: 768px) {
    .menu-section .menu {
        display: none;
        flex-direction: column;
        gap: 10px;
    }
    .menu-section .menu.show {
        display: flex;
    }
    .menu-toggle {
        display: flex;
    }
}


/* متن باکس‌ها */
.box-text, .box-text2 {
    justify-items: right;
    font-size: 175%;
    font-weight: 500;
    color: #211786;
}

/* باکس‌ها */
.box, .box-main2 {
    display: flex;
    justify-content: right; /* box-main2 می‌تواند center باشد */
    gap: 20px;
    margin-top: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.box-main2 {
  display: flex;
  flex-wrap: wrap;       /* اجازه میده در موبایل به خط بعدی بره */
  gap: 20px;
  justify-content: center; /* وسط چین شدن کل باکس‌ها */
  padding-bottom: 10px;
  overflow-x: visible;     /* اسکرول افقی برداشته شد */
}

.box-main2 a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex: 1 1 calc(20% - 20px); /* هر باکس تقریبا 20% عرض، 5 تا کنار هم */
}

.box-main2 .box5,
.box-main2 .box6,
.box-main2 .box7,
.box-main2 .box-8,
.box-main2 .box9 {
  width: 100%;              /* باکس پرکننده لینک */
  padding: 25px;
  border: 1px solid #ccc;
  border-radius: 12px;
  background-color: #ecf0f1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease;
}

/* هاور */
.box-main2 a:hover .box5,
.box-main2 a:hover .box6,
.box-main2 a:hover .box7,
.box-main2 a:hover .box-8,
.box-main2 a:hover .box9 {
  transform: translateY(-5px);
  border-color: #007bff;
}

/* ریسپانسیو موبایل */
@media (max-width: 1200px) {
  .box-main2 a {
    flex: 1 1 calc(33.33% - 20px); /* 3 تا در هر ردیف */
  }
}

@media (max-width: 768px) {
  .box-main2 a {
    flex: 1 1 calc(50% - 20px); /* 2 تا در هر ردیف */
  }
}

@media (max-width: 480px) {
  .box-main2 a {
    flex: 1 1 100%; /* 1 تا در هر ردیف */
  }
}

.box5, .box6, .box7, .box8, .box-8, .box9, .box10 {
    width: 200px;
    height: auto;
    padding: 25px;
    border: 1px solid #ccc;
    border-radius: 12px;
    background-color: #ecf0f1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease;
    margin:.5rem  1rem 1rem;
}

.box5 span, .box6 span, .box7 span, .box8 span,.box-8 span, .box9 span, .box10 span {
    font-size: 16px;
    margin-top: 8px;
    color: #333;
}



.text-1{
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}



.paragraph1 ,.paragraph2 ,.paragraph3 ,.paragraph4{
    display: flex;
    background-color:#ecf0f1;
    border-radius: .78rem;
    align-items: center;
    justify-content: right;
    /* transform: translateX(-5px); */
    gap: 2rem;
    padding: 25px;
    /* flex: 1 1 220px;            قبلاً 250px بود */
    line-height: 45px;
    width: 80%;
    color:#211786;
    font-size:110%;
    font-weight: 400;
}

.paragraph4{
    justify-content: center;
}
.text-price ,.paragraph2{
    font-weight: bold;
}

.icon-paragraph{
/* transform: translateX(-130%); */
margin-right: 26rem;
}
.not{
    font-weight: bold;
    color: #e74c3c;

}



/* Box Main Packages */
.box-main {
    padding: 20px;
}

.box-main ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;

}
/* پکیج‌ها */
.box-main ul li {
    background-color: #ecf0f1;
    border-radius: 12px;
    padding: 12px;              /* قبلاً 15px بود */
    flex: 2 2 320px;            /* قبلاً 250px بود */
    max-width: 380px;           /* محدود کردن عرض */
    text-align: right;
    transition: transform 0.3s;
    font-size: .89rem;          /* متن جمع‌وجورتر */
    line-height: 45px;
    transform: translateY(-2.56rem);
}

.box-main ul li:hover {
    transform: translateY(-5px);
}

.box-main ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    margin-top: 10px;
}



.start-btn {
  background-color: #211786;
  display: flex;
  color: white;
  border: none;
  padding: 14.5px 70px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
  align-items: center;
  text-align: center;
 /* justify-items: center; */
 margin-right: 5.5rem;

}

.start-btn:hover {
  background-color: #0056b3;
}
.silver-text{
  background-color: #ced6e0;
  color:#211786 ;
  border: none;
  padding: 14.5px 70px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 15px;
  margin-right: 4.9rem;
  transition: background-color 0.3s ease;
  align-items:center;
  text-align: center;
  font-weight: bold;

}
.price{
    color: #ed0909;
    text-decoration: line-through; /* خط روی متن */

}
.new-price{
    color:#06abd0;
    font-size: 30px;
    font-weight:1000 ;
    animation: blink 1.2s infinite; /* انیمیشن چشمک زن */

}


/* انیمیشن خاموش/روشن */
@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: .3;
  }
}

/* ========================== */
/* فوتر */
/* ========================== */
.site-footer {
    background-color: #ecf0f1;
    color: #211786;
    padding: 20px 10px;
    text-align: center;
}

.site-footer .logo-section img {
    max-width: 200px;
    margin-bottom: 15px;
}

.site-footer .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ریسپانسیو موبایل فوتر */
@media (max-width: 768px) {
    .site-footer {
        padding: 15px 10px;
        text-align: center;
    }

    .site-footer .logo-section {
        justify-content: center;
        margin-bottom: 10px;
    }

    .site-footer .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
    }
}
/* کد اصلیت دست‌نخورده موند */
/* ================== ریسپانسیو اضافه شده ================== */

/* تبلت و کوچیک‌تر */
@media (max-width: 992px) {
  .logo-section img {
    max-width: 600px;
  }
  .box5, .box6, .box7, .box8, .box9, .box10 {
    width: 160px;
  }
}

/* موبایل */
@media (max-width: 768px) {
  /* متن‌ها کوچیک‌تر */
  .box-text, .box-text2 {
    font-size: 120%;
    text-align: center;
  }

  /* پکیج‌ها */
  .box-main ul li {
    /* flex: 1 1 100%; */
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    margin: auto 0;
    line-height: 35px;
    font-size: 0.85rem;
    transform: translateX(20px);
  }

  /* دکمه‌ها */
  .start-btn {
    width: 100%;
    margin: 10px auto 0 auto;
    justify-content: center;
    margin-right: 0;
  }
  .silver-text{
    width: 60%;
    transform:translateX(85px);
    display: block;
    justify-content: center;
    align-items: center;
  }

  /* پاراگراف‌ها */
  .paragraph1,
  .paragraph2,
  .paragraph3,
  .paragraph4 {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    width: 100%;
    line-height: 32px;
  }

  .icon-paragraph {
    margin: 0 auto;
  }

  /* لوگو هدر */
  .logo-section {
    height: auto;
    padding: 15px;
  }
  .logo-section img {
    max-width: 90%;
  }
}

/* موبایل خیلی کوچیک (≤480px) */
@media (max-width: 480px) {
  .box5, .box6, .box7, .box8, .box9, .box10 {
    width: 100%;
  }
  .menu-section .menu li a {
    font-size: 11px;
  }
  .new-price {
    font-size: 22px;
  }
}
