/* Hero Section Styles */

/* Ensure proper centering on all devices */
#hero .strategic-communications {
  text-align: center !important;
  width: 100%;
  margin: 0 auto;
  display: block;
  position: relative;
  left: 0 !important;
  right: 0 !important;
  transform: none !important;
}

/* Strategic text container */
#hero .strategic-text-container {
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto 0;
}

/* Add responsive padding */
@media (max-width: 768px) {
  #hero .strategic-communications {
    padding: 0 15px;
    font-size: 1.875rem !important; /* Adjust font size for better mobile display */
    width: 100% !important;
    max-width: 100% !important;
  }

  #hero .strategic-text-container {
    width: 100% !important;
    padding: 0 !important;
    margin: 1.5rem auto 0 !important;
  }

  /* Ensure Go Lucky title is centered on mobile */
  #hero .title-container {
    text-align: center !important;
    justify-content: center !important;
  }

  #hero .title-container h1,
  #hero .title-container h2 {
    text-align: center !important;
    width: 100%;
  }
}

/* Add subtle animation to the text */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero .strategic-communications {
  animation: fadeInUp 1s ease-out forwards;
}
