@import url('https://fonts.googleapis.com/css2?family=Varela+Round&display=swap');

/* ========================================
   ROOT VARIABLES - כל הצבעים והמשתנים
======================================== */
:root {
    /* Font Scale */
    --font-scale: 1;
    
    /* Primary Colors */
    --primary-color: #2c3e50;
    --primary-dark: #1a252f;
    --primary-light: #2c3e50b3;
    
    /* Secondary Colors */
    --secondary-color: #b89462;
    --secondary-dark: #a67c4d;
    --secondary-light: #b8946266;
    
    /* Text Colors */
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    
    /* Utility Colors */
    --shadow-color: #00000033;
    --overlay-dark: #00000080;
    --white-transparent: #ffffff1a;
    --white-semi: #ffffff4d;
}

/* ========================================
   RESET & BASE
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Varela Round', sans-serif;
    background: var(--text-light);
    color: var(--text-dark);
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

/* ========================================
   SKIP LINK - נגישות
======================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-color);
    color: var(--text-light);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   NAVBAR - DESKTOP
======================================== */
.navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: none;
    z-index: 9999;
    direction: rtl;
    box-shadow: none;
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar.shrink {
    padding: 10px 0;
    background: linear-gradient(90deg, 
        var(--primary-light) 0%, 
        var(--primary-color) 50%, 
        var(--primary-light) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 10px 40px var(--shadow-color);
    border-bottom: 1px solid var(--white-transparent);
}

.navbar.shrink .nav-link {
    color: var(--text-light) !important;
}

/* Logo */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-container {
    transform: translateY(-2px);
}


.logo-icon {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    display: none;
}

.logo-icon:hover {
    transform: none;
    box-shadow: none;
}

.navbar.shrink .logo-icon {
    width: 35px;
    height: 35px;
}


.navbar.shrink .logo-icon {
    width: 35px;
    height: 35px;
}

.logo-text span {
    font-size: calc(24px * var(--font-scale));
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary-color), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
}

.navbar.shrink .logo-text span {
    font-size: calc(20px * var(--font-scale));
}

.logo-text span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-brand:hover .logo-text span::after {
    width: 100%;
}

.navbar-toggler {
    background: var(--white-transparent);
    border: 1px solid var(--white-semi);
}

/* Navigation Links - Desktop */
@media (min-width: 992px) {
    .navbar-cta-btn {
        opacity: 0;
        visibility: hidden;
    }
    
    .navbar.shrink .navbar-cta-btn {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        color: var(--text-light) !important;
        font-weight: 700;
        font-size: calc(16px * var(--font-scale));
        margin: 0 8px;
        padding: 8px 16px !important;
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 8px;
    }
    
    .nav-link::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 8px;
        padding: 2px;
        background: linear-gradient(135deg, var(--secondary-color), transparent);
        /* -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); */
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent, 
            var(--secondary-color), 
            transparent);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-50%);
        box-shadow: 0 0 10px var(--secondary-color);
    }
    
    .nav-link:hover {
        color: var(--text-light) !important;
        background: var(--white-transparent);
        transform: translateY(-2px);
        text-shadow: 0 0 20px var(--secondary-light);
    }
    
    .nav-link:hover::before {
        opacity: 1;
    }
    
    .nav-link:hover::after {
        width: 80%;
    }
    
    .nav-link.active {
        background: transparent;
        color: var(--text-light) !important;
        position: relative;
    }
    
    .nav-link.active::after {
        width: 100%;
        background: var(--secondary-color);
    }
    
    .nav-link.active::before {
        opacity: 0;
    }
}

/* Call-to-Action Button */
.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark), var(--secondary-color)) !important;
    background-size: 200% 200%;
    border: none !important;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    position: relative;
    overflow: hidden;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 5px 20px var(--secondary-light);
    font-size: calc(15px * var(--font-scale));
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--white-semi);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px var(--secondary-light),
                0 0 30px var(--secondary-light);
    animation: none;
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

