/**
* Template Name: iPortfolio - v1.2.1
* Template URL: https://bootstrapmade.com/iportfolio-bootstrap-portfolio-websites-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

@font-face {
  font-family: "Vazir";
  src: url(../fonts/Vazir-Regular.ttf);
}
/* ========================================
   Base Typography — Ultra Modern Neon & Glass 2025
   ======================================== */
body {
  font-family: "Vazir", system-ui, -apple-system, sans-serif;
  direction: rtl;
  color: #e0e8ff;
  background: linear-gradient(135deg, #0a091d 0%, #1c0038 45%, #000c33 100%);
  background-attachment: fixed;
  line-height: 1.85;
  letter-spacing: 0.3px;
  overflow-x: hidden;
  
  /* افکت نور ملایم در پس‌زمینه */
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(0, 242, 254, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(79, 172, 254, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(137, 255, 253, 0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
  animation: gentlePulse 18s ease-in-out infinite;
}
@keyframes gentlePulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* لینک‌ها — نئونی با افکت Glow */
a {
  color: #00f2fe;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  
  /* خط زیرین متحرک نئونی */
  background-image: linear-gradient(90deg, #00f2fe, #4facfe);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: left bottom;
}

a:hover {
  color: #89fffd;
  background-size: 100% 2px;
  text-shadow: 
    0 0 10px rgba(0, 242, 254, 0.6),
    0 0 20px rgba(0, 242, 254, 0.4),
    0 0 40px rgba(0, 242, 254, 0.2);
  transform: translateY(-1px);
}

/* عنوان‌ها — گرادیانت درخشان + Glow */
h1, h2, h3, h4, h5, h6 {
  font-family: "Vazir", sans-serif;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin: 0.8em 0;
  
  /* گرادیانت متنی نئونی */
  background: linear-gradient(90deg, 
    #00f2fe 0%, 
    #4facfe 30%, 
    #89fffd 60%, 
    #a29bfe 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  
  /* افکت نور ملایم دور متن */
  text-shadow: 
    0 0 20px rgba(0, 242, 254, 0.4),
    0 0 40px rgba(79, 172, 254, 0.25),
    0 0 80px rgba(137, 255, 253, 0.15);
  
  position: relative;
}

/* افکت اضافه برای h1 و h2 (بزرگ‌ترین عنوان‌ها) */
h1, h2 {
  font-size: 3.2rem;
  line-height: 1.2;
  background: linear-gradient(90deg, #00f2fe, #4facfe, #89fffd, #c0c0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 0 30px rgba(0, 242, 254, 0.6),
    0 0 60px rgba(79, 172, 254, 0.4),
    0 0 100px rgba(137, 255, 253, 0.2);
}

/* h3 تا h6 کمی ملایم‌تر */
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.3rem; }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  right: 15px;
  bottom: 15px;
  background: #3d05d6;
  color: #fff;
  transition: display 0.5s ease-in-out;
  z-index: 99999;
}

.back-to-top i {
  font-size: 24px;
  position: absolute;
  top: 7px;
  right: 8px;
}

.back-to-top:hover {
  color: #fff;
  background: #2eafec;
  transition: background 0.2s ease-in-out;
}

/* ==================================================
   Header — Glassmorphism + Neon Glow + Micro-Interactions 2025
   ================================================== */
#header {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 340px;
  background: rgba(8, 12, 40, 0.82);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-left: 1px solid rgba(79, 172, 254, 0.35);
  box-shadow: 
    -25px 0 80px rgba(0, 0, 0, 0.8),
    inset 0 0 60px rgba(0, 242, 254, 0.08);
  z-index: 997;
  padding: 40px 30px;
  transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,242,254,0.4) transparent;
}

/* اسکرول‌بار نئونی زیبا */
#header::-webkit-scrollbar {
  width: 8px;
}
#header::-webkit-scrollbar-track {
  background: transparent;
}
#header::-webkit-scrollbar-thumb {
  background: linear-gradient(#00f2fe, #4facfe);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,242,254,0.6);
}

/* تصویر پروفایل — درخشان و سه‌بعدی */
#header .profile img {
  margin: 20px auto;
  display: block;
  width: 160px;
  height: 160px;
  object-fit: cover;
  border: 10px solid rgba(79, 172, 254, 0.45);
  border-radius: 50%;
  box-shadow: 
    0 0 60px rgba(0, 242, 254, 0.7),
    0 0 120px rgba(0, 242, 254, 0.4),
    inset 0 0 40px rgba(0, 242, 254, 0.2);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: float 6s ease-in-out infinite;
}

