/* ============================================================
   GLOBAL RESET
   ============================================================ */
   *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

   /* ============================================================
      CSS CUSTOM PROPERTIES (DESIGN TOKENS)
      ============================================================ */
   :root {
     --bg: #0a0e1a;
     --bg-alt: #0d1220;
     --surface: #111827;
     --border: rgba(255,255,255,0.08);
     --text: #f1f5f9;
     --muted: #94a3b8;
     --blue: #3b82f6;
     --blue-dark: #2563eb;
     font-family: 'Inter', sans-serif;
   }
   
   /* ============================================================
      BODY
      ============================================================ */
   body { background: var(--bg); color: var(--text); scroll-behavior: smooth; }
   
   /* ============================================================
      NAVBAR
      ============================================================ */
   .navbar {
     display: flex;
     align-items: center;
     justify-content: space-between;
     padding: 1rem 4rem;
     background: rgba(10,14,26,0.95);
     border-bottom: 1px solid var(--border);
     position: sticky;
     top: 0;
     z-index: 100;
     backdrop-filter: blur(8px);
   }
   
   .nav-brand { display:flex; align-items:center; gap:.75rem; text-decoration:none; }
   .nav-logo { background:var(--blue); color:#fff; width:36px; height:36px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:1.1rem; flex-shrink:0; background: transparent; }
   .nav-logo img { width: 35px; height: 35px; object-fit: contain; display: block; }
   .nav-title { font-weight:700; font-size:1rem; color:var(--text); }
   .nav-sub { font-size:.7rem; color:var(--muted); }
   
   /* ============================================================
      NAV LINKS
      ============================================================ */
   .nav-links {
     display: flex;
     list-style: none;
     gap: 2rem;
     margin-left: auto;
     margin-right: 2rem;
   }
   .nav-links a {
     color: var(--muted);
     text-decoration: none;
     font-size: .9rem;
     transition: color .2s;
     position: relative;
     padding-bottom: 4px;
   }
   .nav-links a::after {
     content: '';
     position: absolute;
     bottom: 0; left: 0;
     width: 0; height: 2px;
     background: var(--blue);
     border-radius: 2px;
     transition: width .25s ease;
   }
   .nav-links a:hover { color: var(--text); }
   .nav-links a:hover::after { width: 100%; }
   
   .nav-cta { display: none; }
   
   /* ============================================================
      HAMBURGER MENU TOGGLE (Mobile)
      ============================================================ */
   .nav-toggle {
     display: none;
     flex-direction: column;
     gap: 5px;
     cursor: pointer;
     background: none;
     border: none;
     padding: 4px;
     margin-left: auto;
   }
   .nav-toggle span {
     display: block;
     width: 24px; height: 2px;
     background: var(--text);
     border-radius: 2px;
     transition: all .3s;
   }
   
   /* ============================================================
      BUTTONS
      ============================================================ */
   .btn-primary {
     background: var(--blue);
     color: #fff;
     padding: .55rem 1.2rem;
     border-radius: 5px;
     text-decoration: none;
     font-size: .9rem;
     font-weight: 600;
     border: none;
     cursor: pointer;
     transition: background .2s, transform .15s;
     display: inline-block;
     white-space: nowrap;
   }
   .btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
   .btn-outline {
     background: transparent;
     color: var(--text);
     padding: .55rem 1.2rem;
     border-radius: 8px;
     text-decoration: none;
     font-size: .9rem;
     font-weight: 600;
     border: 1px solid var(--border);
     transition: border-color .2s, transform .15s;
     display: inline-block;
     white-space: nowrap;
   }
   .btn-outline:hover { border-color: rgba(255,255,255,.3); transform: translateY(-1px); }
   .btn-full { width: 100%; text-align: center; margin-top: .5rem; padding: .85rem 1.2rem; border-radius: 5px; }
   
   /* ============================================================
      SECTIONS
      ============================================================ */
   .section { padding: 5rem 6rem; }
   .bg-alt { background: var(--bg-alt); }
   .section h2 { font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 1rem; }
   .section-sub { text-align: center; color: var(--muted); max-width: 650px; margin: 0 auto 1rem; line-height: 1.7; }
   .section-desc { text-align: center; color: var(--muted); max-width: 600px; margin: 0 auto 3rem; }
   .text-muted { color: var(--muted); font-size: .9rem; }
   
   /* ============================================================
      HERO SECTION
      ============================================================ */
   .hero { padding: 6rem 2rem 4rem; text-align: center; }
   .badge { display:inline-flex; align-items:center; gap:.4rem; background:var(--surface); border:1px solid var(--border); border-radius:99px; padding:.4rem 1rem; font-size:.8rem; color:var(--muted); margin-bottom:2rem; }
   .hero h1 { font-size: 3.2rem; font-weight: 800; max-width: 750px; margin: 0 auto 1.5rem; line-height: 1.2; }
   .highlight { color: var(--blue); }
   .hero-sub { color: var(--muted); max-width: 500px; margin: 0 auto 2.5rem; }
   .hero-btns { display: flex; gap: 1rem; justify-content: center; margin-bottom: 4rem; flex-wrap: wrap; }
   .stats { display: flex; justify-content: center; gap: 4rem; border-top: 1px solid var(--border); padding-top: 2.5rem; flex-wrap: wrap; }
   .stats > div { display: flex; flex-direction: column; align-items: center; gap: .25rem; }
   .stat-num { font-size: 2rem; font-weight: 800; color: var(--blue); }
   .stat-label { font-size: .8rem; color: var(--muted); }
   
   /* ============================================================
      GRID LAYOUTS
      ============================================================ */
   .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
   .grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
   .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
   
   /* ============================================================
      CARDS
      ============================================================ */
   .card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 1.75rem; transition: border-color .2s, transform .2s; }
   .card:hover { border-color: rgba(59,130,246,.35); transform: translateY(-3px); }
   .card-icon { font-size:1.5rem; margin-bottom:1rem; background:rgba(59,130,246,.15); width:44px; height:44px; border-radius:10px; display:flex; align-items:center; justify-content:center; }
   .card h3, .card h4 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
   .card p { color: var(--muted); font-size: .875rem; line-height: 1.6; }
   .card-check { font-size:1.2rem; color:var(--blue); background:rgba(59,130,246,.15); width:36px; height:36px; border-radius:99px; display:flex; align-items:center; justify-content:center; margin-bottom:1rem; }
   .card-divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
   .card small { color: var(--muted); font-size: .75rem; display: block; }
   .card strong { font-size: .95rem; }
   
   /* ============================================================
      FEATURE ITEMS
      ============================================================ */
   .feature-item { display:flex; gap:1rem; align-items:flex-start; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.5rem; transition: border-color .2s, transform .2s; }
   .feature-item:hover { border-color: rgba(59,130,246,.35); transform: translateY(-3px); }
   .feat-icon { font-size:1.4rem; background:rgba(59,130,246,.15); width:42px; height:42px; border-radius:10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
   .feature-item h4 { font-size:.95rem; font-weight:700; margin-bottom:.4rem; }
   .feature-item p { color:var(--muted); font-size:.85rem; line-height:1.5; }
   
   /* ============================================================
      QUALIFY BOX
      ============================================================ */
   .qualify-box { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:1.5rem 2rem; margin-top:2rem; display:flex; gap:1.2rem; align-items:flex-start; }
   .qual-icon { font-size:1.5rem; }
   .qualify-box p { color:var(--muted); font-size:.875rem; line-height:1.6; margin-top:.4rem; }
   
   /* ============================================================
      CONTACT SECTION
      ============================================================ */
   .contact-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 2rem;
     align-items: start;
   }
   
   .contact-info-col h3 {
     font-size: 1rem;
     font-weight: 700;
     margin-bottom: 1.25rem;
   }
   
   .contact-item {
     display: flex;
     align-items: flex-start;
     gap: .75rem;
     margin-bottom: 1.1rem;
     font-size: .85rem;
     color: var(--muted);
     line-height: 1.5;
   }
   
   .support-box {
     margin-top: 2rem;
     background: var(--surface);
     border: 1px solid var(--border);
     border-radius: 12px;
     padding: 1.25rem;
   }
   .support-box strong { font-size: .9rem; display: block; margin-bottom: .4rem; }
   .support-box p { font-size: .82rem; color: var(--muted); line-height: 1.6; margin: 0; }
   
   .contact-form-box {
     background: var(--surface);
     border: 1px solid var(--border);
     border-radius: 16px;
     overflow: hidden;
   }
   
   .demo-form-header {
     display: flex;
     align-items: center;
     gap: 1rem;
     padding: 1.4rem 2rem;
     border-bottom: 1px solid var(--border);
     background: rgba(255,255,255,.02);
   }
   
   .demo-form-icon {
     width: 40px;
     height: 40px;
     border-radius: 10px;
     border: 1px solid var(--border);
     background: rgba(255,255,255,.04);
     display: flex;
     align-items: center;
     justify-content: center;
     flex-shrink: 0;
     color: var(--blue);
   }
   
   .demo-form-header h3 {
     margin: 0 0 2px;
     font-size: .95rem;
     font-weight: 600;
   }
   
   .demo-form-header p {
     margin: 0;
     font-size: .78rem;
     color: var(--muted);
   }
   
   .demo-form-container {
     padding: 2rem;
   }
   
   .demo-form-container form {
     display: flex;
     flex-direction: column;
     gap: 1.2rem;
   }
   
   .form-row {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 1.2rem;
   }
   
   .form-group {
     display: flex;
     flex-direction: column;
     gap: 6px;
   }
   
   .form-group label {
     font-size: .70rem;
     font-weight: 500;
     color: var(--muted);
     letter-spacing: 0.05em;
     text-transform: uppercase;
   }
   
   .demo-form-container input,
   .demo-form-container select,
   .demo-form-container textarea {
     width: 100%;
     box-sizing: border-box;
     height: 36px;
     background: rgba(255,255,255,.04);
     border: 1px solid var(--border);
     border-radius: 7px;
     color: var(--text);
     padding: 0 .9rem;
     font-size: .80rem;
     font-family: inherit;
     transition: border-color .2s, background .2s;
   }
   
   .demo-form-container input:focus,
   .demo-form-container select:focus,
   .demo-form-container textarea:focus {
     outline: none;
     border-color: var(--blue);
     background: rgba(255,255,255,.07);
   }
   
   .demo-form-container textarea {
     height: auto;
     padding: .65rem .9rem;
     resize: vertical;
   }
   
   .demo-form-container select {
     appearance: none;
     -webkit-appearance: none;
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-position: right 10px center;
     background-color: rgba(255,255,255,.04);
     padding-right: 28px;
     cursor: pointer;
   }
   
   .demo-form-divider {
     display: flex;
     align-items: center;
     gap: 10px;
     margin: .4rem 0;
   }
   .demo-form-divider::before,
   .demo-form-divider::after {
     content: '';
     flex: 1;
     height: 1px;
     background: var(--border);
   }
   .demo-form-divider span {
     font-size: .68rem;
     font-weight: 500;
     color: var(--muted);
     letter-spacing: 0.06em;
     text-transform: uppercase;
     white-space: nowrap;
   }
   
   .btn-primary.btn-full {
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 6px;
     margin-top: .4rem;
   }
   
   .form-group input,
   .form-group textarea,
   .form-group select {
     width: 100%;
     padding: 10px 12px;
     border: 1px solid rgba(255,255,255,0.15);
     border-radius: 10px;
     background: rgba(255,255,255,0.05);
     color: #fff;
     font-size: 12px;
     transition: all 0.3s ease;
   }
   .form-group input:focus,
   .form-group textarea:focus,
   .form-group select:focus {
     outline: none;
     border-color: #00bcd4;
     box-shadow: 0 0 0 3px rgba(0,188,212,0.15);
   }
   .form-group select option {
     background: #1a1f2e;
     color: #fff;
   }
   
   /* ============================================================
      FOOTER
      ============================================================ */
   .footer { background:#080c18; border-top:1px solid var(--border); padding:3rem 6rem 1.5rem; }
   .footer-inner { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:2rem; margin-bottom:2rem; }
   .footer-brand .footer-logo-row { display:flex; align-items:center; gap:.5rem; font-size:1.1rem; font-weight:700; margin-bottom:.3rem; }
   .footer-logo { width: 30px; height: 30px; object-fit: contain; display: block; }
   .footer-tagline { color:var(--muted); font-size:.8rem; margin-bottom:.75rem; }
   .footer-brand p { color:var(--muted); font-size:.85rem; line-height:1.5; }
   .footer h4 { font-size:.9rem; font-weight:700; margin-bottom:1rem; }
   .footer ul { list-style:none; }
   .footer ul li { margin-bottom:.5rem; }
   .footer a { color:var(--muted); text-decoration:none; font-size:.85rem; transition:color .2s; }
   .footer a:hover { color:var(--text); }
   .footer p { color:var(--muted); font-size:.85rem; line-height:1.7; }
   .footer-copy { border-top:1px solid var(--border); padding-top:1.2rem; text-align:center; color:var(--muted); font-size:.8rem; }
   
   /* ============================================================
      RESPONSIVE BREAKPOINTS
      ============================================================ */
   
   /* Tablet (max 1024px) */
   @media (max-width: 1024px) {
     .navbar { padding: 1rem 2rem; }
     .section { padding: 4rem 2.5rem; }
     .footer { padding: 2.5rem 2.5rem 1.5rem; }
     .grid-4 { grid-template-columns: repeat(2,1fr); }
     .footer-inner { grid-template-columns: 1fr 1fr; }
     .hero h1 { font-size: 2.6rem; }
     .stats { gap: 2.5rem; }
   }
   
   /* Large Mobile (max 768px) */
   @media (max-width: 768px) {
     .navbar { padding: 1rem 1.25rem; }
   
     .nav-links {
       display: none;
       flex-direction: column;
       gap: 0;
       position: absolute;
       top: 100%;
       left: 0; right: 0;
       background: rgba(10,14,26,0.98);
       border-bottom: 1px solid var(--border);
       padding: .5rem 0;
       margin: 0;
     }
     .nav-links.open { display: flex; }
     .nav-links li a { display: block; padding: .75rem 1.5rem; font-size: 1rem; }
     .nav-links a::after { display: none; }
   
     .nav-toggle { display: flex; }
   
     .nav-cta-desktop { display: none; }
     .nav-cta {
       display: block;
       padding: .5rem 1.5rem 1rem;
     }
     .nav-cta .btn-primary {
       display: inline-block;
       width: auto;
       font-size: .9rem;
     }
   
     .section { padding: 3.5rem 1.25rem; }
     .section h2 { font-size: 1.8rem; }
   
     .hero { padding: 4rem 1.25rem 3rem; }
     .hero h1 { font-size: 2rem; }
     .stats { gap: 1.5rem; }
     .stat-num { font-size: 1.5rem; }
   
     .grid-3 { grid-template-columns: 1fr; }
     .grid-2 { grid-template-columns: 1fr; }
     .grid-4 { grid-template-columns: 1fr; }
   
     .contact-grid { grid-template-columns: 1fr; }
   
     .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
     .footer { padding: 2rem 1.25rem 1.25rem; }
   
     .proposal-grid { grid-template-columns: 1fr; }
     .proposal-card { padding: 24px 20px; }
     .proposal-actions { grid-template-columns: 1fr; }
   }
   
   /* Small Mobile (max 600px) */
   @media (max-width: 600px) {
     .form-row { grid-template-columns: 1fr; }
     .demo-form-header,
     .demo-form-container { padding: 1.2rem; }
   }
   
   /* Small Mobile (max 480px) */
   @media (max-width: 480px) {
     .hero h1 { font-size: 1.65rem; }
     .hero-btns { flex-direction: column; align-items: center; }
     .btn-primary, .btn-outline { width: 100%; text-align: center; }
     .stats { flex-direction: column; gap: 1.25rem; align-items: center; }
     .qualify-box { flex-direction: column; }
     .section h2 { font-size: 1.6rem; }
   }
   
   /* ============================================================
      SVG ICON COLOR OVERRIDES
      ============================================================ */
   .card-icon svg, .feat-icon svg, .card-check svg, .qual-icon svg {
     color: #3b82f6;
     stroke: #3b82f6;
   }
   
   .btn-primary svg {
     vertical-align: middle;
     margin-right: 6px;
     stroke: #fff;
     border-radius: 5px;
   }
   
   .contact-item svg {
     flex-shrink: 0;
     margin-top: 2px;
     stroke: #3b82f6;
   }
   
   /* ============================================================
      ACTIVE NAV LINK STATE
      ============================================================ */
   .nav-links a.active { color: var(--text); }
   .nav-links a.active::after { width: 100%; }
   
   /* ============================================================
      SCROLL REVEAL ANIMATION
      ============================================================ */
   .hidden-init {
     opacity: 0;
     transform: translateY(30px);
     transition: opacity 0.6s ease, transform 0.6s ease;
   }
   .revealed {
     opacity: 1;
     transform: translateY(0);
   }
   
   .grid-3 .card:nth-child(2),
   .grid-4 .card:nth-child(2) { transition-delay: 0.1s; }
   
   .grid-3 .card:nth-child(3),
   .grid-4 .card:nth-child(3) { transition-delay: 0.2s; }
   
   .grid-4 .card:nth-child(4) { transition-delay: 0.3s; }
   
   .grid-2 .card:nth-child(2),
   .grid-2 .feature-item:nth-child(2) { transition-delay: 0.1s; }
   
   .grid-2 .feature-item:nth-child(3) { transition-delay: 0.05s; }
   .grid-2 .feature-item:nth-child(4) { transition-delay: 0.15s; }
   .grid-2 .feature-item:nth-child(5) { transition-delay: 0.1s; }
   .grid-2 .feature-item:nth-child(6) { transition-delay: 0.2s; }
   
   /* ============================================================
      LIVE DEPLOYMENT CARD STYLES
      ============================================================ */
   .live-card {
     border-left: 4px solid #00c878;
     position: relative;
     transition: 0.3s ease;
   }
   .live-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 25px rgba(0,0,0,0.15);
   }
   
   .card-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
   }
   
   .status-badge {
     background: rgba(0, 200, 120, 0.12);
     color: #00c878;
     padding: 4px 10px;
     font-size: 11px;
     font-weight: 700;
     border-radius: 20px;
     border: 1px solid rgba(0, 200, 120, 0.3);
   }
   
   .location {
     display: flex;
     gap: 6px;
     align-items: flex-start;
     margin-top: 10px;
   }
   
   .description {
     margin-top: 10px;
     color: #555;
     line-height: 1.5;
   }
   
   @keyframes pulse-dot {
     0%, 100% { opacity: 1; }
     50% { opacity: 0.3; }
   }
   
   .live-border { border: none; }
   
   .badge-live-wrapper {
     display: inline-flex;
     align-items: center;
     justify-content: center;
     padding: 5px 10px;
     border-radius: 999px;
     background: rgba(16, 185, 129, 0.08);
     border: 1px solid rgba(16, 185, 129, 0.25);
     backdrop-filter: blur(4px);
     -webkit-backdrop-filter: blur(4px);
   }
   
   .live-dot {
     width: 7px;
     height: 7px;
     border-radius: 50%;
     background: #22c55e;
     display: inline-block;
     animation: pulse-dot 2s ease-in-out infinite;
     margin-right: 5px;
     vertical-align: middle;
   }
   
   .badge-live {
     display: inline-flex;
     align-items: center;
     color: #16a34a;
     font-size: 11px;
     font-weight: 500;
   }
   
   /* ============================================================
      CARD STATS GRID
      ============================================================ */
   .card-stats {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 10px;
     margin-top: 12px;
   }
   
   .stat-item {
     border-radius: 8px;
     padding: 10px 12px;
   }
   
   .stat-label {
     display: flex;
     align-items: center;
     gap: 4px;
     font-size: 11px;
     margin-bottom: 2px;
   }
   
   .stat-value {
     display: block;
     font-size: 18px;
     font-weight: 500;
   }
   
   /* ============================================================
      ALERTS & TOAST
      ============================================================ */
   .toast {
     position: relative;
     padding: 12px 15px;
     border-radius: 6px;
     font-size: 14px;
     margin-top: 10px;
     animation: fadeInOut 4s ease-in-out;
   }
   
   .alert-success {
     background: #e6f9ed;
     color: #1a7f37;
     border-left: 4px solid #1a7f37;
     margin-top: 15px;
     padding: 12px;
     border-radius: 10px;
   }
   
   .alert-error {
     background: #ffeaea;
     color: #d93025;
     border-left: 4px solid #d93025;
     margin-top: 15px;
     padding: 12px;
     border-radius: 10px;
   }
   
   @keyframes fadeInOut {
     0%   { opacity: 0; transform: translateY(-10px); }
     10%  { opacity: 1; transform: translateY(0); }
     90%  { opacity: 1; }
     100% { opacity: 0; transform: translateY(-10px); }
   }
   
   /* ============================================================
      MISC UTILITIES
      ============================================================ */
   #submitBtn i { margin-right: 6px; }
   
   .spin { animation: spin 1s linear infinite; }
   
   @keyframes spin {
     100% { transform: rotate(360deg); }
   }
   
   button:disabled {
     opacity: 0.7;
     cursor: not-allowed;
   }
   
   /* ============================================================
      PROPOSAL MODAL
      ============================================================ */
   .proposal-modal {
     display: none;
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, 0.65);
     z-index: 9999;
     justify-content: center;
     align-items: center;
     padding: 20px;
   }
   
   .proposal-modal.show {
     display: flex;
   }
   
   .proposal-card {
     width: 100%;
     max-width: 560px;
     background: #ffffff;
     border-radius: 12px;
     padding: 36px 40px 32px;
     position: relative;
     box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
     max-height: 90vh;
     overflow-y: auto;
   }
   
   .proposal-close {
     position: absolute;
     top: 18px;
     right: 20px;
     background: none;
     border: none;
     font-size: 16px;
     color: #9ca3af;
     cursor: pointer;
     transition: color 0.2s;
   }
   
   .proposal-close:hover { color: #374151; }
   
.proposal-header{
    margin:-36px -40px 24px;
    padding:28px 40px;
    background:linear-gradient(
        135deg,
        #1e3a8a,
        #2563eb
    );
    color:#fff;
    border-radius:12px 12px 0 0;
}

.proposal-header h2{
    margin:0;
    font-size:22px;
    font-weight:700;
}

.proposal-header p{
    margin-top:6px;
    font-size:13px;
    opacity:.9;
}

   
   .proposal-grid {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 16px;
     margin-bottom: 16px;
   }
   
   /* Scoped overrides — prevent global .form-group dark styles from bleeding in */
   .proposal-card .form-group {
     display: flex;
     flex-direction: column;
     gap: 6px;
     margin-bottom: 16px;
   }
   
   .proposal-card .form-group label {
     font-size: 13px;
     font-weight: 600;
     color: #374151;
     text-transform: none;
     letter-spacing: normal;
   }
   
   .proposal-card .form-group input,
   .proposal-card .form-group select,
   .proposal-card .form-group textarea {
     width: 100%;
     height: auto;
     border: 1.5px solid #e5e7eb;
     border-radius: 7px;
     padding: 10px 13px;
     font-size: 14px;
     color: #111827;
     background: #ffffff;
     outline: none;
     font-family: inherit;
     transition: border-color 0.18s, box-shadow 0.18s;
     appearance: none;
     -webkit-appearance: none;
     box-shadow: none;
   }
   
   .proposal-card .form-group input::placeholder,
   .proposal-card .form-group textarea::placeholder { color: #9ca3af; }
   
   .proposal-card .form-group input:focus,
   .proposal-card .form-group select:focus,
   .proposal-card .form-group textarea:focus {
     border-color: #1e3a8a;
     box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.08);
     background: #ffffff;
   }
   
   .proposal-card .form-group select {
     background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
     background-repeat: no-repeat;
     background-position: right 12px center;
     background-color: #ffffff;
     padding-right: 32px;
     cursor: pointer;
     color: #9ca3af;
   }
   
   .proposal-card .form-group select.has-value { color: #111827; }
   
   .proposal-card .form-group textarea {
     resize: vertical;
     min-height: 100px;
   }
   
   .proposal-actions {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 12px;
     margin-top: 8px;
     margin-bottom: 24px;
   }
   
   .btn-cancel {
     background: #ffffff;
     border: 1.5px solid #e5e7eb;
     border-radius: 8px;
     padding: 12px;
     font-size: 15px;
     font-weight: 500;
     color: #374151;
     cursor: pointer;
     font-family: inherit;
     transition: background 0.18s, border-color 0.18s;
     flex: unset;
   }
   
   .btn-cancel:hover {
     background: #f9fafb;
     border-color: #d1d5db;
   }
   
   .btn-submit {
     background: #1e3a8a;
     border: none;
     border-radius: 8px;
     padding: 12px;
     font-size: 15px;
     font-weight: 600;
     color: #ffffff;
     cursor: pointer;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     font-family: inherit;
     transition: background 0.18s;
     flex: unset;
   }
   
   .btn-submit:hover { background: #1e40af; }
   
   .proposal-info{
    margin-top:20px;
    padding:14px 16px;
    border-radius:10px;
    background:#f8fafc;
    border-left:4px solid #2563eb;
    display:flex;
    align-items:flex-start; /* changed */
    gap:12px;
    color:#475569;
    font-size:13px;
    line-height:1.6;
}

.proposal-info i{
  color:#2563eb;
  font-size:16px;
  margin-top:2px;
  flex-shrink:0;
}
   
   .proposal-info h4 {
     font-size: 14px;
     font-weight: 700;
     color: #111827;
     margin-bottom: 10px;
   }
   
   .proposal-info ul {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     gap: 6px;
   }
   
   .proposal-info ul li {
     font-size: 13px;
     color: #1e3a8a;
     padding-left: 14px;
     position: relative;
   }
   
   .proposal-info ul li::before {
     content: '•';
     position: absolute;
     left: 0;
     color: #1e3a8a;
   }
   
   #proposalResult {
     margin-bottom: 8px;
     font-size: 14px;
     font-weight: 400;
     text-align: center;
   }

   




/* ── Success State ─────────────────────────────────── */


.proposal-success-icon i {
  position: relative;
  z-index: 1;
}

.proposal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1.5rem 1.75rem;
  gap: 1.25rem;
  animation: successFadeIn 0.35s ease both;
}

@keyframes successFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.proposal-success-icon {
  position: relative;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #059669;
  flex-shrink: 0;
}

.proposal-success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #6ee7b7;
  animation: ringPulse 1.8s ease-out 0.1s both;
}