/* ========================================
   NAVBAR - MOBILE
======================================== */
@media (max-width: 991.98px) {
    .navbar-cta-btn {
        opacity: 1 !important;
        visibility: visible !important;
        transform: scale(1) !important;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        backdrop-filter: blur(20px);
        z-index: 9998;
        transition: right 0.1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        overflow-y: auto;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 60px 40px;
    }
    
    .navbar-collapse.show {
        right: 0;
        box-shadow: -10px 0 50px var(--overlay-dark);
    }
    
    .navbar-collapse::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 30%, var(--secondary-light) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, var(--primary-light) 0%, transparent 50%);
        pointer-events: none;
        animation: pulseGlow 8s ease-in-out infinite;
    }
    
    @keyframes pulseGlow {
        0%, 100% { opacity: 0.5; }
        50% { opacity: 1; }
    }
    
    .navbar-nav {
        width: 100%;
        gap: 0;
        position: relative;
        z-index: 2;
    }
    
    .nav-item {
        opacity: 0;
        transform: translateX(50px);
        animation: slideInMenu 0.5s ease forwards;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .navbar-collapse.show .nav-item:nth-child(1) { animation-delay: 0.1s; }
    .navbar-collapse.show .nav-item:nth-child(2) { animation-delay: 0.2s; }
    .navbar-collapse.show .nav-item:nth-child(3) { animation-delay: 0.3s; }
    .navbar-collapse.show .nav-item:nth-child(4) { animation-delay: 0.4s; }
    .navbar-collapse.show .nav-item:nth-child(5) { animation-delay: 0.5s; }
    .navbar-collapse.show .nav-item:nth-child(6) { animation-delay: 0.6s; }
    .navbar-collapse.show .nav-item:nth-child(7) { animation-delay: 0.7s; }
    
    @keyframes slideInMenu {
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    .nav-link {
        font-size: calc(32px * var(--font-scale)) !important;
        font-weight: 700 !important;
        padding: 20px 0 !important;
        margin: 0 !important;
        color: var(--text-light) !important;
        text-align: center;
        position: relative;
        transition: all 0.3s ease;
        text-shadow: 0 2px 10px var(--shadow-color);
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link::before {
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: calc(28px * var(--font-scale));
        opacity: 0.8;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        color: var(--text-light) !important;
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    }
    
    .nav-link:hover::before,
    .nav-link.active::before {
        opacity: 1;
        transform: scale(1.2) rotate(5deg);
    }
    
    /* אייקונים ספציפיים */
    .nav-item:nth-child(1) .nav-link::before { content: "\f015"; }
    .nav-item:nth-child(2) .nav-link::before { content: "\f05a"; }
    .nav-item:nth-child(3) .nav-link::before { content: "\f0ad"; }
    .nav-item:nth-child(4) .nav-link::before { content: "\f1ea"; }
    .nav-item:nth-child(5) .nav-link::before { content: "\f0e0"; }
    
    .nav-item .btn-primary {
        margin: 20px 0 !important;
        padding: 18px 50px !important;
        font-size: calc(20px * var(--font-scale)) !important;
        width: 100%;
        box-shadow: 0 10px 40px var(--secondary-light);
        animation: pulseButton 2s ease-in-out infinite;
    }
    
    @keyframes pulseButton {
        0%, 100% {
            transform: scale(1);
            box-shadow: 0 10px 40px var(--secondary-light);
        }
        50% {
            transform: scale(1.05);
            box-shadow: 0 15px 50px var(--secondary-light);
        }
    }
    
    .navbar-toggler {
        position: relative;
        z-index: 9999;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: var(--white-transparent) !important;
        border: 2px solid var(--white-semi) !important;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 20px var(--secondary-light);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        transition: all 0.3s ease;
        width: 24px;
        height: 24px;
        background-size: 100%;
    }
    
    .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M6 6l18 18M6 24L24 6'/%3e%3c/svg%3e");
        transform: rotate(90deg);
    }
    
    .navbar-toggler[aria-expanded="true"] {
        background: var(--primary-color) !important;
        border-color: var(--secondary-color) !important;
        transform: scale(1.1);
    }
}

@media (min-width: 992px) {
    .navbar .btn-primary {
        padding: 8px 20px;
        font-size: calc(15px * var(--font-scale));
        white-space: nowrap;
    }
    
    .navbar-collapse {
        background: transparent !important;
    }
}


/* ========================================
   FOOTER
======================================== */

.footer {
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--primary-dark) 100%);
    backdrop-filter: blur(30px) saturate(200%);
    box-shadow: 0 -10px 40px var(--shadow-color);
    color: var(--text-light);
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
}

.footer h5 {
    font-size: calc(20px * var(--font-scale));
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
    font-size: calc(15px * var(--font-scale));
    line-height: 1.6;
}

.social-link {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-link li {
    margin-bottom: 8px;
}

.social-link a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: calc(15px * var(--font-scale));
}

.social-link a:hover {
    color: var(--secondary-color);
    transform: translateX(-5px);
}

.social-link a i {
    margin-left: 8px;
    font-size: calc(16px * var(--font-scale));
}

.footer .text-center {
    border-top: 1px solid var(--white-transparent);
    margin-top: 40px;
}

.footer .text-center p {
    margin: 0;
    padding: 20px 0;
}

.footer .text-center a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .text-center a:hover {
    color: var(--text-light);
    text-decoration: underline;
}

/* ========================================
   FLOATING CONTACT BUTTONS
======================================== */
.float-contact-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9998;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: calc(24px * var(--font-scale));
    color: var(--text-light);
    text-decoration: none;
    box-shadow: 0 5px 25px var(--shadow-color);
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.phone-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.contact-btn:hover {
    transform: scale(1.15);
}

/* ========================================
   VIDEO HERO SECTION
======================================== */
.video-hero-section {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.7) contrast(1.1);
}

/* Fix for mobile - ensure video fits properly */
@media (max-width: 768px) {
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        object-position: center center;
    }
    
    .video-hero-section {
        overflow: hidden;
    }
}

.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    z-index: 2;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.5));
    /* background: linear-gradient(135deg, rgba(30, 58, 95, 0.7), rgba(244, 162, 97, 0.4)) */
}

.hero-content-center {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 1200px;
}

.hero-main-title {
    font-size: calc(clamp(40px, 8vw, 60px) * var(--font-scale));
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 30px;
    text-shadow: 0 3px 8px rgba(0,0,0,0.9), 0 8px 32px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease;
    letter-spacing: 2px;
}

.hero-main-title-home{
    font-size: calc(clamp(40px, 8vw, 100px) * var(--font-scale)) !important;
}

.font-size-title{
    font-size: calc(clamp(40px, 8vw, 60px) * var(--font-scale)) !important;
}

.hero-main-subtitle {
    font-size: calc(clamp(18px, 3vw, 36px) * var(--font-scale));
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 50px;
    text-shadow: 0 3px 20px var(--shadow-color);
    animation: fadeInUp 1s ease 0.3s both;
    font-weight: 300;
}

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

.scroll-down-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-down-indicator span {
    font-size: calc(14px * var(--font-scale));
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-down-indicator i {
    font-size: calc(24px * var(--font-scale));
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(15px);
    }
}

/* White Climb Overlay */
.white-climb-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--text-light);
    z-index: 5;
    transition: height 0.3s ease-out;
}

/* ========================================
   MAIN CONTENT
======================================== */
main {
    position: relative;
    z-index: 10;
    margin-top: 100vh;
}

