/* nav */

.navbar {
  display: flex;
  align-items: center;
  justify-content: center; /* pushes first logo left, second logo right */
  background: linear-gradient(135deg, #f9d65c, #f6b93b);
  padding: 10px 20px;
  font-family: 'Segoe UI', sans-serif;
  height: 70px;
  gap: 40px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0 70px; /* centers the nav links between logos */
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  /* color: #FFD700; */
  color: blue;

}

.logo img {
  height: 100%;
  width: 100%;
  margin-top: 8px;
}


/* ==========================
   Tablets (max-width: 1024px)
   ========================== */
@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px;
    height: auto;
    z-index: 1000;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin: 0;
    text-align: center;
    z-index: 100;
    /* margin-bottom: 10px; */
  }

  .nav-links li a {
    font-size: 0.95rem; /* slightly smaller font */
  }

  .logo img {
    height: 50px;
  }
}

/* ==========================
   Phones (max-width: 768px)
   ========================== */
@media (max-width: 768px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    height: auto;
  }

  /* Hamburger button */
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
  }

  .hamburger div {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  }

  .nav-links {
    position: absolute;
    top: 365px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f9d65c, #f6b93b);
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
    display: none; /* hide by default */
    text-align: left;
    padding-left: 10px;
    /* z-index: 100; */
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li a {
    font-size: 0.9rem;
  }

  .logo img {
    height: 45px;
  }
}

/* ==========================
   Small Phones (max-width: 480px)
   ========================== */
@media (max-width: 480px) {
  .nav-links li a {
    font-size: 0.85rem;
  }

  .logo img {
    height: 40px;
  }

  .hamburger {
    width: 25px;
    height: 20px;
  }

  .hamburger div {
    height: 2.5px;
  }
}


/*endregion  */
.index--section {
  width: 100%;
  position: relative;
  z-index: 1;
}

/* .welcome-section{
  margin-top: 10px;
} */
/* Make Swiper full width and center aligned */ 
.mySwiper {
  margin-top: 70px;
  width: 100%;
  /* height: 350px; */
  height: calc(45vh - 70px);
  overflow: hidden;
  border-radius: 0 !important;
}

/* Style each slide */
.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa; /* Light gray or any color you prefer */
}

/* Image inside slides */
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  /* object-fit: contain; */
  border-radius: 0 !important;
}

/* Pagination bullets */
.swiper-pagination-bullet {
  background: #999;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #007bff;
}

/* Navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  /* color: #007bff; */
  color: white;
  font-weight: bold;
  transition: transform 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  transform: scale(1.2);
}











#faculty-and-staff img {
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  /* user-drag: none; */
  pointer-events: auto; /* still clickable if wrapped in links */
}

#faculty-and-staff {
    display: flex;
    flex-direction: column;
    align-items: center;
}



#faculty-and-staff-data-dean {
    width: 100%;                 /* take full width */
    max-width: 300px;            /* limit max width for large screens */
    /* height: auto; */
    margin: 0 auto;              /* center horizontally */
    /* display: block;              remove grid */
    padding: 20px 10px;
}


/* Each card item */
#faculty-and-staff-data-dean > div {
    flex: 1;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.212);
    overflow: hidden;
    border-radius: 10px;
}



/* Same overlay shadow effect */
#faculty-and-staff-data-dean > div::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto; 
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
  transition: 500ms ease;
}

#faculty-and-staff-data-dean > div::after {
    content: "";
    width: 100%;
    position: absolute;
    z-index: 1;
    transform: translateY(-20%);
    transition: 500ms ease;
    box-shadow: 0px 350px 200px 500px #000000eb;
}

#faculty-and-staff-data-dean.chrome > div::after {
    box-shadow: 0px 750px 200px 500px #000000eb;
}

#faculty-and-staff-data-dean.default > div::after {
    box-shadow: 0px 750px 200px 500px #000000eb;
}

#faculty-and-staff-data-dean.chrome > div:hover::after {
    box-shadow: 0px 700px 200px 500px #000000eb;
}

#faculty-and-staff-data-dean.default > div:hover::after {
    box-shadow: 0px 700px 200px 500px #000000eb;
}

