        /* ========== PRELOADER IMPROVED ========== */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.8s ease, visibility 0.8s ease;
        }

        #preloader.hidden {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }

        .logo-animation {
            position: relative;
            width: 160px;
            height: 160px;
            margin-bottom: 30px;
        }

        .logo-circle {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: 2px solid rgba(255, 255, 255, 0.12);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .logo-text {
            position: absolute;
            top: 80%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 10;
            font-weight: bold;            
        }

        /* .logo-text img
        {
            max-width: 120%;
            max-height: 120%;
            object-fit: contain; 
        } */

        .preloader-text {
            color: #E8F4F4;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 10px;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards 0.5s;
            background: #147575;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .preloader-subtext {
            color: rgba(232, 244, 244, 0.8);
            font-size: 16px;
            margin-bottom: 35px;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards 0.8s;
        }

        .progress-container {
            width: 280px;
            height: 4px;
            background: rgba(232, 244, 244, 0.15);
            border-radius: 4px;
            overflow: hidden;
            margin-bottom: 15px;
            position: relative;
        }

        .progress-container::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            animation: shimmer 2s infinite;
        }

        #progressBar {
            height: 100%;
            width: 0%;
            background: linear-gradient(90deg, #21c4c4 , #147575);
            border-radius: 4px;
            transition: width 0.3s ease;
            position: relative;
            z-index: 2;
        }

        #progressText {
            color: #147575;
            font-size: 14px;
            font-weight: 600;
            opacity: 0;
            animation: fadeIn 0.8s ease forwards 1s;
        }

        @keyframes rotate {
            0% { transform: translate(-50%, -50%) rotate(0deg); }
            100% { transform: translate(-50%, -50%) rotate(360deg); }
        }

        @keyframes pulse {
            0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
            50% { transform: translate(-50%, -50%) scale(1.05); opacity: 0.8; }
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        /* ========== STYLES MAIN PAGE ========== */


        @font-face {
            font-family: 'نام-فونت';
            src: url('/fonts/Vazir-FD-WOL.eot'); /* برای IE9 از حالت Compatibility mode */
            src: url('/fonts/Vazir-FD-WOL.eot?#iefix') format('embedded-opentype'), /* برای IE6-IE8 */
                url('/fonts/Vazir-Light-FD-WOL.woff2') format('woff2'),
                url('/fonts/Vazir-Light-FD-WOL.woff') format('woff'),
                url('/fonts/Vazir-Light-FD-WOL.ttf') format('truetype');
            /* بقیه کدها */
        }       

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Vazir', Tahoma;
            direction: rtl;
        }

        body {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            color: #147575;
            min-height: 100vh;
            padding: 20px;
            opacity: 0;
            animation: pageFadeIn 0.5s ease forwards;
            animation-delay: 0.5s;
            font-family: 'Vazir', Tahoma;
        }

        @keyframes pageFadeIn {
            to { opacity: 1; }
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        a {
            color: inherit;       
            text-decoration: none; 
        }

        /* هدر */
        .header {
            text-align: center;
            margin-bottom: 40px;
           padding: 7px 0 5px 0;
            border-bottom: 1px solid #126d6d;
            position: relative;
            background-color: #147575;;
        }

        .header::after {
            content: '';
            position: absolute;
            bottom: -1px;
            right: 50%;
            transform: translateX(50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #21c4c4, #147575);
            border-radius: 2px;
        }

        .logo {
            display: inline-flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 10px;
        }

        .logo-icon {
            width: 100px;
            height: 100px;
            display: flex;
            align-items: center;
            justify-content: center;
           background-color: #fff;
           border-radius: 50%;
        }

        .logo-icon img
        {
            width: 80%;
            height: 80%;
            object-fit: scale-down;
        }

        .logo-text h1 {
            font-size: 15px;
            background: #fff;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            font-weight: 800;
        }

        .logo-text p {
            font-size: 15px;
            color: #64748b;
            margin-top: 5px;
        }

        /* لایه اصلی */
        .main-layout {
            display: grid;
            gap: 35px;
        }

        @media (max-width: 900px) {
            .main-layout {
                grid-template-columns: 1fr;
            }
        }

        /* بخش آکاردئون */
        .accordion-section {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            border: 1px solid #126d6d;
        }

        .accordion-item {
            border-bottom: 1px solid #126d6d;
            transition: all 0.3s ease;
        }

        .accordion-item:last-child {
            border-bottom: none;
        }

        .accordion-header {
            padding: 22px 25px;
            background: none;
            border: none;
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            text-align: right;
            font-size: 18px;
            font-weight: 600;
            color: #334155;
            transition: all 0.3s ease;
        }

        .accordion-header:hover {
            background: linear-gradient(90deg, rgba(232, 244, 244, 0.1) 0%, rgba(232, 244, 244, 0.3) 100%);
        }

        .accordion-header.active {
            background: linear-gradient(90deg, rgba(10, 93, 94, 0.1) 0%, rgba(8, 76, 77, 0.2) 100%);
            color: #147575;
        }

        .accordion-icon {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .accordion-icon i {
            font-size: 20px;
            color: #64748b;
            width: 24px;
            text-align: center;
        }

        .accordion-header.active .accordion-icon i {
            color: #147575;
        }

        .accordion-arrow {
            transition: transform 0.3s ease;
            color: #94a3b8;
            font-size: 14px;
        }

        .accordion-header.active .accordion-arrow {
            transform: rotate(180deg);
            color: #147575;
        }

        .accordion-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            background: white;
        }

        .accordion-content.active {
            max-height: 2000px;
        }

        .accordion-content-inner {
            padding: 10px 25px 25px 25px;
            animation: contentFadeIn 0.3s ease;
        }

        @keyframes contentFadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* محتوای آکاردئون */
        .info-group {
            margin-bottom: 25px;
        }

        .info-group-title {
            font-size: 16px;
            font-weight: 600;
            color: #475569;
            margin-bottom: 15px;
            padding-bottom: 12px;
            border-bottom: 2px solid #f1f5f9;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-top: 10px;
        }

        .info-item {
            display: flex;
            align-items: flex-start;
            margin-bottom: 18px;
            padding: 15px;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-radius: 15px;
            border: 1px solid #126d6d;
            transition: all 0.3s ease;
        }

        .info-item:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border-color: #1eaeae;
        }

        .info-icon {
            width: 45px;
            height: 45px;
            background: white;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 15px;
            color: #147575;
            font-size: 20px;
            flex-shrink: 0;
            border: 1px solid #126d6d;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
        }

        .info-details {
            flex: 1;
        }

        .info-label {
            font-size: 13px;
            color: #64748b;
            margin-bottom: 6px;
            display: block;
        }

        .info-value {
            font-size: 16px;
            color: #1e293b;
            font-weight: 500;
            word-break: break-word;
        }

        .info-value.contact {
            direction: rtl;
            text-align: right;
        }

        .social-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        @media (max-width: 500px) {
            .social-list {
                grid-template-columns: 1fr;
                margin-top: 10px;
            }
        }

        .social-item {
            display: flex;
            align-items: center;
            padding: 15px;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-radius: 15px;
            border: 1px solid #126d6d;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .social-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            border-color: #1eaeae;
        }

        .social-icon {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 15px;
            color: white;
            font-size: 22px;
            flex-shrink: 0;
        }

        .social-icon.instagram { background: linear-gradient(45deg, #405DE6, #833AB4, #C13584, #E1306C, #FD1D1D, #F56040, #F77737); }
        .social-icon.telegram { background: linear-gradient(135deg, #0088cc, #00aced); }
        .social-icon.whatsapp { background: linear-gradient(135deg, #25D366, #128C7E); }
        .social-icon.linkedin { background: linear-gradient(135deg, #0077B5, #00A0DC); }
        .social-icon.twitter { background: linear-gradient(135deg, #1DA1F2, #0d8ddb); }
        .social-icon.email { background: linear-gradient(135deg, #EA4335, #d62425); }
        .social-icon.website { background: linear-gradient(135deg, #21c4c4, #147575); }
        .social-icon.youtube { background: linear-gradient(135deg, #FF0000, #cc0000); }
        .social-icon.bale { background: linear-gradient(135deg, #2F3677, #4BE3B1); }
        .social-icon.aparat { background: #E91F63; }
        .social-icon.eitaa { background: #E77700;}

        .social-details {
            flex: 1;
        }

        .social-platform {
            font-size: 14px;
            color: #475569;
            margin-bottom: 4px;
        }

        .social-username {
            font-size: 15px;
            color: #1e293b;
            font-weight: 500;
        }

        .bio-text {
            font-size: 15px;
            color: #475569;
            line-height: 1.7;
            padding: 20px;
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-radius: 15px;
            border: 1px solid #126d6d;
        }

        .skills-list {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
        }

        .skill-tag {
            padding: 10px 18px;
            background: linear-gradient(135deg, #E8F4F4 0%, #D4E8E8 100%);
            color: #147575;
            border-radius: 25px;
            font-size: 14px;
            font-weight: 500;
            border: 1px solid #1eaeae;
            transition: all 0.3s ease;
        }

        .skill-tag:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(8, 76, 77, 0.15);
        }

        @media (max-width: 900px) {
            .preview-section {
                position: static !important;
            }
        }

        .preview-header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 1px solid #126d6d;
            position: relative;
        }

        .preview-header::after {
            content: '';
            position: absolute;
            bottom: -1px;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #21c4c4, #147575);
            border-radius: 2px;
        }

        .preview-header h2 {
            color: #1e293b;
            font-size: 24px;
            font-weight: 700;
            background: linear-gradient(135deg, #21c4c4 0%, #147575 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .preview-header p {
            color: #64748b;
            font-size: 15px;
            margin-top: 8px;
        }

        .profile-preview {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 30px;
        }

        .profile-avatar {
            width: 110px;
            height: 110px;
            border-radius: 25px;
            background: linear-gradient(135deg, #21c4c4 0%, #147575 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #E8F4F4;
            font-size: 42px;
            font-weight: bold;
            margin-bottom: 20px;
            box-shadow: 0 10px 20px rgba(8, 76, 77, 0.2);
        }

        .profile-avatar img {
            max-width: 80%;
            max-height: 80%;
            object-fit: contain; /* یا cover */
        }

        .profile-info {
            text-align: center;
            width: 100%;
        }

        .profile-name {
            font-size: 26px;
            font-weight: 700;
            color: #1e293b;
            margin-bottom: 8px;
        }

        .profile-title {
            color: #147575;
            font-size: 17px;
            font-weight: 600;
            margin-bottom: 10px;
            padding: 8px 15px;
            background: linear-gradient(135deg, rgba(10, 93, 94, 0.1) 0%, rgba(8, 76, 77, 0.15) 100%);
            border-radius: 12px;
            display: inline-block;
        }

        

        .profile-company {
            color: #64748b;
            font-size: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .quick-contacts {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-radius: 18px;
            padding: 20px;
            margin-bottom: 25px;
            border: 1px solid #126d6d;
        }

        .quick-contact-item {
            display: flex;
            align-items: center;
            padding: 14px 0;
            border-bottom: 1px solid #126d6d;
        }

        .quick-contact-item:last-child {
            border-bottom: none;
        }

        .quick-contact-item i {
            color: #147575;
            font-size: 20px;
            width: 35px;
        }

        .quick-contact-item span {
            color: #475569;
            font-size: 16px;
            flex: 1;
        }

        .quick-contact-item span.direction-ltr {
            direction: ltr;
            text-align: left;
        }

        .qr-code-container {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-radius: 18px;
            padding: 25px;
            text-align: center;
            border: 1px solid #126d6d;
            margin-bottom: 25px;
        }

        #qrcode {
            display: inline-block;
            margin: 0 auto;
            padding: 15px;
            background: white;
            border-radius: 12px;
            border: 1px solid #126d6d;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .qr-info {
            margin-top: 15px;
            color: #64748b;
            font-size: 14px;
            line-height: 1.6;
        }

        .qr-link {
            display: block;
            margin-top: 10px;
            color: #147575;
            font-weight: 600;
            font-size: 15px;
            direction: rt;
            word-break: break-all;
            text-decoration: none;
            padding: 8px 12px;
            background: rgba(8, 76, 77, 0.08);
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .qr-link:hover {
            background: rgba(8, 76, 77, 0.15);
            text-decoration: none;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
        }

        .btn {
            flex: 1;
            padding: 18px;
            border: none;
            border-radius: 15px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .btn-primary {
            background: linear-gradient(135deg, #21c4c4 0%, #147575 100%);
            color: white;
        }

        .btn-primary:hover {
            background: linear-gradient(135deg, #147575 0%, #063A3B 100%);
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(8, 76, 77, 0.3);
        }

        .btn-secondary {
            background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
            color: #475569;
            border: 1.5px solid #126d6d;
        }

        .btn-secondary:hover {
            background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
            border-color: #cbd5e1;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
        }

        /* فوتر */
        .footer {
            text-align: center;
            margin-top: 50px;
            padding-top: 25px;
            border-top: 1px solid #126d6d;
            color: #64748b;
            font-size: 14px;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 25px;
            margin-top: 15px;
        }

        .footer-links a {
            color: #147575;
            text-decoration: none;
            font-size: 14px;
            padding: 8px 15px;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            background: rgba(8, 76, 77, 0.1);
            transform: translateY(-2px);
        }




        /* Add to Contacts */

        .contact-btn {
            background-color: black;
            color: white;
            border: none;
            padding: 10px 9px;           
            font-weight: bold;
            border-radius: 50px;        /* دکمه گرد */
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            transition: background-color 0.2s, transform 0.1s;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .contact-btn:hover {
            background-color: #222;
            transform: scale(1.02);
        }
        .contact-btn:active {
            background-color: #444;
            transform: scale(0.98);
        }

        .contact-btn span
        {
            font-size: larger;
            font-weight: 600;
        }