* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  } 
  html, body {
    min-height: 100%;
    min-width:100%;
  height: auto;
}

/* image slider */
.slider {
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.slides {
  display: flex;
  width: 1000%; /* 5 images */
  height: 100%;
  animation: slideAnimation 25s  linear infinite;
}

.slide {
  width: 10%;
  height: 100%;
  background-size: cover;
  background-position: center;
}
/* Set background images for each slide */
.slide-1 {
  background-image: url('public/video/career1.jpg'); /* Path to image 1 */
}

.slide-2 {
  background-image: url('public/video/job1.jpg'); /* Path to image 2 */
}

.slide-3 {
  background-image: url('public/video/job2.jpeg'); /* Path to image 3 */
}

.slide-4 {
  background-image: url('public/video/career3.png'); /* Path to image 4 */
}

.slide-5 {
  background-image: url('public/video/job3.jpg'); /* Path to image 5 */
}
/* Keyframes for sliding animation */
@keyframes slideAnimation {
  0% {
    transform: translateX(0);
}
100% {
    transform: translateX(-50%);
}
}
/* Content Area (Job Info) */
.content {
  position: relative;
  z-index: 1; /* Ensure it is on top of the slider */
  padding-top: 5%;
  color: white;
  margin-top: 3rem;
  
}

/* logo */
  .logo {
    width: 180px; /* Adjust the size of your logo */
    height: auto;
    margin-left: 5%;
  }
   /*menu bar */
   
.header{
  position: fixed;
  top:0;
  left:0;
  width:100%;
 padding: 15px 10px;
 display: flex;;
 background:white;
 align-items:center;
 justify-content:space-between;
 justify-items: end;
transition: .5s;
}
.header:hover{
border-bottom: 2px solid rgba(255,255,255,0);
}

/* Navbar - Flexbox for even spacing of items */
.navbar {
  display: flex;
 justify-content: space-evenly; /* Space items evenly */
  width: 100%; /* Ensure navbar takes full width */
  align-items: center; /* Vertically align items */
  flex-grow: 1;
  
}
.navbar a{
   color:black;
   font-size: 17px;
   font-family: sans-serif;
   font-weight:normal;
   text-decoration: none;
   transition: .3s;
}

.navbar a:hover{
  color:red;
  margin-left: 8px;
}
/* Hover effect for both <a> and .arrow */
.dropdown:hover .dropbtn,
.dropdown:hover .arrow {
    color: red;
    border-color: red;  /* Changes the color of the arrow as well */
}


/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;

}