@keyframes ringPulse {
  0%   { transform: scale(0.6); opacity: 0; }
  60%  { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1);   opacity: 1; }
}


.proposal-success-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #065f46;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.proposal-success-body p {
  font-size: 0.875rem;
  color: #374151;
  margin: 0;
  max-width: 340px;
  line-height: 1.65;
}

.proposal-success-meta {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid #d1fae5;
  border-radius: 12px;
  overflow: hidden;
  background: #f0fdf4;
}

.proposal-success-meta-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem;
  text-align: left;
}

.proposal-success-meta-item + .proposal-success-meta-item {
  border-top: 1px solid #d1fae5;
}

.proposal-success-meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #059669;
  flex-shrink: 0;
}

.proposal-success-meta-label {
  display: block;
  font-size: 0.72rem;
  color: #6b7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 2px;
}

.proposal-success-meta-value {
  display: block;
  font-size: 0.82rem;
  color: #065f46;
  font-weight: 500;
  line-height: 1.3;
}

.proposal-success-close {
  margin-top: 0.25rem;
  padding: 0.55rem 2rem;
  border: 1.5px solid #6ee7b7;
  background: transparent;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #059669;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.proposal-success-close:hover {
  background: #ecfdf5;
  color: #047857;
}

/* Error state */
.proposal-error {
  padding: 0.85rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}