﻿
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}





   body.bkg {
    background: radial-gradient(ellipse at center, #000000 0%, #0a0a0a 100%);
    position: relative;
    z-index: 1; /* اینجا مطمئن میشیم که محتوا لایه بالاتری داره */
}

#night-sky {
    display: none;
}

body.bkg #night-sky {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0; /* فقط بکگراند باشه */
}

/* مطمئن شو کارت‌ها، فرم‌ها، عکس‌ها و ... position: relative و z-index: 10 یا بالاتر دارن */
.work-card, form, img, .contact-message {
    position: relative;
    z-index: 10;
}




/* 24. overlay */
/*.gradient-overlay,
.gradient-overlay-home,
.gradient-overlay-home-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 100%);
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 100%);
    background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    pointer-events: none;
}

.gradient-overlay,
.gradient-overlay-home-2 {
    z-index: 1;
}

.gradient-overlay-home {
    z-index: 10;
}*/

/* 25. overlay */
/*.overlay:before {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.overlay-top-bottom-dark-15:before,
.overlay-dark-70:before {
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    pointer-events: none;
}

.overlay-top-bottom-dark-15:before {
    background: -moz-linear-gradient(top, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .1) 100%);
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .1) 100%);
    background: linear-gradient(to bottom, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
}

.overlay-dark-70:before {
    background: rgba(0, 0, 0, .3);
}

.ui-widget-overlay {
    background: #aaa;
    opacity: .003;
    filter: Alpha(Opacity=.3)
}

.ui-widget-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%
}

.ui-progressbar .ui-progressbar-overlay {
    background: url("data:image/gif;base64,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");
    height: 100%;
    filter: alpha(opacity=25);
    opacity: 0.25
}*/
/* 11. navigation */
/* navigation panels overlay */
/*.panel-overlay-from-left {
    position: fixed;
    width: 25%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: -100%;
    background: rgba(0, 0, 0, .7);
    -webkit-transition: all .8s ease-in-out;
    -moz-transition: all .8s ease-in-out;
    -ms-transition: all .8s ease-in-out;
    -o-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    z-index: 200;
}

    .panel-overlay-from-left.open {
        left: 0;
        opacity: 1;
        -moz-opacity: 1;
        -webkit-opacity: 1;
        filter: alpha(opacity=100);
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }

.panel-overlay-from-right {
    position: fixed;
    width: 75%;
    height: 100%;
    overflow: hidden;
    top: 0;
    right: -100%;
    background: #111;
    -webkit-transition: all .8s ease-in-out;
    -moz-transition: all .8s ease-in-out;
    -ms-transition: all .8s ease-in-out;
    -o-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
    opacity: 0;
    -moz-opacity: 0;
    -webkit-opacity: 0;
    filter: alpha(opacity=0);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    z-index: 200;
}

    .panel-overlay-from-right.open {
        right: 0;
        opacity: 1;
        -moz-opacity: 1;
        -webkit-opacity: 1;
        filter: alpha(opacity=100);
        -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    }




.parallax-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .8);
    z-index: 0;
}

.parallax {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 100px 30px;
}

@media all and (min-width: 1920px) {
    .parallax {
        padding: 200px 30px;
    }
}

@media only screen and (max-width: 768px) {
    .parallax {
        padding: 100px 15px;
    }
}

.parallax-purchase {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    border: 100px solid #000;
    z-index: 1;
}

@media only screen and (max-width: 1200px) {
    .parallax-purchase {
        border: 30px solid #000;
    }
}

@media only screen and (max-width: 768px) {
    .parallax-purchase {
        border: 15px solid #000;
    }
}


.gradient-overlay,
.gradient-overlay-home,
.gradient-overlay-home-2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: -moz-linear-gradient(bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 100%);
    background: -webkit-linear-gradient(bottom, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 100%);
    background: linear-gradient(to top, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=0);
    -webkit-pointer-events: none;
    -moz-pointer-events: none;
    pointer-events: none;
}

.gradient-overlay,
.gradient-overlay-home-2 {
    z-index: 1;
}

.gradient-overlay-home {
    z-index: 10;
}*/







    .light:nth-child(1) {
        left: 25%;
        animation-delay: 0s;
    }

    .light:nth-child(2) {
        left: 50%;
        animation-delay: 1s;
    }

    .light:nth-child(3) {
        left: 75%;
        animation-delay: 2s;
    }

@keyframes lightMove {
    0% {
        top: -100%;
    }

    100% {
        top: 100%;
    }
}



@keyframes floatCell {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }

    100% {
        transform: translateY(-200px) translateX(100px) rotate(360deg);
    }
}





ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*
 * ==================
 * Start Here
 * ==================
 */
*,*::before,*::after{
    padding: 0;
    margin: 0;
    box-sizing: inherit;
}
html {
    font-size: 62.5%; /* 10px of 16px */
    box-sizing: border-box;
    height: 100%;
}

body {
    color: white;
    background-color: #111111;
    position: relative;
    height: 100%;
    line-height: 1.5;
    font-size: 1.6rem; /* 16px */
    font-family: 'Shabnam', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}
.section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 7rem;
}
.section:last-of-type{
    margin-bottom: 0;
}
.section__title{
    font-weight: 800;
    font-size: 5rem;
    position: relative;
}
.section__title::before{
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 125%;
    transform: translateX(-50%);
    border-bottom: 3px dashed #00FF94;
}

/*
 * ==================
 * Navbar Component
 * ==================
 *//*
/* ======== استایل پایه ======== */
.nav {
    padding-top: 2.2rem;
    padding-bottom: 2.2rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 999;
    background: transparent;
    backdrop-filter: blur(25px);
}

.nav__list {
    display: flex;
    flex-direction: row;
    justify-content: center; /* پیش‌فرض وسط‌چین */
    align-items: center;
    gap: 3.8rem;
    list-style: none;
    margin: 0;
    padding: 0;
    height: auto;
    overflow: visible;
}

