:root {
    --verde-escuro: #0b1220;     /* خاکستری تیره – پس‌زمینه مدرن */
    --verde-claro: #2870a4;      /* قهوه‌ای–نارنجی لوکس */
    --terra: #83a6d4;            /* کرم خاکی تیره */
    --bege: #d9e8f2;             /* کرم روشن */
    --branco: #0b1220;          /* مشکی خیلی تیره */
    --destaque: #d7dbed;         /* نارنجی مدرن برای دکمه‌ها */
    --destaque2: #00a3cc;        /* نارنجی سوخته برای hover */
    --texto-claro: #f5f5f5;      /* متن روشن روی پس‌زمینه تیره */
    --sombra: rgba(0, 0, 0, 0.2);   /* سایه نرم */
}


        
         
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 🌌 تنظیمات کلی */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #020024, #090979, #00d4ff);
  color: white;
  height: 3000px; /* فقط برای تست اسکرول */
}

/* 🌟 هدر شیشه‌ای نئون */
#mainHeader {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(15px);
  background: rgba(0, 0, 30, 0.25);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
  transition: all 0.6s ease;
  z-index: 1000;
}

/* ✨ لوگو */
.logo {
  font-size: 1.5rem;
  font-family: 'Orbitron', sans-serif;
  color: #00f6ff;
  text-shadow: 0 0 8px #00ffff, 0 0 25px #00aaff;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background: rgba(10,10,14,0.25);
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }

  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
  }

  .brand .logo {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    font-size: 1.05rem;
    text-shadow: 0 0 6px var(--accent), 0 0 12px var(--accent-2);
  }

  /* desktop nav */
  .main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
  }

  .main-nav a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 0 6px #00ffff, 0 0 12px #00aaff;
    padding: 6px 0;
  }

  .main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: #00ffff;
    transition: width 0.3s;
  }

  .main-nav a:hover::after { width: 100%; }
  .main-nav a:hover {
    color: #fff;
    text-shadow: 0 0 12px #00ffff, 0 0 25px #00aaff;
  }

  /* menu toggle (mobile) */
  .menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--accent);
    background: transparent;
    border: none;
    cursor: pointer;
    text-shadow: 0 0 8px #00ffff, 0 0 25px #00aaff;
    padding: 6px;
  }

  /* ===== MOBILE ===== */
  @media (max-width: 768px) {
    .menu-toggle { display: block; }

    /* hide desktop nav by default */
    .main-nav {
      position: fixed;
      top: 70px;            /* header height (approx) */
      left: 0;
      right: 0;
      margin: 0;
      padding: 1rem 1.25rem;
      flex-direction: column;
      gap: 0.8rem;
      background: var(--nav-bg-mobile);
      backdrop-filter: blur(12px);
      box-shadow: 0 12px 40px rgba(0,255,255,0.06);
      transform: translateY(-6px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .36s ease, transform .36s ease;
      border-bottom-left-radius: 10px;
      border-bottom-right-radius: 10px;
      padding-bottom: 1.25rem;
    }

    /* when open */
    .main-nav.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }

    .main-nav a {
      display: block;
      padding: 12px 14px;
      font-size: 1.05rem;
      border-radius: 8px;
    }

    .header-inner { padding: 10px 14px; }
  }

  /* hide on scroll class (your existing) */
  #mainHeader.hide {
    transform: translateY(-120%);
    opacity: 0;
    transition: transform .35s ease, opacity .35s ease;
  }

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #00ffff;
  text-shadow: 0 0 12px #00ffff, 0 0 25px #00aaff;
}
      
        /* Seções comuns */
        section {
            padding: 5rem 2rem;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            color: #5fe0f9da;
          
        }
        .section2-title {
          text-align: center;
          margin-bottom: 3rem;
          color: #33cee9fc;
        
      }
      .section3-title {
        text-align: center;
        margin-bottom: 3rem;
        color: #6b7171fc;
      
    }

        
        .section-title h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
            margin-top: 50px;
        }
        .section2-title h2 {
          font-size: 2.5rem;
          margin-bottom: 1rem;
          position: relative;
          display: inline-block;
          margin-top: 50px;
      }
      .section3-title h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        position: relative;
        display: inline-block;
        margin-top: 50px;
    }
      
        
  
      
        /* Sobre */
        .about {
            background-color: var(--bege);
        }
        
        .about-content {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
            color: var(--verde-escuro);
        }
        
        .about-text {
            flex: 1;
            color: #0b747cd6;
            margin-top: 0px;
            min-width: 300px;
        }
        
        .about-text h3 {
            color: var(--verde-escuro);
            margin-bottom: 1.5rem;
            font-size: 1.8rem;
        }
        
        .about-image {
            flex: 1;
            min-width: 300px;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            position: relative;
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
        
        .feature-list {
            margin-top: 2rem;
        }
        
        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
        }
        
        .feature-item i {
            color: var(--destaque);
            font-size: 1.2rem;
            margin-right: 1rem;
            width: 25px;
        }
        
        /* Módulos */
        .modules {
            background-color: var(--branco);
        }
        
        .modules-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 50px;
        }
        
        .module-card {
            background-color: var(--bege);
            display: flex;
            flex-direction: column;
  align-items: center;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
            position: relative;
           
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  max-width:  100%;   /* کل کارت کوچیک‌تر بشه */

  
  padding: 20px;
        }
        
        .module-card:hover {
            transform: translateY(-10px);
        }
        
        .module-image {
            height: 200px;
            overflow: hidden;
            width: 100%;
            
        }
        
        .module-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .module-card:hover .module-image img {
            transform: scale(1.1);
        }
        
        .module-content {
            padding: 1.5rem;
        }
        
        .module-content h3 {
            color: var(--verde-escuro);
            margin-bottom: 0.5rem;
        }
        
        .module-content p {
            margin-bottom: 1rem;
            color: var(--verde-escuro);
        }
        
        .module-size {
    display: inline-block;
    background-color: var(--verde-claro);
    color: var(--branco);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}
        /* Sustentabilidade */
        .sustainability {
            background: linear-gradient(to bottom, var(--verde-claro), var(--verde-escuro));
            color: var(--branco);
            position: relative;
            overflow: hidden;
        }
        
        .sustainability::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1611258623151-991c70f1131a?ixlib=rb-1.2.1&auto=format&fit=crop&w=1600&h=900&q=80') no-repeat center center/cover;
            opacity: 0.1;
            z-index: 0;
        }
        
        .sustainability .container {
            position: relative;
            z-index: 1;
        }
        
        .sustainability-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .sustainability-item {
            text-align: center;
            padding: 2rem;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            transition: transform 0.3s;
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .sustainability-item:hover {
            transform: translateY(-5px);
            background-color: rgba(255, 255, 255, 0.15);
        }
        
        .sustainability-item i {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: var(--bege);
        }
        
        /* Galeria */
        .gallery {
            background-color: var(--branco);
        }
        
        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
        }
        
        .gallery-item {
            height: 250px;
            overflow: hidden;
            border-radius: 10px;
            position: relative;
            cursor: pointer;
        }
        
        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .gallery-item:hover img {
            transform: scale(1.1);
        }
        
        .gallery-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(46, 76, 61, 0.7);
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }
        
        .gallery-overlay i {
            color: var(--branco);
            font-size: 2rem;
        }
        
       
        
        .contact-container {
            display: flex;
            flex-wrap: wrap;
            gap: 3rem;
        }
        
        .contact-info, .contact-form {
            flex: 1;
            min-width: 300px;
        }
        
        .contact-info h3 {
            color: var(--verde-escuro);
            margin-bottom: 1.5rem;
            font-size: 1.5rem;
        }
        
        .contact-info-item {
            display: flex;
            align-items: center;
            margin-bottom: 1.5rem;
        }
        
        .contact-info-item i {
            font-size: 1.5rem;
            color: var(--verde-escuro);
            margin-right: 1rem;
            width: 30px;
        }
        
        .social-icons {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            
        }
        
        .social-icons a {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 40px;
            height: 40px;
            background-color: var(--verde-escuro);
            border-radius: 50%;
            color: var(--branco);
            transition: all 0.3s;
            
        }
        
        .social-icons a:hover {
            background-color: var(--destaque);
            transform: translateY(-3px);
        }
        
        .contact-form form {
            display: grid;
            gap: 1.2rem;
        }
        
        .form-group {
            display: flex;
            flex-direction: column;
        }
        
        .form-group label {
            margin-bottom: 0.5rem;
            font-weight: 500;
            color: var(--verde-escuro);
        }
        
        .form-group input, .form-group textarea {
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-size: 1rem;
            transition: border-color 0.3s;
        }
        
        .form-group input:focus, .form-group textarea:focus {
            outline: none;
            border-color: var(--verde-claro);
            box-shadow: 0 0 0 2px rgba(106, 142, 97, 0.2);
        }
        
        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }
        #success-message {
          text-align: center;
          padding: 20px;
      }
      #success-message h3 {
          font-size: 1.8rem;
          color: var(--color-primary);
      }
        
        /* Footer */
        footer {
            background-color: var(--verde-escuro);
            color: var(--branco);
            padding: 3rem 2rem;
            text-align: center;
        }
        
        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 2rem;
            margin-bottom: 2rem;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
             color: #00ffff;;
            
        }
        
        .footer-section {
            flex: 1;
            min-width: 250px;
            text-align: left;
        }
        
        .footer-section h3 {
            margin-bottom: 1rem;
            position: relative;
            display: inline-block;
            font-size: 1.2rem;
            color: #00ffff;;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--bege);
            color: #c1d1d1;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.5rem;
        }
        
        .footer-links a {
            color: var(--bege);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--branco);
            padding-left: 5px;
        }
        
        .copyright {
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }


        
        /* Animações */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .animate {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s, transform 0.5s;
        }
        
        .animate.animated {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* Responsividade */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .hero p {
                font-size: 1.2rem;
            }
            
            nav ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: var(--verde-escuro);
                padding: 1rem 0;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            }
            
            nav ul.active {
                display: flex;
            }
            
            nav ul li {
                margin: 0.5rem 0;
                text-align: center;
            }
            
            .menu-toggle {
                display: block;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
        }
        body {
      margin: 0;
      font-family: sans-serif;
      background: #f5f5f5;
    }
    header {
      background: #fff;
      padding: 12px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      position: sticky;
      top: 0;
      z-index: 10;
    }
    header h1 {
      font-size: 20px;
      margin: 0;
      color: #444;
    }



    .guide-bar{
      position:absolute;
      top:20px;
      left:50%;
      transform:translateX(-50%);
      background: rgba(0,255,255,0.08);
      border: 1px solid #00ffff;
      padding: 10px 24px;
      border-radius: 20px;
      text-align:center;
      backdrop-filter: blur(5px);
      font-size: 14px;
      color: #00ffff;
      text-shadow: 0 0 8px #00ffff;
      box-shadow: 0 0 12px rgba(0,255,255,0.3);
    }
  
    model-viewer {
      width: 90%;
      max-width: 1200px;
      height: 70vh;
      border-radius: 20px;
      background: radial-gradient(circle at center, #00001000 0%, #00000000 100%);
      margin-top: 60px;
      box-shadow: 0 20px 50px rgba(3, 186, 186, 0.821);
    }
  
    button[slot] {
      position: absolute;
      bottom: 10%;
      left: 50%;
      transform: translateX(-50%);
      background: rgba(0, 255, 255, 0.08);
      border: 1px solid #f232ef;
      color: #061b1d;
      border-radius: 18px;
      padding: 10px 30px;
      font-family: 'Orbitron', sans-serif;
      font-size: 13px;
      letter-spacing: 1px;
      transition: all 0.3s ease;
      backdrop-filter: blur(3px);
      text-shadow: 0 0 10px #ea00ff;
      cursor: pointer;
      box-shadow: 0 0 20px rgba(255, 0, 212, 0.4);
    }
  
    button[slot]:hover {
      background: rgba(0, 255, 255, 0.3);
      color: #fff;
      border-color: #d400ff;
      box-shadow: 0 0 25px #ff00fb, 0 0 50px #ff00ea;
      transform: translateX(-50%) scale(1.1);
      text-shadow: 0 0 15px #ff00e6, 0 0 25px #f700ff;
    }
  
    button[slot]:active {
      transform: translateX(-50%) scale(0.97);
      box-shadow: 0 0 10px #ff00ea;
    }

    

    /* سکشن اطلاعات */
    #infoSection {
    display: none;
    padding: 30px;
    background: var(--bege);
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--sombra);
    max-width: 1000px;
    margin: 40px auto;
    animation: fadeIn 0.5s ease forwards;
    color: #0b747cd6;;
}

