  :root {
      --navy: #0B1F3A;
      --navy-mid: #122744;
      --navy-light: #1a3560;
      --gold: #C9A84C;
      --gold-light: #E2C87A;
      --gold-pale: #F5E8C0;
      --white: #FAFAF8;
      --offwhite: #F0EDE6;
      --black: #080F1A;
      --gray: #8A9BB0;
      --gray-light: #b0bfce;
      --success: #3ecf8e;
      --font-display: 'Cormorant Garamond', Georgia, serif;
      --font-body: 'DM Sans', sans-serif;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --transition: .25s cubic-bezier(.4,0,.2,1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
      font-family: var(--font-body);
      padding: 1rem;
      color: var(--white);
      min-height: 100vh;
    }

    /* Compact Form Container */
    .form-container {
      max-width: 700px;
      margin: 0 auto;
      background: var(--navy-light);
      border-radius: var(--radius-lg);
      box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.4);
      overflow: hidden;
      border: 1px solid rgba(201, 168, 76, 0.3);
    }

    /* Compact Header */
    .brand-header {
      background: var(--navy);
      padding: 0.8rem 1.2rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
      border-bottom: 2px solid var(--gold);
    }

    .logo-area h1 {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.3rem;
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
      margin: 0;
    }

    .logo-area p {
      font-size: 0.7rem;
      opacity: 0.85;
      color: var(--gold-pale);
      margin: 0;
    }

    .tagline {
      background: rgba(201, 168, 76, 0.15);
      color: var(--gold);
      padding: 0.3rem 0.8rem;
      border-radius: 30px;
      font-size: 0.7rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      border: 1px solid rgba(201, 168, 76, 0.3);
    }

    /* Compact Form */
    form {
      padding: 1rem 1.2rem;
    }

    /* Compact Section Cards */
    .section-card {
      background: var(--navy-mid);
      border-radius: var(--radius-md);
      border: 1px solid rgba(201, 168, 76, 0.25);
      margin-bottom: 1rem;
      overflow: hidden;
    }

    .section-title {
      background: var(--navy);
      padding: 0.6rem 1rem;
      border-bottom: 1px solid var(--gold);
      font-weight: 600;
      font-size: 0.9rem;
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--gold-light);
    }

    .section-title i {
      color: var(--gold);
      font-size: 1rem;
    }

    .section-content {
      padding: 0.8rem 1rem;
    }

    /* Compact Grid */
    .row-2cols {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 0.8rem;
    }

    .input-group {
      display: flex;
      flex-direction: column;
      gap: 0.3rem;
    }

    .input-group label {
      font-weight: 600;
      font-size: 0.7rem;
      letter-spacing: 0.3px;
      color: var(--gold-pale);
      text-transform: uppercase;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
      padding: 0.5rem 0.8rem;
      border-radius: var(--radius-sm);
      border: 1px solid rgba(201, 168, 76, 0.3);
      font-size: 0.85rem;
      background: var(--white);
      transition: var(--transition);
      color: var(--navy);
    }

    .input-group textarea {
      resize: vertical;
      min-height: 60px;
    }

    .input-group input:focus,
    .input-group select:focus,
    .input-group textarea:focus {
      outline: none;
      border-color: var(--gold);
      box-shadow: 0 0 0 2px rgba(201, 168, 76, 0.2);
    }

    /* Category Tabs */
    .category-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-bottom: 12px;
    }

    .category-btn {
      background: rgba(10, 18, 31, 0.8);
      border: 1px solid var(--gold);
      color: var(--gold);
      padding: 4px 12px;
      border-radius: 20px;
      cursor: pointer;
      font-size: 11px;
      transition: all 0.2s ease;
    }

    .category-btn:hover,
    .category-btn.active {
      background: var(--gold);
      color: var(--navy);
    }

    /* Selected Services Summary */
    .selected-summary {
      background: rgba(201, 168, 76, 0.1);
      border: 1px solid rgba(201, 168, 76, 0.3);
      border-radius: 8px;
      padding: 8px 10px;
      margin-bottom: 12px;
    }

    .selected-summary strong {
      color: var(--gold);
      font-size: 11px;
      display: block;
      margin-bottom: 6px;
    }

    .selected-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .selected-tag {
      background: var(--gold);
      color: var(--navy);
      padding: 3px 8px;
      border-radius: 15px;
      font-size: 10px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .remove-tag {
      cursor: pointer;
      font-weight: bold;
      font-size: 12px;
      opacity: 0.7;
    }

    .remove-tag:hover {
      opacity: 1;
    }

    /* Checkboxes Container */
    .service-checkboxes-container {
      background: rgba(10, 18, 31, 0.6);
      border: 1px solid rgba(201, 168, 76, 0.3);
      border-radius: 8px;
      padding: 8px 10px;
      max-height: 200px;
      overflow-y: auto;
    }

    .category-header h6 {
      color: var(--gold);
      font-size: 11px;
      margin-bottom: 6px;
      padding-bottom: 3px;
      border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    }

    .checkbox-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      gap: 5px;
    }

    .form-check {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 4px;
    }

    .form-check-input {
      width: 14px;
      height: 14px;
      cursor: pointer;
      accent-color: var(--gold);
    }

    .form-check-label {
      color: var(--white);
      font-size: 11px;
      cursor: pointer;
    }

    .form-check-label:hover {
      color: var(--gold);
    }

    /* Service Row */
    .service-row {
      background: var(--navy);
      border-radius: var(--radius-md);
      padding: 0.8rem;
      border: 1px solid rgba(201, 168, 76, 0.2);
      margin-bottom: 0.8rem;
    }

    .inline-fields {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      align-items: flex-end;
      margin-top: 0.5rem;
    }

    .inline-fields .input-group {
      flex: 1 1 180px;
    }

    .badge-cat {
      font-weight: 700;
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      color: var(--navy);
      display: inline-block;
      padding: 0.2rem 0.8rem;
      border-radius: 20px;
      font-size: 0.7rem;
      margin-bottom: 0.5rem;
    }

    /* EV Category Grid */
    .ev-category-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 0.8rem;
      margin-bottom: 0.8rem;
    }

    .ev-category-card {
      background: rgba(11, 31, 58, 0.6);
      border-radius: var(--radius-md);
      padding: 0.8rem;
      border: 1px solid rgba(201, 168, 76, 0.2);
    }

    .ev-category-title {
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--gold);
      margin-bottom: 0.6rem;
      display: flex;
      align-items: center;
      gap: 6px;
      border-bottom: 1px solid rgba(201, 168, 76, 0.3);
      padding-bottom: 0.3rem;
    }

    .ev-model-checkbox {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.3rem;
      border-radius: 6px;
      cursor: pointer;
    }

    .ev-model-checkbox:hover {
      background: rgba(201, 168, 76, 0.1);
    }

    .ev-model-checkbox input {
      width: 14px;
      height: 14px;
      cursor: pointer;
      accent-color: var(--gold);
    }

    .ev-model-checkbox label {
      cursor: pointer;
      color: var(--white);
      font-size: 0.8rem;
      flex: 1;
      margin: 0;
    }

    .quantity-input {
      width: 60px;
      padding: 0.2rem 0.4rem;
      border-radius: 6px;
      border: 1px solid rgba(201, 168, 76, 0.3);
      background: var(--white);
      text-align: center;
      font-size: 0.75rem;
    }

    

    /* Buttons */
    .button-group {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 1rem;
      flex-wrap: wrap;
    }

    .submit-btn {
      background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
      color: var(--navy);
      border: none;
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
      font-weight: 600;
      border-radius: 40px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: var(--transition);
    }

    .submit-btn:hover {
      transform: translateY(-1px);
      filter: brightness(1.05);
    }

    .home-btn {
      background: transparent;
      color: var(--gold);
      border: 1px solid var(--gold);
      padding: 0.7rem 1.5rem;
      font-size: 0.9rem;
      font-weight: 600;
      border-radius: 40px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: var(--transition);
    }

    .home-btn:hover {
      background: rgba(201, 168, 76, 0.1);
      transform: translateY(-1px);
    }

    /* Back Button - Small Icon Only */
    .back-btn-header {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      padding: 0;
      border-radius: 50%;
      background: rgba(255, 193, 7, 0.1);
      border: 1px solid var(--gold);
      color: var(--gold);
      text-decoration: none;
      transition: all 0.25s ease;
      font-size: 0;
    }

    .back-btn-header i {
      font-size: 14px;
      margin: 0;
    }

    .back-btn-header:hover {
      background: var(--gold);
      color: var(--navy);
      transform: scale(1.05);
    }

    .back-btn-header span {
      display: none;
    }

    /* Form Header - Centered */
    .form-header {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      margin-bottom: 1rem;
      padding-bottom: 0.5rem;
      border-bottom: 1px solid rgba(255, 215, 0, 0.25);
    }

    .header-center {
      grid-column: 2;
      text-align: center;
    }

    .header-center h2 {
      color: var(--gold);
      font-size: 1.3rem;
      margin-bottom: 2px;
      font-weight: 600;
    }

    .header-center p {
      color: rgba(255, 255, 255, 0.65);
      font-size: 0.7rem;
      margin: 0;
    }

    .header-spacer {
      grid-column: 3;
    }

    /* Warning Message */
    .warning-message {
      background: rgba(201, 168, 76, 0.1);
      border-left: 3px solid var(--gold);
      padding: 0.6rem 0.8rem;
      border-radius: 6px;
      margin: 0.5rem 0;
      display: flex;
      gap: 8px;
      align-items: flex-start;
      font-size: 0.7rem;
    }

    .info-note {
      background: rgba(201, 168, 76, 0.08);
      border-left: 2px solid var(--gold);
      padding: 0.4rem 0.6rem;
      font-size: 0.65rem;
      margin-top: 0.5rem;
      border-radius: 6px;
      color: var(--gold-pale);
    }

    .radio-group {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 0.3rem;
    }

    .radio-option {
      display: flex;
      align-items: center;
      gap: 0.3rem;
      background: var(--navy);
      padding: 0.3rem 0.8rem;
      border-radius: 30px;
      cursor: pointer;
      border: 1px solid rgba(201, 168, 76, 0.3);
      font-size: 0.75rem;
    }

    .radio-option input {
      accent-color: var(--gold);
      width: 12px;
      height: 12px;
    }

    .required-star::after {
      content: "*";
      color: var(--gold);
      margin-left: 3px;
    }

    .text-muted {
      color: var(--gray-light) !important;
      font-size: 0.65rem;
      margin-top: 2px;
      display: block;
    }

    footer {
      background: var(--navy);
      padding: 0.6rem;
      text-align: center;
      font-size: 0.65rem;
      color: var(--gold-pale);
      border-top: 1px solid var(--gold);
    }

    @media (max-width: 640px) {
      body {
        padding: 0.5rem;
      }
      .form-container {
        max-width: 100%;
      }
      .form-header {
        grid-template-columns: 1fr auto 1fr;
      }
      .header-center h2 {
        font-size: 1rem;
      }
      .checkbox-grid {
        grid-template-columns: 1fr;
      }
    }

     #solarSystemTypeContainer .service-row {
  background: transparent;
  padding: 0;
  margin-top: 20px;
  box-shadow: none;
}

