* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Fira Code", monospace;
  background: #000000;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  transition: font-family 0.3s ease;
  cursor: default;
  user-select: none;
}

body[lang="ar"] {
  font-family: "Noto Sans Arabic", sans-serif;
}

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #000000;
  border-left: 1px solid rgba(0, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00ffff, #ff00ff);
  border-radius: 10px;
  border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #00ff80, #00ffff, #ff00ff);
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

* {
  scrollbar-width: thin;
  scrollbar-color: #00ffff #000000;
}

.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(45deg, #000000, #0a0a0a, #000000);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

.bg-animation::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(0, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(255, 0, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 20%,
      rgba(0, 255, 128, 0.1) 0%,
      transparent 50%
    );
  animation: float 20s ease-in-out infinite;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(5deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-5deg);
  }
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem 2rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

nav a {
  color: #00ffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  line-height: 1.2;
}

nav a:hover {
  color: #ff00ff !important;
}

[dir="ltr"] nav a:hover {
  transform: translateX(5px);
}

[dir="rtl"] nav a:hover {
  transform: translateX(-5px);
}

[dir="ltr"] nav a:hover::before {
  opacity: 1;
  left: -20px;
}

[dir="rtl"] nav a:hover::before {
  opacity: 1;
  right: -20px;
}

.lang-switcher {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-btn {
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff;
  color: #00ffff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 5px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  min-width: 50px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-2px);
}

.lang-btn.active {
  background: #00ffff;
  color: #000000;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.nav-logo {
  display: none;
  font-size: 1.2rem;
  font-weight: 600;
  background: linear-gradient(135deg, #00ffff, #ff00ff, #00ff80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
  white-space: nowrap;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #00ffff;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
  display: contents;
}

section {
  min-height: 100vh;
  padding: 6rem 2rem 0rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

h1,
h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #00ffff, #ff00ff, #00ff80);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%,
  100% {
    filter: hue-rotate(0deg);
  }
  50% {
    filter: hue-rotate(30deg);
  }
}

h2 {
  font-size: 2.5rem;
  text-align: center;
}

#hero {
  text-align: center;
}

.hero-content {
  display: grid;
  gap: 3rem;
  align-items: center;
}

[dir="ltr"] .hero-content {
  grid-template-columns: 1fr 300px;
}

[dir="rtl"] .hero-content {
  grid-template-columns: 1fr 300px;
}

.hero-text {
  text-align: left;
}

[dir="rtl"] .hero-text {
  text-align: right;
}

.hero-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 3px solid #00ffff;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
  object-fit: cover;
  transition: all 0.4s ease;
  pointer-events: none;
}

.hero-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 50px rgba(255, 0, 255, 0.7);
  border-color: #ff00ff;
}

@keyframes float-image {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.h1-arabic {
  font-size: 4.3rem !important;
  margin-bottom: 2.5rem !important;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #00ffff;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.cta-button {
  position: relative;
  display: inline-block;
  padding: 1rem 2.5rem;
  color: #000;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  overflow: hidden;
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-clip: padding-box;
  z-index: 0;
}

.cta-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, #00ffff, #00ff80);
  transition: background 0.3s ease;
  z-index: -1;
}

.cta-button:hover::before {
  background: linear-gradient(135deg, #ff00ff, #00ffff);
}

.cta-button:hover {
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.5);
  transform: translateY(-5px);
}

#about {
  background: rgba(10, 10, 10, 0.5);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  justify-content: center;
}

.about-text {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.8;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.skill-tag {
  padding: 0.7rem 1.5rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff;
  border-radius: 25px;
  color: #00ffff;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.project-card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  cursor: pointer;
}

.project-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
  pointer-events: none;
}

.project-card:hover::before {
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) rotate(45deg);
  }
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: #ff00ff;
  box-shadow: 0 15px 40px rgba(255, 0, 255, 0.3);
}

.project-card:hover h3 {
  color: #ff00ff;
}

.project-card h3 {
  font-size: 1.5rem;
  color: #00ffff;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.project-card p {
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.project-link {
  padding: 0.7rem 1.5rem;
  background: rgba(0, 255, 255, 0.1);
  border: 1px solid #00ffff;
  color: #00ffff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  text-align: center;
  flex: 1;
  position: relative;
}

.project-link:hover {
  background: #00ffff;
  color: #000000;
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.5);
  z-index: 3;
}

.project-link.github {
  border-color: #ff00ff;
  color: #ff00ff;
  background: rgba(255, 0, 255, 0.1);
}

.project-link.github:hover {
  background: #ff00ff;
  color: #000000;
  box-shadow: 0 5px 15px rgba(255, 0, 255, 0.5);
}

#skills {
  background: rgba(10, 10, 10, 0.5);
}

.skills-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.skill-category {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.4s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: #00ff80;
  box-shadow: 0 10px 30px rgba(0, 255, 128, 0.2);
}

