* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, Arial, sans-serif;
}

body {
  background: #ffffff;
  color: #1f2937;
}

/* HERO */
.hero {
  position: relative;
}

.carousel img {
  width: 100%;
  height: 55vh;
  object-fit: cover;
  display: none;
}

.carousel img:first-child {
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: #fff;
  z-index: 1;
}

.hero h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.btn-primary {
  background: #166534;
  color: white;
  padding: 14px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  width: fit-content;
}

/* BENEFITS */
.benefits {
  padding: 40px 20px;
  display: grid;
  gap: 20px;
}

.benefit-card {
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.benefit-card h3 {
  margin-bottom: 8px;
}

/* CONTACT */
.contact {
  padding: 40px 20px;
  background: #f9fafb;
}

.contact h2 {
  text-align: center;
  margin-bottom: 20px;
}

form {
  max-width: 420px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* form controls: include select so dropdown matches inputs */
input, select, button {
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  background: #fff;
  color: inherit;
}

/* make text controls full-width for consistent layout; keep buttons as-is */
input, select {
  width: 100%;
  box-sizing: border-box;
}

button {
  background: #166534;
  color: white;
  border: none;
  font-weight: 600;
}

/* Improve select appearance consistency across browsers */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #6b7280 50%),
                    linear-gradient(135deg, #6b7280 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px; /* room for custom arrow */
}

.trust {
  font-size: 0.85rem;
  text-align: center;
  color: #6b7280;
}

/* DESKTOP ENHANCEMENTS */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 2.6rem;
  }

  .benefits {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: auto;
  }
}

/* Splash overlay showing icon.png for ~1s (moved from index.html) */
#splash {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  z-index: 9999;
  transition: opacity 160ms ease, visibility 160ms;
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}
#splash.fadeout {
  opacity: 0;
  visibility: hidden;
}

/* Replace existing splash img rules and keyframes with a zoom-in effect */
#splash img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  display: block;
  transform-origin: center center;
  /* stronger zoom-in while splash is visible: start smaller, end noticeably larger */
  animation: splash-zoom-in 600ms cubic-bezier(.22,.98,.32,1) forwards;
}

/* keyframes for stronger zoom-in effect (starts smaller, ends larger) */
@keyframes splash-zoom-in {
  from { transform: scale(0.72); }
  to   { transform: scale(1.36); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  #splash { transition: none; }
  #splash img { animation: none; transform: none; }
}
