@media (max-width: 768px) {
  #nav-bar {
    background-color: #fff;
  }
  #brand-name {
    opacity: 0;
  }
  #date-box {
    height: 30px;
    width: auto;
    transform: translateY(2px);
  }
  #conf-title {
    font-size: 10px;
    transform: translateY(10px);
  }
  #conf-date {
    font-size: 12px;
    transform: translateY(-5px);
  }
}
/* Add after the navigation styles */
.announcement-bar {
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0.98),
    rgba(255, 255, 255, 0.95)
  );
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 38;
  overflow: hidden;
  height: 60px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.announcement-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  height: 100%;
  overflow: hidden;
}

.announcement-wrapper {
  display: flex;
  animation: scroll 35s linear infinite;
  padding: 0 20px;
}

.announcement-wrapper:hover {
  animation-play-state: paused;
}

.announcement-item {
  display: flex;
  align-items: center;
  padding: 0 30px;
  flex-shrink: 0;
  height: 50px;
  border-right: 1px solid rgba(226, 232, 240, 0.8);
}

.announcement-item:last-child {
  border-right: none;
}

.announcement-icon {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  margin-right: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.announcement-icon i {
  font-size: 18px;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulse 2s infinite;
  background: rgba(59, 130, 246, 0.1);
}

.announcement-content {
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: #1a237e;
}

.announcement-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  color: #6366f1;
  margin-bottom: 1px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  70% {
    transform: scale(1.3);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* Add responsive styles */
@media (max-width: 768px) {
  .announcement-bar {
    height: 40px;
  }

  .announcement-item {
    height: 40px;
    padding: 0 15px;
  }

  .announcement-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
  }

  .announcement-icon i {
    font-size: 14px;
  }

  .announcement-content {
    font-size: 11px;
  }

  .announcement-label {
    font-size: 9px;
  }
}

/* Add extra small screen styles */
@media (max-width: 360px) {
  .announcement-content {
    font-size: 10px;
  }

  .announcement-label {
    font-size: 8px;
  }

  .announcement-item {
    padding: 0 12px;
  }

  .announcement-icon {
    width: 20px;
    height: 20px;
    margin-right: 6px;
  }

  .announcement-icon i {
    font-size: 12px;
  }
}

/* Add scroll transition class */
.scrolled .announcement-bar {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Add after the announcement bar styles */
.hero-wrapper {
  margin-top: 70px;
  /* Height of navbar */
  position: relative;
  z-index: 1;
}

.hero-section {
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.hero-section.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Update responsive styles */
@media (max-width: 768px) {
  .hero-wrapper {
    margin-top: 110px;
    /* Combined height of navbar and announcement bar */
  }

  .announcement-bar + .hero-wrapper {
    margin-top: 110px;
    /* Adjust for smaller announcement bar height */
  }
}
