/* HOME PAGE */

/* sets default font, background color, and text color */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
  }
.title{
  font-size: 45px;
}

.welcome{
  font-size: 34px;
}  
  /* styles the top bar with a fark background and white text */
  header  {
    
    color: white;
    padding: 20px;
    text-align: center; 
  
  }
  /* Remove bullet points and spaces, aligns nav items horizontal */
  nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  /* Styles the nav links white, bold, no underline */
  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  /* Adds a background image, padding, and centers text in the hero section. */
  .hero {
    background-size: cover;
    min-height: 400px;
    background-position: top center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    text-align: center;
    color: white;
  }
  
  /* Styles the bio section with padding white background, and rounded corners */
  .bio {
    padding: 20px;
    margin: 20px;
   
    border-radius: 8px;
  }
  
  /* STYLE SHEET ABOUT IMAGE BACKGROUND */
  image-grid {
    display: flex; /* turns the container into a flexbox allowing images to align horizontaly*/
    gap: 20px; /* Adds space between each image*/
    flex-wrap: wrap;/* allow image to wrap to the next line if the screen is too narrow*/
    justify-content: center; /* Centers the images horizontally in the container*/
  }
  
  image-grid img {
    width: 300px; /* sets a fixed wigth for each image*/
    height: auto; /* keeps the image's aspect ratio intact*/
    border-radius: 10px; /* rounds the corners for a smooth modern look*/
    box-shadow: 0 4px 8px rgba(0, 0, 0, 2);/* adds a soft shadow for depth - makes image pop*/
    transition: transform 0.3s ease; /* prepares the image for smooth animation when hovered.*/
  }
  

  footer {
    background-color: aliceblue;
  }
  
  image-grid img:hover{
    transform: scale(1.05); /* slightly enlarges the image when hoved _ adds interactivity and flair*/
  }
  
  
  
  
  /* Background slider container */
  .background-slider {
  position: fixed; /* Stays behind everything */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Pushes it behind the content */
  overflow: hidden;
  }
  
  /* Each slide */
  .background-slider .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover; /* Ensures full coverage */
  background-position: center;
  opacity: 0;
  animation: slideFade 15s infinite;
  }
  
  /* Fade animation for each slide */
  .background-slider .slide:nth-child(1) {
  animation-delay: 0s;
  }
  .background-slider .slide:nth-child(2) {
  animation-delay: 5s;
  }
  .background-slider .slide:nth-child(3) {
  animation-delay: 10s;
  }
  
  /* Keyframes for fading effect */
@keyframes slideFade {
  0%   { opacity: 0; }  /* Start invisible */
  10%  { opacity: 1; }  /* Fade in quickly */
  30%  { opacity: 1; }  /* Stay visible for a moment */
  40%  { opacity: 0; }  /* Begin fading out */
  100% { opacity: 0; }  /* End invisible */
}

  
  


/* ============================
   Navigation Links Styling
============================= */
.nav-menu a {
  color: white;             /* White text for readability on dark background */
  padding: 10px;            /* Adds spacing around each link for touch targets */
  text-decoration: none;    /* Removes underline for a cleaner look */
}
  
  
  /* Mobile view: show hamburger icon when screen width is 768px or less
  @media (max-width: 768px) { */
  
    /* Target the hamburger menu icon */
    .hamburger {
      
      display: block; 
      /* Makes the hamburger icon visible on mobile devices */
  
      position: absolute; 
      /* Positions the icon relative to the nearest positioned ancestor or the viewport */
  
      top: 10px; 
      /* Places the icon 10 pixels from the top of the screen */
  
      left: 10px; 
      /* Places the icon 10 pixels from the left side of the screen */
  
      z-index: 1000; 
      /* Ensures the icon stays on top of other elements for easy access */
    }
  
  
  
    .nav-menu.active {
      display: flex;
    }

  
  
  .career h5{
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
  }
  
  
  
  
  
  
  
  
  
  