#solarSystemTypeContainer .input-group {
  margin-bottom: 20px;
}

#solarSystemTypeContainer .input-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #d4af37;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#solarSystemTypeContainer #solarSystemTypeSelect {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

#solarSystemTypeContainer #solarSystemTypeSelect:focus {
  border-color: #d4af37;
}

#solarSystemTypeContainer .know-more-section {
  margin-top: 10px;
}

#solarSystemTypeContainer .know-more-btn {
  background: transparent;
  color: #d4af37;
  border: none;
  padding: 8px 0;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
}

#solarSystemTypeContainer .know-more-btn i {
  font-size: 12px;
}

#solarSystemTypeContainer .know-more-btn:hover {
  color: #b8860b;
  text-decoration: underline;
}

#solarSystemTypeContainer .grid-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

#solarSystemTypeContainer .grid-card {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid #eaeaea;
}

#solarSystemTypeContainer .grid-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #d4af37;
  display: flex;
  align-items: center;
  gap: 6px;
}

#solarSystemTypeContainer .grid-card h4 i {
  color: #d4af37;
  font-size: 14px;
}

#solarSystemTypeContainer .grid-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 10px;
}

#solarSystemTypeContainer .grid-card ul {
  margin: 8px 0 0 0;
  padding-left: 16px;
}

#solarSystemTypeContainer .grid-card ul li {
  font-size: 11px;
  line-height: 1.4;
  color: #777;
  margin-bottom: 4px;
}

#solarSystemTypeContainer .grid-card ul li strong {
  color: #d4af37;
  font-weight: 600;
}

@media (max-width: 768px) {
  #solarSystemTypeContainer .grid-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

    