/* Add this to your existing CSS */
.ms-container {
    width: 100% !important;
    margin-bottom: 20px;
}

.ms-selectable, .ms-selection {
    width: 100% !important;
}

.ms-list {
    border: 1px solid var(--border-color) !important;
    border-radius: 4px !important;
    padding: 12px 15px !important;
    min-height: 60px !important;
}

.ms-optgroup-label {
    font-weight: bold !important;
    color: var(--primary-color) !important;
}

.ms-optgroup-container {
    width: 100% !important;
}

.ms-option {
    padding: 8px 10px !important;
    font-size: 16px !important;
}

.ms-option:hover {
    background-color: var(--light-gray) !important;
}

.ms-option.ms-selected {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Rest of your existing CSS remains the same */
:root {
    --mobile-margin: 15px;
    --primary-color: #0056b3;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --light-gray: #f8f9fa;
    --border-color: #dee2e6;
    --text-color: #212529;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #fff;
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    max-width: 900px;
    margin: auto;
    overflow: hidden;
    margin-top: 20px;
    padding-left: var(--mobile-margin);
    padding-right: var(--mobile-margin);
}

/* Info box styles */
.info-box {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    background-color: #f9f9f9;
}

.info-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 18px;
}

.info-box p {
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.5;
}

/* Update the options grid for mobile */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .row-logos img{
        width: 450px
    }
    .row-logos.mobile{
        display: none;
    }
}

@media (max-width: 768px) {
    .row-logos.desktop{
        display: none;
    }
    .shortphoto-1, .shortphoto-2, .shortphoto-3 {
        width: 35px !important;
    }
    .options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .options-row, .options-combo-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .options-combo-col {
        width: 100%;
    }
    
    .button-option, .multi-option {
        width: 100%;
    }
    
    .form-group input, .form-control {
        width: calc(100% - 30px);
    }
    
    .testimonial-content {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row-testimonial {
        flex-direction: column;
        align-items: center;
        max-height: none;
    }
    
    .shortphoto-2, .shortphoto-3 {
        margin-left: 0;
    }
    .box.main-title h2{
        font-size: 25px !important;
    }
    .options-row {
        gap: 15px !important;
        margin-bottom: 15px !important;
    }
    #step2 .options-combo-col{
        max-width: 100% !important;
    }
    .row-logos img{
        width: 100%;
    }
    .row-logos img {
        width: 350px;
    }
    .info-box {
        padding: 15px;
        margin: 20px 0;
    }
}

/* Step 2 adjustments */
#step2 .options-combo-row {
    display: flex;
    justify-content: center;
}

#step2 .options-combo-col {
    width: 100%;
    max-width: 400px;
}

#step2 .form-control {
    width: 100%;
}

/* Update form steps for mobile */
.form-step {
    padding: 15px;
}

/* Make buttons full width on mobile */
@media (max-width: 500px) {
    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

.form-header {
    background-color: var(--primary-color);
    color: white;
    padding: 20px 30px;
}

.form-header h1 {
    font-size: 24px;
    font-weight: 500;
}

.progress-text {
    padding: 0 10px 0;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-content {
}

.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.step-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-color);
}

.step-description {
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.option-card {
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.option-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.option-card img {
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 10px 10px 0 0;
    width: 100%;
}

.option-card h3 {
    font-size: 16px;
    flex-grow: 1;
    color: #fff;
    background: #1968bc;
}

.button-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;
}

.button-option {
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #fff;
    background-color: #1968bc;
}

.button-option:hover {
    border-color: var(--primary-color);
    background-color: #0c3b71;
}

.button-option.selected {
    border-color: #0f70d9;
    background: #0c3b71 !important;
}

.button-option.selected h3{
    font-size: 16px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 86, 179, 0.2);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background-color: var(--secondary-color);
    color: white;
}

.btn-prev:hover {
    background-color: #5a6268;
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
}

.btn-submit:hover {
    background-color: #004494;
}

