@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap");

* {
  margin: 0;
  padding: 0;
}
body,
.portfolio {
  width: 100vw;
  height: 100vh;
  /* overflow-y: scroll; */
  overflow-x: hidden;
  transition: background-color 0.3s ease;
}
.nav-content {
  display: flex;
  justify-content: space-around;
  align-items: center;
  position: relative;
  /* border-radius: 5px; */
  padding: 5px;
  height: 80px;
}
.logo,
.fa-user {
  font-size: 30px;
  font-weight: 700;
  color: #ef448b;
}

sup {
  font-family: Dancing Script, cursive;
  font-size: 40px;
  /* color: #0f0e0e33; */
}
.list-item ul {
  display: flex;
  list-style-type: none;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
  text-transform: uppercase;
  font-size: 20px;
  cursor: pointer;
}
.list-item ul li a {
  text-decoration: none;
  font-size: 20px;
  color: black;
  cursor: pointer;
}
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  color: var(--text-color);
  transition: background-color var(--transition-fast),
    color var(--transition-fast);
  z-index: 1001;
}

/* home */
.home-content {
  display: flex;
  justify-content: space-around;
  flex-direction: row;
  align-items: center;
  height: 100vh;
  width: 100vw;
  flex-wrap: wrap;
  padding: 0 5%;
  box-sizing: border-box;
  padding-bottom: 40rem;
  padding-top: 6rem;
  margin-bottom: 0px;
  /* background-color:rgba(0, 255, 255,0.5); */
  /* background-image: url("https://forkast.news/wp-content/uploads/2021/06/fabio-oyXis2kALVg-unsplash.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
}
.profile-img {
  flex-shrink: 0;
  height: 500px;
  width: 450px;
  border-radius: 30px;
  background-image: url("/image/rabi.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 0 40px red;
  filter: brightness(60%);
  border: 2px solid red;
  transition: box-shadow 0.3s ease;
}
.profile-img:hover {
  box-shadow: 0 0 60px #ff0000;
}
.home-content .home {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 3rem;
  /* color: aqua; */
  padding: 20px 0;
  width: 550px;
}
h6 {
  font-size: 2rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}
.heading {
  font-family: "Segoe UI", Tahoma, sans-serif;
  font-size: 35.2px;
  font-weight: 700;
  margin: 0;
  text-decoration: none;
  /* font-display:fallback; */
}
.animated-text {
  margin: 30px 0;
  min-height: 3.5rem; /* Prevent layout shift during text animation */
  min-width: 15ch; /* Prevent width change during typing animation */
}

.animated-text p {
  font-size: 3rem;
  /* color: white; */
  font-weight: 600;
}

#text-animation {
  /* color: var(--success-color); */
  position: relative;
}

.cursor {
  display: inline-block;
  width: 3px;
  background-color: var(--success-color);
  animation: blink 1s infinite;
  margin-left: 5px;
}

/* Home Social Icons */
.home .social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  animation: fadeInUp 1.2s ease-out;
}

.home .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff0000, #cc0000);
  color: white;
  font-size: 22px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.7), 0 0 20px rgba(255, 0, 0, 0.4);
}

.home .social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.6);
}

/* Home Hire Me Button */
.home .btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  /* background: linear-gradient(145deg, #ff0000, #cc0000); */
  background: linear-gradient(145deg, #85b931, red);
  color: white;
  font-weight: 600;
  font-size: 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3);
  margin-top: 20px;
  /* animation: fadeInUp 1.4s ease-out; */
}

.home .btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.7);
}

/* @keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

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

/* Enhanced Navigation Bar */
nav {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  top: 0;
  backdrop-filter: blur(30px);
  background-color: rgba(133, 185, 49, 0.4);
  box-shadow: 0px 0px 30px rgba(227, 228, 237, 0.37);
  border: 2px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* nav:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
} */

.list-item ul li a {
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease;
  /* color: #333333; */

  font-weight: 600;
  font-family: Arial, Helvetica, sans-serif;
}

.list-item ul li a:hover,
.list-item ul li a:focus {
  color: #ff4d4d;
  text-decoration: none;
  /* box-shadow: 0 4px 8px rgba(255, 77, 77, 0.4); */
}

/* Smooth transition for logo */
.logo {
  transition: color 0.3s ease;
  cursor: default;
}

.logo:hover {
  color: #ff4d4d;
}

/* Enhanced Footer */
footer {
  background-color: #f8f8f8;
  padding: 20px 0;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
  text-align: center;
  font-size: 14px;
  color: #666666;
}

footer:hover {
  background-color: #eaeaea;
}
