
/* General Styles */
body, html {
    margin: 0;
      background: #0A1F44 no-repeat center center fixed;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    text-transform: uppercase;
    
    
}


/* === 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: 220px; /* 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: 200px;
      right: 20px;
      background-color: #64cbeb;
      padding: 5px;
      border-radius: 20px;
      z-index: 1100;
    }
  }
  

.container {
  text-align: center;
  color: #fff;
}

.heading {
  font-size: 4rem;
  margin-bottom: 100px;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.item {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;  /* Equal spacing */
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 1000px;
  width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 30px;
  transition: all 0.3s ease;
  position: relative;
}

.left {
  text-align: left;
}

.names {
  max-height: 2rem;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.item.expand .names {
  max-height: 500px;
}

.center {
  text-align: center;
}

.right {
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.company {
  font-size: 1.5rem;
  color: #0A1F44;
}

.date {
  font-size: 1.5rem;
  color: #0A1F44;
}

.toggle {
  display: inline-block;
  font-size: 1.2rem;
  color: #0A1F44;
  cursor: pointer;
  user-select: none;
  transition: transform 0.3s ease;
}

.item.expand .toggle {
  transform: rotate(180deg);
}

.name {
  display: block;
  font-size: 1.5rem;
  color: #0A1F44;
}

.item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  background-color: #fff;
}

.name:hover,
.company:hover,
.date:hover,
.toggle:hover {
  color: #d28511;
}
@media screen and (max-width: 1024px) {
  .item{
    width: 380px;
    font-size: 10px;
  }

}