.nav__list-item {
    text-align: center;
    margin-bottom: 0;
}

.nav__list-link {
    color: #688277;
    position: relative;
    font-weight: 800;
    text-decoration: none;
    outline: none;
    font-size: 1.4rem !important;
    white-space: nowrap; /* 👈 متن منو نشکنه */
}

    .nav__list-link::before {
        content: '';
        display: block;
        width: 100%;
        height: 3px;
        border-radius: 99rem;
        background-color: #59FFB9;
        position: absolute;
        bottom: -12px;
        left: 0;
        transform-origin: center;
        transform: scaleX(0);
        transition: transform .15s ease-in-out;
    }

    .nav__list-link:focus,
    .nav__list-link:hover {
        color: #59FFB9;
    }

        .nav__list-link:focus::before,
        .nav__list-link:hover::before {
            transform: scaleX(1);
        }

    .nav__list-link.active {
        color: #59FFB9;
    }

        .nav__list-link.active:focus {
            color: #93ffd0;
        }

            .nav__list-link.active:focus::before {
                background-color: #93ffd0;
            }

        .nav__list-link.active::before {
            transform: scaleX(1);
        }

/* ======== دکمه همبرگری ======== */
.nav__hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    width: 35px;
    height: 35px;
    background-color: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-left: auto;
    overflow: hidden;
}

.nav__hamburger-top,
.nav__hamburger-center,
.nav__hamburger-bottom {
    display: block;
    width: 95%;
    height: 3px;
    border-radius: 99rem;
    background-color: white;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav__hamburger-top {
    top: 25%;
}

.nav__hamburger-center {
    top: 50%;
}

.nav__hamburger-bottom {
    top: 75%;
}

/* ======== هدر ======== */
.hero-header {
    position: relative;
    overflow: hidden;
    margin-bottom: 80px;
}

/* ======== حالت موبایل و تبلت: وسط‌چین ======== */
@media (max-width: 1023px) {
    .nav {
        backdrop-filter: blur(85px);
        padding-left: 1rem;
        padding-right: 1rem; /* 👈 کمی فضای داخل منو بدیم */
    }

    .nav__list {
        flex-wrap: wrap; /* 👈 اجازه بده آیتم‌ها در چند خط بشینن */
        justify-content: center;
        gap: 1.1rem; /* 👈 فاصله کمتر برای جا شدن آیتم‌ها */
    }

    .nav__list-link {
        font-size: clamp(1rem, 3vw, 1.1rem) !important;
        /* 👈 اندازه فونت تطبیقی؛ روی موبایل کوچیک‌تر میشه */
        white-space: nowrap; /* 👈 متن نشکنه */
    }
}

/* ======== حالت دسکتاپ و بالاتر: راست‌چین ======== */
@media (min-width: 1024px) {
    .nav {
        backdrop-filter: blur(25px);
    }
    .nav__list-link {
        font-size: 1.7rem !important;
        white-space: nowrap; /* 👈 متن توی موبایل هم نشکنه */
    }
    .nav__list {
        justify-content: flex-end;
    }
}



/*
 * ==================
 * Hero Header
 * ==================
 */




/* ✅ فونت شبنم از fontcdn.ir */
@import url('https://cdn.fontcdn.ir/Font/Persian/Shabnam/Shabnam.css');

* {
    font-family: 'Shabnam', sans-serif;
}

.header__container {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    direction: rtl;
}

.header__bg {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 350px;
    background: linear-gradient(to top, #111, #1110);
    z-index: -1;
}

.header__left {
    max-width: 900px;
    margin-right: 87px;
    text-align: right;
}

.header__right {
    position: absolute;
    left: 0;
    z-index: -1;
    display: none;
}

    .header__right img {
        width: 100%;
    }

.header__sup-text {
    display: inline-flex;
    font-weight: 600;
    font-size: 2.6rem; /* بزرگ‌تر از 1.2rem */
    text-align: right;
    font-family: 'Shabnam', sans-serif;
}

.header__title {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 5.2rem; /* کمی بزرگ‌تر */
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    text-align: right;
    font-family: 'Shabnam', sans-serif;
}

.header__msg {
    color: #fff;
    font-size: 2rem;
    font-family: 'Shabnam', sans-serif;
    text-align: center;
    margin-top: 2rem;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.6), 0 0 16px rgba(0, 255, 255, 0.6), 0 0 32px rgba(0, 255, 255, 0.6);
}


/* ✅ ریسپانسیو: موبایل */
@media (max-width: 768px) {
    .header__left {
        margin: 0 auto;
        text-align: center;
    }

    .header__sup-text,
    .header__title,
    .header__msg {
        display: block;
        text-align: center !important;
        margin: 0 auto;
    }

        .header__msg * {
            text-align: inherit !important;
            display: inline-block !important;
            margin: 0 auto;
        }

}











/*
@import url('"https://cdn.fontcdn.ir/Font/Persian/IranNastaliq/IranNastaliq.css'); /* فونت سایبری مکمل */

.header__title-1,
.header__title-2 {
    display: inline-block;
    position: relative;
    font-size: 6vw;
    font-weight: bold;
    color: #ffffff;
    font-family: 'Shabnam', 'Shabnam', sans-serif;
    line-height: 1.2;
    /* نور نئون چندمرحله‌ای */
    text-shadow: 0 0 10px #0ff, 0 0 20px #0ff, 0 0 40px #0ff, 0 0 80px #0ff;
    filter: drop-shadow(0 0 10px #00ffe7);
    /* انیمیشن پالس نور و گلیچ */
    animation: glowPulse 2.5s infinite ease-in-out, glitchText 3s infinite ease-in-out;
    user-select: none;
}

    .header__title-1::before,
    .header__title-2::before,
    .header__title-1::after,
    .header__title-2::after {
        content: attr(data-role);
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        white-space: nowrap;
        overflow: hidden;
        clip-path: inset(0 0 0 0);
        opacity: 0.85;
        pointer-events: none;
        mix-blend-mode: screen;
    }

    .header__title-1::before,
    .header__title-2::before {
        text-shadow: -2px 0 #00ffcc, 0 0 25px #00ffcc, 0 0 50px #00ffcc;
        animation: distort-1 1.6s infinite linear alternate-reverse;
    }

    .header__title-1::after,
    .header__title-2::after {
        text-shadow: 2px 0 #ff00ff, 0 0 25px #ff00ff, 0 0 50px #ff00ff;
        animation: distort-2 1.6s infinite linear alternate-reverse;
    }
/* افکت گلیچ (لرزش و اعوجاج نرم و پیوسته) */
@keyframes glitchText {
  0%, 100% {
    transform: none;
  }
  15% {
    transform: skew(-0.5deg, 0.4deg) translate(-1px, 0.5px);
  }
  30% {
    transform: skew(0.5deg, -0.4deg) translate(1px, -0.5px);
  }
  45% {
    transform: skew(-0.7deg, 0.5deg) translate(-1.5px, 1px);
  }
  60% {
    transform: skew(0.7deg, -0.5deg) translate(1.5px, -1px);
  }
  75% {
    transform: skew(-0.5deg, 0.3deg) translate(-1px, 0.5px);
  }
  90% {
    transform: skew(0.5deg, -0.3deg) translate(1px, -0.5px);
  }
}

/* پالس نور نئون آبی پررنگ و درخشان */
@keyframes glowPulse {
  0%, 100% {
    text-shadow:
      0 0 20px #0ff,
      0 0 40px #0ff,
      0 0 80px #0ff,
      0 0 120px #0ff,
      0 0 160px #0ff;
  }
  50% {
    text-shadow:
      0 0 40px #0ff,
      0 0 80px #0ff,
      0 0 120px #0ff,
      0 0 160px #0ff,
      0 0 200px #0ff;
  }
}

/* لرزش همراه با درخشش نئون آبی قوی */
@keyframes shake {
  0%, 100% {
    transform: translate(0, 0);
    text-shadow:
      0 0 20px #0ff,
      0 0 40px #0ff,
      0 0 80px #0ff,
      0 0 120px #0ff,
      0 0 160px #0ff;
  }
  15% {
    transform: translate(-2px, 2px);
  }
  30% {
    transform: translate(-2px, -2px);
  }
  45% {
    transform: translate(2px, 2px);
  }
  60% {
    transform: translate(2px, -2px);
  }
  75% {
    transform: translate(-1px, 1px);
  }
  90% {
    transform: translate(1px, -1px);
  }
}

/* کلاس اصلی برای اعمال تمام افکت‌ها */
.text-shake-glow {
  color: #0ff; /* رنگ آبی نئون */
  animation:
    glitchText 3s ease-in-out infinite,
    glowPulse 2.5s ease-in-out infinite,
    shake 0.7s ease-in-out infinite;
  will-change: transform, text-shadow;
  font-weight: bold;
}

/* اختیاری: انیمیشن‌های پس‌زمینه */
@keyframes distort-1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-2px, 0); }
}

