@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-menu li a{
 font-family: "Epunda Slab", serif;
 font-weight: 400;
 font-size: 1.2rem;
 color: var(--text-color);
}

.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-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;
    }
  }


.about-section {
  margin-top: 4.8rem;
  /* padding: 60px 80px; */
 
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-image img {
  margin-top: -3rem;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  /* margin-bottom: 14rem; */
  z-index: 1;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}
 .about-content{
  margin-top: -2rem;
 }


.about-content h1 {
  font-size: 2.5rem;
  margin-top: 20px;
  color: var(--text-color);
}

.about-content p {
  font-size: 1.1rem;
  /* margin: 20px 0; */
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 800px;
  line-height: 1.6;
  /* max-width: 60vw; */
}

.badges span {
  color: white;
  display: inline-block;
  background: var(--primary-color);
  padding: 10px 15px;
  border-radius: 30px;
  margin: 10px 5px;
  font-weight: bold;
}

blockquote {
  font-style: italic;
  font-weight: 800;
  font-size: large;
  color: #6991e7;
  margin-top: 15px;
}

.resume-button {
  display: inline-block;
  margin-top: 20px;
  /* background: #1de782d9; */
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 25px;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
}
.card span{
  color:  #496ab3;
}

.icon-marquee {
  width: 100%;
  overflow: hidden;
  background: #18253e;
  padding: 20px 0;
  margin-top: 40px;
}

.icons {
  display: inline-block;
  white-space: nowrap;
  animation: scrollIcons 25s linear infinite;
}

.icons img {
  height: 40px;
  filter: brightness(0.9);
  transition: transform 0.3s;
}
.icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* flex-direction: row-reverse; */
  gap: 55px;
  /* width: 60%; */
}

.icons img:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* footer */

.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;
  border-top: 2px solid var(--primary-color);
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}
@keyframes scrollIcons {
  100% { transform: translateX(-50%); }
}



 
      

    .container {
      display: flex;
      flex-direction: row;
      min-height: 100vh;
      overflow: hidden;
    }

    .sidebar {
      width: 250px;
      margin-top: 2.5rem;
      /* margin-left: 3rem; */
      padding: 2rem 1rem;
      /* background-color: var(--card-bg); */
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .sidebar h2 {
      font-size: 2rem;
      margin-bottom: 1rem;
    }

    .tab-btn {
      padding: 1rem;
      background: transparent;
      border: none;
      cursor: pointer;
      font-size: large;
      font-weight: 500;
      color: white;
      background-color: #333;
      border-radius: 5px;
      transition: all 0.3s;
    }

    .tab-btn.active, .tab-btn:hover {
      background: var(--primary-color);
      color: white;
    }

    .content {
        display: flex;
        flex-direction: column;
        width: 50vw;
        height: 60vh;
        /* margin-left: 10rem; */
        margin-top: 3rem;
        /* align-items: center; */
        /* width: calc(100% - 250px); */
      padding: 2rem;
      overflow-y: auto;
      /* height: 100vh; */
    }

    .section-title {
      font-size: 2rem;
      color: var(--primary-color);
      margin-bottom: 1rem;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 2fr));
      gap: 1rem;
      /* width: 20%; */
    }

    .card {
      background: rgb(48, 47, 47);
      padding: 1rem;
      border-radius: 8px;
      color: white;
    }

    .card h3 {
      color: white;
      margin: 0;
    }

    .card span {
      /* color: var(--highlight-color); */
      display: block;
      margin-bottom: 0.5rem;
    }

    .tools-icons, .skills-icons {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1rem;
      margin-top: 1rem;
    }

    .tools-icons i, .skills-icons i {
      font-size: 2rem;
      color:  #6991e7;
    }

    .about-paragraph {
      max-width: 700px;
      line-height: 1.6;
      font-size: 1.2rem;
      color: var(--text-color);
      margin-bottom: 1rem;
    }

    .mode-toggle {
      position: absolute;
      top: 1rem;
      right: 1rem;
      padding: 0.5rem 1rem;
      /* background: var(--); */
      color: #000;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }
    .hire{
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 8rem;
    }
#about{
    display:none;
}
#tools{
    display: none;
}
#skills{
    display: none;
}
#education{
    display: none;
}
@media (max-width: 768px) {
  .hire {
     width: 100vw;
     /* margin-top: -2rem; */
     /* flex-direction: column; */
  }
      .container {
        flex-direction: column;
      }
      .container {
        margin-top: 2rem;
      }

      .sidebar {
        width: 100%;
        /* height: 50%; */
        margin-top: -1.5rem;
        flex-direction: column;
        overflow-x: auto;
      }

      .content {
        width: 80vw;
        height: auto;
        margin-top: -3rem;
      }
      .tab-btn{
        font-weight: 300;
        font-size: medium;
        margin-right: 3rem;
      }
      .tab-content {

        width: 100%;
        height: 100%;
        margin-right: -9rem;
      }
    }


.dynamic-text span {
  display: block;
  animation: slide 18s steps(9) infinite; /* 9 = number of items */
}

@keyframes slide {
  100% { transform: translateY(-900%); } /* 9 items × 100% each */
}
.text-container h1 {
  font-size: 2rem;
}

.text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.dynamic-text {
  display: inline-block;
  position: relative;
  height: 1.4em; /* must match line-height of span */
  overflow: hidden;
  vertical-align: bottom;
}

.dynamic-text span {
  display: block;
  animation: slide 14s infinite; /* will be updated based on count */
}

@keyframes slide {
  0%, 10%   { transform: translateY(0); }
  14%, 24%  { transform: translateY(-100%); }
  28%, 38%  { transform: translateY(-200%); }
  42%, 52%  { transform: translateY(-300%); }
  56%, 66%  { transform: translateY(-400%); }
  70%, 80%  { transform: translateY(-500%); }
  84%, 94%  { transform: translateY(-600%); }
  100%      { transform: translateY(0); }
}

.dynamic-text span { 
  color: var(--primary-color);
}

#experience,
#education{
  width: 40vw;
  /* height: 50%; */
  /* margin: auto; */
}



     .navbar-logo:hover{
      transform: rotate(-8deg);
      transition: transform 0.5s ease;
     }

      #pro,
      #co,
      #sch,
      #coll{
      color: var(--primary-color);
      text-decoration: none;
      font-weight: bold;
      border-bottom: 2px solid var(--primary-color);
     }

     #year-1,
      #year-2,
      #year-3{
        color: var(--primary-color);
      }

      #pak{
        color: green;
        font-weight: bold;
        font-size: 1.2rem;
      }

      #lang{
        color: var(--primary-color);
        font-weight: bold;
      }
      #me{
        font-weight: bold;
         font-size: large;
  color: #6991e7;
      }