body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.topnav {
  overflow: hidden;
  background-color: #333;
}

.topnav a {
  float: left;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: darkgreen;
  color: white;
}

.image-boarder {
  border: 5px solid black;
  border-radius: 10px;
}

.image-container {
  position: relative;
  display: block; /* Display as block to make images stack vertically */
  text-align: center; /* Center the images */
}

a {
  text-decoration: none; /* Remove underline from the link */
}

.small-image {
  transition: all 0.3s ease; /* Smooth transition for the shadow effect */
  width: 10%; /* Adjust width to your desired size */
  height: 50%; /* Keep aspect ratio */
}

a:hover .small-image {
  box-shadow: 0 4px 20px rgb(0, 0, 0); /* Shadow effect on hover */
}

.overlay-text {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
}
/* Image row using Flexbox */
.image-row {
    display: flex;
    justify-content: space-between; /* You can change this to 'center' if you want the images centered */
    gap: 20px; /* Adds space between images */
}

.image-container {
    position: relative;
    width: 45%; /* Adjust width to control image size, feel free to change this */
}

.small-image {
    width: 400px;
    height: auto;
    border-radius: 8px; /* Optional: rounded corners */
}

.image-border {
    border: 2px solid #ddd; /* Optional: border around the images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: shadow around the images */
}

.overlay-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 4px;
    text-align:center;
}


.card {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px; /* Reduce the padding */
  width: auto; /* Reduce the width of the card */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center; /* Center the content inside the card */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgb(0, 0, 0);
}

.card h3 {
  color: #2c3e50;
  font-size: 1.2em; /* Smaller text size for the title */
  margin-top: 10px; /* Reduce space above the title */
}

.card p {
  color: #7f8c8d;
  font-size: 0.9em; /* Smaller font size for the text */
  line-height: 1.4;
  margin-top: 8px; /* Reduce space above the paragraph */
}

.card-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover; /* Make sure the image fits the container properly */
}



#carouselExample{
  max-width: 600px;
  margin: 0 auto;
}

.carousel-inner img{
  width: 50%;
  max-height:auto;
  object-fit: cover;
}