@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(to bottom, #0f0f0f, #1a1a1a);
    color: white;
    overflow-x: hidden;
}

header {
    background-color: #222;
    width: 70%;
    margin-left: 15%;
    margin-top: 15px;
    margin-right: 15%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 100px;
    border-radius: 50px;
    border: 1px solid #eee;
    transition: 0.5s;
}

header:hover {
    margin-top: 20px;
    transform: scale(1.02);
    border: 2.5px solid #eee;
}

.logo {
    align-items: center;
    font-size: 30px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 700;
    justify-content: space-between;
    color: #fff;
    text-decoration: none;
    margin-left: 0px;
    display: flex;
    color: #ecba15;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    border-radius: 15px;
}

.navigation a {
    text-decoration: none;
    color: #fff;
    padding: 15px;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: 20px;
    font-weight: 800;
    transition: 0.5s ease;
}

.navigation a:hover {
    color: aquamarine;
}

select {
    padding: 10px;
    font-size: 15px;
    border-radius: 20px;
    background-color: #333;
    color: #eee;
    border: 1px solid #eee;
    font-weight: 700;
    width: 10%;
    text-align: center;
}

select option {
    font-size: 15px;
    padding: 5px;
    font-weight: 600;
}

section {
    padding: 100px 200px;
}

/* السيكشن الرئيسي */
.main {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(assets/images/graund.jpg) ;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.main::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); /* غامق بسيط */
    z-index: 0;
}

.main > div {
    position: relative;
    z-index: 1;
    text-align: center;
}

.main h2 {
    color: #fff;
    font-size: 2.5em;
    font-weight: 500;
    opacity: 0;
    transform: translateY(-30px);
    animation: fadeDown 1s ease forwards;
    animation-delay: 0.3s;
}

.main h2 span {
    display: inline-block;
    margin-top: 10px;
    color: #4e9eff;
    font-size: 3em;
    font-weight: 800;
}

/* الساب تايتل */
.main h3 {
    color: #fff;
    font-size: 2.3em;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 10px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.8s;
}

/* الزر */
.ling {
    color: #000;
    background-color: #eee;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: 800;
    font-family: 'Trebuchet MS', Arial, sans-serif;
    display: inline-block;
    padding: 0.9375em 2.1875em;
    letter-spacing: 1px;
    border-radius: 15px;
    margin-bottom: 40px;
    transition: 0.7s ease;
    opacity: 0;
    transform: scale(0.8);
    animation: popUp 0.8s ease forwards;
    animation-delay: 1.3s;
}

.ling:hover {
    background-color: aquamarine;
    transform: scale(1.2);
}

.social-icons a {
    color: #fff;
    font-size: 2em;
    padding-right: 30px;
    margin-right: -5px;
    left: 25px;
    opacity: 0;
    transform: scale(1);
    animation: fadeIn 0.6s ease forwards;
}

.social-icons a {
  color: #fff;
  font-size: 28px;
  margin: 20px;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  position: relative;
}


.social-icons a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 15px;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: #ffcc00;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.social-icons a:nth-child(1) { animation-delay: 1.6s; }
.social-icons a:nth-child(2) { animation-delay: 1.8s; }
.social-icons a:nth-child(3) { animation-delay: 2s; }
.social-icons a:nth-child(4) { animation-delay: 2.2s; }

.social-icons a:hover {
  color: #ffcc00;
  transform: scale(1.3) rotate(5deg);
  text-shadow: 0 0 18px rgba(255, 200, 0, 0.9);
}

.social-icons a:hover::after {
  transform: translateX(-50%) scaleX(1);
}


