body, html {
  height: 100%;
  margin: 0;
  font-family: 'Arial Rounded MT Bold', sans-serif;
}

/* Navbar */
.navbar {
  background: linear-gradient(180deg, #0C5DB8 0%, #52C0C2 100%);
  z-index: 2;
}

.custom-navbar-brand {
  text-decoration: none;
  color: inherit;
}

.custom-navbar-brand h3,
.custom-navbar-brand p {
  color: #FFF;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-family: Poppins;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin: 0;
  padding: 0;
}

.custom-navbar-brand h3 {
  font-size: 36px;
}

.custom-navbar-brand p {
  font-size: 20px;
}

.custom-navbar-brand h1.bottom-right-text {
  text-align: right;
  width: 100%;
  color: #FFF;
  position: absolute;
  bottom: 0;
  right: 0;
  font-family: "Brush Script MT";
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.line-below {
  width: 51%;
  border: 3px solid #ffffff;
  margin: 0;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 112, 224, 0.28);
  z-index: 0;
}

/* Carousel */
.carousel,
.container {
  position: relative;
  z-index: 2;
}

.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 15px;
}

/* Card Styling */
.card {
  background-color: transparent !important;
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 300px;
  width: 230px;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-body {
  padding: 20px;
  text-align: center;
  border-radius: 5%;
  background: #80C7F5;
}

.card-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #0C5DB8;
  margin-bottom: 10px;
}

.img {
  height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 10px;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .custom-navbar-brand {
    flex-direction: column;
    text-align: center;
  }

  .custom-navbar-brand img {
    margin: 0 auto;
  }

  .bottom-right-text {
    position: static;
    text-align: center;
    margin-top: 10px;
  }
}
