:root {
  --primary-color: #0d2950;
  --secondary-color: #8394f7;
  --text-color: #ffffff;
  --background-color: #f4f4f4;
  --input-border: #cccccc;
}

/* Hero Container */
.home-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  padding: clamp(3rem, 6vw, 1rem) clamp(2rem, 6vw, 6rem);
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

.home-text {
  flex: 1;
  max-width: 600px;
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-text h2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  animation: fadeSlideIn 1s ease-out forwards;
  opacity: 0;
  color: var(--primary-color);
}

.typing-container {
  display: inline-flex;
  align-items: baseline;
}

#typing-text {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 600;
  margin: 0;
  color: var(--secondary-color);
  min-height: 1em;
}

#cursor {
  display: inline-block;
  width: 3px;
  height: 0.7em;
  background-color: var(--secondary-color);
  margin-left: 4px;
  vertical-align: middle;
  position: static;
}

/* blinking effect */
@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.typed {
  animation: none !important;
  opacity: 1 !important;
}

/* Image Section */
.home-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-image img {
  width: 100%;
  max-width: 480px;
  border-radius: 1.5rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(20px);
  animation: floatImage 6s ease-in-out infinite alternate;
}

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

@keyframes floatImage {
  from {
    transform: translateY(20px);
  }
  to {
    transform: translateY(-20px);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .home-hero {
    flex-direction: column;
    text-align: center;
    padding: 0rem 1rem;
    gap: 0rem;
  }

  .home-text {
    padding-top: 2rem;
    margin: 0;
    gap: 0;
  }
}
