/* إعداد عام */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: #0f0f0f;
  color: #fff;
  overflow-x: hidden;
}

/* Navbar ثلاثي الأبعاد */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
  box-shadow: 0 10px 20px rgba(0, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  z-index: 1000;
  transform: perspective(1000px) rotateX(0deg) translateZ(0);
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  text-decoration: none;
  color: #ccc;
  font-size: 16px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  color: #0ff;
  transform: scale(1.1);
  text-shadow: 0 0 5px #0ff;
}

.hero {
  position: relative;
  height: 100vh;
  background-image: url('/photo/programmer-night.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background-color: rgba(0, 0, 0, 0.6); /* تراكب شفاف */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-content span {
  color: #00ffd5;
}

.hero-content p {
  font-size: 1.3rem;
  color: #ccc;
}
.hero-content h1 span {
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0ff;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 0 10px #0ff;
  transition: 0.3s ease;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #0ff;
}
/* خدماتنا */
/* قسم الخدمات */
.services {
  padding: 150px 40px 60px;
  text-align: center;
  background: linear-gradient(145deg, #0f0f0f, #1a1a1a);
}

.services-title {
  font-size: 44px;
  color: #00fff2;
  margin-bottom: 40px;
  text-shadow: 0 0 10px #00fff2;
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 2px;
}

.service-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}
.services-glass {
  padding: 100px 20px;
  background: #1a1a1a;
  text-align: center;
}

.services-title-glass {
  font-size: 40px;
  color: #0ff;
  text-shadow: 0 0 10px #0ff;
  margin-bottom: 50px;
  font-family: 'Orbitron', sans-serif;
}

.glass-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.glass-box {
  position: relative;
  width: 320px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
  transition: 0.5s;
}

.glass-box::before,
.glass-box::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50px;
  width: 50%;
  height: 100%;
  border-radius: 10px;
  transform: skewX(15deg);
  transition: 0.5s;
  filter: blur(30px);
  z-index: 0;
}

.glass-box:nth-child(1)::before,
.glass-box:nth-child(1)::after {
  background: linear-gradient(315deg, #0127ff, #ff0058);
}

.glass-box:nth-child(2)::before,
.glass-box:nth-child(2)::after {
  background: linear-gradient(315deg, #03a9f4, #ff0058);
}

.glass-box:nth-child(3)::before,
.glass-box:nth-child(3)::after {
  background: linear-gradient(315deg, #ff0325, #00d0ff);
}
.glass-box:nth-child(4)::before,
.glass-box:nth-child(4)::after {
  background: linear-gradient(315deg, #ff0325, #00d0ff);
}

.glass-box:hover::before,
.glass-box:hover::after {
  left: 20px;
  width: calc(100% - 90px);
  transform: skewX(0deg);
}

.glass-box span {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
}

.glass-box span::before,
.glass-box span::after {
  content: '';
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: 0.5s;
  animation: float 2s infinite ease-in-out;
}

.glass-box span::before {
  top: -50px;
  left: 50px;
}

.glass-box span::after {
  bottom: -50px;
  right: 50px;
  animation-delay: -1s;
}

.glass-box:hover span::before,
.glass-box:hover span::after {
  opacity: 1;
}

@keyframes float {
  0%, 100% { transform: translateY(10px); }
  50% { transform: translateY(-10px); }
}

.glass-content {
  position: relative;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border-radius: 10px;
  z-index: 10;
  color: #fff;
  box-shadow: 0 0 15px rgba(0,255,255,0.1);
  transition: 0.5s;
  text-align: right;
  direction: rtl;
}

.glass-content h3 {
  font-size: 1.8em;
  margin-bottom: 10px;
}

.glass-content p {
  font-size: 1em;
  line-height: 1.6;
}

.glass-content a {
  display: inline-block;
  margin-top: 15px;
  background: #0ff;
  color: #111;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.glass-content a:hover {
  background: #00e0e0;
}



/* قسم الأعمال */
.portfolio {
  background: linear-gradient(135deg, #121212, #1e1e1e);
  padding: 100px 40px;
  text-align: center;
}

.portfolio-title {
  font-size: 42px;
  color: #00fff2;
  margin-bottom: 50px;
  text-shadow: 0 0 10px #00fff2;
}

.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  justify-content: center;
}

.project-card {
  width: 300px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
  transform: scale(1.06);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.4);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: brightness(0.9);
  transition: 0.3s;
}

.project-card img:hover {
  filter: brightness(1);
}

.project-card h3 {
  padding: 15px;
  color: #eee;
  font-size: 18px;
  font-weight: 500;
  background: rgba(0, 0, 0, 0.4);
}

.about-section {
  padding: 80px 20px;
  background: #111;
  color: #f5f5f5;
  font-family: 'Poppins', sans-serif;
}

.about-section .container {
  max-width: 1200px;
  margin: auto;
}

.about-section .title {
  font-size: 3em;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
  color: #00ffc3;
}

.about-section .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.about-section .text {
  flex: 1;
  min-width: 280px;
  font-size: 1.2em;
  line-height: 1.7;
}

.about-section .image {
  flex: 1;
  min-width: 280px;
}

.about-section .image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 20px #00ffc3;
}

/* Responsive */
@media (max-width: 768px) {
  .about-section .content {
    flex-direction: column;
    text-align: center;
  }

  .about-section .title {
    font-size: 2.5em;
  }
}
    body {
  font-family: 'Cairo', sans-serif;
  margin: 0;
  padding: 0;
  background: #f0f0f0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  background: #111;
  color: white;
}

.nav-links {
  display: flex;
  gap: 15px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links .active {
  color: #00ff88;
}

.contact-section {
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to right, #141e30, #243b55);
  color: white;
}

.contact-container {
  max-width: 500px;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 30px #00ff88;
}

.contact-container h1 {
  text-align: center;
  margin-bottom: 25px;
}

form input, form select, form button {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 10px;
  font-size: 16px;
}

form button {
  background-color: #00ff88;
  color: black;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background-color: #00cc66;
}

.social-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons i {
  font-size: 24px;
  color: #00ff88;
  transition: transform 0.3s;
}

.social-icons i:hover {
  transform: scale(1.2);
}

/* Responsive */
@media screen and (max-width: 600px) {
  .contact-container {
    padding: 20px;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: #0ff;
  margin-left: auto;
}

/* أظهر زر القائمة وفعّل التنقل في الشاشات الصغيرة */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    background: #111;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-radius: 10px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    text-align: right;
  }
}
.tech-icons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 2rem;
  flex-wrap: wrap;
}

.tech-icons i {
  color: #00ffd5;
  transition: transform 0.3s ease;
}

.tech-icons i:hover {
  transform: scale(1.3);
  color: white;
}

.flutter-icon {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease;
  filter: brightness(1.2);
}

.flutter-icon:hover {
  transform: scale(1.3);
}
