@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;1,300;1,400&family=Nunito:wght@300;400;600;700;800;900&family=Russo+One&family=Spartan:wght@700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Quicksand:wght@400;500;600;700&family=Baloo+2:wght@400;500;600;700&family=Kalam:wght@300;400;700&family=Pacifico&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@800&family=Orbitron:wght@500&display=swap');

*{
  box-sizing: border-box;
}




/* For WebKit Browsers */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #0e0b1d; /* Dark background for track */
}

::-webkit-scrollbar-thumb {
  background: #a855f7; /* Purple color */
  border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9333ea; /* Slightly darker on hover */
}

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #a855f7 #0e0b1d;
}










@font-face {
  font-family: 'Amsterdam';
  src: url('./assets/fonts/Amsterdam.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Arenq';
  src: url('./assets/fonts/arenq.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Beckman';
  src: url('./assets/fonts/Beckman.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'GeneralSans';
  src: url('./assets/fonts/GeneralSans.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'momentum';
  src: url('./assets/fonts/momentum.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Cinderela';
  src: url('./assets/fonts/Cinderela.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Contender';
  src: url('./assets/fonts/Contender.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Satoshi';
  src: url('./assets/fonts/Satoshi.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Darlington';
  src: url('./assets/fonts/Darlington.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Halimun';
  src: url('./assets/fonts/Halimun.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Migae';
  src: url('./assets/fonts/Migae.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Mova';
  src: url('./assets/fonts/mova.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Overcame';
  src: url('./assets/fonts/overcame-bold.woff') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Overcame Outline';
  src: url('./assets/fonts/overcame-outline.woff') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Luckyfield';
  src: url('./assets/fonts/Luckyfield.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html{
  scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    border: 0;
    position: relative;
    overflow: auto;
    background-color: black;
  }





.toast {
  position: fixed;
  top: 100px;
  right: 30px;
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(170, 0, 255, 0.5);
  color: #e0fdfb;
  font-family: 'Space Grotesk', sans-serif;
  padding: 18px 26px;
  border-radius: 12px;
  font-size: 15px;
  box-shadow: 0 0 12px rgba(238, 0, 255, 0.2);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1000;
}

.toast.show {
  pointer-events: auto;
}

.toast.hidden {
  display: none;
}

@media (max-width: 640px) {
  .toast {
    top: 100px;
    bottom: auto;
    right: 16px;
    left: 16px;
    width: auto;
    max-width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }

  .toast.show {
    transform: translateY(0);
  }

  .toast .subtext {
    font-size: 13px;
  }
}

@media (min-width: 641px) {
  .toast {
    transform: translateY(20px);
  }

  .toast.show {
    transform: translateY(0);
  }
}







  



  canvas{
  position: absolute;
  width: 100%;
  height: 100%;
  background: black;
}


  

  #particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: auto;
  }
  


  .mx-auto.my-10.w-\[90\%\].max-w-5xl.rounded-2xl {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
  }

  @media (max-width: 768px) {
    canvas{
        display: none;
    }
  }



  .smooth-ticker-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .smooth-ticker-container {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
  }
  
  .smooth-ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-left linear infinite;
  }
  
  .smooth-ticker {
    display: flex;
    white-space: nowrap;
  }
  
  .smooth-ticker-item {
    display: inline-block;
    padding: 0 10px;
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s;
  }  
  
  .smooth-ticker-item:hover {
    opacity: 1;
  }
  
  .smooth-ticker-item span {
    margin-right: 10px;
  }
  

  
  @keyframes scroll-left {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  

  




  




  





.button-custom {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.button-custom::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: rgba(172, 61, 216, 0.429);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.button-custom:hover::before {
  opacity: 1;
}

.button-custom:hover {
  color: white;
}

.button-custom span {
  position: relative;
  z-index: 1;
}


.project-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
}


.glow-effect {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project-card {
  position: relative;
  overflow: hidden;
}

















.project-card,
.skill-card {
  transition: border-color 0.3s ease;
}


    /* Skills Card */
    .skill-card {
      width: 100px;
      height: 100px;
      background: rgba(255, 255, 255, 0.07);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      transform-style: preserve-3d;
      perspective: 1000px;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }


    /* Card content */
    .skill-icon {
      width: 40px;
      height: 40px;
      margin-bottom: 10px;
      position: relative;
      z-index: 10;
      transition: transform 0.3s ease;
    }

    .skill-name {
      font-size: 15px;
      font-weight: 500;
      color: white;
      position: relative;
      z-index: 10;
      transition: transform 0.3s ease;
    }

    .skill-card:hover .skill-name {
      transform: translateZ(15px);
    }

.skill-card {
  position: relative;
  overflow: hidden;
}

.skill-glow-effect {
  position: absolute;
  width: 200px;
  height: 200px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  z-index: 0;
}

.skill-glow,
.skill-icon,
.skill-name {
  position: relative;
  z-index: 1;
}





    /* Mobile optimization */
    @media (max-width: 768px) {
      .skills-marquee-wrapper {
        gap: 1rem;
        padding: 1.5rem;
      }
      
      .skill-card {
        width: 100px;
        height: 100px;
      }
      
      .skill-icon {
        width: 30px;
        height: 30px;
        margin-bottom: 8px;
      }
      
      .skill-name {
        font-size: 13px;
      }
    }
    
    @media (max-width: 480px) {
      .skills-marquee-wrapper {
        gap: 0.75rem;
        padding: 1rem;
      }
      
      .skill-card {
        width: 85px;
        height: 85px;
      }
      
      .skill-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 6px;
      }
    }





    .skills-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0;
}

/* Fade gradient masks */
.skills-marquee-wrapper::before,
.skills-marquee-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* Left fade */
.skills-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

/* Right fade */
.skills-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

/* Marquee Track */
.skills-marquee-track {
  display: flex;
  width: max-content;
  animation: scrollSkillsX 25s linear infinite;
}

/* Pause animation on hover */
.skills-marquee-track:hover {
  animation-play-state: paused;
}

/* Marquee Animation */
@keyframes scrollSkillsX {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 8px)); }
}

/* Adjust skill card in marquee */
.skills-marquee-track .skill-card {
  flex: 0 0 auto;
  margin: 0 16px;
}











/* Nav bar  */

.nav-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    color: #dc63f7;
  }

  .nav-link:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 9999px;
    background: rgba(172, 61, 216, 0.2);
  }

  @media (max-width: 768px) {
    .nav-box {
      gap: 4px;
      padding: 0.5rem 1rem;
    }

    .nav-link {
      padding: 0.25rem 0.5rem;
      font-size: 0.875rem;
    }
  }

  @media (max-width: 640px) {
    .nav-box {
      gap: 1px;
      padding: 0.5rem 1rem;
      margin-right: 8px;
    }

    .nav-link {
      padding: 0.25rem 0.25rem;
      font-size: 0.875rem;
    }
  }
 