/* ===== OptiRoutes - Google Style Clean Design ===== */
/* ===== עיצוב נקי ומודרני בסגנון Google Material Design ===== */

:root {
    --primary: #3182a0;
    --primary-dark: #256b85;
    --primary-light: #4a9bc4;
    --secondary: #f6655c;
    --secondary-light: #ff847a;
    --accent: #fbd214;
    --accent-light: #ffdf3d;
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-light: #80868b;
    --background: #ffffff;
    --surface: #ffffff;
    --surface-hover: #f8f9fa;
    --border: #dadce0;
    --divider: #e8eaed;
    --shadow-sm: 0 1px 2px 0 rgba(60,64,67,.3), 0 1px 3px 1px rgba(60,64,67,.15);
    --shadow-md: 0 1px 2px 0 rgba(60,64,67,.3), 0 2px 6px 2px rgba(60,64,67,.15);
    --shadow-lg: 0 2px 4px 0 rgba(60,64,67,.3), 0 4px 8px 3px rgba(60,64,67,.15);
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Google Sans', 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.75rem;
    font-weight: 400;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -0.3px;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1em;
    font-size: 1rem;
    line-height: 1.6;
}

.lead {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
}

/* ===== Header & Navigation ===== */
.header-transparent {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--divider);
    box-shadow: 0 1px 2px 0 rgba(60,64,67,.05);
    transition: var(--transition);
}

.header-area {
    padding: 16px 0;
}

.navbar-brand img {
    max-height: 40px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: var(--text-secondary) !important;
    font-size: 14px;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 24px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary) !important;
    background: rgba(49, 130, 160, 0.08);
}

/* Bootstrap Navbar Toggler for RTL */
.navbar-toggler {
    border: none;
    padding: 4px 8px;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* RTL Fix for Bootstrap Navbar */
.navbar-nav {
    margin-right: 0;
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        border-radius: 8px;
        margin-top: 16px;
        padding: 16px;
        box-shadow: var(--shadow-md);
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin: 4px 0;
    }
    
    .navbar-nav .nav-link {
        width: 100%;
        margin: 0;
    }
}

.header-btn .btn-border {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-btn .btn-border:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* ===== Loading Screen ===== */
.loading-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--background);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.loading-screen.is-active {
    display: flex;
}

.loading-content {
    text-align: center;
}

.loading-content img {
    max-width: 200px;
    margin-bottom: 24px;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--divider);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== Hero Section ===== */
.hero-slider-area {
    background: var(--background);
    padding-top: 80px;
    padding-bottom: 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    z-index: 2;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    height: calc(100vh - 80px);
    min-height: calc(100vh - 80px);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    padding: 120px 0 80px;
    background: var(--background);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    position: absolute;
    z-index: 2;
}

.hero-slide:not(.active) {
    opacity: 0 !important;
    visibility: hidden !important;
    z-index: 1;
}

.hero-slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slide-content .row {
    flex: 1;
    align-items: stretch !important;
}

.hero-slide-content .col-lg-6 {
    display: flex;
    flex-direction: column;
}

.hero-slide-content .col-lg-6:has(.hero-content) {
    justify-content: flex-start;
}

.hero-slide-content .col-lg-6:has(.hero-visual) {
    display: flex;
    align-items: stretch;
}

.hero-slide-content .col-lg-6 .hero-visual {
    width: 100%;
    align-self: stretch;
    display: flex;
}

.hero-header-section {
    text-align: center;
    margin-bottom: 64px;
}

.hero-badge {
    display: inline-block;
    background: rgba(49, 130, 160, 0.1);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(49, 130, 160, 0.2);
}

.hero-badge i {
    margin-left: 8px;
    color: var(--accent);
}