@keyframes distort-2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(2px, 0); }
}

/* برای فعال‌سازی بعد از تایپ */
.neon-finish {
  animation-play-state: running !important;
}

/* واکنش‌گرا مخصوص موبایل */
@media (max-width: 576px) {
  .header__title-1,
  .header__title-2 {
    font-size: 10vw !important;

  }
    .menu ul {
        flex-direction: column; /* تغییر به ستونی ولی به ترتیب اصلی */
    }

    /* مطمئن شو order وجود نداره یا درست تنظیم شده */
    .menu li {
        order: 0; /* همه در حالت طبیعی */
    }
}

/* برای گوشی‌های خیلی کوچک */
@media (max-width: 420px) {
  .header__title-1,
  .header__title-2 {
    font-size: 9vw;
  }
}

/* برای تبلت عمودی */
@media (min-width: 421px) and (max-width: 768px) {
  .header__title-1,
  .header__title-2 {
    font-size: 8vw;
  }
}

/* برای تبلت افقی */
@media (min-width: 769px) and (max-width: 1024px) {
  .header__title-1,
  .header__title-2 {
    font-size: 6.5vw;
  }
}















.header__resume{
    display: inline-flex;
    border-radius: 7px;
    text-decoration: none;
    background-color: #37AE7C;
    padding: 1.2rem 1.5rem;
    font-weight: 700;
    color: white;
    margin-top: 5rem;
    position: relative;
}
.header__resume:hover::before{
    width: 80%;
    height: 80%;
}
.header__resume::before{
    content: '';
    background-color: #00FF94;
    width: 120%;
    height: 120%;
    display: block;
    position: absolute;
    transition: all .15s ease-in-out;
    top: 50%;
    left: 50%;
    z-index: -1;
    filter: blur(30px);
    transform: translate(-50%, -50%);
}





.about-me {
    margin-top: 4rem;
    background-color: rgba(24, 24, 24, 0.95); /* 👈 رنگ پس‌زمینه با شفافیت کمتر */
    padding: 3rem;
    border: 2px dashed #00FF94;
    border-radius: 10px;
    font-family: 'IBM Plex Mono', monospace;
    color: #e0e0e0;
    animation: fadeIn 1s ease-in-out;
    position: relative; /* برای اطمینان از اینکه متن روی بکگراند شناور میمونه */
    z-index: 1; /* متن روی بکگراند شناور */
}


.about-me__intro,
.about-me__skills,
.about-me__philosophy {
    font-size: 1.5rem;
    line-height: 2.2rem;
}

.green-text {
    color: #00FF94;
    font-weight: bold;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
}

.gallery__item {
    width: 400px;
    height: 450px;
    border: 2px dashed #00FF94;
    border-radius: 10px;
    overflow: hidden;
    background-color: #181818;
    box-shadow: 0 0 20px rgba(0,255,148,0.2);
    transition: transform 0.3s ease-in-out;
    box-sizing: border-box;
	margin-bottom: 20px;
}

