body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: black;
  color: rgb(249, 244, 244);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  overflow-y: auto;
  padding-bottom: 60px;
}


/* === HEADER STYLES === */
header {
    position: sticky ;
    top: 0;
    width: 100%;
    height: 80px;
    background-color:   #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1001;
    overflow: visible;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }
  
  header ul {
    flex: 2;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
  }
  
  header ul li {
    position: relative;
  }
  
  header ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: black;
    font-weight: 900;
    text-transform: uppercase;
    padding: 10px 15px;
    font-size: 1.2em;
    overflow: hidden;
  }
  
  header ul li a span {
    display: inline-block;
    position: relative;
    z-index: 1;
    transition: color 0.5s;
    text-shadow: 0 0 5px #ffffff;
  }
  /* Header Styles */
  header ul li a:before,
  header ul li a:after {
    content: "";
    position: absolute;
    height: 3px;
    width: 0;
    background-color: #0A1F44;
    transition: width 0.5s;
    z-index: 0; /* Ensure the lines are behind the text */
  }
  
  header ul li a:before {
    left: 0;
    top: 0;
  }
  
  header ul li a:after {
    right: 0;
    bottom: 0;
  }
  
  header ul li:hover > a:before,
  header ul li:hover > a:after {
    width: 100%;
  }
  
  /* Dropdown Content */
  header ul li .dropdown-content {
    display: none;
    position: absolute;
    background-color: #d9e2e3;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  header ul li:hover .dropdown-content {
    display: block;
  }
  
  header ul li .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.5s;
  }
  
  header ul li .dropdown-content a:hover {
    background-color: #f1f1f1;
  }
  
  /* Blink Effect */
  @keyframes blink {
    0% { opacity: 0; }
    100% { opacity: 1; }
  }
  
  header ul li .dropdown-content a:hover span {
    animation: blink 0.8s;
  }
  
  /* Remove green line hover effect for dropdown-content links */
  header ul li .dropdown-content a:before,
  header ul li .dropdown-content a:after {
    width: 0; /* Ensure no green line */
    transition: none; /* Disable width transition */
  }
  
  header ul li .dropdown-content a:hover:before,
  header ul li .dropdown-content a:hover:after {
    width: 0; /* Ensure no green line on hover */
  }
  
  /* Dropdown Styles */
  .menu-items .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f7f2f2;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(114, 112, 112, 0.2);
    top: 100%;
    left: 0;
    z-index: 1002; /* Increased z-index to ensure it appears in front */
  }
  
  .menu-items .dropdown-content li {
    display: block;
  }
  
  .menu-items .dropdown-content li a {
    padding: 10px 20px;
    text-decoration: none;
    color: rgb(5, 4, 4);
    display: block;
  }
  
  .menu-items .dropdown:hover .dropdown-content {
    display: block;
  }
  
  /* === HAMBURGER ICON === */
  .hamburger {
    cursor: pointer;
    position: absolute;
    left: 20px;     /* This puts it 20px from the right edge */
    top: 40px;       /* Adjust this value to move it further down */
    display: none;   /* hidden by default, shown on mobile with media query */
    z-index: 1100;
  }
  
  
  .hamburger input {
    display: none;
  }
  
  .hamburger svg {
    height: 3em;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line {
    fill: none;
    stroke: black;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
                stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .line-top-bottom {
    stroke-dasharray: 12 63;
  }
  
  .hamburger input:checked + svg {
    transform: rotate(-45deg);
  }
  
  .hamburger input:checked + svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }
  
  /* === MEDIA QUERIES === */
  @media screen and (max-width: 1024px) {
    .hamburger {
      display: block;
      position: sticky;
      transform: translatex(40%);
      top: 30px;          /* Move it down */
      right: 10px;        /* Move it to the right */
      background-color: rgb(96, 206, 223);
      border-radius: 25px;
      width:-200px;        /* Remove full width */
      height:50px ;       /* No forced height */
      z-index: 1100;
      
      
    }
  
  
    
    .hamburger svg {
      display: block;
      margin: 0 auto;
    }
  
    header {
      transform: translateY(-100%);
      opacity: 0;
      position: fixed;
      top: 0;
      left: 0;
      background-color: #d9e2e3;
      flex-direction: column;
      height: auto;
      padding: 20px;
      z-index: 1000;
    }
  
    header.active {
      transform: translateY(0);
      opacity: 1;
    }
  
    header ul {
      flex-direction: column;
      gap: 10px;
      padding: 10px 0;
    }
  }
  
  
  @media screen and (max-width: 1024px) {
    header {
      transform: translateY(-120%);
      opacity: 0;
      position: fixed;
      top: 215px; /* Push it down a bit from top */
      left: 0;
      background-color: #d9e2e3;
      flex-direction: column;
      height: auto;
      padding: 20px;
      transition: transform 0.4s ease, opacity 0.4s ease;
      z-index: 1000;
    }
  
    header.active {
      transform: translateY(0);
      opacity: 1;
    }
  
    .hamburger {
      display: block;
      position: fixed;
      top: 150px;
      right: 20px;
      background-color: #64cbeb;
      padding: 5px;
      border-radius: 20px;
      z-index: 1100;
    }
  }
  

h1 {
  font-size: 50px;
  color: white;
  line-height: 1.4;
}

h1 span {
  color: goldenrod;
}


.director-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  max-width: 900px;
  width: 100%;
}


.item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
  padding: 20px 35px;
  border: 3px solid black;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-size: 30px;
  font-weight: 600;
  color: #ffffff;
  width: 100%;
  box-sizing: border-box;
}

.item:hover {
  background-color: rgba(255, 255, 255, 0.1);
 color: rgb(255, 187, 0);
}

.item::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 10%;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.item:hover::after {
  width: 80%;
 
}


.serial {
  color: #ffffff;
  margin-right: 15px;
  min-width: 30px;
  font-size: 27px;
  text-align: right;
}

.name {
  flex-grow: 1;
}


.year {
  color: #ffffff;
  margin-left: auto;
  font-weight: 400;
  font-size: 27px;
}
/* Responsive adjustments for mobile devices */
@media (max-width: 600px) {
  h1 {
    font-size: 24px;
    padding: 0 10px;
  }

  .item {
    flex-direction: column;   /* Stack content vertically */
    align-items: flex-start;  /* Align text to left within stack */
    padding: 15px 20px;
  }

  .serial {
    margin-right: 0;
    min-width: auto;
    font-size: 18px;
  }

  .name {
    font-size: 18px;
    margin-top: 5px;
  }

  .year {
    margin-left: 0;
    margin-top: 8px;
    font-size: 16px;
    color: #ffffff;
  }

  .item::after {
    left: 0;
    width: 0;
  }

  .item:hover::after {
    width: 100%;
    color: #ffbb00;
  }
}