body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #ffffff;
    color: #222;
    padding: 40px;
  }
  
  .projects {
    text-align: center;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
  }
  
  .projects h2 {
    font-size: 2rem;
    color: #00bcd4;
    margin-bottom: 30px;
  }
  
  .project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .project-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
  }
  
  .project-card:hover {
    transform: translateY(-5px);
  }
  
  .project-card h3 {
    color: #007c91;
    margin-bottom: 10px;
  }
  
  .project-card p {
    font-size: 15px;
    color: #333;
  }
/* 🔄 Page Loader Styling */
.page-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background-color: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s;
  }
  
  .spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #00bcd4;
    border-top: 6px solid #007c91;
    border-radius: 50%;
    animation: spin 5s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  body.dark {
    background-color: #121212;
    color: #f0f0f0;
  }
  
  body.dark .sidebar {
    background-color: #1f1f1f;
  }
  
  body.dark .main-content,
  body.dark .hero,
  body.dark .about,
  body.dark .skills,
  body.dark .login-box,
  body.dark .footer {
    background-color: #1a1a1a;
    color: #f0f0f0;
  }
  
  body.dark .btn {
    background-color: #333;
    color: #00bcd4;
    border: 1px solid #00bcd4;
  }
  
  body.dark .footer-links a {
    color: #4dd0e1;
  }
  .hamburger {
    font-size: 30px;
    padding: 10px 20px;
    background-color: #00bcd4;
    color: white;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: -260px;
    width: 240px;
    height: 100%;
    background-color: #00bcd4;
    color: white;
    padding: 25px 20px;
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 4px 0 12px rgba(0,0,0,0.2);
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
  }
  
  .sidebar.active {
    left: 0;
  }
  
  .sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .sidebar-links {
    list-style: none;
    margin-top: 30px;
    padding: 0;
  }
  
  .sidebar-links li {
    margin: 15px 0;
  }
  
  .sidebar-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
  }
  
  .sidebar-links a:hover {
    background-color: #007c91;
    transform: translateX(5px);
  }
  .sidebar.active ~ .hamburger {
    display: none;
  }
  /* Projects Page Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4faff;
  color: #222;
}

.project-header {
  padding: 60px 20px 30px;
  text-align: center;
  background: #e0f7fa;
}

.project-header h1 {
  font-size: 2.5rem;
  color: #00bcd4;
}

.project-header p {
  color: #555;
  margin-top: 10px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.project-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 188, 212, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 24px rgba(0, 188, 212, 0.15);
}

.project-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card h3 {
  font-size: 1.2rem;
  color: #007c91;
  margin-bottom: 12px;
}

.actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.actions a {
  display: inline-block;
  padding: 8px 14px;
  background: #00bcd4;
  color: white;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background 0.3s;
}

.actions a:hover {
  background: #0097a7;
}

/* Footer */
.footer {
  text-align: center;
  padding: 25px 15px;
  font-size: 0.9rem;
  color: #555;
  background: #eafcff;
}
