      @font-face {
    font-family: 'Aviny';
    src: url('../fonts/iransansdn.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
    :root {
      --primary: #2563eb;
      --primary-light: #3b82f6;
      --primary-dark: #1d4ed8;
      --secondary: #64748b;
      --accent: #06b6d4;
      --light: #f8fafc;
      --dark: #1e293b;
      --success: #10b981;
      --warning: #f59e0b;
      --danger: #ef4444;
      --gradient-1: linear-gradient(135deg, #2563eb, #06b6d4);
      --gradient-2: linear-gradient(135deg, #3b82f6, #22d3ee);
      --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
      --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
      --border-radius: 12px;
    }
    
    * {
         /*font-family: 'Aviny', 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
      font-family: 'Aviny', sans-serif;
    }
    
    body {
      background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #f0fdfa 100%);
      color: var(--dark);
      line-height: 1.6;
    }
    
    .resume-container {
      max-width: 1200px;
      margin: 0 auto;
    }
    
    .header-gradient {
      background: var(--gradient-1);
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-lg);
      position: relative;
      overflow: hidden;
    }
    
    .header-gradient::before {
      content: '';
      position: absolute;
      top: 0;
      right: 0;
      width: 100%;
      height: 100%;
      background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
      opacity: 0.3;
    }
    
    .avatar-container {
      width: 120px;
      height: 120px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      border: 3px solid rgba(255, 255, 255, 0.3);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow-md);
      transition: all 0.3s ease;
    }
    
    .avatar-container:hover {
      transform: scale(1.05);
      box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.5);
    }
    
    .avatar {
      font-size: 2.5rem;
      font-weight: 800;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .section-title {
      position: relative;
      padding-bottom: 10px;
      margin-bottom: 20px;
      font-weight: 700;
      color: var(--primary);
    }
    
    .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      right: 0;
      width: 50px;
      height: 3px;
      background: var(--gradient-2);
      border-radius: 3px;
    }
    
    .card-modern {
      background: white;
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-sm);
      border: none;
      transition: all 0.3s ease;
      height: 100%;
      overflow: hidden;
    }
    
    .card-modern:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-lg);
    }
    
    .card-header-modern {
      background: var(--gradient-1);
      color: white;
      padding: 15px 20px;
      border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
      font-weight: 600;
    }
    
    .skill-badge {
      display: inline-block;
      padding: 6px 12px;
      background: #e0f2fe;
      color: var(--primary);
      border-radius: 20px;
      font-size: 0.85rem;
      margin: 3px;
      transition: all 0.2s ease;
      border: 1px solid #bae6fd;
    }
    
    .skill-badge:hover {
      background: var(--primary);
      color: white;
      transform: scale(1.05);
    }
    
    .skill-level {
      display: inline-block;
      width: 100%;
      height: 8px;
      background: #e2e8f0;
      border-radius: 4px;
      margin-top: 5px;
      overflow: hidden;
    }
    
    .skill-level-bar {
      height: 100%;
      background: var(--gradient-2);
      border-radius: 4px;
    }
    
    .timeline-modern {
      position: relative;
      padding-right: 30px;
    }
    
    .timeline-modern::before {
      content: '';
      position: absolute;
      top: 0;
      right: 15px;
      width: 2px;
      height: 100%;
      background: #e2e8f0;
    }
    
    .timeline-item-modern {
      position: relative;
      margin-bottom: 25px;
    }
    
    .timeline-item-modern::before {
      content: '';
      position: absolute;
      top: 5px;
      right: -30px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--primary);
      border: 3px solid white;
      box-shadow: 0 0 0 3px #e0f2fe;
    }
    
    .portfolio-item {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      height: 100%;
      transition: all 0.3s ease;
    }
    
    .portfolio-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }
    
    .portfolio-item img {
      transition: transform 0.5s ease;
    }
    
    .portfolio-item:hover img {
      transform: scale(1.05);
    }
    
    .portfolio-overlay {
      position: absolute;
      bottom: 0;
      right: 0;
      left: 0;
      background: rgba(37, 99, 235, 0.9);
      color: white;
      padding: 15px;
      transform: translateY(100%);
      transition: transform 0.3s ease;
    }
    
    .portfolio-item:hover .portfolio-overlay {
      transform: translateY(0);
    }
    
    .nav-pills-custom .nav-link {
      border-radius: 30px;
      padding: 8px 20px;
      margin: 0 5px;
      font-weight: 500;
      transition: all 0.3s ease;
      border: 2px solid transparent;
    }
    
    .nav-pills-custom .nav-link.active {
      background: var(--gradient-1);
      color: white;
      border-color: var(--primary);
      box-shadow: var(--shadow-sm);
    }
    
    .nav-pills-custom .nav-link:not(.active) {
      background: white;
      color: var(--secondary);
      border: 2px solid #e2e8f0;
    }
    
    .nav-pills-custom .nav-link:not(.active):hover {
      border-color: var(--primary-light);
      color: var(--primary);
    }
    
    .btn-modern {
      border-radius: 30px;
      padding: 8px 20px;
      font-weight: 500;
      transition: all 0.3s ease;
      border: 2px solid transparent;
    }
    
    .btn-primary-modern {
      background: var(--gradient-1);
      color: white;
      border: none;
    }
    
    .btn-primary-modern:hover {
      background: var(--gradient-2);
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    
    .language-switcher {
      position: sticky;
      top: 20px;
      z-index: 100;
      margin-bottom: 20px;
    }
    
    .floating-action {
      position: fixed;
      bottom: 30px;
      left: 30px;
      z-index: 1000;
    }
    
    .progress-ring {
      transform: rotate(-90deg);
    }
    
    .progress-ring-circle {
      transition: stroke-dashoffset 0.5s ease;
    }
    
    @media (max-width: 768px) {
      .avatar-container {
        width: 100px;
        height: 100px;
      }
      
      .avatar {
        font-size: 2rem;
      }
      
      .language-switcher {
        position: static;
        margin-bottom: 15px;
      }
      
      .floating-action {
        bottom: 20px;
        left: 20px;
      }
    }
    
    @media print {
      .no-print {
        display: none !important;
      }
      
      body {
        background: white;
      }
      
      .card-modern {
        box-shadow: none;
        border: 1px solid #e2e8f0;
      }
      
      .header-gradient {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }
    }
    
    .fade-in {
      animation: fadeIn 0.8s ease-in-out;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .pulse {
      animation: pulse 2s infinite;
    }
    
    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
      70% { box-shadow: 0 0 0 10px rgba(37, 99, 235, 0); }
      100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
    }
 