/* الحركات */
@keyframes fadeDown {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popUp {
    to { opacity: 1; transform: scale(1); }
}
@keyframes fadeIn {
    to { opacity: 1; transform: scale(1); }
}

/* أنيميشن الظهور */
@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(40px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

span {
    font-weight: 800;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

.title {
  overflow-x: hidden;
    font-size: 60px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: 900;
    text-align: center;
    margin-top: 50px;
    animation: moveAndColor 3s infinite ease-in-out, glowPulse 2s infinite alternate;
    background: linear-gradient(45deg, red, orange, yellow, red);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* حركة يمين وشمال + تغيير لون الخلفية */
@keyframes moveAndColor {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* تأثير نيون متوهج */
@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px #ff0000, 0 0 10px #ff6600, 0 0 20px #ffcc00;
    }
    50% {
        text-shadow: 0 0 10px #ff6600, 0 0 20px #ffcc00, 0 0 30px #ffff00;
    }
}

.about-me {
    padding: 50px 100px;
    background: linear-gradient(to bottom, #0f0f0f, #1a1a1a);
    color: #fff;
    width: 96%;
    margin: 50px;
    border-radius: 150px;
    box-shadow: 0 0 20px rgba(255, 100, 0, 0.2);
}

.about-me .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.about-me .card {
    background: #1e1e1e;
    border-radius: 15px;
    padding: 30px;
    width: 120%;
    max-width: 350px;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-me .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 30px rgba(255, 180, 0, 0.5);
}

.about-me .icon {
    font-size: 70px; /* أكبر شويه */
    color: #ff9900;
    margin-bottom: 20px;
    text-align: center;
}

.about-me .info h3 {
    font-size: 30px; /* أكبر سيكه */
    margin-bottom: 12px;
    color: #ffd700;
    text-align: center;
}

.about-me .info p {
    font-size: 18px; /* أكبر سيكه */
    line-height: 1.8;
    color: #ccc;
    text-align: center;
}

.about-me .info span {
    color: #ff6600;
    font-weight: bold;
}

.projects-bots {
  width: 96%;
  margin: 50px;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
  color: #fff;
  border-radius: 150px;
  box-shadow: 0 0 50px rgba(255, 100, 0, 0.4);
  position: relative;
  z-index: 1;
}

.projects-bots::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.1), transparent 70%);
  z-index: -1;
}

.projects-bots .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 80px;
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-card {
  background: #1c1c1c;
  border-radius: 15px;
  overflow: hidden;
  width: 120%;
  max-width: 390px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 40px rgba(255, 180, 0, 0.7);
}

.project-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, #ff6600, #ffcc00);
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #ff6600;
}

.project-info {
  padding: 20px;
  text-align: center;
}

.project-info span {
  font-size: 24px;
  font-weight: bold;
  color: #ffcc00;
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 0 5px rgba(255, 204, 0, 0.5);
}

.project-category {
  font-size: 16px;
  color: #ddd;
  margin-bottom: 18px;
  line-height: 1.8;
}

