.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 1050;
}
/* Logo styling */
.navbar-logo {
  background: white;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  height: 150px;
  width: 150px;
  z-index: 10;
  transition: all 0.3s ease;
}

/* Optional shrink-on-scroll effect */
body.scrolled .navbar-logo {
  transform: scale(0.75);
}

.navbar-logo img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  top: 64%;
  transform: translateY(-50%);
}

/* Responsive logo size */
@media (max-width: 768px) {
  .navbar-logo {
    height: 120px;
    width: 120px;
    padding: 5px;
  }
  .navbar-logo img {
  max-width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  top: 62%;
  transform: translateY(-50%);
}
.navbar-logo {
  transition: opacity 0.4s ease;
}

.logo-hidden {
  opacity: 0;
  pointer-events: none;
}

}

/* Purple text and icons */
.nav-link, .text-purple, .icon-links i {
  color: purple !important;
}

.search-box {
  border: 2px solid purple;
  border-radius: 50px;
  padding: 3px 20px;
  display: flex;
  align-items: center;
  background-color: #f9f3ff; /* Soft lavender */
  transition: box-shadow 0.3s ease;
  margin: 8px;
  margin-right: 25px;
}

.search-box:hover {
  box-shadow: 0 0 10px rgba(128, 0, 128, 0.2); /* Glow effect */
}

.search-box i {
  color: purple;
  font-size: 1.2rem;
}

.search-box input {
  border: none;
  outline: none;
  margin-left: 8px;
  background: transparent;
  width: 120px;
  font-size: 0.95rem;
}

.icon-links i {
  font-size: 1.3rem;
  color: purple;
  margin-right: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.icon-links i:hover {
  color: #5a007a;
  transform: scale(1.1);
}

.btn-purple {
  background-color: purple;
  color: white;
  border: none;
  padding: 6px 15px;
  border-radius: 25px;
}

.btn-purple:hover {
  background-color: #5a007a;
}

.modal-content {
  border-radius: 20px;
}
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 24px;
  width: 30px;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.hamburger .bar-1{
  height: 3px;
  width: 100%;
  background-color: purple;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hamburger .bar-2{
  height: 3px;
  width: 80%;
  background-color: purple;
  transition: all 0.3s ease;
  border-radius: 2px;
}
.hamburger .bar-3{
  height: 3px;
  width: 40%;
  background-color: purple;
  transition: all 0.3s ease;
  border-radius: 2px;
}
/* Optional: animated version when active (if you want to toggle animation manually) */
.hamburger.active .bar-1:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.active .bar-2:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar-3:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