.hero-title {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.hero-title-main {
    display: block;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.hero-title-highlight {
    display: block;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 8px;
}

.hero-title-sub {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 16px;
}

.hero-content {
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle strong {
    color: var(--primary);
    font-weight: 500;
}

/* ===== Hero Stats ===== */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    margin: 32px 0;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 400;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--divider);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.hero-btn-primary {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: white;
}

.hero-btn-secondary {
    background: white;
    color: var(--primary);
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.hero-cta,
.hero-learn {
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

.hero-cta,
.hero-learn,
.btn {
    padding: 14px 32px;
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.hero-cta.btn-primary,
.btn.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.hero-cta.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: white;
}

.hero-learn.btn-outline,
.btn.btn-outline {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
}

.hero-learn.btn-outline:hover,
.btn.btn-outline:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Stats Strip ===== */
.stats-strip {
    background: var(--background);
    border-top: 1px solid var(--divider);
    border-bottom: 1px solid var(--divider);
    padding: 48px 0;
    margin: 0;
    margin-top: 0;
    position: relative;
    z-index: 1;
    clear: both;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.stat-item-strip {
    text-align: center;
    padding: 16px;
}

.stat-number-strip {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--primary);
    letter-spacing: -1px;
}

.stat-number-strip .counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.stat-label-strip {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== Sections ===== */
section {
    padding: 80px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.section {
    padding: 80px 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.section-title {
    margin-bottom: 64px;
}

.section-title h1,
.section-title h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-title p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Cards ===== */
.problem-solution-card,
.service-wrapper,
.implementation-step {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 32px;
    transition: var(--transition);
    height: 100%;
    box-shadow: none;
}

.features-wrapper {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 32px;
    transition: var(--transition);
    box-shadow: none;
    height: auto;
    min-height: auto;
}

.problem-solution-card:hover,
.service-wrapper:hover,
.features-wrapper:hover,
.implementation-step:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border);
    transform: translateY(-2px) scale(1.02);
}

/* Scroll effects for cards */
.problem-solution-card,
.service-wrapper,
.implementation-step {
    will-change: transform, opacity;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.features-wrapper {
    will-change: transform, opacity;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
    height: auto;
    min-height: auto;
}

.problem-solution-card:hover,
.service-wrapper:hover,
.features-wrapper:hover,
.implementation-step:hover {
    opacity: 1;
}

/* Parallax images */
img[data-parallax] {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Scroll fade effects */
.scroll-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-header h3 i {
    font-size: 1.5rem;
}

.problem-solution-card .card-header h3 i {
    color: var(--secondary);
}

.service-img {
    margin-bottom: 24px;
}

.service-img i {
    color: var(--primary);
    font-size: 3rem;
}

.service-wrapper .service-img i,
.card-header h3 i.fa-lightbulb {
    color: var(--primary);
    margin-bottom: 16px;
}

.service-text h3,
.features-text h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.service-text p,
.card-body p,
.features-text p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.features-text {
    overflow: visible;
    height: auto;
}

/* ===== Problem/Solution Grid ===== */
.problem-solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0;
}

.problem-card,
.solution-card {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 24px;
}

.card-icon {
    margin-bottom: 16px;
}

.card-icon i {
    font-size: 2rem;
}

.problem-card {
    border-right: 3px solid var(--secondary);
}

.solution-card {
    border-right: 3px solid var(--primary);
}

.problem-card h3,
.solution-card h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.problem-card ul,
.solution-card ul {
    list-style: none;
    padding: 0;
}

.problem-card li,
.solution-card li {
    padding: 8px 0;
    padding-right: 24px;
    position: relative;
    color: var(--text-primary);
    line-height: 1.6;
}

.problem-card li::before {
    content: "✗";
    position: absolute;
    right: 0;
    color: var(--secondary);
    font-weight: bold;
}

.solution-card li::before {
    content: "✓";
    position: absolute;
    right: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ===== Features ===== */
#benefits .row {
    align-items: flex-start;
}

#benefits .col-lg-4 {
    display: flex;
    flex-direction: column;
}

.features-wrapper {
    margin-bottom: 32px;
    overflow: visible;
    height: auto !important;
    min-height: auto !important;
    display: block;
    flex: 0 0 auto;
}

.features-text {
    overflow: visible;
    height: auto;
    min-height: auto;
}

.features-text p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    margin-bottom: 0;
}

.features-text h3 span {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-left: 12px;
}

.features-img {
    padding: 32px;
}

.features-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ===== Implementation Steps ===== */
.implementation-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-md);
}

.implementation-step h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.implementation-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Comparison Table ===== */
.comparison-table {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.comparison-table table {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: var(--surface-hover);
}

.comparison-table th {
    padding: 16px;
    text-align: right;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--divider);
    font-size: 0.875rem;
}

.comparison-table td {
    padding: 16px;
    text-align: right;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--divider);
    font-size: 0.875rem;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: var(--surface-hover);
}

.comparison-table td strong {
    color: var(--primary);
    font-weight: 500;
}

/* ===== Clients Carousel ===== */
.clients-carousel .client-item {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    margin: 8px;
    transition: var(--transition);
}

.clients-carousel .client-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border);
}

