/* nav-bar .navBar-wrapper {
    background-color: black !important;
    color: white !important;
} */

body {
  background-color: #e4f0ff !important;
  overflow-x: hidden;
}

.about-wrapper {
  overflow: hidden;
  position: relative;
  height: 80vh;
  background: linear-gradient(to bottom, #5dc1e6, #e4f0ff);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px;
  box-sizing: border-box;
}

.about-wrapper::after {
  bottom: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 100%;
  height: 30%;
  background: linear-gradient(to top, #e4f0ff, transparent);
}

.about-content {
  display: flex;
  flex-direction: column;
  width: 90svw;
  max-width: 1300px;
  text-align: center;
  gap: 20px;
}

.about-content img {
  transform: translateY(15%);
  position: absolute;
  bottom: 0;
  right: 0;
  width: 650px;
}

.about-content h1 {
  position: relative;
  align-self: flex-end;
  text-align: right;
  font-size: calc(var(--fontsize-header) + 20px);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #004aad;
  font-style: italic;
}

.about-content h1 span {
  font-weight: 700;
}

.about-content h1 svg {
  position: absolute;
  right: 0;
  bottom: -5px;
  width: 45%;
}

.about-content h1 svg path {
  stroke-dasharray: 800px;
  stroke-dashoffset: 0px;
  animation: themeLine-scroll var(--animation-default) infinite;
  animation-duration: 5s;
}

@keyframes themeLine-scroll {
  0% {
    stroke-dashoffset: 0px;
  }

  20% {
    stroke-dashoffset: 800px;
  }
}

.about-content p {
  font-weight: 600;
  text-align: left;
  width: 600px;
  font-size: var(--fontsize-18);
  letter-spacing: 0.5px;
  line-height: 1.4;
  color: #004aad;
}

.carousel-wrapper {
  padding: 300px 0 80px;
  margin: -200px auto 0;
  width: 100vw;
  transform: rotate(-9deg) scale(1.2);
  /* width: 100svh; */
  overflow-x: hidden;
  overflow-y: visible;
  clip-path: inset(0px);
}

.carousel-element {
  transform: rotate(20deg);
  position: absolute;
  top: 20px;
  left: 15%;
  width: 350px;
  object-fit: cover;
}

.carousel-content {
  height: fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 20px;
  margin-top: 40px;
  animation: infinite-scroll 30s linear infinite;
}

.carousel {
  display: flex;
  gap: 20px;
}

.carousel li {
  position: relative;
  cursor: pointer;
  aspect-ratio: 16/9;
  width: 40svw;
  background-color: white;
  border-radius: 30px;
  overflow: hidden;
  transition: var(--apple-animation);
}

.carousel li::after {
  transform: translateY(100%);
  opacity: 0;
  z-index: 10;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(180deg, rgba(11, 9, 7, 0) 0%, #004aad 100%);
  transition: var(--apple-animation);
}

.carousel li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel li h1 {
  transform: translateY(100%);
  opacity: 0;
  position: absolute;
  bottom: 20px;
  left: 50px;
  color: white;
  z-index: 15;
  font-size: calc(var(--fontsize-header) - 10px);
  letter-spacing: 1px;
  text-transform: capitalize;
  transition: var(--animation-default-fast);
}

@keyframes infinite-scroll {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(calc(-50% - 10px));
  }
}

.carousel-content:hover {
  animation-play-state: paused !important;
}

.carousel li:hover {
  transform: scale(1.03);
  transition: var(--apple-animation);
}

.carousel li:hover::after,
.carousel li:hover h1 {
  transform: translateY(0%);
  opacity: 1;
  transition: var(--animation-default-fast);
}

.partner-wrapper {
  position: relative;
  width: 100svw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
  box-sizing: border-box;
  gap: 40px;
}

.partner-element {
  transform: translateX(25%) rotate(90deg);
  position: absolute;
  top: 0;
  right: 0;
  width: 450px;
  object-fit: cover;
}

.partner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  width: 70%;
}

.partner div {
  position: relative;
}

.partner div img {
  padding-right: 10px;
  transform: translateX(-100%) translateY(-25%) rotate(7deg);
  position: absolute;
  top: 0;
  left: 0;
  width: 200px;
}

.partner h1 {
  font-size: calc(var(--fontsize-header) + 25px);
  font-weight: 700;
  color: #004aad;
  line-height: 1;
  text-transform: uppercase;
}

.partner p {
  font-size: var(--fontsize-subheader);
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 1.2;
  color: #004aad;
}

.partner-carousel {
  width: 100svw;
  padding: 50px 0;
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.partner-list {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.partner-list li {
  height: 150px;
}

.partner-list li img {
  height: 100%;
  object-fit: contain;
}

.committee-wrapper {
  padding: 30px 0;
  width: 100svw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.committee {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.committee ul {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 20px;
  row-gap: 30px;
}

.committee ul li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  aspect-ratio: 3/4;
  width: 100%;
}

.committee ul li::after {
  z-index: -1;
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background: linear-gradient(-125deg, #004aad, #e4f0ff);
}

.committee ul li img {
  transform: translateX(-20%);
  position: absolute;
  bottom: 0;
  left: 0;
  height: 125%;
  object-fit: cover;
  filter: drop-shadow(4px 0px 0px #e4f0ff) drop-shadow(-4px 0px 0px #e4f0ff) drop-shadow(0px 4px 0px #e4f0ff) drop-shadow(0px -4px 0px #e4f0ff);
}

.committee ul li div {
  transform-origin: center right;
  transform: rotate(-90deg) translateY(-50%);
  position: absolute;
  top: 0;
  right: 0;
  padding-bottom: 5px;
}

.committee ul li div h1,
.committee ul li div p {
  margin: 0;
  text-align: right;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1;
}

.committee ul li div h1 {
  font-size: calc(var(--fontsize-header) - 4px);
  font-weight: 700;
}

.committee ul li div p {
  font-size: var(--fontsize-16);
  font-weight: 500;
}


.timeline-section {
  width: 100svw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
}

.timeline-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-header {
  width: 80%;
  margin: 0 auto;
}

.timeline-title {
  font-size: calc(var(--fontsize-header) + 8px);
  font-weight: 700;
  color: #004aad;
  /* Main title white */
  text-align: left;
}

.timeline-title span {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  /* Muted white for span */
}

/* The Main Interactive Timeline Card */
.timeline-card {
  display: flex;
  flex-direction: row;
  background: transparent;
  /* White card background removed */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0px;
  padding: 0px;
  /* Padding removed since card background is gone */
  box-shadow: none;
  /* Shadow removed */
  border: none;
  /* Border removed */
  gap: 50px;
  box-sizing: border-box;
  width: 100%;
}

/* Left Side Image */
.timeline-image-wrapper {
  width: 45%;
  aspect-ratio: 4/3;
  border-radius: 0 24px 24px 0;
  overflow: hidden;
}

.timeline-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--animation-default);
}

/* Right Side Content & Interactive Wave */
.timeline-details-wrapper {
  box-sizing: border-box;
  padding-right: 5%;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  gap: 10px;
}

/* Interactive Sine Wave replacing simple text header */
.timeline-graphic-container {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 25%, black 75%, transparent 100%);
}

.timeline-svg {
  width: 2000px;
  height: 200px;
  display: block;
  transition: transform var(--animation-default);
  will-change: transform;
}

/* Wave SVG Node styling */
.timeline-node {
  outline: none;
}

.timeline-node circle {
  r: 8px;
  fill: #e4f0ff;
  stroke: #004aad;
  stroke-width: 2px;
  transition: all var(--apple-animation);
}

.timeline-node text {
  font-family: var(--Poppins);
  font-size: 16px;
  fill: #004aad;
  /* Year text white */
  font-weight: 600;
  opacity: 0.6;
  transition: all var(--apple-animation);
}

/* Active highlight states */
.timeline-node.active circle {
  r: 10px;
  fill: #004aad;
  opacity: 1;
}

.timeline-node.active text {
  font-size: 24px;
  opacity: 1;
}

/* Detail Elements below Wave */
.timeline-info-block {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-grow: 1;
}

.timeline-info-block h3 {
  font-size: calc(var(--fontsize-header) - 4px);
  font-weight: 700;
  color: #004aad;
  /* Event title changed to white */
  line-height: 1.2;
}

.timeline-info-block p {
  font-size: var(--fontsize-18);
  color: #004aad;
  opacity: 0.85;
  line-height: 1.3;
  margin-bottom: 20px;
}

.timeline-controls {
  display: flex;
  gap: 15px;
  align-self: flex-end;
  margin-top: 20px;
}

/* Content fade-in transition */
.timeline-info-block.fade-in {
  animation: detailsReveal var(--apple-animation) forwards;
}

@keyframes detailsReveal {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Layouts */
@media (max-width: 992px) {
  .timeline-card {
    flex-direction: column;
    gap: 30px;
    padding: 30px;
  }

  .timeline-image-wrapper,
  .timeline-details-wrapper {
    width: 100%;
  }
}