/* Navbar */
.home {
  padding-top: 100px; /* To avoid content getting hidden behind navbar */
}

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ffd700;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #ffd700;
}
/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: #333;
  }
  
  /* General Styles for Project Gallery */
#projects {
    padding: 60px 0;
    top: 60px;
    background-color: #fff;
  }
  
  #projects h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    font-weight: 600;
  }
  
  /* Project Gallery */
  .project-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
  }
  
  /* Each Project Item Container */
  .project-item {
    text-align: center;  /* Center content */
    width: 250px;  /* Fixed width for each project */
  }
  
  /* Styling for the Project Images */
  .project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  /* Hover effect for the Project Image */
  .project-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  }
  
  /* Styling for the Project Name */
  .project-name {
    margin-top: 10px;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
    text-transform: capitalize;  /* Capitalize each word */
    letter-spacing: 0.5px;
  }
  
  /* Modal Styling */
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal iframe {
    width: 90%;
    height: 90%;
    border-radius: 10px;
  }
  
  /* Close Button Styling */
  .close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 9999;
  }
  
  /* Open New Window Button Styling */
  .open-new-window {
    position: absolute;
    top: 80px;
    right: 20px;
    font-size: 20px;
    color: white;
    background-color: #444;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
  }
  
  .open-new-window:hover {
    background-color: #666;
  }
  
  /* Responsive Styles for Mobile Devices */
  @media screen and (max-width: 768px) {
    .project-gallery {
      flex-direction: column;
      align-items: center;
    }
  
    .project-image {
      width: 100%;
      height: auto;
    }
  
    .modal iframe {
      width: 100%;
      height: 100%;
    }
  }
  
    
  