/* ========================================
   BUSINESS DESCRIPTION SECTION
======================================== */
.business-description-section-new {
    padding: 100px 0 0 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow-x: clip;
    overflow-y: visible;
    background: linear-gradient(180deg, #f5f7fa 0%, #e8f0f7 40%, var(--text-light) 100%);
}

.about-hero-wrapper {
    text-align: center;
    position: relative;
    z-index: 2;
    padding-left: 40px;
    padding-right: 40px;
    padding-top: 0;
    padding-bottom: 60px;
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: -250px;
    right: -300px;
    animation: floatShape1 10s ease-in-out infinite;
}

.shape-2 {
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    bottom: -250px;
    left: -275px;
    animation: floatShape2 12s ease-in-out infinite;
}

.shape-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    top: 35%;
    left: -225px;
    animation: floatShape3 12s ease-in-out infinite;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    top: 20%;
    right: -150px;
    animation: floatShape4 10s ease-in-out infinite;
}

@keyframes floatShape1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(50px, 100px) rotate(180deg); }
}

@keyframes floatShape2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-80px, -50px) rotate(-180deg); }
}

@keyframes floatShape3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(100px, -80px) rotate(180deg); }
}

@keyframes floatShape4 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-60px, 80px) rotate(-180deg); }
}

.about-hero-title {
    font-size: calc(clamp(40px, 6vw, 80px) * var(--font-scale));
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    animation: glowBlue 3s ease-in-out infinite;
}

@keyframes glowBlue {
    0%, 100% {
        text-shadow: 0 0 20px var(--primary-light),
                     0 0 40px var(--primary-light),
                     0 0 60px var(--primary-light);
    }
    50% {
        text-shadow: 0 0 20px var(--secondary-light),
                     0 0 40px var(--secondary-light),
                     0 0 60px var(--secondary-light);
    }
}

.title-line {
    position: relative;
    display: inline-block;
}

.title-line::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

.about-hero-text {
    font-size: calc(clamp(18px, 2.5vw, 28px) * var(--font-scale));
    line-height: 1.9;
    color: var(--text-dark);
    max-width: 900px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
}

.about-decorative-line {
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    margin: 0 auto;
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% { width: 200px; }
    50% { width: 300px; }
}

/* ========================================
   CAROUSEL SECTION
======================================== */
.carousel-section-full {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: var(--text-light);
    margin-top: -1px;
}

.section-title-center {
    font-size: calc(clamp(32px, 5vw, 56px) * var(--font-scale));
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-white .section-title-center {
    color: var(--primary-color);
}

.section-primary .section-title-center {
    color: var(--text-light);
}

.section-title-center::before,
.section-title-center::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
}

.section-title-center::before {
    right: calc(50% + 200px);
}

.section-title-center::after {
    left: calc(50% + 200px);
}

.carousel-full {
    width: 100%;
    margin-bottom: 0 !important;
}

.carousel-full .carousel-item {
    height: 600px;
}

.carousel-full .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(255, 255, 255, 0.5));
    /* background: linear-gradient(135deg, var(--primary-light), var(--secondary-light)); */
    z-index: 1;
}

.carousel-caption {
    z-index: 2;
    bottom: 50%;
    transform: translateY(50%);
}

.carousel-caption h1 {
    font-size: calc(clamp(28px, 5vw, 56px) * var(--font-scale));
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px var(--overlay-dark);
}

.carousel-caption p {
    font-size: calc(clamp(16px, 2vw, 24px) * var(--font-scale));
    text-shadow: 1px 1px 5px var(--overlay-dark);
}

.animate-text {
    animation: fadeInUp 0.8s ease;
}

.carousel-indicators [data-bs-target] {
    width: 21px;
    height: 2px;
    border-radius: 50%;
    background: var(--secondary-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary-light);
    border-radius: 50%;
    padding: 10px;
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    background-color: var(--secondary-color);
}

/* ========================================
   ABOUT SECTION - למה לבחור בנו
======================================== */
.why-choose-us-section {
    position: relative;
    overflow: hidden;
    background: var(--primary-color);
}

#particles-canvas-about {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.why-choose-us-section .container {
    position: relative;
    z-index: 2;
}

#about {
    padding: 150px 0;
}

.section-title-3d {
    font-size: calc(clamp(40px, 6vw, 80px) * var(--font-scale));
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: scale(0);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.4s;
    text-shadow: 0 0 15px var(--secondary-light);
}

.section-title-3d::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.slide-in-right.animated .section-title-3d {
    opacity: 1;
    transform: scale(1);
    animation: glow 0.8s ease-in-out 1s infinite alternate;
}

.about-text {
    font-size: calc(clamp(18px, 2.5vw, 28px) * var(--font-scale));
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s ease 0.7s;
}

.slide-in-right.animated .about-text {
    opacity: 1;
    transform: scale(1);
}

@keyframes glow {
    0% {
        text-shadow: 0 0 10px var(--secondary-light),
                     0 0 20px var(--secondary-light),
                     0 0 30px var(--secondary-light);
    }
    100% {
        text-shadow: 0 0 20px var(--secondary-color),
                     0 0 40px var(--secondary-light),
                     0 0 60px var(--secondary-light),
                     0 0 80px var(--secondary-light);
    }
}

.image-3d-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-color);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0) rotate(-45deg);
    width: 100%;
    height: 500px;
}

.image-3d-wrapper.animated {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.image-3d-wrapper:hover {
    transform: perspective(1000px) rotateY(5deg) scale(1.05);
    box-shadow: 0 30px 80px var(--secondary-light),
                0 0 60px var(--secondary-light);
}

.image-3d-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.image-3d-wrapper.animated img {
    animation: zoomInOut 8s ease-in-out infinite;
}

.image-3d-wrapper:hover img {
    animation-play-state: paused;
    transform: scale(1.15);
}

@keyframes zoomInOut {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========================================
   CTA SECTION - נשמח לעמוד לשירותכם
======================================== */
.cta-glow-section {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    background: var(--text-light);
}

.glow-effect-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, var(--secondary-light) 0%, var(--secondary-light) 10%, transparent 35%),
        radial-gradient(circle at 70% 50%, var(--primary-light) 0%, var(--primary-light) 10%, transparent 35%);
    /* animation: glowRotate 12s linear infinite; */
    z-index: 2;
    pointer-events: none;
}

