@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
:root {
  --splash-bg: #50505002;
  --splash-primary: #a7a7a7;
}
*{
    margin: 0px;
    padding: 0px;
}
#aiSphere {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  pointer-events: none;
}
body{
    font-family: "Rajdhani", sans-serif;
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow-x: hidden;
    
}
.example::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.example {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

#splash {
  position: fixed;
  background: var(--splash-bg);
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}

.splash-container {
  display: flex;
  flex-direction: row;
  align-items: center; 
  justify-content: center;
  background: var(--splash-primary);
  height: 100vh;
  width: 100vw;
  animation: splash-lift 0.8s ease-in-out 1.6s forwards;
  text-align: center;
}
span{
  text-align: center;
}
.splash-title {
  font-size: 35px;
  font-weight: 800;
  color: #272727;
  text-align: center;
  /* font-family: "Lexend Deca", sans-serif; */
  position: relative;
  top: 0;
  padding: 4px;
  opacity: 0;
  z-index: 3;
  animation: splash-wave 0.4s, splash-jump 1s;
  animation-fill-mode: forwards;
}
.splash-title:nth-of-type(1) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.05s forwards; }
.splash-title:nth-of-type(2) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.1s forwards; }
.splash-title:nth-of-type(3) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.15s forwards; }
.splash-title:nth-of-type(4) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.2s forwards; }
.splash-title:nth-of-type(5) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.25s forwards; }
.splash-title:nth-of-type(6) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.3s forwards; }
.splash-title:nth-of-type(7) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.35s forwards; }
.splash-title:nth-of-type(8) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.4s forwards; }
.splash-title:nth-of-type(9) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.45s forwards; }
.splash-title:nth-of-type(10) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.5s forwards; }
.splash-title:nth-of-type(11) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.55s forwards; }
.splash-title:nth-of-type(12) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.6s forwards; }
.splash-title:nth-of-type(13) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.65s forwards; }
.splash-title:nth-of-type(14) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.7s forwards; }
.splash-title:nth-of-type(15) { animation: splash-wave 0.4s, splash-jump 1.1s ease-in-out alternate 0.755s forwards; }

@keyframes splash-wave {
  0% { top: 0%; }
  100% { top: 100%; }
}

@keyframes splash-jump {
  0% { transform: translate3d(0, 0, 0); opacity: 0; }
  90% { transform: translate3d(0, -16%, 0); opacity: 1; }
  100% { transform: translate3d(0, -32%, 0); opacity: 1; }
}

@keyframes splash-lift {
  0% { transform: translate3d(0, 0, 0); opacity: 1; visibility: visible; }
  100% { transform: translate3d(0, -100%, 0); opacity: 1; visibility: hidden; }
}

