/* Announcement Bar Styles */
.announcement-bar {
  background-color: #000000; /* Black background */
  color: white;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: 16px;
  font-weight: 500;
}

.announcement-bar span {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

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

/* Ensure body content doesn't overlap with fixed announcement bar */
body {
  margin-top: 50px;
}

/* H1 responsive font sizes based on previous slider */
.heading {
  font-size: 60px !important;
}

/* Service Item Heading Styles */
.service-card h3 {
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.3;
}

/* Responsive adjustments for service headings */
@media (max-width: 768px) {
  .service-card h3 {
    font-size: 1.3rem;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .service-card h3 {
    font-size: 1.2rem;
    margin-top: 1rem;
    padding: 0 10px;
  }
  
  .service-card {
    text-align: center;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .announcement-bar {
    font-size: 14px;
    padding: 8px 0;
  }
  body {
    margin-top: 40px;
  }
  .heading {
    font-size: 45px !important;
  }
}

@media (max-width: 480px) {
  .announcement-bar {
    font-size: 12px;
    padding: 6px 0;
  }
  body {
    margin-top: 35px;
  }
  .heading {
    font-size: 40px !important;
  }
}
