* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
body {
  font-family: "Vazirmatn", sans-serif;
}
@font-face {
  font-family: "byekan";
  src: url(../fonts/Vazirmatn-Regular.ttf);
}
@font-face {
  font-family: "messiii";
  src: url(../fonts/Far_Yekan.ttf);
}
@font-face {
  font-family: "iransans";
  src: url(../fonts/Iranian-Sans.ttf);
}
.row9 {
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 10px;
  border: 1px solid rgb(38, 72, 95);
  background: radial-gradient(circle at top right, #002a5e, #000c1a);
  backdrop-filter: blur(12px);
  background-image: url(../imgs/1760895204757.png);
  font-family: "byekan";
}
.header {
  overflow: hidden;
  position: sticky;
  padding: 80px 25px 25px;
  top: 0;
  left: 0;
  z-index: 1000;
  background: radial-gradient(circle at top right, #24456d, #000000);
  backdrop-filter: blur(12px);
}
.header::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #68cdff,
    #66edff,
    #52e5ff,
    transparent 70%
  );
  animation: rotateLight 20s linear infinite;
  opacity: 0.2;
  z-index: 0;
}

@keyframes rotateLight {
  to {
    transform: rotate(360deg);
  }
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ulnew {
  list-style-type: none;
}
.ulnew li {
  position: relative;
  display: inline-block;
  padding: 8px;
  transition: color 0.3s;
}
.ulnew li::after {
  content: "";
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  background: #00bcd4;
  transition: width 0.3s ease;
}
.ulnew li:hover {
  color: #00bcd4;
}
.ulnew li:hover::after {
  width: 100%;
}
.ulnew li a:hover {
  color: #00aaff;
}
.ulnew li a {
  text-shadow: 0px 10px 8px rgba(0, 0, 0, 0.685);
  letter-spacing: px;
  color: rgba(255, 255, 255, 0.829);
  display: block;
  text-decoration: none;
  text-align: center;
  padding: 6px;
  font-size: 16px;
}
.ulnew li ul.dropdown li {
  display: block;
  background-image: url(../imgs/1760895204757.png);
  color: #ffffff;
  overflow: hidden;
}

.ulnew li ul.dropdown li a:hover {
  position: relative;
  background: radial-gradient(circle at top right, #002a5e, #000c1a);
  backdrop-filter: blur(12px);
  padding: 20px;
  color: rgba(0, 204, 255, 0.678);
}

.ulnew li ul.dropdown li a {
  color: rgb(255, 255, 255);
  transition: 0.5s all;
}
.ulnew li ul.dropdown {
  width: 200px;
  box-shadow: 0px 0px 70px black;
  position: absolute;
  z-index: 9999;
  display: none;
  border-radius: 10px;
}

.ulnew li:hover ul.dropdown {
  display: block;
}
@keyframes ani {
  100% {
    color: rgb(66, 66, 212);
    letter-spacing: 4px;
  }
}
.web3 {
  align-self: normal;
  padding: 30px;
  font-size: 19px;
}
.web3 > p {
  letter-spacing: 3px;
  font-family: TAHOMA;
  color: rgb(255, 255, 255);
}
.web2 {
  height: 25px;
  width: 25px;
  display: none;
}
.web2 > i > div {
  height: 25px;
  width: 25px;
  border-top: 1px solid rgb(74, 107, 255);
  margin-top: 7px;
}
.web2 > i > div > div {
  height: 25px;
  width: 25px;
  border-top: 1px solid rgb(70, 141, 248);
  margin-top: 7px;
}
.web2:hover {
  animation-play-state: paused;
}
.web2 > div:hover {
  animation-play-state: paused;
}
@keyframes ami {
  100% {
    transform: rotate(1turn);
  }
}
@keyframes amie {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes amiet {
  60% {
    background-color: black;
  }
  100% {
    background-color: rgb(0, 38, 255);
  }
}
@media screen and (max-width: 964px) {
  .ulnew li ul.dropdown {
    margin-top: 50px;
  }
  .web1 {
    display: none;
  }
  .web2 {
    align-self: normal;
    transition: 1s all;
    margin: 50px;
    display: unset;
  }
  .web1 > ul > li {
    display: flex;
  }
  .web1 > ul {
    animation: gem 0.7s alternate linear infinite;
    text-align: center;
    font-size: 12px;
  }
}
@media screen and (max-width: 640px) {
  .web3 {
    align-self: normal;
    padding: 20px;
  }
}

.text {
  text-align: center;
  letter-spacing: 3px;
  font-family: "byekan";
  padding: 7px;
}
.aaa {
  text-decoration: none;
  color: white;
  position: relative;
  z-index: 9999;
}
.aaaa {
  text-decoration: none;
  font-weight: bold;
  font-family: "byekan";
}
.text2 {
  font-size: 18px;
  color: #ffffff;
}

.pic {
  height: 70px;
  width: 100%;
}

.had > div {
  border-top: 1px solid black;
  height: 20px;
  width: 20px;
  margin-top: 5px;
}
.had > div > div {
  border-top: 1px solid black;
  height: 20px;
  width: 20px;
  margin-top: 5px;
}
.sec {
  margin-top: 90px;
  font-family: "byekan";
}
.con9 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
.sec1 {
  text-align: center;
  color: rgb(76, 76, 219);

  text-shadow: 20px 0px 7px black;
  letter-spacing: 5px;
  font-family: "messi";
}
@media screen and (max-width: 750px) {
  .sec4 {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .con {
    margin-top: 30px;
  }
}
@media screen and (max-width: 700px) {
  .card {
    margin: 30px;
  }
}
.mg1 {
  border-radius: 20px;
  border: 1px solid rgb(98, 98, 136);
  box-shadow: 10px 10px 60px rgb(0, 0, 0);
}
.gm {
  width: 90px;
  filter: drop-shadow(2px 2px 20px rgb(0, 0, 0));
}
.mg3 {
  border-radius: 5px;
}
.sec5 {
  margin-top: 150px;
  margin-bottom: 100px;
}
.fixed-box {
  position: fixed; /* عنصر همیشه در یک موقعیت ثابت می‌ماند */
  bottom: 0; /* چسباندن به پایین صفحه */
  left: 0; /* چسباندن به سمت چپ (می‌توانید right: 0 بگذارید) */
  width: 100%; /* پهنای کامل صفحه */
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 18px;
  font-family: "messiii";
  animation: bar 1s alternate linear infinite;
  overflow: hidden;
  background: radial-gradient(circle at top right, #000000, #37c6ff);
  backdrop-filter: blur(12px);
}
.fixed-box::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #77d2ff,
    #adf3ff,
    #44c1ff,
    transparent 70%
  );
  animation: rotateLight 20s linear infinite;
  opacity: 0.2;
  z-index: 0;
}
@keyframes bar {
  100% {
    padding: 30px;
  }
}
footer {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top right, #002a5e, #000c1a);
  color: #f1f5f9;
  font-family: "iransans";
  padding: 80px 25px 25px;
  backdrop-filter: blur(12px);
}
/* نور متحرک پس‌زمینه */
footer::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    #00aaff,
    #0044ff,
    #00aaff,
    transparent 70%
  );
  animation: rotateLight 20s linear infinite;
  opacity: 0.2;
  z-index: 0;
}

@keyframes rotateLight {
  to {
    transform: rotate(360deg);
  }
}

/* موج نور پایین فوتر */
.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 120px;
  background-size: cover;
  opacity: 0.5;
  animation: waveMove 15s linear infinite;
  z-index: 0;
}

