* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color: #1a1f3a;
  background: #ffffff;

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

#app {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  padding: 2rem;
}

header {
  width: 100%;
  padding: 2rem 0;
  display: flex;
  justify-content: center;
}

.logo {
  height: 100px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  gap: 3rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(135deg, #4d63f6 0%, #8aa3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.check-eligibility-btn {
  padding: 1rem 3rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #4d63f6 0%, #1d45d8 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(77, 99, 246, 0.4);
}

.check-eligibility-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(77, 99, 246, 0.6);
  background: linear-gradient(135deg, #5d73ff 0%, #2d55e8 100%);
}

.check-eligibility-btn:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .logo {
    height: 70px;
  }

  h1 {
    font-size: 2rem;
  }

  .check-eligibility-btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  main {
    gap: 2rem;
  }
}

footer {
  width: 100%;
  padding: 3rem 0 2rem 0;
  overflow: hidden;
}

footer h2 {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #1a1f3a;
}

.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slide-track {
  display: flex;
  animation: scroll 30s linear infinite;
  width: calc(250px * 20);
}

.slide {
  width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
}

.slide img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.slide img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 10));
  }
}

@media (max-width: 768px) {
  footer h2 {
    font-size: 1.25rem;
  }

  .slide {
    width: 200px;
    padding: 0.75rem 1.5rem;
  }

  .slide img {
    max-width: 100px;
    max-height: 50px;
  }

  .slide-track {
    width: calc(200px * 20);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-200px * 10));
    }
  }
}