#header .profile img:hover {
  transform: scale(1.18) rotate(8deg);
  box-shadow: 
    0 0 100px rgba(0, 242, 254, 1),
    0 0 180px rgba(79, 172, 254, 0.8);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

/* نام و عنوان — گرادیانت درخشان */
#header .profile h1 {
  font-size: 24px;
  font-weight: 900;
  margin: 25px 0 10px;
  text-align: center;
  background: linear-gradient(90deg, #00f2fe, #4facfe, #89fffd);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 0 40px rgba(0, 242, 254, 0.4);
}

#header .profile h1 a,
#header .profile h1 a:hover {
  color: transparent;
 /* text-decoration: none;*/
}

/* آیکون‌های شبکه‌های اجتماعی — نئونی و سه‌بعدی */
#header .profile .social-links a {
  width: 56px;
  height: 56px;
  font-size: 24px;
  background: rgba(79, 172, 254, 0.22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 12px;
  border-radius: 50%;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.4),
    0 0 30px rgba(0, 242, 254, 0.3);
  position: relative;
 
}

#header .profile .social-links a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: linear-gradient(45deg, #00f2fe, #4facfe);
  border-radius: 50%;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
  z-index: -1;
}

#header .profile .social-links a:hover {
  color: #fff;
  transform: translateY(-12px) rotate(15deg) scale(1.2);
  box-shadow: 
    0 25px 60px rgba(0, 242, 254, 0.6),
    0 0 80px rgba(0, 242, 254, 0.8);
}

#header .profile .social-links a:hover::before {
  width: 200%;
  height: 200%;
}

/* محتوا اصلی */
#main {
  margin-right: 340px;
  transition: margin 0.7s ease;
}

/* ریسپانسیو — موبایل */
@media (max-width: 1199px) {
  #header {
    right: -340px;
  }
  #header.mobile-nav-active {
    right: 0;
  }
  #main {
    margin-right: 0;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu {
  padding-top: 30px;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul > li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a {
  display: flex;
  align-items: center;
  color: #a8a9b4;
  padding: 12px 15px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
}

.nav-menu a i {
  font-size: 24px;
  padding-right: 8px;
  color: #6f7180;
}

.nav-menu a:hover, .nav-menu .active > a, .nav-menu li:hover > a {
  text-decoration: none;
  color: #fff;
}

.nav-menu a:hover i, .nav-menu .active > a i, .nav-menu li:hover > a i {
  color: #149ddd;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  color: #149ddd;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  right: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
}

#hero:before {
  content: "";
  background: rgba(5, 13, 24, 0.3);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

#hero .hero-container {
  position: relative;
  z-index: 2;
  min-width: 300px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 49px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
}

#hero p {
  color: #fff;
  margin-bottom: 50px;
  font-size: 26px;
  font-family: "Vazir";
}

#hero p span {
  color: #fff;
  padding-bottom: 4px;
  letter-spacing: 1px;
  border-bottom: 3px solid #149ddd;
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

/*--------------------------------------------------------------
/* ==================================================
   Sections General — Glassmorphism + Neon + Animated 2025
   ================================================== */
section {
  padding: 110px 0;
  overflow: hidden;
  position: relative;
}

/* پس‌زمینه متحرک ملایم برای بخش‌ها */
section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(0, 242, 254, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 70% 30%, rgba(79, 172, 254, 0.08) 0%, transparent 60%);
  pointer-events: none;
  animation: softGlow 20s ease-in-out infinite alternate;
}
@keyframes softGlow {
  0% { opacity: 0.4; }
  100% { opacity: 0.8; }
}

/* کارت‌های شیشه‌ای برای بخش‌های با پس‌زمینه */
.section-bg {
  background: rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 38px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  margin: 60px 30px;
  padding: 80px 60px;
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(0, 242, 254, 0.12),
    inset 0 0 60px rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
  transition: all 0.7s ease;
}

.section-bg:hover {
  transform: translateY(-15px);
  box-shadow: 
    0 40px 120px rgba(0, 0, 0, 0.6),
    0 0 120px rgba(0, 242, 254, 0.2);
}

