.hero {
  position: relative;
  min-height: 700px;
  background: linear-gradient(135deg, rgba(26, 151, 181, 0.95) 0%, rgba(10, 59, 71, 0.9) 100%);
  overflow: hidden;
  padding: 160px 0 0;
  padding-bottom: 30px !important;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 60px;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
  max-width: 600px;
  color: var(--white);
  padding-bottom: 80px;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.highlight {
  color: var(--secondary-color);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  margin-bottom: 10px;
}

.hero-buttons .btn-outline {
  border-color: var(--white);
  color: var(--white);
}

.hero-buttons .btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 80px;
}

.image-container {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-15deg);
  transition: all 0.5s ease;
}

.image-container:hover {
  transform: perspective(1000px) rotateY(-5deg);
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: all 0.5s ease;
}

.image-container:hover img {
  transform: scale(1.05);
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* Animation delays */
.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

/* Responsive styles */
@media (max-width: 1400px) {
  .hero-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .image-container {
    max-width: 500px;
  }
}

@media (max-width: 1200px) {
  .hero {
    padding-top: 100px;
  }

  .hero-content {
    max-width: 500px;
  }

  .image-container {
    max-width: 450px;
    transform: perspective(1000px) rotateY(-10deg);
  }
}

@media (max-width: 992px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 0;
  }

  .hero-container {
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    gap: 30px;
  }

  .hero-content {
    max-width: 100%;
    padding-bottom: 40px;
  }
  .hero-content h1{
    padding-top: 40px;
  }
  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    justify-content: center;
    padding-bottom: 60px;
  }

  .image-container {
    width: 80%;
    max-width: 500px;
    transform: perspective(1000px) rotateY(-5deg);
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 80px 0 0;
  }

  .hero-content {
    padding-bottom: 30px;
  }

  .hero-content h1 {
    font-size: 2rem;
    padding-top: 60px;
  }

  .hero-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    gap: 10px;
  }

  .hero-buttons .btn {
    flex: 1;
    min-width: 140px;
    text-align: center;
  }

  .hero-image {
    padding-bottom: 50px;
  }

  .image-container {
    width: 90%;
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 576px) {
  .hero {
    padding-top: 60px;
  }

  .hero-container {
    gap: 20px;
  }

  .hero-content {
    padding-bottom: 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    max-width: 280px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-image {
    padding-bottom: 40px;
  }

  .image-container {
    width: 100%;
    border-radius: 15px;
  }
}

/* Fix for very small screens */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content p {
    font-size: 0.85rem;
  }
}

/* Fix for very tall screens */
@media (min-height: 1000px) {
  .hero {
    min-height: 800px;
  }
}

/* Fix for very short screens */
@media (max-height: 700px) {
  .hero {
    min-height: auto;
    padding-bottom: 0;
  }

  .hero-content,
  .hero-image {
    padding-bottom: 40px;
  }
}

/* Fix for landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 120px 0 0;
  }

  .hero-container {
    flex-direction: row;
    align-items: flex-start;
  }
  
  .hero-content,
  .hero-image {
    padding-bottom: 60px;
    text-align: left !important;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    padding-top: 20px;
  }
  .hero-buttons{
    justify-content: left;
  }
  .skill-tag-2{
    margin-bottom: 0px !important;
    font-size: 10px;
  }

  /*.image-container {
    max-width: 300px;
  }*/
}

