@import url('https://fonts.googleapis.com/css2?family=Asimovian&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Epunda+Slab:ital,wght@0,300..900;1,300..900&display=swap');
:root{
   --bg-color:#09090a;
  --text-color:#fff;
  --navbar: rgb(12, 12, 14);
  --primary-color: rgb(255, 0, 255);
}

[data-theme="light"] {
 --bg-color:whitesmoke;
  --text-color:#0e0e12;
  --navbar:#eee9e9;
}
#theme-toggle {
  transition: filter 0.3s;
  margin-left: auto;
}

/* Optional: add hover effect */
#theme-toggle:hover {
  filter: brightness(1.2);
}




* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

#loader-wrapper {
  position: fixed;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

#loader {
  width: 60px;
  height: 60px;
  border: 6px solid var(--primary-color);
  border-top: 6px solid transparent;
  border-radius: 50%;
  animation: spin 5s linear infinite;
}


.navbar{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  width: 100%;
  position: sticky;
  top: 0;
  background: var(--navbar);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.navbar-container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  max-width: 1600px;
  border-bottom: 2px solid var(--primary-color);
}
.navbar-menu li a{
 font-family: "Epunda Slab", serif;
 font-weight: 400;
 font-size: 1.2rem;
 color: var(--text-color);
}

.navbar-logo{
  font-family: "Asimovian", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--text-color);
  text-decoration: none;
  cursor: pointer;
}
.logo-dot{
  color: var(--primary-color);
  font-size: 2.5rem;
}
.navbar-container .navbar-menu{
  display: flex;
  text-align: center;
  gap: 1.5rem;
  list-style: none;
}

.navbar-container .navbar-menu li a{
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.3rem;
  font-weight: 500;
  padding: 3px 20px;
  border-radius:  20px;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-container .navbar-menu li a:hover,
.navbar-container .navbar-menu li a.active
{
     border-bottom: 4px solid var(--primary-color);
     border-top: 4px solid var(--primary-color);
}
.navbar-container .navbar-menu li:nth-child(5){
  /* padding: 3px 20px; */
  border-radius:  20px;
  /* border: 2px solid transparent; */
   border-bottom: 4px solid var(--primary-color);
     border-top: 4px solid var(--primary-color);
}

.navbar-toggle{
  display: none;
  background: transparent;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.bar{
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
   /* background: transparent; */
   color: transparent;
  background: 8px var(--text-color);
  border-radius: 3px;
  transition: all 0.3s ease-in-out;
}
@media (max-width:880px){
  .navbar{
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.navbar-container .navbar-menu {
  display: none;
  flex-direction: column;
  gap: 1.7rem !important;
  align-items: center;
  position: absolute;
  height: 100vh;
  width: 250px;
   background-color: var(--navbar);
  top: 5.5rem;
  right: 0;
  padding: 5rem 1.5rem;
  /* box-shadow: 0 10px 10px rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px); */
}
.navbar-container .navbar-menu.active{
  display: flex;
}
.navbar-toggle{
  display: block;
  z-index: 999;
}
.navbar-toggle.active .bar:nth-child(2){
  opacity: 0;
}
.navbar-toggle.active .bar:nth-child(1){
transform: translateY(8px) rotate(45deg);
}
.navbar-toggle.active .bar:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

}

@media (max-width:480px){
  .navbar-container{
    padding: 0 1rem;
  }
  .navbar-logo{
    font-size: 1.5rem;
  }
    .navbar-container .navbar-menu{
      font-size: 1.2rem;
      padding: 3px 15px;
    }
  }


       a {
      color: var(--primary-color);
      text-decoration: none;
    }
    img {
      max-width: 100%;
      display: block;
    }

    /* ====== CONTAINER ====== */
    .work-section {
      width: 100%;
      /* padding: 3rem 1rem;
       */
       padding: 1rem;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    /* ====== CATEGORY TABS ====== */
    .tabs {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 2rem;
    }
    .tab {
      background: transparent;
      border: 2px solid var(--primary-color);
      padding: 0.6rem 1rem;
      border-radius: 50px;
      color: var(--text-color);
      cursor: pointer;
      transition: 0.3s ease;
    }
    .tab.active,
    .tab:hover {
      color: white;
      background: var(--primary-color);
      /* color: #000; */
    }

    /* ====== SLIDER ====== */
    .slider {
      max-width: 1000px;
      width: 100%;
      overflow: hidden;
      position: relative;
    }
    .slides {
      display: flex;
      transition: transform 0.5s ease-in-out;
    }
    .slide {
      min-width: 100%;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 2rem;
    }
    .slide-content {
      flex: 1 1 400px;
      padding: 1rem;
    }
    .slide-content h3 {
      color: var(--primary-color);
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
    .slide-content h2 {
      font-size: 1.5rem;
      margin-bottom: 1rem;

    }
    .slide-content p {
      font-size: 1rem;
      margin-bottom: 1rem;
      color:var(--text-color);
    }
    .slide-content .tech {
      color: var(--primary-color);
      font-weight: bold;
      margin-bottom: 1rem;
    }
    /* ====== LINK BUTTONS ====== */
    .links {
      display: flex;
      gap: 1rem;
      margin-top: 1rem;
    }
    .links a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #111;
      padding: 0.6rem;
      border-radius: 50%;
      transition: 0.3s ease;
    }
    .links a svg {
      width: 24px;
      height: 24px;
      fill: #fff;
      transition: 0.3s ease;
    }
    .links a:hover {
      background: var(--primary-color);
    }
    .links a:hover svg {
      fill: #000;
    }

    .slide-image {
      flex: 1 1 400px;
      /* padding: 1rem; */
      text-align: center;
    }
    .slide-image img {
      width: 50vw;
      border-radius: 12px;
      background: #fff;
      padding: 1rem;
    }

    /* ====== NAV BUTTONS ====== */
    .slider-nav {
      text-align: center;
      margin-top: 1.5rem;
    }
    .nav-btn {
      background: var(--primary-color);
      border: none;
      padding: 0.8rem 1rem;
      margin: 0 0.5rem;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.3s ease;
      font-size: 1.2rem;
      color: white;
    }
    .nav-btn:hover {
      background: #fff;
      color: var(--primary-color);
    }
    .footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--navbar);
  color: var(--text-color);
  padding: 20px 0;
  text-align: center;
   font-size: larger;
 font-family: "Epunda Slab", serif;
  margin-top: 3rem;
  border-top: 2px solid var(--primary-color);
}
.footer a {
  color: var(--text-color);
  text-decoration: underline;
}

    /* ====== RESPONSIVE ====== */
    /* @media (max-width: 768px) {
      .slide {
        flex-direction: column;
        text-align: center;
      }
      .slide-content h2 {
        font-size: 2rem;
      }
      .links {
        justify-content: center;
      }
    } */

         .navbar-logo:hover{
      transform: rotate(-8deg);
      transition: transform 0.5s ease;
     }

    