html {
    scroll-behavior: smooth;
  }

  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #0d0d0d;
    color: #fff;
    transition: background-color 0.3s, color 0.3s;
  }

  .header {
    background-color: #1b1b1b;
    color: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .header img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .header h1 {
    margin: 0;
    font-size: 2.5em;
    color: #00bfff;
  }

  .theme-switch {
    position: absolute;
    top: 30px;
    right: 20px;
    cursor: pointer;
    font-size: 1.5em;
    color: #00bfff;
  }

  .nav {
    display: flex;
    justify-content: center;
    background-color: #1b1b1b;
    padding: 10px 0;
  }

  .nav a {
    color: #00bfff;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1em;
    transition: color 0.3s;
  }

  .nav a:hover {
    color: #fff;
  }

  .section {
    padding: 50px 20px;
    text-align: center;
  }

  .section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #00bfff;
  }

  .profile img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    border: 3px solid #00bfff;
  }

  .projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
  }

  .project {
    background-color: #151515;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 20px;
    padding: 20px;
    width: 400px;
    transition: transform 0.3s, background-color 0.3s;
  }

  .project:hover {
    transform: translateY(-10px);
    background-color: #00bfff;
    color: #000;
  }

  .project a {
    text-decoration: none;
    color: #fff;
  }

  .project img {
    width: 100%;
    height: 180px;
    border-radius: 10px;
  }

  .contact {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    margin-bottom: 100px;
  }

  .contact a {
    color: #00bfff;
    font-size: 2em;
    margin: 10px;
    transition: color 0.3s;
  }

  .contact a:hover {
    color: #fff;
  }

  .desc {
    margin-top: 20px;
    padding: 0px 270px;
  }

  .footer {
    background-color: #1b1b1b;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: fixed;
    width: 100%;
    bottom: 0;
  }

  .dark-mode {
    background-color: #0d0d0d;
    color: #fff;
  }

  .dark-mode .header {
    background-color: #171717;
  }

  .dark-mode .nav {
    background-color: #212121;
  }

  .dark-mode .nav a {
    color: #00bfff;
  }

  .dark-mode .nav a:hover {
    color: #fff;
  }

  .dark-mode .project a {
    background-color: #1b1b1b;
    color: #fff;
  }

  .dark-mode .project:hover {
    background-color: #2d2d2d;
    color: #fff;
  }

  .dark-mode .contact a {
    color: #00bfff;
  }

  .dark-mode .contact a:hover {
    color: #fff;
  }

  .dark-mode .footer {
    background-color: #1b1b1b;
  }

  .light-mode {
    background-color: #f5f5f5;
    color: #333;
  }

  .light-mode .header {
    background-color: #e0f7fa;
    color: #333;
  }

  .light-mode .nav {
    background-color: #b3e5fc;
  }

  .light-mode .nav a {
    color: #333;
  }

  .light-mode .nav a:hover {
    color: #00bfff;
  }

  .light-mode .project a {
    background-color: #ffffff;
    color: #333;
  }

  .light-mode .project {
    background-color: #ffffff;
    color: #333;
  }

  .light-mode .project:hover {
    transform: translateY(-10px);
    background-color: #00bfff;
    color: #000;
  }

  .light-mode .contact a {
    color: #00bfff;
  }

  .light-mode .contact a:hover {
    color: #333;
  }

  .light-mode .footer {
    background-color: #e0f7fa;
    color: #333;
  }
@media(max-width: 768px){
  .project img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    
  }
  .desc {
    padding: 0px;
  }
}