/* ============================================================
   Reset & Base Styles
============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #f4f6f8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Utility Container */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* Logo - Medium size */
.header__logo {
  height: 64px;
  width: 64px;
  object-fit: contain;
  margin-right: 12px;
}

/* Branding group: logo + text side by side */
.header__brand {
  display: flex;
  align-items: center;
}

/* ============================================================
   Header
============================================================ */
header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
  padding-block: 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  height: 48px;
  width: auto;
}

.header__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-left: 12px;
}

/* ============================================================
   Navigation
============================================================ */
.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.nav a:hover,
.nav a:focus {
  color: #2563eb;
  outline: none;
}

/* ============================================================
   Main Content
============================================================ */
main {
  padding-block: 60px;
}

.card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* ============================================================
   Typography
============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  color: #111827;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

p {
  margin-bottom: 20px;
  color: #4b5563;
}

/* ============================================================
   Buttons
============================================================ */
.button {
  display: inline-block;
  background-color: #2563eb;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.button:hover,
.button:focus {
  background-color: #1d4ed8;
  outline: none;
}

/* Container to hold falling logos, behind everything */
.falling-logo-container {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      overflow: hidden;
      z-index: -1; /* Behind all content */
      pointer-events: none;
    }

    .falling-logo {
      position: absolute;
      top: -100px;
      left: var(--x);
      width: 50px;
      animation: fall 20s linear infinite;
      animation-delay: var(--delay);
      opacity: 0.8;
      filter: brightness(1.4) contrast(1.2);
    }

    @keyframes fall {
      0% {
        transform: translateX(0) rotate(0deg);
        opacity: 1;
      }
      25% {
        transform: translateX(-30px) rotate(-45deg);
      }
      50% {
        transform: translateX(30px) rotate(90deg);
      }
      75% {
        transform: translateX(-20px) rotate(135deg);
      }
      100% {
        transform: translateY(110vh) translateX(10px) rotate(180deg);
        opacity: 0;
      }
    }

/* ============================================================
   Footer
============================================================ */
footer {
  background-color: #f9fafb;
  padding: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: #6b7280;
  border-top: 1px solid #e5e7eb;
}
