
/* Color variables */
:root {
    --white-color: #fff;
    --bg-color: #fff;
    --gray-color: #ccc;
  }
  
  /* Changing background color */
  body {
    background: var(--bg-color) !important;
  }
  
  /* Changing link color */
  .nav-item .nav-link {
    color: var(--white-color);
  }
  
  /* Hero section background image */
  .hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
  }
  
  .hero-left {
    flex: 1;
    text-align: center;
  }
  
  .hero-left img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #007BFF;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  .hero-right {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
  }
  
  /* Add this for mobile screens */
  @media (max-width: 768px) {
    .hero-section {
      flex-direction: column;
      padding: 20px;
    }
  
    .hero-left img {
      width: 180px;
      height: 180px;
      margin-bottom: 20px;
    }
  
    .hero-right {
      margin-top: 10px;
    }
  }
  

  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  
  #tsparticles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content */
    top: 0;
    left: 0;
  }
  
  .hero-section {
    position: relative;
    z-index: 1; /* Content above particles */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-left, .hero-right {
    margin: 20px;
  }
  .hero-left img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #007bff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  
  
  
  
  
  
  /*skills*/
  
  #skills i {
    height: 100px;
    width: 100px;
  }
  
  #portfolio img {
    height: 300px;
    object-fit: cover;
  }
  
  #about .img,
  #about img,
  .hire-text h2 {
    position: relative;
  }
  
  /* Timeline background line */
  #about .img::before {
    content: "";
    left: 50%;
    width: 4px;
    position: absolute;
    height: calc(100% + 140px);
    background: var(--gray-color);
  }
  
  #about img,
  #about .hire-text h2 {
    width: 140px;
  }
  
  #about .hire-text h2 {
    height: 140px;
  }
  
  .social-icons a {
    width: 40px;
    height: 40px;
  }
  
  footer .social-icons a {
    width: 30px;
    height: 30px;
  }
  
  #cv img {
    width: 230px;
  }
  
  /* Contact section background image */
  #contact {
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-image: url("../img/contact-bg.jpeg");
  }
  
  @media screen and (max-width: 990px) {
    #skills .card {
      width: calc(100% / 2 - 10px) !important;
    }
  }
  
  @media screen and (max-width: 668px) {
    #skills .card,
    #portfolio .card-wrapper {
      width: 100% !important;
    }
  }
  