body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #023020; /* dark green */
  color: white;
}

.hero {
  position: relative;
  text-align: center;
  padding: 80px 20px;
  overflow: hidden;
}

/* Background grid pattern */
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: linear-gradient(transparent 97%, rgba(255,255,255,0.1) 100%), 
                    linear-gradient(90deg, transparent 97%, rgba(255,255,255,0.1) 100%);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.tagline {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.buttons a {
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

.btn-primary {
  background-color: white;
  color: #6b46c1;
}
.btn-primary:hover {
  background-color: #f3e8ff;
}

.btn-outline {
  border: 2px solid white;
  color: white;
}
.btn-outline:hover {
  background-color: white;
  color: #6b46c1;
}

.logos {
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

.logos img {
  max-height: 30px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease, filter 0.3s ease, background-color 0.3s ease;
  border-radius: 6px; /* optional: for background highlight */
}

/* Desktop hover effect */
.logos img:hover {
  transform: translateY(-8px);
  filter: brightness(1) invert(0);
  background-color: rgba(255,255,255,0.1); /* highlight background */
}

/* Mobile tap & keyboard focus effect */
.logos img:active,
.logos img:focus {
  transform: translateY(-8px);
  filter: brightness(1) invert(0);
  background-color: rgba(255,255,255,0.1);
}

/* Animation keyframe - diagonal fade-in */
@keyframes diagonalFadeIn {
  0% {
    transform: translate(-50px, 50px) rotate(-1deg);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
  }
}

/* Apply animation to hero section elements */
.hero .tagline {
  animation: diagonalFadeIn 0.8s ease-out forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.hero h1 {
  animation: diagonalFadeIn 1s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.hero p {
  animation: diagonalFadeIn 1s ease-out forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.hero .buttons {
  animation: diagonalFadeIn 1s ease-out forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

.hero .logos {
  animation: diagonalFadeIn 1s ease-out forwards;
  animation-delay: 1s;
  opacity: 0;
}

/* Responsive */
@media (min-width: 768px) {
  h1 {
    font-size: 3.5rem;
  }
  p {
    font-size: 1.25rem;
  }
}