#infoSection h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #0b747cd6;
    text-shadow: 0 0 6px #00f6ff, 0 0 20px #00aaff, 0 0 40px #0077ff;
    animation: neon3DTitle 2.5s ease-in-out infinite alternate;
}

@keyframes neon3DTitle {
    0% { transform: perspective(600px) rotateX(0deg) translateZ(0); text-shadow: 0 0 6px #00f6ff,0 0 20px #00aaff,0 0 40px #0077ff; }
    50% { transform: perspective(600px) rotateX(5deg) translateZ(6px); text-shadow: 0 0 12px #00f6ff,0 0 30px #00aaff,0 0 60px #0077ff; }
    100% { transform: perspective(600px) rotateX(-5deg) translateZ(6px); text-shadow: 0 0 6px #00f6ff,0 0 20px #00aaff,0 0 40px #0077ff; }
}


#infoMedia {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

#infoMedia img,
#infoMedia video {
  border-radius: 12px;
  object-fit: cover;
  max-width: 70%;
  height: 300;
  width: 300px;
  box-shadow: 0 4px 12px rgb(61, 3, 237);
}

#infoMedia img {
  width: 300px;
}

#infoMedia video {
  width: 300px;
}

#infoText {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif; /* فونت شیک و مدرن */
  color: #0b747cd6; /* آبی متوسط مناسب برای پس‌زمینه روشن */
  text-shadow: 0 0 2px #0b747cd6; /* سایه ملایم برای خوانایی */
  line-height: 1.6;
  text-align: center;
  margin-bottom: 15px;
}


