* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
  background-image: url(../img/2.png);
  position: relative;
  overflow-x: hidden;
  color: #1a1a1a;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.header {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.98)
  );
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(176, 106, 179, 0.1);
}

.header:hover {
  box-shadow: 0 5px 20px rgba(176, 106, 179, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

/* .logo:hover {
    transform: scale(1.05);
} */

.logo img {
  height: 300px; /* Your desired logo height */
  width: auto;
  object-fit: contain;
  position: absolute;
  left: 0;
  /* transform-origin: left center; */
}

.nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-size: 18px;
  text-decoration: none;
  color: #555;
  font-weight: 500;
  padding: 8px 12px;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.nav-link:hover {
  color: #b06ab3;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #b06ab3;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Add a scroll effect for the header */
.header.scrolled {
  padding: 1rem 3rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  width: 100%;
  max-width: 1200px;
  padding: 100px 20px 40px; /* Increased top padding to account for fixed header */
  text-align: center;
  margin-top: 100px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
}

.name {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #b06ab3;
}

.title {
  font-size: 24px;
  color: #555;
  margin-bottom: 40px;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.button {
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 150px;
}

.button-primary {
  background-color: #e67709;
  color: white;
}

.button-primary:hover {
  background-color: #3367d6;

  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(230, 119, 9, 0.2);
}

.button-secondary {
  background-color: #3bbc91;
  color: white;
}

.button-secondary:hover {
  background-color: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(51, 103, 214, 0.2);
}

.icon {
  font-size: 20px;
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    padding: 20px;
  }

  .nav {
    margin-top: 20px;
    gap: 15px;
  }

  .name {
    font-size: 36px;
  }

  .title {
    font-size: 20px;
  }

  .buttons {
    flex-direction: column;
  }
}

/*intro*/
.intro {
  font-size: 60px;
  font-weight: bold;
  line-height: 1.2;
}

.developer-wrapper {
  display: inline-block;
  position: relative;
}

.developer {
  color: #00d1b2;
  position: relative;
  display: inline-block;
}

.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background-color: #00d1b2;
  margin-left: 1px;
  animation: blink 1s infinite;
  position: relative;
  top: 4px;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.description {
  font-size: 30px;
  margin: 50px 0;
  max-width: 650px;
  line-height: 1.6;
}

/*footer*/
.footer {
  width: 100%;
  padding: 18px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eaeaea;
  margin-top: auto;
  background-color: #ffffff;
}

.quote {
  color: #6c757d;
  font-size: 14px;
  font-style: italic;
}

.social-icons {
  display: flex;
  gap: 20px;
}

/* .social-icon {
  color: #6c757d;
  transition: color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  font-size: 20px;
} */

.social-icon {

  color: #6c757d;

  
  width: 24px;
  height: 24px;
  vertical-align: middle;
  background: rgba(255,255,255,0.7); /* Light background */

}

.social-icon:hover {
  color: #000;
  transform: translateY(-2px);
}

/* Bottom border that appears on hover */
.footer:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #3498db, #2ecc71);
  transition: width 0.5s ease;
}

.footer:hover:after {
  width: 100%;
}

@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 15px;
  }

  .quote {
    margin-bottom: 10px;
  }
}

/*----------name change color----------------*/
@keyframes colorChange {
  0% {
    color: #bc25a0;
  } /* Orange-red */
  20% {
    color: #7b0e5b;
  } /* Bright green */
  40% {
    color: #b10a69;
  } /* Blue */
  60% {
    color: #3f55c1;
  } /* Pink */
  80% {
    color: #293495;
  } /* Cyan */
  100% {
    color: #17135a;
  } /* Back to orange-red */
}

.color-changing-name {
  display: inline;
  animation: colorChange 20s infinite;
  font-weight: bold;
}

/* Optional: Add some text shadow for even more flair */
.color-changing-name {
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Optional: Add a gradient background to the text */
.gradient-text {
  background: linear-gradient(
    90deg,
    #ff5733,
    #33ff57,
    #3357ff,
    #f733ff,
    #33fff7
  );
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* text-fill-color: transparent; */
  font-weight: bold;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