/* Button for dropdown */
.dropbtn {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 14px 20px;
  font-size: 16px;
  display: inline-block;
  text-align: center;

}
/* down arrow*/
.arrow {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
 padding: 3px;
 margin-bottom: 2px;
  margin-left: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
/* Right arrow styles */
.rightarrow {
  display: inline-block;
  border: solid black;
  border-width: 0 3px 3px 0;
  padding: 3px;
  margin-left: 110px;
  transform:rotate(-45deg);
  transition: transform 0.3s ease;
  position:absolute;
  right:10px;
  top:50%;
  transform: translateY(-50%) rotate(-45deg); 
}



/* Dropdown content - hidden by default */
.dropdown-content {
  display: none;
  position: absolute;
  margin-left: 30%;
  width:250px;
  background:rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,.3);
  transition: .5s;
  backdrop-filter: blur(1px);
  z-index: 1;
  font-family: Arial, sans-serif;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Dropdown items */
.dropdown-content a {
  color: black;
  font-size: 16px;
  padding: 12px 16px;
  text-decoration: none;
  gap:3px;
  display: block;
  margin-left: 0;
}

/* Change color of dropdown items on hover */
.dropdown-content a:hover {
  color:red;
}

/* Show dropdown content on hover */
.dropdown:hover .dropdown-content {
  display: block;
  margin-left: 10px;
}

/* Style for dropdown button on hover */
.dropdown:hover .dropbtn {
  color:red;
  margin-left: 10px;
}

/* Nested Dropdown */
.dropdown-submenu {
  position: relative;
}

.submenu-btn {
  display: block;
  padding: 12px 16px;
  color:white;
  text-decoration: none;
}

.submenu-btn:hover {
  color:red;
  margin-left: 10px;
}

.submenu-content {
  display: none;
  position: absolute;
  left: 100%;
  background:rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,.3);
  transition: .5s;
  top: 0;
  margin-left: 3%;
  min-width: 190px;
  flex-direction: column;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

.submenu-content a {
  color: black;
  padding:  8px 16px 4px 16px;
  margin: 0;
  text-decoration: none;
  display: block;
}

.submenu-content a:hover {
  color:red;
}

/* Show submenu content on hover */
.dropdown-submenu:hover .submenu-content {
  display: block;
}


 /* Job Title Styling */
h1 {
  text-align: center;
  color: red;
  font-size: 2.5em;
  margin-top: 100px; /* To create space from the fixed header */
}
.career-container p{
    text-align: center; 
    font-size: 20px;
    color: #cc0000;
    font-weight: bold;
}
/* Job Listings Container */
.cv h2{
  font-size: 20px;
  color:red;
  margin-bottom: 5px;
}

.cv{
  display: flex;
  flex-direction: column;
  width: 500px; /* Optional: sets a consistent width */
  gap: 20px; /* Adds spacing between inputs */
  margin-left: 15rem;
}
.cv input{
  width: 300px;
   height: 40px;
    font-size: 16px;
     margin-bottom: 10px;
     color:black;
}
input::placeholder {
  color: black;
}
.cv button{
   width: 300px;
   height: 40px;
    font-size: 16px;
     margin-bottom: 10px;
      background-color:rgba(255, 255, 255, 0.3);;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}
.cv input[type="file"] {
  color:red;         /* Changes text color including "No file chosen" */

  border-radius: 8px;
  font-size: 16px;
  padding: 8px;
}
input[type="text"],
input[type="email"],
input[type="file"] {
  background-color:rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}
/* For WebKit browsers: Chrome, Edge, Safari */
input[type="file"]::-webkit-file-upload-button {
  background-color:rgba(255, 255, 255, 0.3);;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  color:black;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* For Firefox and modern standards */
input[type="file"]::file-selector-button {
  background-color:rgba(255, 255, 255, 0.3);;
  border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  color: black;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

/* Optional: file input container */
input[type="file"] {
  font-family: Arial, sans-serif;
}
/* Input hover/focus effect */
.cv input:hover {
  outline: none;
  background-color: grey;
  border-color: red; 
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.6); /* Green glow */
  margin-left:15px;
}
.cv button:hover{
   outline: none;
   background-color: grey;
  border-color:red; 
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.6); /* Green glow */
  margin-left:15px;
}

.job {
  margin-top: 30px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
   background-color: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  margin-bottom: 9px;
 border: 2px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  
  gap: 10px; /* Space between elements */
  
}
.job h3{
  font-size: 1.6rem;
      font-weight: bolder;
      font-style: arial;
      color:white;
      text-shadow: 
        2px 2px 4px rgba(255,0,0, 1), /* Create the border effect */
        -2px -2px 4px rgba(255, 0, 0, 1);
}
.job .detail{
  font-size: 18px;
      font-weight: bolder;
      font-style: arial;
      color:brown;
      
      text-shadow: 
        2px 2px 4px rgba(255,255,255, 1), /* Create the border effect */
        -2px -2px 4px rgba(255, 255, 255, 1)
      
}
.job p{
  font-size: 0.95rem;
  font-style: arial;
  color:black;
  font-weight:bolder;
  
}


/*footer*/
footer {
  margin-top: 24rem;
  position:absolute;
  min-width: 200px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Example: Pushes .bottom to the actual bottom */
  z-index: 1;
  background-color: #222; /* Example background color */
  color: #ccc;          /* Example text color */
  padding: 20px 20px 10px 20px; /* Add padding (top, sides, bottom, sides) */
  width: 100%;
  box-sizing: border-box; /* Include padding in width calculation */
}

.foot {
  display: flex; /* Makes .foot-contain divs arrange horizontally */
  justify-content: space-around; /* Distributes space around the items */
  align-items: flex-start; /* Aligns items to the top */
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
  gap: 15px; /* Adds space between the flex items if they wrap */

}

.foot-contain {
  flex: 1; /* Allows items to grow, adjust as needed */
  margin-left: 5%;
  min-width: 250px; /* Minimum width before wrapping */
  padding: 0 10px; /* Add some horizontal padding */
  box-sizing: border-box;
}

.foot-contain h3 {
  color: #fff; /* Make headings stand out */
  margin-bottom: 15px;
  border-bottom: 1px solid #555; /* Optional separator */
  padding-bottom: 5px;
}

.foot-contain .box {
  display: flex; /* Align icon and text */
  align-items: flex-start;
  margin-bottom: 5px;

}
.foot-contain .box .text {
  display: flex;          /* Use flexbox for the text container */
  flex-direction: column; /* **** Stack the child elements (the <p> tags) vertically **** */
  align-items: flex-start;/* Align text to the left */
}


.foot-contain .box .icon {
  margin-right: 10px;
  color: #eee; /* Example icon color */
  width: 20px; /* Give icon fixed width */
  text-align: center;
  padding-top: 2px;
}

.foot-contain .box .text p {
 display:block;
 padding: 0;
  margin: 0 0 2px 0; /* Remove default paragraph margin */
  line-height: 1.4;
}

/* Styling for the Follow Us list */
.foot-contain ul {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 10px 0 0 0;
    display:flex;
    flex-wrap:wrap;
    gap:25px;
    justify-content: flex-start;
}

.foot-contain li {
    margin-bottom: 10px;
    display:inline-block;
    padding: 7px;
  
}

.foot .foot-contain li a {
    color: #ccc; /* Link color */
    text-decoration: none; /* Remove underline */
    display:flex;
    align-items: center;
    transition: color 0.3s ease; /* Smooth hover effect */
}

.foot-contain li a i:hover {
    color: red; /* Link color on hover */
}

.foot-contain li a i {
    margin-right: 8px; /* Space between icon and text */
    width: 25px; /* Consistent icon width */
  font-size: 1.4em;
  text-align: center;
  transition: color 0.3s ease; /* Add transition for icon color */
}


/* Style for the bottom copyright section */
.bottom {
  text-align: center; /* Centers the text */
  padding-top: 15px; /* Adds space above the copyright */
  padding-bottom: 5px;
  border-top: 1px solid #444; /* Optional separator line */
  width: 100%; /* Ensures it takes full width */
  font-size: 0.9em;
  color: #aaa; /* Slightly dimmer text color */
}

.foot .foot-contain li i{
  color:white;
}
.foot .foot-contain .box .icon i{
  color:white;
}

/* Responsive Styling */
@media screen and (max-width:1400px){
 .header,
 .navbar
  .para,
  .foot,
  .foot-contain {
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
  }
  
  .header {
    flex-direction: row;
    align-items: flex-start;
    padding: 10px 20px;
  }
  .logo{
    margin-left: 5%;
  }

  .navbar {
    flex-direction: row;
    align-items: flex-start;
    margin-left:0;
  }
  .navbar a,
.dropbtn {
  padding: 14px 20px;
  line-height: 1.5;
  display: inline-block;
}
  .video-background {
    height: 100vh;
    margin-top: 10%;

  }

  .video-background video {

    object-fit: cover;
  }

  .para {
    position: absolute;
    padding: 10px;
    margin-top: 120px; /* Adjust as needed */
    text-align: center;
    margin-bottom:5%;
  }

  .para p {
    font-size: 20px;
    line-height: 1.4;
  }
  footer {
    flex-direction: column;
    padding: 20px;
    margin-top:26%;

  }

  .foot-contain {
    margin-left: 0;
    min-width: auto;
  }

  .dropdown-content, .submenu-content {
    position: absolute;
    margin: 0;
  }
}
/*responsive to tablet*/
@media screen and (max-width: 1200px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
        box-sizing: border-box;
    width:100%;/* Reduce header width */
    margin: 0 auto; /* Center it horizontally */
    padding:5px 5px;

    
  }

  .logo {
    width: 140px;
    margin-right:1px;
    
  }

  .navbar {
    flex-direction: row;
    width: 100%;
    justify-content:space-evenly;
    display: flex;

  }
.navbar > * {
  flex: 1;
  text-align: center;
}

  .navbar a,
  .dropbtn {
    padding: 6px;
    font-size: 16px;
    text-align: center;
    display: block;
    width: auto;
  }
.dropdown-submenu {
  position: relative;
}
  .dropdown-content,
  .submenu-content {
    position: absolute;
    margin: 0;
    min-width: 60px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
  }


  .video-background {
    padding: 1em;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .para {
    margin-top: 140px;
    padding: 20px;
    text-align: center;
  }

  .para p {
    font-size: 24px;
    line-height: 1.4;
  }
h1{
    margin-top:120px;
}
  .foot {
    flex-direction: column;
    align-items: center;
  }

  .foot-contain {
    width: 100%;
    max-width: 90%;
    margin: 10px 0;
    text-align: center;
  }

  footer {
    margin-top: 25em;
    padding: 20px;
  }
}
/* Hides hamburger on desktop/tablet */
.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: black;
}
/* MOBILE ONLY - max-width 768px */
@media screen and (max-width: 500px) {
  html, body {
    height: auto;
    overflow-y: auto;
  }
  .video-background{
     height: auto;
    overflow-y: auto;
    padding-top: 150px;
     
  }
  .hamburger {
    display: block;
    margin-left:20px;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    margin-top: 10px;
    padding-left: 10px;
    border-top: 1px solid #ccc;
    z-index: 9999;
  }
.header{
  z-index:10000;
  position: fixed;
  flex-direction: column;
  top: 0;
  left: 0;
  width: 100%;
}

 
  .navbar.show {
    display: flex;
  }

  .navbar a,
  .dropbtn {
    padding: 12px 16px;
    text-align: left;
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .dropdown-content
   {
  position: relative;
    display: none;
    z-index: 99999;
    background: none;
    box-shadow: none;
    margin: 0;
    border: none;
    width: 100%;
  
  }
  .content {
 position: relative;
  top: 0;
  left: 0;

  width: 100%;
  min-height: 100%;
   /* Make sure the video stays in the background */
display:flex;
flex-direction:column;
flex:1;
  align-items:center;
  padding:2em;
}
   .content{
     height: auto;
    overflow-y: auto;
    padding-top:0px;
    width:100%;
     
  }
  .career-container h2{
  margin-top:5rem;
}

 .career-container p{
     font-size:25px;
     font-weight:bold;
 }
.submenu-content {
    position: relative;
    left: 0;           /* Reset the left shift */
    top: 0;            /* Reset the top offset */
    margin-left: 0;    /* Remove horizontal offset */
    width: 100%;       /* Full width */
    box-shadow: none;
    background: none;
    border: none;
    z-index:9999;
  }
/* Still allow it to show on hover/tap */
.dropdown:hover .dropdown-content,
.dropdown-submenu:hover .submenu-content {
  display: block;
}


  /*.dropdown:hover .dropdown-content,
  .dropdown-submenu:hover .submenu-content {
    display: block;
  }*/

  .arrow, .rightarrow {
    display: none;
  }
  
  footer{
    margin-top:8rem;
  }
 
}


