body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: black;
  color: #fff;
}
#stars-background {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      z-index: -1;
    }

/* Navbar (reuse your existing navbar styles) */
.navbar {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
}
.nav-links a.active {
  color: #00ffff;
}

/* Projects Section */
.projects-section {
  text-align: center;
  padding: 120px 20px 80px;
  background: transparent;
}

.projects-heading {
  font-family: "Old Town", serif;
  font-size: 32px;
  color: #00ffff;
  margin-bottom: 40px;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 12px;
}

.carousel {
  display: flex;
  transition: transform 3s ease-in-out;
}

.project {
  position: relative;
  flex: 0 0 100%;
}

.project img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Hover Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  text-align: center;
  border-radius: 12px;
  padding: 20px;
}

.project:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #00ffff;
}

.overlay p {
  font-size: 16px;
  line-height: 1.5;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}
.left-arrow { left: 10px; }
.right-arrow { right: 10px; }

/* Carousel Dots */
.carousel-dots {
  margin-top: 15px;
}

.dot {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background: #888;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background: #00ffff;
}
/* Navbar Styling */
/* Navbar */
.navbar {
  background: rgba(0, 0, 0, 0.9);
  padding: 15px 50px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
}

/* Container with Flexbox */
.container {
  display: flex;
  justify-content: space-between; /* Logo on left, links on right */
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Logo on Left */
.logo {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Nav Links on Right */
.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #ccc;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00ffff; /* Cyan hover effect */
}