.skill-category h3 {
  color: #00ffff;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.skill-category h3::before {
  content: "◆";
  color: #ff00ff;
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  color: #cccccc;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

[dir="ltr"] .skill-category li {
  padding-left: 1rem;
}

[dir="rtl"] .skill-category li {
  padding-right: 1rem;
}

.skill-category li:last-child {
  border-bottom: none;
}

[dir="ltr"] .skill-category li:hover {
  color: #00ff80;
  padding-left: 1.5rem;
}

[dir="rtl"] .skill-category li:hover {
  color: #00ff80;
  padding-right: 1.5rem;
}

[dir="ltr"] .skill-category li::before {
  content: "▸ ";
  color: #00ffff;
  margin-right: 0.5rem;
}

[dir="rtl"] .skill-category li::before {
  content: "◂ ";
  color: #00ffff;
  margin-left: 0.5rem;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.4s ease;
  cursor: pointer;
}

.contact-item:hover {
  transform: translateY(-5px);
  border-color: #ff00ff;
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.2);
}

.contact-item:hover h3 {
  color: #ff00ff;
}

.contact-item:hover a {
  color: #ff00ff;
  transform: scale(1.05);
}

.contact-item h3 {
  color: #00ffff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.contact-item a {
  color: #cccccc;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  display: inline-block;
}

footer {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  color: #888888;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

[lang="en"] .ar-only {
  display: none;
}

[lang="ar"] .en-only {
  display: none;
}

@media (max-width: 1200px) {
  .skills-content {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 2rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .h1-arabic {
    font-size: 3rem !important;
    margin-bottom: 2.5rem !important;
  }
}

@media (max-width: 968px) {
  .my-email {
    font-size: 1rem;
  }
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .h1-arabic {
    font-size: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }
  .hero-subtitle {
    font-size: 1.2rem;
    color: #00ffff;
    margin-bottom: 2rem;
    opacity: 0.9;
  }

  .skills-content {
    grid-template-columns: 1fr;
  }

  .skill-category h3 {
    white-space: normal;
  }

  .hamburger {
    display: flex;
  }

  .nav-logo {
    display: block;
  }

  .nav-container {
    justify-content: space-between;
  }

  .nav-menu {
    position: fixed;
    right: -100%;
    top: 0;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    width: 300px;
    height: 100vh;
    padding: 5rem 2rem 2rem;
    transition: right 0.4s ease;
    gap: 0;
    border-left: 1px solid rgba(0, 255, 255, 0.3);
  }

  [dir="rtl"] .nav-menu {
    right: auto;
    left: -100%;
    border-left: none;
    border-right: 1px solid rgba(0, 255, 255, 0.3);
  }

  .nav-menu.active {
    right: 0;
  }

  [dir="rtl"] .nav-menu.active {
    left: 0;
    right: auto;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  nav li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  }

  nav a {
    display: block;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .lang-switcher {
    width: 100%;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
  }

  .lang-btn {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .my-email {
    font-size: 0.8rem !important;
  }

  .hero-content h1 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem;
  }

  .h1-arabic {
    font-size: 2.5rem !important;
    margin-bottom: 2.5rem !important;
  }
  .hero-subtitle {
    font-size: 1.2rem;
    color: #00ffff;
    margin-bottom: 2rem;
    opacity: 0.9;
  }

  .hero-content {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .hero-text {
    text-align: center !important;
  }

  .hero-image {
    margin: 0 auto;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .nav-container {
    justify-content: space-between;
  }

  .hamburger {
    display: flex;
  }

  .nav-logo {
    display: block;
  }

  nav ul {
    gap: 1.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }
}

@media (max-width: 425px) {
  .nav-menu {
    width: 100vw;
  }
  footer {
    margin-top: 2rem;
  }
  #h1-hero-en {
    font-size: 1.4rem !important;
    margin-bottom: 1rem;
  }

  #h1-hero-ar {
    font-size: 1.6rem !important;
    margin-bottom: 2.5rem !important;
  }
  .hero-subtitle {
    font-size: 1rem;
    color: #00ffff;
    margin-bottom: 2rem;
    opacity: 0.9;
  }

  .my-email {
    font-size: 0.8rem !important;
  }

  .project-link {
    font-size: 0.7rem;
  }
  .skill-category ul li {
    font-size: 0.7rem;
  }
}

@media (max-width: 375px) {
  div #h1-hero-en {
    font-size: 1.8rem !important;
    margin-bottom: 1rem;
  }

  .contact-item-email {
    padding: 2rem 0.5rem;
  }

  #h1-hero-ar {
    font-size: 1.6rem !important;
    margin-bottom: 2.5rem !important;
  }
  .skill-category ul li {
    font-size: 0.8rem;
  }
  .hero-subtitle {
    font-size: 0.9rem;
  }
  .hero-description {
    font-size: 0.8rem;
  }
  .hero-image {
    width: 15rem;
    height: 15rem;
  }
  .skills {
    display: flex;
    flex-direction: column;
  }
  .cta-button {
    position: relative;
    display: inline-block;
    padding: 0.87rem 2rem;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    overflow: hidden;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-clip: padding-box;
    z-index: 0;
  }
  .about-text p {
    font-size: 0.8rem;
  }
  .project-link {
    padding: 0.5rem 0.8rem;
  }
  .portfolio-grid h3 {
    font-size: 1.2rem;
  }
  .portfolio-grid p {
    font-size: 0.8rem;
  }
  .nav-logo .en-only {
    font-size: 0.9rem;
  }
  h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 325px) {
  .project-link {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
  .project-card {
    padding: 1.5rem;
  }
  .project-card h3 {
    font-size: 0.9rem !important;
  }
  .skill-category {
    padding: 1.5rem;
  }
  .skills-content .skill-category ul li {
    font-size: 0.7rem;
  }
}

/*# sourceMappingURL=style.03333c71.css.map */