.header{
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.nav ul{
  background-color: #a7a7a7;
}
.hero{
    height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}
.bg1-img{
    opacity: 0.1;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}
.bg-img{
    opacity: 0.2;
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: -10;

}

.bg-img img{
    width: 600px;
    margin-left: -20px;
}
.content{
    position: relative;
    z-index: 10;   
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: -15px;
}
.content span {
    color: #a7a7a7;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 15px;
  }
.content h2 {
    color: #a7a7a7;
    font-size: 35px;
    font-weight: 600;
    margin-left: -5px;

  }
  .bg-main{
    position: absolute;
    width: 2000px;
    height: 100%;
    left: 0px;
    background-position: center;
    background-size: auto;
    z-index: -5;
    opacity: 0.1;
  }
  @media (max-width: 768px) {
    .bg-img img{
        width: 700px;
        margin-left: 0px;
    }
    .content span{
      font-size: 3rem;
      font-weight: 600;
    }
    .content{
      margin-left: -0px;
    }
    .bg-main{
      position: absolute;
      width: 2000px;
      height: 100%;
      left: 0px;
      background-position: center;
      z-index: -5;
      opacity: 0.1;
    }
  }
  
  /* 📱 Super small devices */
  @media (max-width: 480px) {
    .content{
      margin-left: -0px;
    }
    .bg-img img{
        width: 700px;
        margin-left: 0px;
    }
    .content span{
      font-size: 2rem;
      font-weight: 600;

    }
    .bg-main{
      position: absolute;
      width: 2000px;
      height: 100%;
      left: 0px;
      background-position: center;
      z-index: -5;
      opacity: 0.1;
    }
  }
  .glow-on-hover {
    width: 190px;
    height: 40px;
    font-weight: 600;
    border: none;
    display: block;
    outline: none;
    background-color: #a7a7a7;
    color: black;
    cursor: pointer;
    position: relative;
    font-size: 16px;
    font-family: 'Rubik', sans-serif;
    z-index: 0;
}
  
  .glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left: -2px;
    background-size: 400%;
    z-index: -1;
    font-size: 18px;
    font-family: 'Rubik', sans-serif;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 100px;
  }
  
  .glow-on-hover:hover:before,
  .glow-on-hover.glow-active:before {
    opacity: 1;
  }
  
  .glow-on-hover:active {
    color: black;
    border-radius: 100px;
  }
  
  .glow-on-hover:active:after {
    background: transparent;
  }
  
  .glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #a7a7a7;
    left: 0;
    top: 0;
    border-radius: 100px;
    font-weight: 500;
    font-size: 18px;
    font-family: 'Rubik', sans-serif;
  }
  
  @keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
  }

  .background-text {
    font-size: 6rem;
    position: relative;
    font-weight: 700;
    text-transform: uppercase;
    top: 98px;
    z-index: 0;
    background: radial-gradient(circle, #ffffff10 0%, #ffffff00 100%, #ffffff10 0%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-emphasis-color: transparent;
    font-family: "Rajdhani", sans-serif;
    pointer-events: none;
  }

  .foreground-text {
    font-size: 3rem;
    font-family: "Rajdhani", sans-serif;
    font-weight: 700;
    color:#a7a7a7;
    z-index: 1;
  }

.container-about {
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
  border-radius: 20px;
  flex-wrap: wrap;
  overflow: hidden;
  margin-top: 40px;
}

.profile-image-wrapper {
  position: relative;
  width: 280px;
  overflow: hidden;
  height: 320px;
}

.blob-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #a7a7a7;
  border-radius: 55% 45% 55% 45% / 60% 40% 60% 40%;
  z-index: 1;
  overflow: hidden;
}

.avatar-img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 300px;
  transform: translate(-45%, -43%);
  z-index: 2;
}

.about-section {
  flex: 1;
  min-width: 280px;
}

.about-section h1 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #a7a7a7;
  font-weight: 500;
  margin-bottom: 20px;
  max-width: 600px;
}

.btn {
  display: inline-block;
  background-color: #7c5dff;
  color: #a7a7a7;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #674bdc;
}

/* Responsive */
@media (max-width: 768px) {
  .container-about {
    flex-direction: column;
    text-align: center;
  }

  .profile-image-wrapper {
    width: 200px;
    height: 240px;
    margin-bottom: 20px;
  }

  .avatar-img {
    max-width: 180px;
  }

  .about-section h1 {
    font-size: 1.8rem;
  }

  .about-section p {
    font-size: 0.95rem;
  }
}

.container-education {
  overflow: hidden;
  max-width: 1200px;
  margin: 150px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.column {
  position: relative;
  padding-left: 30px;
}

.column::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #ccc;
}

.section-title {
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
  margin-top: -105px;
  position: relative;
}

.card {
  background: #a7a7a7;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.card::before {
  content: '';
  width: 14px;
  height: 14px;
  background: #a7a7a7;
  border-radius: 50%;
  position: absolute;
  left: -37px;
  top: 25px;
}

.date {
  color: #242424;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.title {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #333;
}

.desc {
  font-weight: 600;
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .container-education {
    grid-template-columns: 1fr;
  }

  .column::before {
    left: 10px;
  }

  .card::before {
    left: -25px;
  }

  .background-text {
    font-size: 3rem;
  }
}
.skill{
  color: #a7a7a7;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 50px;
  font-size: 1.2rem;
  margin-top: 100px;
}