@keyframes glowRotate {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

.cta-glow-section .container {
    position: relative;
    z-index: 3;
}

.cta-title {
    font-size: calc(clamp(36px, 6vw, 72px) * var(--font-scale));
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-shadow: 0 0 15px var(--primary-light);
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards, glowCta 3s ease-in-out 1.5s infinite alternate;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes glowCta {
    0% { text-shadow: 0 0 15px var(--primary-light); }
    100% { text-shadow: 0 0 25px var(--secondary-light); }
}

.cta-text {
    font-size: calc(clamp(18px, 2.5vw, 28px) * var(--font-scale));
    color: var(--text-dark);
    line-height: 1.9;
    max-width: 900px;
    margin: 0 auto 20px;
    opacity: 0;
    transform: scale(0);
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.cta-text:nth-of-type(1) {
    animation-delay: 1s;
}

.cta-text:nth-of-type(2) {
    animation-delay: 1.3s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-cta {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: var(--text-light);
    padding: 22px 55px;
    border-radius: 50px;
    font-weight: 700;
    font-size: calc(22px * var(--font-scale));
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 10px 30px var(--secondary-light);
    margin-top: 20px;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
}

@keyframes explodeIn {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-180deg);
    }
    70% {
        transform: scale(1.15) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.btn-cta:hover {
    transform: scale(1.15);
    box-shadow: 0 15px 50px var(--secondary-light);
    color: var(--text-light);
}

/* ========================================
   SERVICES SECTION - TICKER
======================================== */
.services-chain-section {
    padding: 120px 0;
    overflow: hidden;
    position: relative;
    background-color: var(--primary-color);
    background-image: radial-gradient(circle 2500px at 25% center, 
        var(--secondary-light) 0%, 
        var(--primary-color) 30%, 
        transparent 60%);
}

.services-chain-section .section-title-center {
    font-size: calc(clamp(40px, 6vw, 72px) * var(--font-scale));
    font-weight: 900;
    color: var(--text-light);
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 1s ease 0.3s;
}

.services-chain-section.animated .section-title-center {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    animation: glowServices 2s ease-in-out 1s infinite alternate;
}

@keyframes glowServices {
    0% {
        text-shadow: 0 0 15px var(--text-light),
                     0 0 30px var(--text-light),
                     0 0 45px var(--secondary-light);
    }
    100% {
        text-shadow: 0 0 25px var(--text-light),
                     0 0 50px var(--secondary-color),
                     0 0 75px var(--text-light),
                     0 0 100px var(--secondary-light);
    }
}

.services-chain-section .section-title-center::before,
.services-chain-section .section-title-center::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    transform: translateY(-50%);
}

.services-chain-section .section-title-center::before {
    right: calc(100% + 30px);
}

.services-chain-section .section-title-center::after {
    left: calc(100% + 30px);
}

.services-chain-section .text-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ticker { 
    overflow: hidden; 
    width: 100%; 
    margin-bottom: 40px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ticker:active {
    cursor: grabbing;
}

.ticker__track {
    display: flex; 
    width: max-content; 
    will-change: transform;
    transform: translate3d(0,0,0);
    animation: ticker linear infinite;
    animation-play-state: paused;
}

.ticker--run .ticker__track { 
    animation-play-state: running; 
}

.ticker__track * {
    pointer-events: none;
}

.ticker__unit { 
    display: flex; 
    align-items: center; 
    gap: 60px; 
    flex: 0 0 auto; 
    padding-left: 60px;
}

.service-text {
    font-weight: 400;
    font-size: calc(80px * var(--font-scale));
    color: var(--text-light);
    text-shadow: 0 5px 20px var(--overlay-dark);
    letter-spacing: 3px;
    white-space: nowrap;
}

.service-separator {
    font-weight: 900;
    font-size: calc(80px * var(--font-scale));
    color: var(--secondary-color);
    text-shadow: 0 5px 20px var(--secondary-light);
    padding: 0 10px;
}

@keyframes ticker {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(calc(-1 * var(--unit, 0px)),0,0); }
}

.ticker__track--rev {
    animation-direction: reverse;
    transform: translate3d(calc(-1 * var(--unit, 0px)),0,0);
}

/* ========================================
   CONTACT CTA WAVE SECTION
======================================== */
.contact-cta-wave-section {
    padding: 150px 0;
    position: relative;
    overflow: hidden;
    background: var(--text-light);
}

.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.8;
}

.waves {
    position: absolute;
    width: 100%;
    height: 100%;
    margin-bottom: -7px;
}

.parallax > use {
    animation: wave-move 25s cubic-bezier(.55,.5,.45,.5) infinite;
    fill: var(--primary-light);
}

.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 20s;
    opacity: 0.05;
}

.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 25s;
    opacity: 0.1;
    fill: var(--primary-color);
}

.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 30s;
    opacity: 0.05;
}

.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 35s;
    opacity: 0.1;
    fill: var(--secondary-color);
}

@keyframes wave-move {
    0% { transform: translate3d(-90px, 0, 0); }
    100% { transform: translate3d(85px, 0, 0); }
}

.contact-cta-wave-section .container {
    position: relative;
    z-index: 2;
}

.contact-cta-simple {
    text-align: center;
    position: relative;
    padding: 0;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    font-size: calc(60px * var(--font-scale));
    opacity: 0.06;
    color: var(--primary-color);
    animation: float 6s ease-in-out infinite;
}

