@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wdth,wght@0,75..100,400..700;1,75..100,400..700&display=swap');
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Instrument Sans', sans-serif;
}
a {
    color:#4293E4;
}
.navbar-brand img {
    height: 40px;
}

.navbar-text {
    font-style: italic;
    color: #788396;
    margin-left: 15px;
    font-size: 16px;
    line-height: 16px;
}

.nav-link {
    color: #6c757d;
    font-weight: 500;
}

.nav-link:hover {
    color: #000;
}

.lang-btn {
    background: none;
    border: none;
    color: #788396;
    font-size: 1.2rem;
}

.lang-btn:hover {
    color: #000;
}
.home-btn {
    font-size: 1.2rem;
    margin-right: 10px;
    color: #788396;
}
.dropdown-item {
    color: #788396;
    font-size:14px;
    font-weight: 400;
}
.dropdown-item.active, .dropdown-item:active {
    color: #4293E4;
    background-color: transparent;
}
.dropdown-menu {
    border:none !important;;
    box-shadow:0px 1px 3px #dadada;
}
.form-footer {
    background-color: #4293E4;
}
.form-footer .container {
    padding:15px 0px;
}
.footer-logo {
    height: 17px;
}
.footer-text {
    color:#FDFAFA;
    font-size: 12px;
}
.footer-links a {
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.hover-underline:hover {
    text-decoration: underline;
}

.hover-underline:hover {
    text-decoration: underline;
}
.apply-section {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
}

.apply-section img {
    height: 36px;
    margin-bottom: 30px;
}

.apply-section h2 {
    font-weight: 600;
    font-size: 32px;
    color: #1E293B;
    margin-bottom: 20px;
}

.apply-section p {
    max-width: 650px;
    margin: 0 auto 40px;
    color: #909090;
    font-size: 20px;
    line-height: 1.6;
}

.btn-apply {
    background-color: #ffcc00;
    border: none;
    color: #1d1d1d;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-apply:hover {
    background-color: #e6b800;
    color: #000;
}

/* =============== GENERAL LAYOUT =============== */
.wizard-wrapper {
    background-color: #FDFAFA;
    border-radius: 20px;
    padding: 90px 0px 120px 0px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
}

.step {
    text-align: center;
}

.step h4 {
    font-size: 32px;
    font-weight: 500;
    color: #1E293B;
    margin-bottom: 10px;
}

.step p.text-muted {
    color: #788396 !important;
    font-size: 20px;
    margin-bottom: 45px;
    margin-top: 15px;
}

.d-none {
    display: none !important;
}
#step-1 .btn-choice {
    padding:20px 120px;
}
#step-2 .btn-choice {
    padding:20px 120px;
}
#step-3 .buttons {
    display: block;
    max-width: 70%;
    margin: 0 auto;
}
#step-3 .btn-choice {
    padding: 20px 30px;
    display: inline-block;
    text-align: left;
    width: 80%;
    margin-bottom: 15px;
    font-size: 20px;
    margin-right: 4%;
}
#step-4 .buttons {
    display: grid;
    grid-template-columns: repeat(2, auto); /* 2 coloane */
    gap: 10px; /* spațiu între butoane */
    justify-content: center; /* centrează grila pe orizontală */
}
#step-4 .btn-choice {
    padding:20px 120px;
}
/* --- PROGRESS BAR --- */
.wizard-progress {
    margin-bottom: 60px;
}
.wizard-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0; /* fără spațiu între cerc și linie */
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    background-color: transparent;
    transition: all 0.3s ease;
    z-index: 2;
    margin: 0px !important;
}

.step-line {
    width: 80px;
    height: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
    z-index: 1;
    margin: 0 !important;
    position: relative;
    top: 0;
}

/* completat verde între pași */
.step-line.filled {
    background: #22c55e;
}

/* active (complet) */
.step-circle.active {
    border-color: #22c55e;
    background-color: #22c55e;
    color: #fff;
}

/* current (pasul activ) */
.step-circle.current {
    border-color: #facc15;
    background-color: #facc15;
    color: #111827;
}

/* --- ICON FINAL --- */
.step-circle.final img {
    width: 22px;
    height: 22px;
}

/* Final step icons (success/error) */
#finalStep.active img {
    filter: brightness(0) saturate(100%) invert(44%) sepia(76%) saturate(431%) hue-rotate(81deg) brightness(92%) contrast(91%);
}
#errorStep.active img {
    filter: brightness(0) saturate(100%) invert(29%) sepia(85%) saturate(3401%) hue-rotate(347deg) brightness(91%) contrast(90%);
}

