/* =============================================
   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 */
    --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: linear-gradient(135deg, var(--color-primary), var(--color-industrial));
    --gradient-metal: linear-gradient(135deg, var(--color-metal), var(--color-secondary));
    --gradient-surface: linear-gradient(135deg, var(--color-surface), #f7fafc);
    --gradient-hero: linear-gradient(135deg, rgba(0, 86, 179, 0.9), rgba(46, 196, 182, 0.8));
    
    /* Enhanced Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 86, 179, 0.08);
    --shadow-md: 0 8px 30px rgba(0, 86, 179, 0.12);
    --shadow-lg: 0 20px 50px rgba(0, 86, 179, 0.15);
    --shadow-xl: 0 30px 80px rgba(0, 86, 179, 0.2);
    --shadow-industrial: 0 20px 60px rgba(0, 86, 179, 0.15);
    --shadow-heavy: 0 30px 80px rgba(0, 0, 0, 0.2);
    --shadow-lift: 0 40px 100px rgba(0, 0, 0, 0.25);
    
    /* 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: #0f172a;
    --color-surface: #1e293b;
    --color-text-primary: #f1f5f9;
    --color-text-secondary: #cbd5e1;
    --color-text-light: #94a3b8;
    --color-border: #334155;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 30px 80px rgba(0, 0, 0, 0.6);
  }
  
  /* =============================================
     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: #1a202c;
    --color-text-secondary: #4a5568;
    --color-text-light: #718096;
    --color-border: #e2e8f0;
  }
  
  body.dark-mode {
    --color-background: #0f172a;
    --color-surface: #1e293b;
    --color-text-primary: #f1f5f9;
    --color-text-secondary: #cbd5e1;
    --color-text-light: #94a3b8;
    --color-border: #334155;
  }
  
  /* =============================================
     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;
  }
  
  /* 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-text h1 {
    margin: 0;
    font-size: 22px; /* Reduced for better fit */
    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: 13px;
    color: var(--color-text-secondary);
    font-weight: 600;
  }
  
  /* Main Navigation */
  .nav ul {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  
  [dir="rtl"] .nav ul {
    padding-right: 0;
  }
  
  .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 14px 22px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 700;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
  }
  
  .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: 20px;
  }
  
  /* 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 */
  .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);
  }
  
  /* Phone Button */
  .phone-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-industrial);
    color: white;
    padding: 14px 28px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-industrial);
    transition: all var(--transition-normal);
  }
  
  .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);
  }
  
  .nav-toggle:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
  }
  
  /* Utility Classes */
  .hidden {
    display: none !important;
  }
  
  /* =============================================
     MAIN CONTENT AREA
     ============================================= */
  main {
    padding-top: var(--header-height);
  }
  
  /* =============================================
     HERO SLIDESHOW SECTION
     ============================================= */
  .hero-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
  }
  
  .hero-slideshow {
    position: relative;
    height: 100%;
    width: 100%;
  }
  
  .slides {
    position: relative;
    height: 100%;
    width: 100%;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition-slow);
    padding: 0 30px;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  /* Right Aligned Layout */
  .slide-image {
    flex: 0 0 55%;
    position: relative;
    animation: slideInLeft 1s ease-out;
    margin-right: -5%;
  }
  
  .slide-content {
    flex: 0 0 45%;
    max-width: 600px;
    z-index: 2;
    animation: slideInRight 1s ease-out;
    margin-left: auto;
  }
  
  [dir="rtl"] .slide-image {
    margin-right: 0;
    margin-left: -5%;
  }
  
  [dir="rtl"] .slide-content {
    margin-left: 0;
    margin-right: auto;
  }
  
  .slide-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lift);
    border: 3px solid var(--color-surface);
  }
  
  /* Hero Brand Logo */
  .brand-logo-small {
    margin-bottom: 20px;
  }
  
  .brand-logo-small img {
    width: 120px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
  }
  
  /* 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: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    background: var(--gradient-industrial);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
  }
  
  .hero-lead {
    font-size: 1.4rem;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
    font-weight: 500;
  }
  
  .kicker {
    font-size: 3rem;
    color: var(--color-industrial);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 2px 10px rgba(46, 196, 182, 0.3);
  }
  
  /* Hero Actions */
  .hero-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
  }
  
  /* Slide Controls */
  .slide-controls {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 30px;
    z-index: 3;
  }
  
  .slide-prev,
  .slide-next {
    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);
  }
  
  .slide-prev:hover,
  .slide-next:hover {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1);
    border-color: var(--color-primary);
  }
  
  .slide-dots {
    display: flex;
    gap: 12px;
  }
  
  .slide-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-text-light);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
  }
  
  .slide-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
    border-color: var(--color-surface);
    box-shadow: 0 0 15px var(--color-primary);
  }
  
  /* =============================================
     PRODUCTS SECTION
     ============================================= */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    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: 250px;
    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: 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: 1.1rem;
    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: 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: 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: 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: 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: 1.1rem;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 18px 22px;
    border: 2px solid var(--color-border);
    border-radius: var(--border-radius);
    background: var(--color-surface);
    color: var(--color-text-primary);
    font-size: 1.1rem;
    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;
  }
  
  /* Map Styles */
  .map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-industrial);
    height: 250px;
    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: 250px;
    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: 1.1rem;
    font-weight: 600;
  }
  
  /* =============================================
     FOOTER STYLES
     ============================================= */
  .site-footer {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    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-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: 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;
    text-shadow: 0 5px 15px rgba(0, 86, 179, 0.3);
  }
  
  .section-subtitle {
    text-align: center;
    color: var(--color-text-secondary);
    font-size: 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 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;
  }
  
  /* =============================================
     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: 992px) {
    .nav {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--color-surface);
      padding: 25px;
      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: 15px;
    }
    
    .nav-toggle {
      display: block;
    }
    
    .phone-btn {
      display: none;
    }
    
    .slide {
      flex-direction: column;
      text-align: center;
      gap: 50px;
      padding: 40px 20px;
    }
    
    .slide-image {
      flex: 0 0 auto;
      margin-right: 0;
      order: -1;
    }
    
    .slide-content {
      flex: 0 0 auto;
      max-width: 100%;
      margin-left: 0;
    }
    
    .slide-image img {
      height: 400px;
    }
    
    .about-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }
    
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }
    
    .footer-content {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    
    .products-grid {
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
    
    .product-hero-image img {
      height: 300px;
    }
    
    .modal-header {
      padding: 25px 30px 15px;
    }
    
    .modal-header h2 {
      font-size: 1.8rem;
    }
    
    .product-modal-content {
      padding: 30px;
    }
    
    .modal-footer {
      padding: 25px 30px;
    }
    
    /* Hero Adjustments for Tablet */
    .hero-title {
      font-size: 3.2rem;
    }
    
    .footer-content {
      grid-template-columns: 2fr 1fr 1fr;
    }
    
    .product-hero {
      grid-template-columns: 1fr;
      gap: 30px;
    }
  }
  
  /* =============================================
     RESPONSIVE DESIGN - MOBILE (768px and down)
     ============================================= */
  @media (max-width: 768px) {
    .container {
      padding: 0 20px;
    }
    
    /* Mobile Hero Slideshow Adjustments */
    .hero-section {
      min-height: 700px;
      height: auto;
    }
    
    .slide {
      padding: 60px 20px 40px;
      text-align: center;
      gap: 30px;
    }
    
    .brand-logo-small {
      margin-bottom: 15px;
    }
    
    .brand-logo-small img {
      width: 80px;
      height: 60px;
    }
    
    .kicker {
      font-size: 1.5rem !important;
      margin-bottom: 15px;
      letter-spacing: 1px;
    }
    
    .hero-title {
      font-size: 2rem !important;
      margin-bottom: 20px;
      line-height: 1.2;
    }
    
    .hero-lead {
      font-size: 1rem !important;
      margin-bottom: 25px;
      line-height: 1.5;
    }
    
    .world-class-text {
      padding: 15px;
      margin: 20px 0;
    }
    
    .world-class-text p:first-child {
      font-size: 1.1rem;
      margin-bottom: 8px;
    }
    
    .world-class-text p:last-child {
      font-size: 0.9rem;
      line-height: 1.5;
    }
    
    .hero-actions {
      flex-direction: column;
      gap: 15px;
      margin-top: 25px;
    }
    
    .cta-button {
      padding: 14px 30px;
      font-size: 1rem;
    }
    
    .slide-controls {
      bottom: 20px;
      gap: 20px;
    }
    
    .slide-prev,
    .slide-next {
      width: 50px;
      height: 50px;
    }
    
    .slide-dot {
      width: 10px;
      height: 10px;
    }
    
    /* Mobile Projects Carousel - Single Item */
    .projects-carousel {
      padding: 25px 15px;
      margin-top: 40px;
    }
    
    .carousel-track {
      display: flex;
      transition: transform 0.5s ease;
    }
    
    .project-item {
      flex: 0 0 100% !important;
      width: 100% !important;
      min-width: 100%;
      margin: 0 5px;
    }
    
    .project-image {
      height: 350px;
    }
    
    .project-overlay {
      padding: 30px 20px;
      transform: translateY(0);
      opacity: 1;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
    
    .project-overlay h4 {
      font-size: 1.2rem;
      margin-bottom: 10px;
    }
    
    .project-overlay p {
      font-size: 0.9rem;
      margin-bottom: 15px;
    }
    
    .carousel-dots {
      display: none;
    }
    
    .carousel-prev,
    .carousel-next {
      width: 45px;
      height: 45px;
      background: rgba(255, 255, 255, 0.9);
      border: 2px solid var(--color-border);
    }
    
    .carousel-prev {
      left: 5px;
    }
    
    .carousel-next {
      right: 5px;
    }
    
    [dir="rtl"] .carousel-prev {
      left: auto;
      right: 5px;
    }
    
    [dir="rtl"] .carousel-next {
      right: auto;
      left: 5px;
    }
    
    /* General Mobile Styles */
    .products-grid {
      grid-template-columns: 1fr;
    }
    
    .stats-grid {
      grid-template-columns: 1fr;
      gap: 25px;
    }
    
    .header-cta {
      gap: 15px;
    }
    
    .lang-switcher {
      padding: 6px;
    }
    
    .theme-toggle {
      width: 44px;
      height: 44px;
    }
    
    .footer-content {
      grid-template-columns: 1fr;
    }
    
    h2 {
      font-size: 2.5rem;
    }
    
    .section-subtitle {
      font-size: 1.1rem;
    }
    
    .ongoing-projects-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
    
    .ongoing-project-card {
      padding: 20px;
    }
    
    .project-status {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
    
    .project-stats {
      grid-template-columns: repeat(2, 1fr);
      padding: 20px;
    }
    
    .stat-number {
      font-size: 2rem;
    }
    
    .product-actions {
      flex-direction: column;
    }
    
    .modal-container {
      width: 95%;
      max-height: 95vh;
    }
    
    .modal-header {
      padding: 20px 25px 15px;
    }
    
    .modal-header h2 {
      font-size: 1.6rem;
    }
    
    .product-modal-content {
      padding: 25px;
    }
    
    .modal-footer {
      padding: 20px 25px;
      flex-direction: column;
    }
    
    /* Clients Section Mobile */
    .clients-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
      gap: 20px;
    }
    
    .client-logo {
      min-height: 160px;
      padding: 20px 15px;
    }
    
    .client-logo-container {
      height: 90px;
      padding: 10px;
    }
    
    .client-logo span {
      font-size: 0.85rem;
    }
  }
  
  /* =============================================
     RESPONSIVE DESIGN - SMALL MOBILE (480px and down)
     ============================================= */
  @media (max-width: 480px) {
    .hero-section {
      min-height: 650px;
    }
    
    .slide {
      padding: 50px 15px 30px;
      gap: 25px;
    }
    
    .kicker {
      font-size: 1.3rem !important;
      margin-bottom: 12px;
    }
    
    .hero-title {
      font-size: 1.8rem !important;
      margin-bottom: 15px;
    }
    
    .hero-lead {
      font-size: 0.9rem !important;
      margin-bottom: 20px;
    }
    
    .world-class-text {
      padding: 12px;
      margin: 15px 0;
    }
    
    .world-class-text p:first-child {
      font-size: 1rem;
    }
    
    .world-class-text p:last-child {
      font-size: 0.85rem;
    }
    
    .brand-logo-small img {
      width: 70px;
      height: 50px;
    }
    
    .section-gap {
      padding: 70px 0;
    }
    
    .contact-form-container {
      padding: 35px 25px;
    }
    
    .info-item {
      padding: 25px 20px;
    }
    
    .slide-controls {
      bottom: 30px;
    }
    
    .product-card {
      padding: 0;
    }
    
    .product-content {
      padding: 25px 20px;
    }
    
    .notification {
      right: 15px;
      left: 15px;
      max-width: none;
    }
    
    .project-stats {
      grid-template-columns: 1fr;
    }
    
    .modal-header {
      padding: 15px 20px 10px;
    }
    
    .modal-header h2 {
      font-size: 1.4rem;
    }
    
    .modal-close {
      width: 40px;
      height: 40px;
    }
    
    .product-modal-content {
      padding: 20px;
    }
    
    .product-hero-image img {
      height: 200px;
    }
    
    .product-hero-content h3 {
      font-size: 1.4rem;
    }
    
    .modal-footer {
      padding: 15px 20px;
    }
    
    /* Projects Carousel Small Mobile */
    .project-item {
      margin: 0 2px;
    }
    
    .project-image {
      height: 300px;
    }
    
    .project-overlay {
      padding: 25px 15px;
    }
    
    .project-overlay h4 {
      font-size: 1.1rem;
    }
    
    .project-overlay p {
      font-size: 0.85rem;
    }
    
    .carousel-prev,
    .carousel-next {
      width: 40px;
      height: 40px;
    }
    
    .carousel-prev {
      left: 2px;
    }
    
    .carousel-next {
      right: 2px;
    }
    
    /* Clients Section Small Mobile */
    .clients-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
    }
    
    .client-logo {
      min-height: 140px;
      padding: 15px 10px;
    }
    
    .client-logo-container {
      height: 80px;
      padding: 8px;
    }
  }
  
  /* =============================================
     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: 30px 0;
    padding: 25px 0;
  }
  
  .footer-social h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .social-icons {
    gap: 15px;
  }
  
  .social-icons a {
    width: 55px;
    height: 55px;
    font-size: 24px;
  }
  
  .social-icons a:hover {
    transform: translateY(-5px) scale(1.05);
  }
}

/* ریسپانسیو برای موبایل */
@media (max-width: 480px) {
  .footer-social {
    margin: 25px 0;
    padding: 20px 0;
  }
  
  .footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }
  
  .social-icons {
    gap: 12px;
  }
  
  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
  
  .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;
  }
}