/* NAVBAR */
#navbar {
    position: fixed;
    top: 0;
    display: block;
    transition: top 0.3s;
    height: 70px;
    width: 100%;
    z-index: 100;
}

#navbar-mobile {
    display: none;
    position: fixed;
    top: 0;
    transition: top 0.3s;
    height: 70px;
    width: 100%;
    z-index: 100;
}

#navbar section {
    align-items: center;
}

#hero-banner {
    margin-top: 70px;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-menu {
    padding-top: 24px;
    background-color: transparent;
    display: none;
    position: absolute;
    top: 100%;
    left: -16px;
    min-width: 180px;
    z-index: 100;
    border-radius: 16px;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 1em 1.2em;
    background-color: white;
    transition: background 0.15s;
}

.dropdown-menu a:hover {
    background: var(--tertiary-background, #f3f3f3);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

.dropdown-arrow {
    display: flex;
    align-items: center;
    height: 100%;
}

@media screen and (max-width: 768px) {
    #navbar {
        display: none;
    }

    #navbar-mobile {
        display: block;
    }

    #hero-banner {
        margin-top: 70px;
    }
}

/* GALLERY */
.infinite-gallery {
    width: 100%;
    overflow: hidden !important;
    margin-bottom: 32px;
}

.infinite-gallery-track {
    display: flex;
    width: max-content;
    animation: scroll-gallery 30s linear infinite;
    align-items: center;
    gap: 48px;
    overflow-x: hidden !important;
}

.infinite-gallery img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s, opacity 0.3s;
}

@keyframes scroll-gallery {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    .infinite-gallery img {
        height: 30px;
    }

    .infinite-gallery-track {
        gap: 24px;
    }
}

/* FADE IN FROM SIDE */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

.timeline {
  position: relative;
  border-left: 5px solid #E24BF9;
  margin: 0 auto;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 64px;
}

.timeline-marker {
  position: absolute;
  left: -33px;
  top: 0.3rem;
  width: 30px;
  height: 30px;
  background-color: #E24BF9;
  border-radius: 50%;
  box-shadow: inset 0px 2px 4px 0px rgba(247, 247, 247, 0.305);
}

.timeline-content p {
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.timeline-padding {
    padding-left: 64px;
}

@media screen and (max-width: 768px) {
    .timeline {
        margin-left: 32px;
    }

    .timeline-item {
        padding-left: 8px;
    }

    .timeline-marker {
        left: -48px;
    }

    .timeline-padding {
        padding-left: 8px;
    }
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: white; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #8E4FF9 0%, #E24BF9 100%);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #636363; 
}

/* Add to stylesheet.css or inside a <style> tag */
.fade-in-up {
  opacity: 0;
  transform: translateY(-12px);
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#rotating-text {
  display: inline-block;
}