/* =============== BUTTONS =============== */
.buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
}



.btn-choice {
    border: 1px solid #4293E4;
    color: #1E293B;
    border-radius: 50px;
    padding: 12px 70px;
    font-weight: 600;
    background: #fff;
    transition: all 0.3s
    ease;
    font-size: 24px;
    border-bottom:2px solid #4293E4;
}

.btn-choice:hover,
.btn-choice:focus {
    background: #4293E4;
    color: #fff;
    transform: translateY(-1px);
}

.btn-main {
    background: #facc15;
    border: none;
    color: #111827;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: #fbbf24;
}

.btn-success {
    background: #16a34a;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success:hover {
    background: #15803d;
}

/* WhatsApp button (green rounded) */
.btn-success::before {
    content: " ";
    background: url('/images/whatsapp.svg') no-repeat center;
    background-size: 18px;
    display: inline-block;
    width: 22px;
    height: 22px;
    vertical-align: middle;
    margin-right: 6px;
}

/* =============== FORM FIELDS (STEP 4) =============== */
form label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 6px;
    text-align: left;
}

form input,
form select,
form textarea {
    border: none;
    border-bottom: 2px solid #d1d5db;
    border-radius: 0;
    padding: 10px 0;
    width: 100%;
    background-color: transparent;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-bottom-color: #4293E4;
}

form input.is-invalid,
form select.is-invalid {
    border-bottom-color: #dc2626;
    color: #dc2626;
}

/* =============== BACK LINK =============== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #1E293B;
    text-decoration: none;
    margin-top: 20px;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.2s ease;
}

.back-link:hover {
    text-decoration: none;
    color: #4293E4;
}

.back-link:active {
    transform: translateX(-2px);
}

/* SVG icon */
.back-link .back-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.back-link:hover .back-icon {
    transform: translateX(-3px);
}


/* =============== STATES: SUCCESS / REJECT / ERROR =============== */
#success-step {
    padding: 40px;
}
.step .success-msg {
    font-size: 20px;
    font-weight: 400;
    line-height: 33px;
    color: #788396;
    margin: 30px 0px;
}
.step .success-msg strong {
    color:#1E293B;
}

.btn-main#retryBtn {
    background: #facc15;
    color: #111;
}
#error-step h4, #reject-step h4 {
    color:#1E293B;
    font-size:32px;
    font-weight: 500;
    margin-bottom: 20px;
}
#error-step p {
    color:#788396;
    font-weight:400;
    font-size: 20px;
    margin-bottom: 30px;
}
#reject-step p {
    color:#788396;
    font-weight:400;
    font-size: 20px;
    margin-bottom: 5px;
}
#reject-step .reject_body {
    margin-bottom: 30px;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.step5-form {
    width: 60%;
    margin: 0 auto;
}
#step-5 .form-actions .back-link {
    margin-top:0;
}
.step5-form .form-control {
    border: 0;
    border-bottom: 2px solid #D5D5D5;
    box-shadow: none !important;
    border-radius: 5px;
    padding: 10px 15px;
    background: #ffffff;
    margin-bottom: 15px;
}
.step5-form .form-control:focus {
    border-bottom-color: #4293E4;
}

.step5-form  .form-control::placeholder {
    color: #1E293B;        /* Change this to your desired color */
    opacity: 1;         /* Make sure it’s fully visible (Bootstrap often sets it lower) */
}

.step5-form  .form-control.phone {
    padding-left:90px;
}
.phone-input-wrapper {
    display: flex;
    align-items: center;
    background: transparent;
    padding-bottom: 2px;
    position: relative;
}

.phone-input-wrapper:focus-within {
    border-bottom-color: #4293E4;
}

.select2-container--default .select2-selection--single {
    border: none !important;
    background: transparent !important;
    padding-left: 0 !important;
}
.phone-input-wrapper .select2-container {
    position: absolute;
    top: 7px;
    left: -10px;
}
.phone-input-wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 0px;
    right: 17px;
    width: 20px;
}

.select2-selection__rendered {
    font-weight: 600;
    color: #4293E4 !important;
}

