/* #region Global Stylings */
  body {
    overflow-x: hidden;
    width: 100vw;
  }

  section {
    overflow-x: hidden;
    width: 100vw;
  }

  a {
      color: inherit;
      text-decoration: none;
    }

  .active-link {
    opacity: 1 !important;
    border-radius: 15px;
  }

  @media (max-width: 768px) {
    body {
      padding-top: 0;
    }

    header {
      transform: translateY(0);
    }

    section:nth-of-type(1) {
      transform: translateY(0);
    }
  }
  
  @media (min-width: 768px) {
    body {
      padding-top: 120px;
    }


    section:nth-of-type(1) {
      transform: translateY(-120px);
    }
  }

  .scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    visibility: visible;
}

.scroll-indicator p {
    font-size: 14px;
    color: #3a3a3a;
    animation: pulse 1.5s infinite;
    margin: 0;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #3a3a3a;
    border-bottom: 2px solid #3a3a3a;
    transform: rotate(45deg);
    margin-top: 5px;
    animation: bounce 1.5s infinite;
}

/* Keyframe Animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(10px) rotate(45deg); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Hide indicator when needed */
.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* #endregion */

/* #region Header */

  .header-parent {
    position: fixed;
    height: fit-content;
    width: calc(100vw - 10vw);
    margin: 0 5vw;
    top: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px) contrast(0.2) brightness(1.1);
    border-radius: 0px 0px 25px 25px;
    transition: top 0.5s ease;
    z-index: 1000;
  }

  .nav-trigger {
    display: none;
  }

  .nav-panel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 95%;
    width: calc(100% - 1rem);
    margin: 0 1rem;
    backdrop-filter: blur(20px) contrast(0.2) brightness(1.1);
  }


  .nav-panel .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 180px;
    height: 120px;
    padding: 20px 0;
    overflow: hidden;
  }

  .nav-panel .logo-container img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    aspect-ratio: 1/1;
  }

  .nav-panel nav ul {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 0;
  }

  .nav-panel nav ul a li {
    list-style: none;
    text-align: center;
    width: calc(5rem + 1.5rem);
    padding: 0.4rem 1.5rem;
    border-radius: 25px;
    background: var(--def-bg-clr);
    box-shadow: inset 0px 0px 10px var(--def-shadow-clr);
  }

  @keyframes bounceIn {
    0% {
      transform: translateY(-50%);
    }
    60% {
      transform: translateY(10%);
    }
    80% {
      transform: translateY(-5%);
    }
    100% {
      transform: translateY(0);
    }
  }

  @media (max-width: 768px) {

    .header-parent {
      top: -84vh;
      height: 90vh;
      width: 100vw;
      margin: 0;
      flex-direction: column-reverse;
      justify-content: space-between;
    }

    .nav-active {
      top: 0;
    }

    .invert-item {
      transform: scaleY(-1);
    }

    .nav-hidden {
      transform: translateY(-100%);
    }

    .nav-trigger {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 5%;
      width: calc(100% - 1rem);
      cursor: pointer;
      margin: 0 1rem;
    }

    .nav-panel {
      flex-direction: column;
      justify-content: space-evenly;
      align-items: center;
    }

    
    .nav-trigger svg {
      display: block;
      height: 4rem;
      width: 4rem;
      transform: scaleY(-1);
      transition: transform 0.3s ease;
    }
  
    .nav-panel nav ul {
      flex-direction: column;
      gap: 3rem;
      width: 100%;
      padding: 0;
    }
  }


/* #endregion */

/* #region Footer */ 


.modern-footer {
  background: var(--def-bg-clr);
  color: var(--def-txt-clr);
  padding: 40px 20px;
  width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-container {
  width: 90%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: start;
  width: 400px;
}

.footer-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.8rem;
  font-weight: normal;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--def-txt-clr);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--def-alt-clr);
}

.footer-bottom {
  margin-top: 20px;
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #aaa;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    gap: 10px;
  }
}

.footer-links a {
  opacity: 0.5;
}

@media (max-width: 768px) {

  .modern-footer {
    padding: 5px;
    width: 100vw;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-container {
    height: 80%;
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content:center;
    gap: 0;
    align-items: center;
  }
  
  .footer-logo {
    flex: 1 1 50%;
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-links {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: start;
    width: 100%;
  }
}

.revamps {
  display: flex;
}

.bgimg {
  position: absolute;
  height: 100%;
  width: 100%;
  pointer-events: none;
  z-index: -1;
}
/* #endregion */