.hero-slider{
  position:relative;
  width:100%;
  height:100vh;            
  overflow:hidden;
  margin-top: 1px;
}

.hero{
  position:absolute;
  inset:0;                 
  display:flex;
  align-items:center;
  padding:3rem;
  background-size:cover;
  background-position:center;
  color:#fff;
  transition: transform 0.6s ease, opacity 0.6s ease;
  opacity:0;
  transform: translateX(100%); 
  pointer-events:none;   
  width: 100%;  
}

.hero.active{
  opacity:1;
  transform: translateX(0);
  pointer-events:auto;
  z-index:2;
}


.hero.to-left{ 
  transform: translateX(-100%); 
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
}

.hero-content{
  position:relative; 
  z-index:2; 
  max-width:780px; 
}

.hero-content.center{ 
  margin:0 auto; 
  text-align:center; 
}

.hero-content.left { 
  text-align:left; 
}

.hero-content.right{ 
  text-align:right; 
  margin-left:auto; 
}

h1{ 
  font-size: clamp(2rem, 4vw, 3.2rem); 
  margin-bottom:.5rem; 
}

.tagline{ 
  font-weight:600; 
  opacity:.95; 
  margin-bottom:.75rem; 
}

.hero-text{ 
  margin-bottom:1rem; 
  line-height:1.4; 
  opacity:.95; 
}

.btn-primary,
.btn-secondary{
  display:inline-block;
  text-decoration:none;
  padding:.6rem 1.1rem;
  border-radius:8px;
  margin-right:.6rem;
  transition: transform .15s ease;
}

.hero-slide-1{ 
  background:linear-gradient(rgba(33, 203, 255, 0.4), rgba(1, 9, 12, 0.4)),
    url('/images/3rd\ slide.png') center/cover no-repeat; 
}

.hero-slide-2{ 
  background:linear-gradient(rgba(33, 203, 255, 0.4), rgba(0, 0, 0, 0.4)),
    url('/images/4th\ slide.png') center/cover no-repeat; 
}
  
.hero-slide-3{ 
  background:linear-gradient(rgba(33, 203, 255, 0.4), rgba(0, 0, 0, 0.4)),
    url('/images/2nd\ slide.png') center/cover no-repeat; 
}

.hero-slide-4{ 
  background:linear-gradient(rgba(33, 203, 255, 0.4), rgba(1, 1, 5, 0.4)),
    url('/images/1st\ slide.png') center/cover no-repeat; 
}

.hero-slide-5{ 
  background:linear-gradient(rgba(33, 203, 255, 0.4), rgba(0, 0, 0, 0.4)),
    url('/images/5th\ slide.png') center/cover no-repeat; 
}

.prev, 
.next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,0.45);
  border:none;
  color:#fff;
  font-size:1.6rem;
  padding:.4rem .7rem;
  cursor:pointer;
  z-index:5;
  border-radius:6px;
}

.prev{ 
  left:18px 
}

.next{ 
  right:18px 
}

.dots{ 
  position:absolute; 
  bottom:22px; 
  left:0; 
  right:0; 
  text-align:center; 
  z-index:5 
}

.dots button{ 
  width:12px; 
  height:12px; 
  margin:6px; 
  border-radius:50%; 
  border:none; 
  display:inline-block; 
  background:rgba(177, 158, 158, 0.6); 
  cursor:pointer 
}

.dots button.active{ 
  background:#099ad3 
}

.career-slider {
  position: relative;
  width: 100%;
  height: 77vh;
  overflow: hidden;
  border-radius: 20px;
}

.career-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.career-slide.active {
  opacity: 1;
  z-index: 1;
}

.career-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

/* Navigation buttons */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  font-size: 18px;
  transition: background 0.3s;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 15px; }
.next { right: 15px; }

@media (max-width:600px){
  .career-slide img {
    width: 90%;
    height: auto;
    border-radius: 20px;
  }
}


@media (max-width:600px){
  .prev,.next{ 
    font-size:1.2rem; 
    padding:.3rem .5rem;  
  }

  .hero{ 
    padding:2rem 
  }

  .career-slider img{
    width: 90%;
    height: auto;
    border-radius: 20px;
    margin-left: 10px;
  
  
  }
}

@media (max-width: 580px) {
  .hero-slider{
    height: 70vh;
  }

  
}

@media screen {

  
}