/* خط نور متحرک در لبه کارت */
.section-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00f2fe, #4facfe, transparent);
  animation: borderGlow 6s linear infinite;
}
@keyframes borderGlow {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* عنوان بخش — نئونی و درخشان */
.section-title {
  padding-bottom: 50px;
  text-align: center;
  position: relative;
}

.section-title h2 {
  font-size: 56px;
  font-weight: 900;
  margin-bottom: 30px;
  padding-bottom: 25px;
  position: relative;
  background: linear-gradient(90deg, 
    #00f2fe 0%, 
    #4facfe 35%, 
    #89fffd 70%, 
    #c0c0ff 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 0 30px rgba(0, 242, 254, 0.5),
    0 0 80px rgba(79, 172, 254, 0.3);
  letter-spacing: -1px;
  animation: titleGlow 4s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% { text-shadow: 0 0 30px rgba(0,242,254,0.5), 0 0 80px rgba(79,172,254,0.3); }
  100% { text-shadow: 0 0 50px rgba(0,242,254,0.8), 0 0 120px rgba(79,172,254,0.5); }
}

/* خط زیر عنوان — نئونی و پویا */
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 140px;
  height: 7px;
  background: linear-gradient(90deg, #00f2fe, #4facfe, #00f2fe);
  border-radius: 10px;
  box-shadow: 
    0 0 30px rgba(0, 242, 254, 0.8),
    0 0 60px rgba(0, 242, 254, 0.5);
  animation: linePulse 3s ease-in-out infinite;
}

@keyframes linePulse {
  0%, 100% { 
    transform: translateX(50%) scaleX(1);
    box-shadow: 0 0 30px rgba(0,242,254,0.8);
  }
  50% { 
    transform: translateX(50%) scaleX(1.3);
    box-shadow: 0 0 60px rgba(0,242,254,1);
  }
}

/* متن توضیحات زیر عنوان */
.section-title p {
  font-size: 20px;
  font-weight: 500;
  color: #b8c5ff;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.9;
}
/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #173b6c;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 2px;
  color: #149ddd;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Facts
--------------------------------------------------------------*/
/* ==================================================
   Facts / Stats Section — مینیمال + نئونی + پرسرعت 2025
   ================================================== */
#facts {
  padding: 100px 0 70px;
  position: relative;
}

/* ردیف با فاصله منظم */
#facts .row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin: 0 auto;
  max-width: 1400px;
}

/* هر باکس آماری — شیشه‌ای، مینیمال و درخشان */
.facts .count-box {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 38px 24px;
  text-align: center;
  border: 1.5px solid rgba(79, 172, 254, 0.25);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 242, 254, 0.12);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

/* افکت هاور — بالا اومدن + درخشش */
.facts .count-box:hover {
  transform: translateY(-18px);
  border-color: #00f2fe;
  box-shadow: 
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 80px rgba(0, 242, 254, 0.35);
}

/* خط نور متحرک در بالا هنگام هاور */
.facts .count-box::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #00f2fe, #4facfe, transparent);
  border-radius: 10px;
  transition: all 0.6s;
  transform: translateX(-50%);
}
.facts .count-box:hover::before {
  width: 80%;
  animation: shine 2s infinite;
}
@keyframes shine {
  0% { transform: translateX(-50%) translateX(-100%); }
  100% { transform: translateX(-50%) translateX(100%); }
}

/* آیکون — نئونی و بزرگ */
.facts .count-box i {
  font-size: 52px;
  background: linear-gradient(45deg, #00f2fe, #4facfe, #89fffd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
  margin-bottom: 20px;
  display: block;
  transition: all 0.5s;
}

.facts .count-box:hover i {
  transform: scale(1.25) rotate(12deg);
  filter: drop-shadow(0 0 40px rgba(0, 242, 254, 1));
}

/* عدد شمارش — درخشان و مینیمال */
.facts .count-box span {
  font-size: 56px;
  font-weight: 900;
  background: linear-gradient(90deg, #00f2fe, #89fffd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin: 10px 0;
  line-height: 1;
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
}

/* متن توضیح — فارسی و تمیز */
.facts .count-box p {
  font-family: "Vazir", sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: #c8d4ff;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* لینک (اگر داشت) — مینیمال و نئونی */
.facts .count-box a {
  display: inline-block;
  margin-top: 18px;
  color: #00f2fe;
  font-weight: 700;
  font-size: 15px;
  font-family: "Vazir", sans-serif;
  position: relative;
  transition: all 0.4s;
}

.facts .count-box a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: #00f2fe;
  transition: width 0.4s;
}

.facts .count-box a:hover {
  color: #89fffd;
}

.facts .count-box a:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

/*--------------------------------------------------------------
# Akills
--------------------------------------------------------------*/
.skills .progress {
  height: 50px;
  display: block;
  background: none;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Vazir";
  color: #f7f7f7;
  text-align: left;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #dce8f8;
  border-radius: 50px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: .9s;
  border-radius: 50px;          /* دو طرف کاملاً دایره‌ای */
  transition: width 1.8s ease;
  background-color: #09aaf5;
  position: relative;
}

/*--------------------------------------------------------------
# Resume
--------------------------------------------------------------*/
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #050d18;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid #1f5297;
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Vazir";
  color: #050d18;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #fff;
  border: 2px solid #1f5297;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 35px auto;
  list-style: none;
  text-align: center;
  background: #fff;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px 8px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #074079;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #149ddd;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(255, 255, 255, 0.5);
  position: absolute;
  left: 14;
  right: 14;
  top: 20;
  bottom: 10;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;

}

.portfolio .portfolio-wrap .portfolio-links {
  opacity: 1;
  left: 0;
  right: 0;
  bottom: -60px;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
  display: flex;
  justify-content: center;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  font-size: 28px;
  text-align: center;
  background: rgba(20, 157, 221, 0.75);
  transition: 0.3s;
  width: 50%;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  background: rgba(20, 157, 221, 0.95);
}

.portfolio .portfolio-wrap .portfolio-links a + a {
  border-left: 1px solid #37b3ed;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-links {
  opacity: 1;
  bottom: 0;
}


/* عنوان پروژه زیر عکس — زیبا، مینیمال و حرفه‌ای */
.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 6px 20px 18px;
    text-align: center;
    transition: all 0.5s ease;
    backdrop-filter: blur(4px);
}

