/* ===== TOP BAR ===== */
.top-bar {
  background-color: #1e3a8a; /* blue-900 */
  color: white;
  font-size: 12px;
}

/* ===== HEADER ===== */
.main-header {
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 50;
}

/* ===== NAVBAR ===== */
.main-nav {
  background-color: #1e40af;
}

.main-nav a:hover {
  color: #bfdbfe;
}

/* ===== TICKER ===== */
.ticker-wrapper {
  overflow: hidden;
  background: #fffbeb;
  border-bottom: 1px solid #fef3c7;
}

.ticker-text {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker linear infinite;
  animation-duration: 40s; /* base speed */
}

/* Responsive speed control */
@media (max-width: 768px) {
  .ticker-text {
    animation-duration: 25s;
  }
}

@media (min-width: 1200px) {
  .ticker-text {
    animation-duration: 50s;
  }
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



  .top-bar {
  display: flex;
  align-items: center;
  background: #1e3a8a; /* blue */
  color: white;
  height: 50px;
  overflow: hidden;
  font-size: 14px;
}

/* LEFT SCROLLING PART */
.marquee {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-text 18s linear infinite;
}

/* RIGHT FIXED PART */
.access-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  white-space: nowrap;
  background: #1e3a8a;
}

.font-controls button {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

/* ANIMATION */
@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}




