
/* সাইডবার ডিজাইন */
.sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    top: 70px;
    left: 0;
    background-color: #217F7C;
    overflow-x: hidden;
    transition: 0.4s ease;
    padding-top: 60px;
    z-index: 999;
  }
  
  /* সাইডবার খোলা হলে */
  .sidebar.open {
    width: 250px;
  }
  
  .sidebar a {
    padding: 5px 24px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    transition: 0.3s;
  }
  
  .sidebar a:hover {
    background-color: #005599;
  }
  
  .sidebar .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
  }
  
  .menu-icon {
    cursor: pointer;
    z-index: 1000;
    font-size: 22px;
    padding: 12px;
    position: relative;
  }
  
 /* মোবাইল ভিউতে সাইডবারের ফন্ট ছোট করা */
@media (max-width: 576px) {
    .sidebar a {
      font-size: 14px;
      padding: 4px 20px;
    }
  
    .sidebar .close-btn {
      font-size: 24px;
      top: 10px;
      right: 16px;
    }
  
    .menu-icon {
      font-size: 20px;
      padding: 10px;
    }
  }



  /* সাবমেনু ডিজাইন */ 
.submenu .submenu-items {
  display: none;
  padding-left: 30px;
}

.submenu .submenu-items a {
  display: block;
  font-size: 14px;
  padding: 4px 20px;
  color: #fff;
}

/* সাবমেনুর হোভার ঠিক করা */
.submenu .submenu-items a:hover {
  background-color: #006d6a; /* গাঢ় সবুজ ব্যাকগ্রাউন্ড */
  color: #fff; /* টেক্সট সাদা থাকবে */
  border-radius: 4px;
}

/* প্যারেন্ট লিংকের স্টাইল */
.parent-link {
  cursor: pointer;
  display: block;
  color: #fff;
}









/* Overlay background */
.popup-overlay {
  display: none; /* default hidden */
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

/* Popup content box */
.popup-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  padding: 30px 25px 25px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  animation: slideIn 0.3s ease;
  text-align: center;
  font-family: 'Noto Serif Bengali', serif;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}
.close-btn:hover {
  color: #e74c3c;
  transform: scale(1.2);
}

/* Form inputs */
.popup-content input,
.popup-content select {
  width: 95%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.2s;
}
.popup-content input:focus,
.popup-content select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 5px rgba(13,110,253,0.3);
}

/* Submit button */
.popup-content button {
  width: 95%;
  padding: 12px;
  margin-top: 15px;
  background: linear-gradient(135deg, #0d6efd, #0056b3);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.popup-content button:hover {
  background: linear-gradient(135deg, #0056b3, #0d6efd);
  transform: translateY(-2px);
}

/* Animation effects */
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes slideIn {
  from { transform: translateY(-40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