.project-title a.more-details {
  display: inline-block;
  margin: 6px;
  font-size: 18px;
  padding: 10px 18px;
  background: linear-gradient(45deg, #ff6600, #ff9900);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
  transition: all 0.3s ease;
}

.project-title a.more-details:hover {
  background: linear-gradient(45deg, #ffaa00, #ffcc00);
  box-shadow: 0 0 15px rgba(255, 200, 0, 0.7);
  transform: scale(1.05);
}

.projects-bots .all {
  display: block;
  width: fit-content;
  margin: 60px auto 0;
  padding: 14px 28px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background: linear-gradient(135deg, #ff6600, #ff9900);
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(255, 120, 0, 0.4), 0 0 10px rgba(255, 120, 0, 0.2) inset;
  transition: all 0.35s ease;
  text-align: center;
  position: relative;
  z-index: 1;
}

.projects-bots .all::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffaa00, #ffcc00);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}

.projects-bots .all:hover {
  color: #000;
  transform: scale(1.07);
  box-shadow: 0 0 30px rgba(255, 200, 0, 0.6), 0 0 15px rgba(255, 200, 0, 0.3) inset;
}

.projects-bots .all:hover::before {
  opacity: 1;
}

.come, .server {
  width: 96%;
  margin: 50px;
  border-radius: 150px;
  padding: 60px 20px;
  background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
  color: #fff;
  box-shadow: 0 0 40px rgba(255, 100, 0, 0.3);
  margin-top: 60px;
}

.come .content, .server .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.project-card {
  background: #1c1c1c;
  border-radius: 15px;
  overflow: hidden;
  width: 330px;
  box-shadow: 0 0 25px rgba(255, 140, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 35px rgba(255, 180, 0, 0.6);
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid #ff6600;
}

.project-info {
  padding: 20px;
  text-align: center;
}

.project-info span {
  font-size: 22px;
  font-weight: bold;
  color: #ffcc00;
  display: block;
  margin-bottom: 10px;
}

.project-category {
  font-size: 15px;
  color: #ddd;
  margin-bottom: 15px;
  line-height: 1.7;
}

.project-title {
  font-size: 14px;
  color: #ccc;
}

.project-title a.more-details {
  display: inline-block;
  margin: 5px;
  padding: 8px 16px;
  background: linear-gradient(45deg, #ff6600, #ff9900);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.project-title a.more-details:hover {
  background: linear-gradient(45deg, #ffaa00, #ffcc00);
  color: #000;
  transform: scale(1.05);
}

.footer {
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  padding: 40px 60px;
  border-top: 4px solid #ff0055;
  box-shadow: 0 -10px 60px rgba(255, 0, 85, 0.4);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 0, 85, 0.15) 0%, transparent 70%);
  z-index: 0;
  animation: pulseGlow 6s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-title {
  text-align: center;
  align-items: center;
  font-size: 40px;
  font-weight: bold;
  color: #ffcc00;
  text-shadow: 0 0 12px rgba(255, 204, 0, 0.8);
  margin: 0;
  white-space: nowrap;
}

.footer-title span {
  color: #ff0055;
  text-shadow: 0 0 14px rgba(255, 0, 85, 0.9);
}

.social-icon {
  display: flex;
  gap: 25px;
}

.social-icon a {
  color: #fff;
  font-size: 28px;
  transition: all 0.3s ease;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  position: relative;
  
}

.social-icon a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 15px;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 3px;
  background: #ffcc00;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.social-icon a:hover {
  color: #ffcc00;
  transform: scale(1.3) rotate(5deg);
  text-shadow: 0 0 18px rgba(255, 200, 0, 0.9);
}

.social-icon a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* زر المينيو */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  height: 3px;
  width: 30px;
  background: #fff;
  margin: 5px 0;
  border-radius: 5px;
  transition: 0.4s;
}

/* قائمة الموبايل */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 100px;
  right: 20px;
  background: #111;
  border: 1px solid #555;
  border-radius: 15px;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 0;
  font-size: 18px;
  transition: 0.3s;
}

.mobile-nav a:hover {
  color: aquamarine;
}

/* تنسيق بطاقة "قادم قريبا" الخاصة - Golden Background Effect */
.come .content {
  perspective: none;
}

.come .project-card {
  position: relative;
  overflow: hidden;
  width: 330px;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  border: 2px solid #d4af37;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.6s ease;
  background: #1a1a0a;
}

.come .project-card:hover {
  transform: translateY(-20px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.4);
  border-color: #ffed4e;
}

.come .project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #d4af37, #f4d03f, #ffed4e);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 4;
  pointer-events: none;
}

.come .project-card:hover::before {
  opacity: 0.15;
}

@keyframes soonFloat {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-20px); }
}

.come .project-card::after {
  content: "SOON";
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 100px;
  font-weight: 900;
  color: #ffed4e;
  letter-spacing: 0px;
  z-index: 3;
  font-family: 'Gill Sans', 'Gill Sans MT', sans-serif;
  text-decoration: none;
  animation: soonFloat 4s ease-in-out infinite;
}

@keyframes soonPulse {
  0%, 100% { 
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
  }
  50% { 
    text-shadow: 0 0 50px rgba(244, 208, 63, 0.4);
  }
}

