@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: "Tajawal" ;
    scrollbar-width: thin;
    scrollbar-color: #00adb5 #1e1e1e; /* Thumb color | Track color */
}

/* Scrollbar width */
::-webkit-scrollbar {
    width: 6px; /* Adjust width */
}

/* Scrollbar track (background) */
::-webkit-scrollbar-track {
    background: #222831; /* Dark background */
    border-radius: 6px;
}

/* Scrollbar handle */
::-webkit-scrollbar-thumb {
    background: #00adb5; /* Neon color */
    border-radius: 6px;
}

/* Scrollbar handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #008891; /* Lighter neon */
}


body {
    background-color: #222831;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto;
    padding: 2 2rem;
    max-width: 1200px;
    max-height: 64px;
}

.logo {
    width: 64px;
    height: 64px;
}

.logo:hover {
    content: url("assets/imgs/transparent-logo.png"); 
    width: 64px;
    height: 64px;
}

.logo-container {
    position: relative;
    width: 64px;
    height: 64px;
}

.logo-container img {
    position: absolute;
    width: 64px;
    height: 64px;
    transition: opacity 0.3s ease-in-out, width 0.3s, height 0.3s;
}

.logo-container .logo-hover {
    opacity: 0;
}

.logo-container:hover .logo-main {
    opacity: 0;
    width: 64px;
    height: 64px;
}

.logo-container:hover .logo-hover {
    opacity: 1;
    width: 64px;
    height: 64px;
}

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

.navigation a {
    transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
    text-decoration: none;
    color: #eeeeee;
}

.navigation a:hover {
    color: #eeeeee;
    text-shadow: 0 0 5px #00adb5, 0 0 10px #00adb5, 0 0 20px #00adb5, 0 0 40px #00adb5;
    animation: glowPulse 2s infinite alternate;
}

@keyframes glowPulse {
    0% {
        text-shadow: 0 0 5px #00adb5, 0 0 10px #00adb5, 0 0 15px #00adb5;
    }
    100% {
        text-shadow: 0 0 10px #00fff6, 0 0 20px #00fff6, 0 0 30px #00fff6;
    }
}



.hero{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
    position: relative;
}

.arrow {
    position: absolute;
    left: 1rem; 
    top: 15rem; 
    transform: none; /* Remove transform if needed */
  }

.heroSub{
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.name{
    font-size: 3.5rem;
    color: #eeeeee;
}

.name:hover{
    text-shadow: 0 0 5px #00adb5, 0 0 10px #00adb5, 0 0 15px #00adb5;
}

.title{
    font-size: 4rem;
    color: #00adb5;
}

.title:hover{
    text-shadow: 0 0 5px #000000, 0 0 10px #000000, 0 0 15px #000000;
}
.heroBtns{
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.hireMe{
    background-color: #00adb5;
    color: #eeeeee;
    border-radius: 24px;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
}

.cv{
    background-color: rgba(57, 62, 70, 0.5);
    color: #eeeeee;
    border-radius: 24px;
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(4px);
}

hr {
    padding: 1px;
    border: none;
    height: 2px;
    background: linear-gradient(to right, #116a73, #00c6ff);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(17, 106, 115, 0.75);
    margin: 20px 0;
    /* animation: glowing 0.2s infinite alternate; */
    opacity: 50%
}

@keyframes glowing {
    0% {
        box-shadow: 0 0 5px rgba(17, 106, 115, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(0, 198, 255, 0.8);
    }}
.aboutMe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5rem auto;
    max-width: 1200px;
    gap: 10rem;
}

.textContainer {
    display: flex;
    flex-direction: column;
}

.textTitle {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 2rem;
}

.aboutName {
    color: #eeeeee;
}

.aboutName:hover {
    text-shadow: 0 0 5px #00adb5, 0 0 10px #00adb5, 0 0 15px #00adb5;
}

.aboutTitle {
    color: #00adb5;
}

.aboutTitle:hover {
    text-shadow: 0 0 5px #000000, 0 0 10px #000000, 0 0 15px #000000;
}

.worksName {
    color: #eeeeee;
}

.worksName:hover {
    text-shadow: 0 0 5px #00adb5, 0 0 10px #00adb5, 0 0 15px #00adb5;
}

.worksTitle {
    color: #00adb5;
}

.worksTitle:hover {
    text-shadow: 0 0 5px #eeeeee, 0 0 10px #eeeeee, 0 0 15px #eeeeee;
}

.aboutMePar {
    text-align: justify;
    color: rgba(238, 238, 238, 0.75);
}

.light:hover {
    content: url("assets/imgs/lightbulb-glow.png");
}

.aboutMePar {
    font-size: 16px;
    transition: transform 0.3s ease-in-out, font-size 0.3s ease-in-out;
}

.aboutMePar:hover {
    transform: scale(1.1);
    font-size: 18px;
    color: #00adb5; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); 
}

.works {
    background-image: url("assets/svg/background.svg");
    padding: 10rem 10rem;
    margin: 5rem 0 rem;
}

.worksContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: left;
    margin: 5rem auto;
    max-width: 1200px;
}

.projectTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2rem;
    padding-bottom: 10px;
}

.works ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    list-style-type: none;
    align-items: center;
    justify-content: space-between;
}

.works li {
    border-radius: 16px;
    background-color: rgba(57, 62, 70, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem 4rem;
}
.works li img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    transition: tramsform 0.2s;
}

.works li :hover {
    transform: scale(1.5);
}

.contactContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
}

.contactTitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 2rem;
}
.contact {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5rem;
    gap: 20rem
}

.contact h3, .contact a {
    color: #eeeeee;
    text-decoration: none;
}

.emailAndPhone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.socialMedia {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.socialMedia a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    background-color: rgba(57, 62, 70, 0.5);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.socialMedia img {
    width: 24px;
    height: 24px;
}

footer {
    color: #eeeeee;
    font-size: 18px;
    transition: transform 0.5s ease-in-out, font-size 0.5s ease-in-out;
    text-align: center;
    padding: 0.5rem;
    padding-bottom: 2rem;
}

footer:hover {
    color: #eeeeee;
    text-shadow: 0 0 5px #00adb5, 0 0 10px #00adb5, 0 0 20px #00adb5, 0 0 40px #00adb5;
    animation: glowPulse 1s infinite alternate;
}

@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;
    }
  }