/* === General Styles === */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header Design */
header {
  background-color: #f8f9fa;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.logo-title img {
  height: 120px;
}

.logo-title + div {
  text-align: left;
}

.logo-title + div h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
}

/* === Animation Notice Bar === */
.notice-bar {
  background: #333;
  color: white;
  overflow: hidden;
  position: relative;
  height: 40px;
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.scrolling-text {
  white-space: nowrap;
  display: inline-block;
  padding-left: 100%;
  animation: scrollText 25s linear infinite;
}

.scrolling-text.paused {
  animation-play-state: paused;
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* === Navigation Bar === */
nav {
  background: #006400;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

nav li {
  position: relative;
}

nav > ul > li {
  margin: 0 10px;
}

nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 12px 15px;
  font-size: 16px;
}

nav li:hover > a {
  background: rgba(255,255,255,0.1);
}

nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ccc;
  z-index: 100;
}

nav li:hover .dropdown-menu {
  display: block;
}

nav .dropdown-menu a {
  color: #333;
  padding: 8px 12px;
  white-space: nowrap;
}

nav .dropdown-menu a:hover {
  background: #f5f5f5;
}

/* Date and Time Navbar */
.time-bar {
  background: linear-gradient(to right, #004d40, #00695c);
  color: #fff;
  padding: 8px 0;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.time-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}



/* === Responsive Styling === */
@media screen and (max-width: 768px) {
  .container {
    width: 98%;
    padding: 0 5px;
  }

  /* Header */
  header .container {
    gap: 5px;
    margin-top: 5px;
    flex-direction: column;
    align-items: center;
  }

  .logo-title img {
    height: 80px;
  }

  .logo-title + div h2 {
    font-size: 16px;
    text-align: center;
  }

  /* Navbar */
  nav a {
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Time bar */
  .time-bar {
    font-size: 14px;
    padding: 6px 0;
  }