.floating-icon.icon-1 {
    top: 0;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 0;
    right: 10%;
    animation-delay: 1.5s;
}

.floating-icon.icon-3 {
    bottom: 0;
    left: 15%;
    animation-delay: 3s;
}

.floating-icon.icon-4 {
    bottom: 0;
    right: 15%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-30px) rotate(5deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(30px) rotate(-5deg); }
}

.contact-cta-content-wrapper {
    padding: 60px 20px;
    text-align: center;
}

.contact-cta-text {
    font-size: calc(clamp(22px, 28px, 38px) * var(--font-scale));
    font-weight: 600;
    line-height: 2;
    color: var(--primary-color);
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
    opacity: 0;
    transform: scale(0.5);
    filter: blur(5px);
}

/* .contact-cta-text::first-line {
    font-size: calc(clamp(42px, 6vw, 72px) * var(--font-scale));
    font-weight: 900;
    line-height: 2.2;
    text-shadow: 
        0 0 20px var(--primary-light),
        0 0 40px var(--secondary-light),
        0 0 60px var(--primary-light);
} */

.contact-cta-content-wrapper.is-inview .contact-cta-text {
    animation: scaleUp 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes scaleUp {
    0% {
        opacity: 0;
        transform: scale(0.5);
        filter: blur(5px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}

/* ========================================
   YOUTUBE VIDEO SECTION
======================================== */
.yt3 { 
    --gap: 20px; 
    --radius: 16px; 
    --nav: 48px; 
    --dot: #c8c8c8; 
    --dot-active: var(--secondary-color);
    padding: 120px 0;
    background: var(--primary-color);
    position: relative;
    overflow: hidden;
}

#particles-canvas-youtube {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.yt3 * { 
    box-sizing: border-box; 
}

.yt3-container { 
    padding: 60px 20px; 
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.yt3-title-wrapper {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.yt3-title { 
    margin: 0;
    font-size: calc(clamp(40px, 6vw, 80px) * var(--font-scale));
    font-weight: 900;
    color: var(--text-light);
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: all 1s ease 0.3s;
    text-shadow: 0 0 15px var(--text-light),
                 0 0 30px var(--text-light),
                 0 0 45px var(--secondary-light);
    white-space: nowrap;
}

.yt3.animated .yt3-title {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
    animation: glowYoutube 2s ease-in-out 1s infinite alternate;
}

@keyframes glowYoutube {
    0% {
        text-shadow: 0 0 15px var(--text-light),
                     0 0 30px var(--text-light),
                     0 0 45px var(--secondary-light);
    }
    100% {
        text-shadow: 0 0 25px var(--text-light),
                     0 0 50px var(--secondary-color),
                     0 0 75px var(--text-light),
                     0 0 100px var(--secondary-light);
    }
}

.yt3-title-line {
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    flex-shrink: 0;
}

.yt3-title-line.left {
    background: linear-gradient(90deg, transparent, var(--secondary-color));
}

.yt3-title-line.right {
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

.yt3-shell { 
    display: grid; 
    grid-template-columns: auto 1fr auto; 
    align-items: center; 
    gap: 16px; 
}

.yt3-viewport {
    position: relative; 
    overflow-x: auto; 
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; 
    scroll-behavior: smooth;
    border-radius: var(--radius); 
    background: transparent; 
    direction: ltr;
    scrollbar-width: none;
}

.yt3-viewport::-webkit-scrollbar { 
    display: none; 
}

.yt3-track { 
    display: flex; 
    gap: var(--gap); 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.yt3-slide {
    flex: 0 0 auto; 
    width: 350px;
    border-radius: var(--radius);
    overflow: hidden; 
    background: #000; 
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yt3-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px var(--overlay-dark);
}

.yt3-media { 
    position: relative; 
    width: 100%; 
    aspect-ratio: 16/9; 
    background: #000; 
}

.yt3 {
    --play-w: 68px;
    --play-h: 48px;
    --play-radius: 14px;
    --play-red: #e62117;
    --play-tri-w: 18px;
    --play-tri-h: 12px;
}

.yt3-lite {
    position: absolute; 
    inset: 0; 
    width: 100%; 
    height: 100%;
    display: block; 
    cursor: pointer; 
    border: 0;
    background: #000 center/cover no-repeat;
    line-height: 0;
}

.yt3-lite::before {
    content: "";
    position: absolute; 
    inset: 0; 
    margin: auto;
    width: var(--play-w); 
    height: var(--play-h);
    border-radius: var(--play-radius);
    background: var(--play-red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease;
    will-change: transform;
}

.yt3-lite::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 2px);
    transform: translate(-50%, -50%);
    width: 0; 
    height: 0;
    border-left: var(--play-tri-w) solid var(--text-light);
    border-top: var(--play-tri-h) solid transparent;
    border-bottom: var(--play-tri-h) solid transparent;
    pointer-events: none;
}

.yt3-lite:hover::before { 
    transform: scale(1.06); 
}

.yt3-lite:focus-visible { 
    outline: 3px solid var(--secondary-color); 
    outline-offset: 2px; 
}

.yt3-nav {
    width: var(--nav); 
    height: var(--nav); 
    border-radius: 50%;
    border: 1px solid var(--white-semi); 
    background: var(--white-transparent);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    display: grid; 
    place-items: center; 
    cursor: pointer; 
    user-select: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
    font-size: calc(20px * var(--font-scale));
    font-weight: bold;
}

.yt3-nav:hover { 
    transform: scale(1.06); 
    box-shadow: 0 6px 16px var(--shadow-color); 
    background: var(--secondary-color);
    color: var(--text-light);
}

.yt3-nav:disabled { 
    opacity: 0.4; 
    cursor: default; 
}

.yt3-dots { 
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    margin-top: 30px; 
}

.yt3-dots button {
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    border: 0; 
    background: var(--white-semi);
    opacity: 0.7; 
    cursor: pointer;
    transition: transform 0.2s, background 0.2s, opacity 0.2s;
}

.yt3-dots button[aria-current="true"] { 
    background: var(--secondary-color); 
    opacity: 1; 
    transform: scale(1.15); 
}

/* ========================================
   CONTACT FORM SECTION
======================================== */
.contact-section {
    position: relative;
    overflow: hidden;
    background-image: url('https://www.b360ai.co.il/assets/images/templates/slider/contact/contact-us.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0;
    min-height: 60vh;
}

#contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, var(--primary-color), var(--secondary-color));
    opacity: 0.88;
    z-index: 1;
    pointer-events: none;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section h2 {
    font-size: calc(clamp(32px, 5vw, 56px) * var(--font-scale));
    font-weight: 900;
    color: var(--text-light) !important;
    text-shadow: 0 5px 20px var(--shadow-color);
    margin-bottom: 60px !important;
}

.contact-form-wrapper {
    position: relative;
    z-index: 2;
    padding: 0;
}

.form-control {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-bottom: 3px solid var(--white-semi);
    border-radius: 0;
    font-size: calc(18px * var(--font-scale));
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    direction: rtl;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.form-control:focus {
    outline: none;
    border-bottom-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px var(--secondary-light);
    transform: translateY(-3px);
}

.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--text-light);
    /* -webkit-box-shadow: 0 0 0px 1000px var(--white-transparent) inset; */
    transition: background-color 5000s ease-in-out 0s;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
    border-radius: 15px;
    border: 2px solid var(--white-semi);
}

textarea.form-control:focus {
    border-color: var(--secondary-color);
}

.row.g-3 {
    gap: 25px 0 !important;
}

#formStatus {
    margin-top: 30px;
    padding: 18px 25px;
    border-radius: 15px;
    font-size: calc(18px * var(--font-scale));
    font-weight: 600;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
    backdrop-filter: blur(10px);
}

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

#formStatus.success {
    background: rgba(212, 237, 218, 0.95);
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

#formStatus.error {
    background: rgba(248, 215, 218, 0.95);
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

/* ========================================
   ACCESSIBILITY WIDGET
======================================== */
.a11y-widget-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    padding: 12px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: calc(20px * var(--font-scale));
    width: 50px;
    height: 50px;
    box-shadow: 0 5px 25px var(--shadow-color);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.a11y-widget-button:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.a11y-widget-menu {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    max-height: 500px;
    background: var(--text-light);
    border-radius: 12px;
    z-index: 9999;
    display: none;
    overflow-y: auto;
    box-shadow: 0 10px 50px var(--shadow-color);
    padding: 20px;
}

.a11y-widget-menu.show {
    display: block;
    animation: slideInUp 0.3s ease;
}

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

.a11y-btn {
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.a11y-btn:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

/* ========================================
   RIPPLE EFFECT
======================================== */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ========================================
   MEDIA QUERIES - MOBILE OPTIMIZATIONS
======================================== */
@media (max-width: 768px) {
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer .col-12 {
        margin-bottom: 30px;
    }
    
    /* Floating Buttons */
    .float-contact-container {
        bottom: 20px;
        left: 20px;
    }
    
    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: calc(20px * var(--font-scale));
    }
    
    /* Business Description */
    .business-description-section-new {
        min-height: 400px;
        padding: 60px 0;
    }
    
    .about-hero-wrapper {
        padding: 40px 20px;
    }
    
    .shape-1 {
        width: 250px;
        height: 250px;
        right: -125px;
    }
    
    .shape-2 {
        width: 200px;
        height: 200px;
        left: -100px;
    }
    
    .shape-3 {
        width: 180px;
        height: 180px;
        left: -90px;
    }
    
    /* Carousel */
    .carousel-full .carousel-item {
        height: 400px;
    }
    
    .section-title-center::before,
    .section-title-center::after {
        display: none;
    }
    
    .carousel-caption h1 {
        font-size: calc(24px * var(--font-scale));
    }
    
    .carousel-caption p {
        font-size: calc(16px * var(--font-scale));
    }
    
    /* About Section */
    #about {
        padding: 80px 0;
    }
    
    .image-3d-wrapper {
        height: 350px;
    }
    
    /* CTA Section */
    .cta-glow-section {
        padding: 80px 0;
    }
    
    .cta-title {
        font-size: calc(32px * var(--font-scale));
        margin-bottom: 25px;
    }
    
    .cta-text {
        font-size: calc(18px * var(--font-scale));
        margin-bottom: 15px;
    }
    
    .btn-cta {
        padding: 16px 40px;
        font-size: calc(18px * var(--font-scale));
        margin-top: 15px;
    }
    
    /* Services Section */
    .services-chain-section {
        padding: 80px 0;
        background-image: radial-gradient(circle 800px at 0% 50%, 
            var(--secondary-color) 0%, 
            var(--primary-color) 35%, 
            transparent 65%);
    }
    
    .services-chain-section .section-title-center {
        margin-bottom: 50px;
        font-size: calc(36px * var(--font-scale));
    }

    .services-chain-section .section-title-center::before,
    .services-chain-section .section-title-center::after {
        width: 80px;
    }
    
    .services-chain-section .section-title-center::before {
        right: calc(100% + 15px);
    }
    
    .services-chain-section .section-title-center::after {
        left: calc(100% + 15px);
    }
    
    .ticker__unit {
        gap: 40px;
    }
    
    .service-text {
        font-size: calc(48px * var(--font-scale));
    }
    
    .service-separator {
        font-size: calc(48px * var(--font-scale));
    }
    
    /* Contact CTA Wave */
    .contact-cta-wave-section {
        padding: 100px 0;
    }
    
    .contact-cta-content-wrapper {
        padding: 50px 15px;
    }
    
    .contact-cta-text {
        font-size: calc(20px * var(--font-scale));
    }
    
    .floating-icon {
        font-size: calc(45px * var(--font-scale));
    }
    
    /* YouTube Section */
    .yt3 {
        padding: 80px 0;
    }
    
    .yt3-container { 
        padding: 40px 0; 
    }
    
    .yt3-title-wrapper {
        margin-bottom: 50px;
        gap: 15px;
    }
    
    .yt3-title { 
        font-size: calc(36px * var(--font-scale));
        white-space: normal;
    }
    
    .yt3-title-line {
        width: 80px;
    }
    
    .yt3-shell { 
        gap: 12px; 
    }
    
    .yt3-nav { 
        --nav: 44px; 
    }
    
    .yt3-slide {
        width: 280px;
    }
    
    /* Contact Form */
    .contact-section {
        padding: 80px 0;
        background-attachment: scroll;
    }
    
    .contact-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .contact-section h2 {
        font-size: calc(28px * var(--font-scale));
        margin-bottom: 40px !important;
    }
    
    .contact-form-wrapper {
        padding: 0 15px;
    }
    
    .form-control {
        padding: 15px 20px;
        font-size: calc(16px * var(--font-scale));
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .btn-primary {
        padding: 16px 45px;
        font-size: calc(18px * var(--font-scale));
        width: 100%;
        justify-content: center;
    }
    
    /* Accessibility Widget */
    .a11y-widget-button {
        bottom: 100px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: calc(18px * var(--font-scale));
    }
    
    .a11y-widget-menu {
        bottom: 155px;
        right: 15px;
        width: 280px;
        max-height: 400px;
    }
    
    /* Performance Optimizations */
    /* .navbar {
        backdrop-filter: blur(10px) saturate(150%);
        -webkit-backdrop-filter: blur(10px) saturate(150%);
    } */
    
    .navbar.shrink {
        backdrop-filter: blur(15px) saturate(180%);
    }
    

    .navbar.shrink {
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }
    
    .btn-primary {
        box-shadow: 0 3px 15px var(--secondary-light);
    }
    
    .btn-primary:hover {
        box-shadow: 0 8px 25px var(--secondary-light);
    }
    
    .hero-main-title {
        text-shadow: 0 3px 15px var(--shadow-color);
    }
    
    .nav-link {
        text-shadow: 0 1px 5px var(--shadow-color);
    }
    
    .navbar-collapse::before {
        animation: none;
        opacity: 0.5;
    }
}

@media (max-width: 576px) {
    /* Carousel */
    .carousel-full .carousel-item {
        height: 300px;
    }
    
    /* About Section */
    .image-3d-wrapper {
        height: 280px;
    }
    
    #about {
        padding-bottom: 0;
        padding-top: 60px;
    }
    
    /* Services Section */
    .services-chain-section {
        padding: 60px 0;
        background-image: radial-gradient(circle 500px at 0% 50%, 
            var(--secondary-color) 0%, 
            var(--primary-color) 40%, 
            transparent 70%);
    }
    
    /* Contact CTA Wave */
    .contact-cta-wave-section {
        padding: 80px 0;
    }
    
    .contact-cta-content-wrapper {
        padding: 40px 10px;
    }
    
    .contact-cta-text {
        font-size: calc(16px * var(--font-scale));
    }
    
    .floating-icons {
        display: none;
    }
    
    /* YouTube Section */
    .yt3 {
        padding: 60px 0;
    }
    
    .yt3-title-line {
        display: none;
    }
    
    .yt3 {
        --play-w: 56px; 
        --play-h: 40px; 
        --play-radius: 12px;
        --play-tri-w: 16px; 
        --play-tri-h: 10px;
    }
    
    .yt3-slide {
        width: 260px;
    }
    
    /* Contact Form */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .contact-form-wrapper {
        padding: 0 10px;
    }
    
    .form-control {
        padding: 14px 18px;
        font-size: calc(15px * var(--font-scale));
    }
    
    .btn-primary {
        padding: 15px 40px;
        font-size: calc(17px * var(--font-scale));
    }
}

@media (min-width: 992px) {
    #about .col-lg-6:first-child {
        padding-left: 50px;
    }
    
    #about .col-lg-6:last-child {
        padding-right: 50px;
    }
}

@media (max-width: 991px) {
    #about .col-lg-6:first-child {
        order: 2;
    }
    
    #about .col-lg-6:last-child {
        order: 1;
    }
    
    .image-3d-wrapper {
        margin-bottom: 50px;
        margin-top: 50px;
    }
}