.skills-container {
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px;
  justify-content: center;
  max-width: 800px;
  height: auto;
}

.skill-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 12px;
  background-color: #1a1a1a;
  border: 1px solid #2f2f2f;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.skill-pill:hover {
  background-color: #222222;
  box-shadow: 0 0 10px #a7a7a7;
}

.skill-pill i, .skill-pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.skill-pill img {
  filter: none;
}

@media (max-width: 600px) {
  .skill-pill {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}







.footer {
  overflow-x: hidden;
  background-color: #101010;
  color: #ccc;
  width: 100%;
  padding: 1.5rem 1rem;
  font-family: 'Poppins', sans-serif;
  border-top: 1px solid #333;
}

.footer-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-text {
  font-size: 0.95rem;
  margin: 0;
  color: #aaa;
}

.footer-socials a {
  color: #999;
  margin: 0 0.5rem;
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.footer-socials a:hover {
  color: #fff;
  transform: scale(1.2);
}

@media (min-width: 600px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}


.skill{
  color: #a7a7a7;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 50px;
  font-size: 1.2rem;
  margin-top: 100px;
}

.skills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px;
  justify-content: center;
  max-width: 800px;

}

.skill-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 12px;
  background-color: #1a1a1a;
  border: 1px solid #2f2f2f;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
}

.skill-pill:hover {
  background-color: #222222;
  box-shadow: 0 0 10px #a7a7a7;
}

.skill-pill i, .skill-pill img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.skill-pill img {
  filter: none;
}

@media (max-width: 600px) {
  .skill-pill {
    font-size: 0.75rem;
    padding: 5px 10px;
  }
}

.projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
}

@media (max-width: 1024px) {
  .projects {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .projects {
    grid-template-columns: 1fr;
  }
}

.wrapper {
  width: 300px;
  height: 400px;
  background: #333333;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0;
  transform: scale(0.95);
  transition: box-shadow 0.5s, transform 0.5s;
}

.wrapper:hover {
  transform: scale(1);
  box-shadow: 5px 20px 30px rgba(0, 0, 0, 0.2);
}

.container-project {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.project-button{
  margin-bottom: -95px;
  margin-top: 10px;
  background: rgba(67, 67, 67, 0.37);
  border-radius: 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9.9px);
  -webkit-backdrop-filter: blur(9.9px);
  border: 1px solid rgba(67, 67, 67, 1);
  padding: 10px;
  width: 150px;
  font-size: 18px;
  font-weight: 600;
  color: #a7a7a7;
  transition: ease-out 0.5s;
}
.container-project h2{
  margin-bottom: 10px;
}
.project-button:hover{
  transform: scale(1) translateY(0);
}
.container-project .top img {
  height: 90%;
  width: 95%;
  margin-top: 10px;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.438);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.contents p{
  opacity: 0;
}
.inside {
  z-index: 9;
  background: rgba(67, 67, 67, 0.897);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border: 1px solid rgba(67, 67, 67, 1);
  width: 135px;
  height: 145px;
  position: absolute;
  top: -70px;
  right: -70px;
  border-radius: 0 0 200px 200px;
  transition: all 0.5s, border-radius 2s, top 1s;
  overflow: hidden;
}

.inside .icon {
  position: absolute;
  right: 85px;
  top: 85px;
  color: #a7a7a7;
  opacity: 1;
  font-size: 30px;
}

.inside:hover {
  width: 100%;
  right: 0;
  top: 0;
  border-radius: 0;
  height: 75%;
}

.inside:hover .icon {
  opacity: 0;
  right: 15px;
  top: 15px;
}

.inside:hover .contents p{
  opacity: 1;
  transform: scale(1) translateY(0);
}

.contents p{
  padding: 5%;
  opacity: 0;
  transform: scale(0.5) translateY(-200%);
  transition: opacity 0.2s, transform 0.8s;
}

.contents p {
  color: #a7a7a7;
  font-size: 15px;
}