/*!
Theme Name: hev
Theme URI: https://hevcapitalconnect.com/
Author: hevcapitalconnect
Author URI: https://hevcapitalconnect.com/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: hev
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

hev is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

        /* ===== RESET & BASE ===== */
        *,
        *::before,
        *::after {
          box-sizing: border-box;
          margin: 0;
          padding: 0;
        }

        html {
          scroll-behavior: smooth;
          -webkit-text-size-adjust: 100%;
        }

        body {
          font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
          background: #0D0D0D;
          color: #E0E0E0;
          line-height: 1.6;
          font-size: 15px;
          -webkit-font-smoothing: antialiased;
          -moz-osx-font-smoothing: grayscale;
        }

        /* ===== HEADER ===== */
        .site-header {
          position: sticky;
          top: 0;
          z-index: 100;
          background: rgba(13, 13, 13, 0.92);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          border-bottom: 1px solid #1A1A1A;
          padding: 0 24px;
          height: auto;
          display: flex;
          align-items: center;
          justify-content: space-between;
        }

        .logo {
          font-size: 18px;
          font-weight: 700;
          color: #fff;
          letter-spacing: -0.02em;
          height: 100px;
        }

        .logo span {
          color: #A2E02B;
        }

        .header-right {
          font-size: 13px;
          color: #888;
          font-weight: 500;
        }

        /* ===== PROGRESS BAR ===== */
        .progress-bar {
          position: sticky;
          top: 100px;
          z-index: 99;
          background: rgba(13, 13, 13, 0.95);
          backdrop-filter: blur(12px);
          -webkit-backdrop-filter: blur(12px);
          border-bottom: 1px solid #1A1A1A;
          padding: 12px 24px;
          overflow-x: auto;
          scrollbar-width: none;
          -ms-overflow-style: none;
        }

        .progress-bar::-webkit-scrollbar {
          display: none;
        }

        .progress-steps {
          display: flex;
          align-items: center;
          gap: 4px;
          min-width: max-content;
          max-width: 720px;
          margin: 0 auto;
        }

        .progress-step {
          display: flex;
          align-items: center;
          gap: 8px;
          cursor: pointer;
          padding: 6px 12px;
          border-radius: 8px;
          transition: background 0.2s;
          white-space: nowrap;
          text-decoration: none;
        }

        .progress-step:hover {
          background: #1A1A1A;
        }

        .step-num {
          width: 26px;
          height: 26px;
          border-radius: 50%;
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 12px;
          font-weight: 600;
          border: 2px solid #333;
          color: #888;
          transition: all 0.3s;
          flex-shrink: 0;
        }

        .step-label {
          font-size: 13px;
          color: #888;
          font-weight: 500;
          transition: color 0.3s;
        }

        .progress-step.active .step-num {
          background: #A2E02B;
          border-color: #A2E02B;
          color: #0D0D0D;
        }

        .progress-step.active .step-label {
          color: #E0E0E0;
        }

        .progress-step.completed .step-num {
          background: #A2E02B;
          border-color: #A2E02B;
          color: #0D0D0D;
        }

        .progress-step.completed .step-label {
          color: #888;
        }

        .step-connector {
          width: 20px;
          height: 2px;
          background: #333;
          flex-shrink: 0;
          border-radius: 1px;
        }

        .step-connector.filled {
          background: #A2E02B;
        }

        /* ===== MAIN CONTENT ===== */
        .main-container {
          max-width: 720px;
          margin: 0 auto;
          padding: 32px 20px 80px;
        }

        /* ===== FORM SECTIONS ===== */
        .form-section {
          background: #1A1A1A;
          border: 1px solid #262626;
          border-radius: 16px;
          padding: 32px 28px;
          margin-bottom: 24px;
        }

        @media (max-width: 600px) {
          .form-section {
            padding: 24px 18px;
          }
        }

        .section-header {
          margin-bottom: 28px;
          padding-bottom: 20px;
          border-bottom: 1px solid #262626;
        }

        .section-number {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          width: 28px;
          height: 28px;
          border-radius: 50%;
          background: #A2E02B;
          color: #0D0D0D;
          font-size: 13px;
          font-weight: 700;
          margin-bottom: 12px;
        }

        .section-title {
          font-size: 22px;
          font-weight: 700;
          color: #fff;
          letter-spacing: -0.02em;
          margin-bottom: 4px;
        }

        .section-subtitle {
          font-size: 14px;
          color: #888;
          line-height: 1.5;
        }

        /* ===== FORM FIELDS ===== */
        .field-group {
          margin-bottom: 22px;
        }

        .field-row {
          display: grid;
          grid-template-columns: 1fr 1fr;
          gap: 16px;
        }

        @media (max-width: 600px) {
          .field-row {
            grid-template-columns: 1fr;
          }
        }

        .field-label {
          display: block;
          font-size: 13px;
          font-weight: 600;
          color: #ccc;
          margin-bottom: 6px;
        }

        .field-label .req {
          color: #A2E02B;
          margin-left: 2px;
        }

        .field-helper {
          font-size: 12px;
          color: #666;
          margin-top: 4px;
          line-height: 1.4;
        }

        /* Inputs */
        input[type="text"],
        input[type="email"],
        input[type="url"],
        input[type="tel"],
        input[type="number"],
        select,
        textarea {
          width: 100%;
          background: #222;
          border: 1px solid #333;
          border-radius: 10px;
          color: #fff;
          font-family: 'Inter', sans-serif;
          font-size: 14px;
          padding: 11px 14px;
          transition: border-color 0.2s, box-shadow 0.2s;
          outline: none;
          appearance: none;
          -webkit-appearance: none;
        }

        input:focus,
        select:focus,
        textarea:focus {
          border-color: #A2E02B;
          box-shadow: 0 0 0 3px rgba(162, 224, 43, 0.1);
        }

        input::placeholder,
        textarea::placeholder {
          color: #555;
        }

        textarea {
          resize: vertical;
          min-height: 100px;
        }

        select {
          cursor: pointer;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
          background-repeat: no-repeat;
          background-position: right 14px center;
          padding-right: 36px;
        }

        select option {
          background: #222;
          color: #fff;
        }

        /* Radio & Checkbox groups */
        .radio-group,
        .checkbox-group {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          margin-top: 4px;
        }

        .radio-option,
        .checkbox-option {
          position: relative;
          cursor: pointer;
        }

        .radio-option input,
        .checkbox-option input {
          position: absolute;
          opacity: 0;
          width: 0;
          height: 0;
        }

        .radio-option .option-label,
        .checkbox-option .option-label {
          display: inline-block;
          padding: 8px 16px;
          background: #222;
          border: 1px solid #333;
          border-radius: 8px;
          font-size: 13px;
          color: #ccc;
          transition: all 0.2s;
          user-select: none;
        }

        .radio-option input:checked+.option-label,
        .checkbox-option input:checked+.option-label {
          background: rgba(162, 224, 43, 0.12);
          border-color: #A2E02B;
          color: #A2E02B;
        }

        .radio-option:hover .option-label,
        .checkbox-option:hover .option-label {
          border-color: #555;
        }

        /* File upload */
        .file-upload {
          border: 2px dashed #333;
          border-radius: 12px;
          padding: 24px;
          text-align: center;
          cursor: pointer;
          transition: border-color 0.2s, background 0.2s;
          background: #1a1a1a;
        }

        .file-upload:hover {
          border-color: #555;
          background: #222;
        }

        .file-upload.has-file {
          border-color: #A2E02B;
          border-style: solid;
          background: rgba(162, 224, 43, 0.05);
        }

        .file-upload input[type="file"] {
          display: none;
        }

        .file-upload-text {
          font-size: 14px;
          color: #888;
        }

        .file-upload-text strong {
          color: #A2E02B;
        }

        .file-upload .file-name {
          margin-top: 8px;
          font-size: 13px;
          color: #A2E02B;
          font-weight: 500;
        }

        .file-upload .file-limit {
          font-size: 11px;
          color: #555;
          margin-top: 4px;
        }

        /* Character counter */
        .char-counter {
          font-size: 11px;
          color: #555;
          text-align: right;
          margin-top: 4px;
        }

        .char-counter.near-limit {
          color: #e0a020;
        }

        .char-counter.at-limit {
          color: #e04040;
        }

        /* Conditional fields */
        .conditional {
          max-height: 0;
          overflow: hidden;
          opacity: 0;
          transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
          margin-top: 0;
        }

        .conditional.show {
          max-height: 2000px;
          opacity: 1;
          margin-top: 22px;
        }

        /* Sub-section label */
        .sub-label {
          font-size: 15px;
          font-weight: 600;
          color: #A2E02B;
          margin-bottom: 16px;
          padding-top: 8px;
        }

        /* Divider */
        .form-divider {
          height: 1px;
          background: #262626;
          margin: 24px 0;
        }

        /* ===== AGREEMENT ===== */
        .agreement-box {
          display: flex;
          align-items: flex-start;
          gap: 12px;
          background: #222;
          border: 1px solid #333;
          border-radius: 12px;
          padding: 16px;
          cursor: pointer;
        }

        .agreement-box input[type="checkbox"] {
          appearance: none;
          -webkit-appearance: none;
          width: 20px;
          height: 20px;
          min-width: 20px;
          border: 2px solid #555;
          border-radius: 4px;
          background: #1A1A1A;
          cursor: pointer;
          margin-top: 2px;
          transition: all 0.2s;
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .agreement-box input[type="checkbox"]:checked {
          background: #A2E02B;
          border-color: #A2E02B;
          background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3 3 7-7' stroke='%230D0D0D' stroke-width='2' fill='none'/%3E%3C/svg%3E");
          background-repeat: no-repeat;
          background-position: center;
        }

        .agreement-text {
          font-size: 13px;
          color: #999;
          line-height: 1.5;
        }

        /* ===== SUBMIT ===== */
        .submit-section {
          text-align: center;
          margin-top: 8px;
        }

        .submit-btn {
          display: inline-flex;
          align-items: center;
          justify-content: center;
          background: #A2E02B;
          color: #0D0D0D;
          border: none;
          border-radius: 12px;
          padding: 16px 48px;
          font-family: 'Inter', sans-serif;
          font-size: 16px;
          font-weight: 700;
          cursor: pointer;
          transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
          letter-spacing: -0.01em;
        }

        .submit-btn:hover {
          transform: translateY(-1px);
          box-shadow: 0 4px 20px rgba(162, 224, 43, 0.25);
        }

        .submit-btn:active {
          transform: translateY(0);
        }

        .submit-btn:disabled {
          opacity: 0.5;
          cursor: not-allowed;
          transform: none;
          box-shadow: none;
        }

        .submit-note {
          font-size: 13px;
          color: #666;
          margin-top: 12px;
        }

        /* ===== VALIDATION ERRORS ===== */
        .field-error {
          font-size: 12px;
          color: #e04040;
          margin-top: 4px;
          display: none;
        }

        .field-group.has-error input,
        .field-group.has-error select,
        .field-group.has-error textarea {
          border-color: #e04040;
        }

        .field-group.has-error .field-error {
          display: block;
        }

        .field-group.has-error .file-upload {
          border-color: #e04040;
        }

        /* ===== SUCCESS STATE ===== */
        .success-overlay {
          display: none;
          position: fixed;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          background: rgba(13, 13, 13, 0.96);
          z-index: 1000;
          align-items: center;
          justify-content: center;
          flex-direction: column;
          text-align: center;
          padding: 24px;
        }

        .success-overlay.show {
          display: flex;
        }

        .success-check {
          width: 80px;
          height: 80px;
          border-radius: 50%;
          background: #A2E02B;
          display: flex;
          align-items: center;
          justify-content: center;
          margin-bottom: 24px;
          animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        @keyframes scaleIn {
          0% {
            transform: scale(0);
          }

          100% {
            transform: scale(1);
          }
        }

        .success-check svg {
          width: 40px;
          height: 40px;
        }

        .success-title {
          font-size: 28px;
          font-weight: 700;
          color: #fff;
          margin-bottom: 8px;
          letter-spacing: -0.02em;
        }

        .success-text {
          font-size: 16px;
          color: #888;
          max-width: 440px;
          line-height: 1.6;
        }

        /* Confetti */
        .confetti-container {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          pointer-events: none;
          z-index: 1001;
          overflow: hidden;
        }

        .confetti-piece {
          position: absolute;
          width: 10px;
          height: 10px;
          top: -10px;
          opacity: 0;
        }

        @keyframes confettiFall {
          0% {
            top: -10px;
            opacity: 1;
            transform: rotate(0deg) translateX(0);
          }

          100% {
            top: 110vh;
            opacity: 0;
            transform: rotate(720deg) translateX(var(--drift));
          }
        }

        /* ===== FOOTER ===== */
        .site-footer {
          text-align: center;
          padding: 32px 20px;
          border-top: 1px solid #1A1A1A;
        }

        .footer-text {
          font-size: 12px;
          color: #555;
          line-height: 1.8;
        }

        .footer-text a {
          color: #888;
          text-decoration: none;
          transition: color 0.2s;
        }

        .footer-text a:hover {
          color: #A2E02B;
        }

        /* ===== SCROLL MARGIN ===== */
        .form-section {
          scroll-margin-top: 120px;
        }

        /* ===== PHONE PREFIX ===== */
        .phone-wrapper {
          display: flex;
          gap: 8px;
        }

        .phone-prefix {
          width: 72px;
          flex-shrink: 0;
          text-align: center;
          background: #1A1A1A;
          border: 1px solid #333;
          border-radius: 10px;
          color: #888;
          font-size: 14px;
          padding: 11px 8px;
          font-family: 'Inter', sans-serif;
        }

        .phone-wrapper input[type="tel"] {
          flex: 1;
        }