/* === HERO SECTION === */
#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* --- Lamstech Blue Radial Overlay --- */
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at bottom,
    rgba(42, 61, 255, 0.55) 0%,
    rgba(108, 99, 255, 0.45) 30%,
    rgba(10, 14, 39, 0.35) 55%,
    rgba(0, 0, 0, 0.1) 75%,
    transparent 100%
  );
  z-index: 1;
}

/* --- Text Content --- */
.hero-text {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  animation: fadeInUp 1.5s ease forwards;
  color: #fff;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: #F5F7FF;
  margin-bottom: 10px;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.hero-text p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 25px;
  line-height: 1.6;
  color: #DCE2FF;
}

/* --- Button --- */
.btn-apply {
  background: linear-gradient(135deg, #2A3DFF, #6C63FF);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(42, 61, 255, 0.3);
}

.btn-apply:hover {
  background: linear-gradient(135deg, #6C63FF, #00BFFF);
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

/* --- Arrows --- */
.arrows {
  color: #fff;
  font-size: 22px;
}

.arrow {
  display: block;
  animation: bounce 2s infinite;
}

.arrow2 {
  animation-delay: 0.3s;
}

/* --- Bounce Animation --- */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.6;
  }
}

/* --- Fade-in Text Animation --- */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}

.portfolio-section {
  background: #fff;
  overflow: hidden;
}

.portfolio-carousel .portfolio-slide {
  position: relative;
  height: 70vh;
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
}

.portfolio-slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.btn-view {
  background: linear-gradient(135deg, #2A3DFF, #6C63FF);
  color: #fff;
  border-radius: 50px;
  padding: 10px 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
  box-shadow: 0 4px 20px rgba(42, 61, 255, 0.3);
}

.btn-view:hover {
  background: linear-gradient(135deg, #6C63FF, #00BFFF);
  transform: scale(1.05);
  box-shadow: 0 6px 25px rgba(108, 99, 255, 0.4);
}

/* Hide navigation dots/arrows */
.owl-nav, .owl-dots { display: none !important; }

/* Continuous smooth scroll */
.owl-carousel .owl-stage {
  transition-timing-function: linear !important;
}