#infoSection button {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #00f2fe, 0 0 20px #4facfe, 0 0 30px rgba(0,127,255,0.6);
  animation: neonPulse 2s ease-in-out infinite;
}

#infoSection button:hover {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 20px #00f2fe, 0 0 35px #4facfe, 0 0 50px rgba(0,127,255,0.8);
}

/* ✨ انیمیشن چشمک زدن نئون */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 10px #00f2fe, 0 0 20px #4facfe, 0 0 30px rgba(0,127,255,0.6); }
  50% { box-shadow: 0 0 18px #00f2fe, 0 0 35px #4facfe, 0 0 50px rgba(0,127,255,0.8); }
}



/* واکنش‌گرایی موبایل */
@media (max-width: 200px) {
  #infoMedia img,
  #infoMedia video {
    width: 90%;
  }
}

.auto-slider {
  width: 300px;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  background: #11111100;
}

.auto-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}


.info-modules {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 40px auto;
}

.info-btn {
  padding: 12px 20px;
  border: 2px solid #00f6ff;
  background: rgba(0, 255, 255, 0.08);
  color: #00f6ff;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  border-radius: 14px;
  cursor: pointer;
  text-shadow: 0 0 8px #00ffff, 0 0 20px #00aaff;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.info-btn:hover {
  background: #00ffff;
  color: #000;
  transform: scale(1.08);
  box-shadow: 0 0 25px #00ffff, 0 0 45px #0099ff;
}





