* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f4f4f9;
    color: #333;
}

a {
    text-decoration: none;
    color: inherit;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1a1a1a;
    padding: 1rem 2rem;
    position: relative;
    color: white;
}

.navbar h1 {
    font-size: 1.8rem;
    color: #00dfc0;
    text-align: center;
}

.menu-icon {
   font-size: 1.5rem;
   font-weight: bold;
   cursor: pointer;
   background-color: #444;
   color: white;
   padding: 5px 12px;
   border-radius: 6px;
   transition: background 0.3s;

}

.menu-icon:hover {
    background-color: #00dfc0;
    color: #000;
    
}

.nav-links {
    position: absolute;
    width: 140px;
    padding: 10px 0;
    top: 100%;
    right: 2rem;
    background-color: #333;
    border-radius: 8px;
    overflow: hidden;
    display: none;
    flex-direction: column;
    min-width: 160px;
    box-shadow: 0 4px 12px
    rgba(0, 0, 0, 0.3);
    z-index: 999;
}

.nav-links li{
    list-style: none;
}

.nav-links li a {
     display: block;
     font-weight: bold;
     padding: 10px 16px;
     text-decoration: none;
     font-size: 16px;

     color: rgb(242, 236, 236);
     transition: background 0.2s ease;
     
}

.nav-links li a:hover {
    color: #444;

}

.nav-links.active {
    display: flex;
}



/*________Hero Section_______*/
.hero-content {
      text-align: center;
      background: linear-gradient(90deg, #2c3e50, #4ca1af);
      padding: 1rem 0.75rem;
      color: white;
    }

    .hero-content h2 {
      font-size: 48px;
      background: linear-gradient(to right, #ff0080, #7928ca);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: rainbow 4s linear infinite;
    }

    @keyframes rainbow {
      0% { filter: hue-rotate(0deg); }
      100% { filter: hue-rotate(360deg); }
    }

    .hero-content p {
      font-size: 20px;
      margin-top: 10px;
color: white;
    }
.hero-content h2 span {
    color:  black;
}

.header {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.hero-img {
    width: 80px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border-radius: 0%;
    border: 3px solid #fff;
    box-shadow: 0 0 10px
    rgba(0, 0, 0, 0.2);
}

.hero-text {
    max-width: 70%;
    font-weight: bold;
}

.highlight {
    color: #00ff44;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 30px;
        background-color: #1e1e2f;
        padding: 15px;
        border: 8px;
    }

    .nav-links.active {
        display: flex;
    }

    .media-icon {
        display: block;
    }

    .email-line {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}


.footer {
  text-align: center;
  font-weight: bold;
  padding: 20px;
  font-size: 16px;
  background-color: rgb(48, 45, 45);
  color: white;
}

 a.about-glow {
    color: rgb(46, 3, 146);
    text-decoration: none;
    font-weight: bold;
    position: relative;
 }

 a.about-glow::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #007acc;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
     }

a.about-glow:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/*-------scroll To Btn ----- */

#scrollToTopBtn {
      position: fixed;
      bottom: 30px;
      right: 30px;
      display: none;
      background-color: #7c3aed;
      color: white;
      border: none;
      border-radius: 50%;
      padding: 12px;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }

    #scrollToTopBtn:hover {
      background-color: #5b21b6;
    }
body.light-mode #scrollToTopBtn {
  background: var(--btn-bg-light);
  color: var(--btn-color-light);
  box-shadow: 0 8px 20px var(--btn-shadow-light);
}

body.dark-mode #scrollToTopBtn {
  background: var(--btn-bg-dark);
  color: var(--btn-color-dark);
  box-shadow: 0 8px 20px var(--btn-shadow-dark);
}

#scrollToTopBtn:hover {
  transform: scale(1.1);
}
