/* إخفاء scrollbar */
::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #151923;
    color: white;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

header img {
    width: 50px;
    height: auto;
}

/*هنا اللوجو بتاع الناف بار*/
.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.navbar ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease-out;
    display: inline-block;
}

.navbar a:hover {
    color: #89e3ff;
    transform: scale(1.1);
}



.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    position: relative;
}

.arrow {
    position: absolute;
    right: 830px;
    top: 5.5rem;
    font-size: 2rem;
}

.welcom {
    text-align: center;
    margin: 2rem auto;
}

.name {
    font-size: 3rem;
    color: #89e3ff;
    margin-bottom: 1rem;
}

.hiii {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.k {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #89e3ff;
    color: #151923;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.k:hover {
    transform: scale(1.1);
}


/* Footer Styles */
.footer {
    background-color: #151923;
    padding: 2rem 0 1rem 0;
    margin-top: 4rem;
    position: relative;
    bottom: 0;
    width: 100%;
    height: auto;
    min-height: 200px;
    overflow: hidden;
}

.footer :hover {
    transform: scale(1.1);
    transition: all 0.3s ease-out;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 2rem;
}

.footer-section h3 {
    color: #89e3ff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section p, 
.footer-section a {
    color: #eee;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}
.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.social-heading {
    text-align: center;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(238, 238, 238, 0.1);
}

.footer-bottom p {
    color: #eee;
    font-size: 0.9rem;
}


/* Discord Server Styles */
.discord-server {
    background: linear-gradient(145deg, #1e2337, #262c43);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(137, 227, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.discord-server:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(137, 227, 255, 0.2);
}

.server-img {
    width: 50%;
    max-width: 200px;
    height: auto;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.server-img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;

}

.server-info {
    text-align: center;
}

.server-info h3 {
    color: #89e3ff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.server-info p {
    color: #eee;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.discord-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #5865F2;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.discord-btn:hover {
    background-color: #4752C4;
    transform: scale(1.05);
}

.discord-btn svg {
    width: 20px;
    height: 20px;
}

/* زر مميز للانتقال لصفحة 12+ */
.special-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(90deg, #89e3ff 0%, #5865F2 100%);
    color: #151923;
    font-weight: bold;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    margin: 0 auto;
    box-shadow: 0 4px 24px rgba(137,227,255,0.15);
    transition: background 0.3s, transform 0.2s, color 0.3s;
    cursor: pointer;
}

.special-link-btn:hover {
    background: linear-gradient(90deg, #5865F2 0%, #89e3ff 100%);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
}

.special-link-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.special-link-btn:hover i {
    transform: translateX(6px);
}

/* Special Tool Box Styles */
.special-tool-box {
    background: linear-gradient(145deg, #1e2337, #262c43);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(137, 227, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-tool-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(137, 227, 255, 0.2);
}

.tool-info {
    text-align: center;
}

.tool-info h3 {
    color: #89e3ff;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.tool-info p {
    color: #eee;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 1023px) {
  header {
    margin-left: 1rem;
    margin-right: 1rem;
  }
  .hero {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .heroImg {
    width: 400px;
  }
  .name,
  .title {
    font-size: 2rem;
  }
  .arrow {
    display: none;
  }
  .aboutMe {
    flex-direction: column-reverse;
    align-items: center;
    gap: 2rem;
  }
  .textContainer {
    align-items: center;
    margin: 0rem 5rem;
    gap: 1rem;
  }
  .aboutName,
  .aboutTitle {
    font-size: 2rem;
  }
  .light {
    width: 60px;
  }
  .aboutMeImg {
    width: 400px;
  }
  .works {
    padding: 0;
  }
  .worksContainer {
    padding: 5rem 0rem;
    gap: 3rem;
  }
  .projectTitle {
    margin-left: 1rem;
  }
  .works ul {
    flex-direction: column;
    gap: 1rem;
  }
  .contactContainer {
    margin: 10rem 5rem;
    gap: 2rem;
  }
  .contact {
    flex-direction: column;
    gap: 1rem;
    margin-right: 0;
  }
}