.neon-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 90px;
  margin-right: -300;
  color: #00ffff;
  text-transform: uppercase;
  text-shadow:
    0 0 5px #00ffff,
    0 0 10px #00b7ff,
    0 0 20px #0ff8f8,
    0 0 40px #0088ff,
    0 0 80px #1100ff;
  letter-spacing: 4px;
  transform: perspective(500px) rotateX(15deg);
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  from { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 40px #0088ff; }
  to { text-shadow: 0 0 20px #00ffff, 0 0 50px #0088ff, 0 0 100px #0044ff; }
}

.neon-viewer-container {
  position: relative;
  width: 100%;
  height: 60vh;
  margin-top: 50px;
  border-radius: 20px;
  overflow: hidden;
  background: radial-gradient(circle at center, #00111a09 0%, #00081406 100%);

 
}

@keyframes neonPulse {
  from {
    box-shadow:
      0 0 15px #00ffff55,
      0 0 30px #00ffff33,
      0 0 60px #00ffff22;
    border-color: rgba(0, 255, 255, 0.2);
  }
  to {
    box-shadow:
      0 0 30px #00ffff0b,
      0 0 60px #00ffff55,
      0 0 100px #00ffff0a;
    border-color: rgba(0, 255, 255, 0.053);
  }
}
#infoSection.show {
  display: block;
  opacity: 1;
  animation: fadeSlideIn 1.2s ease forwards;
}

#infoSection.hide {
  opacity: 0;
  animation: fadeSlideOut 1s ease forwards;
}

/* ورود با اسلاید از راست به چپ */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(60px); }
  to { opacity: 1; transform: translateX(0); }
}

/* خروج با اسلاید به چپ */
@keyframes fadeSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(-60px); }
}

/* انیمیشن عکس‌ها */
#infoMedia img, #infoMedia video {
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,255,255,0.4);
  max-width: 260px;
  margin: 10px;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeImage 1.2s ease forwards;
}

@keyframes fadeImage {
  from { opacity: 0; transform: scale(0.9) translateX(30px); }
  to { opacity: 1; transform: scale(1) translateX(0); }
}



.viewer-hint {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #06595c;
  text-shadow: 0 0 6px #00f6ff, 0 0 20px #00aaff, 0 0 40px #0077ff;
  margin-top: 1px;
  letter-spacing: 0.5px;
  animation: pulseGlow 2.5s ease-in-out infinite;
  cursor: default;
  user-select: none;
  position: absolute;
  bottom: 20px;              /* فاصله از پایین کادر */
  left: 35%;
  transform: translateX(-50%);
  z-index: 5;                /* اطمینان از نمایش بالاتر از مدل */
}



