* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden; 
}

nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
  min-height: 8vh;
  background-color: #20176F;
  font-family: 'Poppins', sans-serif;
  position: relative; 
}

.logo {
  color: rgb(226, 226, 226);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 20px;
}

.nav-links {
  display: flex;
  justify-content: space-around;
  width: 40%;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  color: rgb(226, 226, 226);
  text-decoration: none;
  letter-spacing: 3px;
  font-weight: bold;
  font-size: 14px;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 30px;
  height: 4px;
  background-color: rgb(226, 226, 226);
  margin: 5px;
  transition: all 0.3s ease;
}

@media screen and (max-width:1024px) {
  .nav-links {
    width: 60%;
  }
}

@media screen and (max-width:768px) {
  html {
    overflow-x: hidden;
  }
  
  .nav-links {
    position: fixed;              
    top: 8vh;                     
    right: 0;
    height: 92vh;                 
    background-color: #20176F;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100vw;                 
    transform: translateX(100vw); 
    transition: transform 0.5s ease-in;
    overflow-x: hidden;           
    z-index: 1000;                
  }
  
  .nav-links li {
    opacity: 0;
  }
  
  .burger {
    display: block;
    position: absolute;
    top: 2vh;    
    right: 2vw;
    z-index: 1001; 
    cursor: pointer;
  }
  
  .burger div {
    width: clamp(30px, 5vw, 50px);
    height: clamp(4px, 0.5vw, 8px);
    background-color: rgb(226, 226, 226);
    margin: clamp(5px, 1vw, 10px);
    transition: all 0.3s ease;
  }
}

.nav-active {
  transform: translateX(0);
}

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
  opacity: 0;
}
.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

video {
  height: 100%;
  width: 100%;
}

.wrapper {
  height: 92vh;
  display: flex;
  align-items: center;
  color: #FFF;
}

.video-wrap {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-wrap video {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.overlay {
  z-index: 1;
  height: 92vh;
  width: 100%;
  left: 0;
  background: rgba(45, 62, 80, 0.7); 
  position: absolute;
}

.hiring-message {
  text-align: center;
  padding: 50px 40px;
  background: linear-gradient(120deg, #ff9933 15%, #ff7700 50%, #ff5500 100%);
  color: white;
  font-family: 'Poppins', sans-serif;
  position: relative;
  z-index: 2;
  margin-bottom: -20px;
}

.cf-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cf-logo {
  max-height: 50px;
  height: auto;
  display: inline-block;
  margin-bottom: -5px;
}

.hiring-message h1 {
  font-size: 30px;
  margin-bottom: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hiring-message p {
  font-size: 20px;
  opacity: 0.9;
}

@media screen and (max-width: 768px) {
  .hiring-message {
    padding: 30px 20px;
  }
  
  .hiring-message h1 {
    font-size: 22px;
    line-height: 1.2;
  }
  
  .cf-content {
    flex-direction: column;
    gap: 5px;
  }
  
  .cf-logo {
    max-height: 40px;
  }
}

@media screen and (max-width: 480px) {
  .hiring-message h1 {
    font-size: 18px;
  }
}