@keyframes waveMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.footer-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s, box-shadow 0.4s;
  backdrop-filter: blur(6px);
}

.footer-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 170, 255, 0.5);
}

.footer-logo h2 {
  font-size: 24px;
  background: linear-gradient(to right, #00aaff, #66d9ff);
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  text-align: center;
}

.footer-logo p {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
}

.social-icons a:hover {
  background: #00aaff;
  box-shadow: 0 0 15px #00aaff;
  transform: translateY(-4px) scale(1.2);
}

.social-icons svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #00aaff;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 14px;
}

.footer-col li a:hover {
  color: #00aaff;
}

.footer-contact p {
  margin: 6px 0;
  font-size: 14px;
  color: #e2e8f0;
}

.footer-bottom {
  margin-top: 60px;
  text-align: center;
  color: #9ca3af;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  position: relative;
  z-index: 1;
}

/* انیمیشن محو شدن هنگام اسکرول */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  footer {
    padding: 60px 15px 15px;
  }
  .footer-col h3 {
    font-size: 16px;
  }
  .footer-logo h2 {
    font-size: 20px;
  }
}
.slider {
  position: relative;
  width: 100%;
  height: 100vh;
  perspective: 1000px;
  font-family: "byekan";
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transform-style: preserve-3d;
}
.slide.active {
  opacity: 1;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.caption {
  position: absolute;
  bottom: 20%;
  left: 8%;
  color: #fff;
  max-width: 600px;
  overflow: hidden;
  transform: translateZ(0);
}
.caption h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  white-space: nowrap;
}
.caption p {
  font-size: 1.3rem;
  white-space: nowrap;
}
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: #00a2e8;
  border-radius: 6px;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.8);
}
.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  font-size: 2rem;
  padding: 10px;
  border: none;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
}
.prev {
  left: 20px;
}
.next {
  right: 20px;
}
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
}
.dots span.active {
  background: #00a2e8;
}
#particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  .caption h2 {
    font-size: 2rem;
  }
  .caption p {
    font-size: 1rem;
  }
  .prev,
  .next {
    font-size: 1.5rem;
    padding: 8px;
  }
}
@media (max-width: 480px) {
  .caption {
    bottom: 15%;
    left: 5%;
  }
  .caption h2 {
    font-size: 1.3rem;
  }
  .caption p {
    font-size: 0.9rem;
  }
}
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px; /* چپ چون دکمه تماس توی راست هست */
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(120deg, #007aff, #00bcd4);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.35);
  z-index: 10002; /* بالاتر از call-btn */
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* وقتی نشان داده میشه */
.back-to-top.show {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* افکت هاور */
.back-to-top:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 188, 212, 0.5);
}