.client-info h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.client-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== Testimonials ===== */
.testimonial-item {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 32px;
    margin: 8px;
    max-width: 100%;
    width: auto;
}

.testimonials-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.testimonials-carousel .testimonial-item {
    max-width: 400px;
    margin: 0 auto;
}

.testimonial-wrapper {
    text-align: center;
}

.testimoniall-img {
    margin-bottom: 24px;
}

.testimoniall-img i {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.3;
}

.testimonial-text,
.testimonial2-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.testimonial-text p,
.testimonial2-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.testimonial-img {
    margin: 24px 0;
}

.testimonial-img {
    margin: 24px auto;
    display: inline-block;
}

.testimonial-img img {
    width: auto;
    height: 80px;
    max-width: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--divider);
    display: block;
    margin: 0 auto;
}

.testimonial-text h4,
.testimonial2-text h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-text span,
.testimonial2-text span {
    font-size: 0.875rem;
    color: var(--text-light);
    display: block;
}

.testimonial-content {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author {
    margin-top: 24px;
}

.testimonial-author h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.testimonial-author p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Buttons ===== */
.btn-primary,
.btn-border {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.btn-primary:hover,
.btn-border:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--primary);
    color: var(--primary);
}

/* ===== Hero Visual ===== */
.hero-visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
    display: flex;
    padding: 0;
    align-self: stretch;
    flex: 1;
}

.hero-3d-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.hero-main-visual {
    position: relative;
    z-index: 2;
}

.hero-img {
    width: 100%;
    height: 100%;
    min-height: 500px;
    object-fit: cover;
    object-position: top center;
    border-radius: 5px;
    box-shadow: none;
    border: none;
    display: block;
    position: relative;
    flex: 1;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    color: var(--primary);
    font-size: 1.5rem;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-element.element-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.floating-element.element-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.floating-element.element-3 {
    top: 50%;
    right: -5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== Background Overrides ===== */
.gray2-bg {
    background: #f8f9fa;
}

.blue3-bg {
    background: var(--background);
}

.subscribe-area {
    border-top: 1px solid var(--divider);
}

.subscribe-text span {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.subscribe-text h2 {
    font-size: 2rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.subscribe-text p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Contact Form ===== */
.contact-form,
.subscribe-form {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 32px;
}

.contact-form .form-group,
.subscribe-form .form-group {
    margin-bottom: 24px;
}

.contact-form label,
.subscribe-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea,
.subscribe-form input,
.subscribe-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--background);
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.subscribe-form input:focus,
.subscribe-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(49, 130, 160, 0.1);
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== Footer ===== */
.footer-area {
    background: var(--text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 48px 0 24px;
    border-top: 1px solid var(--divider);
}

.footer-content h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-logo img {
    max-width: 150px;
    filter: brightness(0) invert(1);
}

/* ===== Floating Buttons ===== */
.floating-buttons {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    cursor: pointer;
    font-size: 1.5rem;
    text-decoration: none;
}

.floating-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(49, 130, 160, 0.4);
    color: white;
}

/* כפתור וואטסאפ גדול בקטע צור קשר */
.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 48px;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    background: #25D366;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-whatsapp-large i {
    font-size: 2rem;
}

.btn-whatsapp-large:hover {
    background: #20bd5a;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    h1 {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .section-title h1,
    .section-title h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 64px 0;
    }
    
    .problem-solution-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-slider-area {
        overflow: hidden;
        z-index: 2;
        height: calc(100vh - 80px);
        min-height: calc(100vh - 80px);
    }
    
    .stats-strip {
        position: relative;
        z-index: 1;
        margin-top: 0;
        clear: both;
        display: block;
        width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.875rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .hero-title-sub {
        font-size: 1rem;
    }
    
    .section-title h1,
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 48px 0;
    }
    
    .hero-slide {
        padding: 80px 0 48px;
        min-height: calc(100vh - 80px);
        height: calc(100vh - 80px);
    }
    
    .hero-slider-wrapper {
        height: calc(100vh - 80px);
        min-height: calc(100vh - 80px);
        overflow: hidden;
    }
    
    .hero-slider-area {
        overflow: hidden;
        z-index: 2;
        height: calc(100vh - 80px);
        min-height: calc(100vh - 80px);
    }
    
    .stats-strip {
        padding: 32px 0;
        position: relative;
        z-index: 1;
        margin-top: 0;
        clear: both;
        display: block;
        width: 100%;
    }
    
    .stat-number-strip {
        font-size: 2rem;
    }
    
    .floating-buttons {
        left: 16px;
        bottom: 16px;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .btn-whatsapp-large {
        padding: 16px 32px;
        font-size: 1.25rem;
    }
    
    .btn-whatsapp-large i {
        font-size: 1.75rem;
    }
}

/* ===== Hero Slider Wrapper ===== */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    overflow: hidden;
    max-width: 100%;
}

/* ===== Hero Slider Navigation ===== */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 100;
    width: 100%;
    pointer-events: none;
    height: 0;
}