.portfolio-info h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: "Vazir", sans-serif;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
    TOP: 10px;
}

/* وقتی هاور شد، عنوان ظاهر بشه */
.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

/* کمی بالا اومدن آیکون‌ها موقع هاور */
.portfolio-item:hover .portfolio-links {
    transform: translateY(-15px);
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
}

.services .icon {
  float: right;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #149ddd;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid #149ddd;
}

.services .icon i {
  color: #fff;
  font-size: 24px;
}

.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #149ddd;
}

.services .title {
  margin-left: 80px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: #343a40;
}

.services .title a:hover {
  color: #149ddd;
}

.services .description {
  margin-left: 80px;
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
  color: #c3e8fa;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  right: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 15px 15px;
  padding: 20px;
  background: #fff;
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid #fff;
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  right: calc(50% - 20px);
}

.testimonials .owl-nav, .testimonials .owl-dots {
  margin-top: 5px;
  text-align: center;
}

.testimonials .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.testimonials .owl-dot.active {
  background-color: #149ddd !important;
}

@media (max-width: 767px) {
  .testimonials {
    margin: 30px 10px;
  }
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
/* ==================================================
   Contact Section — شگفت‌انگیز + ساده + شیشه‌ای + 2025
   ================================================== */
#contact {
  padding: 140px 0 100px;
  position: relative;
}

/* کارت اطلاعات تماس — شیشه‌ای و لوکس */
.contact .info {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 40px 30px;
  border: 1.5px solid rgba(79, 172, 254, 0.25);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 242, 254, 0.1);
  height: 100%;
  transition: all 0.5s ease;
}

.contact .info:hover {
  transform: translateY(-12px);
  border-color: #00f2fe;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
}

/* آیکون‌های دایره‌ای — نئونی و درخشان */
.contact .info i {
  font-size: 26px;
  width: 64px;
  height: 64px;
  background: rgba(0, 242, 254, 0.15);
  color: #00f2fe;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  float: right;
  margin-left: 20px;
  transition: all 0.4s ease;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.3);
}

.contact .info .address:hover i,
.contact .info .email:hover i,
.contact .info .phone:hover i {
  background: #00f2fe;
  color: #000;
  transform: scale(1.15);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.8);
}

/* عنوان و متن */
.contact .info h4 {
  padding: 0 0 0 84px;
  font-size: 22px;
  font-weight: 700;
  color: #e0e8ff;
  margin-bottom: 8px;
  font-family: "Vazir", sans-serif;
}

.contact .info p {
  padding: 0 0 0 84px;
  margin-bottom: 0;
  font-size: 16px;
  color: #b8c5ff;
  line-height: 1.7;
  direction: rtl;
}

/* لینک ایمیل و تلفن */
.contact .info p a {
  color: #00f2fe;
  transition: color 0.3s;
}

.contact .info p a:hover {
  color: #89fffd;
}

/* فرم تماس — شیشه‌ای و زیبا */
.contact .php-email-form {
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  padding: 45px;
  border-radius: 28px;
  border: 1.5px solid rgba(79, 172, 254, 0.25);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 242, 254, 0.1);
  height: 100%;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(79, 172, 254, 0.3);
  border-radius: 18px;
  color: #e0e8ff;
  padding: 14px 20px;
  font-size: 16px;
  font-family: "Vazir", sans-serif;
  transition: all 0.4s ease;
  backdrop-filter: blur(8px);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #00f2fe;
  outline: none;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.4);
  background: rgba(255, 255, 255, 0.18);
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #a0b0ff;
}