/* کوچک‌سازی در موبایل */
@media (max-width: 480px) {
  .back-to-top {
    width: 44px;
    height: 44px;
    font-size: 16px;
    bottom: 16px;
    left: 16px;
  }
}
.floating-call {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 10px;
  background: linear-gradient(120deg, #005007, #00ff0d);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(0, 188, 212, 0.4);
  z-index: 10001;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-call:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 35px rgb(5, 54, 0);
}
.tell {
  font-size: 30px;
}
/* انیمیشن پالس ملایم */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgb(0, 99, 30);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 188, 212, 0);
    transform: scale(1.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 188, 212, 0);
  }
}

.floating-call {
  animation: pulse 2s alternate linear infinite;
}
:root {
  --radius: 20px;
  --accent-dark: #8b5cf6;
  --accent-light: #3730a3;
  --accent2-dark: #60a5fa;
  --accent2-light: #818cf8;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent2),
    var(--accent2)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradMove 6s linear infinite, shine 3s ease-in-out infinite;
  position: relative;
}
@keyframes gradMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes shine {
  0%,
  100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.6);
  }
}
.typewriter {
  display: inline-block;
  border-right: 3px solid var(--accent);
  padding-right: 8px;
  margin-top: 6px;
  font-weight: 600;
  min-height: 22px;
}
.theme-toggle {
  position: fixed;
  top: 70px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 50px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.25);
  transition: all 0.4s;
}
.section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  color: var(--accent);
}
.services-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  position: relative;
  z-index: 2;
}
.card {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(50, 50, 70, 0.4),
    rgba(255, 255, 255, 0.08)
  );
  background-size: 400% 400%;
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  animation: gradientBG 8s ease infinite;
}
body[data-theme="light"] .card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(0, 0, 0, 0.02)
  );
  border: 1px solid rgba(0, 0, 0, 0.1);
}
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 14px;
  transition: transform 0.4s ease, text-shadow 0.4s ease;
  position: relative;
  z-index: 1;
}
.card:hover .icon-wrap {
  transform: scale(1.3) rotate(10deg);
  text-shadow: 0 0 18px rgba(139, 92, 246, 0.7);
}
.card canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.card h3 {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 700;
}
.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.typing-container {
  text-align: center;
  font-size: 2.3rem;
  margin: 40px 0 10px;
  font-weight: 700;
  color: #3874a5;
}
.caret {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: #004c8c;
  animation: blink 1s steps(2) infinite;
  vertical-align: middle;
  margin-right: 4px;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.h2 {
  text-align: center;
  font-size: 1.8rem;
  margin: 50px 0 25px;
}

/* کارت‌ها */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 40px 60px;
}
.card {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 35px 25px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  font-weight: 600;
  position: relative;
  border: 3px solid rgba(0, 0, 0, 0.2);
  transform-origin: center center;
  overflow: hidden;
  transition: border-color 0.8s ease;
}
.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}
.card p {
  font-size: 0.95rem;
  color: rgba(0, 0, 0, 0.6);
}

