/* Home Section */
.home-section {
  width: 100%;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-container {
  display: flex;
  flex-direction: row;
  justify-content:flex-end;
  /* align-items: center; */
  max-width: 1200px;
  width: 100%;
  gap: 40px;
}

.home-content {
  flex: 1;
  min-width: 280px;
}

.home-profile {
  flex: 1;
  display: flex;
  justify-content:flex-end;
  align-items: center;
}

.profile-img-wrapper {
  background: linear-gradient(135deg, #0fffc1, #3f5efb, #fc466b);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.3),
    0 8px 24px rgba(63, 94, 251, 0.3),
    inset 0 0 6px rgba(255, 255, 255, 0.1);
  outline: 1rem solid rgba(155, 89, 182, 0.2); 
  transition: transform 0.35s ease;
  padding: 5px;
  border-radius: 50%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   /* background-image: linear-gradient(
    45deg,
    #fff400,
    #ffa601,
    #f3503c,
    #d53567,
    #a7489b
  ); */
}

.profile-img-wrapper:hover {
  transform: scale(1.030);
  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.4),
    0 12px 32px rgba(63, 94, 251, 0.45),
    inset 0 0 10px rgba(255, 255, 255, 0.2);
}
.profile-img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
}

/*Text & Buttons */
.home-title {
  font-size: 36px;
  font-weight: 600;
  margin: 0;
}

.home-title span {
  letter-spacing: 0.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background-image: linear-gradient(
    45deg,
    #fff400,
    #ffa601,
    #f3503c,
    #d53567,
    #a7489b
  );
  background-size: 100%;
  background-repeat: repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: background-image 5s ease-in-out forwards;
}

.home-subtitle {
  font-size: 1.5rem;
  margin: 20px 0;
  height: 28px;
}

.typing-text {
  font-size: 1.5rem;
  font-weight: bold;
  color: #39ff14;
}

.cursor {
  animation: blink 0.7s infinite;
  font-weight: bold;
}

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

.home-buttons {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.btn {
  padding: 10px 22px;
  color: #fff;
  padding: 0.5rem 1.5rem;
  font-weight: var(--font-semi);
  border-radius: 30px;
  border: solid 3px transparent;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(90deg, #fff400, #ffa601, #f3503c, #d53567);
  background-origin: border-box;
  background-clip: content-box, border-box;
  box-shadow: 0 0 6px 0 rgba(157, 96, 212, 0.5);
  box-shadow: 2px 1000px 1px #181818 inset;
}

.btn:hover {
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
  color: #fff;
  border: solid 3px transparent;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(90deg, #d53567, #f3503c, #ffa601, #fff400);
  transition: background-image 2s ease-in-out;
  box-shadow: 2px 1000px 1px #181818 inset;
}

.home__social {
  margin-top: 30px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: wrap;
}

.home__social-icon {
  margin-right: 15px;
  color: #333;
  font-size: 20px;
  transition: color 0.3s ease;
}

.home__social-icon:hover {
  color: #5e60ce;
}

.home__social-icon {
  padding: 8px 11px;
  font-size: 1.3rem;
  width: max-content;
  margin-bottom: var(--mb-2);
  color: #fff;
  border-radius: 100%;
  display: inline-block;
  text-align: center;
}

/* Adjust padding for specific icons if needed */
.home__social-icon:nth-child(4n + 4),
.home__social-icon:nth-child(4n + 5) {
  padding: 8px 13px;
}

/* Gradient backgrounds */
.home__social-icon:nth-child(4n + 1) {
  background: linear-gradient(90deg, #fff400, #ffa601);
}

.home__social-icon:nth-child(4n + 2) {
  background: linear-gradient(90deg, #ff9f05, #f3503c);
}

.home__social-icon:nth-child(4n + 3) {
  background: linear-gradient(90deg, #ee4248, #d53567);
}

.home__social-icon:nth-child(4n + 4) {
  background: linear-gradient(90deg, #d23369, #a01495);
}

.home__social-icon:nth-child(4n + 5) {
  background: linear-gradient(90deg, #a01495, #405de6);
}

.home__social-icon:hover {
  background: linear-gradient(
    90deg,
    #fff400,
    #ffa601,
    #ff9f05,
    #f3503c,
    #ee4248,
    #d53567,
    #a01495
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: 3s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
  .home-section {
    min-height: 70vh;
  }
  .home-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-align: left;
  }
  .home-subtitle {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0;
    height: 28px;
    text-align: left;
  }

  .typing-text {
    font-size: 1rem;
    font-weight: 600;
    font-weight: bold;
  }

  .home-container {
    flex-direction: column;
    text-align: center;
  }

  .home-buttons {
    justify-content: ;
    flex-wrap: wrap;
  }

  .home__social {
    justify-content: start;
  }

  .home-profile {
    display: none;
  }
}

