/*Fixed Alumni CSS*/
body {
  font-family: 'Segoe UI', sans-serif;
 
  margin: 0;

}


.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.interns-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: nowrap;
}

.intern-card {
  background-color: white;
  border-radius: 16px;
  width: 200px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.intern-card:hover {
  transform: translateY(-6px);
}

.intern-image {
  width: 200px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.intern-name {
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

.intern-role {
  font-size: 0.9rem;
  color: #777;
}

@media (max-width: 900px) {
  .interns-section {
    flex-wrap: wrap;
  }
}


/*Sliding Carousel Alumni*/

.carousel-header {
  text-align: center;
  color: black;
  padding-bottom: 20px;
}

.carousel-container {
  height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.intern-carousel {
  background-color: white;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

/* Carousel track styling */
main.carousel-track {
  width: 100%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 600px;
  --items: 5;
  --middle: 3;
  --position: 3;
  pointer-events: none;
  position: relative;
}

/* Intern card */
.intern-item {
  text-align: center;
  padding: 20px;
  border: 3px solid black;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  width: 300px;
  height: 425px;
  --r: calc(var(--position) - var(--offset));
  --abs: max(calc(var(--r) * -1), var(--r));
  transition: all 0.25s linear;
  transform: rotateY(calc(-10deg * var(--r))) translateX(calc(-300px * var(--r)));
  z-index: calc((var(--position) - var(--abs)));
}



  


.intern-item img {
  width: 116%;
  height: 55%;
  object-fit: cover;
  object-position: center;
  margin-top: -20px;
  margin-left: -20px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}


.intern-name {
  margin-top: 20px;
  color: #007bff;
  font-weight: bold;
}

.intern-role {
  font-style: italic;
  margin-top: 2px;
}

.intern-quote {
  font-size: 0.85rem;
  margin-top: 10px;
  color: #333;
}

/* Offset index for each card */
.intern-item:nth-of-type(1) { --offset: 1; }
.intern-item:nth-of-type(2) { --offset: 2; }
.intern-item:nth-of-type(3) { --offset: 3; }
.intern-item:nth-of-type(4) { --offset: 4; }
.intern-item:nth-of-type(5) { --offset: 5; }

/* Arrow navigation 
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.nav-arrow {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.nav-arrow:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

.nav-arrow:active {
  transform: scale(0.95);
}

.nav-arrow:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
}

.values-section {
  text-align: center;
  margin-top: 30px;
}

.values-sectionA {
  display: inline-block;
  padding: 12px 24px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.values-sectionA:hover {
  background-color: #0056b3;
}
*/
/* Arrow navigation */
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.nav-arrow {
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Previous button - Left side colors */
#prevBtn {
  background: linear-gradient(73.664deg, rgba(43, 0, 255, 20%) 1%, rgba(133, 0, 213, 16%) 68%, rgba(255, 0, 155, 10%) 100%, rgba(246, 96, 151, 20%) 100%), linear-gradient(56.12deg, rgba(255, 174, 201, 48%) 30%, rgba(255, 0, 155, 40%) 50%, rgba(43, 0, 255, 60%) 68%, rgba(246, 96, 151, 80%) 100%);
  box-shadow: 0 4px 12px rgba(43, 0, 255, 0.3);
}

#prevBtn:hover {
  background: linear-gradient(73.664deg, rgba(43, 0, 255, 25%) 1%, rgba(133, 0, 213, 20%) 68%, rgba(255, 0, 155, 15%) 100%, rgba(246, 96, 151, 25%) 100%), linear-gradient(56.12deg, rgba(255, 174, 201, 55%) 30%, rgba(255, 0, 155, 45%) 50%, rgba(43, 0, 255, 65%) 68%, rgba(246, 96, 151, 85%) 100%);
  transform: scale(1.1);
}

/* Next button - Right side colors */
#nextBtn {
  background: linear-gradient(-138.303deg, rgba(215, 191, 213, 40%) 0%, rgba(247, 45, 1, 36%) 26%, rgba(246, 178, 183, 45%) 79%, rgba(247, 140, 162, 45%) 100%), linear-gradient(78.544deg, rgba(255, 192, 203, 4%) 0%, rgba(243, 199, 202, 54%) 26%, rgba(232, 150, 156, 70%) 50%);
  box-shadow: 0 4px 12px rgba(247, 45, 1, 0.3);
  color: #1F2937; /* Darker text for better contrast */
}

#nextBtn:hover {
  background: linear-gradient(-138.303deg, rgba(215, 191, 213, 45%) 0%, rgba(247, 45, 1, 40%) 26%, rgba(246, 178, 183, 50%) 79%, rgba(247, 140, 162, 50%) 100%), linear-gradient(78.544deg, rgba(255, 192, 203, 8%) 0%, rgba(243, 199, 202, 60%) 26%, rgba(232, 150, 156, 75%) 50%);
  transform: scale(1.1);
}
.nav-arrow:active {
  transform: scale(0.95);
}

.nav-arrow:disabled {
  background: #ccc !important;
  cursor: not-allowed;
  transform: none;
  color: #666 !important;
}

/* Sticky acct navbar styling */
#overview_panel .header .header-text h1, #workshop_panel .header .header-text h1{
  font-size: clamp(42px, 7vw, 96px) !important;
  line-height: 1.1;
  margin: 0;
  font-weight: 300;
}