/* دکمه ارسال — نئونی و جذاب */
.contact .php-email-form button[type="submit"] {
  background: linear-gradient(45deg, #00f2fe, #4facfe);
  border: none;
  padding: 16px 50px;
  border-radius: 60px;
  font-size: 18px;
  font-weight: 700;
  font-family: "Vazir", sans-serif;
  color: #000;
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 10px 40px rgba(0, 242, 254, 0.5);
  margin-top: 10px;
}

.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 242, 254, 0.7);
  background: linear-gradient(45deg, #4facfe, #89fffd);
}

/* پیام‌های وضعیت — ساده و شیک */
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message,
.contact .php-email-form .loading {
  display: none;
  border-radius: 16px;
  padding: 16px;
  margin: 20px 0;
  font-weight: 600;
  text-align: center;
}

.contact .php-email-form .error-message { background: rgba(237, 60, 13, 0.2); color: #ffffff; }

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 40px 0;
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 300;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0e2442;
  content: "/";
}

@media (max-width: 768px) {
  .breadcrumbs .d-flex {
    display: block !important;
  }
  .breadcrumbs ol {
    display: block;
  }
  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 0;
}

.portfolio-details .portfolio-details-container {
  position: relative;
}

.portfolio-details .portfolio-details-carousel {
  position: relative;
  z-index: 1;
}

.portfolio-details .portfolio-details-carousel .owl-nav, .portfolio-details .portfolio-details-carousel .owl-dots {
  margin-top: 5px;
  text-align: right;
}

.portfolio-details .portfolio-details-carousel .owl-dot {
  display: inline-block;
  margin: 0 10px 0 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd !important;
}

.portfolio-details .portfolio-details-carousel .owl-dot.active {
  background-color: #149ddd !important;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  position: absolute;
  right: 0;
  bottom: -70px;
  background: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li + li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 50px;
}

.portfolio-details .portfolio-description h2 {
  width: 50%;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

@media (max-width: 768px) {
  .portfolio-details .portfolio-description h2 {
    width: 100%;
  }
  .portfolio-details .portfolio-info {
    position: static;
    margin-top: 30px;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
/* ==================================================
   Footer — کاملاً مماس با نوبار + مینیمال + نئونی 2025
   ================================================== */
#footer {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 340px;                    /* دقیقاً هم‌عرض سایدبار */
  padding: 0px 30px;
  background: rgba(4, 11, 20, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(79, 172, 254, 0.3);
  border-left: 1px solid rgba(79, 172, 254, 0.3);
  box-shadow: 
    -20px 0 60px rgba(0, 0, 0, 0.8),
    0 -15px 40px rgba(0, 0, 0, 0.6),
    0 0 50px rgba(0, 242, 254, 0.12);
  z-index: 9998;                   /* زیر نوبار ولی بالای محتوا */
  text-align: center;
  font-family: "Vazir", sans-serif;
  transition: all 0.5s ease;
}

/* وقتی نوبار بسته شد (در موبایل)، فوتر هم ناپدید بشه */
@media (max-width: 992px) {
  #footer {
    right: -340px;
    transition: right 0.5s ease;
  }
  #footer.footer-visible {
    right: 0;
  }
}

/* متن کپی‌رایت — نئونی و ظریف */
#footer .copyright {
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  color: #c8d4ff;
  letter-spacing: 0.6px;
}

/* متن credits */
#footer .credits {
  margin: 8px 0 0;
  font-size: 13px;
  color: #89a0ff;
  opacity: 0.85;
}

/* لینک‌ها — درخشش نئونی */
#footer a {
  color: #00f2fe;
  text-decoration: none;
  transition: all 0.4s ease;
  position: relative;
}

#footer a:hover {
  color: #89fffd;
  text-shadow: 0 0 20px rgba(0, 242, 254, 0.9);
}

/* خط نئونی متحرک بالا (مماس با نوبار) */
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #00f2fe, transparent);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.8);
  opacity: 0.7;
}

/* در موبایل — فوتر کاملاً پایین صفحه و کشیده */
@media (max-width: 992px) {
  #footer {
    width: 100%;
    right: 0;
    bottom: 0;
    border-left: none;
    border-radius: 24px 24px 0 0;
    padding: 0px 20px;
  }
  
  #footer::before {
    width: 160px;
  }
}
