.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
.navbar-custom {
    background: linear-gradient(to right, #cfe9ff, #8ec5fc);
}

.bg-gradient-custom {
    background-color: #ffffff; /* solid white base */
    background-image: linear-gradient(to right, #eef6ff, #d6ecff);
}
/* ===== Main Notice Bar ===== */
.notice-bar {
  display: flex;
  align-items: center;
  background: #0f172a;
  color: #ffffff;
  padding: 10px 12px;
  overflow: hidden;
  font-family: Arial, sans-serif;
}

/* ===== Left Section ===== */
.notice-left {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  font-weight: bold;
  color: #ffffff;
}

.notice-icon {
  font-size: 18px;
}

.notice-title {
  font-size: 15px;
}

/* ===== Marquee Section ===== */
.marquee {
  flex: 1;
  margin: 0 15px;
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

/* ===== Notice Items ===== */
.notice-item {
  white-space: nowrap;
  font-size: 15px;
}

/* ===== Pause on Hover ===== */
.marquee:hover .marquee-content {
  animation-play-state: paused;
}

/* ===== Read More Button ===== */
.read-more-btn {
  background: #2563eb;
  color: #ffffff;
  padding: 8px 14px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  white-space: nowrap;
  transition: background 0.2s ease;
}

.read-more-btn:hover {
  background: #1d4ed8;
}

/* ===== Keyframes ===== */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* ===== Tablet & Mobile ===== */
@media (max-width: 768px) {
  .marquee-content {
    animation-duration: 25s;
    font-size: 14px;
  }

  .notice-title {
    font-size: 14px;
  }
}

/* ===== Small Mobile ===== */
@media (max-width: 480px) {
  .marquee-content {
    animation-duration: 35s;
    font-size: 13px;
  }

  .notice-title {
    display: none; /* keep icon only */
  }
}
