﻿
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
    font-family: 'Iranian Sans', sans-serif;
    
}

* {
    box-sizing: border-box;
}

@import url('https://fonts.cdnfonts.com/css/iranian-sans');

body {
    font-family: 'Iranian Sans', sans-serif;
}




/*هدر سایت */
/* ====== حباب‌ها ====== */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.bubble {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #87cefa, #8a2be2);
    opacity: 0.5;
    animation: float 25s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0) scale(0.5);
        opacity: 0.4;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-100vh) translateX(50px) scale(1);
        opacity: 0;
    }
}

/* ====== هدر ====== */
header {
    position: relative;
    z-index: 1000;
    background: linear-gradient(135deg,#ffffff,#195ca3);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    overflow: visible;
}

/* لوگو */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
    opacity: 0;
    transform: translateY(-50px);
    animation: slideDown 0.8s forwards;
}

    .logo img {
        height: 50px;
    }

    .logo h1 {
        font-size: 1.2rem;
        font-weight: bold;
        color: #fff;
    }

/* منو اصلی */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 100;
}

    nav ul {
        list-style: none;
        display: flex;
        gap: 20px;
        position: relative;
    }

        nav ul li {
            position: relative;
            opacity: 0;
            transform: translateY(50px);
        }

            nav ul li a {
                color: #1e3c72;
                text-decoration: none;
                padding: 5px 10px;
                display: block;
                transition: 0.3s;
                font-weight: bold;
            }

                nav ul li a:hover {
                    color: #00ccff;
                }

            /* ====== مگامنو اصلاح شده ====== */
            nav ul li ul.mega-menu {
                display: none;
                position: absolute;
                top: 100%; /* دقیقا زیر لینک والد */
                right: 0;
                background: linear-gradient(135deg,#e0f0ff,#c0d6ff);
                border-radius: 12px;
                min-width: 250px;
                box-shadow: 0 10px 30px rgba(0,0,0,0.3);
                padding: 10px 0;
                opacity: 0;
                transform: translateY(-10px);
                pointer-events: none;
                transition: all 0.3s ease;
                z-index: 1000;
            }

                nav ul li ul.mega-menu li {
                    display: block; /* مهم برای نمایش درست آیتم‌ها */
                }

                    nav ul li ul.mega-menu li a {
                        display: block;
                        padding: 10px 20px;
                        color: #1e3c72;
                        font-weight: bold;
                        transition: 0.3s;
                    }

                        nav ul li ul.mega-menu li a:hover {
                            background: linear-gradient(120deg,#1e3c72,#8a2be2);
                            color: #fff;
                            transform: translateX(5px);
                        }

            nav ul li.show > ul.mega-menu {
                display: block; /* نمایش درست */
                opacity: 1;
                transform: translateY(0);
                pointer-events: auto;
            }

/* header-right */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

    .header-right .btn {
        background: linear-gradient(135deg,#75d3ff,#8a2be2);
        padding: 10px 18px;
        border: none;
        border-radius: 8px;
        color: #fff;
        cursor: pointer;
        font-weight: bold;
        opacity: 0;
        transform: translateX(-50px);
        animation: slideLeft 0.8s forwards;
    }

        .header-right .btn:hover {
            transform: translateY(-2px);
        }

    .header-right .social-icons {
        display: flex;
        gap: 10px;
        opacity: 0;
        transform: translateX(50px);
        animation: slideRight 0.8s forwards;
    }

        .header-right .social-icons a {
            color: #00aaff;
            font-size: 1.2rem;
            transition: 0.3s;
        }

            .header-right .social-icons a:hover {
                color: #0077cc;
                transform: translateY(-2px);
            }

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1100;
}

/* انیمیشن ها */
@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width:1024px) {
    .logo span {
        display: none;
    }
}

@media (max-width:768px) {
    nav, .header-right {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .logo span {
        display: flex;
    }
}

/* منوی موبایل */
.mobile-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(135deg,#1e3c72,#ffffff);
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    padding: 25px;
    border-radius: 0 0 0 20px;
    box-shadow: 0 8px 35px rgba(0,0,0,0.5);
    transition: 0.5s ease;
    z-index: 1050;
    overflow-y: auto;
}

    .mobile-menu.show {
        right: 0;
    }

.mobile-close {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-size: 1.8rem;
    color: #fff;
    padding-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}

    .mobile-close:hover {
        color: #ff5722;
        transform: scale(1.1);
    }

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    transition: 0.3s;
}

    .mobile-menu a i {
        min-width: 20px;
        text-align: center;
        transition: 0.3s;
    }

    .mobile-menu a:hover i {
        transform: translateX(-5px);
        color: #00ffcc;
    }

    .mobile-menu a:hover {
        color: #00ffcc;
        transform: translateX(-5px);
        text-shadow: 0 0 5px rgba(0,255,204,0.8);
    }

.mobile-item {
    position: relative;
}

    .mobile-item .submenu {
        display: none;
        flex-direction: column;
        padding-right: 20px;
        background: rgba(255,255,255,0.05);
    }

        .mobile-item .submenu a {
            border: none;
            padding: 12px 0;
        }

.mobile-contact {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 12px;
}

    .mobile-contact a {
        font-size: 1.5rem;
        padding: 10px;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(255,255,255,0.2);
        transition: 0.3s;
    }

        .mobile-contact a:hover {
            background: #00ffcc;
            color: #000;
            transform: scale(1.2);
            box-shadow: 0 0 15px rgba(0,255,204,0.7);
        }











     /*اسلایدر */

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

    .slide.active {
        opacity: 1;
        z-index: 2;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.6) contrast(1.1);
    }

