@charset "utf-8";
/* CSS Document */

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

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    .hero {
      width: 100%;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 4rem 1.5rem;
      color: #fff;
      position: relative;
      overflow: hidden;
      background-color: #000; /* shown if the video fails to load */
    }

    /* Background video: stretched to cover the whole section */
    .hero__video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 0;
    }

    /* Colour overlay: change the rgba() to adjust colour/strength */
    .hero::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.2);
      z-index: 1;
    }

    /* Keep the content above the image and overlay */
    .hero > *:not(.hero__video) {
      position: relative;
      z-index: 2;
    }

    /* Logo image: scales with the screen, never overflows, keeps its proportions */
    .hero__logo {
      display: block;
      width: clamp(90px, 18vw, 220px); /* min, preferred, max width */
      max-width: 100%;
      height: auto;
      margin-bottom: 2rem;
    }

    .hero__title {
      font-size: clamp(2.5rem, 7vw, 5rem);
      font-weight: 800;
      line-height: 1.1;
      max-width: 16ch;
      margin-bottom: 1.25rem;
    }

    .hero__subtitle {
      font-size: clamp(1rem, 2vw, 1.375rem);
      font-weight: 400;
      line-height: 1.6;
      max-width: 52ch;
      opacity: 0.85;
      margin-bottom: 2.5rem;
    }

    .hero__buttons {
      display: flex;
      flex-direction: row;
      gap: 1rem;
      justify-content: center;
    }

    .btn {
      display: inline-block;
      padding: 0.9rem 2rem;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      border-radius: 6px;
      border: 2px solid #fff;
      transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
    }

    .btn:hover {
      transform: translateY(-2px);
    }

    .btn--primary {
      background: #fff;
      color: #000;
    }

    .btn--primary:hover {
      background: #e5e5e5;
    }

    .btn--secondary {
      background: transparent;
      color: #fff;
    }

    .btn--secondary:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    /* Keep buttons side by side on small screens */
    @media (max-width: 480px) {
      .hero__buttons {
        gap: 0.75rem;
      }
      .btn {
        padding: 0.8rem 1.25rem;
        font-size: 0.9rem;
      }
    }