.select2-selection__arrow {
    margin-right: -4px !important;
}
.form-check-input[type=checkbox] {
    border-radius: .25em;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    margin-right: 10px;
}
.select2-container--open, .select2-container--open .select2-dropdown--above, .select2-dropdown {
    border: 0px !important;
    background: #FDFAFA !important;
    box-shadow: 0px 1px 3px #dadada !important;
}
/* Stil scroll-bar în lista Select2 */
.select2-container--default .select2-results > .select2-results__options {
    max-height: 220px; /* înălțime pentru scroll */
    overflow-y: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #4293E4 #f9fafb; /* thumb + track */
}

/* Chrome, Edge, Safari */
.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-track {
    background: #f9fafb;
    border-radius: 10px;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-thumb {
    background-color: #4293E4;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.select2-container--default .select2-results > .select2-results__options::-webkit-scrollbar-thumb:hover {
    background-color: #1d4ed8;
}

/* Text și hover în listă */
.select2-container--default .select2-results__option {
    padding: 8px 12px;
    font-size: 0.95rem;
    transition: background-color 0.2s ease;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #eff6ff;
    color: #111827;
}

.phone-input-wrapper input {
    border: none;
    background: transparent;
    padding: 6px 10px;
    width: 100%;
    font-size: 0.95rem;
}

.phone-input-wrapper input:focus {
    outline: none;
}

/* =============== ANIMATIONS =============== */
.step {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* === FINAL STEP CIRCLE (#5) === */
.step-circle.final {
    border: 2px solid #e5e7eb;
    background-color: transparent;
    color: #9ca3af;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

/* Icone interne */
.step-circle.final img {
    width: 22px;
    height: 22px;
}

/* === SUCCESS STATE === */
.step-circle.final.success {
    background-color: #22c55e; /* verde */
    border-color: #22c55e;
}
.step-circle.final.success img#finalCheck {
    display: inline-block;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(40deg) brightness(104%) contrast(97%);
}

/* === ERROR / REJECT STATE === */
.step-circle.final.reject {
    background-color: #ef4444; /* roșu */
    border-color: #ef4444;
}
.step-circle.final.reject img#finalSad {
    display: inline-block;
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(40deg) brightness(104%) contrast(97%);
}

.step-circle.final {
    border-color: #e5e7eb;
    background-color: #f9fafb;
    color: #9ca3af;
}

.step-circle.final.success {
    background-color: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.step-circle.final.reject {
    background-color: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    gap: 10px;
}

.form-actions .back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    color: #4293E4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.form-actions .back-link:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.form-actions .btn-main {
    background: #22c55e;
    color: #ffffff;
    border-radius: 50px;
    padding: 12px 36px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}
.form-actions .btn-main:hover {
    background: #fbbf24;
}
.benefits {
    padding: 0 0 1px 0;
    background: #fff;
}
.benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 1px;
}
.benefits__item {
    min-height: 320px;
    height: 100%;
    border-radius: 16px;
    padding: 32px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: transform .3s
    ease;
}
.benefits__item--image {
    color: #fff;
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .6s
    ease;
}
.benefits__item--image .benefits__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform .6s
    ease;
}
.benefits__item--image .benefits__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.benefits__item img {
    width: 24px;
    height: 24px;
}
.benefits__icon {
    margin-bottom: 141px;
}
.subtitle_medium {
    font-size: 20px;
    font-weight: 400;
}
.subtitle_medium {
    font-size: 20px;
    font-weight: 400;
}
.benefits__item--image:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #0006;
    z-index: 1;
    border-radius: inherit;
    transition: background .3s
    ease;
}
.navbar-toggler {
    border:0px;
}
#loading-spinner {
    margin: 70px auto;
    display: table;
}
#loading-spinner .spinner-border {
    --bs-text-opacity: 1;
    color: #4293E4;
}
.buttons {
    flex-direction: row;
    justify-content: center;
}
.footer__panel {
    background: #1e293b;
    border-radius: 16px;
    padding:120px 0;
}
.footer__panel-title {
    color: #4293e4;
    margin-bottom: 48px;
}
.footer .title_medium {
    font-size: 32px;
    font-weight: 500;
    line-height: 46px;
}
.footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding:0;
    list-style: none;
}
.footer .pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 64px;
    background: #fff;
    color: #fff;
    transition: all .3s ease-in-out;
    text-decoration: none;
}
.footer .pill--wa {
    background: #1faf38;
}
.footer .pill--maps {
    color: #000;
}
.footer .pill--ig {
    background: radial-gradient(92.18% 99.11% at 26.56% 107.7%, #fd5 0% 10%, #ff543e 50%, #c837ab);
}
.footer .pill--fb {
    background: #1877f2;
}
.footer .pill--tiktok {
    background: #000;
}
#step-3 .btn-choice img {
    height: 20px;
    float: left;
    margin-top: 5px;
    margin-right: 7px;
}
/* efect vizual pentru select detectat automat */
.select2.auto-selected .select2-selection {
    box-shadow: 0 0 8px 2px rgba(34, 197, 94, 0.7); /* verde glow */
    transition: box-shadow 0.3s ease;
}