/* افکت نئون و درخشش */
.overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(43, 76, 176, 0.15) 0%, rgba(5, 147, 255, 0.8) 80%);
    overflow: hidden;
    pointer-events: none;
}

.neon-line {
    position: absolute;
    width: 3px;
    height: 130%;
    background: linear-gradient(180deg, transparent, #002fff, transparent);
    animation: moveLine 3s linear infinite;
    opacity: 0.4;
    mix-blend-mode: screen;
    filter: blur(1px);
}

@keyframes moveLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

.neon-line:nth-child(1) {
    left: 15%;
    animation-delay: 0s;
}

.neon-line:nth-child(2) {
    left: 40%;
    animation-delay: 0.5s;
}

.neon-line:nth-child(3) {
    left: 65%;
    animation-delay: 1s;
}

.neon-line:nth-child(4) {
    left: 85%;
    animation-delay: 1.5s;
}

/* پارتیکل‌های نورانی */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #bc0bd3;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 5s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0.2;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* متن روی عکس */
.content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    max-width: 550px;
    z-index: 5;
    animation: fadeIn 1.5s ease forwards;
}

    .content h1 {
        font-size: 3.2rem;
        color: #fff;
        text-shadow: 0 0 25px #9b5cff, 0 0 40px #0048ff;
        margin-bottom: 12px;
    }
    .content span {
        font-size: 3.2rem;
        color: #fff;
        text-shadow: 0 0 25px #9b5cff, 0 0 40px #0048ff;
        margin-bottom: 12px;
    }

    .content p {
        font-size: 1.2rem;
        color: #ddd;
        line-height: 1.7;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* کنترل‌ها */
.controls {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 20;
}

    .controls button {
        background: rgba(255,255,255,0.08);
        border: 1px solid #002a39;
        color: #002a39;
        padding: 10px 25px;
        margin: 0 5px;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(4px);
    }

        .controls button:hover {
            background: #002a39;
            color: #fff;
        }

@media (max-width: 768px) {
    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
    }
}

















/*باکس تجربه و سابقه */

/* بخش کلی wrapper */
.sw-wrap {
    min-height: 3svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 48px);
}

/* سکشن آمار */
.sw-section {
    width: min(100%, 980px);
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: clamp(16px,4vw,32px);
    box-shadow: 0 20px 50px rgba(55, 194, 237, 0.35), inset 0 1px 0 rgba(64, 150, 231, 0.05);
    position: relative;
    overflow: clip;
}

/* هدر کوچک */
.sw-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: clamp(16px, 3vw, 24px);
}

