/* css styles */
/* Carousel styling */
.carousel {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: #f8f9fa;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 500px;
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 8px 15px;
  border-radius: 5px;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}

.carousel-caption p {
  margin: 0;
  font-size: 0.9em;
  color: white;
}

/* Carousel controls styling */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

.carousel-indicators button {
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-indicators .active {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .grid {
    display: block !important;
  }
  
  .g-col-7, .g-col-5 {
    width: 100% !important;
    margin-bottom: 2em;
  }
}

/* White navbar */
.navbar {
  background-color: white !important;
}

/* Optional: Make text darker for better contrast on white background */
.navbar-light .navbar-nav .nav-link {
  color: #333 !important;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #000 !important;
}
/* Working paper figures */
.paper-figure img,
img.paper-figure {
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  cursor: zoom-in;
}
