@font-face {
    font-family: "IranSans";
    src: url("/fonts/iransans/iransansdn.eot");
    src:
        url("/fonts/iransans/iransansdn.eot?#iefix") format("embedded-opentype"),
        url("/fonts/iransans/iransansdn.woff") format("woff"),
        url("/fonts/iransans/iransansdn.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: "SahelBlack";
    src: url("/fonts/sahel/Sahel-Black-FD-WOL.eot");
    src:
        url("/fonts/sahel/Sahel-Black-FD-WOL.eot?#iefix") format("embedded-opentype"),
        url("/fonts/sahel/Sahel-Black-FD-WOL.woff") format("woff"),
        url("/fonts/sahel/Sahel-Black-FD-WOL.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

body {
  font-family: 'IranSans';
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Rajdhani', sans-serif;
  background: #000000;
  color: #ffffff;
  position: relative;
}

/* Cinematic Loading Animation */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

.loader-wrapper.hidden {
  animation: fadeOut 1s ease forwards;
  pointer-events: none;
}

/* Cinematic Background Lines */
.cinematic-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cine-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  width: 0;
  left: 50%;
  transform: translateX(-50%);
}

.cine-line:nth-child(1) {
  top: 30%;
  animation: lineExpand 1.5s ease-out 0.2s forwards;
}

.cine-line:nth-child(2) {
  top: 50%;
  animation: lineExpand 1.5s ease-out 0.4s forwards;
}

.cine-line:nth-child(3) {
  top: 70%;
  animation: lineExpand 1.5s ease-out 0.6s forwards;
}

@keyframes lineExpand {
  0% { width: 0; opacity: 0; }
  50% { opacity: 1; }
  100% { width: 80%; opacity: 0; }
}

/* Brand Logo Container */
.brand-logo-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Animated Logo Pipes */
.loader-logo {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.loader-pipe {
  width: 0;
  height: 12px;
  background: linear-gradient(90deg, #ffffff 0%, #888888 100%);
  border-radius: 6px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.loader-pipe::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
  animation: shine 1.5s ease-in-out infinite;
}

.loader-pipe:nth-child(1) {
  animation: pipeGrow 0.8s ease-out 0.8s forwards;
}

.loader-pipe:nth-child(2) {
  animation: pipeGrow 0.8s ease-out 1s forwards;
}

.loader-pipe:nth-child(3) {
  animation: pipeGrow 0.8s ease-out 1.2s forwards;
}

@keyframes pipeGrow {
  0% { width: 0; opacity: 0; }
  100% { width: 100%; opacity: 1; }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* Brand Name Animation */
.brand-name-loader {
  font-family: 'Orbitron', monospace !important;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 12px;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  animation: brandFadeIn 1s ease-out 1.6s forwards;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

@keyframes brandFadeIn {
  0% { 
	opacity: 0; 
	transform: translateY(30px);
	letter-spacing: 20px;
  }
  100% { 
	opacity: 1; 
	transform: translateY(0);
	letter-spacing: 12px;
  }
}

/* Tagline Animation */
.brand-tagline-loader {
  font-family: 'Orbitron', monospace !important;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #666666;
  text-transform: uppercase;
  opacity: 0;
  animation: taglineFadeIn 0.8s ease-out 2.2s forwards;
}

@keyframes taglineFadeIn {
  0% { 
	opacity: 0; 
	transform: translateY(20px);
  }
  100% { 
	opacity: 1; 
	transform: translateY(0);
  }
}

/* Progress Bar */
.progress-container {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  opacity: 0;
  animation: progressFadeIn 0.5s ease-out 2.5s forwards;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ffffff, #888888);
  width: 0;
  animation: progressFill 1.5s ease-out 2.5s forwards;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  margin-right: auto;
}

@keyframes progressFadeIn {
  to { opacity: 1; }
}

@keyframes progressFill {
  0% { width: 0; }
  100% { width: 100%; }
}

/* Cinematic Vignette */
.loader-vignette {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none;
}

/* Fade Out Animation */
@keyframes fadeOut {
  to {
	opacity: 0;
	visibility: hidden;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .loader-logo {
	width: 80px;
	height: 80px;
	gap: 8px;
  }

  .loader-pipe {
	height: 8px;
  }

  .brand-name-loader {
	font-size: 32px;
	letter-spacing: 8px;
  }

  @keyframes brandFadeIn {
	0% { 
	  opacity: 0; 
	  transform: translateY(30px);
	  letter-spacing: 14px;
	}
	100% { 
	  opacity: 1; 
	  transform: translateY(0);
	  letter-spacing: 8px;
	}
  }

  .brand-tagline-loader {
	font-size: 8px;
	letter-spacing: 2px;
  }

  .progress-container {
	width: 200px;
	bottom: 60px;
  }
}

@media (max-width: 480px) {
  .brand-name-loader {
	font-size: 24px;
	letter-spacing: 6px;
  }

  @keyframes brandFadeIn {
	0% { 
	  opacity: 0; 
	  transform: translateY(30px);
	  letter-spacing: 10px;
	}
	100% { 
	  opacity: 1; 
	  transform: translateY(0);
	  letter-spacing: 6px;
	}
  }

  .brand-tagline-loader {
	font-size: 7px;
	letter-spacing: 1px;
  }
}

/* Industrial Grid Background */
.industrial-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.grid-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: 
	linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
	linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.scanline {
  position: absolute;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: scan 4s linear infinite;
}

@keyframes scan {
  0% { top: 0%; }
  100% { top: 100%; }
}

.vignette {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
}

/* Pipeline Decoration */
.pipeline-decoration {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.pipe-horizontal {
  position: absolute;
  height: 40px;
  background: linear-gradient(180deg, #333333 0%, #1a1a1a 50%, #333333 100%);
  border-top: 2px solid #444444;
  border-bottom: 2px solid #111111;
}

.pipe-h-1 {
  width: 60%;
  top: 15%;
  left: -10%;
  transform: rotate(-5deg);
  animation: pipeFloat1 15s ease-in-out infinite;
}

.pipe-h-2 {
  width: 50%;
  top: 60%;
  right: -10%;
  transform: rotate(3deg);
  animation: pipeFloat2 18s ease-in-out infinite;
}

.pipe-vertical {
  position: absolute;
  width: 40px;
  background: linear-gradient(90deg, #333333 0%, #1a1a1a 50%, #333333 100%);
  border-left: 2px solid #444444;
  border-right: 2px solid #111111;
}

.pipe-v-1 {
  height: 50%;
  top: -5%;
  left: 20%;
  transform: rotate(-2deg);
  animation: pipeFloat3 20s ease-in-out infinite;
}

.pipe-v-2 {
  height: 60%;
  bottom: -10%;
  right: 25%;
  transform: rotate(4deg);
  animation: pipeFloat4 17s ease-in-out infinite;
}

@keyframes pipeFloat1 {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-20px); }
}

@keyframes pipeFloat2 {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(20px); }
}

@keyframes pipeFloat3 {
  0%, 100% { transform: rotate(-2deg) translateX(0); }
  50% { transform: rotate(-2deg) translateX(-15px); }
}

@keyframes pipeFloat4 {
  0%, 100% { transform: rotate(4deg) translateX(0); }
  50% { transform: rotate(4deg) translateX(15px); }
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
  opacity: 0;
  animation: contentFadeIn 1s ease 1.5s forwards;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

@keyframes contentFadeIn {
  to { opacity: 1; }
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 25px 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  position: relative;
}

.logo-pipes {
  position: relative;
  width: 100%;
  height: 100%;
}

.logo-pipe {
  position: absolute;
  background: linear-gradient(90deg, #ffffff 0%, #cccccc 100%);
  border-radius: 3px;
}

.logo-pipe:nth-child(1) {
  width: 100%;
  height: 8px;
  top: 8px;
  left: 0;
}

.logo-pipe:nth-child(2) {
  width: 100%;
  height: 8px;
  top: 21px;
  left: 0;
}

.logo-pipe:nth-child(3) {
  width: 100%;
  height: 8px;
  top: 34px;
  left: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.company-name {
  font-family: 'Orbitron', monospace !important;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 4px;
  color: #ffffff;
  line-height: 1;
}

.company-slogan {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #666666;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
  font-family: IranSans;
}

.nav-menu a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #999999;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
  font-family: IranSans;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s ease;
}

.nav-menu a:hover {
  color: #ffffff;
}

.nav-menu a:hover::before {
  width: 100%;
}

.nav-menu a.active {
  color: #ffffff;
}

.nav-menu a.active::before {
  width: 100%;
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  position: fixed; /* بچسبه به صفحه */
  top: 20px;       /* فاصله از بالا */
  left: 20px;      /* فاصله از سمت چپ */
  z-index: 1000;   /* بالاتر از همه عناصر */
}

.hamburger-menu .bar {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 5px;
}

/* استایل برای حالت موبایل */
@media (max-width: 768px) {
  .hamburger-menu {
	display: flex;
  }

  .nav-menu {
	display: none; /* مخفی کردن منو در موبایل */
	position: absolute;
	top: 80px; /* فاصله از بالای صفحه */
	left: 0;
	right: 0;
	background-color: rgba(0, 0, 0, 0.9);
	flex-direction: column;
	gap: 20px;
	padding: 20px 0;
	text-align: center;
  }

  .nav-menu a {
	color: #ffffff;
	font-size: 18px;
  }

  /* نمایش منو همبرگری به صورت فعال */
  .nav-menu.active {
	display: flex; /* نمایش منو در صورت فعال بودن */
  }
}

/* Page Sections */
.page-section {
  min-height: calc(100% - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 80px 80px;
  position: relative;
  display: none;
}

.page-section.active {
  display: flex;
}

/* Hero Section */
.hero-section {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 150px 80px 100px;
  position: relative;
}

.hero-container {
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  margin-bottom: 40px;
  animation: slideInLeft 0.6s ease 0.3s backwards;
}

/* Page Content Styles */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-title {
  font-family: 'Orbitron', monospace !important;
  font-size: 64px;
  font-weight: 900;
  letter-spacing: -2px;
  color: #ffffff;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.page-description {
  font-size: 20px;
  line-height: 1.8;
  color: #999999;
  max-width: 800px;
  margin: 0 auto 60px;
}

/* Pipes Category Sections */
.pipes-category-section {
  margin-bottom: 100px;
}

.pipes-category-section:last-child {
  margin-bottom: 0;
}

.category-title {
  font-family: 'Orbitron', monospace !important;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 20px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

/* Manufacturing Methods Grid */
.manufacturing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

@media (max-width: 768px) {
  .manufacturing-grid {
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
  }
}

@media (max-width: 480px) {
  .manufacturing-grid {
	grid-template-columns: 1fr;
	gap: 15px;
  }
}

.manufacturing-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 35px 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.manufacturing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.manufacturing-card:hover::before {
  left: 100%;
}

.manufacturing-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.mfg-code {
  font-family: 'Orbitron', monospace !important;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 15px;
}

.mfg-name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #666666;
  text-transform: uppercase;
}

/* Standards Container */
.standards-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.standards-group {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px;
  transition: all 0.3s ease;
}

.standards-group:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.standards-label {
  font-family: 'Orbitron', monospace !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.standards-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.standard-tag {
  font-family: 'Orbitron', monospace !important;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 25px;
  transition: all 0.3s ease;
  cursor: default;
}

.standard-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .standards-container {
	gap: 25px;
  }

  .standards-group {
	padding: 30px 25px;
  }

  .standards-label {
	font-size: 14px;
	margin-bottom: 20px;
  }

  .standards-tags {
	gap: 12px;
  }

  .standard-tag {
	font-size: 13px;
	padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .standards-group {
	padding: 25px 20px;
  }

  .standards-label {
	font-size: 13px;
  }

  .standards-tags {
	gap: 10px;
  }

  .standard-tag {
	font-size: 12px;
	padding: 8px 16px;
  }
}

/* Specs Grid */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.spec-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 35px;
  transition: all 0.4s ease;
}

.spec-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.spec-category {
  font-family: 'Orbitron', monospace !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #666666;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.spec-items {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.spec-badge {
  font-family: 'Orbitron', monospace !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.spec-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .specs-grid {
	grid-template-columns: 1fr;
	gap: 25px;
  }

  .spec-card {
	padding: 30px 25px;
  }

  .spec-category {
	font-size: 12px;
	margin-bottom: 20px;
  }

  .spec-badge {
	font-size: 12px;
	padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .spec-card {
	padding: 25px 20px;
  }

  .spec-category {
	font-size: 11px;
  }

  .spec-badge {
	font-size: 11px;
	padding: 7px 14px;
  }
}

/* Thickness Grid */
.thickness-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .thickness-grid {
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
  }
}

@media (max-width: 480px) {
  .thickness-grid {
	grid-template-columns: 1fr;
  }
}

.thickness-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.thickness-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.thickness-card:hover::before {
  left: 100%;
}

.thickness-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.thickness-code {
  font-family: 'Orbitron', monospace !important;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 12px;
}

.thickness-desc {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #666666;
  text-transform: uppercase;
}

/* Size Container */
.size-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.size-range-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 50px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  transition: all 0.4s ease;
}

.size-range-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.size-icon {
  color: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

.size-range-card:hover .size-icon {
  color: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.size-range-label {
  font-family: 'Orbitron', monospace !important; 
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #666666;
  text-transform: uppercase;
}

.size-range-value {
  font-family: 'Orbitron', monospace !important;
  font-size: 36px;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
}

.measurement-types {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.measurement-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px 35px;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.4s ease;
}

.measurement-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(10px);
}

.measurement-code {
  font-family: 'Orbitron', monospace !important;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  min-width: 80px;
}

.measurement-name {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #666666;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .size-container {
	grid-template-columns: 1fr;
	gap: 25px;
  }

  .size-range-card {
	padding: 40px 30px;
  }

  .size-icon svg {
	width: 50px;
	height: 50px;
  }

  .size-range-label {
	font-size: 12px;
  }

  .size-range-value {
	font-size: 28px;
  }

  .measurement-card {
	padding: 25px 25px;
	gap: 20px;
  }

  .measurement-code {
	font-size: 20px;
	min-width: 60px;
  }

  .measurement-name {
	font-size: 12px;
  }
}

@media (max-width: 480px) {
  .size-range-card {
	padding: 35px 25px;
  }

  .size-icon svg {
	width: 45px;
	height: 45px;
  }

  .size-range-value {
	font-size: 24px;
  }

  .measurement-card {
	padding: 20px 20px;
	gap: 15px;
	flex-direction: column;
	text-align: center;
  }

  .measurement-code {
	font-size: 18px;
	min-width: auto;
  }

  .measurement-name {
	font-size: 11px;
  }
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.contact-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.4s ease;
}

.contact-card:hover .contact-card-icon {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.contact-card-label {
  font-family: 'Orbitron', monospace !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #666666;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.contact-card-value {
  font-family: 'Orbitron', monospace !important;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  direction: ltr;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.badge-text {
  font-family: 'Orbitron', monospace !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'IranSans', monospace !important;
  font-size: clamp(32px, 8vw, 82px); /* حداقل 32px، حداکثر 82px، میانه 8vw */
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  color: #ffffff;
  margin-bottom: 30px;
  text-transform: uppercase;
  animation: slideInLeft 0.6s ease 0.5s backwards;
}


.hero-title .highlight {
  background: linear-gradient(90deg, #ffffff 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: 'IranSans', monospace !important;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.7;
  color: #999999;
  margin-bottom: 50px;
  max-width: 700px;
  animation: slideInLeft 0.8s ease 2.2s backwards;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 20px 50px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: slideInLeft 0.8s ease 2.4s backwards;
}

.hero-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.hero-cta:hover::before {
  left: 100%;
}

.hero-cta:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.cta-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.hero-cta:hover .cta-arrow {
  transform: translateX(5px);
}

@keyframes slideInLeft {
  from {
	opacity: 0;
	transform: translateX(-50px);
  }
  to {
	opacity: 1;
	transform: translateX(0);
  }
}

/* Stats Section */
.stats-section {
  padding: 80px 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.stats-container {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.stat-box {
  text-align: center;
  padding: 30px;
  position: relative;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
}

.stat-number {
  font-family: 'Orbitron', monospace !important;
  font-size: 56px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 15px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #666666;
  text-transform: uppercase;
}

/* Expertise Section */
.expertise-section {
  padding: 150px 80px;
}

.expertise-container {
  max-width: 1600px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 100px;
}

.section-subtitle {
  font-family: 'Orbitron', monospace !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #666666;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Orbitron', monospace !important;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1px;
  color: #ffffff;
  text-transform: uppercase;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left 0.6s ease;
}

.expertise-card:hover::before {
  left: 100%;
}

.expertise-card:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card-number {
  font-family: 'Orbitron', monospace !important;
  font-size: 80px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  margin-bottom: 20px;
}

.card-title {
  font-family: 'Orbitron', monospace !important;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.card-description {
  font-size: 16px;
  line-height: 1.8;
  color: #999999;
}

.card-icon {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 60px;
  opacity: 0.1;
}

/* Minimal Footer */
.minimal-footer {
  position: relative;
  z-index: 999;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  margin-top: auto;
}

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-content-minimal {
  padding: 20px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-text {
  font-family: 'Orbitron', monospace !important;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  color: #666666;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 1200px) {
  .header-content,
  .hero-section,
  .stats-section,
  .expertise-section,
  .page-section {
	padding-left: 40px;
	padding-right: 40px;
  }

  .footer-content-minimal {
	padding-left: 40px;
	padding-right: 40px;
  }

  .hero-title {
	font-size: 64px;
  }

  .expertise-grid {
	grid-template-columns: 1fr;
  }

  .stats-container {
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
	display: none;
  }

  header {
	padding: 15px 0;
  }

  .header-content {
	padding: 0 20px;
  }

  .logo-icon {
	width: 35px;
	height: 35px;
  }

  .logo-pipe:nth-child(1) {
	height: 6px;
	top: 5px;
  }

  .logo-pipe:nth-child(2) {
	height: 6px;
	top: 14px;
  }

  .logo-pipe:nth-child(3) {
	height: 6px;
	top: 23px;
  }

  .company-name {
	font-size: 18px;
	letter-spacing: 2px;
  }

  .company-slogan {
	font-size: 7px;
	letter-spacing: 1px;
  }

  .hero-section,
  .page-section {
	padding: 100px 20px 60px;
	min-height: auto;
  }

  .hero-badge {
	padding: 8px 20px;
	margin-bottom: 30px;
  }

  .badge-text {
	font-size: 9px;
	letter-spacing: 1px;
  }

  .badge-dot {
	width: 6px;
	height: 6px;
  }

  .hero-title {
	font-size: 36px;
	letter-spacing: -1px;
	margin-bottom: 20px;
  }

  .hero-subtitle {
	font-size: 16px;
	margin-bottom: 40px;
	line-height: 1.6;
  }

  .hero-cta {
	padding: 16px 40px;
	font-size: 13px;
	letter-spacing: 1px;
  }

  .cta-arrow {
	font-size: 16px;
  }

  .stats-section {
	padding: 50px 20px;
  }

  .stats-container {
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
  }

  .stat-box {
	padding: 20px 10px;
  }

  .stat-number {
	font-size: 36px;
	margin-bottom: 10px;
  }

  .stat-label {
	font-size: 11px;
	letter-spacing: 1px;
  }

  .expertise-section {
	padding: 80px 20px;
  }

  .section-header {
	margin-bottom: 60px;
  }

  .section-subtitle {
	font-size: 10px;
	letter-spacing: 2px;
	margin-bottom: 15px;
  }

  .section-title {
	font-size: 28px;
	letter-spacing: 0;
  }

  .expertise-grid {
	gap: 30px;
  }

  .expertise-card {
	padding: 40px 30px;
  }

  .card-number {
	font-size: 50px;
	margin-bottom: 15px;
  }

  .card-title {
	font-size: 22px;
	margin-bottom: 15px;
  }

  .card-description {
	font-size: 14px;
	line-height: 1.6;
  }

  .card-icon {
	font-size: 40px;
	bottom: 20px;
	right: 20px;
  }

  .page-title {
	font-size: 36px;
	letter-spacing: -1px;
	margin-bottom: 30px;
  }

  .page-description {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 40px;
  }

  .pipes-category-section {
	margin-bottom: 60px;
  }

  .category-title {
	font-size: 22px;
	margin-bottom: 35px;
  }

  .manufacturing-grid {
	grid-template-columns: 1fr;
	gap: 20px;
  }

  .manufacturing-card {
	padding: 30px 25px;
  }

  .mfg-code {
	font-size: 26px;
  }

  .mfg-name {
	font-size: 12px;
  }

  .standards-container {
	gap: 25px;
  }

  .standards-group {
	padding: 30px 25px;
  }

  .standards-label {
	font-size: 14px;
	margin-bottom: 20px;
  }

  .standards-tags {
	gap: 12px;
  }

  .standard-tag {
	font-size: 13px;
	padding: 10px 20px;
  }

  .thickness-card {
	padding: 30px 20px;
  }

  .thickness-code {
	font-size: 22px;
  }

  .thickness-desc {
	font-size: 11px;
  }

  .contact-grid {
	grid-template-columns: 1fr;
	gap: 25px;
  }

  .contact-card {
	padding: 40px 30px;
  }

  .contact-card-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
  }

  .contact-card-icon svg {
	width: 30px;
	height: 30px;
  }

  .contact-card-label {
	font-size: 10px;
	letter-spacing: 1px;
	margin-bottom: 12px;
  }

  .contact-card-value {
	font-size: 16px;
  }

  .footer-content-minimal {
	padding: 15px 20px;
  }

  .footer-text {
	font-size: 8px;
	letter-spacing: 1px;
  }

  .pipe-loader {
	width: 150px;
	height: 45px;
  }

  .pipe-segment {
	height: 15px;
	border-radius: 7px;
  }

  .pipe-segment:nth-child(1) {
	width: 45px;
  }

  .pipe-segment:nth-child(2) {
	width: 45px;
	left: 52px;
  }

  .pipe-segment:nth-child(3) {
	width: 45px;
	left: 105px;
  }

  .loader-text {
	font-size: 11px;
	letter-spacing: 2px;
  }
}

@media (max-width: 480px) {
  .company-name {
	font-size: 16px;
	letter-spacing: 1px;
  }

  .company-slogan {
	font-size: 6px;
  }

  .hero-title {
	font-size: 28px;
  }

  .hero-subtitle {
	font-size: 14px;
  }

  .hero-cta {
	padding: 14px 30px;
	font-size: 12px;
  }

  .stats-container {
	grid-template-columns: 1fr;
	gap: 25px;
  }

  .stat-number {
	font-size: 32px;
  }

  .page-title {
	font-size: 28px;
  }

  .section-title {
	font-size: 24px;
  }

  .card-title {
	font-size: 20px;
  }

  .pipes-table th,
  .pipes-table td {
	padding: 12px 10px;
	font-size: 11px;
  }

  .contact-card-value {
	font-size: 14px;
  }

  .category-title {
	font-size: 20px;
	margin-bottom: 30px;
  }

  .manufacturing-card {
	padding: 25px 20px;
  }

  .mfg-code {
	font-size: 22px;
  }

  .mfg-name {
	font-size: 11px;
  }

  .thickness-card {
	padding: 25px 20px;
  }

  .thickness-code {
	font-size: 20px;
  }
}