* {
  /*margin: 0;*/
  /*padding: 0;*/
  /*box-sizing: border-box;*/

}


html {
    scroll-behavior: smooth;
    /*overflow-x: hidden;*/
}

body {
    margin: 0;
    font-family: "Vazir", sans-serif;
    direction: rtl;
    background: #f8f9fa;
    /*overflow: hidden;*/
    /*margin-right: 350px;*/
    /*padding-left: 250px;*/
    color: #333;
}


/* هدر */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, #2f3fcf, #02091b);
  color: #fff;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
  font-family: "Vazirmatn", sans-serif;
  white-space: nowrap; /* لوگو نشکنه */
}

header nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;        /*  نذاره بره خط بعد */
  gap: 14px;
  overflow-x: auto;         /*  اگر جا نشد اسکرول افقی */
  -webkit-overflow-scrolling: touch; /* اسکرول نرم روی موبایل */
}

header nav a {
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  white-space: nowrap;      /* لینکها نشکنن */
  flex-shrink: 0;           /* اجازه نده کوچیک شن */
}

/* برای موبایل فونت کوچیکتر بشه که جا بشه */
@media (max-width: 460px) {
  header .logo {
    font-size: 20px;
  }
  header nav a {
    font-size: 14px;
  }
}

}


/* About */
.about {
    padding: 80px 20px;
    text-align: center;
    background: white;
}

.about h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #0d47a1;
}


.banner {
    position: relative;
    height: 350px;
    /* background: linear-gradient(135deg, #2d65af, #0fd6a4); */
    background: linear-gradient(135deg, #0167AD, #91D8E8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.banner h1 {
    z-index: 2;
    font-size: 2.5rem;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    margin: 0;
}

.icon {
    position: absolute;
    top: -20px;
    width: 40px;
    opacity: 0.9;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        transform: translateY(450px) rotate(360deg);
        opacity: 0.8;
    }
}
@media (max-width: 768px) {
  .banner h1 {
    font-size: 1.8rem
  }
}

@media (max-width: 460px) {
  .banner h1 {
    font-size: 1.4rem
  }
}

/* Pricing */
/* .pricing {
  padding: 80px 20px;
  text-align: center;
}
.plans {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.plan {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  width: 280px;
  transition: transform 0.3s;
}
.plan:hover {
  transform: translateY(-10px);
}
.plan h3 {
  color: #0d47a1;
  margin-bottom: 10px;
}
.plan ul {
  text-align: right;
  list-style: none;
  padding: 0;
}
.plan ul li {
  margin: 8px 0;
}
.plan button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: #0d47a1;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.plan button:hover {
  background: #1976d2;
}
.plan.featured {
  border: 3px solid #ffeb3b;
  transform: scale(1.05);
}
 */


.about {
    text-align: center;
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.about h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #222;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

.about p {
    font-size: 20px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #555;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0;
    animation: fadeIn 2s forwards;
    animation-delay: 0.5s;
}

.about-img-wrapper {
    display: flex;
    justify-content: center;
    border: 10px;
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 30px 25px rgba(0, 0, 1, 0.1);
    opacity: 0;
    transform: translateY(50px); /* حرکت از پایین */
    animation: fadeIn 3s forwards, slideIn 2s forwards; /* دو انیمیشن همزمان */
    animation-delay: 1.5s; /* شروع با تاخیر */
    max-width: 100%; /* ریسپانسیو */
    height: auto; /* حفظ نسبت تصویر */
}

/* انیمیشن ها */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .about-img-wrapper {
        flex-direction: column; /* چیدمان عمودی در موبایل */
    }
}




/** {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  box-sizing: border-box;*/
/*}*/
/** {*/
/*  margin: 0;*/
/*  padding: 0;*/
/*  box-sizing: border-box;*/
/*}*/

/*body {*/
/*  font-family: Arial, sans-serif;*/
/*}*/

/* استایل‌های عمومی */

.centered-text {
  font-size: 2rem;
  font-weight: bold;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: Arial, sans-serif;
  direction: rtl;
}

/*body {*/
/*    font-family: Arial, sans-serif;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    background-color: #f4f4f4;*/
/*}*/

.filters {
    text-align: center;
    margin-top: 50px;
}

.filter-btn {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    font-size: 16px;
    border-radius: 5px;
}

.filter-btn:hover {
    background-color: #555;
}

/* گالری نمونه‌کارها */
.portfolio {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;
}

.portfolio-item {
    width: 30%;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* استایل فیلترها */
.web {
    display: block;
}

.ecommerce {
    display: block;
}

.personal {
    display: block;
}

.hidden {
    display: none;
}




.articles-contact {
    /*padding: 10px 20px;*/
    background-color: #fff;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.articles-contact h2 {
    font-size: 40px;
    margin-bottom: 50px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #222;
}

/* مقالات */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.article-card {
    background: #f9f9f9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s, box-shadow 0.5s;
    cursor: pointer;
}

.article-card img {
    width: 98%;
    display: block;
    transition: transform 1s;
}

.article-card:hover img {
    transform: scale(1.1);
}

.article-card h3 {
    font-size: 22px;
    margin: 20px 0 10px;
}

.article-card p {
    padding: 0 20px 20px;
    font-size: 16px;
    color: #555;
}

.article-card a {
    display: inline-block;
    margin-bottom: 20px;
    color: #007BFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.article-card a:hover {
    color: #0056b3;
}

/* فرم تماس با ما */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
    width: 100%;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007BFF;
    outline: none;
}

.contact-form button {
    padding: 15px;
    border-radius: 10px;
    border: none;
    background-color: #007BFF;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #0056b3;
}


