:root {
  --card-height: 300px;
  --card-width: calc(var(--card-height) / 1.5);
}


body .staff {
  margin: 200px;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #191c29;
}


.site-navbar {
  width: 100%;
 
  z-index: 1000;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container1 {
  display: flex;
  gap: 60px; /* Space between the cards */
  justify-content: center;
  flex-wrap: wrap;
}

#iccc {
  margin-left: 150px;
}

.page-title {
  font-size: 2.5em;
  font-weight: 700;
  text-align: center;
  margin: 40px 0;
  color: white;
}

.card {
  width: var(--card-width);
  height: var(--card-height);
  position: relative;
  padding: 0 36px;
  perspective: 2500px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #191c29;
}

.cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wrapper {
  transition: all 0.5s;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.card:hover .wrapper {
  transform: perspective(900px) translateY(-5%) rotateX(25deg) translateZ(0);
  box-shadow: 2px 35px 32px -8px #55A630;
}

.wrapper::before,
.wrapper::after {
  content: "";
  opacity: 0;
  width: 100%;
  height: 80px;
  transition: all 0.5s;
  position: absolute;
  left: 0;
}

.wrapper::before {
  top: 0;
  height: 100%;
  background-image: linear-gradient(
    to top,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    #D4D700 97%
  );
}

.wrapper::after {
  bottom: 0;
  opacity: 1;
  background-image: linear-gradient(
    to bottom,
    transparent 46%,
    rgba(12, 13, 19, 0.5) 68%,
    rgba(12, 13, 19) 97%
  );
}

.card:hover .wrapper::before,
.wrapper::after {
  opacity: 1;
}

.card:hover .wrapper::after {
  height: 120px;
}

.title {
  width: 100%;
  transition: transform 0.5s;
}

.card:hover .title {
  transform: translate3d(0%, -50px, 100px);
}

.character {
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
  position: absolute;
  z-index: -1;
}

.card:hover .character {
  opacity: 1;
  transform: translate3d(0%, -30%, 100px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .container1 {
    
    gap: 100px;
    flex-direction: column;
    /* align-items: center; */
  }
  .card {
    margin-bottom: 20px;
  }

  #iccc {
    margin-left: 0;
  }
}
/* Add spacing between the logo and the menu icon on mobile */
.site-logo {
  margin-right: 20px; /* Adjust this value to your desired spacing */
}

/* For smaller screens */
@media (max-width: 992px) {
  .site-logo {
      margin-right: 10px; /* You can adjust this for mobile specifically */
  }

  /* Optionally, you might want to adjust the icon position */
  .js-menu-toggle {
      margin-left: 150px; /* Adjust the left margin of the icon if needed */
  }
}
.header-line {
  width: 50px; /* Adjust the width to your preference */
  height: 2px; /* Thickness of the line */
  background-color: white; /* Color of the line */
  margin: 0 auto 40px auto; /* Centers the line and adds margin below */
}
.main-content .container1 .card {
  position: relative;
  display: inline-block;
  width: 250px;
  margin: 10px;
  cursor: pointer;
}

.popup-container   {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px); /* Background blur effect */
}

.no-scroll {
  overflow: hidden;
}

.popup-content {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  width: 300px;
  position: relative;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  animation: popupFadeIn 0.3s ease-in-out;
}

@keyframes popupFadeIn {
  from {
      opacity: 0;
      transform: scale(0.9);
  }
  to {
      opacity: 1;
      transform: scale(1);
  }
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 18px;
  cursor: pointer;
}

.popup-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 10px;
}

h2, p {
  margin: 10px 0;
}
#popupName{
  color: black;
}
#popupCertifications{
  font-weight: bold;
}
#popupAchievements{
  font-weight: bold;
}
.pop-header{
  color: #000;
}