.sw-title {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 700;
    letter-spacing: -0.3px;
}

.sw-spark {
    width: 90px;
    height: 14px;
    border-radius: 999px;
    opacity: .6;
    background: radial-gradient(60px 14px at 20% 50%, rgba(34,197,94,0.25), transparent 70%), rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}

/* گرید کارت‌ها */
.sw-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(12px, 2.4vw, 18px);
}

@media (min-width:640px) {
    .sw-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* کارت */
.sw-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: clamp(14px,3.2vw,18px);
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    transform: translateY(24px) scale(.98);
    opacity: 0;
    transition: transform .8s cubic-bezier(.2,.8,.2,1), opacity .8s ease;
}

    .sw-card.sw-inview {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

/* آیکن */
.sw-icon-wrap {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: inset 0 1px 0 rgba(0, 183, 255, 0.06);
}

/* متن کارت */
.sw-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sw-number {
    font-weight: 800;
    font-size: clamp(22px,4.4vw,36px);
    letter-spacing: -0.5px;
}

.sw-label {
    font-size: clamp(12px,1.8vw,14px);
    color: #a9b3bf;
}

/* خطوط تزئینی */
.sw-beam {
    position: absolute;
    inset: -30%;
    background: conic-gradient(from 180deg at 30% 50%, rgba(34,197,94,0.12), rgba(250,204,21,0.12), transparent 40% 100%);
    filter: blur(60px);
    opacity: .35;
    pointer-events: none;
    transform: rotate(8deg);
}







/*خدمات شرکت*/

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1100px;
}

.card:hover {
    background-color: #a0cde4;
}



.card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

    .card.show {
        opacity: 1;
        transform: translateY(0) scale(1);
        transition: 3.6s ease;
    }

.icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

p {
    font-size: 0.9rem;
    color: #555;
    min-height: 35px;
}

/* انیمیشن تایپ */
.typed-text {
    display: inline-block;
    border-right: 2px solid #4facfe;
    white-space: nowrap;
    overflow: hidden;
}

@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .cards {
        grid-template-columns: 1fr;
    }
}











/*کد عکس موج دار رایگان */

.wave-section {
    position: relative;
    background: url(../img/dd3.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    text-align: center;
    color: #ffffff;
    padding: 140px 20px;
    overflow: hidden;
}

    .wave-section .wave-top {
        position: absolute;
        top: -18px;
        left: 0;
        width: 103%;
        height: 123px;
        color: #f1f1f1;
    }

    .wave-section .wave-bottom {
        position: absolute;
        bottom: -15px;
        left: 0;
        width: 103%;
        height: 123px;
    }

.ww h1, .btn-modern {
    transform: translateX(200px); /* راست به چپ */
    transition: all 3s ease-out;
    position: relative;
    z-index: 2;
}

    h1.show, p.show, .btn-modern.show {
        opacity: 1;
        transform: translateX(0);
    }

h1 {
    font-size: 2.5rem;
    margin: 0 0 20px;
}

.blink {
    display: inline-block;
    animation: blinkColors 1s infinite alternate;
}

@keyframes blinkColors {
    0% {
        color: limegreen;
    }

    100% {
        color: yellow;
    }
}

p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-modern {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #00c853, #b2ff59);
    color: #000;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.5s ease;
}

    .btn-modern:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    p {
        font-size: 1rem;
    }

    .btn-modern {
        padding: 12px 30px;
        font-size: 1rem;
    }
}



/*باکس درباره ما  */

.container {
    max-width: 1010px;
    margin: auto;
}

.intro {
    text-align: center;
    margin-bottom: 30px;
}

    .intro h1 {
        font-size: 2.2rem;
        color: #2f3640;
        margin-bottom: 10px;
        opacity: 0;
        transform: translateY(30px);
        transition: 0.8s ease;
    }

    .intro p {
        font-size: 1rem;
        color: #636e72;
        opacity: 0;
        transform: translateY(30px);
        transition: 0.8s ease 0.2s;
    }

.features-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.features {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

    .feature.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .feature:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.12);
    }

