/* =============================================
   2025 INDUSTRIAL POWER THEME - COMPLETE VERSION
   MAHAN FAN POOYA - Industrial Filtration & Ventilation
   Author: Your Name
   Version: 2.0
   ============================================= */

/* =============================================
   CSS VARIABLES (Custom Properties)
   ============================================= */
   :root {
    /* Industrial Color Palette */
    --color-primary: #0056b3;
    --color-primary-dark: #004494;
    --color-secondary: #0081a7;
    --color-accent: #00afb9;
    --color-industrial: #2ec4b6;
    --color-metal: #5a6b7d;
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-warning: #f59e0b;
    
    /* Light Theme Colors (flat – بدون گرادینت) */
    --color-background: #f8fafc;
    --color-surface: #ffffff;
    --color-text-primary: #1a202c;
    --color-text-secondary: #4a5568;
    --color-text-light: #718096;
    --color-border: #e2e8f0;
    
    /* Industrial Gradients – در حالت روشن به رنگ‌های تخت نگاشت می‌شوند */
    --gradient-industrial: var(--color-primary);
    --gradient-metal: var(--color-secondary);
    --gradient-surface: var(--color-surface);
    --gradient-hero: var(--color-primary);
    
    /* Shadows – در حالت روشن ملایم و غیر نئونی */
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 8px 20px rgba(15, 23, 42, 0.10);
    --shadow-xl: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-industrial: var(--shadow-md);
    --shadow-heavy: var(--shadow-lg);
    --shadow-lift: var(--shadow-xl);
    
    /* Layout Variables */
    --max-width: 1400px;
    --header-height: 85px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    /* Transition Timings */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Typography */
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color-scheme: light;
  }
    
    /* =============================================
       DARK THEME VARIABLES
       ============================================= */
  [data-theme="dark"] {
    --color-primary: #3b82f6;
    --color-primary-dark: #2563eb;
    --color-secondary: #06b6d4;
    --color-industrial: #10b981;
    --color-metal: #94a3b8;
    --color-background: #020617;
    --color-surface: #020617;
    --color-text-primary: #e5f2ff;
    --color-text-secondary: #bfdbfe;
    --color-text-light: #93c5fd;
    --color-border: #1e293b;
    
    /* در حالت تیره، گرادینت‌ها و سایه‌ها نئونی و قوی باقی می‌مانند */
    --gradient-industrial: linear-gradient(135deg, #38bdf8, #22c55e);
    --gradient-metal: linear-gradient(135deg, #38bdf8, #6366f1);
    --gradient-surface: linear-gradient(145deg, #020617, #0b1120);
    --gradient-hero: radial-gradient(circle at top, #38bdf8 0, transparent 55%), radial-gradient(circle at bottom, #22c55e 0, transparent 55%);
    
    --shadow-sm: 0 0 12px rgba(56, 189, 248, 0.6);
    --shadow-md: 0 0 24px rgba(56, 189, 248, 0.7);
    --shadow-lg: 0 0 40px rgba(56, 189, 248, 0.8);
    --shadow-xl: 0 0 70px rgba(56, 189, 248, 0.85);
    --shadow-industrial: 0 0 45px rgba(34, 197, 94, 0.8);
    --shadow-heavy: 0 0 70px rgba(56, 189, 248, 0.9);
    --shadow-lift: 0 0 90px rgba(56, 189, 248, 1);
  }
    
    /* =============================================
       RTL SUPPORT (Right-to-Left Languages)
       ============================================= */
    [dir="rtl"] {
      font-family: 'Vazirmatn', 'Segoe UI', system-ui, sans-serif;
    }
    
    /* =============================================
       BASE STYLES & RESET
       ============================================= */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    html {
      scroll-behavior: smooth;
    }
    
    body {
      background-color: var(--color-background);
      color: var(--color-text-primary);
      font-size: 16px;
      line-height: 1.7;
      overflow-x: hidden;
      transition: background-color var(--transition-slow), color var(--transition-slow);
    }
    
    /* Light/Dark Mode Body Classes */
  body.light-mode {
    /* در حالت روشن، رنگ‌ها تخت و بدون افکت نئونی هستند */
    --color-background: #f8fafc;
    --color-surface: #ffffff;
    --color-text-primary: #1f2933;
    --color-text-secondary: #4b5563;
    --color-text-light: #6b7280;
    --color-border: #e5e7eb;
    
    --gradient-industrial: var(--color-primary);
    --gradient-metal: var(--color-secondary);
    --gradient-surface: var(--color-surface);
    --gradient-hero: var(--color-primary);
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 10px rgba(15, 23, 42, 0.07);
    --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.09);
    --shadow-xl: 0 18px 40px rgba(15, 23, 42, 0.12);
    --shadow-industrial: var(--shadow-md);
    --shadow-heavy: var(--shadow-lg);
    --shadow-lift: var(--shadow-xl);
  }
  
  /* Dark mode styles are handled by [data-theme="dark"] selector */
    
    /* =============================================
       LAYOUT & CONTAINER STYLES
       ============================================= */
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 30px;
    }
    
    .section-gap {
      padding: 100px 0;
    }
    
    /* =============================================
       HEADER & NAVIGATION STYLES
       ============================================= */
    .site-header {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: rgba(255, 255, 255, 0.97);
      backdrop-filter: blur(25px);
      border-bottom: 1px solid var(--color-border);
      height: var(--header-height);
      transition: all var(--transition-normal);
    }
    
    [data-theme="dark"] .site-header {
      background: rgba(30, 41, 59, 0.97);
    }
    
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 15px 0;
    gap: 18px;
    flex-wrap: nowrap; /* هدر همیشه در یک خط بماند */
  }
  
  /* RTL Header Layout */
  [dir="rtl"] .header-inner {
    direction: rtl;
  }
  
  [dir="ltr"] .header-inner {
    direction: ltr;
  }
    
    /* Brand Logo & Text */
    .brand {
      display: flex;
      align-items: center;
      gap: 15px;
      text-decoration: none;
    }
    
    .brand-icon {
      font-size: 42px;
      color: var(--color-primary);
      filter: drop-shadow(0 0 15px rgba(0, 86, 179, 0.4));
      transition: all var(--transition-normal);
    }
    
    .brand-logo-img {
      width: 70px;
      height: 70px;
      object-fit: contain;
      margin-right: 12px;
    }
    
    .brand-tagline-small {
      font-size: clamp(10px, 0.85vw, 12px) !important;
    }
    
  .brand-text h1 {
    margin: 0;
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 800;
    background: var(--gradient-industrial);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
  }
    
  .brand-text p {
    margin: 0;
    font-size: clamp(11px, 0.9vw, 13px);
    color: var(--color-text-secondary);
    font-weight: 600;
    white-space: nowrap;
  }
    
    /* Main Navigation */
  .nav ul {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-wrap: nowrap;
  }
    
    [dir="rtl"] .nav ul {
      padding-right: 0;
    }
    
  .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 600;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
  }
    
    .nav-link::before {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 3px;
      background: var(--gradient-industrial);
      transition: width var(--transition-normal);
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
      width: 100%;
    }
    
    .nav-link:hover,
    .nav-link.active {
      color: var(--color-primary);
      background: rgba(0, 86, 179, 0.05);
      transform: translateY(-2px);
    }
    
    /* Header CTA Section */
  .header-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: nowrap;
  }
    
    /* Theme Toggle Button */
    .theme-toggle {
      background: var(--color-surface);
      border: 2px solid var(--color-border);
      border-radius: 50%;
      width: 48px;
      height: 48px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-normal);
      color: var(--color-text-primary);
    }
    
    .theme-toggle:hover {
      background: var(--color-primary);
      color: white;
      transform: rotate(180deg);
      border-color: var(--color-primary);
    }
    
    /* Language Switcher - Desktop */
    .lang-switcher {
      display: flex;
      gap: 8px;
      background: var(--color-surface);
      padding: 8px;
      border-radius: var(--border-radius);
      border: 2px solid var(--color-border);
    }
    
    .lang-flag {
      background: transparent;
      border: 2px solid transparent;
      border-radius: 50%;
      cursor: pointer;
      padding: 4px;
      transition: all var(--transition-normal);
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      overflow: hidden;
    }
    
    .lang-flag img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
    }
    
    .lang-flag:hover {
      background: rgba(0, 86, 179, 0.1);
      transform: scale(1.15);
    }
    
    .lang-flag.active {
      border-color: var(--color-primary);
      background: rgba(0, 86, 179, 0.1);
      box-shadow: 0 0 20px rgba(0, 86, 179, 0.3);
    }

    /* Mobile Language Dropdown - Hidden on Desktop */
    .lang-dropdown {
      display: none;
      position: relative;
      align-items: center;
    }
    
    /* Show mobile dropdown on small screens */
    @media (max-width: 768px) {
      .lang-dropdown {
        display: flex;
      }
      .lang-switcher {
        display: none;
      }
    }
    
    .lang-toggle {
      display: flex;
      align-items: center;
      gap: 4px;
      padding: 6px 8px;
      background: var(--color-surface);
      border: 2px solid var(--color-border);
      border-radius: var(--border-radius);
      color: var(--color-text-primary);
      cursor: pointer;
      transition: all var(--transition-normal);
      min-width: 50px;
    }
    
    .lang-toggle:hover {
      background: rgba(0, 86, 179, 0.1);
      transform: translateY(-1px);
      border-color: var(--color-primary);
    }
    
    .lang-toggle.active {
      background: rgba(0, 86, 179, 0.15);
      border-color: var(--color-primary);
    }
    
    .current-lang-flag {
      width: 18px;
      height: 18px;
      object-fit: cover;
      border-radius: 3px;
      flex-shrink: 0;
    }
    
    .lang-toggle .material-icons-outlined {
      font-size: 14px;
      transition: transform var(--transition-normal);
    }
    
    .lang-toggle.active .material-icons-outlined {
      transform: rotate(180deg);
    }
    
    .lang-menu {
      position: absolute;
      top: calc(100% + 8px);
      right: 0;
      background: var(--color-surface);
      border: 2px solid var(--color-border);
      border-radius: var(--border-radius);
      box-shadow: var(--shadow-lg);
      padding: 6px 0;
      min-width: 120px;
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: all var(--transition-normal);
      z-index: 1000;
    }
    
    /* RTL positioning for language menu */
    [dir="rtl"] .lang-menu {
      right: auto;
      left: 0;
    }
    
    .lang-dropdown.active .lang-menu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }
    
    .lang-option {
      display: flex;
      align-items: center;
      gap: 6px;
      width: 100%;
      padding: 8px 12px;
      background: none;
      border: none;
      color: var(--color-text-primary);
      cursor: pointer;
      transition: background-color var(--transition-fast);
      text-align: left;
    }
    
    .lang-option:hover {
      background: rgba(0, 86, 179, 0.1);
    }
    
    .lang-option.active {
      background: rgba(0, 86, 179, 0.15);
      color: var(--color-primary);
      font-weight: 600;
    }
    
    .lang-option img {
      width: 18px;
      height: 18px;
      object-fit: cover;
      border-radius: 3px;
      flex-shrink: 0;
    }
    
    .lang-option span {
      font-size: 0.8rem;
      font-weight: 500;
    }
    
    /* Phone Button */
  .phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-industrial);
    transition: all var(--transition-normal);
    white-space: nowrap;
    font-size: clamp(12px, 1.1vw, 14px);
  }
    
    .phone-btn:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-heavy);
    }
    
    /* Mobile Navigation Toggle */
    .nav-toggle {
      display: none;
      background: var(--color-surface);
      border: 2px solid var(--color-border);
      border-radius: var(--border-radius);
      padding: 12px;
      cursor: pointer;
      color: var(--color-text-primary);
      transition: all var(--transition-normal);
      order: 99; /* Ensure it's always at the end */
    }
    
    .nav-toggle:hover {
      background: var(--color-primary);
      color: white;
      border-color: var(--color-primary);
    }
    
    /* Utility Classes */
    .hidden {
      display: none !important;
    }
    
    /* Mobile-only class */
    .mobile-only {
      display: none;
    }
    
    @media (max-width: 768px) {
      .mobile-only {
        display: block;
      }
    }
    
    /* =============================================
       MAIN CONTENT AREA
       ============================================= */
    main {
      padding-top: var(--header-height);
    }
    
    /* =============================================
       MOBILE HERO TEXT SECTION (Hidden on Desktop)
       ============================================= */
    .hero-mobile-text {
      display: none; /* Hidden on desktop */
    }
    
    /* Ensure no overlap on desktop */
    @media (min-width: 769px) {
      .hero-mobile-text {
        display: none !important;
      }
    }

    /* =============================================
       HERO SLIDESHOW SECTION
       ============================================= */
  .hero-section {
    position: relative;
    height: 85vh;
    min-height: 650px;
    max-height: 1000px;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 10px;
    background: linear-gradient(135deg, 
      var(--color-bg-primary) 0%, 
      var(--color-bg-secondary) 50%, 
      var(--color-bg-primary) 100%);
  }
    
    .hero-slideshow {
      position: relative;
      width: 98%;
      max-width: 1600px;
      height: 95%;
      overflow: hidden;
      border-radius: 20px;
      box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08);
      border: 3px solid rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      transform: perspective(1000px) rotateX(0.5deg);
      transition: all var(--transition-normal);
    }
    
    .hero-slideshow:hover {
      transform: perspective(1000px) rotateX(0deg) scale(1.02);
      box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .slides {
      position: relative;
      height: 100%;
      width: 100%;
      border-radius: 17px;
      overflow: hidden;
    }
    
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    padding: 0;
    z-index: 1;
  }
  
  /* Ensure first slide is visible by default */
  .slide:first-child,
  .slide.active {
    opacity: 1;
    z-index: 2;
  }
    
    .slide.active {
      opacity: 1;
    }
    
    /* Full Width Background Image */
  .slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
  }
    
  .slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.2) contrast(1.1) saturate(1.05);
    display: block;
    image-rendering: optimizeQuality;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: all var(--transition-slow);
    transform: scale(1.0);
  }
  
  .hero-slideshow:hover .slide.active .slide-image img {
    transform: scale(1.02);
    filter: brightness(1.25) contrast(1.15) saturate(1.08);
  }
  
  /* Overlay removed for brighter images - using filter on images instead */
    
  .slide-content {
    position: relative;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    padding: 0;
    text-align: left;
    color: white;
    animation: fadeInUp 1s ease-out;
  }
    
    /* Hero Brand Logo */
    .brand-logo-small {
      margin-bottom: 30px;
      display: inline-block;
    }
    
    .brand-logo-small img {
      width: clamp(140px, 16vw, 200px);
      height: auto;
      object-fit: contain;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
      background: rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      padding: 12px;
    }
    
    .hero-fixed-text-corner {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      right: 50px; /* Default position for LTR */
      left: auto;
      max-width: 500px;
      max-height: 60vh;
      overflow-y: auto;
      background: rgb(0 0 0 /60%);
      padding: 20px 25px;
      border-radius: var(--border-radius);
      backdrop-filter: none;
      text-align: left;
      z-index: 10;
      border: 1px solid rgba(255, 255, 255, 0.6);
    }
    
    /* RTL positioning - right middle for Persian/Arabic */
    [dir="rtl"] .hero-fixed-text-corner {
      right: 50px;
      left: auto;
      text-align: right;
      /* Same size as LTR for consistency */
      max-width: 500px;
      padding: 20px 25px;
      max-height: 60vh;
    }
    
    /* LTR positioning - left middle for English */
    [dir="ltr"] .hero-fixed-text-corner {
      left: 50px;
      right: auto;
      text-align: left;
    }
    
    /* Scrollbar styling for overflow */
    .hero-fixed-text-corner::-webkit-scrollbar {
      width: 6px;
    }
    
    .hero-fixed-text-corner::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 3px;
    }
    
    .hero-fixed-text-corner::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.3);
      border-radius: 3px;
    }
    
    .hero-fixed-text-corner::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.5);
    }
    
    .hero-fixed-title-small {
      font-size: clamp(1.1rem, 1.5vw, 1.4rem);
      font-weight: 800;
      color: #f0ad42;
      margin-bottom: 8px;
      
    }
    
    .hero-fixed-lead-small {
      font-size: clamp(0.9rem, 1.2vw, 1.1rem);
      color: rgb(228, 197, 147);
      margin-bottom: 6px;
      line-height: 1.5;
      font-weight: 600;
      
    }
    
    .hero-fixed-desc-small {
      font-size: clamp(0.85rem, 1.1vw, 1rem);
      color: rgb(228, 197, 147);
      margin-bottom: 5px;
      line-height: 1.5;
      font-weight: 400;
      
    }
    
    .hero-fixed-slogan-small {
      font-size: clamp(0.85rem, 1.1vw, 1rem);
      color: rgb(228, 197, 147);
      margin-top: 8px;
      margin-bottom: 0;
      line-height: 1.6;
      font-weight: 500;
      font-style: italic;
     
      border-top: 1px solid rgba(0, 0, 0, 0.2);
      padding-top: 8px;
    }
    
    /* RTL text styling - same as LTR for consistency */
    [dir="rtl"] .hero-fixed-title-small {
      font-size: clamp(1rem, 1.5vw, 1.3rem);
      margin-bottom: 8px;
    }
    
    [dir="rtl"] .hero-fixed-lead-small {
      font-size: clamp(0.9rem, 1.2vw, 1.1rem);
      margin-bottom: 6px;
      line-height: 1.5;
    }
    
    [dir="rtl"] .hero-fixed-desc-small {
      font-size: clamp(0.85rem, 1.1vw, 1rem);
      margin-bottom: 5px;
      line-height: 1.5;
    }
    
    [dir="rtl"] .hero-fixed-slogan-small {
      font-size: clamp(0.85rem, 1.1vw, 1rem);
      margin-top: 8px;
      line-height: 1.6;
      padding-top: 8px;
    }
    
    /* Old fixed text - keep for compatibility */
    .hero-fixed-text {
      background: rgba(0, 0, 0, 0.4);
      padding: 25px 30px;
      border-radius: var(--border-radius-lg);
      margin: 30px 0;
      border: 2px solid rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(10px);
      text-align: center;
    }
    
    .hero-fixed-title {
      font-size: clamp(1.2rem, 2vw, 1.6rem);
      font-weight: 700;
      color: rgba(255, 255, 255, 0.95);
      margin-bottom: 12px;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    }
    
    .hero-fixed-subtitle {
      font-size: clamp(0.95rem, 1.4vw, 1.2rem);
      color: rgba(255, 255, 255, 0.9);
      line-height: 1.7;
      font-weight: 500;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
      font-style: italic;
    }
    
    /* World Class Text Box */
    .world-class-text {
      background: rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: var(--border-radius);
      margin: 25px 0;
      border-right: 4px solid var(--color-industrial);
      backdrop-filter: blur(10px);
    }
    
    [dir="rtl"] .world-class-text {
      border-right: none;
      border-left: 4px solid var(--color-industrial);
    }
    
    .world-class-text p:first-child {
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--color-industrial);
      margin-bottom: 10px;
      text-align: center;
    }
    
    .world-class-text p:last-child {
      font-size: 1rem;
      color: var(--color-text-secondary);
      line-height: 1.6;
      font-style: italic;
      text-align: center;
    }
    
    [data-theme="dark"] .world-class-text {
      background: rgba(0, 0, 0, 0.2);
    }
    
    /* Hero Typography */
  .hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  }
    
  .hero-lead {
    font-size: clamp(1rem, 1.8vw, 1.5rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    line-height: 1.7;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero-experience {
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero-projects {
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 18px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero-clients {
    font-size: clamp(0.85rem, 1.3vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  }
    
  .kicker {
    font-size: clamp(1.8rem, 2.5vw, 3rem);
    color: var(--color-industrial);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
  }
    
    /* Hero Actions */
    .hero-actions {
      display: flex;
      gap: 20px;
      margin-top: 30px;
    }
    
    /* Slide Controls */
    .slide-controls {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      align-items: center;
      gap: 25px;
      z-index: 3;
      background: rgba(255, 255, 255, 0.1);
      padding: 15px 25px;
      border-radius: 50px;
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .slide-prev,
    .slide-next {
      background: rgba(255, 255, 255, 0.9);
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-normal);
      color: var(--color-primary);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
      backdrop-filter: blur(10px);
    }

    /* Mobile-only smaller slide navigation buttons */
    @media (max-width: 768px) {
      .slide-prev,
      .slide-next {
        width: 25px;
        height: 25px;
      }
      
      .slide-prev .material-icons-outlined,
      .slide-next .material-icons-outlined {
        font-size: 14px;
      }
    }
    
    .slide-prev:hover,
    .slide-next:hover {
      background: var(--color-primary);
      color: white;
      transform: scale(1.15);
      border-color: var(--color-primary);
      box-shadow: 0 12px 35px rgba(0, 86, 179, 0.4);
    }
    
    .slide-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all var(--transition-normal);
      border: 2px solid transparent;
    }
    
    .slide-dot.active {
      background: rgba(255, 255, 255, 0.9);
      transform: scale(1.4);
      border-color: var(--color-primary);
      box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }
    
    .slide-dot:hover {
      background: rgba(255, 255, 255, 0.7);
      transform: scale(1.2);
    }
    
    /* =============================================
       PRODUCTS SECTION
       ============================================= */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 40px;
    margin-top: 60px;
  }
    
    .product-card {
      background: var(--color-surface);
      border-radius: var(--border-radius-lg);
      box-shadow: var(--shadow-industrial);
      transition: all var(--transition-slow);
      border: 2px solid transparent;
      position: relative;
      overflow: hidden;
      cursor: pointer;
      display: flex;
      flex-direction: column;
    }
    
    .product-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 5px;
      background: var(--gradient-industrial);
      transform: scaleX(0);
      transition: transform var(--transition-slow);
    }
    
    .product-card:hover::before {
      transform: scaleX(1);
    }
    
    .product-card:hover {
      transform: translateY(-15px) scale(1.02);
      box-shadow: var(--shadow-lift);
      border-color: var(--color-industrial);
    }
    
    .product-image {
      height: 320px;
      overflow: hidden;
      position: relative;
    }
    
    .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }
    
    .product-card:hover .product-image img {
      transform: scale(1.1);
    }
    
    .product-content {
      padding: 30px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    
  .product-card h3 {
    font-size: clamp(1.2rem, 1.5vw, 1.7rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--color-text-primary);
  }
    
  .product-card p {
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    flex: 1;
  }
    
    /* Product Features List */
    .product-features {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    
    .product-features li {
      padding: 8px 0;
      color: var(--color-text-secondary);
      position: relative;
      padding-left: 25px;
      font-size: 1rem;
      border-bottom: 1px solid var(--color-border);
    }
    
    .product-features li:last-child {
      border-bottom: none;
    }
    
    .product-features li::before {
      content: '⚙️';
      position: absolute;
      left: 0;
      font-size: 1.1rem;
    }
    
    [dir="rtl"] .product-features li {
      padding-left: 0;
      padding-right: 25px;
    }
    
    [dir="rtl"] .product-features li::before {
      left: auto;
      right: 0;
    }
    
    /* Product Actions */
    .product-actions {
      display: flex;
      gap: 12px;
      margin-top: 25px;
      padding-top: 20px;
      border-top: 1px solid var(--color-border);
    }
    
    .product-details-btn {
      background: var(--gradient-industrial);
      color: white;
      border: none;
      padding: 12px 20px;
      border-radius: var(--border-radius);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-normal);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      flex: 1;
      justify-content: center;
    }
    
    .product-details-btn:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    
    .product-page-link {
      background: var(--color-surface);
      color: var(--color-primary);
      border: 2px solid var(--color-primary);
      padding: 12px 20px;
      border-radius: var(--border-radius);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-normal);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.9rem;
      text-decoration: none;
      flex: 1;
      justify-content: center;
    }
    
    .product-page-link:hover {
      background: var(--color-primary);
      color: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    
    /* =============================================
       PROJECTS SECTION & CAROUSEL
       ============================================= */
    .projects-section {
      background: linear-gradient(135deg, var(--color-background) 0%, rgba(0, 129, 167, 0.05) 100%);
      position: relative;
    }
    
    .projects-carousel {
      position: relative;
      margin-top: 60px;
      overflow: hidden;
      border-radius: var(--border-radius-xl);
      background: var(--color-surface);
      padding: 40px;
      box-shadow: var(--shadow-industrial);
    }
    
    .carousel-track {
      display: flex;
      transition: transform var(--transition-slow);
      will-change: transform;
    }
    
    .project-item {
      flex: 0 0 calc(33.333% - 27px);
      min-width: 0;
      transition: transform var(--transition-normal);
      margin: 0 13.5px;
    }
    
    .project-image {
      position: relative;
      border-radius: var(--border-radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-heavy);
      height: 450px;
      cursor: pointer;
    }
    
    .project-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }
    
    .project-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
      color: white;
      padding: 40px 30px;
      transform: translateY(20px);
      opacity: 0;
      transition: all var(--transition-slow);
    }
    
    .project-item:hover .project-overlay {
      transform: translateY(0);
      opacity: 1;
    }
    
    .project-item:hover .project-image img {
      transform: scale(1.1);
    }
    
    .project-overlay h4 {
      font-size: 1.4rem;
      font-weight: 800;
      margin-bottom: 15px;
      color: white;
    }
    
    .project-overlay p {
      opacity: 0.9;
      margin-bottom: 20px;
      line-height: 1.6;
      font-size: 1rem;
    }
    
    .project-year {
      background: var(--color-industrial);
      padding: 8px 20px;
      border-radius: 25px;
      font-size: 0.9rem;
      font-weight: 700;
      display: inline-block;
    }
    
    /* Carousel Navigation */
    .carousel-prev,
    .carousel-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: var(--color-surface);
      border: 2px solid var(--color-border);
      border-radius: 50%;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-normal);
      color: var(--color-text-primary);
      box-shadow: var(--shadow-industrial);
      z-index: 2;
    }
    
    .carousel-prev {
      left: -30px;
    }
    
    .carousel-next {
      right: -30px;
    }
    
    [dir="rtl"] .carousel-prev {
      left: auto;
      right: -30px;
    }
    
    [dir="rtl"] .carousel-next {
      right: auto;
      left: -30px;
    }
    
    .carousel-prev:hover,
    .carousel-next:hover {
      background: var(--color-primary);
      color: white;
      transform: translateY(-50%) scale(1.1);
      border-color: var(--color-primary);
    }
    
    /* Carousel Dots */
    .carousel-dots {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 40px;
    }
    
    .carousel-dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--color-text-light);
      cursor: pointer;
      transition: all var(--transition-normal);
      border: 2px solid transparent;
    }
    
    .carousel-dot.active {
      background: var(--color-primary);
      transform: scale(1.3);
      border-color: var(--color-surface);
      box-shadow: 0 0 15px var(--color-primary);
    }
    
    /* =============================================
       ONGOING PROJECTS SECTION
       ============================================= */
    .ongoing-projects-section {
      background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
      padding: 80px 0;
      position: relative;
    }
    
    .ongoing-projects-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 2px;
      background: linear-gradient(90deg, #3b82f6, #10b981, #ef4444);
    }
    
    .ongoing-projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
      gap: 30px;
      margin-top: 50px;
    }
    
    .ongoing-project-card {
      background: white;
      border-radius: 20px;
      padding: 30px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      border: 1px solid #e2e8f0;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }
    
    .ongoing-project-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #3b82f6, #10b981);
    }
    
    .ongoing-project-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    }
    
    /* Project Status */
    .project-status {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }
    
    .status-badge {
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    .status-in-progress {
      background: rgba(34, 197, 94, 0.1);
      color: #16a34a;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }
    
    .status-planning {
      background: rgba(59, 130, 246, 0.1);
      color: #2563eb;
      border: 1px solid rgba(59, 130, 246, 0.3);
    }
    
    .progress-percent {
      font-size: 1.5rem;
      font-weight: 700;
      color: #3b82f6;
    }
    
    /* Project Content */
    .project-header {
      margin-bottom: 15px;
    }
    
    .project-header h3 {
      color: #1e293b;
      font-size: 1.3rem;
      margin-bottom: 8px;
      font-weight: 600;
    }
    
    .project-client {
      display: flex;
      align-items: center;
      gap: 8px;
      color: #64748b;
      font-size: 0.9rem;
    }
    
    .project-client .material-icons-outlined {
      font-size: 1rem;
    }
    
    .project-description {
      color: #64748b;
      line-height: 1.6;
      margin-bottom: 25px;
      font-size: 0.95rem;
    }
    
    /* Progress Bar */
    .project-progress {
      margin: 25px 0;
    }
    
    .progress-info {
      display: flex;
      justify-content: space-between;
      margin-bottom: 8px;
      font-size: 0.9rem;
      color: #64748b;
    }
    
    .progress-bar {
      width: 100%;
      height: 8px;
      background: #e2e8f0;
      border-radius: 10px;
      overflow: hidden;
    }
    
    .progress-fill {
      height: 100%;
      background: linear-gradient(90deg, #3b82f6, #10b981);
      border-radius: 10px;
      transition: width 0.8s ease;
    }
    
    /* Project Details */
    .project-details {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin: 25px 0;
    }
    
    .detail-item {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    
    .detail-item .material-icons-outlined {
      font-size: 1.2rem;
      color: #3b82f6;
      flex-shrink: 0;
    }
    
    .detail-content {
      display: flex;
      flex-direction: column;
    }
    
    .detail-label {
      font-size: 0.8rem;
      color: #94a3b8;
      margin-bottom: 2px;
    }
    
    .detail-value {
      font-size: 0.95rem;
      color: #1e293b;
      font-weight: 500;
    }
    
    /* Technology Tags */
    .project-tech {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 20px;
    }
    
    .tech-tag {
      background: #f1f5f9;
      color: #475569;
      padding: 4px 10px;
      border-radius: 12px;
      font-size: 0.8rem;
      border: 1px solid #e2e8f0;
    }
    
    /* Project Statistics */
    .project-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 30px;
      margin-top: 60px;
      padding: 40px;
      background: white;
      border-radius: 20px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    }
    
    .stat-item {
      text-align: center;
    }
    
    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      color: #3b82f6;
      margin-bottom: 8px;
    }
    
    .stat-label {
      color: #64748b;
      font-size: 0.9rem;
    }
    
    /* =============================================
       CLIENTS SECTION (Logo Grid)
       ============================================= */
    .clients-section {
      background: var(--color-surface);
      border-top: 3px solid var(--color-industrial);
      padding: 80px 0;
    }
    
    .clients-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 25px;
      margin-top: 50px;
    }
    
    .client-logo {
      background: var(--color-background);
      padding: 25px 20px;
      border-radius: var(--border-radius-lg);
      text-align: center;
      transition: all var(--transition-slow);
      border: 2px solid var(--color-border);
      position: relative;
      overflow: hidden;
      aspect-ratio: 1/1;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      min-height: 200px;
    }
    
    .client-logo::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: var(--gradient-industrial);
      opacity: 0.1;
      transition: left var(--transition-slow);
    }
    
    .client-logo:hover::before {
      left: 0;
    }
    
    .client-logo:hover {
      transform: translateY(-8px) scale(1.05);
      box-shadow: var(--shadow-heavy);
      border-color: var(--color-industrial);
    }
    
    /* Logo Container */
    .client-logo-container {
      width: 100%;
      height: 120px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
      padding: 15px;
      box-sizing: border-box;
    }
    
    .client-logo-container img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      filter: grayscale(1) brightness(0.7);
      transition: all var(--transition-slow);
    }
    
    .client-logo:hover .client-logo-container img {
      filter: grayscale(0) brightness(1);
      transform: scale(1.1);
    }
    
    .client-logo span {
      display: block;
      font-weight: 700;
      color: var(--color-text-primary);
      font-size: 0.95rem;
      position: relative;
      z-index: 1;
      text-align: center;
      line-height: 1.4;
      margin-top: auto;
    }
    
    /* Specific Logo Styles */
    .client-logo.foolad-logo .client-logo-container img {
      object-fit: cover;
      padding: 5px;
    }
    
    .client-logo.mapna-logo .client-logo-container img {
      object-fit: cover;
      padding: 8px;
    }
    
    .client-logo.mes-logo .client-logo-container img {
      object-fit: contain;
      padding: 10px;
    }
    
    .client-logo.khuz-logo .client-logo-container img {
      object-fit: cover;
      padding: 5px;
    }
    
    .client-logo.kms-logo .client-logo-container img {
      object-fit: cover;
      padding: 8px;
    }
    
    .client-logo.alvan-logo .client-logo-container img {
      object-fit: contain;
      padding: 12px;
    }
    
    .client-logo.rikht-logo .client-logo-container img {
      object-fit: contain;
      padding: 10px;
    }
    
    /* =============================================
       ABOUT US SECTION
       ============================================= */
    .about-section {
      background: linear-gradient(135deg, var(--color-background) 0%, rgba(46, 196, 182, 0.05) 100%);
    }
    
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: center;
    }
    
  .about-content h2 {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: var(--gradient-industrial);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
    
  .about-lead {
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    color: var(--color-industrial);
    font-weight: 700;
    margin-bottom: 35px;
  }
    
    .about-text {
      margin-bottom: 50px;
    }
    
  .about-text p {
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  }
    
    .stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 35px;
      margin-bottom: 40px;
    }
    
    .stat-item {
      text-align: center;
      background: var(--color-surface);
      padding: 30px 20px;
      border-radius: var(--border-radius-lg);
      box-shadow: var(--shadow-industrial);
      transition: all var(--transition-normal);
    }
    
    .stat-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-heavy);
    }
    
  .stat-number {
    display: block;
    font-size: clamp(2.2rem, 2.8vw, 3rem);
    font-weight: 900;
    color: var(--color-primary);
    margin-bottom: 10px;
  }
    
    .stat-label {
      font-size: 1rem;
      color: var(--color-text-secondary);
      font-weight: 700;
    }
    
    .about-image {
      position: relative;
    }
    
    .about-image img {
      width: 100%;
      border-radius: var(--border-radius-xl);
      box-shadow: var(--shadow-lift);
      border: 3px solid var(--color-surface);
    }
    
    /* =============================================
       CONTACT SECTION
       ============================================= */
    .contact-section {
      background: var(--color-surface);
      border-top: 3px solid var(--color-industrial);
    }
    
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      margin-top: 60px;
    }
    
    .contact-form-container {
      background: var(--color-background);
      padding: 50px 40px;
      border-radius: var(--border-radius-xl);
      box-shadow: var(--shadow-industrial);
      border: 2px solid var(--color-border);
    }
    
    .form-group {
      margin-bottom: 30px;
    }
    
  .form-group label {
    display: block;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    font-size: clamp(0.98rem, 1.05vw, 1.1rem);
  }
    
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-surface);
    color: var(--color-text-primary);
    font-size: clamp(0.98rem, 1.05vw, 1.05rem);
    transition: all var(--transition-normal);
    font-family: inherit;
  }
    
    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--color-primary);
      box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
      transform: translateY(-2px);
    }
    
    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 35px;
    }
    
    .info-item {
      display: flex;
      align-items: flex-start;
      gap: 20px;
      background: var(--color-background);
      padding: 30px 25px;
      border-radius: var(--border-radius-lg);
      box-shadow: var(--shadow-industrial);
      transition: all var(--transition-normal);
    }
    
    .info-item:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-heavy);
    }
    
    .info-item .material-icons-outlined {
      color: var(--color-primary);
      font-size: 28px;
      margin-top: 5px;
    }
    
    .info-item h4 {
      color: var(--color-text-primary);
      margin-bottom: 8px;
      font-size: 1.2rem;
      font-weight: 700;
    }
    
    .info-item p {
      color: var(--color-text-secondary);
      margin: 0;
      font-size: 1.1rem;
    }
    
    .contact-phone-link {
      color: var(--color-primary);
      text-decoration: none;
      font-size: 1.1rem;
      font-weight: 600;
      transition: all var(--transition-normal);
      display: inline-block;
    }
    
    .contact-phone-link:hover {
      color: var(--color-secondary);
      transform: translateX(3px);
    }
    
    [dir="rtl"] .contact-phone-link:hover {
      transform: translateX(-3px);
    }
    
    .map-buttons {
      display: flex;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 15px;
    }
    
    .neshan-btn {
      background: var(--color-secondary);
    }
    
    .neshan-btn:hover {
      background: var(--color-primary);
    }
    
    /* Map Styles */
    .map-container {
      border-radius: var(--border-radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-industrial);
      height: 300px;
      border: 2px solid var(--color-border);
      transition: all var(--transition-normal);
    }
    
    .map-container:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-heavy);
      border-color: var(--color-primary);
    }
    
    .map-container iframe {
      width: 100%;
      height: 100%;
      border: none;
    }
    
    .map-placeholder {
      background: var(--color-background);
      border-radius: var(--border-radius-lg);
      height: 220px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: var(--shadow-industrial);
      border: 3px dashed var(--color-border);
      transition: all var(--transition-normal);
    }
    
    .map-placeholder:hover {
      border-color: var(--color-primary);
      transform: translateY(-3px);
    }
    
    .map-overlay {
      text-align: center;
      color: var(--color-text-light);
    }
    
    .map-overlay .material-icons-outlined {
      font-size: 52px;
      margin-bottom: 15px;
      color: var(--color-text-light);
    }
    
    .map-overlay p {
      font-size: 1rem;
      font-weight: 600;
    }
    
    /* =============================================
       FOOTER STYLES
       ============================================= */
  .site-footer {
    background: var(--color-primary-dark);
    color: white;
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
  }
    
    .site-footer::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.05"><path d="M0 70l50 30 50-30 50 30 50-30 50 30 50-30 50 30 50-30 50 30 50-30 50 30 50-30 50 30 50-30 50 30 50-30v100H0z"/></svg>');
      background-size: cover;
    }
    
    .footer-content {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 50px;
      margin-bottom: 50px;
      position: relative;
      z-index: 1;
    }
    
    .footer-section .brand {
      margin-bottom: 25px;
    }
    
    .footer-section .brand-text h3 {
      color: white;
      -webkit-text-fill-color: white;
      background: none;
    }
    
    .footer-section .brand-text p {
      color: rgba(255, 255, 255, 0.8);
    }
    
    .footer-description {
      color: rgba(255, 255, 255, 0.8);
      line-height: 1.7;
      max-width: 400px;
      font-size: 1.1rem;
    }
    
    .footer-section h4 {
      color: white;
      margin-bottom: 25px;
      font-size: 1.3rem;
      font-weight: 700;
    }
    
    .footer-links {
      list-style: none;
      padding: 0;
    }
    
    .footer-links li {
      margin-bottom: 15px;
    }
    
    .footer-links a {
      color: rgba(255, 255, 255, 0.8);
      text-decoration: none;
      transition: all var(--transition-normal);
      font-size: 1.1rem;
    }
    
    .footer-links a:hover {
      color: white;
      transform: translateX(5px);
    }
    
    [dir="rtl"] .footer-links a:hover {
      transform: translateX(-5px);
    }
    
    .contact-details p {
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 15px;
      font-size: 1.1rem;
    }
    
    .team-members {
      list-style: none;
      padding: 0;
    }
    
    .team-members li {
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 12px;
      font-size: 1.1rem;
      padding-left: 20px;
      position: relative;
    }
    
    .team-members li::before {
      content: '👤';
      position: absolute;
      left: 0;
    }
    
    [dir="rtl"] .team-members li {
      padding-left: 0;
      padding-right: 20px;
    }
    
    [dir="rtl"] .team-members li::before {
      left: auto;
      right: 0;
    }
    
    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      padding-top: 30px;
      text-align: center;
      color: rgba(255, 255, 255, 0.7);
      font-size: 1rem;
      position: relative;
      z-index: 1;
    }
    
    /* Certificates Section in Footer */
    .certificates-section {
      text-align: center;
      margin: 40px 0;
      padding: 30px 0;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .certificates-section h4 {
      color: white;
      margin-bottom: 25px;
      font-size: 1.3rem;
    }
    
    .certificates-grid {
      display: flex;
      justify-content: center;
      gap: 30px;
      flex-wrap: wrap;
    }
    
    .certificate-item {
      text-align: center;
      background: rgba(255, 255, 255, 0.1);
      padding: 15px;
      border-radius: 10px;
      transition: all var(--transition-normal);
    }
    
    .certificate-item:hover {
      transform: translateY(-5px);
      background: rgba(255, 255, 255, 0.2);
    }
    
    .certificate-item img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border-radius: 8px;
      margin-bottom: 10px;
    }
    
    .certificate-item span {
      color: white;
      font-size: 0.9rem;
      display: block;
    }
    
    /* =============================================
       BUTTON STYLES
       ============================================= */
    .cta-button {
      background: var(--gradient-industrial);
      color: white;
      border: none;
      padding: 18px 42px;
      border-radius: var(--border-radius);
      font-weight: 800;
      font-size: 1.1rem;
      cursor: pointer;
      transition: all var(--transition-slow);
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      box-shadow: var(--shadow-industrial);
      position: relative;
      overflow: hidden;
    }
    
    .cta-button::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
      transition: left var(--transition-slow);
    }
    
    .cta-button:hover::before {
      left: 100%;
    }
    
    .cta-button:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: var(--shadow-heavy);
    }
    
    /* Button Variants */
    .cta-button.secondary {
      background: var(--color-surface);
      color: var(--color-primary);
      border: 2px solid var(--color-primary);
    }
    
    .cta-button.secondary:hover {
      background: var(--color-primary);
      color: white;
    }
    
    .cta-button.small {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
    
    /* =============================================
       TYPOGRAPHY & SECTION HEADERS
       ============================================= */
  h2 {
    font-size: clamp(2.4rem, 3.3vw, 3.2rem);
    font-weight: 900;
    text-align: center;
    margin-bottom: 20px;
    background: var(--gradient-industrial);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
    
  .section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: clamp(1.05rem, 1.25vw, 1.3rem);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 500;
    line-height: 1.6;
  }
    
    /* =============================================
       MODAL STYLES (Product Details)
       ============================================= */
    .product-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: 10000;
      display: none;
      opacity: 0;
      transition: opacity var(--transition-slow);
    }
    
    .product-modal.active {
      display: flex;
      opacity: 1;
    }
    
    .modal-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
    }
    
    .modal-container {
      position: relative;
      background: var(--color-surface);
      margin: auto;
      width: 90%;
      max-width: 1000px;
      max-height: 90vh;
      border-radius: var(--border-radius-xl);
      box-shadow: var(--shadow-lift);
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transform: scale(0.9);
      opacity: 0;
      transition: all var(--transition-slow);
    }
    
    .product-modal.active .modal-container {
      transform: scale(1);
      opacity: 1;
    }
    
    .modal-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 30px 40px 20px;
      border-bottom: 2px solid var(--color-border);
      background: var(--color-background);
    }
    
    .modal-header h2 {
      margin: 0;
      font-size: 2.2rem;
      background: var(--gradient-industrial);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-align: left;
    }
    
    [dir="rtl"] .modal-header h2 {
      text-align: right;
    }
    
    .modal-close {
      background: var(--color-surface);
      border: 2px solid var(--color-border);
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all var(--transition-normal);
      color: var(--color-text-primary);
    }
    
    .modal-close:hover {
      background: var(--color-error);
      color: white;
      border-color: var(--color-error);
      transform: rotate(90deg);
    }
    
    .modal-body {
      flex: 1;
      overflow-y: auto;
      padding: 0;
    }
    
    .product-modal-content {
      padding: 40px;
    }
    
    .product-hero {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
      margin-bottom: 40px;
    }
    
    .product-hero-image {
      position: relative;
      border-radius: var(--border-radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow-heavy);
    }
    
    .product-hero-image img {
      width: 100%;
      height: 350px;
      object-fit: cover;
      transition: transform var(--transition-slow);
    }
    
    .product-hero-image:hover img {
      transform: scale(1.05);
    }
    
    .product-hero-content h3 {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--color-text-primary);
      margin-bottom: 20px;
      line-height: 1.3;
    }
    
    .product-description-full {
      color: var(--color-text-secondary);
      line-height: 1.7;
      margin-bottom: 25px;
      font-size: 1.1rem;
    }
    
    .technical-specs {
      background: var(--color-background);
      padding: 25px;
      border-radius: var(--border-radius);
      margin: 20px 0;
      border-left: 4px solid var(--color-primary);
    }
    
    [dir="rtl"] .technical-specs {
      border-left: none;
      border-right: 4px solid var(--color-primary);
    }
    
    .technical-specs h4 {
      color: var(--color-primary);
      margin-bottom: 15px;
      font-size: 1.2rem;
    }
    
    .technical-specs ul {
      list-style: none;
      padding: 0;
    }
    
    .technical-specs li {
      padding: 8px 0;
      border-bottom: 1px solid var(--color-border);
      position: relative;
      padding-left: 25px;
      color: var(--color-text-secondary);
    }
    
    .technical-specs li:last-child {
      border-bottom: none;
    }
    
    .technical-specs li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--color-success);
      font-weight: bold;
    }
    
    [dir="rtl"] .technical-specs li {
      padding-left: 0;
      padding-right: 25px;
    }
    
    [dir="rtl"] .technical-specs li::before {
      left: auto;
      right: 0;
    }
    
    .key-features {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }
    
    .feature-item {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--color-text-primary);
      font-weight: 500;
    }
    
    .feature-item .material-icons-outlined {
      color: var(--color-success);
      font-size: 1.3rem;
    }
    
    .modal-footer {
      padding: 30px 40px;
      border-top: 2px solid var(--color-border);
      background: var(--color-background);
      display: flex;
      gap: 20px;
      justify-content: flex-end;
    }
    
    .modal-footer .cta-button {
      padding: 15px 30px;
      font-size: 1rem;
    }
    
    .contact-btn {
      background: var(--color-surface);
      color: var(--color-primary);
      border: 2px solid var(--color-primary);
      padding: 15px 30px;
      border-radius: var(--border-radius);
      font-weight: 600;
      cursor: pointer;
      transition: all var(--transition-normal);
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 1rem;
    }
    
    .contact-btn:hover {
      background: var(--color-primary);
      color: white;
      transform: translateY(-2px);
      box-shadow: var(--shadow-md);
    }
    
    /* =============================================
       ANIMATIONS & TRANSITIONS
       ============================================= */
    @keyframes slideInLeft {
      from {
        opacity: 0;
        transform: translateX(-80px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    
    @keyframes slideInRight {
      from {
        opacity: 0;
        transform: translateX(80px);
      }
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }
    
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    @keyframes modalSlideIn {
      from {
        transform: scale(0.9);
        opacity: 0;
      }
      to {
        transform: scale(1);
        opacity: 1;
      }
    }
    
    @keyframes carouselSlide {
      from {
        transform: translateX(0);
      }
      to {
        transform: translateX(-100%);
      }
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }
    
    /* Fade-in Animation Classes */
    .fade-me {
      opacity: 0;
      transform: translateY(40px);
      transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .fade-in {
      opacity: 1;
      transform: translateY(0);
    }
    
    body.loaded {
      animation: fadeIn 1s ease;
    }
    
    /* =============================================
       MOBILE RESPONSIVE STYLES
       ============================================= */
    
    /* Large Tablets & Small Desktops */
    @media (max-width: 1200px) {
      .container {
        padding: 0 25px;
      }
      
      .header-inner {
        gap: 12px;
      }
      
      .nav ul {
        gap: 5px;
      }
      
      .nav-link {
        padding: 8px 14px;
        font-size: 0.9rem;
      }
      
      .header-cta {
        gap: 10px;
      }
      
      .phone-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
      }
    }
    
    /* Tablets */
    @media (max-width: 992px) {
      .container {
        padding: 0 20px;
      }
      
      /* Hide main navigation on tablets and mobile */
      .nav {
        display: none;
      }
      
      /* Show hamburger menu */
      .nav-toggle {
        display: flex !important;
      }
      
      /* Adjust header spacing */
      .header-inner {
        gap: 8px;
      }
      
      .brand-logo-img {
        width: 50px;
        height: 50px;
      }
      
      .brand-text h1 {
        font-size: clamp(14px, 2.5vw, 18px);
      }
      
      .brand-text p {
        font-size: clamp(10px, 1.8vw, 12px);
      }
      
      /* Hero section adjustments */
      .hero-section {
        height: 70vh;
        min-height: 500px;
      }
      
      .hero-fixed-text-corner {
        right: 20px;
        bottom: 30px;
        max-width: 400px;
        padding: 15px 20px;
      }
      
      /* Grid adjustments */
      .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
      }
      
      .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      
      .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      
      .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
      }
      
      .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
      }
    }
    
    /* Mobile Landscape */
    @media (max-width: 768px) {
      :root {
        --header-height: 70px;
      }
      
      .container {
        padding: 0 15px;
      }
      
      .section-gap {
        padding: 60px 0;
      }
      
      /* Mobile header adjustments */
      .header-inner {
        padding: 10px 0;
        gap: 6px;
      }
      
      .brand {
        gap: 8px;
      }
      
      .brand-logo-img {
        width: 32px;
        height: 32px;
      }
      
      .brand-text h1 {
        font-size: clamp(10px, 2.5vw, 14px);
      }
      
      .brand-text p {
        font-size: clamp(8px, 2vw, 10px);
      }
      
      /* Header CTA mobile layout */
      .header-cta {
        gap: 4px;
      }
      
      /* Hide desktop language switcher, show mobile dropdown */
      .lang-switcher {
        display: none !important;
      }
      
      .lang-dropdown {
        display: flex !important;
        flex-shrink: 0;
      }
      
      .lang-toggle {
        padding: 5px 7px;
        min-width: 44px;
        gap: 3px;
      }
      
      .current-lang-flag {
        width: 16px;
        height: 16px;
      }
      
      .lang-toggle .material-icons-outlined {
        font-size: 12px;
      }
      
      .lang-menu {
        min-width: 110px;
        right: 0;
      }
      
      .lang-option {
        padding: 6px 10px;
        gap: 5px;
      }
      
      .lang-option img {
        width: 16px;
        height: 16px;
      }
      
      .lang-option span {
        font-size: 0.75rem;
      }
      
      /* Theme toggle smaller */
      .theme-toggle {
        width: 26px;
        height: 26px;
      }
      
      .theme-toggle .material-icons-outlined {
        font-size: 14px;
      }
      
      /* Phone button mobile */
      .phone-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
        gap: 3px;
      }
      
      .phone-btn .material-icons-outlined {
        font-size: 12px;
      }
      
      /* Make sure hamburger is visible */
      .nav-toggle {
        display: flex !important;
        padding: 6px;
        width: 36px;
        height: 36px;
      }
      
      .nav-toggle .material-icons-outlined {
        font-size: 18px;
      }
      
      /* Hero section mobile */
      .hero-section {
        height: 60vh;
        min-height: 400px;
      }
      
      /* Mobile hero section layout */
      .hero-section {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: auto;
      }
      
      .hero-slideshow {
        height: 40vh;
        min-height: 300px;
      }
      
      /* Hide desktop text overlay on mobile */
      .hero-fixed-text-corner {
        display: none !important;
      }
      
      /* Show mobile text section below slideshow */
      .hero-mobile-text {
        display: block;
        background: var(--color-surface);
        border-top: 3px solid var(--color-primary);
        padding: 25px 0;
        box-shadow: var(--shadow-md);
        order: 2;
      }
      
      .hero-mobile-content {
        max-width: 100%;
        margin: 0;
      }
      
      /* RTL alignment for mobile */
      [dir="rtl"] .hero-mobile-content {
        text-align: right;
      }
      
      /* LTR alignment for mobile */
      [dir="ltr"] .hero-mobile-content {
        text-align: left;
      }
      
      .hero-mobile-title {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        font-weight: 700;
        color: var(--color-primary);
        margin-bottom: 12px;
        line-height: 1.3;
      }
      
      .hero-mobile-lead {
        font-size: clamp(0.95rem, 3vw, 1.2rem);
        color: var(--color-text-secondary);
        margin-bottom: 15px;
        font-weight: 600;
        line-height: 1.4;
      }
      
      .hero-mobile-details p {
        font-size: clamp(0.85rem, 2.5vw, 1rem);
        color: var(--color-text-secondary);
        margin-bottom: 8px;
        line-height: 1.5;
      }
      
      .hero-mobile-slogan {
        font-size: clamp(0.9rem, 2.8vw, 1.1rem);
        color: var(--color-industrial);
        font-weight: 600;
        font-style: italic;
        margin-top: 15px;
        padding-top: 15px;
        border-top: 2px solid var(--color-border);
        line-height: 1.6;
      }
      
      /* Products grid mobile */
      .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }
      
      .product-actions {
        flex-direction: column;
        gap: 10px;
      }
      
      /* Projects carousel mobile */
      .project-item {
        flex: 0 0 100%;
        margin: 0;
      }
      
      .carousel-prev,
      .carousel-next {
        width: 50px;
        height: 50px;
      }
      
      .carousel-prev {
        left: 10px;
      }
      
      .carousel-next {
        right: 10px;
      }
      
      /* Contact form mobile */
      .contact-form-container {
        padding: 30px 20px;
      }
      
      /* Map buttons mobile layout */
      /* Contact Us Map Buttons - Mobile Optimization */
      .map-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 0 5px;
        margin-top: 5px;
        box-sizing: border-box;
      }
      
      .map-buttons .cta-button {
        width: 100%;
        min-height: 50px;
        padding: 12px 20px;
        font-size: 0.9rem;
        font-weight: 600;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        box-sizing: border-box;
        border-radius: 8px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        position: relative;
        z-index: 1;
      }
      
      /* Google Maps button styling */
      .map-buttons .cta-button.primary {
        background: linear-gradient(135deg, #4285f4, #34a853);
        color: white;
        border: none;
        margin-bottom: 0;
        box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
      }
      
      .map-buttons .cta-button.primary:hover,
      .map-buttons .cta-button.primary:active {
        background: linear-gradient(135deg, #3367d6, #2d8c47);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
      }
      
      /* Neshan button styling */
      .map-buttons .cta-button.small,
      .map-buttons .neshan-btn {
        background: linear-gradient(135deg, #00c851, #00a844);
        color: white;
        border: none;
        margin-top: 0;
        min-height: 45px;
        padding: 10px 15px;
        font-size: 0.9rem;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(0, 200, 81, 0.3);
      }
      
      .map-buttons .cta-button.small:hover,
      .map-buttons .cta-button.small:active,
      .map-buttons .neshan-btn:hover,
      .map-buttons .neshan-btn:active {
        background: linear-gradient(135deg, #00a844, #008f36);
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 200, 81, 0.4);
      }
      
      /* Touch feedback */
      .map-buttons .cta-button:active {
        transform: translateY(0px) scale(0.98);
        transition: all 0.1s ease;
      }
      
      /* Additional mobile optimizations for Contact section */
      .contact-info {
        margin-bottom: 25px;
      }
      
      .contact-info .contact-item {
        margin-bottom: 20px;
      }
      
      .contact-info .contact-item:last-child {
        margin-bottom: 0;
      }
      
      /* Ensure proper spacing before map buttons */
      .contact-info .map-buttons {
        margin-top: 25px;
        margin-bottom: 20px;
      }
      
      /* Improve text readability on mobile */
      .contact-info p {
        line-height: 1.6;
        margin-bottom: 10px;
      }
      
      /* Map button focus states for accessibility */
      .map-buttons .cta-button:focus {
        outline: 3px solid rgba(66, 133, 244, 0.4);
        outline-offset: 2px;
      }
      
      .map-buttons .neshan-btn:focus,
      .map-buttons .cta-button.small:focus {
        outline: 3px solid rgba(0, 200, 81, 0.4);
        outline-offset: 2px;
      }
    }
    
    /* Mobile Portrait */
    @media (max-width: 576px) {
      :root {
        --header-height: 65px;
      }
      
      .container {
        padding: 0 12px;
      }
      
      .section-gap {
        padding: 40px 0;
      }
      
      /* Very small mobile header */
      .header-inner {
        padding: 8px 0;
        gap: 4px;
      }
      
      .brand {
        gap: 6px;
      }
      
      .brand-logo-img {
        width: 28px;
        height: 28px;
      }
      
      .brand-text h1 {
        font-size: clamp(9px, 3vw, 12px);
      }
      
      .brand-text p {
        font-size: clamp(7px, 2vw, 9px);
      }
      
      /* Compact header CTA */
      .header-cta {
        gap: 2px;
      }
      
      /* Ultra compact language dropdown for mobile portrait */
      .lang-toggle {
        padding: 3px 5px;
        min-width: 36px;
        gap: 2px;
      }
      
      .current-lang-flag {
        width: 14px;
        height: 14px;
      }
      
      .lang-toggle .material-icons-outlined {
        font-size: 10px;
      }
      
      .lang-menu {
        min-width: 100px;
        padding: 4px 0;
      }
      
      .lang-option {
        padding: 5px 8px;
        gap: 4px;
      }
      
      .lang-option img {
        width: 14px;
        height: 14px;
      }
      
      .lang-option span {
        font-size: 0.7rem;
      }
      
      .theme-toggle {
        width: 22px;
        height: 22px;
      }
      
      .theme-toggle .material-icons-outlined {
        font-size: 12px;
      }
      
      .phone-btn {
        padding: 3px 6px;
        font-size: 0.6rem;
        gap: 2px;
      }
      
      .phone-btn .material-icons-outlined {
        font-size: 11px;
      }
      
      .nav-toggle {
        padding: 4px;
        width: 30px;
        height: 30px;
      }
      
      .nav-toggle .material-icons-outlined {
        font-size: 16px;
      }
      
      /* Hero mobile portrait */
      .hero-section {
        height: 50vh;
        min-height: 350px;
      }
      
      /* Mobile portrait hero adjustments */
      .hero-slideshow {
        height: 35vh;
        min-height: 250px;
      }
      
      .hero-mobile-text {
        padding: 20px 0;
      }
      
      .hero-mobile-title {
        font-size: clamp(1.1rem, 4.5vw, 1.4rem);
        margin-bottom: 10px;
      }
      
      .hero-mobile-lead {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 12px;
      }
      
      .hero-mobile-details p {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
        margin-bottom: 6px;
      }
      
      .hero-mobile-slogan {
        font-size: clamp(0.85rem, 3.2vw, 1rem);
        margin-top: 12px;
        padding-top: 12px;
      }
      
      .hero-fixed-title-small {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
      }
      
      .hero-fixed-lead-small,
      .hero-fixed-desc-small,
      .hero-fixed-slogan-small {
        font-size: clamp(0.8rem, 3vw, 0.95rem);
      }
      
      /* Slide controls mobile */
      .slide-controls {
        bottom: 20px;
        gap: 20px;
      }
      
      .slide-prev,
      .slide-next {
        width: 40px;
        height: 40px;
      }
      
      .slide-prev .material-icons-outlined,
      .slide-next .material-icons-outlined {
        font-size: 20px;
      }
      
      /* Grid layouts mobile */
      .products-grid {
        gap: 15px;
      }
      
      .product-card {
        margin-bottom: 20px;
      }
      
      .product-image {
        height: 250px;
      }
      
      .product-content {
        padding: 20px;
      }
      
      .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
      }
      
      .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
      }
      
      .client-logo {
        min-height: 160px;
        padding: 15px 10px;
      }
      
      .client-logo-container {
        height: 80px;
      }
      
      /* Form mobile */
      .contact-form-container {
        padding: 20px 15px;
      }
      
      .form-group {
        margin-bottom: 20px;
      }
      
      .info-item {
        padding: 20px 12px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
      }
      
      /* Factory location specific mobile adjustments */
      .info-item:last-child {
        padding: 20px 10px;
      }
      
      .info-item:last-child .map-buttons {
        padding: 0;
        gap: 10px;
      }
      
      .info-item:last-child .map-buttons .cta-button {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-height: 40px;
      }
      
      .map-container {
        height: 200px;
      }
    }

    /* =============================================
       NOTIFICATION STYLES
       ============================================= */
    .notification {
      position: fixed;
      top: 100px;
      right: 30px;
      background: var(--color-success);
      color: white;
      padding: 20px 25px;
      border-radius: 12px;
      box-shadow: var(--shadow-heavy);
      z-index: 10000;
      display: flex;
      align-items: center;
      gap: 20px;
      max-width: 450px;
      transform: translateX(400px);
      opacity: 0;
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      font-weight: 600;
      border-left: 5px solid rgba(255, 255, 255, 0.3);
    }
    
    .notification.show {
      transform: translateX(0);
      opacity: 1;
    }
    
    .notification.error {
      background: var(--color-error);
    }
    
    .notification.info {
      background: var(--color-primary);
    }
    
    .notification-close {
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      padding: 0;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: background var(--transition-normal);
    }
    
    .notification-close:hover {
      background: rgba(255, 255, 255, 0.2);
    }
    
    .theme-transition * {
      transition: background-color var(--transition-slow), color var(--transition-slow), border-color var(--transition-slow) !important;
    }
    
    /* =============================================
       RESPONSIVE DESIGN - TABLET (992px and down)
       ============================================= */
    @media (max-width: 1200px) {
    /* در این بازه (مثلاً لپ‌تاپ 15 اینچ) فقط کمی کوچک‌تر می‌کنیم ولی چیدمان دسکتاپ حفظ می‌شود */
    .container {
      padding: 0 24px;
    }
  
    .nav-link {
      padding: 8px 14px;
      font-size: 0.9rem;
    }
  
    .phone-btn {
      padding: 8px 16px;
    }
  
    .hero-section {
      height: 80vh;
      min-height: 580px;
    }
    
    .hero-fixed-text-corner {
      bottom: 40px;
      max-width: 480px;
    }
  
    .slide-content {
      padding: 50px 35px;
      max-width: 900px;
    }
    
    .hero-title {
      font-size: clamp(2.2rem, 3.5vw, 3rem);
    }
    
    .hero-lead {
      font-size: clamp(1rem, 1.6vw, 1.3rem);
    }
  }
  
    @media (max-width: 992px) {
    /* تبلت 9 اینچ: ساختار دو ستونه حفظ می‌شود، فقط مقیاس کوچک‌تر می‌شود */
    .container {
      padding: 0 22px;
    }
  
    .nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--color-surface);
      padding: 20px;
      border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
      box-shadow: var(--shadow-lift);
      border: 2px solid var(--color-border);
    }
  
    .nav.active {
      display: block;
    }
  
    .nav ul {
      flex-direction: column;
      gap: 12px;
    }
  
    .nav-toggle {
      display: block;
    }
    
    /* Tablet Hero Adjustments */
    .hero-section {
      height: 75vh;
      min-height: 550px;
    }
    
    .hero-fixed-text-corner {
      bottom: 35px;
      left: 20px;
      max-width: 450px;
      max-height: 60vh;
    }
    
    [dir="rtl"] .hero-fixed-text-corner {
      left: auto;
      right: 20px;
    }
    
    .slide-content {
      padding: 50px 30px 80px;
      max-width: 800px;
    }
    
    .hero-title {
      font-size: clamp(1.8rem, 3vw, 2.5rem);
      margin-bottom: 20px;
    }
    
    .hero-lead {
      font-size: clamp(0.95rem, 1.5vw, 1.2rem);
      margin-bottom: 16px;
    }
    
    .hero-description {
      font-size: clamp(0.9rem, 1.4vw, 1.1rem);
      margin-bottom: 14px;
    }
    
    .hero-experience {
      font-size: clamp(0.85rem, 1.3vw, 1rem);
      margin-bottom: 14px;
    }
    
    .hero-projects {
      font-size: clamp(0.85rem, 1.3vw, 1rem);
      margin-bottom: 14px;
    }
    
    .hero-clients {
      font-size: clamp(0.8rem, 1.2vw, 0.95rem);
      margin-bottom: 25px;
    }
    
    .brand-logo-small img {
      width: clamp(130px, 15vw, 180px);
    }
    
    .hero-fixed-text {
      padding: 22px 25px;
      margin: 28px 0;
    }
    
    .hero-fixed-title {
      font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    }
    
    .hero-fixed-subtitle {
      font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    }
  
    .phone-btn {
      display: none;
    }
  
    .slide {
      padding: 40px 16px;
    }
  
    .slide-image img {
      height: 450px;
    }
  
    .about-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }
  
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }
  
    .footer-content {
      grid-template-columns: 2fr 1fr 1fr;
      gap: 40px;
    }
  
    .products-grid {
      grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }
    
    .product-image {
      height: 300px;
    }
  
    .product-hero {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }
    
    /* =============================================
       RESPONSIVE DESIGN - MOBILE (768px and down)
       ============================================= */
    @media (max-width: 768px) {
      .container {
        padding: 0 5vw;
      }
      
      /* Mobile Header Adjustments */
      .header-inner {
        padding: 10px 0;
      }
      
      .brand-logo-img {
        width: 12vw;
        height: 12vw;
        margin-right: 8px;
      }
      
      .brand-text h1 {
        font-size: 4vw;
      }
      
      .brand-text p {
        font-size: 2.5vw;
      }
      
      .header-cta {
        gap: 2vw;
      }
      
      .theme-toggle {
        width: 10vw;
        height: 10vw;
        min-width: 44px;
        min-height: 44px;
      }
      
      .lang-switcher {
        padding: 1.5vw;
      }
      
      .lang-flag {
        width: 8vw;
        height: 8vw;
        min-width: 36px;
        min-height: 36px;
      }
      
      .nav-toggle {
        padding: 2.5vw;
        width: auto;
        height: auto;
        min-width: 44px;
        min-height: 44px;
      }
      
      /* Mobile Hero Slideshow Adjustments */
      .hero-section {
        height: 75vh;
        min-height: 500px;
      }
      
      .hero-slideshow {
        position: relative;
        height: 100%;
      }
      
      .slides {
        position: relative;
        height: 100%;
      }
      
      .slide {
        padding: 0;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: flex-start;
        opacity: 0;
        transition: opacity var(--transition-slow);
        z-index: 0;
      }
      
      .slide.active {
        opacity: 1;
        position: relative;
        z-index: 1;
      }
      
      .slide-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
      }
      
      .slide-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }
      
      .slide-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, 
          rgba(0, 0, 0, 0.5) 0%, 
          rgba(0, 0, 0, 0.3) 50%, 
          rgba(248, 250, 252, 0.85) 80%,
          #f8fafc 100%
        );
        z-index: 1;
      }
      
      [data-theme="dark"] .slide-overlay {
        background: linear-gradient(180deg, 
          rgba(0, 0, 0, 0.5) 0%, 
          rgba(0, 0, 0, 0.3) 50%, 
          rgba(2, 6, 23, 0.85) 80%,
          #020617 100%
        );
      }
      
      .slide-content {
        position: relative;
        z-index: 2;
        padding: 5vh 5vw 10vh;
        max-width: 100%;
        margin-top: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 8vh;
        width: 100%;
      }
      
      .brand-logo-small {
        margin-bottom: 2vh;
      }
      
      .brand-logo-small img {
        width: 20vw;
        height: auto;
        max-width: 100px;
      }
      
      .hero-fixed-text {
        padding: 3vh 4vw;
        margin: 2vh 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
      }
      
      .hero-fixed-text-corner {
        bottom: 40vh;
        left: 5vw;
        right: 5vw;
        max-width: calc(100% - 10vw);
        max-height: 40vh;
        padding: 2vh 3vw;
        overflow-y: auto;
        font-size: 2vw;
      }
      
      [dir="rtl"] .hero-fixed-text-corner {
        right: 5vw;
        left: 5vw;
      }
      
      .hero-fixed-title-small {
        font-size: 2.5vw !important;
        margin-bottom: 1vh;
        line-height: 1.25;
      }
      
      .hero-fixed-lead-small {
        font-size: 2.2vw !important;
        margin-bottom: 0.8vh;
        line-height: 1.25;
      }
      
      .hero-fixed-desc-small {
        font-size: 2vw !important;
        margin-bottom: 0.6vh;
        line-height: 1.25;
      }
      
      .hero-fixed-slogan-small {
        font-size: 2vw !important;
        margin-top: 1vh;
        padding-top: 1vh;
        line-height: 1.3;
      }
      
      .hero-fixed-title {
        font-size: 3vw !important;
        margin-bottom: 1.5vh;
      }
      
      .hero-fixed-subtitle {
        font-size: 2.5vw !important;
        line-height: 1.5;
      }
      
      .map-buttons {
        flex-direction: column;
        gap: 2vh;
      }
      
      .hero-title {
        font-size: 5vw !important;
        margin-bottom: 2vh;
        line-height: 1.3;
      }
      
      .hero-lead {
        font-size: 3.5vw !important;
        margin-bottom: 2vh;
        line-height: 1.5;
      }
      
      .hero-description {
        font-size: 3vw !important;
        margin-bottom: 1.5vh;
        line-height: 1.4;
      }
      
      .hero-experience {
        font-size: 2.8vw !important;
        margin-bottom: 1.5vh;
        line-height: 1.4;
      }
      
      .hero-projects {
        font-size: 2.8vw !important;
        margin-bottom: 1.5vh;
        line-height: 1.4;
      }
      
      .hero-clients {
        font-size: 2.5vw !important;
        margin-bottom: 3vh;
        line-height: 1.4;
      }
      
      .hero-actions {
        flex-direction: column;
        gap: 2vh;
        margin-top: 3vh;
      }
      
      .cta-button {
        padding: 2vh 5vw;
        font-size: 3.5vw;
      }
      
      .slide-controls {
        bottom: 5vh;
        gap: 4vw;
      }
      
      .slide-prev,
      .slide-next {
        width: 10vw;
        height: 10vw;
        min-width: 50px;
        min-height: 50px;
      }
      
      /* Mobile Projects Carousel - Single Item */
      .projects-carousel {
        padding: 4vh 3vw;
        margin-top: 4vh;
      }
      
      .carousel-track {
        display: flex;
        transition: transform 0.5s ease;
      }
      
      .project-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100%;
        margin: 0 1vw;
      }
      
      .project-image {
        height: 40vh;
      }
      
      .project-overlay {
        padding: 3vh 4vw;
        transform: translateY(0);
        opacity: 1;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
      }
      
      .project-overlay h4 {
        font-size: 4vw;
        margin-bottom: 1.5vh;
      }
      
      .project-overlay p {
        font-size: 3vw;
        margin-bottom: 2vh;
      }
      
      .carousel-dots {
        display: none;
      }
      
      .carousel-prev,
      .carousel-next {
        width: 10vw;
        height: 10vw;
        min-width: 45px;
        min-height: 45px;
        background: rgba(255, 255, 255, 0.9);
        border: 2px solid var(--color-border);
      }
      
      .carousel-prev {
        left: 2vw;
      }
      
      .carousel-next {
        right: 2vw;
      }
      
      [dir="rtl"] .carousel-prev {
        left: auto;
        right: 2vw;
      }
      
      [dir="rtl"] .carousel-next {
        right: auto;
        left: 2vw;
      }
      
      /* General Mobile Styles */
      .products-grid {
        grid-template-columns: 1fr;
      }
      
      .stats-grid {
        grid-template-columns: 1fr;
        gap: 3vh;
      }
      
      .header-cta {
        gap: 3vw;
      }
      
      .lang-switcher {
        padding: 1.5vw;
      }
      
      .theme-toggle {
        width: 10vw;
        height: 10vw;
      }
      
      .footer-content {
        grid-template-columns: 1fr;
      }
      
      h2 {
        font-size: 6vw;
      }
      
      .section-subtitle {
        font-size: 3.5vw;
      }
      
      .ongoing-projects-grid {
        grid-template-columns: 1fr;
        gap: 3vh;
      }
      
      .ongoing-project-card {
        padding: 4vh 5vw;
      }
      
      .project-status {
        flex-direction: column;
        align-items: flex-start;
        gap: 2vh;
      }
      
      .project-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 4vh 5vw;
      }
      
      .stat-number {
        font-size: 5vw;
      }
      
      .product-actions {
        flex-direction: column;
      }
      
      .modal-container {
        width: 95%;
        max-height: 95vh;
      }
      
      .modal-header {
        padding: 3vh 5vw 2vh;
      }
      
      .modal-header h2 {
        font-size: 5vw;
      }
      
      .product-modal-content {
        padding: 4vh 5vw;
      }
      
      .modal-footer {
        padding: 3vh 5vw;
        flex-direction: column;
      }
      
      /* Clients Section Mobile */
      .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
        gap: 3vw;
      }
      
      .client-logo {
        min-height: 25vh;
        padding: 3vh 3vw;
      }
      
      .client-logo-container {
        height: 15vh;
        padding: 2vh;
      }
      
      .client-logo span {
        font-size: 3vw;
      }
    }
    
   /* =============================================
    RESPONSIVE DESIGN - SMALL MOBILE (480px and down)
    ============================================= */
  @media (max-width: 480px) {
   .hero-section {
     height: 70vh;
     min-height: 450px;
   }
   
   .hero-slideshow {
     height: 100%;
   }
   
   .slides {
     height: 100%;
   }
   
   .slide-image {
     height: 100%;
   }
   
   .slide-content {
     padding: 5vh 4vw 10vh;
     padding-top: 8vh;
     min-height: 100vh;
   }
   
   .brand-logo-small img {
     width: 25vw;
   }
   
   .hero-fixed-text-corner {
    bottom: 45vh;
     left: 4vw;
     right: 4vw;
     max-width: calc(100% - 8vw);
     max-height: 35vh;
     padding: 2vh 3vw;
     overflow-y: auto;
     font-size: 2.2vw;
     position: absolute;
     z-index: 10;
   }
   
   [dir="rtl"] .hero-fixed-text-corner {
     right: 4vw;
     left: 4vw;
   }
   
   .hero-fixed-title-small {
     font-size: 3vw !important;
     margin-bottom: 0.8vh;
     line-height: 1.2;
   }
   
   .hero-fixed-lead-small {
     font-size: 2.8vw !important;
     margin-bottom: 0.6vh;
     line-height: 1.2;
   }
   
   .hero-fixed-desc-small {
     font-size: 2.5vw !important;
     margin-bottom: 0.4vh;
     line-height: 1.2;
   }
   
   .hero-fixed-slogan-small {
     font-size: 2.5vw !important;
     margin-top: 0.8vh;
     padding-top: 0.8vh;
     line-height: 1.25;
   }
   
   .hero-fixed-title {
     font-size: 3.5vw !important;
     margin-bottom: 1.5vh;
   }
   
   .hero-fixed-subtitle {
     font-size: 3vw !important;
     line-height: 1.4;
   }
   
   .products-grid {
     grid-template-columns: 1fr;
   }
   
   .product-image {
     height: 35vh;
   }
   
   .hero-title {
     font-size: 6vw !important;
     margin-bottom: 2vh;
     line-height: 1.3;
   }
   
   .hero-lead {
     font-size: 4vw !important;
     margin-bottom: 2vh;
     line-height: 1.4;
   }
   
   .hero-description {
     font-size: 3.5vw !important;
     margin-bottom: 1.5vh;
     line-height: 1.4;
   }
   
   .hero-experience {
     font-size: 3.2vw !important;
     margin-bottom: 1.5vh;
     line-height: 1.4;
   }
   
   .hero-projects {
     font-size: 3.2vw !important;
     margin-bottom: 2vh;
     line-height: 1.4;
   }
   
   .hero-clients {
     font-size: 3vw !important;
     margin-bottom: 3vh;
     line-height: 1.4;
   }
   
   .brand-logo-small img {
     width: 30vw;
     height: auto;
   }
   
   .section-gap {
     padding: 8vh 0;
   }
   
   /* Reduce gap after hero section on mobile */
   #products.section-gap {
     padding-top: 4vh;
   }
   
   .contact-form-container {
     padding: 5vh 4vw;
   }
   
   .info-item {
     padding: 4vh 4vw;
   }
   
   .slide-controls {
     bottom: 5vh;
   }
   
   .product-card {
     padding: 0;
   }
   
   .product-content {
     padding: 3vh 4vw;
   }
   
   .notification {
     right: 4vw;
     left: 4vw;
     max-width: none;
   }
   
   .project-stats {
     grid-template-columns: 1fr;
   }
   
   .modal-header {
     padding: 2.5vh 4vw 2vh;
   }
   
   .modal-header h2 {
     font-size: 5.5vw;
   }
   
   .modal-close {
     width: 10vw;
     height: 10vw;
     min-width: 40px;
     min-height: 40px;
   }
   
   .product-modal-content {
     padding: 3vh 4vw;
   }
   
   .product-hero-image img {
     height: 25vh;
   }
   
   .product-hero-content h3 {
     font-size: 4.5vw;
   }
   
   .modal-footer {
     padding: 2.5vh 4vw;
   }
   
   /* Projects Carousel Small Mobile */
   .project-item {
     margin: 0 1vw;
   }
   
   .project-image {
     height: 35vh;
   }
   
   .project-overlay {
     padding: 3vh 3vw;
   }
   
   .project-overlay h4 {
     font-size: 4.5vw;
   }
   
   .project-overlay p {
     font-size: 3.5vw;
   }
   
   .carousel-prev,
   .carousel-next {
     width: 12vw;
     height: 12vw;
     min-width: 40px;
     min-height: 40px;
   }
   
   .carousel-prev {
     left: 1vw;
   }
   
   .carousel-next {
     right: 1vw;
   }
   
   /* Clients Section Small Mobile */
   .clients-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 3vw;
   }
   
   .client-logo {
     min-height: 20vh;
     padding: 2.5vh 3vw;
   }
   
   .client-logo-container {
     height: 12vh;
     padding: 1.5vh;
   }
   }
    
    /* =============================================
       DARK MODE SPECIFIC STYLES
       ============================================= */
    [data-theme="dark"] .product-details-btn {
      background: var(--gradient-industrial);
    }
    
    [data-theme="dark"] .product-page-link {
      background: var(--color-surface);
      color: var(--color-primary);
      border-color: var(--color-primary);
    }
    
    [data-theme="dark"] .product-page-link:hover {
      background: var(--color-primary);
      color: var(--color-surface);
    }
    
    [data-theme="dark"] .modal-container {
      background: var(--color-surface);
      border: 1px solid var(--color-border);
    }
    
    [data-theme="dark"] .modal-header {
      background: var(--color-background);
      border-bottom-color: var(--color-border);
    }
    
    [data-theme="dark"] .technical-specs {
      background: var(--color-surface);
      border-color: var(--color-primary);
    }
    
    /* Dark Mode Support for Ongoing Projects */
    @media (prefers-color-scheme: dark) {
      .ongoing-projects-section {
        background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
      }
      
      .ongoing-project-card {
        background: #334155;
        border-color: #475569;
      }
      
      .project-header h3 {
        color: #f1f5f9;
      }
      
      .project-description {
        color: #cbd5e1;
      }
      
      .detail-value {
        color: #f1f5f9;
      }
      
      .tech-tag {
        background: #475569;
        color: #e2e8f0;
        border-color: #64748b;
      }
      
      .project-stats {
        background: #334155;
      }
      
      .stat-label {
        color: #cbd5e1;
      }
    }
    
    /* =============================================
       ACCESSIBILITY & SPECIAL FEATURES
       ============================================= */
    
    /* Print Styles */
    @media print {
      .product-modal {
        position: static;
        display: block !important;
        opacity: 1 !important;
      }
      
      .modal-overlay {
        display: none;
      }
      
      .modal-container {
        transform: none !important;
        opacity: 1 !important;
        box-shadow: none;
        max-height: none;
        page-break-inside: avoid;
      }
      
      .modal-close {
        display: none;
      }
    }
    
    /* High Contrast Mode Support */
    @media (prefers-contrast: high) {
      .product-modal {
        border: 2px solid currentColor;
      }
      
      .modal-container {
        border: 2px solid currentColor;
      }
      
      .product-details-btn,
      .product-page-link {
        border: 2px solid currentColor;
      }
    }
    
    /* Reduced Motion Support */
    @media (prefers-reduced-motion: reduce) {
      .product-modal,
      .modal-container,
      .product-details-btn,
      .product-page-link,
      .modal-close,
      .product-card,
      .feature-item,
      .cta-button {
        transition: none;
        animation: none;
      }
      
      .product-modal.active .modal-container {
        animation: none;
      }
    }
    
    /* Ensure smooth scrolling for carousel on mobile */
    @media (max-width: 768px) {
      .carousel-track {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
      }
      
      /* Hide extra elements that might cause overflow */
      .project-item:not(:first-child) {
        display: block;
      }
      
      /* Improve touch targets */
      .carousel-prev,
      .carousel-next {
        min-width: 44px;
        min-height: 44px;
      }
    }
    
    /* Prevent horizontal scroll on mobile */
    @media (max-width: 768px) {
      .projects-section {
        overflow: hidden;
      }
      
      .projects-carousel {
        overflow: visible;
      }
    }
  
  
    /* =============================================
     SOCIAL MEDIA ICONS - ENHANCED VERSION
     ============================================= */
  .footer-social {
    text-align: center;
    margin: 40px 0;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
  }
  
  .footer-social h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 700;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    font-size: 26px;
    color: white;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* افکت موج هنگام هاور */
  .social-icons a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    transition: transform 0.4s ease;
  }
  
  .social-icons a:hover::before {
    transform: scale(1.2);
    opacity: 0;
  }
  
  /* انیمیشن چرخش آیکون */
  .social-icons a i {
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
  }
  
  .social-icons a:hover i {
    transform: rotate(360deg) scale(1.1);
  }
  
  /* افکت حرکت به بالا */
  .social-icons a:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  }
  
  /* رنگ‌های مختلف برای هر پلتفرم */
  .social-icons a.telegram {
    background: linear-gradient(135deg, #0088cc, #34aadc);
  }
  
  .social-icons a.telegram:hover {
    background: linear-gradient(135deg, #0077b5, #0088cc);
    border-color: #0088cc;
    box-shadow: 0 15px 30px rgba(0, 136, 204, 0.4);
  }
  
  .social-icons a.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
  }
  
  .social-icons a.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    border-color: #25D366;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  }
  
  .social-icons a.instagram {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  }
  
  .social-icons a.instagram:hover {
    background: linear-gradient(135deg, #bc1888, #cc2366, #dc2743, #e6683c, #f09433);
    border-color: #E4405F;
    box-shadow: 0 15px 30px rgba(228, 64, 95, 0.4);
  }
  
  .social-icons a.linkedin {
    background: linear-gradient(135deg, #0077B5, #00A0DC);
  }
  
  .social-icons a.linkedin:hover {
    background: linear-gradient(135deg, #00A0DC, #0077B5);
    border-color: #0077B5;
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.4);
  }
  
  .social-icons a.email {
    background: linear-gradient(135deg, #EA4335, #D14836);
  }
  
  .social-icons a.email:hover {
    background: linear-gradient(135deg, #D14836, #EA4335);
    border-color: #EA4335;
    box-shadow: 0 15px 30px rgba(234, 67, 53, 0.4);
  }
  
  /* انیمیشن ورود تدریجی برای آیکون‌ها */
  .social-icons a {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
  }
  
  .social-icons a:nth-child(1) { animation-delay: 0.1s; }
  .social-icons a:nth-child(2) { animation-delay: 0.2s; }
  .social-icons a:nth-child(3) { animation-delay: 0.3s; }
  .social-icons a:nth-child(4) { animation-delay: 0.4s; }
  .social-icons a:nth-child(5) { animation-delay: 0.5s; }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* افکت پالس برای جلب توجه */
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }
  
  .social-icons a.pulse {
    animation: pulse 2s infinite;
  }
  
  /* استایل برای حالت تخت (Flat) */
  .social-icons.flat a {
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
  }
  
  .social-icons.flat a::before {
    border-radius: 10px;
  }
  
  /* استایل برای حالت مدرن */
  .social-icons.modern a {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
  
  /* ریسپانسیو برای تبلت */
  @media (max-width: 768px) {
    .footer-social {
      margin: 5vh 0;
      padding: 4vh 0;
    }
    
    .footer-social h4 {
      font-size: 4vw;
      margin-bottom: 3vh;
    }
    
    .social-icons {
      gap: 3vw;
    }
    
    .social-icons a {
      width: 12vw;
      height: 12vw;
      min-width: 55px;
      min-height: 55px;
      font-size: 5vw;
    }
    
    .social-icons a:hover {
      transform: translateY(-5px) scale(1.05);
    }
  }
  
  /* ریسپانسیو برای موبایل */
  @media (max-width: 480px) {
    .footer-social {
      margin: 4vh 0;
      padding: 3vh 0;
    }
    
    .footer-social h4 {
      font-size: 4.5vw;
      margin-bottom: 2.5vh;
    }
    
    .social-icons {
      gap: 4vw;
    }
    
    .social-icons a {
      width: 14vw;
      height: 14vw;
      min-width: 50px;
      min-height: 50px;
      font-size: 6vw;
    }
    
    .social-icons a:hover {
      transform: translateY(-3px) scale(1.03);
    }
  }
  
  /* پشتیبانی از حالت تاریک */
  [data-theme="dark"] .social-icons a {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  /* پشتیبانی از کاهش حرکت */
  @media (prefers-reduced-motion: reduce) {
    .social-icons a,
    .social-icons a i,
    .social-icons a::before {
      transition: none;
      animation: none;
    }
    
    .social-icons a:hover {
      transform: none;
    }
    
    .social-icons a:hover i {
      transform: none;
    }
  }

/* =============================================
   HERO SLIDER STYLES - Extracted from nested HTML
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;500;700;900&display=swap');

/* --- کانتینر اصلی --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 550px; /* کاهش ارتفاع برای تراکم بهتر تصویر */
    overflow: hidden;
    background: #1a1a1a;
    direction: ltr; 
}

/* --- استایل کلی اسلاید --- */
.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.slide.active { opacity: 1; visibility: visible; z-index: 2; }

/* --- ترفند کیفیت تصویر (Image Layer) --- */
.slide-bg-wrapper {
    position: absolute;
    top: 0;
    height: 100%;
    /* نکته کلیدی: عرض تصویر کمتر شده تا پیکسل‌ها کشیده نشوند */
    width: 70%; 
    overflow: hidden;
    z-index: 1;
}

.slide-bg-image {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: center;
    transform: scale(1);
    transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide.active .slide-bg-image { transform: scale(1.1); }

/* پوزیشن‌دهی تصاویر */
/* اسلاید 1: عکس باید سمت راست باشد */
.slide-1 .slide-bg-wrapper {
    right: 0; left: auto; /* چسبیدن به راست */
    /* کلیپ‌پث برای نرم کردن اتصال عکس (اختیاری) */
}
.slide-1 .slide-bg-image { background-image: url('d1.webp'); }

/* اسلاید 2: عکس باید سمت چپ باشد */
.slide-2 .slide-bg-wrapper {
    left: 0; right: auto; /* چسبیدن به چپ */
}
.slide-2 .slide-bg-image { background-image: url('cycloneorg2.jpg'); }

/* --- Enhanced Text Content Layer --- */
.slide-content-box {
    position: absolute;
    top: 0; 
    height: 100%;
    width: 45%;
    min-width: 500px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 60px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

/* Enhanced Professional Typography */
.slide-content-box h3 {
    font-size: 0.95rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    color: #00cccc;
    margin-bottom: 12px;
    font-family: 'Roboto', Arial, sans-serif;
}

.slide-content-box h2 {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: 'Roboto', Arial, sans-serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.slide-content-box p {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.7;
    opacity: 0.92;
    max-width: 95%;
    font-family: 'Roboto', Arial, sans-serif;
    text-align: justify;
}

.text-white { color: #fff; }
.text-dark { color: #000; }
.highlight { color: #00cccc; }

/* انیمیشن متن‌ها */
.slide-content-box > * {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.slide.active h3 { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.slide.active h2 { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }
.slide.active p  { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }
.slide.active .chevron { transition-delay: 0.8s; opacity: 1; }

/* --- Enhanced Slide 1 Styles (Dark Theme) --- */
.slide-1 .slide-content-box {
    left: 0;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    color: #fff;
    clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
    padding-right: 100px;
    text-align: left;
}

/* فلش اسلاید 1 */
.slide-1 .chevron {
    position: absolute;
    top: 50%; right: 0;
    width: 40px; height: 40px;
    background: #00cccc;
    transform: translateY(-50%) rotate(-45deg);
    margin-right: -20px; /* تنظیم دقیق روی لبه */
    z-index: 10;
    opacity: 0; transition: opacity 0.5s;
    box-shadow: 0 0 10px rgba(0,204,204,0.4);
}

/* --- Enhanced Slide 2 Styles (Light Theme) --- */
.slide-2 .slide-content-box {
    right: 0;
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    color: #333;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
    padding-left: 100px;
    text-align: left;
}

/* فلش اسلاید 2 */
.slide-2 .chevron {
    position: absolute;
    top: 50%; left: 0;
    width: 40px; height: 40px;
    background: #00cccc;
    transform: translateY(-50%) rotate(45deg);
    margin-left: -20px;
    z-index: 10;
    opacity: 0; transition: opacity 0.5s;
    box-shadow: 0 0 10px rgba(0,204,204,0.4);
}

/* --- نویگیشن --- */
.slider-nav {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%); z-index: 20;
    display: flex; gap: 15px;
}
.nav-dot {
    width: 12px; height: 12px;
    border: 2px solid #00cccc; border-radius: 50%;
    cursor: pointer; transition: 0.3s;
}
.nav-dot.active { background: #00cccc; transform: scale(1.3); }

/* --- Enhanced Mobile Responsive Styles --- */
@media (max-width: 768px) {
    .hero-slider { height: 650px; }
    
    .slide-bg-wrapper { 
        width: 100%; 
        height: 50%; 
        top: 0; 
        right: 0; 
        left: 0; 
    }
    
    .slide-content-box {
        width: 100%; 
        height: 55%; 
        top: auto; 
        bottom: 0;
        min-width: auto;
        clip-path: polygon(0 15%, 50% 0, 100% 15%, 100% 100%, 0 100%) !important;
        padding: 45px 25px; 
        text-align: center;
        align-items: center;
    }
    
    .slide-1 .chevron, .slide-2 .chevron {
        top: 0; 
        left: 50%; 
        right: auto; 
        margin: -20px 0 0 -20px;
        transform: rotate(45deg);
    }
    
    .slide-content-box h3 { font-size: 0.85rem; letter-spacing: 2px; }
    .slide-content-box h2 { font-size: 2.2rem; line-height: 1.15; }
    .slide-content-box p { font-size: 1rem; text-align: center; max-width: 100%; }
}