body {
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

.hero {
  height: 100vh;
  background: linear-gradient(to right, #004e92, #000428);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  animation: fadeIn 2s ease-in-out;
}

.section {
  padding: 60px 20px;
}

.hero-img {
  height: 90vh;
  object-fit: cover;
  filter: brightness(0.7);
}

.carousel-caption {
  bottom: 30%;
  text-shadow: 2px 2px 5px #000;
}

.carousel-caption h1 {
  font-size: 3rem;
  font-weight: bold;
}

.carousel-caption p {
  font-size: 1.3rem;
}

/* Card Styling */
.card {
  transition: transform 0.3s ease;
}
.card:hover {
  transform: scale(1.05);
}

/* Project Image Hover Effect */
.card-img-top {
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
  transition: transform 0.3s ease-in-out;
}

.card:hover .card-img-top {
  transform: scale(1.03);
}
.card:hover {
  transform: translateY(-5px);
  transition: 0.3s ease-in-out;
}


/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 20%;
  }

  .carousel-caption h1 {
    font-size: 2rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }

  .hero-img {
    height: 60vh;
    object-fit: cover;
  }

  .card-img-top {
    height: 180px;
  }

  .section {
    padding: 40px 10px;
  }

  .card {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-caption h1 {
    font-size: 1.5rem;
  }

  .carousel-caption p {
    font-size: 0.9rem;
  }

  .hero-img {
    height: 50vh;
  }

  .card-img-top {
    height: 160px;
  }

  .section {
    padding: 30px 10px;
  }

  .card {
    padding: 10px;
  }

  body {
    font-size: 14px;
  }
}