/* efectul dispare lin */
.select2 .select2-selection {
    transition: box-shadow 0.3s ease;
}
@media(max-width: 900px) {
    .footer__panel {
        padding: 50px 0px;
    }
    .footer .title_medium {
        font-size: 31px;
        font-weight: 500;
        line-height: 37px;
    }
    .footer__socials {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .benefits__grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .navbar-brand img {
        height: 30px;
    }

    .navbar-text {
        font-size: 13px;
        line-height: 13px;
    }

    .wizard-wrapper {
        padding: 15px 15px;
    }

    .step-circle, .step-circle.final {
        width: 46px;
        height: 30px;
        font-size: 12px;
    }

    #step-1 .buttons, #step-2 .buttons {
        flex-direction: row;
        margin-bottom: 0px;
    }

    #step-1 .buttons .btn-choice, #step-2 .buttons .btn-choice {
        padding: 10px 15px;
        font-size: 16px;
        flex: 1;
    }

    #step-3 .buttons {
        margin-bottom: 0px;
        max-width: 100%;
    }

    #step-3 .buttons .btn-choice {
        padding: 10px 15px;
        font-size: 16px;
        text-align: left;
        width: 100%;
        display: flex;
    }

    #step-4 .buttons {
        margin-bottom: 0px;

    }

    #step-4 .buttons .btn-choice {
        padding: 10px 25px;
        font-size: 16px;
        text-align: center;
    }

    .step p.text-muted {
        font-size: 15px;
        margin-bottom: 20px;
        margin-top: 0px;
    }

    .step h4 {
        font-size: 18px;
    }

    .step5-form {
        width: 100%;
        margin: 0 auto;
    }

    .step5-form .form-control {
        font-size: 13px;
    }

    #step-5 .step p.text-muted {
        font-size: 13px;
        line-height: 15px;
    }

    .form-actions {
        flex-direction: column-reverse;
        gap: 0px;
    }

    #success-step {
        padding: 0px;
    }

    #success-step .step h4, #error-step .step h4, #reject-step .step h4 {
        font-size: 26px;
        margin: 0px;
    }

    #success-step .step .success-msg {
        font-size: 16px;
        line-height: 23px;
        color: #788396;
        margin: 15px 0px;
    }

    .btn-success {
        background: #16a34a;
        border: none;
        border-radius: 50px;
        padding: 10px 15px;
        font-weight: 600;
        transition: all 0.3s
        ease;
        font-size: 12px;
    }
    #error-step p, #reject-step p {
        color: #788396;
        font-weight: 500;
        font-size: 17px;
        margin-bottom: 10px;
    }
    #reject-step .reject_body {
        margin-bottom: 20px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .wizard-progress {
        margin-bottom: 30px;
    }
    .footer-links {
        justify-content: center;
    }
    .form-footer .container {
        text-align: center;
    }
    .form-actions .btn-main {
        margin-bottom:20px;
    }
    .navbar-nav {
        display: block;
    }
    .navbar-nav .nav-item {
        display: inline-block;
        margin:0px !important;
    }
    .navbar-nav .dropdown-menu.show {
        position: absolute;
    }
    .navbar-text {
        margin-left:5px;
    }
	.navbar-nav .bi {
		color:#000;
	}
	.benefits__grid {
		grid-auto-rows: auto;
	}
	.benefits__icon {
		margin-bottom: 10px;
	}
	.benefits__item--image .benefits__content, .benefits__item {
		height: auto;
		min-height:auto;
	}
	.benefits__item--image {
		height:auto;
		min-height:auto;
	}
	.subtitle_medium {
		margin-bottom:0px;
	}
	#step-3 .btn-choice img {
		height: 15px;
		float: left;
		margin-top: 4px;
		margin-right: 4px;
		display: inline-block;
	}
}
