.navbar {
  background: linear-gradient(
    to right,
    #6d6d6d,
    #8d8d8d
  ); /* Gradient background */
  opacity: 0.85; /* Slightly more visible */
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow for depth */
  height: 150px;
  overflow: hidden;
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar img {
  position: relative;
  top: 0.4em;
  right: 14em;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensure proper image fit */
}

.navbar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  position: relative;
  top: 50%;
  left: 15%;
  transform: translate(0%, -60%);
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  margin-left: -280px;
}

.navbar-brand span {
  color: #ffffff;
  text-align: left;
  font-family: "DaysOne-Regular", sans-serif;
  font-size: 50px;
  font-weight: 700;
  position: relative;
  top: 15px;
  right: 4em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
}

.navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.nav-item {
  margin-left: 20px;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  text-align: left;
  font-family: "Ramabhadra-Regular", sans-serif;
  font-size: 24px;
  font-weight: 400;
  position: relative;
  top: 50%;
  width: 83px;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: transparent;
}

.nav-link:hover,
.nav-link.active {
  background-color: rgba(0, 123, 255, 0.2);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.6);
}

a.nav-link {
  font-size: 25px;
}
.navbox {
  background-color: #c4f7fc;
  width: 300px;
  height: 276px;
  margin: 10px 40px;
  color: #838383;
  font-family: "Ramabhadra-Regular", sans-serif;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12), 0 3px 6px rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.navbox:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18), 0 6px 12px rgba(0, 0, 0, 0.1);
}

.navbox h2,
.navbox p {
  text-align: center;
  width: 90%;
  position: relative;
  top: 0;
  transform: none;
  margin-bottom: 10px;
}

.navbox h2 {
  margin-top: 10px;
  color: #4a7c8a;
  font-size: 24px;
}

.navbox p {
  font-size: 16px;
  line-height: 1.5;
}