/* آیکون گرادیانت سامسونگی */
.card .icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
  background: linear-gradient(45deg, #00bcd4, #004c8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* درباره ما */
.about-card {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 25px 20px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  text-align: justify;
  position: relative;
  border: 3px solid rgba(0, 0, 0, 0.2);
  font-weight: 500;
  min-height: 200px;
  overflow: hidden;
  margin: 0 40px 80px;
}
.about-card .icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  background: linear-gradient(45deg, #00bcd4, #004c8c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#aboutTyping {
  display: inline-block;
  white-space: pre-wrap;
  font-weight: 500;
}

@media (max-width: 520px) {
  .typing-container {
    font-size: 1.7rem;
    margin: 30px 0 8px;
  }
  .h2 {
    font-size: 1.4rem;
    margin: 30px 0;
  }
  .services {
    padding: 0 16px 40px;
  }
  .about-card {
    padding: 20px;
    margin: 30px 16px;
  }
}

@keyframes floatText {
  from {
    transform: translateY(0px);
  }
  to {
    transform: translateY(-10px);
  }
}

/* درباره ما */
.about-container {
  max-width: 1100px;
  margin: -100px auto 100px auto;
  margin-top: 45px;
  display: flex;
  font-family: "byekan";
  flex-wrap: wrap;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 140, 255, 0.2);
  transform: translateY(50px);
  opacity: 0;
  transition: all 1.2s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}
.about-container.visible {
  transform: translateY(0);
  opacity: 1;
}

/* عکس */
.about-image {
  flex: 1 1 50%;
  overflow: hidden;
  position: relative;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.5s ease;
}
.about-container.visible .about-image img {
  transform: scale(1);
}
.about-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 157, 255, 0.3), transparent);
}

/* متن */
.about-text {
  flex: 1 1 50%;
  padding: 60px;
  animation: fadeRight 1.5s ease forwards;
}
@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.about-text h2 {
  font-size: 32px;
  color: #007aff;
  position: relative;
  margin-bottom: 25px;
}
.about-text h2::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 90px;
  height: 4px;
  background: linear-gradient(90deg, #009dff, #00e1ff);
  border-radius: 2px;
}
.about-text p {
  font-size: 17px;
  color: #333;
  line-height: 2;
  text-align: justify;
}

/* دکمه‌ها */
.buttonss {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}
.btn3 {
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.call-btn2 {
  background: linear-gradient(90deg, #007bff, #00c3ff);
  color: white;
  font-family: "messiii";
}
.call-btn2:hover {
  box-shadow: 0 0 15px rgba(0, 195, 255, 0.5);
  transform: translateY(-3px);
}
.services-btn2 {
  background: white;
  border: 2px solid #009dff;
  color: #007bff;
  font-family: "messiii";
}
.services-btn2:hover {
  background: #009dff;
  color: white;
  box-shadow: 0 0 15px rgba(0, 157, 255, 0.4);
  transform: translateY(-3px);
}
.about-h1 {
  font-size: 17px;
}

/* واکنش‌گرا */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    margin: 30px;
  }
  .about-text {
    padding: 30px;
    text-align: center;
  }
  .about-text h2::after {
    right: 50%;
    transform: translateX(50%);
  }
}
.adecor {
  text-decoration: none;
  all: unset;
}
.span {
  background-color: rgb(251, 255, 0);
}
/* 💡 حالت محو اولیه */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}
/* 💫 وقتی داخل دید کاربر میاد */
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.typing-wrapper {
  max-width: 900px;
  margin: 20px auto;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(10, 20, 50, 0.06);
}

/* استایل متن تایپ */
.typing {
  font-size: 25px;
  line-height: 1.6;
  text-align: center;
  display: inline-block;
  font-family: "byekan";
  color: #1c3d47;
  white-space: nowrap; /* جلوگيري از شکست خط */
  vertical-align: middle;
}

/* کرِسِر چشمک‌زن */
.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 1.15em;
  margin-inline-start: 8px; /* فاصله بین متن و کرسر در راست‌چین */
  background: #004aad;
  vertical-align: middle;
  animation: blink 1s steps(2, start) infinite;
}
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* گزینه: کرسر نازکتر یا با رنگ دیگر */
.typing[data-cursor-color] + .typing-cursor {
  background: var(--cursor-color, #004aad);
}

/* حالت کوچک‌تر برای موبایل */
@media (max-width: 600px) {
  .typing {
    font-size: 18px;
  }
}
#popup-box {
  position: fixed;
  bottom: 140px;
  right: 5px;
  background: linear-gradient(135deg, #007bff, #00bcd4);
  color: #ffff00; /* متن زرد */
  padding: 14px 20px;
  border-radius: 14px;
  font-family: "IRANSans", sans-serif;
  font-size: 15px;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(0, 188, 212, 0.7);
  pointer-events: none;
  z-index: 99999;
  text-align: center;
  min-width: 250px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px);
  transition: background 2s linear;
}