.success-page {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 60px;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-page h2 {
    color: var(--success-color);
    margin-bottom: 15px;
}

.success-page p {
    color: var(--secondary-color);
    margin-bottom: 25px;
}
/* Custom */
.box {
  display: flex;
  align-items: center;
  justify-content: center;
}
.box img {
  height: auto;
}
.box.roundc img{
    width: 50px;
    border-radius: 60px
}
.box.roundc {
    margin-bottom: 20px
}
.box.steps span{
    font-weight: 700;
    font-size: 18px;
}
.box.steps, .box.main-title{
  margin-bottom: 40px;
}
.box.main-title h2{
    font-weight: 700;
    font-size: 35px;
    text-align: center;
}
.option-card h3{
    padding: 10px 0;
    border-radius: 0 0 10px 10px;
}
.option-card.selected {
    border: 3px solid #1968bc;
}
.option-card.selected h3, .option-card.selected img{
    border-radius: unset;
}
/* Row Testimonial */
.row.row-testimonial {
    max-height: 65px;
}
.row-testimonial {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.center-content{
    text-align: center;
}
.row-testimonial img {
    background: #2d3e50;
}
.testimonial-content {
    font-family: Montserrat;
    color: #000;
    padding-left: 20px;
    max-width: 300px;
    line-height: 1.1;
    text-align: left !important;
}
.shortphoto-1,
.shortphoto-2,
.shortphoto-3 {
    width: 50px;
    border: 3px solid #fff;
    border-radius: 30px;
}
.shortphoto-2,
.shortphoto-3 {
    margin-left: -25px;
}

/* Add these styles */
.options-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-end;
}

.options-row .button-option {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    background: #1968bc;
    color: #fff;
}

.options-row .button-option:hover{
    border-color: #fff;
}

.country-group {
    flex: 1;
    min-width: 0;
}

.country-group label {
    margin-bottom: 8px;
    display: block;
}

/* Adjust select dropdown */
.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s;
    background-color: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    min-height: 60px;
}

/* Make sure flags appear properly */
.form-control option {
    font-size: 16px;
}
/* Add these styles to your existing CSS */
.success-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

.success-content h2 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 28px;
}

.success-content p {
    color: #6c757d;
    margin-bottom: 30px;
    font-size: 18px;
}

.success-testimonial {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.testimonial-photos {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.success-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid white;
    margin: 0 -10px;
    object-fit: cover;
}

.testimonial-text {
    font-weight: 500;
    color: #212529;
    font-size: 16px;
    margin-bottom: 0;
}
/* Additional styles for the new step */
#step2b .button-option {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    background: #0C3B71;
    color: #fff;
}

#step2b .button-option:hover {
    border-color: #0056b3;
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.1);
}

#step2b .button-option.selected {
    border-color: #0f70d9;
    background-color: rgba(0, 86, 179, 0.05);
}

#step2b .button-option.selected h3{
    color:#000;
}

#step2b .options-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

#step2b .options-row .button-option {
    flex: 1;
    min-width: 0;
}
/* New Combo Row Styles */
.options-combo-row {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.options-combo-col {
    flex: 1;
    min-width: 0;
}

.options-combo-col h3 {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--primary-color);
}

/* Adjust button options for combo layout */
#step2 .options-row {
    display: flex;
    gap: 10px;
}

#step2 .button-option {
    flex: 1;
}
.button-option h3{
    font-weight: 600;
    font-size: 16px;
}
/* Add these new styles for multi-select options */
.multi-option {
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: center;
    background-color: #1968bc;
    color: #fff;
}
.multi-option h3{
    font-size: 16px;
}

.multi-option:hover {
    border-color: var(--primary-color);
}

.multi-option.selected {
    border-color: var(--primary-color);
    background-color: #0c3b71;
    color: #fff;
    font-weight: 600;
}
.multi-option-checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Update the progress text to show 5 steps */
.progress-text {
    padding: 0 10px 0;
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Add next button styling */
.btn-next {
    background-color: var(--primary-color);
    color: white;
}

.btn-next:hover {
    background-color: #004494;
}
div#step5 > .options-single-row > .button-option{
    margin-top: 15px;
}
img.logo {
    width: 150px;
}

