@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  
}
  
  :root {
            --primary: #00a7a7;
            --primary-hover: #007070;
            --dark: #0f172a;
            --gray-text: #64748b;
            --light-bg: #f8fafc;
            --border-color: #e2e8f0;
            --white: #ffffff;
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazirmatn', sans-serif;
        }

        body {
            background-color: var(--white);
            color: var(--dark);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            user-select: none;
            direction: rtl;
        }

        /* دکمه‌های عمومی */
        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 24px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.1s ease;
            cursor: pointer;
            border: none;
            gap: 8px;
            font-family: "Vazirmatn", sans-serif;
        }
        .btn svg {
    fill: currentColor;
}

        .btn-primary {
            background-color: var(--primary);
            color: var(--white);
            box-shadow: var(--shadow-sm);
        }

        .btn-primary:hover {
            background-color: var(--primary-hover);
            box-shadow: var(--shadow-md);
            transform: translateY(-1px);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--dark);
            border: 1px solid var(--border-color);
        }

        .btn-outline:hover {
            background-color: var(--light-bg);
            border-color: #cbd5e1;
        }

        /* Navbar - Glassmorphism */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(255, 255, 255, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid rgba(226, 232, 240, 0.6);
        }

        .nav-right { display: flex; align-items: center; gap: 40px; }

        .logo {
            font-size: 24px;
            font-weight: 800;
            color: var(--primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            letter-spacing: -1px;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 32px;
        }

        .nav-links a {
            text-decoration: none;
            color: var(--gray-text);
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        .nav-links a:hover { color: var(--dark); }

        .nav-left { display: flex; align-items: center; gap: 16px; }

        .nav-login {
            text-decoration: none;
            color: var(--dark);
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.2s;
        }
        
        .nav-login:hover { color: var(--primary); }

        /* Hero Section */
        .hero {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: transparent;
            height: 50vh;
            overflow: hidden;

        }

        .hero-content {
            flex: 1;
            max-width: 650px;
            padding: 100px 5%;
        }

        .badge {
            display: inline-block;
            padding: 6px 12px;
            background-color: #dbeafe;
            color: #1e40af;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 24px;
        }

        .hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            line-height: 1.3;
            color: var(--dark);
            margin-bottom: 24px;
            letter-spacing: -1.5px;
            z-index: 1;
        }

        .hero p {
            font-size: 1.15rem;
            color: var(--gray-text);
            margin-bottom: 40px;
            max-width: 550px;
            z-index: 1;

        }

        .hero-buttons {
            display: flex;
            gap: 16px;
        }

        .hero-image {
            flex: 1;
            display: flex;
            position: relative;
            z-index: -1;
            position: absolute;
            height: 100%;

        }

        /* استفاده از یک تصویر placeholder با ظاهر حرفه‌ای */
        .hero-image img {
            width: 100%;
            object-fit: cover;
            
        }
        #bg-new-desktop{
            height: 55%;
            margin-top: 203px;
        }
        #bg-new-mobile{
            display: none;
        }
        /* Services Grid */
        .services {
            padding: 100px 5%;
            background-color: var(--light-bg);
        }

        .section-header {
            text-align: center;
            max-width: 600px;
            margin: 0 auto 60px auto;
        }

        .section-header h2 {
            font-size: 2.2rem;
            font-weight: 800;
            color: var(--dark);
            margin-bottom: 16px;
        }

        .section-header p {
            color: var(--gray-text);
            font-size: 1.1rem;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
        }

        .card {
            background: var(--white);
            padding: 40px 30px;
            border-radius: 20px;
            border: 1px solid var(--border-color);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: #bfdbfe;
        }

        .icon-wrapper {
            width: 60px;
            height: 60px;
            background-color: #eff6ff;
            color: var(--primary);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 24px;
            transition: all 0.3s ease;
        }

        .card:hover .icon-wrapper {
            background-color: var(--primary);
            color: var(--white);
        }

        .card h3 {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 12px;
            color: var(--dark);
        }

        .card p {
            color: var(--gray-text);
            font-size: 0.95rem;
            line-height: 1.8;
            margin-bottom: 20px;
        }
        
        .card-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .card-link i {
            transition: transform 0.2s;
        }

        .card:hover .card-link i {
            transform: translateX(-4px);
        }

        /* Footer */
        .footer {
            background-color:#f3f8fc;
            color: #191a1b;
            padding: 40px 5%;
            
           
        }

        .footer p {
            color: #94a3b8;
            font-size: 0.9rem;
        }
        .links-social-media{
            text-align: left;
            margin-top: -40px;
        }
       .performance-video{
        width: 800px;
        height: 600px;
       }
       
        /* Responsive Design */
        @media (max-width: 768px) {
            .hero {
                flex-direction: column;
                padding-top: 60px;
                height: 85vh;
                text-align: right;
            }
            .hero-content {
                margin-top: -50px;
                display: flex;
                flex-direction: column;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            .nav-links {
                display: none;
            }
            .hero-buttons {
                justify-content: center;
            }
            .hero-image {
               display: block;
            }
            #bg-new-desktop{
                display: none;
            }
            #bg-new-mobile{
                display: block;
                margin-top: 100px;
            }
            .links-social-media{
            text-align: center;
            margin-top: 20px;
        }
         .links-social-media div{
            text-align: center;
       
        }
        .performance-video{
        width: 600px;
        height: 400px;
       }
       .p{
        max-width: 650px; 
        padding: 0px 5%;
       }
       .section-header h2{
        font-size: 1.6rem;
       }

        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2.2rem;
            }
            .hero-buttons {
                flex-direction: column;
                width: 100%;
            }
            .btn {
                width: 100%;
            }
        }

        