#faculty-and-staff-data-dean.firefox > div::after {
    box-shadow: 0px 500px 200px 500px #000000eb;
}

#faculty-and-staff-data-dean.firefox > div:hover::after {
    box-shadow: 0px 250px 200px 500px #000000eb;
}

/* Each card item image */
#faculty-and-staff-data-dean>div>img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 500ms ease;
}

#faculty-and-staff-data-dean>div:hover>img {
    scale: 105%;
}

/* Each card item person details */
#faculty-and-staff-data-dean>div>div {
    position: absolute;
    z-index: 2;
    padding: 0px 15px;
    box-shadow: 1;
    transition: 500ms ease;
    transform: translateY(-100px);

}

/* Each card item person details (all) */
#faculty-and-staff-data-dean>div>div * {
    color: var(--white-color);
}


#faculty-and-staff-data-dean>div>div>p {
    font-size: 15px;
    pointer-events: none;

}








/* #faculty-and-staff img {
  -webkit-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  -user-drag: none;
  pointer-events: auto; 
}

#faculty-and-staff {
    display: flex;
    flex-direction: column;
    align-items: center;
} */


/* Program Director */

#faculty-and-staff-data {
    width: 100%;                 /* take full width */
    max-width: 1000px;           /* limit max width for large screens */
    margin: 0 auto;              /* center horizontally */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    padding: 20px 10px;
}


/* Each card item */
#faculty-and-staff-data > div {
    flex: 1;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.212);
    overflow: hidden;
    border-radius: 10px;
}



/* Same overlay shadow effect */
#faculty-and-staff-data > div::after {
    content: "";
    width: 100%;
    position: absolute;
    z-index: 1;
    transform: translateY(-20%);
    transition: 500ms ease;
    box-shadow: 0px 350px 200px 500px #000000eb;
}
#faculty-and-staff-data > div::after {
    content: "";
    width: 100%;
    position: absolute;
    z-index: 1;
    transform: translateY(-20%);
    transition: 500ms ease;
    box-shadow: 0px 350px 200px 500px #000000eb;
}

#faculty-and-staff-data.chrome > div::after {
    box-shadow: 0px 750px 200px 500px #000000eb;
}

#faculty-and-staff-data.default > div::after {
    box-shadow: 0px 750px 200px 500px #000000eb;
}

#faculty-and-staff-data.chrome > div:hover::after {
    box-shadow: 0px 700px 200px 500px #000000eb;
}

#faculty-and-staff-data.default > div:hover::after {
    box-shadow: 0px 700px 200px 500px #000000eb;
}

#faculty-and-staff-data.firefox > div::after {
    box-shadow: 0px 500px 200px 500px #000000eb;
}

#faculty-and-staff-data.firefox > div:hover::after {
    box-shadow: 0px 250px 200px 500px #000000eb;
}

/* Each card item image */
#faculty-and-staff-data>div>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 500ms ease;
}

#faculty-and-staff-data>div:hover>img {
    scale: 105%;
}

/* Each card item person details */
#faculty-and-staff-data>div>div {
    position: absolute;
    z-index: 2;
    padding: 0px 15px;
    box-shadow: 1;
    transition: 500ms ease;
    transform: translateY(-100px);

}

/* Each card item person details (all) */
#faculty-and-staff-data>div>div * {
    color: var(--white-color);
}


#faculty-and-staff-data>div>div>p {
    font-size: 15px;
    pointer-events: none;

}








/* instructor */

#faculty-and-staff-data-instructor {
    width: 100%;                 /* take full width */
    max-width: 1300px;           /* limit max width for large screens */
    margin: 0 auto;              /* center horizontally */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 20px;
    padding: 20px 10px;
}


/* Each card item */
#faculty-and-staff-data-instructor > div {
    flex: 1;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.212);
    overflow: hidden;
    border-radius: 10px;
}



/* Same overlay shadow effect */
#faculty-and-staff-data-instructor > div::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto; /* adjust overlay size */
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  z-index: 1;
  transition: 500ms ease;
}