.come .project-image {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  z-index: 2;
  border-radius: 13px 13px 0 0;
}

.come .project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.come .project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.85) saturate(0.8);
  position: relative;
  z-index: 0;
  transition: all 0.6s ease;
}

.come .project-card:hover .project-image img {
  opacity: 0.45;
  filter: brightness(1) saturate(1);
  transform: scale(1.1) translateZ(20px);
}

.come .project-info {
  background: linear-gradient(180deg, rgba(20, 20, 10, 0.99), rgba(15, 15, 5, 1));
  color: #fff;
  padding: 32px;
  position: relative;
  z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid rgba(212, 175, 55, 0.3);
  transition: all 0.6s ease;
  border-radius: 0 0 13px 13px;
}

.come .project-card:hover .project-info {
  border-top-color: #ffed4e;
  background: linear-gradient(180deg, rgba(30, 25, 10, 1), rgba(20, 15, 5, 1));
  transform: translateZ(30px);
}

.come .project-info span {
  color: #f4d03f;
  text-shadow: 0 0 25px rgba(244, 208, 63, 0.6);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 15px;
  letter-spacing: 1px;
  animation: nameGlow 2.5s ease-in-out infinite;
  transition: all 0.6s ease;
}

.come .project-card:hover .project-info span {
  text-shadow: 0 0 40px rgba(244, 208, 63, 0.9);
  color: #ffed4e;
}

@keyframes nameGlow {
  0%, 100% { 
    text-shadow: 0 0 20px rgba(244, 208, 63, 0.4);
    color: #f4d03f;
  }
  50% { 
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
    color: #ffed4e;
  }
}

.come .project-category {
  color: #d0d0d0;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  opacity: 0.85;
  transition: all 0.6s ease;
}

.come .project-card:hover .project-category {
  color: #ffffff;
  opacity: 1;
  transform: translateZ(15px);
}

.come .project-title {
  font-size: 14px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  transition: all 0.6s ease;
}

.come .project-card:hover .project-title {
  transform: translateZ(15px);
}

.come .project-title i {
  color: #d4af37;
  font-size: 18px;
  animation: clockTick 1s ease-in-out infinite;
}

@keyframes clockTick {
  0%, 100% { 
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  }
  50% { 
    color: #f4d03f;
    text-shadow: 0 0 30px rgba(244, 208, 63, 0.9);
  }
}

.come .project-title span {
  color: #d4af37;
  font-weight: 900;
  transition: all 0.6s ease;
  font-size: 16px;
}

.come .project-card:hover .project-title span {
  color: #ffed4e;
  text-shadow: 0 0 20px rgba(244, 208, 63, 0.9);
}

/* Center align the span with id soon1-time */
.soon-time {
    font-size: 18px;
    color: #ff5722;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background-color: #222;
    padding: 10px 15px;
    border-radius: 10px;
    display: block;
    text-align: center;
    margin: 0 auto;
}

/* تجاوب عند 1000 بكسل */
@media (max-width: 1300px) {
  header {
    width: 90%;
    margin: 10px auto;
    right: 40px;
    top: 20px;
    padding: 15px 30px;
  }

  body {
    overflow-x: hidden;
  }

  select {
    width: 100px;
  }

  /* صندوق العداد */
#visitor-counter {
    position:absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(8px); /* تأثير الزجاج */
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    border: 2px solid rgba(78, 158, 255, 0.7);
    box-shadow: 0 0 25px rgba(78, 158, 255, 0.6),
                0 0 50px rgba(78, 158, 255, 0.3);
    color: #fff;
    width: 80%;
    justify-content: space-between;
    font-size: 0.1em;
    font-weight: 700;
}

  /* قائمة الموبايل */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 150px;
  right: 50px;
  background: #111;
  border: 1px solid #555;
  border-radius: 15px;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

  @keyframes moveAndColor {
    0% {
        transform: translateX(-20px);
        background-position: 0% 50%;
    }
    50% {
        transform: translateX(80px);
        background-position: 100% 50%;
    }
    100% {
        transform: translateX(-20px);
        background-position: 0% 50%;
    }
}


  .navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  section {
    padding: 80px 40px;
    overflow-x: hidden;
  }

  .project-card,
  .about-me .card {
    width: 80%;
    max-width: 100%;
  }
}