/* ========================================
   REDUCED MOTION - נגישות
======================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .navbar-collapse::before,
    .glow-effect-bg {
        animation: none !important;
    }
    
    .contact-cta-content-wrapper .contact-cta-text,
    .contact-cta-content-wrapper.is-inview .contact-cta-text {
        animation: none;
        opacity: 1;
        transform: scale(1);
        filter: blur(0);
    }
}



/* ========================================
   ARTICLE CARDS SECTION
======================================== */
.article-card {
    display: block;
    background: var(--text-light);
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: right; /* יישור לימין */
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.article-card:hover::before {
    transform: scaleX(1);
}

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.article-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    margin-right: 0; /* הצמדה לימין */
    transition: all 0.4s ease;
}

.article-icon i {
    font-size: calc(32px * var(--font-scale));
    color: var(--text-light);
}

.article-card:hover .article-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.4);
}

.article-title {
    font-size: calc(24px * var(--font-scale));
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    text-align: right; /* יישור לימין */
}

.article-card:hover .article-title {
    color: var(--secondary-color);
}

.article-excerpt {
    font-size: calc(16px * var(--font-scale));
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
    opacity: 0.85;
    text-align: right; /* יישור לימין */
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(30, 58, 95, 0.1);
}

.article-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: calc(14px * var(--font-scale));
    color: var(--text-dark);
    opacity: 0.7;
}

