/* Projects CSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(-45deg, #000124, #070945, #1b1d6b, #323596);
  animation: bgradient 30s ease-in-out infinite;
  background-size: 400% 400%;
  color: #fff;
  min-height: 100vh;
  padding: 0;
}

@keyframes bgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Navigation Bar Styles */
.navbar {
  background: rgba(19, 9, 54, 0.7);
  width: 100%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  margin-bottom: 30px;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 10px 20px;
  border-radius: 30px;
  transition: background 0.3s ease;
  display: block;
}

.nav-link:hover {
  background: rgba(123, 97, 255, 0.3);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header section styling */
.header-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header-section h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.header-section p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 350px;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.project-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-content p {
  font-size: 0.9rem;
  opacity: 0.9;
  flex-grow: 1;
  text-align: left;
  margin-bottom: 0;
}

.project-button {
  display: inline-block;
  background: rgba(123, 97, 255, 0.3);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
  border: 1px solid rgba(123, 97, 255, 0.5);
  transition: all 0.3s ease;
  margin-top: 10px;
}

.project-button:hover {
  background: rgba(123, 97, 255, 0.5);
  transform: scale(1.05);
}

/* Footer Styles */
footer {
  background-color: #000;
  border: 2px solid #fff;
  border-radius: 10px;
  padding: 20px;
  margin-top: 50px;
  text-align: center;
}

.social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: transform 0.3s ease;
  padding: 10px 15px;
  border-radius: 30px;
}

.social-link:hover {
  background: rgba(123, 97, 255, 0.3);
  transform: translateY(-5px);
}

.social-link img {
  width: 30px;
  height: 30px;
}

footer p {
  color: white;
  margin: 0;
  font-size: 0.9rem;
}

.btn{ 
  margin-left: 50%;
  margin-top: 10%;
  cursor: pointer;
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .header-section h1 {
    font-size: 2rem;
  }
  
  .nav-links {
    gap: 20px;
  }
  
  .nav-link {
    font-size: 1rem;
    padding: 8px 15px;
  }
  
  .social-container {
    gap: 15px;
  }
  
  .social-link {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}