* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  height: 100vh;
  align-items: center;
  justify-content: center;
  background: #eef5fe;
  font-family: 'Segoe UI', sans-serif;
  padding: 0 1rem;
  text-align: center;
}

/* Company Name Styling */
.company-name {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3C3B6E;
  margin-bottom: 40px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  animation: fadeIn 2s ease forwards;
  max-width: 100%;
  word-wrap: break-word;
  line-height: 1.2;
  position: relative;
}

.company-name::after {
  content: '';
  display: block;
  width: 60%;
  max-width: 300px;
  height: 4px;
  background: linear-gradient(to right, #3C3B6E, #B22234);
  margin: 15px auto 0;
  border-radius: 5px;
  animation: underlineSlide 2s ease-in-out forwards;
}

/* Wrapper for animated dots */
.wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 1rem;
}

/* Individual Dot Styles */
.wrapper .dot {
  height: 3.5vw;
  width: 3.5vw;
  min-width: 30px;
  min-height: 30px;
  max-width: 50px;
  max-height: 50px;
  border-radius: 50%;
  background: #3C3B6E;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: animate 1s ease-in-out infinite alternate;
}

.dot:nth-child(1) {
  background: #B22234;
  animation-delay: -0.25s;
}

.dot:nth-child(2) {
  background: #FFFFFF;
  border: 3px solid #3C3B6E;
  animation-delay: -0.5s;
}

.dot:nth-child(3) {
  background: #3C3B6E;
  animation-delay: -0.75s;
}

.dot:nth-child(4) {
  background: #B22234;
  animation-delay: -1s;
}

/* Animations */
@keyframes animate {
  0% { transform: translateY(-20px); }
  100% { transform: translateY(10px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes underlineSlide {
  0% { width: 0%; opacity: 0; }
  100% { width: 60%; opacity: 1; }
}

/* Small screen tweaks */
@media (max-width: 480px) {
  .wrapper {
    gap: 15px;
  }

  .company-name {
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
  }

  .wrapper .dot {
    height: 32px;
    width: 32px;
  }

  .company-name::after {
    width: 60%;
  }
}