.slider-nav-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid var(--divider);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

.prev-btn {
    right: 24px;
}

.next-btn {
    left: 24px;
}

/* ===== Slider Indicators ===== */
.hero-slider-indicators {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
    width: 100%;
    justify-content: center;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.indicator:hover {
    background: var(--primary-light);
}

/* ===== Scroll Down Indicator ===== */
.scroll-down-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    z-index: 100;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: 0.875rem;
    margin-bottom: 8px;
}

.scroll-arrow {
    font-size: 1.25rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ===== OwlCarousel Styles ===== */
.owl-carousel {
    position: relative;
}

.owl-carousel .owl-item {
    opacity: 0.7;
    transition: opacity 0.3s;
}

.owl-carousel .owl-item.active {
    opacity: 1;
}

.owl-carousel .owl-nav {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}

.owl-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid var(--divider);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.owl-carousel .owl-nav button:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.owl-carousel .owl-nav .owl-prev {
    right: -20px;
}

.owl-carousel .owl-nav .owl-next {
    left: -20px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 24px;
}

.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--divider);
    margin: 0 6px;
    cursor: pointer;
    transition: var(--transition);
}

.owl-carousel .owl-dots .owl-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

.owl-carousel .owl-dots .owl-dot:hover {
    background: var(--primary-light);
}

/* ===== Screenshots Carousel ===== */
.screenshots-carousel .screenshot-item {
    padding: 8px;
}

.screenshots-wrapper {
    padding: 0;
}

.screenshots-img {
    overflow: hidden;
    border-radius: 8px;
}

.screenshots-carousel .screenshot-item img,
.screenshots-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.screenshots-carousel .screenshot-item:hover img {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* ===== Remove old gradients and backgrounds ===== */
.hero-bg-container,
.hero-bg-overlay,
.hero-particles {
    display: none;
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-70 {
    margin-bottom: 70px;
}

.mt-4 {
    margin-top: 2rem;
}

.pl-10 {
    padding-left: 10px;
}

.pr-10 {
    padding-right: 10px;
}

.pl-70 {
    padding-left: 70px;
}

.pr-70 {
    padding-right: 70px;
}

/* ===== Solution Summary ===== */
.solution-summary {
    margin-top: 48px;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
}

.solution-summary .lead {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* ===== Benefits Summary ===== */
.benefits-summary {
    margin-top: 48px;
}

.benefit-highlight {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.benefit-highlight h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.benefit-highlight p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== Implementation Note ===== */
.implementation-note {
    margin-top: 48px;
}

.note-highlight {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.note-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.note-highlight strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== Stats Highlight ===== */
.clients-stats {
    margin-top: 32px;
}

.stats-highlight {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 24px;
}

.stats-highlight p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.stats-highlight strong {
    color: var(--text-primary);
    font-weight: 500;
}

/* ===== SEO Article ===== */
.seo-article {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    padding: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.seo-article h2 {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.seo-article h2:first-child {
    margin-top: 0;
}

.seo-article p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ===== Card Icon ===== */
.card-icon {
    margin-bottom: 16px;
}

.card-icon i {
    font-size: 2rem;
}

.problem-card .card-icon i {
    color: var(--secondary);
}

.solution-card .card-icon i {
    color: var(--primary);
}

/* ===== Features Image ===== */
.features-img {
    padding: 32px;
}

.features-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

/* ===== Modal Styles ===== */
.modal-content {
    background: var(--surface);
    border: 1px solid var(--divider);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--divider);
    padding: 24px;
}

.modal-header .modal-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.modal-body {
    padding: 24px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    opacity: 0.5;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close:hover {
    opacity: 1;
}

/* Hero should be the top stacking context */
.hero-slider-area {
    position: relative;
    z-index: 10;
  }
  
  /* Make sure slides are also inside that context */
  .hero-slider-wrapper,
  .hero-slide {
    position: relative;
    z-index: 10;
  }
  
  /* Stats strip should stay below hero */
  .stats-strip.counter-section {
    position: relative;
    z-index: 1;
  }
  