    .navbar-collapse {
            z-index: 4000 !important;
    }

  :root {
    --brand: #3c60bf;
    --brand-dark: #2a4899;
    --brand-light: #5578d6;
    --gold: #c9a84c;
    --white: #ffffff;
    --text: #1a1a2e;
    --muted: #6b7280;
    --border: rgba(60,96,191,0.18);
    --glow: rgba(60,96,191,0.18);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: #f0f2f8;
    min-height: 100vh;
  }

  /* ═══════════════════════════
     TRIGGER BUTTON
  ═══════════════════════════ */
  #triggerBtn {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    background: linear-gradient(160deg, var(--brand-light), var(--brand-dark));
    border: none;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: -3px 0 20px rgba(60,96,191,0.4);
    animation: tabPulse 2.5s ease-in-out infinite;
    transition: opacity 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  }

  #triggerBtn:hover {
    padding: 20px 14px;
    animation: none;
    box-shadow: -5px 0 28px rgba(60,96,191,0.6);
  }

  @keyframes tabPulse {
    0%, 100% { transform: translateY(-50%) translateX(0);   box-shadow: -3px 0 20px rgba(60,96,191,0.4); }
    50%       { transform: translateY(-50%) translateX(-5px); box-shadow: -7px 0 30px rgba(60,96,191,0.65); }
  }

  .tab-icon {
    font-size: 18px;
    animation: iconBounce 2.5s ease-in-out infinite;
  }
  @keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
  }

  .tab-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
  }

  .tab-arrow {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    animation: arrowBlink 2.5s ease-in-out infinite;
  }
  @keyframes arrowBlink {
    0%, 100% { opacity: 0.35; }
    50%       { opacity: 1; }
  }

  /* ═══════════════════════════
     OVERLAY
  ═══════════════════════════ */
  #overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,15,40,0);
    backdrop-filter: blur(0);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: all 0.45s ease;
  }
  #overlay.active {
    opacity: 1;
    pointer-events: all;
    background: rgba(10,15,40,0.5);
    backdrop-filter: blur(4px);
  }

  /* ═══════════════════════════
     FORM PANEL
  ═══════════════════════════ */
  #formPanel {
    position: fixed;
    top: 50%;
    right: -400px;
    transform: translateY(-50%);
    width: 350px;
    background: var(--white);
    border-radius: 18px;
    z-index: 999;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    transition: right 0.5s cubic-bezier(0.22,1,0.36,1);
    display: flex;
    flex-direction: column;
    max-height: 92vh;
  }

  #formPanel.open { right: 14px; }

  /* Header */
  .panel-header {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 70%, #1a2d6b 100%);
    padding: 24px 22px 20px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
  }
  .panel-header::after {
    content: '';
    position: absolute;
    bottom: -50px; right: -50px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
  }

  .close-btn {
    position: absolute; top: 14px; right: 14px;
    width: 28px; height: 28px;
    background: rgba(255,255,255,0.12);
    border: none; border-radius: 50%;
    color: rgba(255,255,255,0.85); font-size: 14px;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease; z-index: 2;
  }
  .close-btn:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }

  .gold-bar { width: 28px; height: 2px; background: var(--gold); border-radius: 1px; margin-bottom: 10px; }

  .panel-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 600;
    color: #fff; line-height: 1.25;
    margin-bottom: 5px; position: relative; z-index: 1;
  }
  .panel-header p {
    font-size: 12px; color: rgba(255,255,255,0.6);
    font-weight: 300; position: relative; z-index: 1;
  }

  /* Body */
  .panel-body {
    padding: 20px 22px 26px;
    overflow-y: auto; flex: 1;
  }
  .panel-body::-webkit-scrollbar { width: 3px; }
  .panel-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

  /* Fields */
  .field { margin-bottom: 14px; }

  .field label {
    display: block;
    font-size: 10px; font-weight: 600;
    letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--muted); margin-bottom: 6px;
  }
  .field label span { color: var(--brand); }

  .field input,
  .field textarea,
  .field select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    padding: 10px 13px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; color: var(--text);
    background: #f8f9ff; outline: none;
    transition: all 0.25s ease;
  }
  .field input:focus,
  .field textarea:focus,
  .field select:focus {
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px var(--glow);
  }
  .field input::placeholder,
  .field textarea::placeholder { color: #b0b7c9; }
  .field textarea { height: 80px; resize: none; line-height: 1.5; }

  /* Phone row */
  .phone-row { display: flex; gap: 8px; }

  .cc-wrap {
    width: 0; overflow: hidden; opacity: 0; flex-shrink: 0;
    transition: width 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.3s ease;
    position: relative;
  }
  .cc-wrap.show { width: 105px; opacity: 1; }
  .cc-wrap select { appearance: none; padding-right: 22px; cursor: pointer; }
  .cc-wrap::after {
    content: '▾'; position: absolute; right: 9px; top: 50%;
    transform: translateY(-50%);
    color: var(--brand); font-size: 11px; pointer-events: none;
  }
  .phone-wrap { flex: 1; }

  .divider { border: none; border-top: 1px solid rgba(60,96,191,0.1); margin: 6px 0 14px; }

  /* Submit */
  .submit-btn {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: #fff; border: none; border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px; font-weight: 500;
    cursor: pointer; letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(60,96,191,0.35);
    transition: all 0.25s ease;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .submit-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(60,96,191,0.5); }
  .submit-btn:active { transform: translateY(0); }
  .submit-btn .arrow { transition: transform 0.25s ease; }
  .submit-btn:hover .arrow { transform: translateX(4px); }

  .privacy {
    text-align: center; font-size: 10.5px; color: var(--muted);
    margin-top: 10px; line-height: 1.5;
  }

  /* Stagger animation */
  .field, .divider, .submit-wrap {
    opacity: 0; transform: translateX(16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  #formPanel.open .field:nth-child(1)  { transition-delay: 0.08s; opacity:1; transform:translateX(0); }
  #formPanel.open .field:nth-child(2)  { transition-delay: 0.14s; opacity:1; transform:translateX(0); }
  #formPanel.open .field:nth-child(3)  { transition-delay: 0.20s; opacity:1; transform:translateX(0); }
  #formPanel.open .divider             { transition-delay: 0.26s; opacity:1; transform:translateX(0); }
  #formPanel.open .field:nth-child(5)  { transition-delay: 0.30s; opacity:1; transform:translateX(0); }
  #formPanel.open .submit-wrap         { transition-delay: 0.36s; opacity:1; transform:translateX(0); }

  .submit-wrap { margin-top: 4px; }

  /* Success screen */
  .success-overlay {
    position: absolute; inset: 0; background: #fff;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; padding: 36px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease; z-index: 5;
  }
  .success-overlay.show { opacity: 1; pointer-events: all; }

  .success-icon {
    width: 64px; height: 64px;
    background: linear-gradient(135deg, var(--brand), var(--brand-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; margin-bottom: 16px;
    animation: popIn 0.5s cubic-bezier(0.34,1.56,0.64,1);
  }
  @keyframes popIn { from { transform:scale(0); opacity:0; } to { transform:scale(1); opacity:1; } }

  .success-overlay h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; color: var(--text); margin-bottom: 8px;
  }
  .success-overlay p { font-size: 13px; color: var(--muted); line-height: 1.6; }

  @keyframes shake {
    0%,100% { transform:translateX(0); }
    20% { transform:translateX(-5px); }
    40% { transform:translateX(5px); }
    60% { transform:translateX(-3px); }
    80% { transform:translateX(3px); }
  }