/* تجاوب عند 1000 بكسل */
@media (max-width: 1000px) {
  header {
    width: 90%;
    margin: 10px auto;
    right: 40px;
    top: 20px;
    padding: 15px 30px;
  }



  body {
    overflow-x: hidden;
  }

  select {
    width: 100px;
  }

  /* صندوق العداد */
#visitor-counter {
    position:absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(8px); /* تأثير الزجاج */
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    border: 2px solid rgba(78, 158, 255, 0.7);
    box-shadow: 0 0 25px rgba(78, 158, 255, 0.6),
                0 0 50px rgba(78, 158, 255, 0.3);
    color: #fff;
    width: 80%;
    justify-content: space-between;
    font-size: 0.1em;
    font-weight: 700;
}

  /* قائمة الموبايل */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 150px;
  right: 50px;
  background: #111;
  border: 1px solid #555;
  border-radius: 15px;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

  @keyframes moveAndColor {
    0% {
        transform: translateX(-20px);
        background-position: 0% 50%;
    }
    50% {
        transform: translateX(80px);
        background-position: 100% 50%;
    }
    100% {
        transform: translateX(-20px);
        background-position: 0% 50%;
    }
}


  .navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  section {
    padding: 80px 40px;
    overflow-x: hidden;
  }

  .project-card,
  .about-me .card {
    width: 80%;
    max-width: 100%;
  }

    footer .footer-title {
    font-size: 25px;
  }

  .social-icon a {
    font-size: 24px;
    margin: 15px;
    right: 40px;
    top: 30px;
  }

}

@media (max-width: 500px) {
  header {
    width: 80%;
    margin: 10px auto;
    right: 50px;
    top: 20px;
    padding: 15px 30px;
  }

  .logo {
    font-size: 20px;
    right: 20px;
    left: 5px;
  }

  body {
    overflow-x: hidden;
    font-size: 10px;
  }

  .title {
    font-size: 50px;
  }

  select {
    width: 110px;
  }

  #visitor-counter {
    display: none;
    position:absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 15px;
    background: rgba(20, 20, 20, 0.55);
    backdrop-filter: blur(8px); /* تأثير الزجاج */
    -webkit-backdrop-filter: blur(8px);
    border-radius: 40px;
    border: 2px solid rgba(78, 158, 255, 0.7);
    box-shadow: 0 0 25px rgba(78, 158, 255, 0.6),
                0 0 50px rgba(78, 158, 255, 0.3);
    color: #fff;
    width: 70%;
    font-size: 50px;
    justify-content: space-between;
    font-size: 0.1em;
    font-weight: 700;
}

  /* قائمة الموبايل */
.mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 150px;
  right: 50px;
  background: #111;
  border: 1px solid #555;
  border-radius: 15px;
  padding: 20px;
  z-index: 1000;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.4);
}

  @keyframes moveAndColor {
    0% {
        transform: translateX(-50px);
        background-position: 0% 50%;
    }
    50% {
        transform: translateX(50px);
        background-position: 100% 50%;
    }
    100% {
        transform: translateX(-50px);
        background-position: 0% 50%;
    }
}


  .navigation {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  section {
    padding: 80px 40px;
    overflow-x: hidden;
  }

  .project-card,
  .about-me .card {
    width: 80%;
    max-width: 100%;
  }

  footer .footer-title {
    font-size: 25px;
  }

  .social-icon a {
    font-size: 24px;
    margin: 15px;
    right: 40px;
    top: 30px;
  }
}