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

html,
body {
  width: 100%;
  min-width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  background: #eaf3fb;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  height: 100dvh;
  overflow: hidden;
  background: #eaf3fb;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;

  /* Fills the full browser width and height on desktop, tablet, and mobile. */
  object-fit: cover;
  object-position: center center;

  user-select: none;
  -webkit-user-drag: none;
}

.email-floating-button {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  width: clamp(56px, 5vw, 74px);
  height: clamp(56px, 5vw, 74px);
  border-radius: 50%;
  background: linear-gradient(145deg, #0e57a0, #07366d);
  border: 2px solid rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 10;
  box-shadow:
    0 14px 35px rgba(0, 24, 57, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: emailPulse 2s infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.email-floating-button:hover,
.email-floating-button:focus-visible {
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(145deg, #126abf, #073c79);
  box-shadow:
    0 18px 44px rgba(0, 24, 57, 0.5),
    0 0 0 8px rgba(14, 87, 160, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  outline: none;
}

.email-floating-button svg {
  width: 52%;
  height: 52%;
  fill: #ffffff;
  display: block;
}

@keyframes emailPulse {
  0% {
    box-shadow:
      0 0 0 0 rgba(14, 87, 160, 0.44),
      0 14px 35px rgba(0, 24, 57, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  70% {
    box-shadow:
      0 0 0 16px rgba(14, 87, 160, 0),
      0 14px 35px rgba(0, 24, 57, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }

  100% {
    box-shadow:
      0 0 0 0 rgba(14, 87, 160, 0),
      0 14px 35px rgba(0, 24, 57, 0.42),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}

@media (max-width: 700px) {
  .email-floating-button {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .email-floating-button {
    animation: none;
  }

  .email-floating-button,
  .email-floating-button:hover,
  .email-floating-button:focus-visible {
    transition: none;
  }
}