.gallery__item:hover {
    transform: scale(1.05);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%) contrast(110%);
}

/* فقط برای موبایل */
@media (max-width: 768px) {
    .gallery {
        padding: 0 10px; /* برای اینکه نچسبه به لبه صفحه */
        gap: 1rem;       /* فاصله کمتر */
    }

    .gallery__item {
        width: 100%;     /* پر کنه کل عرض صفحه */
        height: auto;    /* ارتفاع متناسب با تصویر */
        max-width: 100%; /* از صفحه بزرگ‌تر نشه */
    }
}
html, body {
    overflow-x: hidden; /* جلوگیری از اسکرول افقی */
}



.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 10rem;
}

.service-card__box {
    flex: 1 1 280px; /* حداقل 280px و حداکثر فضا تقسیم میشه */
    max-width: 350px; /* حداکثر عرض کارت */
    border: 2px solid #00372b;
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    text-align: right;
    direction: rtl;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.service-card__illustration {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

    .service-card__illustration img {
        width: 100%;
        max-width: 250px;
        height: auto;
        pointer-events: none;
    }

/* عنوان کارت */
.service-card__title {
    font-weight: 800;
    font-size: clamp(1.6rem, 2vw, 2rem); /* اندازه منعطف بین موبایل و دسکتاپ */
    color: #00FF94;
    margin-top: 1rem;
    text-align: center;
}

/* متن کارت */
.service-card__msg {
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.4rem); /* اندازه متن قابل تغییر با صفحه */
    line-height: 1.6;
    text-align: center;
    padding-top:15px;
}

/* پس‌زمینه دایره‌ای */
.service-card__bg {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #00FF94;
    top: 0;
    left: 0;
    z-index: -1;
    filter: blur(30px);
    transform: translate(-50%, -50%);
}

/* حالت تبلت و صفحه متوسط */
@media (max-width: 1024px) {
    .service-card__box {
        flex: 1 1 45%; /* دو کارت در یک ردیف */
    }
}

/* حالت موبایل */
@media (max-width: 768px) {
    .service-card__box {
        flex: 1 1 90%; /* کارت‌ها یک‌ستونه و وسط‌چین */
    }

    .service-card__illustration img {
        width: 90%; /* عکس بزرگ و واضح روی موبایل */
        max-width: 400px; /* حداکثر اندازه مناسب موبایل */
        height: auto;
    }
}

/* حالت دسکتاپ */
@media (min-width: 769px) {
    .service-card__illustration img {
        width: 100%; /* عکس کل کارت را پر کند */
        max-width: 250px; /* اما بزرگتر از 250px نشود */
        height: auto;
    }
}




.work {
    flex: 1 1 280px; /* حداقل 280px و حداکثر فضا تقسیم میشه */
    max-width: 350px; /* حداکثر عرض کارت */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.work__box {
    width: 100%;
    border-radius: 15px;
    padding: 1.5rem;
    background-color: #1b1625;
    display: flex;
    flex-direction: column;
}

.work__img-box {
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

    .work__img-box img {
        width: 100%;
        max-width: 250px;
        height: auto;
        object-fit: cover; /* همه عکس‌ها یک اندازه و متناسب باشند */
    }

/* عنوان کارت */
.work__title {
    font-weight: 700;
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    color: #fff;
    text-align: center;
    margin-top: 1rem;
}

/* لیست تگ‌ها / بدج‌ها */
.work__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.work__badge {
    background-color: #59ffb91c;
    border-radius: 10px;
    font-weight: 700;
    padding: 0.7rem 1rem;
    color: #59ffb9;
    text-align: right;
    direction: rtl;
    font-size: 1.2rem;
}

/* حالت تبلت و صفحه متوسط */
@media (max-width: 992px) {
    .work {
        flex: 1 1 45%; /* دو کارت در یک ردیف */
    }
}

/* حالت موبایل */
@media (max-width: 600px) {
    .work {
        flex: 1 1 90%; /* کارت‌ها یک‌ستونه و وسط‌چین */
        max-width: 90%;
    }

    .work__img-box img {
        width: 90%; /* عکس بزرگ و واضح روی موبایل */
        max-width: 400px; /* حداکثر اندازه مناسب موبایل */
        height: auto;
    }
}

/* حالت دسکتاپ */
@media (min-width: 601px) {
    .work__img-box img {
        width: 100%; /* عکس کل کارت را پر کند */
        max-width: 250px; /* اما بزرگتر از 250px نشود */
        height: auto;
    }
}


/*
 * ==================
 * WorkSamples
 * ==================
 */
/* ساختار شبکه کارت ها */
.works {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 10rem;
    padding: 0 2rem;
}

.works-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* وسط چین کردن کارت‌ها */
    gap: 2.5rem;
    text-align: center; /* متن داخل کارت‌ها وسط چین */
}
/* کارت نمونه کار */

.work-card {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00FF94;
    border-radius: 15px;
    padding: 1.5rem;
    width: 280px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin: 0 auto; /* وسط چین کارت‌ها به خصوص در موبایل */
}

    .work-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 15px #00FF94;
    }

.work-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.work-tiitle {
    font-size: 2rem;
    color: #00FF94;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: 'Shabnam', sans-serif;
}
/* قیمت عادی */

.work-price {
    margin-top: 10px;
    font-weight: bold;
    color: #a0f5c6;
    font-size: 1.3rem;
    font-family: 'Shabnam', sans-serif;
    transition: all 0.3s ease;
}
/* بزرگ شدن قیمت هنگام هاور موس */

.work-card:hover .work-price {
    font-size: 1.6rem;
    font-weight: 900;
    color: #00FF94;
}
/* بزرگ شدن قیمت در موبایل وقتی کلاس active روی کارت باشه */

@media (max-width: 768px) {
    .work-card.active .work-price {
        font-size: 1.6rem;
        font-weight: 900;
        color: #00FF94;
    }
}
/* دکمه های فیلتر */
.no-results {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    border: 2px dashed #00FF94;
    border-radius: 15px;
    background: rgba(0, 255, 148, 0.05);
    color: #00FF94;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Shabnam', sans-serif;
    animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* دکمه‌های فیلتر */
.filter-buttons {
    display: flex;
    justify-content: center; /* وسط چین */
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: nowrap;
}

.btn-filter {
    background: transparent;
    border: 2px solid #00FF94;
    color: #00FF94;
    font-size: 1.4rem; /* کمی بزرگ‌تر از قبل */
    padding: 8px 20px; /* ارتفاع و عرض مناسب‌تر */
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-family: 'Shabnam', sans-serif;
    flex: 0 0 auto; /* عرض کشیده نشه */
    min-width: 100px; /* حداقل عرض */
    max-width: 200px; /* حداکثر عرض */
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .btn-filter:hover {
        background-color: #00FF94;
        color: #111;
    }

    .btn-filter.active {
        background-color: #00FF94;
        color: #111;
    }

/* برای موبایل */
@media (max-width: 768px) {
    .btn-filter {
        font-size: 1.2rem;
        padding: 6px 15px;
        min-width: 90px;
        max-width: 160px;
    }
}



/* متن تماس */
.contact-message {
    position: relative;
    display: inline-block; /* اندازه متن محدود */
    color: #fff;
    font-size: 2rem;
    padding: 15px 30px;
    margin-top: 50px;
    text-align: center;
    z-index: 1;
    border-radius: 15px;
    margin-left: auto; /* وسط چین */
    margin-right: auto; /* وسط چین */
}

    /* نور اطراف متن تماس */
    .contact-message::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 120%;
        height: 140%;
        background: rgba(255, 255, 255, 0.15);
        filter: blur(15px);
        transform: translate(-50%, -50%);
        border-radius: 15px;
        z-index: -1;
    }

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .work-card {
        width: 90%;
        margin: 1rem auto; /* فاصله بالا و پایین هم بذار وسط چین */
    }

   

    /* وسط چین کردن متن تماس در موبایل */
    .contact-message {
        font-size: 1.7rem;
        padding: 10px 20px;
    }
}

/* حالت تبلت: دو تا کارت کنار هم، همون اندازه موبایل */
@media (max-width: 1024px) and (min-width: 769px) {
    .works-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .work-card {
        width: 45%; /* دو تا کارت کنار هم */
        margin: 0 auto;
    }
}

/* حالت موبایل: یک کارت وسط چین */
@media (max-width: 768px) {
    .works-grid {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .work-card {
        width: 90%; /* بزرگ مثل تبلت */
        margin: 0 auto;
    }
}


/*
 * ==================
 * Contact
 * ==================
 */
.contact {
    display: flex;
    width: 100%;
    margin-top: 10rem;
    justify-content: space-between;
    padding-bottom: 5rem;
}
.contact__form{
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}
.contact__illustration{
    display: none;
}

.contact__field-wrapper label{
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: .8rem;
    display: inline-flex;
}
.contact__field-wrapper input[type="text"],
.contact__field-wrapper textarea{
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    border-radius: 5px;
    background-color: transparent;
    outline: none;
    display: block;
    width: 100%;
}
.contact__field-wrapper input[type="text"]:focus,
.contact__field-wrapper textarea:focus,
.contact__field-wrapper input[type="text"]:hover,
.contact__field-wrapper textarea:hover{
    border-style: solid;
}
.contact__field-wrapper input[type="text"]{
    padding: 1.5rem;
    border: 2px dashed #64fcd9;
}
.contact__field-wrapper textarea{
    padding: 1rem;
    border: 2px dashed #64fcd9;
    resize: none;
    height: 150px;
    line-height: 1.6;
}
.contact__illustration{
    position: relative;
}
.contact__illustration img{
    pointer-events: none;
    width: 100%;
}
.contact__illustration::before{
    content: '';
    position: absolute;
    width: 95%;
    height: 95%;
    border-radius: 50%;
    background-color: #64fcd9;
    display: block;
    z-index: -1;
    filter: blur(150px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.contact__submit-btn {
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    padding: 2rem 2rem;
    border-radius: 7px;
    font-weight: 700;
    font-family: inherit;
    font-size: 1.6rem;
    background-color: #64fcd9;
    width: 100%;
    position: relative;
    color: #111;
    margin-top: 29px;
}
.contact__submit-btn:hover::before{
    transform: scale(0.3);
}
.contact__submit-btn::before{
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: #64fcd9;
    filter: blur(150px);
    left: 0;
    top: 0;
    z-index: -1;
    transform-origin: center;
    transition: all .35s ease-in-out;
}
/* پیام موفقیت */
.contact__success-message {
    color: #d3d3d9;
    background-color: transparent;
    border: 1px solid #ff5555;
    padding: 14px 24px;
    margin: 20px auto;
    width: fit-content;
    max-width: 90%;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.5rem; /* اندازه فونت بزرگ‌تر شد */
    user-select: none;
    box-shadow: 0 0 10px #ff555577;
    font-family: 'Shabnam', sans-serif;
    line-height: 2;
}
.validation-error-summary {
    color: #d3d3d9;
    background-color: transparent;
    border: 1px solid #ff5555;
    padding: 14px 24px;
    margin: 20px auto;
    width: fit-content;
    max-width: 90%;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.5rem; /* اندازه فونت بزرگ‌تر شد */
    user-select: none;
    box-shadow: 0 0 10px #ff555577;
    font-family: 'Shabnam', sans-serif;
    line-height: 2;
}

.validation-error-single {
    color: #d3d3d9;
    background-color: transparent;
    border: 1px solid #ff5555;
    padding: 14px 24px;
    margin: 20px auto;
    width: fit-content;
    max-width: 90%;
    text-align: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.5rem;
    user-select: none;
    box-shadow: 0 0 10px #ff555577;
    font-family: 'Shabnam', sans-serif;
    line-height: 2;
    opacity: 1;
}






.footer {
    padding: 4rem 2rem 2rem;
    color: #e0e0e0;
    border-top: 2px dashed #00FF94;
    margin-top: 6rem;
    font-family: 'Shabnam', monospace;
    direction: rtl;
}

.footer__wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3rem;
}

.footer__info {
    max-width: 500px;
    flex: 1;
}

.footer__details {
    list-style: none;
    font-size: 1.8rem;
    line-height: 2.2rem;
    font-family: 'Shabnam', monospace;
}

.footer__details a {
    color: #64fcd9;
    text-decoration: none;
}

.footer__details a:hover {
    text-decoration: underline;
}

.footer__social {
    flex: 1;
    position: relative; /* برای کنترل موقعیت متن در حالت بینابینی */
}

/* ==========================
   عنوان راه های ارتباطی
========================== */
.footer__title {
    font-size: 2.2rem;
    color: #00FF94;
    font-weight: 700;
    margin-bottom: 2rem;
    display: none; /* پیش‌فرض مخفی */
}

.footer__icons {
    display: flex;
    justify-content: flex-end;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-bottom:15px;
}

.footer__icons a {
    color: #00FF94;
    font-size: 2.4rem;
    transition: all 0.3s ease-in-out;
}

.footer__icons a:hover {
    color: #59FFB9;
    transform: scale(1.2);
}

.footer__copy {
    margin-top: 2rem;
    text-align: center;
    font-size: 1.3rem;
    color: #888;
}

/* ==========================
   متن موبایل
========================== */
.footer__desc {
    display: none;
    color: #ccc;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer__desc.show {
    display: block;
}

/* ==========================
   ریسپانسیو موبایل (<768px)
========================== */
@media (max-width: 767px) {
    .footer__wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__info,
    .footer__social {
        width: 100%;
        text-align: center;
    }

    .footer__icons {
        justify-content: center;
    }

    .footer__title {
        display: block; /* موبایل نمایش داده شود */
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .footer__title {
        display: none;
    }
}

/* دسکتاپ واقعی (>=1024px) */
@media (min-width: 1024px) {
    .footer__title {
        display: block;
        position: static;
        margin-bottom: 2rem;
        font-size: 2.2rem;
    }
}

/*
 * ========================
 * Small Screen -- 576px
 * ========================
 */
@media only screen and (min-width: 36em) {
    .container {
        max-width: 540px;
    }

    /* Header */
    .header__right{
        display: block;
        opacity: 0.3;
    }
    .header__title{
        flex-direction: row;
    }
    .header__title-1{
        margin-right: 1.5rem;
    }

    /* Works */
    .work{
        width: 50%;
    }
}



@font-face {
    font-family: 'VazirHack';
    src: url('https://cdn.fontcdn.ir/Font/Persian/Vazir/Vazir.woff2') format('woff2');
}

.header__title-1 {
    font-family: 'VazirHack', monospace;
    font-size: 3rem;
    font-weight: bold;
    color: #00ff95; /* سبز هکری */
    direction: rtl;
    white-space: nowrap;
}

.dud {
    color: #ff004c; /* قرمز هکری */
    opacity: 0.5;
}

/*
 * ========================
 * Medium Screen -- 768px
 * ========================
 */



/*
 * ========================
 * Large Screen -- 992px
 * ========================
 */
@media only screen and (min-width: 62em) {
    .container {
        max-width: 960px;
    }
    .section__title{
        font-size: 8rem;
    }
    .work{
        width: 33.33333333333333%;
    }
    .contact__form{
        width: 40%;
        margin-left: unset;
    }
    .contact__illustration{
        width: 60%;
        display: flex;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
}

/*
 * ======================================
 * Large Screen Extended -- 1000px
 * ======================================
 */
@media only screen and (min-width: 62.5em) {
    .header__right{
        width: 500px;
        opacity: 1;
        top: 35px;
    }
}

/*
 * ========================
 * XLarge Screen -- 1200px
 * ========================
 */
@media only screen and (min-width: 75em) {
    .container {
        max-width: 1140px;
    }
    .header__title{
        font-size: 8rem;
    }
    .section{
        margin-bottom: 13rem;
    }
}

/*
 * ========================
 * XXLarge Screen -- 1400px
 * ========================
 */
@media only screen and (min-width: 87.5em) {
    .container {
        max-width: 1320px;
    }
}
/*
 * ========================
 * حالت موبال -- 1400px
 * ========================
 */


@media (max-width: 768px) {
    .header__right {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

        .header__right img {
            max-width: 100%;
            height: auto;
        }
}






/*
 * ========================
 * login  -- 1400px
 * ========================
 */
.login {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 8rem;
    justify-content: space-between;
    padding-bottom: 5rem;
    align-items: center;
}

.login__form {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.login__input-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

    .login__input-row .login__field-wrapper {
        flex: 1;
        min-width: 200px;
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
    }

.login__field-wrapper label {
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: .8rem;
    display: inline-flex;
    color: white;
}

.login__field-wrapper input[type="text"],
.login__field-wrapper input[type="password"] {
    font-size: 1.6rem;
    font-weight: 600;
    color: white;
    border-radius: 5px;
    background-color: transparent;
    border: 2px dashed #64fcd9;
    outline: none;
    padding: 1.5rem;
    width: 100%;
}

    .login__field-wrapper input[type="text"]:focus,
    .login__field-wrapper input[type="password"]:focus,
    .login__field-wrapper input[type="text"]:hover,
    .login__field-wrapper input[type="password"]:hover {
        border-style: solid;
    }

.login__submit-btn {
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    padding: 1.6rem 2rem;
    border-radius: 7px;
    font-weight: 700;
    font-family: inherit;
    font-size: 1.6rem;
    background-color: #64fcd9;
    width: 100%;
    position: relative;
    color: #111;
    margin-top: 1rem;
}

    .login__submit-btn:hover::before {
        transform: scale(0.3);
    }

    .login__submit-btn::before {
        content: '';
        position: absolute;
        width: 80%;
        height: 80%;
        background-color: #64fcd9;
        filter: blur(150px);
        left: 0;
        top: 0;
        z-index: -1;
        transform-origin: center;
        transition: all .35s ease-in-out;
    }

/* اصلاح‌شده برای نور تصویر */
.login__illustration {
    display: none;
    max-width: 100%;
    flex: 1;
    padding: 2rem;
    text-align: center;
    position: relative; /* ⬅ اضافه شد */
    z-index: 1;
}

    .login__illustration img {
        width: 100%;
        max-width: 350px;
        pointer-events: none;
        position: relative;
        z-index: 2;
    }

    .login__illustration::before {
        content: '';
        position: absolute;
        width: 95%;
        height: 95%;
        border-radius: 50%;
        background-color: #64fcd9;
        display: block;
        z-index: 0;
        filter: blur(150px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

/* نمایش تصویر فقط در دسکتاپ */
@media (min-width: 992px) {
    .login__illustration {
        display: block;
    }
}

.login__message-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    border: 1px solid #f5c6cb;
    text-align: center;
}

/* ------------------- Responsive ------------------- */
@media (max-width: 767px) {
    .login {
        flex-direction: column;
    }

    .login__input-row {
        flex-direction: column;
    }

    .login__form {
        padding: 0 2rem;
    }

    .login__submit-btn {
        font-size: 1.4rem;
    }
}






/* فونت شبنم */
@font-face {
    font-family: 'Shabnam';
    src: url('/assets/Font/Shabnam-Bold-FD.ttf') format('woff2'), url('/assets/Font/Shabnam-Bold-FD.ttf') format('woff'), url('/assets/Font/Shabnam-Bold-FD.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.blogs {
    margin-top: 8rem;
    padding: 0 2rem;
    font-family: 'Shabnam', sans-serif;
}

.section__title {
    text-align: center;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    color: #00FF94;
    margin-bottom: 3rem;
    position: relative;
    margin-top: 3rem;
}

.blogs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

/* فرم مقاله */
.blog {
    flex: 1 1 320px;
    max-width: 380px;
    background-color: #26222d;
    border: 2px solid #00372b;
    border-radius: 15px;
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .blog:hover {
        transform: translateY(-7px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    }

/* لینک کل کارت */
.blog__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}

/* عکس مقاله */
.blog__img-box {
    width: 100%;
    display: flex;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
}

.blog__img {
    width: 100%;
    max-height: 410px;
    object-fit: cover;
    border-radius: 18px;
}

/* عنوان */
.blog__title {
    font-size: clamp(1.6rem, 2vw, 2rem);
    font-weight: 800;
    color: #00FF94;
    margin: 1.2rem 0 0.8rem;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}

.blog__excerpt {
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    line-height: 1.8;
    color: #ddd;
    text-align: center;
    margin: 0 1rem;
    min-height: 15px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    max-width: 100%;
}




/* خط زیر متن */
/*.blog__line {
    display: block;
    width: 110%;
    height: 2px;
    background: #00FF94;
    margin: 1.2rem 0;
    border-radius: 2px;
    opacity: 0.6;
}*/

/* تاریخ */
.blog__date {
    font-size: 1.2rem;
    color: #aaa;
    text-align: right;
    width: 95%;
    direction: rtl;
    padding-top: 14px;
}

/* تبلت */
@media (max-width: 1024px) {
    .blog {
        flex: 1 1 45%;
    }

}

/* موبایل */
@media (max-width: 768px) {
    .blog {
        flex: 1 1 90%;
    }

    
}

.blog__footer {
    margin-top: 1rem;
    text-align: center;
}

.blog__readmore {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    background: #59FFB9;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .blog__readmore:hover {
        background: #00cc88;
        color: #fff;
    }


/*    داخل بلاگ
*/
.blog-detail {
    max-width: 900px;
    margin: 5rem auto;
    padding: 2.5rem 2rem;
    background: rgba(28, 24, 48, 0.85); /* گرادیانت تیره و هماهنگ */
    border-radius: 25px;
    color: #fff;
    font-family: 'Shabnam', sans-serif;
    line-height: 1.8;
    font-size: 1.5rem;
    box-shadow: 0 0 40px 10px rgba(0, 180, 255, 0.4); /* سایه هماهنگ */
    overflow: hidden;
    margin-top: 110px;
}

.blog-detail__header {
    text-align: center;
    margin-bottom: 2rem;
    word-wrap: break-word;
}

.blog-detail__title {
    font-size: 2.6rem;
    font-weight: 900;
    background: linear-gradient(90deg, #59FFB9, #00cc88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    word-break: break-word;
    margin-bottom: 0.5rem;
}

.blog-detail__date {
    font-size: 1.2rem;
    color: #aaa;
}

.blog-detail__img-box {
    text-align: center;
    margin: 2rem 0;
}

.blog-detail__img {
    width: 100%;
    max-width: 750px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5); /* سایه برای عکس */
}

.blog-detail__content {
    position: relative; /* برای pseudo-element */
    text-align: right;
    padding: 2rem;
    border-radius: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
    margin-bottom: 2.5rem;
    font-size: 1.5rem;
    color: #f5f5f5;
    z-index: 1; /* مطمئن می‌شه محتوا روی لایه باشه */
}

    /* لایه پوششی که جلوی بک‌گراند میاد */
    .blog-detail__content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(43, 34, 51, 0.85); /* رنگ با کمی شفافیت */
        border-radius: 20px;
        z-index: -1; /* پشت محتوا قرار می‌گیره */
        box-shadow: inset 0 0 20px rgba(0,180,255,0.2);
    }



    .blog-detail__content p {
        margin-bottom: 1.2rem;
    }

.blog-detail__back {
    text-align: center;
    margin-top: 3rem;
}

.btn-back {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 12px;
    background: #00cc88;
    color: #1a1a1a;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 204, 136, 0.5); /* هماهنگ با سایه فرم */
}

    .btn-back:hover {
        background: #59FFB9;
        color: #1a1a1a;
        transform: translateY(-2px);
    }

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .blog-detail {
        padding: 2rem 1.5rem;
        font-size: 1.4rem;
    }

    .blog-detail__title {
        font-size: 2.2rem;
    }

    .blog-detail__img {
        max-width: 100%;
    }

    .blog-detail__content {
        font-size: 1.3rem;
        padding: 1.5rem;
    }
}


.blog-detail__tags {
    margin: 1.2rem 0;
    padding: 0.5rem 1rem;
    background: rgba(28, 24, 48, 0.35);
    border-radius: 12px;
    direction: rtl;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: 'Shabnam', sans-serif;
}

.blog-detail__tags-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ff94;
    margin-bottom: 0.5rem;
    text-align: right;
}

.blog-detail__tag {
    display: inline-block; /* 👈 همه تگ‌ها کنار هم */
    margin-left: 4px; /* 👈 فاصله واقعی بین تگ‌ها */
    font-size: 1.1rem;
    font-weight: 500;
    color: #59FFB9;
    text-decoration: none;
    font-family: 'Shabnam', sans-serif;
    position: relative;
}

    .blog-detail__tag::after {
        position: absolute;
        left: -8px; /* 👈 جابجایی برای اینکه نچسبه */
        color: rgba(255, 255, 255, 0.3);
    }

    .blog-detail__tag:last-child::after {
        content: ""; /* 👈 آخرین تگ جداکننده نداشته باشه */
    }

    .blog-detail__tag:hover {
        color: #fff;
    }

/* استایل کلی برای لیست صفحه‌بندی */
.custom-pagination-style-1 {
    margin-top: 30px;
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
}

    /* آیتم‌های صفحه */
    .custom-pagination-style-1 .page-item {
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    /* لینک‌های صفحه */
    .custom-pagination-style-1 .page-link {
        display: block;
        padding: 8px 14px;
        color: #444;
        font-size: 15px;
        font-weight: 500;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 8px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        /* هاور شدن */
        .custom-pagination-style-1 .page-link:hover {
            background: #f5f5f5;
            color: #007bff;
            border-color: #007bff;
        }

    /* صفحه فعال */
    .custom-pagination-style-1 .active .page-link {
        background: #007bff;
        color: #fff !important;
        border-color: #007bff;
        cursor: default;
    }

/* ریسپانسیو برای موبایل */
@media (max-width: 576px) {
    .custom-pagination-style-1 .page-link {
        padding: 6px 10px;
        font-size: 14px;
    }
}

/*
 *
 * Animations
 *
 */
@keyframes distort-1{
    0% {
        clip: rect(57px, 9999px, 46px, 0);
    }
    5% {
        clip: rect(15px, 9999px, 56px, 0);
    }
    10% {
        clip: rect(6px, 9999px, 70px, 0);
    }
    15% {
        clip: rect(40px, 9999px, 80px, 0);
    }
    20% {
        clip: rect(32px, 9999px, 44px, 0);
    }
    25% {
        clip: rect(65px, 9999px, 85px, 0);
    }
    30% {
        clip: rect(27px, 9999px, 78px, 0);
    }
    35% {
        clip: rect(59px, 9999px, 93px, 0);
    }
    40% {
        clip: rect(44px, 9999px, 77px, 0);
    }
    45% {
        clip: rect(74px, 9999px, 10px, 0);
    }
    50% {
        clip: rect(73px, 9999px, 42px, 0);
    }
    55% {
        clip: rect(32px, 9999px, 58px, 0);
    }
    60% {
        clip: rect(21px, 9999px, 54px, 0);
    }
    65% {
        clip: rect(71px, 9999px, 11px, 0);
    }
    70% {
        clip: rect(85px, 9999px, 25px, 0);
    }
    75% {
        clip: rect(83px, 9999px, 77px, 0);
    }
    80% {
        clip: rect(62px, 9999px, 52px, 0);
    }
    85% {
        clip: rect(68px, 9999px, 84px, 0);
    }
    90% {
        clip: rect(37px, 9999px, 20px, 0);
    }
    95% {
        clip: rect(10px, 9999px, 15px, 0);
    }
    100% {
        clip: rect(83px, 9999px, 28px, 0);
    }
}
@keyframes distort-2 {
    0% {
        clip: rect(20px, 9999px, 96px, 0);
    }
    5% {
        clip: rect(62px, 9999px, 2px, 0);
    }
    10% {
        clip: rect(63px, 9999px, 39px, 0);
    }
    15% {
        clip: rect(92px, 9999px, 75px, 0);
    }
    20% {
        clip: rect(54px, 9999px, 2px, 0);
    }
    25% {
        clip: rect(22px, 9999px, 96px, 0);
    }
    30% {
        clip: rect(39px, 9999px, 98px, 0);
    }
    35% {
        clip: rect(49px, 9999px, 37px, 0);
    }
    40% {
        clip: rect(90px, 9999px, 17px, 0);
    }
    45% {
        clip: rect(36px, 9999px, 57px, 0);
    }
    50% {
        clip: rect(92px, 9999px, 78px, 0);
    }
    55% {
        clip: rect(97px, 9999px, 65px, 0);
    }
    60% {
        clip: rect(69px, 9999px, 30px, 0);
    }
    65% {
        clip: rect(92px, 9999px, 13px, 0);
    }
    70% {
        clip: rect(74px, 9999px, 76px, 0);
    }
    75% {
        clip: rect(2px, 9999px, 45px, 0);
    }
    80% {
        clip: rect(30px, 9999px, 21px, 0);
    }
    85% {
        clip: rect(58px, 9999px, 34px, 0);
    }
    90% {
        clip: rect(79px, 9999px, 27px, 0);
    }
    95% {
        clip: rect(32px, 9999px, 1px, 0);
    }
    100% {
        clip: rect(87px, 9999px, 63px, 0);
    }
}
