/* CSS vars carried over from wimaccrane.eu so the form renders identically */
      :root {
        --primary: #ffe900;
        --primary-dark: #ffe900;
        --header-bg: #ffe900;
        --dark: #1a1a1a;
        --darker: #111111;
        --light: #ffffff;
        --gray: #6b7280;
        --gray-light: #9ca3af;
        --gray-dark: #374151;
        --transition: all 0.3s ease;
      }
      /* Quote Form Specific Styles */
      .quote-form-section {
        padding: 80px 0;
        background: var(--light);
      }

      .quote-grid {
        display: grid;
        grid-template-columns: 350px 1fr;
        gap: 50px;
      }

      .quote-sidebar {
        background: var(--dark);
        padding: 35px;
        border-radius: 20px;
        color: var(--light);
        height: fit-content;
        position: sticky;
        top: 100px;
      }

      .quote-sidebar h2 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
      }

      .quote-sidebar > p {
        font-size: 13px;
        color: var(--gray-light);
        margin-bottom: 30px;
        line-height: 1.7;
      }

      .sidebar-contact-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
      }

      .sidebar-contact-item {
        display: flex;
        gap: 12px;
        align-items: flex-start;
      }

      .sidebar-contact-item i {
        width: 40px;
        height: 40px;
        background: rgba(255, 233, 0, 0.15);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        color: var(--header-bg);
        flex-shrink: 0;
      }

      .sidebar-contact-item div h4 {
        font-size: 13px;
        font-weight: 700;
        margin-bottom: 3px;
      }

      .sidebar-contact-item div p {
        font-size: 12px;
        color: var(--gray-light);
        line-height: 1.5;
      }

      /* Marks which office a number reaches, so the Egyptian line is not just
         the first of three unlabelled numbers. */
      .contact-phone-tag {
        font-size: 11px;
        opacity: 0.7;
      }

      .quote-form-box {
        background: #f8fafc;
        padding: 40px;
        border-radius: 20px;
        border: 1px solid #e5e7eb;
      }

      .quote-form-box h2 {
        font-size: 26px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 8px;
      }

      .quote-form-box > p {
        font-size: 14px;
        color: var(--gray);
        margin-bottom: 30px;
      }

      /* Product Type Selector */
      .product-type-selector {
        margin-bottom: 30px;
      }

      .product-type-selector label {
        display: block;
        font-size: 14px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 12px;
      }

      .product-types-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
      }

      .product-type-option {
        position: relative;
      }

      .product-type-option input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
      }

      .product-type-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 20px 15px;
        background: var(--light);
        border: 2px solid #e5e7eb;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
      }

      .product-type-card:hover {
        border-color: rgba(255, 233, 0, 0.5);
        background: rgba(255, 233, 0, 0.05);
      }

      .product-type-option input:checked + .product-type-card {
        border-color: var(--header-bg);
        background: rgba(255, 233, 0, 0.1);
        box-shadow: 0 5px 20px rgba(255, 233, 0, 0.2);
      }

      .product-type-card i {
        font-size: 24px;
        color: var(--gray);
        transition: color 0.3s ease;
      }

      .product-type-option input:checked + .product-type-card i {
        color: var(--primary-dark);
      }

      .product-type-card span {
        font-size: 12px;
        font-weight: 600;
        color: var(--gray-dark);
      }

      /* Dynamic Fields Container */
      .dynamic-fields {
        display: none;
        animation: fadeIn 0.4s ease;
      }

      .dynamic-fields.active {
        display: block;
      }

      @keyframes fadeIn {
        from {
          opacity: 0;
          transform: translateY(10px);
        }
        to {
          opacity: 1;
          transform: translateY(0);
        }
      }

      .fields-header {
        background: var(--dark);
        color: var(--light);
        padding: 15px 20px;
        border-radius: 10px;
        margin-bottom: 25px;
        display: flex;
        align-items: center;
        gap: 12px;
      }

      .fields-header i {
        font-size: 20px;
        color: var(--header-bg);
      }

      .fields-header h3 {
        font-size: 16px;
        font-weight: 700;
      }

      /* Product Diagram */
      .product-diagram {
        background: var(--light);
        border: 1px solid #e5e7eb;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 25px;
      }

      .product-diagram img {
        width: 100%;
        height: 200px;
        object-fit: cover;
      }

      .product-diagram-caption {
        padding: 12px 15px;
        background: #f8fafc;
        border-top: 1px solid #e5e7eb;
        text-align: center;
      }

      .product-diagram-caption p {
        font-size: 11px;
        color: var(--gray);
      }

      /* Form Field with Tooltip */
      .form-field {
        margin-bottom: 20px;
      }

      .field-label {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
      }

      .field-label label {
        font-size: 13px;
        font-weight: 600;
        color: var(--dark);
      }

      .field-label .required {
        color: #ef4444;
      }

      .field-tooltip {
        position: relative;
        cursor: help;
      }

      .field-tooltip i {
        font-size: 14px;
        color: var(--gray);
        transition: color 0.3s ease;
      }

      .field-tooltip:hover i {
        color: var(--primary-dark);
      }

      .tooltip-content {
        position: absolute;
        bottom: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        background: var(--dark);
        color: var(--light);
        padding: 12px 15px;
        border-radius: 8px;
        font-size: 12px;
        line-height: 1.6;
        width: 280px;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 100;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      }

      .tooltip-content::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 8px solid transparent;
        border-top-color: var(--dark);
      }

      .field-tooltip:hover .tooltip-content {
        opacity: 1;
        visibility: visible;
      }

      .form-field input,
      .form-field select,
      .form-field textarea {
        width: 100%;
        padding: 14px 18px;
        border: 1px solid #e5e7eb;
        border-radius: 10px;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        color: var(--dark);
        background: var(--light);
        transition: all 0.3s ease;
      }

      .form-field input:focus,
      .form-field select:focus,
      .form-field textarea:focus {
        outline: none;
        border-color: var(--header-bg);
        box-shadow: 0 0 0 3px rgba(255, 233, 0, 0.2);
      }

      .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
      }

      /* Radio Options for Crane Type */
      .radio-options {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .radio-option {
        position: relative;
      }

      .radio-option input {
        position: absolute;
        opacity: 0;
      }

      .radio-option label {
        display: block;
        padding: 10px 16px;
        background: var(--light);
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        font-size: 12px;
        font-weight: 500;
        color: var(--gray-dark);
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .radio-option input:checked + label {
        background: rgba(255, 233, 0, 0.15);
        border-color: var(--header-bg);
        color: var(--dark);
      }

      .radio-option label:hover {
        border-color: rgba(255, 233, 0, 0.5);
      }

      /* Yes/No Toggle */
      .toggle-options {
        display: flex;
        gap: 12px;
      }

      .toggle-option {
        flex: 1;
      }

      .toggle-option input {
        position: absolute;
        opacity: 0;
      }

      .toggle-option label {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 18px;
        background: var(--light);
        border: 2px solid #e5e7eb;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        color: var(--gray-dark);
        cursor: pointer;
        transition: all 0.3s ease;
      }

      .toggle-option input:checked + label {
        background: rgba(255, 233, 0, 0.15);
        border-color: var(--header-bg);
        color: var(--dark);
      }

      .form-divider {
        height: 1px;
        background: #e5e7eb;
        margin: 30px 0;
      }

      .section-title {
        font-size: 15px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
      }

      .section-title i {
        color: var(--header-bg);
      }

      /* Submit Button */
      .quote-submit {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--dark);
        color: var(--light);
        padding: 18px 40px;
        border: none;
        border-radius: 50px;
        font-family: "Poppins", sans-serif;
        font-size: 14px;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.4s ease;
        margin-top: 10px;
      }

      .quote-submit:hover {
        background: var(--header-bg);
        color: var(--dark);
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(255, 233, 0, 0.3);
      }

      /* Responsive */
      @media (max-width: 1200px) {
        .quote-grid {
          grid-template-columns: 1fr;
        }

        .quote-sidebar {
          position: static;
        }
      }

      @media (max-width: 768px) {
        .quote-form-box {
          padding: 25px;
        }

        .product-types-grid {
          grid-template-columns: repeat(2, 1fr);
        }

        .form-row {
          grid-template-columns: 1fr;
        }

        .radio-options {
          flex-direction: column;
        }

        .tooltip-content {
          width: 220px;
          left: 0;
          transform: translateX(0);
        }

        .tooltip-content::after {
          left: 15px;
          transform: none;
        }
      }
    
