:root {
  --primary: #00d2ff;
  --black: #0a0a0a;
  --dark-grey: #161b22;
  --white: #ffffff;
}

/* دانانا فۆنتێ Speda Bold */
@font-face {
  font-family: "Speda";
  src: url("Speda-Bold.ttf") format("truetype");
  font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Speda", Tahoma, sans-serif;
}

body {
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  direction: rtl;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.95);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--primary);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.1rem;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: 0.3s;
}

nav ul a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: var(--primary);
  cursor: pointer;
  z-index: 1001;
}

/* Hero Section */
.hero {
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.1rem;
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: black;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  transition: 0.3s;
  font-size: 1rem;
}
.btn:hover {
  background: var(--white);
  transform: scale(1.05);
}

/* Services & Sections */
section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
  font-size: 2.2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: var(--dark-grey);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  border: 1px solid #333;
  transition: 0.3s;
}

.service-card i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}
.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}

/* About Section */
.about-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-text h2 {
  color: var(--primary);
  font-size: 2.2rem;
  margin-bottom: 20px;
}
.about-text p {
  font-size: 1rem;
  line-height: 1.8;
}
.about-img {
  flex: 1;
  min-width: 300px;
}
.about-img img {
  width: 100%;
  border-radius: 15px;
  border: 2px solid var(--primary);
}

/* Contact */
.contact-container {
  background: var(--dark-grey);
  padding: 50px;
  border-radius: 20px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.c-card {
  background: #222;
  padding: 12px 25px;
  border-radius: 8px;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid transparent;
  transition: 0.3s;
  font-size: 1rem;
}
.c-card:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.qr-area {
  text-align: center;
}
.qr-area img {
  width: 160px;
  border: 5px solid white;
  border-radius: 10px;
  margin-bottom: 10px;
}

footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid #333;
  color: #777;
}

/* Loading Screen */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--black);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transition: opacity 0.5s ease;
}

.loader-content {
  text-align: center;
}

/* لۆگۆیێ لۆدینگێ */
.loading-logo {
  width: 110px;
  height: 110px;
  border-radius: 15px;
  margin-bottom: 20px;
  animation: pulse 1.5s infinite;
  border: 2px solid var(--primary);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

.glitch-text {
  color: var(--white);
  font-size: 2rem;
  letter-spacing: 5px;
  margin-bottom: 10px;
}

.loader-content p {
  color: #888;
  font-size: 1rem;
  margin-bottom: 20px;
}

.progress-bar {
  width: 250px;
  height: 4px;
  background-color: #333;
  border-radius: 5px;
  margin: 0 auto;
  overflow: hidden;
}

.progress {
  width: 0%;
  height: 100%;
  background-color: var(--primary);
  animation: loadProgress 2s ease-in-out forwards;
  box-shadow: 0 0 10px var(--primary);
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
}

@keyframes loadProgress {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* ڕێکخستن بۆ مۆبایل - گۆڕینا مێنویێ بۆ Sidebar */
@media (max-width: 768px) {
  section {
    scroll-margin-top: 90px;
  }
  .section-title {
    margin-bottom: 30px;
    font-size: 1.8rem;
  }

  .logo img {
    width: 40px;
    height: 40px;
  }
  .logo {
    font-size: 1rem;
  }

  .menu-toggle {
    display: block;
  }

  /* شێوازی لاکێشەیی و ستوونی لە تەنیشت (Sidebar) */
  nav ul {
    position: fixed;
    top: 0;
    right: -260px;
    width: 260px;
    height: 100vh;
    background-color: #0a0a0a;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    transition: right 0.4s ease;
    border-left: 2px solid var(--primary);
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.8);
    z-index: 1000;
  }

  nav ul.active {
    right: 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    display: block;
    padding: 15px 25px;
    font-size: 1.1rem;
    border-bottom: 1px solid #1a1a1a;
  }

  .hero {
    height: 60vh;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }

  .about-wrapper {
    gap: 30px;
  }
  .about-text h2 {
    text-align: center;
    font-size: 1.8rem;
  }
  .about-text p {
    text-align: justify;
  }

  .services-grid {
    gap: 20px;
  }
  .contact-container {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }
  .c-card {
    width: 100%;
    justify-content: center;
  }
}
/* چارەسەرکرنا ئاراستەیێ نڤیسینێن ئینگلیزی و ژمارەیان د ناڤ دەقێ کوردی دا */
.ltr-isolate {
  display: inline-block; /* ناهێلیت نڤیسین بڕکیت یان بچیتە ڕێزەکا دی */
  direction: ltr; /* ئاراستەیێ دکەتە چەپ بۆ ڕاست */
  unicode-bidi: isolate; /* ئەڤەیە نهێنی! ڤی بەشی ژ دەوروبەران جودا دکەت */
  white-space: nowrap; /* مسۆگەر دکەت کو کەڤان نەچنە سەر ڕێزەکا نوی ل سەر مۆبایلێ */
}