.article-date i {
    color: var(--secondary-color);
}

.read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: calc(15px * var(--font-scale));
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.read-more i {
    transition: transform 0.3s ease;
}

.article-card:hover .read-more {
    color: var(--secondary-color);
}

.article-card:hover .read-more i {
    transform: translateX(-5px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-card {
        padding: 30px 25px;
    }
    
    .article-icon {
        width: 60px;
        height: 60px;
    }
    
    .article-icon i {
        font-size: calc(28px * var(--font-scale));
    }
    
    .article-title {
        font-size: calc(20px * var(--font-scale));
    }
    
    .article-excerpt {
        font-size: calc(15px * var(--font-scale));
    }
}





/* ========================================
   SEARCH BOX FOR ARTICLES - UPDATED
======================================== */
.search-box-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 50px; /* מרווח קבוע */
}

.search-icon {
    position: absolute;
    right: 20px;
    color: var(--primary-color);
    font-size: calc(20px * var(--font-scale));
    pointer-events: none;
    z-index: 2;
}

.search-input {
    width: 100%;
    padding: 22px 60px 22px 60px; /* גובה יותר גבוה */
    border: 2px solid rgba(30, 58, 95, 0.2);
    border-radius: 50px;
    font-size: calc(18px * var(--font-scale)); /* טקסט יותר גדול */
    transition: all 0.3s ease;
    background: var(--text-light);
    color: var(--text-dark);
    direction: rtl;
}