.feature-icon {
    background: #0984e3;
    color: #fff;
    font-size: 1.3rem;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, background 0.3s;
}

.feature:hover .feature-icon {
    transform: scale(1.2);
    background: #74b9ff;
}

.feature-content {
    display: flex;
    flex-direction: column;
}

    .feature-content h3 {
        font-size: 1rem;
        font-weight: 700;
        color: #2d3436;
    }

    .feature-content p {
        font-size: 0.9rem;
        color: #636e72;
        margin-top: 3px;
    }




.image-section img {
    width: 100%;
    max-width: 250px;
    border-radius: 12px;
    object-fit: cover;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

    .image-section img.visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width:1024px) {
    .features-container {
        flex-direction: row;
    }

    .features {
        flex: 2;
    }

    .image-section {
        flex: 1;
        justify-content: flex-start;
    }

        .image-section img {
            max-width: 200px;
            margin-left: 20px;
        }
}

@media (max-width:768px) {
    .features-container {
        flex-direction: column;
        align-items: center;
    }
}








/*باکس نمودار دار*/
.support-box {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    width: 90%;
    max-width: 800px;
    transition: all 0.3s ease-in-out;
    text-align: center; /* همه‌چی وسط */
}

@media (min-width: 768px) {
    .support-box {
        width: 40%;
        height: 70%;
    }
}

.title, .consulting {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center; /* وسط‌چین */
    gap: 8px;
    color: #333;
}

.icon-box {
    background: #f0f8ff;
    padding: 12px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    font-size: 22px;
    color: #007BFF;
    transition: transform 0.3s ease;
}

    .icon-box:hover {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    }