/*پنل قیمتی*/

.pricing-section {
    text-align: center;
    padding: 80px 20px;
    background: #f3f4f6;

}

.pricing-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: #222;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* فعال کردن wrap برای رفتن به ردیف بعدی */
}

.pricing-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 20px;
    width: 280px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
    overflow: hidden;
    z-index: 1;
    /* تنظیم اندازه به طوری که 3 پنل در ردیف نمایش داده شوند */
    flex: 1 1 calc(33.33% - 30px); /* از هر پنل ۳۳.۳۳ درصد از عرض را می‌گیرد و فاصله ۳۰px در نظر گرفته می‌شود */
    flex-grow: 0;
}

    /*padding-inline-end: 30px;*/


.pricing-card .icon {
    font-size: 40px;
    margin-bottom: 15px;
    justify-content: center;

}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #333;
}

.pricing-card .price {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #007bff;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.pricing-card ul li {
    margin: 10px 0;
    color: #555;
    font-size: 15px;
}

.pricing-card .btn {
    display: inline-block;
    padding: 10px 20px;
    background: #007bff;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.pricing-card .btn:hover {
    background: #0056b3;
}

/* ✨ ربان نوری درست */
.pricing-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    background: linear-gradient(45deg, #00f, #0ff, #0f0, #ff0, rgb(252, 156, 252), #f00, rgb(63, 63, 226));
    background-size: 400% 400%;
    z-index: -1; /* پشت محتوای کارت ولی بیرون سایه */
    opacity: 0;
    transition: opacity 0.4s;
    animation: glowing 10s linear infinite;
}

.pricing-card:hover::before {
    opacity: 0.3;
}

@keyframes glowing {
    0% {
        background-position: 0 0;
    }
    50% {
        background-position: 400% 0;
    }
    100% {
        background-position: 0 0;
    }
}

@media (max-width: 768px) { .pricing-card { flex: 1 1 calc(50% - 20px) /* در صفحات موبایل  پنل در یک ردیف */ } 
}
@media (max-width: 480px) { .pricing-card { flex: 1 1 100%}
} /* در صفحه



/* Footer */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 60px 20px 20px 20px;
    font-family: "Vazirmatn", sans-serif;
    margin-top: 50px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-left h2 {
    color: #38bdf8;
    margin-bottom: 10px;
}

.footer-middle h3,
.footer-right h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #f8fafc;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
}

.footer-middle ul li {
    margin-bottom: 10px;
}

.footer-middle ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-middle ul li a:hover {
    color: #38bdf8;
}

.social-icons a {
    color: #cbd5e1;
    margin-right: 15px;
    font-size: 22px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #38bdf8;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    border-top: 1px solid #334155;
    padding-top: 15px;
    font-size: 14px;
    color: #94a3b8;
}
.footer-licenses {
    color: #f8fafc;
}

.footer-licenses h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #f8fafc;
}

.footer-licenses ul {
    list-style: none;
    padding: 0;
}

.footer-licenses ul li {
    margin-bottom: 10px;
}

.footer-licenses ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.footer-licenses ul li a:hover {
    color: #38bdf8;
}
.footer-licenses img {
    width: 60px; /* اندازه تصویر */
    height: auto;
    margin-right: 10px; /* فاصله بین تصویر و متن */
}





@import url('https://v1.fontapi.ir/css/Vazir:400,700');

/*body {*/
/*    font-family: 'Vazir', sans-serif;*/
/*    background: #f9f9f9;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*    direction: rtl;*/
/*    text-align: right;*/
/*}*/

.article {
    max-width: 1100px;
    margin: 0px auto;
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article__title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.article__meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.article__meta span {
    margin-left: 15px;
}

.article__image img {
    width: 90%;
    border-radius: 10px;
    height: auto;
    display: block;
    margin: auto;

}

.article__content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.article__tags {
    margin-top: 15px;
}

.article__tags strong {
    color: #333;
}

.article__tags span {
    display: inline-block;
    background: #eef2ff;
    color: #3b82f6;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 13px;
    margin: 5px 3px;
}

/* ======================
   📱 ریسپانسیو موبایل
====================== */
@media (max-width: 768px) {
.article {
    margin: 20px;
    padding: 15px;
}

.article__title {
    font-size: 22px;
    line-height: 1.4;
}

.article__meta {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article__content {
    font-size: 14px;
    line-height: 1.7;
}

.article__tags span {
    font-size: 12px;
    padding: 4px 8px;
}
}


/*body {*/
/*    font-family: 'Vazir', sans-serif;*/
/*    background: linear-gradient(135deg, #ffffff, #ffffff);*/
/*    color: #333;*/
/*}*/

/*h2 { font-weight: 700; margin-bottom: 30px; color: #6f42c1; position: relative; }*/

/*h2::after { content: ''; width: 50px; height: 3px; background: #6f42c1; position: absolute; bottom: -10px; left: 0; border-radius: 3px; }*/

.contact-section {
    padding: 80px 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.contact-info {
    background: linear-gradient(135deg, #6f42c1, #8e24aa);
    color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-info p {
    font-size: 18px;
    margin-bottom: 20px;
}

.contact-info i {
    margin-right: 10px;
    color: #ffc107;
}

.form-control {
    border-radius: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #6f42c1;
    box-shadow: 0 0 8px rgba(111, 66, 193, 0.3);
}

.btn-primary {
    background: #6f42c1;
    border: none;
    border-radius: 15px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #8e24aa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .contact-section .row > div {
        margin-bottom: 30px;
    }
}
