svg {
    position: fixed;
    top: 9%;
    right: 5%;
    margin-top: -50px;
    margin-left: -50px;

    animation: rotate 1s linear infinite;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);

    animation-iteration-count: 1;
    animation-fill-mode: both;
  }

  @keyframes rotate {
    to {
      transform: rotate(360deg);
    }
  }

  :root {
    --gradient-2: white; /* example */
  }
  

  html {
    scroll-behavior: smooth;
    text-decoration: none !important;
    overflow-x: hidden; /* Hide horizontal scrollbar */
    animation: fadeIn 2s ease-in;

  }
  a {
    transition: all .4s ease;
  }

  a:link{
    text-decoration: none!important;
    color: #ffffff;
  }
  a:hover{
    -moz-transition: all .43s ease;
    -o-transition: all .43s ease;
    -webkit-transition: all .43s ease;
    transition: all .43s ease;
    color: #5b5b5b;
    transform: scale(1.6);
  }
  
  

  

  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  html,body {
    width: 100%;
    height: 100%;
    overflow: hidden;

  }

  .colorChange{
    transition: background-color 0.3s ease-in-out;

  }
  #block{
    background-color:black;
    width:100px;
    height:100px;
    margin-top:1300px;
    display:inline-block;
  }
  body {
    animation: fadeInBlur 2s ease-out;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;

    min-height: 500vh;
    text-decoration: none;
    margin:0 0 0px 0;
  }

  @keyframes fadeInAnimation {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

/*
  body {
    animation: fadeInBlur 2s ease-out forwards;


    animation: fadeInAnimation ease 3s;
  } 
  */
  @keyframes fadeInBlur {
    0% {
      
      filter: blur(20px);
    }
    100% {
      
      filter: blur(0px);
    }
  }

  #content.slide-right {
    transform: translateX(-100%);
  }


  .scroll-box-container {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    width: 50%; /* Adjust width as needed */
    overflow-y: auto;
    border-radius: 0px; /* Border radius */
    /**background: white;*/

  }

  .scroll-box {
    background-attachment: fixed;
    height: 100%;
    margin: 50px; /* 50px margin on all sides */
    filter: blur(0px);
    /*background: inherit;*/

  }



  .side-box-container {
    position: fixed;
    top: 0;
    right: -400px; /* Initially outside the viewport */
    width: 300px;
    height: 100%;
    background-color: #fff;
    transition: right 0.3s ease; /* Smooth sliding transition */
  }

  .side-box {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    padding: 20px;
  }

  #content.slide-right {
    transform: translateX(-100%);
  }




  @keyframes fadeIn {
    from {
      opacity:0;
    }

    to {
      opacity:1;
    }
  }

  .boxbox {
    border-radius: 5px;
    background: white;
    height: auto;
    width: auto;
    padding: 50px;
    margin-bottom: 20px;
  }
  .boxTitle {
    font-size: 500%;
  }

  .project-tag{
    background: white;
    color: rgb(4, 4, 4);
    font-weight: bold;
    padding:0.7rem 1rem;
    margin-right: 7px ;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid rgb(3, 3, 3);
  }

  .contact-item {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    color: black;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .contact-item .icon {
    display: inline;
    opacity: 1;
  }
  
  /* Hide email text until hover */
  .contact-item .contact-text {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  /* Show email text on hover */
  .contact-item:hover .contact-text {
    display: inline;
    opacity: 1;
  }
  
  /* OPTIONAL: hide only the envelope icon on hover (for email only) */
  .contact-item.email:hover .fa-envelope {
    display: none;
  }
  
  .contact-item a {
    color: black !important;
    text-decoration: none !important;
    transition: none;
    transform: none;
  }
  
  .contact-item a:hover {
    color: #0077b5 !important; /* LinkedIn blue */
    transform: none;
  }
  



  .interests-section {
    max-width: 1200px;
    margin: 8rem auto 4rem;
    padding: 0 2rem;
}

.interests-section h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    text-align: center;
}

/* Interest Card */
.interest-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2.5rem;
  margin: 2rem 7rem 0rem 7rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.interest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: white;
}

/* Header inside card */
.interest-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;

font-family: 'Poppins', sans-serif;
}

.interest-header h2 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.interest-header i {
  font-size: 2.8rem;
  color: white; /* <-- Force white */
  background: none; /* Remove gradient if not used */
  -webkit-background-clip: text;
  -webkit-text-fill-color: unset;
  transition: all .4s ease;
}


.interest-card:hover .interest-header i {
    transform: scale(1.1);
}

/* Card content layout */
.interest-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    font-family: 'Raleway', sans-serif;
}

/* Text inside card */
.interest-text {
    line-height: 1.8;

}

.interest-text p {
    color: white;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.interest-text ul {
    list-style: none;
    padding: 0;
}

.interest-text li {
    color: white;
    opacity: 0.9;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.interest-text li::before {
    content: '•';
    color: white;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* Image/Icon side */
.interest-image {
    width: 100%;
    height: 100%;
    /*background: rgba(255,255,255,0.5);*/
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all .4s ease;

    
}

.interest-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.05);
    transition: all .4s ease;
}

.interest-image i {
  font-size: 5rem;
  color: white;
  opacity: 0.8;
  z-index: 1;
  background: none;
  -webkit-background-clip: text;
  -webkit-text-fill-color: unset;
  transition: all .4s ease;
}


.interest-card:hover .interest-image i {
    transform: scale(1.1);
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .interests-section h1 {
        font-size: 2.5rem;
    }

    .interest-content {
        grid-template-columns: 1fr;
    }

    .interest-image {
        height: 200px;
    }
}

.about-section {
  max-width: 1200px;
  margin: 8rem auto 4rem;
  padding: 0 2rem;
}

.about-section h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
  text-align: center;
}

.about-grid {
  /*display: grid;
      grid-template-columns: 1fr 1fr;*/
      display: flex;
  flex-wrap: wrap;
  justify-content: center;
  
      gap: 2.5rem;
      margin: 2rem 7rem 0rem 7rem;
}


.about-content {
  background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    /*min-width: 360px;
     margin: 2rem 7rem 0rem 7rem; */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;


    flex: 1 1 400px; /* allow growing/shrinking, but minimum width 400px */
    box-sizing: border-box;
    
}

.about-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border-color: white;
}

.about-content h2 {
  font-size: 1.8rem;
    margin-bottom: 1.5rem;
    margin-top: 0;
    color: white;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Poppins', sans-serif;
}

.about-content p {
  color: rgb(255, 255, 255);
  opacity: 0.9;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-family: 'Raleway', sans-serif;
}

.skills-section {
  margin-top: 2rem;
}

.skills-section h3 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  font-family: 'Poppins', sans-serif;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  font-family: 'Raleway', sans-serif;
}

.skill-tag {
  background: var(--gradient-2);
  color: var(--white);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-tag:hover {
  transform: translateY(-2px);
  /*box-shadow: 0 5px 15px rgba(233, 69, 96, 0.3);*/
}

.education-section {
  margin-top: 0rem;
}

.education-item {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.education-item:hover {
  transform: translateY(-3px);
  border-color: white;
}

.education-item h4 {
  color: white;
  margin-bottom: 0.5rem;
  margin-top: 0;
  font-size: 1.2rem;
  font-family: 'Poppins', sans-serif;
}

.education-item p {
  color: white;
  opacity: 0.8;
  margin: 0.3rem 0;
}

@media (max-width: 768px) {
  .about-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
  }

  .about-section h1 {
      font-size: 2.5rem;
  }
}