:root {
      --bg: #0E1E1F;
      --card: rgba(17, 28, 31, 0.25);
      --accent: #2EC4B6;
      --text: #E6F1F1;
      --soft: rgba(230,241,241,.6);
      --border: rgba(46,196,182,.2);
      --color-accent: #2EC4B6;
    }

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

    body {
      background: var(--bg);
      color: var(--text);
      overflow-x: hidden;
    }

    /* Match the shared EdgeBastion header. */
    .topbar {
      position: sticky;
      top: 0;
      z-index: 50;
      background: rgba(10, 22, 32, 0.96);
      border-bottom: 1px solid var(--border);
    }
    .container {
      width: min(1260px, calc(100% - 40px));
      margin: 0 auto;
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 16px 0;
    }
    .brand {
      display: flex;
      align-items: center;
      flex: 0 0 auto;
    }
    .brand-logo {
      height: 110px;
      width: auto;
      display: block;
      background: transparent;
    }
    .nav-links {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      flex-wrap: wrap;
      color: #C5D2D0;
      font-size: 0.95rem;
    }
    .nav-links a,
    .btn-primary {
      color: inherit;
      text-decoration: none;
    }
    .nav-links a:hover {
      color: #E6F1F1;
    }
    .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
      padding: 12px 24px;
      border-radius: 999px;
      background: linear-gradient(135deg, #D2A84D, #E1BC67);
      color: #0D171B;
      font-weight: 700;
    }
    /* --- HERO DISPLAY VIEWPORT --- */
    .form-container {
      display: grid;
      grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
      align-items: center;
      gap: 48px;
      width: min(1260px, calc(100% - 40px));
      margin: 0 auto;
      padding: 56px 0;
      min-height: calc(100vh - 142px);
      position: relative; 
    }

  /* --- UNIFIED SIDE LAYOUT COLUMN (WIDENED TO 620px) --- */
    .left-side-column {
      position: relative;
      width: 100%;
      z-index: 5;
      display: flex;
      flex-direction: column;
      align-items: stretch; 
      gap: 20px; 
    }

    /* --- CARD 1: TEXT QUOTES --- */
    .left-quotes-overlay {
      background: var(--card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: 26px 30px;
      border-radius: 16px;
      border: 1px solid var(--border);
      box-shadow: 0 10px 40px rgba(0,0,0,.5);
      width: 100%;
      
    }

    .left-quotes-overlay h1 {
      font-size: 2.1rem;
      font-weight: 800;
      color: #FFFFFF;
      line-height: 1.12;
      margin: 0 0 14px;
      white-space: normal;
      text-align: left;
    }

    .left-quotes-overlay h3 {
      font-size: 1.15rem;
      font-weight: 600;
      color: var(--accent);
      margin-bottom: 12px;
      text-align: left;
    }

    .left-quotes-overlay p {
      font-size: 0.92rem;
      line-height: 1.5;
      color: var(--soft);
      font-weight: 400;
      text-align: left;
    }

    /* --- CARD 2: BOOKING FORM CARD --- */
    .form-card {
      background: var(--card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: 30px clamp(24px, 4vw, 46px);
      border-radius: 16px;
      border: 1px solid var(--border);
      box-shadow: 0 10px 40px rgba(0,0,0,.5);
      width: 100%;
    }

    .form-card h2 {
      font-size: 1.4rem;
      margin-bottom: 20px;
      text-align: center; /* Centers the text inside its container */
  width: 100%;        /* Forces the headline block to span full width so alignment works */
    }

    label {
      font-size: 0.9rem;
      color: var(--soft);
    }

    input {
      width: 100%;
      padding: 11px;
      margin-top: 6px;
      margin-bottom: 16px;
      border-radius: 8px;
      border: 1px solid var(--border);
      background: rgba(11, 20, 22, 0.4); 
      color: var(--text);
    }

    input:focus {
      outline: none;
      border-color: var(--accent);
    }

    .submit-btn {
      display: block;       /* Forces the button to act as a block element */
      margin: 12px auto 0;
      width: 150px;
      padding: 13px;
      background: var(--accent);
      border: none;
      border-radius: 30px;
      font-weight: 600;
      cursor: pointer;
      color: #0B1416;
    }

    .submit-btn:hover {
      opacity: 0.9;
    }

    /* --- GRAPHICS OVERLAY --- */
    .graphics-overlay {
      position: relative;
      width: 100%;
      height: auto;
      aspect-ratio: 1376 / 768;
      pointer-events: none;
      z-index: 1; 
      display: flex;
      justify-content: center;
      align-items: center;
      /*
      -webkit-mask-image: 
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
      mask-image: 
        linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%),
        linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);

      -webkit-mask-composite: source-in;
      mask-composite: intersect;
      */
    }

    .brain-card {
      width: 100%;
      height: 100%;
      padding: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      border-radius: 24px;
      border: 1px solid var(--border);
      box-shadow: 0 10px 40px rgba(0,0,0,.5);
      background:
        radial-gradient(circle at 22% 18%, rgba(46,196,182,.14), transparent 36%),
        rgba(17,28,31,.32);
    }

    .brain-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    /* --- MOBILE RESPONSIVENESS --- */
    @media(max-width:1350px){
      .form-container {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
      }
      .brand-logo {
        height: 76px;
      }
      .nav {
        gap: 16px;
      }
      .nav-links {
        gap: 14px;
        font-size: 0.88rem;
      }
      .btn-primary {
        padding: 8px 14px;
        font-size: 0.82rem;
        min-height: 34px;
      }
      .left-side-column {
        width: 100%;
      }
      .graphics-overlay {
        width: 100%;
        height: auto;
      }
    }

    @media(max-width:1100px){
      .nav {
        flex-wrap: wrap;
        justify-content: center;
      }
      .nav-links {
        order: 3;
        width: 100%;
      }
      .form-container {
        grid-template-columns: 1fr;
        gap: 28px;
        align-items: stretch;
      }
      .left-side-column {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
      }
      .left-quotes-overlay h1 {
        white-space: normal; 
      }
      .graphics-overlay {
        display: flex;
        max-width: 760px;
        margin: 0 auto;
      }
    }

    @media(max-width:720px){
      .nav {
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 10px 14px;
        padding: 14px 0 16px;
      }
      .brand {
        width: 100%;
        justify-content: flex-start;
        align-items: center;
      }
      .brand-logo {
        height: 80px;
        max-width: 375px;
      }
      .nav-links {
        width: 100%;
        justify-content: center;
        align-items: center;
        gap: 8px 14px;
        font-size: .88rem;
        line-height: 1.15;
      }
      .nav-links a {
        padding: 4px 0;
        white-space: nowrap;
      }
      .btn-primary {
        padding: 8px 14px;
        font-size: .82rem;
        min-height: 34px;
        line-height: 1.15;
      }
      .form-container {
        padding: 28px 16px;
        min-height: calc(100vh - 89px);
        gap: 22px;
      }
      .left-quotes-overlay,
      .form-card {
        padding: 24px 20px;
      }
      .graphics-overlay {
        aspect-ratio: 4 / 3;
      }
      .brain-card {
        padding: 0;
        border-radius: 18px;
      }
    }
    @media(max-width:420px){
      .nav {
        gap: 8px 10px;
        padding: 12px 0 14px;
      }
      .brand-logo {
        height: 70px;
        max-width: 325px;
      }
      .nav-links {
        gap: 7px 10px;
        font-size: .78rem;
      }
      .btn-primary {
        padding: 7px 12px;
        font-size: .76rem;
        min-height: 32px;
      }
    }