/* Animation ظاهر شدن */
@keyframes fadeSlideIn {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation محو شدن */
@keyframes fadeSlideOut {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(40px);
  }
}
#popup-box.show {
  pointer-events: auto;
  animation: fadeSlideIn 0.7s forwards;
}

#popup-box.hide {
  animation: fadeSlideOut 0.7s forwards;
}

#popup-box a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

#popup-box .icon {
  display: inline-block;
  margin-left: 6px;
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@import url("https://fonts.googleapis.com/css2?family=Vazirmatn:wght@500;700&display=swap");

.page-header {
  background: linear-gradient(135deg, #f8fbff 0%, #e6f1ff 100%);
  padding: 50px 15px;
  text-align: center;
  border-bottom: 2px solid rgba(0, 114, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.page-title {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 5vw, 34px);
  background: linear-gradient(90deg, #0072ff, #00c6ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 15px 0;
  line-height: 1.4;
  position: relative;
  display: inline-block;
  /* سایه متن */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
}

/* افکت نور نرم روی متن */
.page-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-20deg);
  animation: shine-light 4s infinite;
}

@keyframes shine-light {
  0% {
    left: -50%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.page-subtitle {
  font-family: "Vazirmatn", sans-serif;
  font-weight: 500;
  color: #4a4a4a;
  font-size: clamp(14px, 3vw, 18px);
  margin: 0 auto;
  width: 90%;
  max-width: 700px;
}

@media (max-width: 480px) {
  .page-header {
    padding: 35px 10px;
  }
}
/* ================= محتوا و تایتل‌های فرعی ================= */
.page-content {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 15px;
  line-height: 1.7;
}

.sub-title {
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 24px);
  color: #0072ff;
  margin: 25px 0 10px 0;
  position: relative;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  margin-top: 50px;
  margin-right: 30px;
  font-family: "byekan";
}

/* افکت نور سبک روی تایتل‌های فرعی */
.sub-title::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0)
  );
  transform: skewX(-20deg);
  animation: shine-sub 5s infinite;
}