/* Icons inside form */
.input-wrapper {
  position: relative;
  height: 56px;
}

.input-wrapper i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 19px;
}

.input-wrapper input {
  padding-left: 40px; /* Adjust based on icon size + spacing */
  width: 100%;
  box-sizing: border-box;
  height: 56px;
}
i.fas.fa-user {
    color: var(--primary-color);
}

i.fas.fa-phone {
    color: #239b66;
}

i.fas.fa-envelope {
    color: #33068b;
}
.bottom-none{
    margin-bottom: 20px;
}
.row-logos a{
    text-decoration: none;
}

/* New styles for single row options */
.options-single-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.options-single-row .button-option {
    flex: 1 1 calc(50% - 15px);
    min-width: 0;
    text-align: center;
}

@media (max-width: 600px) {
    .options-single-row .button-option {
        flex: 1 1 100%;
    }
}
/* Add this to your existing CSS */
.form-actions {
    order: 1; /* Buttons come first */
    margin-bottom: 20px;
}

.info-box {
    order: 2; /* Info box comes after buttons */
    margin-top: 20px;
}

.form-step {
    display: flex;
    flex-direction: column;
}

/* Hide back button on first step */
#step1 .btn-prev {
    display: none;
}

/* Ensure proper spacing */
.form-content > .form-step > *:not(.form-actions):not(.info-box) {
    order: 0; /* All other content comes before buttons and info box */
    margin-bottom: 20px;
}
/* Ensure only active step is visible */
.form-step {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-step.active {
    display: block;
    opacity: 1;
}

/* Success page styling */
#success-page {
    display: none;
}

#success-page.active {
    display: block;
}

/* Force hide inactive steps */
.form-content > .form-step:not(.active) {
    display: none !important;
}
/* Add these new styles for CoreUI multi-select */
.form-select {
  display: block;
  width: 100%;
  padding: 0.75rem 2.25rem 0.75rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  min-height: 60px;
}

.form-select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-select[multiple] {
  padding: 0.5rem;
}

.form-select[multiple] option {
  padding: 0.5rem;
  border-radius: 0.25rem;
}

.form-select[multiple] option:hover {
  background-color: #0d6efd;
  color: white;
}

/* Success page box styles */
.success-box {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: #f9f9f9;
    text-align: center; /* Center-align all text */
}

.success-box h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}
/* Specific styles for the first success box */
#success-page .success-box:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 20px;
}

#success-page .success-box:first-child h2 {
    color: #28a745;
    margin-bottom: 15px;
    font-size: 28px;
}

#success-page .success-box:first-child p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 18px;
    max-width: 600px;
}
/* Business sectors options */
.business-sectors-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.business-sector-option {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background-color: white;
}

.business-sector-option:hover {
    border-color: var(--primary-color);
    background-color: #f0f7ff;
}

.business-sector-option.selected {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .business-sectors-container {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}
/* Custom Multiselect Styles */
.custom-multiselect {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    margin-bottom: 5px;
}

.selected-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.selected-tag .remove-tag {
    margin-left: 5px;
    cursor: pointer;
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    cursor: pointer;
}

.dropdown-toggle:hover {
    border-color: var(--primary-color);
}

.dropdown-toggle i {
    transition: transform 0.3s;
}

.dropdown-toggle.open i {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    z-index: 1000;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dropdown-options.show {
    display: block;
}

.search-box {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.search-box input {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.options-list {
    padding: 5px 0;
}

.option-item {
    padding: 8px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.option-item:hover {
    background-color: #f5f5f5;
}

.option-item input {
    margin-right: 10px;
    cursor: pointer;
}

.option-item label {
    cursor: pointer;
    flex-grow: 1;
}

.no-results {
    padding: 10px;
    color: var(--secondary-color);
    text-align: center;
}
.success-box.final-step p {
    margin-bottom: 10px;
}