* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
  }
  
  body {
    color: #333;
    line-height: 1.6;
  }
  
  header {
    background-color: #282c34;
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }
  
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo {
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
  }

  .logo a {
    color: inherit; /* Inherit the color from .logo */
    text-decoration: none; /* Removes underline */
}

/* Optional: Add a hover effect if desired */
  .logo a:hover {
      color: #61dafb; /* Change color on hover */
  }

  .certifications-container {
    display: flex; /* Align images in a row */
    justify-content: space-around; /* Space them out evenly */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
  }
  
  .certifications-container a {
    margin: 10px; /* Add space between images */
  }
  
  .certifications-container img {
    max-width: 150px; /* Adjust the size of images */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease;
  }

  .certifications-container img:hover {
    transform: scale(1.3); /* Scale image to 110% */
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  nav ul li a:hover {
    color: #61dafb;
  }
  
  #hero, #resume {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    height: 100vh;
    color: #fff;
    text-align: center;
    padding-top: 60px;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .btn {
    background-color: #61dafb;
    color: #282c34;
    padding: 0.5rem 1.5rem;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s;
  }
  
  .btn:hover {
    background-color: #21a1f1;
  }
  
  section {
    padding: 3rem 2rem;
  }
  
  h2 {
    margin-bottom: 1rem;
    color: #c9bde0;
    text-align: center;
  }
  
  #about, #skills, #projects, #certifications, #contact {
    padding-bottom: 4rem;
    text-align: center;
    margin-top: 50px;
  }
  
  .skills-container, .projects-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .skill-item, .project-item {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 250px;
    text-align: center;
  }
  
  #contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
  }
  
  #contact-form input, #contact-form textarea {
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1rem;
  }
  
  footer {
    text-align: center;
    padding: 0.75rem;
    background-color: #282c34;
    color: #fff;
    position: fixed;
    width: 100%;
    bottom: 0;
  }

  #role_describe {
    opacity: 0;
  }

  #certifications ul {
    list-style: none;
    padding-left: 0;
  }

  /* Media query for screens smaller than 768px */
@media (max-width: 768px) {
  nav {
      flex-direction: column;
      align-items: flex-start;
  }

  .logo {
      font-size: 1.2rem; /* Reduce logo size on smaller screens */
  }

  nav ul {
      flex-direction: grid;
      grid-template-columns: 1fr 1fr; /* Create two columns */
      gap: 0.5rem; /* Adjust the gap between the links */
      width: 100%; /* Make nav take full width */
  }

  nav ul li a {
    text-align: center; /* Center-align the text in each column */
    font-size: 1.1rem; /* Slightly smaller links */
    padding: 0.25rem 0; /* Add padding for touch screens */
  }
  
  /* Adjust padding for hero section */
  #hero, #resume {
      padding-top: 80px;
      flex-direction: column;
  }

    /* Adjust certifications images */
    .certifications-container img {
      max-width: 100px; /* Smaller size for mobile devices */
    }
    
    .certifications-container {
      justify-content: center; /* Center the certification images */
    }
}
  