.btn {
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px auto; /* وسط دکمه */
    transition: background 0.3s;
    display: inline-flex; /* وسط قشنگ‌تر */
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

    .btn:hover {
        background: #0056b3;
    }

.divider {
    border-top: 2px solid #007BFF;
    margin: 15px auto;
    width: 80%;
}

/* باکس نمودار سه‌بعدی */
.chart-box {
    background: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    margin-top: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

    .chart-box:hover {
        transform: translateY(-5px);
    }

.projects {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    margin-top: 15px;
    color: #333;
}

    .projects span {
        color: #007BFF;
        font-size: 24px;
    }





/*کد شرایک رایگان*/

:root {
    --box-max: 1050px;
}
/* پهنای بیشتر در دسکتاپ */

.freebox {
    width: min(100%,var(--box-max));
    margin: 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

    .freebox.show {
        opacity: 1;
        transform: translateY(0);
    }

.freebox__head {
    position: relative;
    padding: 18px;
    background: linear-gradient(90deg,#4a90e2 0%,#50c9ce 100%);
    color: #fff;
    text-align: center;
}

    .freebox__head h3 {
        margin: 0;
        font-size: clamp(18px,2.5vw,22px);
        font-weight: 800;
        position: relative;
        display: inline-block;
    }

        .freebox__head h3::before {
            content: "";
            position: absolute;
            left: -1.6em;
            top: 50%;
            transform: translateY(-50%);
            width: 1.1em;
            height: 1.1em;
        }

.freebox__list {
    list-style: none;
    padding: 20px;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.freebox__item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fafbff;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 3px 8px rgba(0,0,0,.05);
    opacity: 0;
    transform: translateY(15px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.freebox__item.show {
    animation: fadeInUp 1s forwards; /* کندتر شد */
}

.freebox__num {
    flex: 0 0 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: linear-gradient(135deg,#4a90e2,#007aff);
}

.freebox__text {
    margin: 0;
    font-size: 15px;
    color: #223;
    line-height: 1.5;
    white-space: pre-wrap;
}

.js-enabled .freebox__text {
    visibility: hidden;
}

.typing-cursor::after {
    content: "|";
    display: inline-block;
    margin-left: 4px;
    animation: blink 1s steps(2, start) infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (min-width:768px) {
    .freebox__list {
        grid-template-columns: 1fr 1fr;
    }
}




/*دکمه*/
/* From Uiverse.io by abrahamcalsin */
.dkmh {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background: #183153;
    font-family: "Montserrat", sans-serif;
    box-shadow: 0px 6px 24px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    cursor: pointer;
    border: none;
}

    .dkmh:after {
        content: " ";
        width: 0%;
        height: 100%;
        background: #01e6ff;
        position: absolute;
        transition: all 0.4s ease-in-out;
        right: 0;
    }

    .dkmh:hover::after {
        right: auto;
        left: 0;
        width: 100%;
    }

    .dkmh span {
        text-align: center;
        text-decoration: none;
        width: 100%;
        padding: 18px 25px;
        color: #fff;
        font-size: 1.125em;
        font-weight: bold;
        z-index: 20;
        transition: all 0.3s ease-in-out;
    }

    .dkmh:hover span {
        color: #183153;
        animation: scaleUp 0.3s ease-in-out;
    }

@keyframes scaleUp {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.95);
    }

    100% {
        transform: scale(1);
    }
}






/*اسلایدر نمونه کار*/











/*نمودرا*/
/* فقط برای این کامپوننت */
#chartWrap {
    --bg: #f9fafb;
    --blue: #2563eb;
    --grid: rgba(0,0,0,0.05);
    --area: rgba(37,99,235,0.08);
    --neon: 0 0 15px rgba(37,99,235,0.6);
}

.card3d {
    width: 90%;
    max-width: 1000px;
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15),var(--neon);
    padding: 2rem;
    transition: transform .3s ease;
}

    .card3d:hover {
        transform: scale(1.02);
    }

.grid line {
    stroke: var(--grid);
    stroke-width: 1
}

.area {
    fill: var(--area);
    opacity: 0
}

.price-line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke: var(--blue);
}

.animate .area {
    animation: fadeArea 1.2s ease-out forwards 200ms
}

.animate .price-line {
    animation: draw 2.5s cubic-bezier(.2,.9,.2,1) forwards
}

@keyframes draw {
    from {
        stroke-dashoffset: 1e6
    }

    to {
        stroke-dashoffset: 0
    }
}

@keyframes fadeArea {
    to {
        opacity: 1
    }
}

.counter-box {
    text-align: center;
    margin-top: 2rem;
}

.counter-title {
    font-size: 1.5rem;
    opacity: 0.8;
    margin-bottom: .5rem;
}

.counter-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--blue);
    text-shadow: var(--neon);
}





/*شیپ بزرگ کخ متن رو داخلش گذاشتم درباره ما*/
* {
    margin: 0;
    padding: 0;
}

.mant {
   
    color: #fff;
    background: #8fd2ff;
    text-align: center;
}

    .mant svg {
        display: block;
    }

.munt svg {
    background: #fff;
    display: flex;
}




/*کد اسلایدر برای نمونه کار*/

.swiper {
    width: 90%;
    max-width: 1000px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 2px 15px 40px rgba(0, 123, 255, 0.2);
    position: relative;
}

    .swiper-slide .caption {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: rgba(247, 247, 247, 0.5);
        color: #fcabff;
        padding: 15px;
        border-radius: 15px;
    }

.swiper-pagination-bullet {
    background: #578fd0;
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #00e1ff;
}

.swiper-slide img {
    height: 88%;
    width: 100%;
}





/*نخفیف 56%*/

/* جلوگیری از overflow */
*, *::before, *::after {
    box-sizing: border-box;
}


.discount-card {
    position: relative;
    color: white;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
    margin: 20px 0;
    border-radius: 0;
    background: linear-gradient(30deg,#bafdff,#159,#b2d1ff)
}

.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.discount-title {
    font-size: 3rem;
    font-weight: bold;
    margin: 0;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

.discount-text {
    font-size: 1.2rem;
    line-height: 1.5;
}

.btnz-project {
    background: white;
    color: #007bff;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

    .btnz-project:hover {
        background: #e0e0e0;
        transform: scale(1.05);
    }

/* دسکتاپ و تبلت */
@media (min-width: 768px) {
    .card-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        max-width: 1200px;
        margin: 0 auto;
    }

    .btnz-project {
        padding: 20px 50px;
        font-size: 1.5rem;
    }

    .text-container {
        max-width: 60%;
       
    }
}

/* موبایل */
@media (max-width: 767px) {
    .card-content {
        flex-direction: column;
        text-align: center;
    }

    .discount-title {
        font-size: 2.5rem;
    }

    .discount-text {
        font-size: 1rem;
    }

    .btnz-project {
        padding: 15px 35px;
        font-size: 1.2rem;
        order: 2; /* دکمه پایین متن */
    }

    .text-container {
        order: 1; /* متن بالا */
    }
}

/*لودینگ*/
/* ===================== Preloader CSS ===================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    background: linear-gradient(0deg, #1a3379, #0f172a, #000);
}

.loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    font-family: "Inter", sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    color: white;
    border-radius: 50%;
    background-color: transparent;
    user-select: none;
}

.loader-circle {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: transparent;
    animation: loader-combined 2.3s linear infinite;
    z-index: 0;
}

@keyframes loader-combined {
    0% {
        transform: rotate(90deg);
        box-shadow: 0 6px 12px 0 #38bdf8 inset,0 12px 18px 0 #005dff inset,0 36px 36px 0 #1e40af inset,0 0 3px 1.2px rgba(56,189,248,0.3),0 0 6px 1.8px rgba(0,93,255,0.2);
    }

    25% {
        transform: rotate(180deg);
        box-shadow: 0 6px 12px 0 #0099ff inset,0 12px 18px 0 #38bdf8 inset,0 36px 36px 0 #005dff inset,0 0 6px 2.4px rgba(56,189,248,0.3),0 0 12px 3.6px rgba(0,93,255,0.2),0 0 18px 6px rgba(30,64,175,0.15);
    }

    50% {
        transform: rotate(270deg);
        box-shadow: 0 6px 12px 0 #60a5fa inset,0 12px 6px 0 #0284c7 inset,0 24px 36px 0 #005dff inset,0 0 3px 1.2px rgba(56,189,248,0.3),0 0 6px 1.8px rgba(0,93,255,0.2);
    }

    75% {
        transform: rotate(360deg);
        box-shadow: 0 6px 12px 0 #3b82f6 inset,0 12px 18px 0 #0ea5e9 inset,0 36px 36px 0 #2563eb inset,0 0 6px 2.4px rgba(56,189,248,0.3),0 0 12px 3.6px rgba(0,93,255,0.2),0 0 18px 6px rgba(30,64,175,0.15);
    }

    100% {
        transform: rotate(450deg);
        box-shadow: 0 6px 12px 0 #4dc8fd inset,0 12px 18px 0 #005dff inset,0 36px 36px 0 #1e40af inset,0 0 3px 1.2px rgba(56,189,248,0.3),0 0 6px 1.8px rgba(0,93,255,0.2);
    }
}

.loader-letter {
    display: inline-block;
    opacity: 0.4;
    transform: translateY(0);
    animation: loader-letter-anim 2.4s infinite;
    z-index: 1;
    border-radius: 50ch;
    border: none;
}

    .loader-letter:nth-child(1) {
        animation-delay: 0s;
    }

    .loader-letter:nth-child(2) {
        animation-delay: 0.1s;
    }

    .loader-letter:nth-child(3) {
        animation-delay: 0.2s;
    }

    .loader-letter:nth-child(4) {
        animation-delay: 0.3s;
    }

    .loader-letter:nth-child(5) {
        animation-delay: 0.4s;
    }

    .loader-letter:nth-child(6) {
        animation-delay: 0.5s;
    }

    .loader-letter:nth-child(7) {
        animation-delay: 0.6s;
    }

    .loader-letter:nth-child(8) {
        animation-delay: 0.7s;
    }

    .loader-letter:nth-child(9) {
        animation-delay: 0.8s;
    }

    .loader-letter:nth-child(10) {
        animation-delay: 0.9s;
    }

    .loader-letter:nth-child(11) {
        animation-delay: 1s;
    }

    .loader-letter:nth-child(12) {
        animation-delay: 1.1s;
    }

    .loader-letter:nth-child(13) {
        animation-delay: 1.2s;
    }

@keyframes loader-letter-anim {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0);
    }

    20% {
        opacity: 1;
        text-shadow: #f8fcff 0 0 5px;
    }

    40% {
        opacity: 0.7;
        transform: translateY(0);
    }
}

/* وقتی لودینگ مخفی میشه */
body.loaded .loader {
    display: none;
}







.feedback-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

/* فرم */
.feedback-form-wrapper {
    background: linear-gradient(170deg,#ffffff,#87ccff);
    border-radius: 20px;
    padding: 30px;
    flex: 1 1 400px;
    max-width: 600px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .feedback-form-wrapper:hover {
        transform: translateY(-5px);
    }

    .feedback-form-wrapper h1 {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: center;
        color: #333;
    }

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    .feedback-form input,
    .feedback-form textarea,
    .feedback-form button {
        padding: 14px;
        border: 1px solid #ccc;
        border-radius: 12px;
        font-size: 15px;
        transition: all 0.5s ease;
        opacity: 0;
        transform: translateY(-150px);
    }

        .feedback-form input:focus,
        .feedback-form textarea:focus {
            border-color: #666;
            outline: none;
        }

    .feedback-form button {
        border: none;
        border-radius: 12px;
        background: #333;
        color: #fff;
        font-size: 16px;
        cursor: pointer;
    }

        .feedback-form button:hover {
           background:#005dff;
        }

/* باکس اینستاگرام */
.feedback-box {
    background: #ffffff;
    color: #333;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
    flex: 1 1 300px;
    max-width: 500px;
    border-radius: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

    .feedback-box:hover {
        transform: translateY(-5px);
    }

    .feedback-box i {
        font-size: 60px;
        margin-bottom: 20px;
        animation: floatIcon 3s ease-in-out infinite;
    }

@keyframes floatIcon {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.feedback-box h2 {
    font-size: 22px;
    font-weight: 700;
}

/* مربع پایین سمت چپ */
.fb-corner-square {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 25px;
    z-index: 10;
}

/* مستطیل بالا سمت راست */
.fb-corner-rectangle {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 70px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 20px;
    z-index: 10;
}

/* انیمیشن فرم */
.fb-show {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ریسپانسیو */
@media (max-width: 767px) {
    .feedback-form-wrapper, .feedback-box {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

















/*سوال های شمت */
.faq-section {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 20px;
    color: #000; /* برای بک‌گراند سفید متن قابل خواندن */
    text-align: right;
}

    .faq-section h2 {
        font-size: 28px;
        font-weight: 700;
        background: linear-gradient(90deg, #06b6d4, #7c3aed);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-bottom: 30px;
        text-align: center;
    }

.faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-question {
    width: 100%;
    text-align: right;
    padding: 14px 20px;
    font-weight: 600;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    transition: background 0.3s ease;
}

    .faq-question::after {
        content: '+';
        position: absolute;
        left: 20px;
        font-size: 22px;
        transition: transform 0.3s ease, color 0.3s ease;
        color: #06b6d4; /* رنگ آبی برای علامت */
    }

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: #1e40af; /* آبی تیره وقتی باز می‌شود */
}

.faq-answer {
    height: 0;
    overflow: hidden;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.5;
    white-space: pre-wrap;
    border-left: 3px solid #06b6d4;
    transition: height 0.5s ease;
}

/* کلاس انیمیشن تایپ */
.typing {
    border-right: 2px solid #06b6d4;
    white-space: pre-wrap;
    overflow: hidden;
    display: inline-block;
    animation: blink-caret 0.7s step-end infinite;
}

@keyframes blink-caret {
    50% {
        border-color: transparent;
    }
}

/* موبایل و تبلت ریسپانسیو */
@media (max-width: 1200px) {
    .faq-section {
        padding: 0 15px;
    }

        .faq-section h2 {
            font-size: 26px;
        }

    .faq-question {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .faq-section {
        margin: 60px 10px;
    }

        .faq-section h2 {
            font-size: 24px;
        }

    .faq-question {
        font-size: 16px;
        padding: 12px 16px;
    }
}