#faculty-and-staff-data-instructor > div::after {
    content: "";
    width: 100%;
    position: absolute;
    z-index: 1;
    transform: translateY(-20%);
    transition: 500ms ease;
    box-shadow: 0px 350px 200px 500px #000000eb;
}

#faculty-and-staff-data-instructor.chrome > div::after {
    box-shadow: 0px 750px 200px 500px #000000eb;
}

#faculty-and-staff-data-instructor.default > div::after {
    box-shadow: 0px 750px 200px 500px #000000eb;
}

#faculty-and-staff-data-instructor.chrome > div:hover::after {
    box-shadow: 0px 700px 200px 500px #000000eb;
}

#faculty-and-staff-data-instructor.default > div:hover::after {
    box-shadow: 0px 700px 200px 500px #000000eb;
}

#faculty-and-staff-data-instructor.firefox > div::after {
    box-shadow: 0px 500px 200px 500px #000000eb;
}

#faculty-and-staff-data-instructor.firefox > div:hover::after {
    box-shadow: 0px 250px 200px 500px #000000eb;
}

/* Each card item image */
#faculty-and-staff-data-instructor>div>img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: 500ms ease;
}

#faculty-and-staff-data-instructor>div:hover>img {
    scale: 105%;
}

/* Each card item person details */
#faculty-and-staff-data-instructor>div>div {
    position: absolute;
    z-index: 2;
    padding: 0px 15px;
    box-shadow: 1;
    transition: 500ms ease;
    transform: translateY(-100px);

}

/* Each card item person details (all) */
#faculty-and-staff-data-instructor>div>div * {
    color: var(--white-color);
}


#faculty-and-staff-data-instructor>div>div>p {
    font-size: 15px;
    pointer-events: none;

}






@media screen and (orientation: portrait) {
    #faculty-and-staff-data {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
    }

    #faculty-and-staff-data>div>div {
        transform: translateY(-100%) !important;
    }

    #faculty-and-staff-data>div>img {
        scale: 105%;
    }

    #faculty-and-staff-data>div>div>p:first-child {
        font-size: 1rem;
    }

    #faculty-and-staff-data>div>div>p:last-child {
        font-size: 0.9rem;
    }

    #faculty-and-staff-data.chrome > div::after {
        box-shadow: 0px 700px 200px 500px #000000eb;
    }

    #faculty-and-staff-data.default > div::after {
        box-shadow: 0px 700px 200px 500px #000000eb;
    }

    #faculty-and-staff-data.firefox > div::after {
        box-shadow: 0px 250px 200px 500px #000000eb;
    }

}

@media screen and (orientation: portrait) and (min-width: 700px) {
    #faculty-and-staff-data {
        grid-template-columns: repeat(2, 1fr);
    }
}









/* ==========================
   Small Desktops / Laptops (1025px–1399px)
   ========================== */
@media (min-width: 1025px) and (max-width: 1399px) {
  #faculty-and-staff-data,
  #faculty-and-staff-data-instructor{
    max-width: 1100px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ==========================
   Tablets (769px–1024px)
   ========================== */
@media (max-width: 1024px) {
  #faculty-and-staff-data,
  #faculty-and-staff-data-instructor,
  #faculty-and-staff-data-dean {
    width: 95%;
    grid-template-columns: repeat(2, 1fr); /* 2 cards per row */
  }

  .navbar {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin: 0;
  }
}

/* ==========================
   Phones (481px–768px)
   ========================== */
@media (max-width: 768px) {
  #faculty-and-staff-data,
  #faculty-and-staff-data-instructor,
  #faculty-and-staff-data-dean {
    grid-template-columns: repeat(1, 1fr); /* 1 card per row */
    width: 90%;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
  }
}

/* ==========================
   Small Phones (≤480px)
   ========================== */
@media (max-width: 480px) {
  #faculty-and-staff-data,
  #faculty-and-staff-data-instructor {
    grid-template-columns: 1fr; /* stack all */
    width: 80%;
    height: 80%;
  }

  #faculty-and-staff-data-dean{
    grid-template-columns: 1fr; /* stack all */
    width: 100%;
    height: 80%;
  }

  .logo img {
    height: 40px;
  }
}