.search-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(244, 162, 97, 0.3);
}

.search-input::placeholder {
    color: rgba(30, 58, 95, 0.5);
}

.clear-search {
    position: absolute;
    left: 20px;
    background: var(--secondary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.clear-search i {
    color: var(--text-light);
    font-size: calc(16px * var(--font-scale));
}

.clear-search:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.search-results-text {
    text-align: center;
    font-size: calc(15px * var(--font-scale));
    color: var(--primary-color);
    font-weight: 600;
    position: absolute;
    bottom: -40px; /* מיקום קבוע מתחת */
    left: 0;
    right: 0;
}

/* Keep container space */
#articlesContainer {
    min-height: 500px;
}

/* Hide articles during search */
.article-hidden {
    display: none !important;
}

/* Highlight search results */
.search-highlight {
    background: rgba(244, 162, 97, 0.3);
    padding: 2px 4px;
    border-radius: 3px;
}






/* ========================================
   ARTICLE PAGE STYLES
======================================== */

/* Article Hero Section - Half Screen with Gradient */
.inner-page-title-section {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}


.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 100px 20px 60px;
}

.page-title-txt {
    font-weight: 900;
    color: var(--text-light);
    text-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
    font-size: calc(60px * var(--font-scale));
}

/* Article Content Section */
.article-content-section {
    position: relative;
    z-index: 10;
    padding: 100px 0 80px;
    background: var(--text-light);
}

.article-wrapper {
    background: var(--text-light);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(30, 58, 95, 0.1);
}

.article-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    margin-bottom: 40px;
    border-bottom: 2px solid rgba(30, 58, 95, 0.1);
}

.article-date-large {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: calc(16px * var(--font-scale));
    color: var(--text-dark);
    font-weight: 600;
}

.article-date-large i {
    color: var(--secondary-color);
    font-size: calc(20px * var(--font-scale));
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share span {
    font-size: calc(16px * var(--font-scale));
    font-weight: 600;
    color: var(--text-dark);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.article-content {
    font-size: calc(18px * var(--font-scale));
    line-height: 1.9;
    color: var(--text-dark);
}

.article-body {
    white-space: pre-line;
    word-break: break-word;
    font-size: calc(18px * var(--font-scale));
    line-height: 1.9;
    color: var(--text-dark);
}
.article-body h2, .article-body h3 { margin: 28px 0 10px; font-weight: 700; }

.article-content pre {
    white-space: break-spaces;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: calc(18px * var(--font-scale));
    line-height: 1.9;
}

/* Article Footer with Navigation Buttons */
.article-footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

/* .article-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 35%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 35%);
    pointer-events: none;
} */

.footer-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.footer-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: var(--text-light);
    text-decoration: none;
    font-size: calc(18px * var(--font-scale));
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.footer-nav-btn i {
    font-size: calc(20px * var(--font-scale));
}

.footer-nav-btn:hover {
    background: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(244, 162, 97, 0.5);
}

.article-footer .text-center {
    position: relative;
    z-index: 2;
}

.article-footer p {
    color: rgba(255, 255, 255, 0.9);
    margin: 5px 0;
}

.article-footer a {
    color: var(--text-light);
    text-decoration: underline;
}

.article-footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .inner-page-title-section {
        min-height: 25vh;
    }
    
    .hero-content {
        padding: 180px 20px 100px;
    }
    
    .article-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .article-meta-top {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .article-share {
        width: 100%;
        justify-content: flex-start;
    }
    
    .article-content {
        font-size: calc(16px * var(--font-scale));
    }
    
    .article-content pre {
        font-size: calc(16px * var(--font-scale));
    }
    
    .footer-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-nav-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
        font-size: calc(16px * var(--font-scale));
    }
    
    .page-title-txt {
        font-size: calc(32px * var(--font-scale));
    }
    
    .article-content-section {
        padding: 60px 0 60px;
    }
}

.mt-0{
    margin-top: 0 !important;
}

/* ========================================
   CAROUSEL ITEM GRADIENT OVERLAY
======================================== */
.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--overlay-dark) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   GALLERY SECTION
======================================== */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-color);
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(0.65);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.8rem;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: linear-gradient(to top, var(--overlay-dark) 0%, transparent 60%);
    border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .gallery-section {
        padding: 50px 0;
    }
}