* {
    margin: 0;
    padding: 0;
  }

  body {
    line-height: 1.6;
    font-family: Arial, sans-serif;
  }

  nav {
    background-color: rgb(156, 8, 8);
    color: aliceblue;
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    top: 0;
    z-index: 1000;

  }

  .logo img {
    margin-left: 20px;
    width: 50px;
    border-radius: 50px;
  }

  .logo-name {
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 27px;
    color: rgb(0, 0, 0);
    text-align: left;
  }

  .nav-link {
    list-style: none;
    display: flex;

  }

  .nav-link li {
    margin: 0 1rem;
  }

  .nav-link a {
    color: white;
    text-decoration: none;
  }

  .nav-link a:hover {
    color: #d3d338;
  }

  #profile {
    background-color: rgb(0, 0, 0);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(6, 16, 39);
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 30px;
  }

  #profile h2 {
    color: #fffcfc;
    font-size: 25px;
    text-align: left;
    justify-content: left;
  }

  .profile-content img {
    width: 350px;
    border-radius: 50%;
    border-color: rgb(255, 93, 5);
    justify-content: right;
  }

  .profile-content h3 {
    font-size: 2.2rem;
    color: #2b83e1;
  }

  .profile-content p {

    color: rgb(243, 91, 15);
  }

  button {
    align-items: center;
    background-color: #aad42b;
    border: 2px solid #111;
    border-radius: 8px;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-size: 16px;
    height: 48px;
    justify-content: center;
    line-height: 24px;
    max-width: 100%;
    padding: 0 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
  }

  button:after {
    background-color: #726464;
    border-radius: 8px;
    content: "";
    display: block;
    height: 48px;
    left: 0;
    width: 100%;
    position: absolute;
    top: -2px;
    transform: translate(8px, 8px);
    transition: transform .2s ease-out;
    z-index: -1;
  }

  button:hover:after {
    transform: translate(0, 0);

  }

  button:active {
    background-color: #ffdeda;
    outline: 0;
  }

  button:hover {
    background-color: rgb(207, 175, 241);
    color: #fff;
    outline: 0;
  }

  @media (min-width: 768px) {
    button {
      padding: 0 40px;
    }
  }

  #education {
    padding: 50px;
    background-color: rgb(0, 0, 0);

  }

  #education h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff9f9;
  }

  .education-card {
    background: #d14242;
    border: 2px solid#ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .education-card h3 {
    font-size: 1.8rem;
    color: #f58c03;
  }

  .education-card p {
    font-size: 1.1rem;
    color: #ffffff;
    margin: 5px;
  }

  .education-card strong {
    color: hsl(0, 0%, 0%);
  }

  #skill {
    padding: 50px;
    background-color: rgb(5, 5, 5);

  }

  #skill h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fbf7f7;
  }

  .skill-card {
    background: #d14242;
    border: 2px solid#ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .skill-card h3 {
    font-size: 1.8rem;
    color: #fffb00;
  }

  #project {
    padding: 50px;
    background-color: rgb(209, 233, 195);

  }

  #project h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
  }

  .group-card {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

  }

  .project-card {
    position: relative;
    height: 200px;
    width: 300px;
    margin: 20px;
    overflow: hidden;
    border-radius: 60ppx;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);

  }

  .project-img img {
    width: 300px;
    height: 200px;
    object-fit: cover;
  }

  .project-description {
    position: absolute;
    top: 0%;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.5s ease;
  }

  .project-description h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #ffdd77;
  }

  .project-description p {
    margin: 10px 0;
    padding: 0 20px;
    font-size: 1em;
  }

  .project-card:hover .project-description {
    left: 0;

  }

  .view-botton {
    text-decoration: none;
    color: #fff;
    background-color: #ff704d;
    padding: 10px 20px;
    transition: background-color 0.3s ease;
  }

  #blog-section {
    padding: 50px 0;
    background-color: rgb(0, 0, 0);
    text-align: center;
  }

  #blog-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #fffefe;
  }

  .scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #ff5733 transparent;
  }

  .scroll-container::-webkit-scrollbar {
    height: 8px;
  }

  .scroll-container::-webkit-scrollbar-thumb {
    background-color: #ff5733;
    border-radius: 10px;
  }

  .scroll-container::-webkit-scrollbar-track {
    background-color: #ffffff;
  }

  .blog-card {
    min-width: 300px;
    background-color: #061374;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
  }

  .blog-card:hover {
    transform: scale(1.05);
  }

  .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .blog-card h3 {
    margin: 20px 0 10px;
    font-size: 1.5em;
    color: #f6f609;
  }

  .blog-card p {
    padding: 0 20px;
    font-size: 1em;
    color: #fefafa;
  }

  .read-more {
    text-decoration: none;
    color: #fff;
    background-color: #ff5733;
    padding: 10px 20px;
    margin: 20px;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
  }

  .read-more:hover {
    background-color: #ff704d;
  }

  #achievement {
    padding: 50px;
    background-color: rgb(0, 0, 0);
  }

  #achievement h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
  }

  .achievement-card {
    background: #d14242;
    border: 2px solid#ddd;
    padding: 20px;
    margin: 20px 0;
    border-radius: 800px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
  }
  .achievement-card h4 {
    font-size: 1.2rem;
    color: #000000;
    text-align:center;

  }

  #contact {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff5f5;
    background-color: rgb(0, 0, 0);
  }

  #contact p {
    font-size: 18px;
    margin-bottom: 20px;
    color: #cfc0c0;
  }

  .form-group {
    margin-bottom: 20px;
    text-align: center;
  }

  .form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
    color: #ffdd00;
  }

  .form-group input,
  .form-group text area {
    width: 50%;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 16px;
    font-size: 16px;
  }

  .btn {
    color: #000;
    background-color: rgb(202, 236, 65);
    box-shadow: none;
    margin: 10px;
  }

  footer {
    background-color: #444343;
    color: white;
    padding: 0 0;
    text-align: center;
    margin-top: 0;
  }

  .footer-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .footer-content p {
    font-size: 16px;
  }

  .footer-content .socials {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 20px 0;
  }

  .footer-content .socials li {
    margin: 0 10px;
  }

  .footer-content .socials a {
    color: white;
    font-size: 20px;
    transition: color 0.3s ease;
  }

  .footer-content .socials a:hover {
    color: #ff6347;
  }

  .footer-bottom {
    background-color: #9e9e9e;
    padding: 10px 0;
    margin-top: 20px;
  }

  .footer-bottom p {
    margin: 0;
    font-size: 14px;
  }

  .socials img {
    width: 45px;
    transition: transform 0.3s ease
  }

  .socials img:hover {
    transform: scale(1.08);
  }