@keyframes shine-sub {
  0% {
    left: -50%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* پاراگراف‌ها با باکس کم‌رنگ ثابت */
.description {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  margin: 0 0 20px 0;
  padding: 8px;
  line-height: 32px;
  background: rgba(0, 114, 255, 0.05); /* باکس کم‌رنگ ثابت */
  font-family: "byekan";
  margin: 10px;
  text-align: justify;
  border-radius: 10px;
}
/* پاراگراف‌ها با باکس کم‌رنگ ثابت */
.description1 {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  margin: 0 0 20px 0;
  padding: 8px;
  background: rgba(0, 114, 255, 0.05); /* باکس کم‌رنگ ثابت */
  font-family: "byekan";
  margin: 10px;
  text-align: justify;
  margin-top: 30px;
  border-radius: 10px;
}
.description1 > li {
  margin: 20px;
  color: rgba(0, 0, 0, 0.685);
}
/* ================= ریسپانسیو ================= */
@media (max-width: 480px) {
  .sub-title {
    font-size: clamp(16px, 4vw, 20px);
  }
  .description {
    font-size: clamp(13px, 3.5vw, 15px);
  }
  .sub-title::after {
    display: none;
  }
}
.descriptionmain {
  font-weight: 400;
  font-size: clamp(14px, 2vw, 16px);
  margin: 0 0 20px 0;
  padding: 8px;
  line-height: 35px;
  background: rgba(0, 114, 255, 0.05); /* باکس کم‌رنگ ثابت */
  font-family: "byekan";
  margin: 10px;
  text-align: justify;
  border-radius: 10px;
}

.unique-title {
  font-weight: 900;
  letter-spacing: 2px;
  color: #66b3ff;
  text-align: center;
  /* اندازه واکنش‌گرا */
  font-size: clamp(1.8rem, 5vw, 3.2rem);

  /* جداشدگی از متن‌ها */
  padding: 20px 0;
  margin: 70px 10px 25px 0;
  border-bottom: 3px solid rgba(100, 150, 255, 0.35);

  /* پس‌زمینه برای مجزا بودن */
  background: linear-gradient(
    to right,
    rgba(0, 60, 130, 0.12),
    rgba(0, 60, 130, 0)
  );

  text-shadow: 0 0 6px rgba(80, 150, 255, 0.3),
    0 0 14px rgba(80, 150, 255, 0.15);

  animation: subtleGlow 4s infinite ease-in-out;
}

/* انیمیشن */
@keyframes subtleGlow {
  0% {
    text-shadow: 0 0 6px rgba(80, 150, 255, 0.3),
      0 0 14px rgba(80, 150, 255, 0.15);
  }
  50% {
    text-shadow: 0 0 10px rgba(120, 180, 255, 0.4),
      0 0 20px rgba(120, 180, 255, 0.2);
  }
  100% {
    text-shadow: 0 0 6px rgba(80, 150, 255, 0.3),
      0 0 14px rgba(80, 150, 255, 0.15);
  }
}

/* تنظیمات موبایل */
@media (max-width: 600px) {
  .unique-title {
    letter-spacing: 1.2px;
    padding: 15px 0;
    margin: 30px 10px 20px 0;
    border-bottom-width: 2px;
  }
}
@media (max-width: 473px) {
  .unique-title {
    margin: 10px;
  }
}
.unique-title2 {
  font-weight: 900;
  letter-spacing: 2px;
  color: #66b3ff;

  /* اندازه واکنش‌گرا */

  /* جداشدگی از متن‌ها */
  padding: 20px 0;
  margin: 40px 10px 25px 0;
  border-bottom: 3px solid rgba(100, 150, 255, 0.35);

  /* پس‌زمینه برای مجزا بودن */
  background: linear-gradient(
    to right,
    rgba(0, 60, 130, 0.12),
    rgba(0, 60, 130, 0)
  );

  text-shadow: 0 0 6px rgba(80, 150, 255, 0.3),
    0 0 14px rgba(80, 150, 255, 0.15);

  animation: subtleGlow2 4s infinite ease-in-out;
}

/* انیمیشن */
@keyframes subtleGlow2 {
  0% {
    text-shadow: 0 0 6px rgba(80, 150, 255, 0.3),
      0 0 14px rgba(80, 150, 255, 0.15);
  }
  50% {
    text-shadow: 0 0 10px rgba(120, 180, 255, 0.4),
      0 0 20px rgba(120, 180, 255, 0.2);
  }
  100% {
    text-shadow: 0 0 6px rgba(80, 150, 255, 0.3),
      0 0 14px rgba(80, 150, 255, 0.15);
  }
}

/* تنظیمات موبایل */
@media (max-width: 600px) {
  .unique-title2 {
    letter-spacing: 1.2px;
    padding: 15px 0;
    margin: 30px 10px 20px 0;
    border-bottom-width: 2px;
  }
}
@media (max-width: 473px) {
  .unique-title2 {
    margin: 10px;
  }
}
.faq-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 25px;
  border-radius: 18px;
  background: linear-gradient(145deg, #f8fbff, #ffffff);
  border: 1px solid #d6e7ff;
  box-shadow: 0 6px 25px rgba(0, 60, 110, 0.07);
}

.faq-section h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #002f6c;
  font-weight: 700;
  text-align: right;
}

.faq-section dt {
  font-weight: 700;
  margin-top: 18px;
  cursor: pointer;
  padding: 16px 14px;
  background: #eaf3ff;
  border-radius: 12px;
  transition: all 0.4s;
  box-shadow: 0 3px 8px rgba(0, 60, 110, 0.05);
  position: relative;
  text-align: right;
}

.faq-section dt:hover {
  background: #d7e8ff;
  transform: translateY(-2px);
}

.faq-section dt::after {
  content: "⌄";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.4s;
  font-size: 18px;
  color: #1a3f8b;
}

.faq-section dt.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq-section dd {
  margin: 0;
  padding: 0 16px;
  background: #ffffff;
  border-right: 3px solid #4a90e2;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: all 0.5s;
}

.faq-section dt.active + dd {
  padding: 16px;
  max-height: 400px;
  opacity: 1;
}

@media (max-width: 600px) {
  .faq-section {
    padding: 20px;
  }
  .faq-section h2 {
    font-size: 20px;
  }
  .faq-section dt {
    font-size: 16px;
    padding: 14px 12px;
  }
  .faq-section dd {
    font-size: 14px;
    padding: 12px;
  }
}
@media (max-width: 490px) {
  .unique-title {
    font-size: 23px;
    margin-top: 40px;
  }
}
