/* --- Projects Section --- */
#projects {
    /* Slightly less intense dark background */
    background-color: #121212; 
    color: #f0f0f0; /* Lighter text color */
    padding: 100px 0; /* More vertical space */
}

/* Light Cards on Dark Background */
.project-card {
    background: #1e1e1e; /* Sleek, slightly lighter card color */
    color: #fff;
    /* Remove border, rely on shadow for depth */
    border: none; 
    border-radius: 12px; /* Slightly reduced radius for a modern feel */
    overflow: hidden;
    transition: transform 0.3s ease-in-out; /* Smoother transition */
    height: 300px; /* Slight height increase for visual balance */
    margin: 50px 10px 50px 0;
}

.project-card:hover {
    transform: translateY(-10px); /* More noticeable lift */
    /* Add a subtle glow/inner shadow effect for 'premium' look */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Card Image */
.project-card img {
    width: 100%; 
    height: 150px; /* Slightly taller image for better focus */
    object-fit: cover;
    /* Subtle blur/darken effect on hover can be nice, but keep it simple for now */
     border-bottom: 1px solid #DCDCDC; /* Optional: add a border under the image */
}
/* Project Body */
.project-body {
  text-align: center;
  padding: 20px 15px; /* More padding inside the body */
}

/* .project-body h5 {
  font-weight: 700;
  color: #fff;
} */

/* Tech Icons */
.tech-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  

}

.tech-icons img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  filter: brightness(0.9) grayscale(80%);
  transition: transform 0.3s ease, filter 0.3s ease;
  margin: 15px 0;
}

.tech-icons img:hover {
  transform: scale(1.1);
  filter: none;
}

/* Buttons inside cards */
.btn-outline-primary {
  border-color: #0d6efd;
  color: #0d6efd;
  background: transparent;
}

.btn-outline-primary:hover {
  background: #0d6efd;
  color: #fff;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background-color: rgba(47, 30, 30, 0.1);
  border-radius: 50%;
  top: 50%;
  transform: translateY(150px);
}

/* .carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.3);
} */

/* Carousel Indicators */
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #0d6efd;
}

.carousel-indicators .active {
  background-color: #0dcaf0;
  transform: scale(1.2);
}


/* Scroll Animation */
.scroll-element {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}

.scroll-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .project-card {
    height: auto;
  }
}