@keyframes pulseGlow {
  0% { opacity: 0.7; text-shadow: 0 0 8px #00f6ff, 0 0 20px #00aaff; }
  50% { opacity: 1; text-shadow: 0 0 15px #00ffff, 0 0 40px #00aaff, 0 0 70px #0077ff; }
  100% { opacity: 0.7; text-shadow: 0 0 8px #00f6ff, 0 0 20px #00aaff; }
}




.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin: 60px auto;
  width: 90%;
  max-width: 1100px;
}

.info-card {
  background: rgba(0, 10, 20, 0.6);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
  transform-style: preserve-3d;
  perspective: 800px;
}

.info-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.4), 0 0 60px rgba(0, 100, 255, 0.3);
}

.card-media {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.card-media img,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.info-card:hover img,
.info-card:hover video {
  transform: scale(1.1);
}

.card-content {
  padding: 15px;
  color: #00f6ff;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.card-content h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-shadow: 0 0 6px #00ffff, 0 0 20px #0088ff;
}

.card-content p {
  font-size: 0.9rem;
  color: #b8faff;
  opacity: 0.85;
}





.info-cards2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 25px;
  margin: 60px auto;
  width: 90%;
  max-width: 1100px;
}

.info-card2 {
  background: rgba(0, 10, 20, 0.6);
  border: 1px solid rgba(251, 0, 255, 0.3);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 0, 251, 0.1);
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(4px);
  transform-style: preserve-3d;
  perspective: 800px;
}

.info-card:hover2 {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 0 25px rgba(255, 0, 238, 0.4), 0 0 60px rgba(0, 100, 255, 0.3);
}

.card-media2 {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.card-media img,
.card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

.info-card:hover img,
.info-card:hover video {
  transform: scale(1.1);
}

.card-content2 {
  padding: 15px;
  color: #ff00c3;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.card-content2 h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  text-shadow: 0 0 6px #ff00ea, 0 0 20px #ff00fb;
}

.card-content2 p {
  font-size: 0.9rem;
  color: #ffb8f2;
  opacity: 0.85;
}
.neon-title {
  font-family: 'Cinzel Decorative', serif; /* فونت کلاسیک و اسرارآمیز */
  font-size: 3rem;
  text-align: center;
  color: #0a747d;
  text-shadow:
    0 0 5px #0f4c4c,
    0 0 10px #0f4e4e,
    0 0 20px #00aaff,
    0 0 40px #0088ff,
    0 0 80px rgba(0, 200, 255, 0.8);
  letter-spacing: 2px;
  margin: 2rem 0;
  animation: pulseGlow 3s ease-in-out infinite alternate;
}

/* انیمیشن درخشش نرم */
@keyframes pulseGlow {
  from {
    text-shadow:
      0 0 5px #00ffff,
      0 0 10px #00aaff,
      0 0 20px #0088ff;
  }
  to {
    text-shadow:
      0 0 15px #00ffff,
      0 0 30px #00aaff,
      0 0 60px #0088ff;
  }
}

.section-title h5 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* CSS: هدرِ مرکزی زیبا */
.header-title {
    font-family: "Playfair Display", "Montserrat", Georgia, serif; /* Playfair اولویت، بعد Montserrat به‌عنوان fallback */
    font-weight: 700;
    font-size: clamp(28px, 4.5vw, 56px); /* واکنش‌گرا: بین 28 و 56 پیکسل */
    line-height: 1.05;
    letter-spacing: 0.5px;
    text-align: center;           /* وسط‌چین کردن */
    margin: 24px 0;               /* فاصله بالا/پایین */
    color:#0b747cd6;
    /* رنگ متن */
    text-transform: none;         /* یا 'uppercase' برای تمام حروف بزرگ */
    max-width: 900px;             /* برای جلوگیری از خیلی کشیده شدن متن */
    margin-left: auto;
    margin-right: auto;
    padding: 0 16px;              /* فاصله‌ی جانبی در موبایل */
  }
  

  .mv-wrapper {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
  }
  
  .mv-element {
    width: 100%;
    height: 60vh;          /* ارتفاع داینامیک */
    max-height: 600px;
    min-height: 270px;
    background: #eef7ff;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    object-fit: contain;
  }
  
  /* نسخه موبایل */
  @media (max-width: 640px) {
    .mv-element {
      height: 50vh;         /* کمی کوچکتر برای موبایل */
      max-height: 420px;
      margin-left: 0 !important;  /* مشکل تو رفتگی حل شد */
    }
  }
  