* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
  }

  body {
    background-color: #f7f9fc;
    color: #1a1a1a;
    line-height: 1.6;
  }

  header {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    padding: 4rem 1rem 2rem;
    background-image: url('../site_pictures/dataanalysis_background.jpg');
    /* background: linear-gradient(135deg, #1e3a8a, #3b82f6); */
    color: white;
    height:60vh ;
    
  }
.header_texts{
  grid-column: span 1;
}
  header h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }

  header p {
    font-size: 1.2rem;
    opacity: 0.9;
  }
.profile_image{
  width: 200px;
  grid-column: span 1;
  position: relative;
  margin-top: -5%;
  animation-name: profile-animation;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  z-index: 20;


}
.profile_image img{
  box-shadow: 6px 10px 20px  rgba(0, 0, 122,0.1);
  border-radius: 50%;
}
@keyframes profile-animation {
  0%{
    margin-left: -30%;
  }
  50%{
    margin-left: -15%;
  }
  100%{
    margin-left: -3%;
    padding-right:15% ;
  }
}
  nav {
    display: flex;
    justify-content: center;
    gap: 1%;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 1rem;

    position: sticky;
    top: 0;
    z-index: 10;
  }
  nav i{
    margin-right: 3%;
    color: green;
  }

  nav a {
    position: sticky;
    z-index: 999;
    width: 10%;
    text-align: center;
    text-decoration: none;
    color: #1e3a8a;
    font-weight: 600;
    transition: color 0.3s ease;
  }

  nav a:hover {
    color: #3b82f6;
  }

  section {
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1rem;
  }

  h2 {
    color: #1e3a8a;
    margin-bottom: 1rem;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
    padding-bottom: 0.3rem;
  }

  .about{
    margin-top: 9%;
  }
  .about,
  .projects,
  .skills,
  .contact {
    margin-bottom: 3rem;
  }

  .about p {
    font-size: 1rem;
    color: #444;
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .project-card {
    height: 55vh;
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
      overflow-y: hidden;
    overflow-x: hidden;
  }

  .project-card:hover {
    transform: translateY(-5px);
  }

  .project-card img {
    width:99%;
    height:25vh;
    object-fit: fill;
    border-radius: 10px;
    margin-bottom: 0.5rem;
  }
   .project-card p{
    overflow: hidden;
    overflow-y: hidden;
    overflow-x: hidden;
    width: 100%;
    height:10vh ;
  
   }
/* see more styling */
.seemore{
  margin-top: 60px;

}
.seemore a{
  text-decoration: none;
}
.seemore a:hover{
  background:rgb(101, 101, 170);
  color: #3b82f6;
  padding: 0.2%;
}
/* 
  .skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
  }
  .skills {
    margin-top: 100px;
  }
  .skill {
    background: #e0e7ff;
    color: #1e3a8a;
  
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
  }

  footer {
    background: #1e3a8a;
    color: white;
    text-align: center;
    padding: 2rem 1rem;
  }

  footer a {
    color: #93c5fd;
    text-decoration: none;
    font-weight: 600;
  }

  footer a:hover {
    text-decoration: underline;
  }

  /* screen sizes */

  @media (max-width: 1130px){
    .profile_image{
      width: 50px;
    }
    .profile_image img{
      width: 350px;
    }
  }
  @media (max-width: 909px){
   nav a{
    width: 15%;
   }
  }

  @media (max-width: 712px){
    .profile_image{
      width: 50px;
    }
    .profile_image img{
      width: 320px;
    }
  }
  @media (max-width: 676px){
    header {
     display: flex;
     flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .profile_image{
      width: 50px;
      margin-right: 130px;
    }
    .profile_image img{
      width: 250px;

    }
  }

  
  @media (max-width: 640px){
    nav{display: flex;
    justify-content: center;
    gap: 5%;
    }
    nav a{
      width: 17%;
    }
  }
 
  @media (max-width: 538px){
    nav a{
      width: 20%;
    }
    }

  @media (max-width: 484px){
    header {
     display: flex;
     flex-direction: column;
      justify-content: center;
      align-items: center;
    }
    .profile_image{
      width: 50px;
      margin-right: 180px;
    }
    .profile_image img{
      width: 250px;

    }
    header h1 {
      font-size: 2rem;
      margin-bottom: 0.5rem;
    }
    nav{display: flex;
      /* flex-direction: column; */
      justify-content: center;
      gap: 3%;
     
      }
      nav a{
        font-size: 0.8rem;
        width: 23%;
      }
  }
  @media (max-width: 340px){
    nav{display: flex;
      /* flex-direction: column; */
      justify-content: center;
      }
      nav a{
           width: 32%;
           font-size: 0.7rem;
      }
  }
  @media (max-width: 328px){
    /* nav{display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 16%;

      } */
          nav a{
           width: 50%;
           font-size: 0.7rem;
      }
      nav{
        gap: 2%;
      }
  }