.elementor-widget-container [data-tippy-root] > .tippy-box{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), assistant;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-container [data-tippy-root] > .tippy-box .tippy-arrow{color:var( --e-global-color-primary );}.elementor-8813 .elementor-element.elementor-element-dd014e6{--display:flex;}.elementor-widget-html [data-tippy-root] > .tippy-box{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-accent-font-family ), assistant;font-size:var( --e-global-typography-accent-font-size );font-weight:var( --e-global-typography-accent-font-weight );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html [data-tippy-root] > .tippy-box .tippy-arrow{color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 input:not([type="submit"]){background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 select{background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 textarea{background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 label{font-family:var( --e-global-typography-primary-font-family ), assistant;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-widget-html ::placeholder{font-family:var( --e-global-typography-primary-font-family ), assistant;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7-submit{font-family:var( --e-global-typography-primary-font-family ), assistant;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}.elementor-widget-html .wpcf7 input[type="submit"]:hover{color:var( --e-global-color-primary );background-color:var( --e-global-color-primary );}@media(max-width:1025px){.elementor-widget-container [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html .wpcf7 label{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html ::placeholder{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html .wpcf7-submit{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}@media(max-width:769px){.elementor-widget-container [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html [data-tippy-root] > .tippy-box{font-size:var( --e-global-typography-accent-font-size );line-height:var( --e-global-typography-accent-line-height );}.elementor-widget-html .wpcf7 label{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html ::placeholder{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}.elementor-widget-html .wpcf7-submit{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );}}/* Start custom CSS for html, class: .elementor-element-5397a42 *//* 
* מחשבון משכנתא חכם
* גרסה: 2.0
*/

/* === נסיונות בסיסיים === */
:root {
    --primary-color: #006cb5;
    --primary-dark: #005a96;
    --primary-light: #3189c8;
    --secondary-color: #ff7e00;
    --secondary-dark: #e67200;
    --secondary-light: #ff9a33;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-family-sans-serif: 'Assistant', 'Rubik', 'Heebo', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-sm: 0.875rem;
    --font-size-xs: 0.75rem;
    --font-weight-normal: 400;
    --font-weight-bold: 700;
    --line-height-base: 1.5;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --transition-base: all 0.2s ease-in-out;
}

/* === אתחול === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Assistant';
    src: url('fonts/Assistant-Regular.woff2') format('woff2'),
         url('fonts/Assistant-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Assistant';
    src: url('fonts/Assistant-Bold.woff2') format('woff2'),
         url('fonts/Assistant-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('fonts/Rubik-Regular.woff2') format('woff2'),
         url('fonts/Rubik-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Rubik';
    src: url('fonts/Rubik-Bold.woff2') format('woff2'),
         url('fonts/Rubik-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 16px;
    line-height: 1.5;
    font-family: var(--font-family-sans-serif);
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans-serif);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--gray-900);
    background-color: #f5f8fa;
    overflow-x: hidden;
}

/* === מיכל ראשי === */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.main-content {
    flex: 1;
    padding: 0 0 3rem;
}

/* === תפריט עליון === */
.site-header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    flex: 0 0 auto;
}

.header-logo {
    max-height: 50px;
    width: auto;
}

.header-title {
    flex: 1;
    text-align: center;
}

.header-title h1 {
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: var(--font-weight-bold);
}

.header-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.header-contact {
    flex: 0 0 auto;
}

.btn-contact {
    font-weight: var(--font-weight-bold);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* === כפתורים === */
.btn {
    font-weight: var(--font-weight-bold);
    padding: 0.625rem 1.25rem;
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    color: white;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: none;
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: var(--secondary-dark);
    color: white;
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-primary:hover, .btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: white;
}

.btn-outline-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background-color: var(--secondary-color);
    color: white;
}

.btn-success {
    background-color: var(--success-color);
    color: white;
    border: none;
}

.btn-success:hover, .btn-success:focus {
    background-color: #218838;
    color: white;
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
    border: none;
}

.btn-danger:hover, .btn-danger:focus {
    background-color: #c82333;
    color: white;
}

.btn-outline-light {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline-light:hover, .btn-outline-light:focus {
    background-color: white;
    color: var(--primary-color);
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn:disabled, .btn.disabled {
    opacity: 0.65;
    pointer-events: none;
}

/* === טופס === */
.form-label {
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--gray-800);
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-900);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
}

.form-control:focus {
    color: var(--gray-900);
    background-color: #fff;
    border-color: var(--primary-light);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 108, 181, 0.25);
}

.form-select {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-900);
    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: left 1rem center;
    background-size: 16px 12px;
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius);
    transition: var(--transition-base);
    appearance: none;
}

.form-select:focus {
    border-color: var(--primary-light);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 108, 181, 0.25);
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-right: 1.5rem;
    margin-bottom: 0.125rem;
    position: relative;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    margin-right: -1.5rem;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: 1px solid var(--gray-400);
    border-radius: 0.25rem;
    appearance: none;
    color-adjust: exact;
    transition: var(--transition-base);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-light);
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(0, 108, 181, 0.25);
}

.form-check-label {
    color: var(--gray-800);
    cursor: pointer;
}

.form-hint {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-hint i {
    color: var(--info-color);
    font-size: 1rem;
    margin-top: 0.125rem;
}

.input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    color: var(--gray-700);
    text-align: center;
    white-space: nowrap;
    background-color: var(--gray-200);
    border: 1px solid var(--gray-400);
    border-radius: var(--border-radius);
}

.input-group:not(.has-validation) > :not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group > :not(:first-child) {
    margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group-append {
    margin-right: -1px;
    display: flex;
}

.form-group {
    margin-bottom: 1.5rem;
}

.toggle-buttons {
    display: flex;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid var(--gray-400);
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    background-color: white;
    color: var(--gray-700);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: var(--transition-base);
    border-left: 1px solid var(--gray-400);
}

.toggle-btn:last-child {
    border-left: none;
}

.toggle-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.checkbox-group, .radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.range-slider-container {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    padding: 0 10px;
}

.range-slider {
    height: 10px;
    margin-bottom: 1rem;
}

.range-limits {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.preference-slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.preference-label {
    font-size: 0.875rem;
    color: var(--gray-700);
    flex: 0 0 auto;
    width: 110px;
}

.equity-percentage, .mortgage-percentage, .payment-percentage {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.equity-percentage span, .mortgage-percentage span, .payment-percentage span {
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
}

/* === כותרות === */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1.1rem;
}

/* === רווחים === */
.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

/* === מסך ברוכים הבאים === */
.welcome-heading {
    text-align: center;
    margin-bottom: 2.5rem;
}

.welcome-heading h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.welcome-intro {
    font-size: 1.25rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

.goals-container {
    margin-bottom: 3rem;
}

.goals-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.goal-box {
    flex: 0 0 calc(33.333% - 1rem);
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 220px;
}

.goal-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.goal-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition-base);
}

.goal-box:hover::before {
    width: 10px;
}

.goal-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.goal-title {
    font-size: 1.25rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.goal-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.additional-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.potential-savings-box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 3rem;
}

.potential-savings-box h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.savings-stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.savings-stat {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 1rem;
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.savings-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.savings-amount {
    font-size: 1.5rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.savings-value {
    font-size: 1.75rem;
}

.savings-currency {
    font-size: 1.25rem;
    margin-right: 0.25rem;
}

.savings-label {
    font-size: 1rem;
    color: var(--gray-700);
}

.savings-graph {
    height: 200px;
    margin-bottom: 1rem;
}

.savings-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* === שאלוני משכנתא === */
.mortgage-form {
    padding: 2rem 0;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.form-header h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.form-description {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto 1.5rem;
}

.progress-container {
    max-width: 600px;
    margin: 0 auto;
}

.progress {
    height: 10px;
    background-color: var(--gray-300);
    border-radius: 5px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.5s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--gray-300);
    z-index: -1;
}

.progress-step {
    width: 36px;
    height: 36px;
    background-color: white;
    border: 2px solid var(--gray-400);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    color: var(--gray-600);
    position: relative;
    z-index: 1;
    transition: var(--transition-base);
}

.progress-step.active {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: white;
}

.progress-step.completed {
    border-color: var(--primary-color);
    background-color: white;
    color: var(--primary-color);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-section {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.btn-back {
    background-color: var(--gray-200);
    color: var(--gray-700);
    border: none;
}

.btn-back:hover, .btn-back:focus {
    background-color: var(--gray-300);
    color: var(--gray-800);
}

.btn-next, .btn-calculate {
    min-width: 150px;
}

/* === מסך תוצאות === */
.results-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.results-header h2 {
    color: var(--primary-color);
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.results-intro {
    font-size: 1.1rem;
    color: var(--gray-700);
    max-width: 700px;
    margin: 0 auto;
}

.potential-savings-result-box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-top: 5px solid var(--success-color);
}

.potential-savings-result-box h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

.recommended-options {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.recommended-options h3 {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.options-container {
    overflow-x: auto;
    padding-bottom: 1rem;
}

.options-row {
    display: flex;
    gap: 1.5rem;
}

.option-card {
    flex: 1;
    min-width: 220px;
    background-color: var(--gray-100);
    border-radius: var(--border-radius);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: var(--transition-base);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.option-header {
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1rem;
    position: relative;
}

.option-header h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.recommendation-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: var(--font-weight-bold);
    padding: 0.25rem 0.5rem;
    border-radius: 0 0 var(--border-radius) 0;
}

.option-details {
    padding: 1.5rem;
    text-align: center;
}

.option-value {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.option-value-amount {
    font-size: 2.25rem;
}

.option-value-currency {
    font-size: 1.5rem;
    margin-right: 0.25rem;
}

.option-label {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.option-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.option-details-btn {
    width: 100%;
}

.result-box {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    height: 100%;
}

.result-box h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.chart-container {
    height: 300px;
    position: relative;
}

.selected-option-details {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.selected-option-details h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.selected-option-info h4 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin: 2rem 0 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.selected-option-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
}

.routes-table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.routes-table {
    width: 100%;
    border-collapse: collapse;
}

.routes-table th, .routes-table td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-300);
}

.routes-table th {
    background-color: var(--gray-100);
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
}

.routes-table tbody tr:hover {
    background-color: var(--gray-100);
}

.table-total {
    font-weight: var(--font-weight-bold);
    background-color: var(--gray-100);
}

.table-total td:first-child {
    text-align: right;
}

.amortization-chart-container {
    height: 300px;
    margin-bottom: 1.5rem;
}

.show-full-amortization {
    text-align: center;
    margin-bottom: 1.5rem;
}

.advantages-list, .considerations-list {
    padding-right: 1.25rem;
    margin-bottom: 0;
}

.advantages-list li, .considerations-list li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: var(--gray-700);
}

.advantages-list li::marker {
    color: var(--success-color);
}

.considerations-list li::marker {
    color: var(--warning-color);
}

.actions-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.results-additional-buttons {
    margin-bottom: 1rem;
}

.amortization-table-container {
    overflow-x: auto;
}

.amortization-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.amortization-table th, .amortization-table td {
    padding: 0.75rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-300);
}

.amortization-table th {
    background-color: var(--gray-100);
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
    position: sticky;
    top: 0;
    z-index: 10;
}

.amortization-table tbody tr:hover {
    background-color: var(--gray-100);
}

/* === כותרת תחתונה === */
.site-footer {
    background-color: var(--gray-800);
    color: white;
    padding: 3rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 0 0 200px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
}

.footer-info {
    flex: 1;
    font-size: 0.9rem;
    color: var(--gray-400);
}

.footer-contact {
    flex: 0 0 auto;
}

.footer-links {
    border-top: 1px solid var(--gray-700);
    padding-top: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-base);
}

.footer-links a:hover {
    color: white;
}

/* === מודלים === */
.modal-header {
    border-bottom: 2px solid var(--primary-color);
}

.modal-title {
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 1.5rem 1.5rem;
}

.accordion-button {
    font-weight: var(--font-weight-bold);
    color: var(--gray-800);
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(0, 108, 181, 0.1);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--gray-300);
}

.accordion-body {
    padding: 1.25rem;
    color: var(--gray-700);
    line-height: 1.6;
}

.glossary-item {
    margin-bottom: 1.5rem;
}

.glossary-item h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.glossary-item p {
    color: var(--gray-700);
    margin-bottom: 0;
    line-height: 1.6;
}

/* === טעינה === */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

.loading-text {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: var(--font-weight-bold);
}

/* === עזרים === */
.section-active {
    display: block;
}

.section-hidden {
    display: none;
}

.d-none {
    display: none !important;
}

.d-md-block {
    display: none;
}

.text-center {
    text-align: center;
}

.noUi-target {
    background: var(--gray-300);
    border-radius: 5px;
    border: none;
    box-shadow: none;
}

.noUi-connects {
    border-radius: 5px;
}

.noUi-connect {
    background: var(--primary-color);
}

.noUi-horizontal {
    height: 10px;
}

.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    right: -10px;
    top: -5px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.noUi-handle:before, .noUi-handle:after {
    display: none;
}

.noUi-tooltip {
    font-size: 0.8rem;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
}
/* === מדיה קווריז === */
@media (min-width: 576px) {
    .d-sm-block {
        display: block !important;
    }
    
    .d-sm-none {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }
    
    .d-md-none {
        display: none !important;
    }
    
    .header-title h1 {
        font-size: 2rem;
    }
    
    .header-subtitle {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .d-lg-block {
        display: block !important;
    }
    
    .d-lg-none {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .d-xl-block {
        display: block !important;
    }
    
    .d-xl-none {
        display: none !important;
    }
}

/* === רספונסיביות === */
@media (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    .header-title h1 {
        font-size: 1.75rem;
    }
    
    .welcome-heading h2,
    .form-header h2,
    .results-header h2 {
        font-size: 1.75rem;
    }
    
    .welcome-intro,
    .form-description,
    .results-intro {
        font-size: 1rem;
    }
    
    .goal-box {
        flex: 0 0 calc(50% - 0.75rem);
        padding: 1.5rem 1rem;
        min-height: 200px;
    }
    
    .goal-icon {
        font-size: 2rem;
    }
    
    .goal-title {
        font-size: 1.1rem;
    }
    
    .savings-stat {
        min-width: 150px;
    }
    
    .savings-amount {
        font-size: 1.25rem;
    }
    
    .savings-value {
        font-size: 1.5rem;
    }
    
    .form-section,
    .option-card,
    .result-box,
    .selected-option-details,
    .potential-savings-box,
    .potential-savings-result-box,
    .recommended-options {
        padding: 1.5rem;
    }
    
    .options-row {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .option-card {
        flex: 0 0 calc(50% - 0.75rem);
        margin-bottom: 1.5rem;
    }
    
    .form-navigation {
        margin-top: 1rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 767px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-title {
        margin: 0.5rem 0;
    }
    
    .header-title h1 {
        font-size: 1.5rem;
    }
    
    .header-subtitle {
        font-size: 0.9rem;
    }
    
    .welcome-heading h2,
    .form-header h2,
    .results-header h2 {
        font-size: 1.5rem;
    }
    
    .welcome-intro,
    .form-description,
    .results-intro {
        font-size: 0.9rem;
    }
    
    .goal-box {
        flex: 0 0 100%;
        min-height: auto;
        padding: 1.5rem 1rem;
    }
    
    .goal-icon {
        font-size: 1.75rem;
    }
    
    .goal-title {
        font-size: 1rem;
    }
    
    .savings-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .savings-stat {
        width: 100%;
    }
    
    .savings-graph {
        height: 180px;
    }
    
    .progress-container {
        max-width: 100%;
    }
    
    .progress-step {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .form-section,
    .option-card,
    .result-box,
    .selected-option-details,
    .potential-savings-box,
    .potential-savings-result-box,
    .recommended-options {
        padding: 1.25rem;
    }
    
    .section-title,
    .result-box h3,
    .selected-option-info h4 {
        font-size: 1.1rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .form-control,
    .form-select,
    .input-group-text {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .toggle-btn {
        padding: 0.625rem;
        font-size: 0.9rem;
    }
    
    .option-card {
        flex: 0 0 100%;
    }
    
    .option-value {
        font-size: 1.5rem;
    }
    
    .option-value-amount {
        font-size: 1.75rem;
    }
    
    .option-value-currency {
        font-size: 1.25rem;
    }
    
    .option-label {
        font-size: 0.9rem;
    }
    
    .option-description {
        font-size: 0.8rem;
    }
    
    .chart-container,
    .amortization-chart-container {
        height: 250px;
    }
    
    .form-navigation {
        flex-direction: column-reverse;
        gap: 0.75rem;
    }
    
    .btn-back,
    .btn-next,
    .btn-calculate {
        width: 100%;
    }
    
    .actions-container {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .actions-container .btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .footer-links ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .additional-buttons {
        flex-wrap: wrap;
    }
    
    .additional-buttons .btn {
        flex: 1 0 auto;
    }
}

@media (max-width: 575px) {
    html {
        font-size: 13px;
    }
    
    .header-title h1 {
        font-size: 1.35rem;
    }
    
    .welcome-heading h2,
    .form-header h2,
    .results-header h2 {
        font-size: 1.35rem;
    }
    
    .welcome-intro,
    .form-description,
    .results-intro {
        font-size: 0.85rem;
    }
    
    .form-section,
    .option-card,
    .result-box,
    .selected-option-details,
    .potential-savings-box,
    .potential-savings-result-box,
    .recommended-options {
        padding: 1rem;
    }
    
    .range-slider-container {
        margin-top: 0.75rem;
    }
    
    .range-limits {
        font-size: 0.75rem;
    }
    
    .form-hint {
        font-size: 0.75rem;
    }
    
    .preference-slider-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .preference-label {
        width: 100%;
    }
    
    .routes-table th,
    .routes-table td,
    .amortization-table th,
    .amortization-table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .potential-savings-result-box h3,
    .recommended-options h3,
    .selected-option-details h3 {
        font-size: 1.25rem;
    }
}

/* === גופנים נוספים עבור מכשירים ניידים === */
@media (max-width: 767px) {
    body {
        font-size: 1.1rem;
    }
    
    .header-title h1 {
        font-size: 1.6rem;
    }
    
    .welcome-heading h2,
    .form-header h2,
    .results-header h2 {
        font-size: 1.6rem;
    }
    
    .section-title,
    .result-box h3,
    .selected-option-info h4,
    .potential-savings-result-box h3,
    .recommended-options h3,
    .selected-option-details h3 {
        font-size: 1.3rem;
    }
    
    .form-label {
        font-size: 1.05rem;
    }
    
    .form-control,
    .form-select,
    .input-group-text,
    .toggle-btn,
    .btn {
        font-size: 1.05rem;
    }
    
    .goal-title {
        font-size: 1.15rem;
    }
    
    .goal-description {
        font-size: 1rem;
    }
    
    .form-hint {
        font-size: 0.9rem;
    }
    
    .option-label {
        font-size: 1rem;
    }
    
    .option-description {
        font-size: 0.95rem;
    }
    
    .savings-label {
        font-size: 1.05rem;
    }
}

/* === רשימות הצגת פרטי ההלוואה === */
.advantages-list li, .considerations-list li {
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .advantages-list li, .considerations-list li {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

/* === פורמט מספרים עם פסיקים === */
.money-input {
    text-align: left;
    direction: ltr;
}

/* === תיקונים נוספים לנראות === */
.form-control::placeholder,
.form-select::placeholder {
    color: var(--gray-500);
    opacity: 0.7;
}

/* === נגישות נוספת === */
:focus {
    outline: 3px solid rgba(0, 108, 181, 0.25);
    outline-offset: 2px;
}

.btn:focus, .form-control:focus, .form-select:focus, .form-check-input:focus {
    outline: none;
}

/* === שיפורי תצוגה במספרים === */
.savings-value, .option-value-amount {
    font-variant-numeric: tabular-nums;
}

/* === תיקון כיוון טקסט === */
[dir="rtl"] .input-group > :not(:first-child) {
    margin-right: -1px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

[dir="rtl"] .input-group:not(.has-validation) > :not(:last-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

/* === אנימציות === */
.fade-in {
    animation: fadeIn 0.5s forwards;
}

.fade-out {
    animation: fadeOut 0.5s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* === פסיקים בטקסט מספרי === */
.number-with-commas {
    font-variant-numeric: tabular-nums;
}/* End custom CSS */