/* ========================================
   SUBNET GROUP - CLEAN CSS (NO KOSTYLI!)
   ======================================== */

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

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: #0a0f1a;
}

/* ===== FIX FOR MIRRORED TEXT IN FORMS ON MOBILE ===== */
/* Принудительно исправляем зеркальное отображение текста в формах */
.service-form input,
.service-form textarea,
.service-form select,
.request-form input,
.request-form textarea,
.request-form select {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* Исправление для placeholder */
.service-form input::placeholder,
.service-form textarea::placeholder,
.service-form select::placeholder,
.request-form input::placeholder,
.request-form textarea::placeholder,
.request-form select::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* Исправление для всех языков и RTL режимов */
html[lang="he"] .service-form input,
html[lang="he"] .service-form textarea,
html[lang="he"] .service-form select,
html[lang="he"] .request-form input,
html[lang="he"] .request-form textarea,
html[lang="he"] .request-form select,
html[dir="rtl"] .service-form input,
html[dir="rtl"] .service-form textarea,
html[dir="rtl"] .service-form select,
html[dir="rtl"] .request-form input,
html[dir="rtl"] .request-form textarea,
html[dir="rtl"] .request-form select,
body.rtl-mode .service-form input,
body.rtl-mode .service-form textarea,
body.rtl-mode .service-form select,
body.rtl-mode .request-form input,
body.rtl-mode .request-form textarea,
body.rtl-mode .request-form select {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* Исправление для placeholder во всех языках */
html[lang="he"] .service-form input::placeholder,
html[lang="he"] .service-form textarea::placeholder,
html[lang="he"] .request-form input::placeholder,
html[lang="he"] .request-form textarea::placeholder,
html[dir="rtl"] .service-form input::placeholder,
html[dir="rtl"] .service-form textarea::placeholder,
html[dir="rtl"] .request-form input::placeholder,
html[dir="rtl"] .request-form textarea::placeholder,
body.rtl-mode .service-form input::placeholder,
body.rtl-mode .service-form textarea::placeholder,
body.rtl-mode .request-form input::placeholder,
body.rtl-mode .request-form textarea::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* Исправление для select options */
.service-form select option,
.request-form select option,
html[lang="he"] .service-form select option,
html[lang="he"] .request-form select option,
html[dir="rtl"] .service-form select option,
html[dir="rtl"] .request-form select option,
body.rtl-mode .service-form select option,
body.rtl-mode .request-form select option {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* Специальное исправление для мобильных устройств */
@media (max-width: 768px) {
    .service-form input,
    .service-form textarea,
    .service-form select,
    .request-form input,
    .request-form textarea,
    .request-form select {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        -webkit-text-orientation: mixed !important;
        -moz-text-orientation: mixed !important;
    }
    
    .service-form input::placeholder,
    .service-form textarea::placeholder,
    .request-form input::placeholder,
    .request-form textarea::placeholder {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
    }
}

/* Дополнительное исправление для iOS Safari */
@supports (-webkit-touch-callout: none) {
    .service-form input,
    .service-form textarea,
    .service-form select,
    .request-form input,
    .request-form textarea,
    .request-form select {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        -webkit-text-orientation: mixed !important;
    }
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f1419 0%, #1a2332 50%, #0f1419 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

.loader-container {
    text-align: center;
    color: white;
}

.network-loader {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 20px #00d4ff;
    animation: pulse 2s infinite;
}

.node:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); animation-delay: 0s; }
.node:nth-child(2) { bottom: 0; left: 0; animation-delay: 0.5s; }
.node:nth-child(3) { bottom: 0; right: 0; animation-delay: 1s; }
.node:nth-child(4) { top: 50%; right: 0; transform: translateY(-50%); animation-delay: 1.5s; }

.connection {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    height: 2px;
    animation: flow 2s infinite;
}

.connection:nth-child(5) {
    top: 25px;
    left: 50%;
    width: 35px;
    transform: translateX(-50%) rotate(45deg);
}

.connection:nth-child(6) {
    bottom: 25px;
    left: 25px;
    width: 50px;
    transform: rotate(0deg);
}

.connection:nth-child(7) {
    top: 50%;
    right: 25px;
    width: 35px;
    transform: translateY(-50%) rotate(-45deg);
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes flow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

.loading-text {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #00d4ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff, #ffffff);
    border-radius: 2px;
    animation: loading 3s ease-in-out infinite;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* Language Switcher */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 45px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn.active,
.lang-btn:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.flag-icon {
    width: 24px !important;
    height: 18px !important;
    display: block !important;
    border-radius: 2px;
    overflow: hidden;
    object-fit: cover;
    flex-shrink: 0;
    /* background: rgba(255, 255, 255, 0.3) !important; - УБРАНО! Создавало черные квадраты */
    border: 1px solid rgba(0, 212, 255, 0.3) !important;
    min-width: 24px;
    min-height: 18px;
    max-width: 24px;
    max-height: 18px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 
                0 1px 0 rgba(0, 212, 255, 0.1);
    z-index: 999;
    transition: all 0.3s ease;
    min-height: 60px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
    min-height: 60px;
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.3s ease !important;
    padding: 6px 10px !important;
    border-radius: 10px;
    background: transparent !important;
    border: none !important;
}

/* Убираем смещение логотипа вправо на ПК */
@media (min-width: 769px) {
    .logo {
        margin-left: 0 !important;
    }
}

.logo:hover {
    background: transparent !important;
    transform: translateY(-1px) scale(1.02);
    box-shadow: none !important;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 212, 255, 0.4));
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 6px;
}

.logo:hover .logo-img {
    transform: scale(1.06);
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.7));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    letter-spacing: 0.5px;
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* LOGO ANIMATION - ЗАМЕТНЫЕ ЭФФЕКТЫ */
@keyframes logoGlow {
    0%, 100% { 
        background-position: 0% 50%;
        text-shadow: 0 0 15px rgba(0, 212, 255, 0.6), 0 0 30px rgba(0, 212, 255, 0.3);
    }
    50% { 
        background-position: 100% 50%;
        text-shadow: 0 0 20px rgba(0, 255, 136, 0.8), 0 0 40px rgba(0, 212, 255, 0.5);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #00d4ff;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #0099cc);
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    display: inline-block;
    color: #00d4ff;
    margin-left: 0.5rem;
    width: auto;
    height: auto;
}

/* Fallback for FontAwesome */
.dropdown-toggle i::before {
    content: "▼";
    font-family: Arial, sans-serif;
    font-style: normal;
}

.dropdown-toggle i.fas.fa-chevron-down::before {
    content: "";
}

/* Specific style for dropdown arrow */
.dropdown-arrow {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0.8rem !important;
    color: #ffffff !important;
    margin-left: 0.5rem !important;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    min-width: 280px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 0 0.5rem;
}

.dropdown-item:hover {
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    transform: translateX(5px);
}

.dropdown-item i {
    color: #00d4ff;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.dropdown-item span {
    font-weight: 500;
}

.dropdown-item.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.hamburger {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.hamburger i {
    font-size: 18px;
    color: #00d4ff;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.05);
}

.hamburger:hover i {
    color: #ffffff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2332 30%, #0f1419 70%, #0a0f1a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Digital Background Effects */
.digital-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.matrix-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 50px 50px;
    animation: matrixMove 20s infinite linear;
}

@keyframes matrixMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.circuit-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, #00d4ff 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, #00d4ff 2px, transparent 2px),
        radial-gradient(circle at 60% 20%, #00d4ff 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, #00d4ff 1px, transparent 1px);
    background-size: 200px 200px, 150px 150px, 100px 100px, 180px 180px;
    animation: circuitPulse 8s infinite ease-in-out;
}

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle, #00d4ff 1px, transparent 1px) 10px 20px,
        radial-gradient(circle, #00ff88 1px, transparent 1px) 50px 60px,
        radial-gradient(circle, #ff6b6b 1px, transparent 1px) 90px 30px;
    background-size: 120px 120px;
    animation: dataFlow 25s infinite linear;
}

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

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(0, 212, 255, 0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(0, 255, 136, 0.08) 50%, transparent 60%);
    background-size: 200px 200px, 300px 300px;
    animation: neuralPulse 15s infinite ease-in-out;
}

@keyframes neuralPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hologram-effects {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        conic-gradient(from 0deg at 30% 40%, transparent 0deg, rgba(0, 212, 255, 0.1) 30deg, transparent 60deg),
        conic-gradient(from 180deg at 70% 60%, transparent 0deg, rgba(0, 255, 136, 0.08) 45deg, transparent 90deg);
    animation: hologramSpin 30s infinite linear;
}

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

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.hero-title .line-1,
.hero-title .line-2,
.hero-title .line-3 {
    display: block;
    animation: heroTextReveal 1.2s ease-out forwards;
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
    transform-origin: bottom;
}

.hero-title .line-1 { 
    animation-delay: 0.3s; 
    color: #ffffff;
}
.hero-title .line-2 { 
    animation-delay: 0.6s; 
    color: #00d4ff;
}
.hero-title .line-3 { 
    color: #00ff88; 
    animation-delay: 0.9s; 
}

@keyframes heroTextReveal {
    to {
        opacity: 1;
        transform: translateY(0) rotateX(0deg);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #c0c0c0;
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out 1.2s forwards;
    opacity: 0;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

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

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 1.5s forwards;
    opacity: 0;
}

.stat {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    animation: statGlow 3s infinite ease-in-out;
}

@keyframes statGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.cta-button {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 1s ease-out 1.8s forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.5);
    background: linear-gradient(45deg, #00ff88, #00d4ff);
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    animation: buttonPulse 2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes buttonPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

.cta-button i {
    font-size: 1.2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.monitor-setup {
    position: relative;
    width: 400px;
    height: 300px;
    background: linear-gradient(145deg, #1e2a3a, #2a3b4f);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.monitor-screen {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(45deg, #000819, #001122);
    border-radius: 10px;
    overflow: hidden;
}

.monitor-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 212, 255, 0.1) 2px,
            rgba(0, 212, 255, 0.1) 4px
        );
    animation: scan 2s linear infinite;
}

@keyframes scan {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}



/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f35 25%, #2a2f45 50%, #1a1f35 75%, #0a0e1a 100%);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 150, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(0, 100, 255, 0.05) 0%, transparent 50%);
    animation: servicesAura 15s ease-in-out infinite;
}

@keyframes servicesAura {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    33% { opacity: 0.8; transform: scale(1.1); }
    66% { opacity: 0.7; transform: scale(0.9); }
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a2332 0%, #00d4ff 50%, #1a2332 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease-in-out infinite;
    letter-spacing: -2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    border-radius: 2px;
    animation: shimmerLine 3s ease-in-out infinite;
}

/* Hero title override - keeping original style */
.hero-title {
    animation: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
    background-clip: unset !important;
}

.services .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 30%, #0099cc 70%, #ffffff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: servicesGradientFlow 5s ease-in-out infinite;
}

.services .section-title::after {
    background: linear-gradient(90deg, transparent, #00d4ff, #0099cc, #00d4ff, transparent);
    width: 140px;
    height: 5px;
    animation: servicesShimmer 3.5s ease-in-out infinite;
}

@keyframes servicesGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    33% { background-position: 50% 30%; }
    66% { background-position: 100% 70%; }
}

@keyframes servicesShimmer {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateX(-50%) scaleX(0.7);
        filter: blur(0px);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scaleX(1.3);
        filter: blur(1px);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: stretch;
}

/* Unified desktop services grid for both LTR and RTL */
.rtl-mode .services-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(280px, 1fr)) !important;
    gap: 3rem !important;
    margin: 4rem auto 0 auto !important;
    max-width: 1400px !important;
    justify-content: center !important;
    align-items: stretch !important;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.2);
    padding: 3.5rem 2.5rem 2.5rem;
    border-radius: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 1;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

/* Unified service card styles for both LTR and RTL */
.rtl-mode .service-card {
    background: rgba(255, 255, 255, 0.03) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 212, 255, 0.2) !important;
    padding: 3.5rem 2.5rem 2.5rem !important;
    border-radius: 28px !important;
    text-align: center !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    z-index: 1 !important;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 420px !important;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(0, 150, 255, 0.05) 50%,
        rgba(0, 100, 255, 0.1) 100%);
    opacity: 0;
    transition: all 0.6s ease;
    z-index: -1;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #00d4ff 0%, 
        #0099ff 25%, 
        #0066cc 50%, 
        #0099ff 75%, 
        #00d4ff 100%);
    background-size: 400% 400%;
    border-radius: 30px;
    opacity: 0;
    z-index: -2;
    animation: borderMove 8s ease-in-out infinite;
    transition: opacity 0.6s ease;
}

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

.service-card:hover {
    transform: translateY(-20px) rotateY(5deg) rotateX(5deg);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 40px 80px -12px rgba(0, 212, 255, 0.3),
        0 0 0 1px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 0.7;
}



.service-icon {
    width: 100px;
    height: 100px;
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2.5rem;
    font-size: 2.5rem;
    color: #00d4ff;
    position: relative;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, 
        #00d4ff 0%, 
        #0099ff 25%, 
        #0066cc 50%, 
        #0099ff 75%, 
        #00d4ff 100%);
    background-size: 300% 300%;
    border-radius: 50%;
    opacity: 0;
    z-index: -1;
    animation: iconBorderMove 6s ease-in-out infinite;
    transition: opacity 0.6s ease;
}

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

.service-card:hover .service-icon {
    transform: scale(1.15) rotateY(15deg) translateY(-5px);
    background: rgba(0, 212, 255, 0.2);
    color: #ffffff;
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 
        0 30px 60px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}



.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    line-height: 1.3;
    min-height: 4rem;
    display: flex;
    align-items: center;
    text-align: center;
    word-wrap: break-word;
    hyphens: auto;
    justify-content: center;
}

.service-card:hover h3 {
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: auto;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    flex-grow: 1;
    margin-top: 0;
    text-align: center;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* Unified service card text styles for both LTR and RTL */
.rtl-mode .service-card h3 {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    color: #ffffff !important;
    position: relative !important;
    z-index: 2 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.4s ease !important;
    line-height: 1.3 !important;
    min-height: 4rem !important;
    display: flex !important;
    align-items: center !important;
    text-align: center !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    justify-content: center !important;
}

.rtl-mode .service-card p {
    color: rgba(255, 255, 255, 0.8) !important;
    margin-bottom: auto !important;
    line-height: 1.7 !important;
    font-size: 1rem !important;
    position: relative !important;
    z-index: 2 !important;
    transition: all 0.4s ease !important;
    flex-grow: 1 !important;
    margin-top: 0 !important;
    text-align: center !important;
}



.learn-more-btn {
    background: rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 
        0 10px 30px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin-top: 1.5rem;
    align-self: center;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.learn-more-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.8) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.learn-more-btn::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #00d4ff 0%, 
        #0099ff 25%, 
        #0066cc 50%, 
        #0099ff 75%, 
        #00d4ff 100%);
    background-size: 400% 400%;
    border-radius: 52px;
    opacity: 0;
    z-index: -2;
    animation: btnBorderMove 8s ease-in-out infinite;
    transition: opacity 0.6s ease;
}

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

.learn-more-btn:hover {
    transform: translateY(-3px) scale(1.08);
    color: #ffffff;
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 
        0 20px 50px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

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

.learn-more-btn:hover::after {
    opacity: 0.8;
}



/* About Section - PREMIUM ENHANCED */
.about {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2332 30%, #0f1419 70%, #0a0f1a 100%);
    position: relative;
    overflow: hidden;
}

/* Digital Background for About */
.about .digital-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Tech Hub Visual */
.tech-hub {
    width: 400px;
    height: 400px;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        rgba(0, 153, 204, 0.15) 50%, 
        rgba(0, 102, 153, 0.1) 100%);
    border: 2px solid rgba(0, 212, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: techHubRotate 20s linear infinite;
}

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

.tech-hub::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 1px dashed rgba(0, 212, 255, 0.2);
    animation: techHubRotate 15s linear infinite reverse;
}

.tech-hub::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px dotted rgba(0, 212, 255, 0.15);
    animation: techHubRotate 10s linear infinite;
}

.tech-center {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.3));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
    border: 2px solid rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.3),
        inset 0 0 30px rgba(0, 212, 255, 0.1);
}

.tech-center i {
    font-size: 4rem;
    color: #00d4ff;
    animation: techIconPulse 2s ease-in-out infinite;
}

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

/* Floating Tech Elements */
.tech-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.3));
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(0, 212, 255, 0.3);
    animation: floatTech 3s ease-in-out infinite;
}

.tech-element:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: -0.5s;
}

.tech-element:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: -1s;
}

.tech-element:nth-child(4) {
    top: 50%;
    left: -5%;
    animation-delay: -1.5s;
}

.tech-element:nth-child(5) {
    top: 10%;
    left: 50%;
    animation-delay: -2s;
}

.tech-element:nth-child(6) {
    bottom: 10%;
    right: 30%;
    animation-delay: -2.5s;
}

@keyframes floatTech {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
    }
    50% { 
        transform: translateY(-20px) rotate(180deg);
        box-shadow: 0 15px 30px rgba(0, 212, 255, 0.4);
    }
}

.tech-element i {
    color: #00d4ff;
    font-size: 1.5rem;
}

.about-text {
    color: white;
}

.about-text h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 30%, #00ff88 70%, #00d4ff 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aboutGradientFlow 5.5s ease-in-out infinite;
    letter-spacing: -2px;
    position: relative;
    text-align: left;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, #00d4ff, #0099cc, #00ff88, #00d4ff);
    border-radius: 3px;
    animation: aboutShimmer 3.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

@keyframes aboutGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 25% 0%; }
}

@keyframes aboutShimmer {
    0%, 100% { 
        opacity: 0.7; 
        transform: scaleX(0.8);
        filter: hue-rotate(0deg);
    }
    50% { 
        opacity: 1; 
        transform: scaleX(1.2);
        filter: hue-rotate(30deg);
    }
}

@keyframes underlineGlow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.8); }
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-features {
    margin-bottom: 3rem;
    display: grid;
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    animation: featureSlideIn 0.6s ease forwards;
    opacity: 0;
    transform: translateX(-50px);
}

.feature:nth-child(1) { animation-delay: 0.2s; }
.feature:nth-child(2) { animation-delay: 0.4s; }
.feature:nth-child(3) { animation-delay: 0.6s; }

@keyframes featureSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.3rem;
}

.feature span {
    color: white;
    font-weight: 500;
    font-size: 1.1rem;
}

/* Process Section - PREMIUM ENHANCED */
.process {
    padding: 150px 0;
    background: 
        linear-gradient(135deg, #ffffff 0%, #f8fafc 25%, #e6f3ff 50%, #f8fafc 75%, #ffffff 100%),
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 150, 0, 0.06) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

/* Floating Geometric Elements */
.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><circle cx="50" cy="50" r="2" fill="rgba(0,212,255,0.3)"/><circle cx="150" cy="100" r="1.5" fill="rgba(0,153,204,0.2)"/><circle cx="100" cy="150" r="1" fill="rgba(0,100,153,0.15)"/></svg>');
    background-size: 200px 200px;
    animation: floatParticles 15s linear infinite;
    z-index: 1;
}

@keyframes floatParticles {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-100px) rotate(360deg); }
}

.process::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    bottom: 20%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 40px,
            rgba(0, 212, 255, 0.02) 40px,
            rgba(0, 212, 255, 0.02) 42px
        );
    animation: subtlePattern 20s linear infinite;
    z-index: 1;
}

@keyframes subtlePattern {
    0% { transform: translateX(-20px) translateY(-20px); }
    100% { transform: translateX(20px) translateY(20px); }
}

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

.process .section-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1a2332 0%, #00d4ff 50%, #1a2332 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease-in-out infinite;
    letter-spacing: -2px;
    position: relative;
}

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

.process .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    border-radius: 2px;
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(0.8); }
    50% { opacity: 1; transform: translateX(-50%) scaleX(1.2); }
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.process-steps {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 50px auto 0;
    padding-top: 30px;
    flex-wrap: wrap;
}

/* Connection Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 120px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgba(0, 212, 255, 0.3) 0%, 
        rgba(0, 212, 255, 0.8) 30%,
        rgba(0, 212, 255, 1) 50%,
        rgba(0, 212, 255, 0.8) 70%,
        rgba(0, 212, 255, 0.3) 100%);
    border-radius: 2px;
    z-index: 0;
    animation: connectionPulse 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes connectionPulse {
    0%, 100% { opacity: 0.7; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.5); }
}

/* Progress Indicator */
.process-steps::after {
    content: '';
    position: absolute;
    top: 118px;
    left: 10%;
    width: 0;
    height: 8px;
    background: linear-gradient(90deg, #00d4ff, #ffffff, #00d4ff);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: progressFlow 4s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes progressFlow {
    0% { 
        width: 0%; 
        background-position: 0% 0%;
    }
    50% { 
        width: 35%; 
        background-position: 100% 0%;
    }
    75% { 
        width: 70%; 
        background-position: 0% 0%;
    }
    100% { 
        width: 70%; 
        background-position: 100% 0%;
    }
}

.step {
    flex: 0 1 350px;
    max-width: 350px;
    min-width: 300px;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    padding: 4rem 2rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.08),
        0 5px 15px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: visible;
    margin-top: 30px;
    z-index: 10;
    animation: stepSlideUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(50px);
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.step:nth-child(1) { animation-delay: 0.2s; }
.step:nth-child(2) { animation-delay: 0.4s; }
.step:nth-child(3) { animation-delay: 0.6s; }

@keyframes stepSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(0, 212, 255, 0.05) 50%, 
        transparent 70%);
    transform: rotate(-45deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
}

.step:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 212, 255, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    border-color: rgba(0, 212, 255, 0.3);
}

.step:hover::before {
    opacity: 1;
    transform: rotate(-45deg) translate(20px, 20px);
}

.step.highlighted {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: white;
    transform: translateY(-10px) scale(1.08);
    box-shadow: 
        0 30px 60px rgba(0, 212, 255, 0.3),
        0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.step.highlighted::before {
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    opacity: 1;
    animation: highlightShimmer 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes highlightShimmer {
    0%, 100% { transform: rotate(-45deg) translate(-20px, -20px); }
    50% { transform: rotate(-45deg) translate(20px, 20px); }
}

/* Step Numbers */
.step::after {
    content: attr(data-step);
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 
        0 8px 20px rgba(0, 212, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
    z-index: 4;
    animation: numberPulse 2s ease-in-out infinite;
    pointer-events: none;
}

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

.step.highlighted::after {
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    color: #00d4ff;
    border-color: #00d4ff;
    animation: numberPulse 2s ease-in-out infinite;
}

@keyframes highlightNumberSpin {
    0% { transform: translateX(-50%) rotate(0deg) scale(1); }
    50% { transform: translateX(-50%) rotate(180deg) scale(1.15); }
    100% { transform: translateX(-50%) rotate(360deg) scale(1); }
}

.step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 153, 204, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.2rem;
    color: #00d4ff;
    border: 2px solid rgba(0, 212, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    animation: iconRotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.step:hover .step-icon {
    transform: scale(1.15) rotateY(15deg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(0, 153, 204, 0.2));
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.step:hover .step-icon::before {
    opacity: 1;
}

.step.highlighted .step-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

.step h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a2332;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.step.highlighted h3 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.step p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.step.highlighted p {
    color: rgba(255, 255, 255, 0.9);
}

/* Partners Section */
.partners {
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0f1c 0%, #1a2332 50%, #0f1419 100%);
    overflow: hidden;
    position: relative;
}

.partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 153, 204, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(0, 212, 255, 0.03) 50%, transparent 70%);
    animation: partnersGlow 8s ease-in-out infinite;
}

.partners::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 255, 0.8) 20%, 
        rgba(0, 212, 255, 1) 50%, 
        rgba(0, 212, 255, 0.8) 80%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

@keyframes partnersGlow {
    0%, 100% { 
        opacity: 0.8; 
        transform: scale(1); 
    }
    50% { 
        opacity: 1; 
        transform: scale(1.02); 
    }
}

.partners .section-title {
    background: linear-gradient(135deg, #ffffff 0%, #00d4ff 25%, #0099cc 50%, #00ff88 75%, #ffffff 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: partnersGradientFlow 6s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.partners .section-title::after {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.8), 
        rgba(0, 255, 136, 0.8), 
        rgba(0, 212, 255, 0.8), 
        transparent);
    width: 160px;
    height: 6px;
    animation: partnersShimmer 4s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 40px rgba(0, 255, 136, 0.3);
}

@keyframes partnersGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 25% 25%; }
    50% { background-position: 100% 50%; }
    75% { background-position: 75% 75%; }
}

@keyframes partnersShimmer {
    0%, 100% { 
        opacity: 0.7; 
        transform: translateX(-50%) scaleX(0.8) rotateZ(0deg);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scaleX(1.4) rotateZ(1deg);
    }
}

.partners .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 60px;
    font-size: 1.2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    padding: 20px;
    border-radius: 16px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    height: 90px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.partner-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 212, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.partner-logo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 212, 255, 0.1) 0%, 
        transparent 50%, 
        rgba(0, 153, 204, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 16px;
}

.partner-logo:hover::before {
    left: 100%;
}

.partner-logo:hover::after {
    opacity: 1;
}

.partner-logo:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-12px) scale(1.08) rotateY(5deg);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 
        0 25px 50px rgba(0, 212, 255, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%) brightness(1.2) contrast(1.1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    z-index: 2;
    opacity: 0.8;
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1.3) contrast(1.2) saturate(1.1) drop-shadow(0 8px 16px rgba(0, 212, 255, 0.3));
    transform: scale(1.15) rotate(1deg);
    opacity: 1;
}

/* Floating animation for partner logos */
.partner-logo:nth-child(odd) {
    animation: partnerFloat1 8s ease-in-out infinite;
}

.partner-logo:nth-child(even) {
    animation: partnerFloat2 8s ease-in-out infinite;
}

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

@keyframes partnerFloat2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(3px); }
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: 
        linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(15, 20, 25, 0.9) 50%, rgba(10, 15, 28, 0.95) 100%),
        radial-gradient(circle at 20% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 212, 255, 0.6) 20%, 
        rgba(255, 107, 107, 0.8) 50%, 
        rgba(78, 205, 196, 0.6) 80%, 
        transparent 100%);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.contact::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        radial-gradient(circle at 70% 30%, rgba(0, 212, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    animation: contactAmbient 8s ease-in-out infinite;
}

@keyframes contactAmbient {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.02); }
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.contact-info,
.contact-form {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.contact-info::before,
.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.contact-info:hover,
.contact-form:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 212, 255, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-info:hover::before,
.contact-form:hover::before {
    left: 100%;
}

.contact h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b6b 0%, #00d4ff 30%, #4ecdc4 70%, #ff6b6b 100%);
    background-size: 350% 350%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: contactGradientFlow 6.5s ease-in-out infinite;
    letter-spacing: -2px;
    position: relative;
    text-align: center;
}

.contact h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background: linear-gradient(90deg, transparent, #ff6b6b, #00d4ff, #4ecdc4, transparent);
    border-radius: 3px;
    animation: contactShimmer 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.4);
}

@keyframes contactGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    33% { background-position: 50% 100%; }
    66% { background-position: 100% 0%; }
}

@keyframes contactShimmer {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateX(-50%) scaleX(0.7) rotateZ(-1deg);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scaleX(1.3) rotateZ(1deg);
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem; /* аккуратное расстояние между иконкой и текстом */
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    /* DEFAULT: Icon left, text right for LTR (English) */
    flex-direction: row !important;
    direction: ltr !important;
}

/* ENGLISH LTR EXPLICIT OVERRIDE */
body:not(.rtl-mode) .contact-item,
html[lang="en"] .contact-item,
html[dir="ltr"] .contact-item {
    flex-direction: row !important; /* Icon left, text right */
    text-align: left !important;
    direction: ltr !important;
    justify-content: flex-start !important; /* Align to LEFT */
}

body:not(.rtl-mode) .contact-item div,
body:not(.rtl-mode) .contact-item > div,
html[lang="en"] .contact-item div,
html[lang="en"] .contact-item > div,
html[dir="ltr"] .contact-item div,
html[dir="ltr"] .contact-item > div {
    text-align: left !important;
    direction: ltr !important;
}

body:not(.rtl-mode) .contact-item h4,
body:not(.rtl-mode) .contact-item div h4,
body:not(.rtl-mode) .contact-item p,
body:not(.rtl-mode) .contact-item div p,
body:not(.rtl-mode) .contact-item a,
body:not(.rtl-mode) .contact-item div a,
html[lang="en"] .contact-item h4,
html[lang="en"] .contact-item div h4,
html[lang="en"] .contact-item p,
html[lang="en"] .contact-item div p,
html[lang="en"] .contact-item a,
html[lang="en"] .contact-item div a,
html[dir="ltr"] .contact-item h4,
html[dir="ltr"] .contact-item div h4,
html[dir="ltr"] .contact-item p,
html[dir="ltr"] .contact-item div p,
html[dir="ltr"] .contact-item a,
html[dir="ltr"] .contact-item div a {
    text-align: left !important;
    direction: ltr !important;
}

/* АДАПТИВНЫЕ РАССТОЯНИЯ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .contact-item {
        gap: 3rem !important; /* На планшете тоже большое */
        padding: 1.2rem !important;
    }
    
    /* RTL для планшетов */
    body.rtl-mode .contact-item,
    html[lang="he"] .contact-item,
    html[dir="rtl"] .contact-item,
    .rtl-mode .contact-item {
        gap: 3rem !important; /* Иврит на планшете */
    }
}

@media (max-width: 480px) {
    .contact-item {
        gap: 2.5rem !important; /* На мобиле чуть меньше но все равно большое */
        padding: 1rem !important;
    }
    
    /* RTL для мобильных */
    body.rtl-mode .contact-item,
    html[lang="he"] .contact-item,
    html[dir="rtl"] .contact-item,
    .rtl-mode .contact-item {
        gap: 2.5rem !important; /* Иврит на мобиле */
    }
}

/* УБРАЛ DEBUG НАДПИСИ */

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.2);
    transform: translateX(8px); /* LTR: move right */
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.1);
}

/* RTL CONTACT ITEM HOVER - MOVE LEFT IN HEBREW */
.rtl-mode .contact-item:hover,
html[lang="he"] .contact-item:hover,
html[dir="rtl"] .contact-item:hover {
    transform: translateX(-8px) !important; /* RTL: move left */
}

.contact-item i {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 153, 204, 0.3));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(15px);
    box-shadow: 
        0 8px 20px rgba(0, 212, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(0, 153, 204, 0.4));
    box-shadow: 
        0 12px 30px rgba(0, 212, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-item div h4 {
    color: #00d4ff;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.contact-item div p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
}

/* Links inside contact details (phone/email) */
.contact-item div a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-decoration: none;
    margin: 0;
}
.contact-item div a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

/* Keep consistent vertical stacking across LTR/RTL */
.contact-item > i + div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 3rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* CONTACT: center align phone/email rows consistently in both LTR and RTL */
.contact .contact-item {
    justify-content: left !important;
}
.contact .contact-item > div {
    text-align: left !important;
}

.contact .contact-item p {
    text-align: left !important;
}

.social-link {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    color: white;
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-link:hover::before {
    left: 100%;
}

.social-link:nth-child(1):hover {
    background: rgba(59, 89, 152, 0.2);
    border-color: rgba(59, 89, 152, 0.4);
}

.social-link:nth-child(2):hover {
    background: rgba(225, 48, 108, 0.2);
    border-color: rgba(225, 48, 108, 0.4);
}

.social-link:nth-child(3):hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.4);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 8px 24px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

/* ENGLISH LTR OVERRIDE - PREVENT RTL LEAK */
html[lang="en"] .contact-form input,
html[lang="en"] .contact-form textarea,
html[lang="en"] .contact-form input::placeholder,
html[lang="en"] .contact-form textarea::placeholder,
body:not(.rtl-mode) .contact-form input,
body:not(.rtl-mode) .contact-form textarea,
body:not(.rtl-mode) .contact-form input::placeholder,
body:not(.rtl-mode) .contact-form textarea::placeholder {
    text-align: left !important;
    direction: ltr !important;
}

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

.contact-form button {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8), rgba(0, 153, 204, 0.9));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: white;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.contact-form button:hover {
    transform: translateY(-4px) scale(1.02);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.9), rgba(0, 153, 204, 1));
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 
        0 20px 40px rgba(0, 212, 255, 0.3),
        0 8px 16px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:active {
    transform: translateY(-2px) scale(0.98);
}

/* Form verification */
.form-verification {
    margin: 15px 0;
}

.verification-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    gap: 15px !important;
}

.verification-checkbox input[type="checkbox"] {
    display: none;
}

.verification-checkbox .checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(67, 216, 255, 0.5);
    border-radius: 4px;
    margin-right: 10px;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.verification-checkbox .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #43d8ff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.verification-checkbox input[type="checkbox"]:checked + .checkmark {
    background: rgba(67, 216, 255, 0.2);
    border-color: #43d8ff;
}

.verification-checkbox input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

.verification-checkbox:hover .checkmark {
    border-color: #43d8ff;
    background: rgba(67, 216, 255, 0.1);
}

/* Google reCAPTCHA Styles */
.g-recaptcha {
    margin: 15px 0;
    transform: scale(1);
    transform-origin: 0 0;
}

/* Responsive reCAPTCHA for mobile */
@media (max-width: 768px) {
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
}

@media (max-width: 480px) {
    .g-recaptcha {
        transform: scale(0.8);
        transform-origin: 0 0;
    }
}

/* RTL support for reCAPTCHA */
html[lang="he"] .g-recaptcha,
html[dir="rtl"] .g-recaptcha,
body.rtl-mode .g-recaptcha {
    direction: ltr;
    text-align: left;
}

/* Instagram placeholder */
.instagram-placeholder {
    opacity: 0.6;
    pointer-events: none;
}

/* Footer */
.footer {
    padding: 3rem 0;
    background: #0f1419;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #00d4ff;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid,
    .rtl-mode .services-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 2.5rem !important;
    }
}

/* Unified services grid for both LTR and RTL */
@media (max-width: 768px) {
    .services-grid,
    .rtl-mode .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
        margin: 2rem auto 0 auto !important;
        max-width: 100% !important;
    }
    
    .service-card,
    .rtl-mode .service-card {
        padding: 2rem 1.5rem !important;
        min-height: 350px !important;
        border-radius: 20px !important;
        text-align: center !important;
    }
    
    .service-icon,
    .rtl-mode .service-icon {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .service-card h3,
    .rtl-mode .service-card h3 {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .service-card p,
    .rtl-mode .service-card p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .services-grid,
    .rtl-mode .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 0 0.5rem !important;
        margin: 1.5rem auto 0 auto !important;
    }
    
    .service-card,
    .rtl-mode .service-card {
        padding: 1.8rem 1rem !important;
        min-height: 320px !important;
    }
    
    .service-icon,
    .rtl-mode .service-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
    .service-card h3,
    .rtl-mode .service-card h3 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .service-card p,
    .rtl-mode .service-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

/* Medium screens */
@media (max-width: 1024px) {
    .process-steps {
        gap: 1.5rem;
    }
    
    .step {
        padding: 3.5rem 1.5rem 2rem;
        min-height: 300px;
        margin-top: 25px;
    }
    
    .step-icon {
        width: 75px;
        height: 75px;
        font-size: 1.9rem;
    }
    
    .process .section-title {
        font-size: 3rem;
        letter-spacing: -1px;
    }
}

/* Large Tablet adaptation (iPad Pro landscape) */
@media (max-width: 1024px) and (min-width: 901px) {
    .command-center {
        width: 450px !important;
        height: 380px !important;
        margin: 0 auto !important;
    }
    
    .monitors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 18px !important;
        padding: 18px !important;
    }
    
    .monitor {
        min-height: 90px !important;
        border-radius: 12px !important;
    }
    
    .screen-content {
        font-size: 11px !important;
    }
    
    .network-topology::before,
    .security-dashboard::before,
    .data-flow::before,
    .system-stats::before,
    .traffic-analysis::before,
    .threat-detection::before {
        font-size: 10px !important;
        padding: 12px !important;
    }
}

/* Medium Tablet adaptation (iPad portrait) */
@media (max-width: 900px) and (min-width: 769px) {
    .command-center {
        width: 400px !important;
        height: 340px !important;
        margin: 0 auto !important;
    }
    
    .monitors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 14px !important;
        padding: 14px !important;
    }
    
    .monitor {
        min-height: 75px !important;
        border-radius: 10px !important;
    }
    
    .screen-content {
        font-size: 9px !important;
    }
    
    .network-topology::before,
    .security-dashboard::before,
    .data-flow::before,
    .system-stats::before,
    .traffic-analysis::before,
    .threat-detection::before {
        font-size: 8px !important;
        padding: 8px !important;
    }
}

@media (max-width: 900px) {
    .nav-container {
        position: relative;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    
    /* HIDE BOTH language switchers on mobile */
    .language-switcher {
        display: none !important;
    }
    
    .header .language-switcher {
        display: none !important;
    }
    
    /* HIDE desktop navigation on mobile */
    .nav-menu {
        display: none;
    }

    /* Logo STRICTLY LEFT */
    .logo {
        order: 0;
        margin-right: auto;
    }

    .hamburger {
        display: none !important;
    }
    
    .fixed-hamburger {
        display: flex !important;
    }

    /* HERO STYLES MOVED TO NEW SECTION BELOW */

    .monitor-setup {
        width: 300px;
        height: 200px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .tech-hub {
        width: 300px;
        height: 300px;
    }
    
    .tech-center {
        width: 150px;
        height: 150px;
    }
    
    .tech-center i {
        font-size: 3rem;
    }
    
    .tech-element {
        width: 50px;
        height: 50px;
    }
    
    .tech-element i {
        font-size: 1.2rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .partner-logo {
        height: 75px;
        padding: 15px;
        border-radius: 12px;
    }

    .section-title {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }
    
    .section-title::after {
        width: 100px;
        height: 3px;
        bottom: -12px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem 2rem;
        min-height: 350px;
        border-radius: 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .process-steps {
        gap: 1.5rem;
        flex-direction: column;
        flex-wrap: nowrap;
        margin: 50px auto 0;
        padding-top: 30px;
        max-width: 100%;
        justify-content: center;
    }
    
    .step {
        flex: none;
        width: 100%;
        min-width: auto;
        padding: 3rem 1.5rem 2rem;
        min-height: 250px;
        margin-top: 15px;
        text-align: center;
    }
    
    .step::after {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        top: -16px;
    }
}

/* Medium tablets */
@media (min-width: 901px) and (max-width: 1024px) {
    .process-steps {
        gap: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .step {
        flex: 0 1 300px;
        min-width: 280px;
        max-width: 300px;
        margin: 10px;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.1;
        padding: 0 0.5rem;
    }
    
    .hero-title .line-1,
    .hero-title .line-2, 
    .hero-title .line-3 {
        display: block;
        font-size: 1.3rem;
        line-height: 1.0;
        margin-bottom: 0.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
        max-width: 95%;
    }
    
    .hero-container {
        padding: 0.5rem;
        min-height: 75vh;
    }
    
    .hero-content {
        width: 100%;
        text-align: center;
    }
    
    .hamburger {
        right: 15px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 0.5rem;
    }
    
    .service-card {
        padding: 1.8rem 1rem 1.5rem;
        min-height: 320px;
        border-radius: 16px;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }
    
    .service-card h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
    
    .service-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .learn-more-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin-top: 1rem;
    }
    
    .process-steps {
        gap: 1rem;
        flex-direction: column;
        max-width: 350px;
        margin: 40px auto 0;
    }
    
    .step {
        padding: 3rem 1rem 2rem;
        flex: none;
        width: 100%;
        min-width: auto;
        max-width: 350px;
        margin: 15px auto;
        text-align: center;
    }
    
    .step-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .step h3 {
        font-size: 1.2rem;
    }
    
    .step::after {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
        top: -18px;
        border: 2px solid rgba(255, 255, 255, 0.9);
    }
    
    .process .section-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 3rem;
        padding: 0 1rem;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-info,
    .contact-form {
        padding: 2rem;
        border-radius: 20px;
    }
    
    .contact-item {
        padding: 1rem;
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }
    
    .contact-item i {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        border-radius: 12px;
    }
    
    .social-links {
        margin-top: 2rem;
        gap: 1rem;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
        border-radius: 14px;
    }
}

/* Very small mobile services optimization */
@media (max-width: 360px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        padding: 0 0.3rem;
    }
    
    .service-card {
        padding: 1.5rem 0.8rem 1.2rem;
        min-height: 280px;
        border-radius: 14px;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 0.9rem;
        line-height: 1.1;
        margin-bottom: 0.6rem;
    }
    
    .service-card p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .learn-more-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
    
    /* Hero adaptations for very small screens */
    .hero-title {
        font-size: 1.2rem;
        line-height: 1.0;
    }
    
    .hero-title .line-1,
    .hero-title .line-2, 
    .hero-title .line-3 {
        display: block;
        font-size: 1.0rem;
        line-height: 0.9;
        margin-bottom: 0.15rem;
    }
    
    .hero-container {
        padding: 0.25rem;
        min-height: 70vh;
    }
    
    .tech-hub {
        width: 250px;
        height: 250px;
    }
    
    .tech-center {
        width: 120px;
        height: 120px;
    }
    
    .tech-center i {
        font-size: 2.5rem;
    }
    
    .tech-element {
        width: 40px;
        height: 40px;
    }
    
    .tech-element i {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2.8rem;
        letter-spacing: -1px;
    }
    
    .about-text h2::after {
        width: 120px;
        height: 4px;
    }
    
    .contact h2 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .contact h2::after {
        width: 110px;
        height: 4px;
    }
    
    .certifications h2 {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
    
    .certifications h2::after {
        width: 140px;
        height: 5px;
    }
    
    .step {
        padding: 3.5rem 1rem 1.5rem;
        max-width: 300px;
        margin-top: 25px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .step p {
        font-size: 0.9rem;
    }
    
    .step::after {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        top: -20px;
        border: 2px solid rgba(255, 255, 255, 0.9);
    }
    
    .process .section-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .process {
        padding: 100px 0;
    }
}
    
    .process-steps {
        flex-direction: row;
        gap: 1rem;
        align-items: stretch;
        flex-wrap: nowrap;
        margin: 50px auto 0;
        padding-top: 30px;
    }
    
    .process-steps::before {
        top: 80px;
        left: 5%;
        right: 5%;
        height: 2px;
    }
    
    .process-steps::after {
        top: 79px;
        left: 5%;
    }
    
    .step {
        flex: 1;
        max-width: none;
        min-width: 280px;
        margin: 0;
        min-height: 320px;
        padding: 3rem 1rem 2rem;
    }
    
    .step-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .step h3 {
    font-size: 1.3rem;
    }
    
    .process .section-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partner-logo {
        height: 70px;
        padding: 12px;
    }
    
    .partners .section-title {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }
    
    .partners .section-title::after {
        width: 120px;
        height: 4px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .language-switcher {
        top: 15px;
        right: 15px;
    }

@media (max-width: 480px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        gap: 3px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
    
    .command-center {
        width: 280px;
        height: 220px;
        transform: scale(0.7);
    }
    
    .monitors-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 8px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .partner-logo {
        height: 80px;
        padding: 16px;
        max-width: 250px;
        margin: 0 auto;
    }
    
    .partners .section-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    
    .partners .section-title::after {
        width: 90px;
        height: 3px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem 2rem;
        min-height: 380px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Hide loading screen after page loads */
.loaded #loading-screen {
    opacity: 0;
    pointer-events: none;
}

/* PREMIUM SCROLL ANIMATIONS SYSTEM */

/* Base animation states */
.fade-in-up,
.slide-in-up,
.slide-in-left,
.slide-in-right,
.scale-in,
.rotate-in,
.flip-in {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

/* Fade In Up */
.fade-in-up {
    transform: translateY(40px);
}

.fade-in-up.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Slide In Up */
.slide-in-up {
    transform: translateY(60px) scale(0.95);
}

.slide-in-up.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Slide In Left */
.slide-in-left {
    transform: translateX(-50px) rotateY(15deg);
}

.slide-in-left.animated {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

/* Slide In Right */
.slide-in-right {
    transform: translateX(50px) rotateY(-15deg);
}

.slide-in-right.animated {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
}

/* Scale In */
.scale-in {
    transform: scale(0.8) rotateZ(-5deg);
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1) rotateZ(0deg);
}

/* Rotate In */
.rotate-in {
    transform: rotate(-90deg) scale(0.5);
}

.rotate-in.animated {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Flip In */
.flip-in {
    transform: rotateY(90deg) scale(0.9);
    transform-origin: center center;
}

.flip-in.animated {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
}

/* Enhanced animations for specific elements */
.service-card.slide-in-up.animated {
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.partner-card.scale-in.animated {
    transform: scale(1) rotateZ(0deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-info.slide-in-up.animated,
.contact-form.slide-in-up.animated {
    transform: translateY(0) scale(1);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.15);
}

/* Staggered animation delays */
.fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.4s; }

.slide-in-up:nth-child(1) { transition-delay: 0.15s; }
.slide-in-up:nth-child(2) { transition-delay: 0.25s; }
.slide-in-up:nth-child(3) { transition-delay: 0.35s; }
.slide-in-up:nth-child(4) { transition-delay: 0.45s; }

.scale-in:nth-child(1) { transition-delay: 0.1s; }
.scale-in:nth-child(2) { transition-delay: 0.2s; }
.scale-in:nth-child(3) { transition-delay: 0.3s; }
.scale-in:nth-child(4) { transition-delay: 0.4s; }
.scale-in:nth-child(5) { transition-delay: 0.5s; }
.scale-in:nth-child(6) { transition-delay: 0.6s; }

.rotate-in:nth-child(1) { transition-delay: 0.1s; }
.rotate-in:nth-child(2) { transition-delay: 0.2s; }
.rotate-in:nth-child(3) { transition-delay: 0.3s; }

/* Smooth scrolling for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .slide-in-up,
    .slide-in-left,
    .slide-in-right,
    .scale-in,
    .rotate-in,
    .flip-in {
        transition: opacity 0.3s ease;
        transform: none !important;
    }
}

/* RTL Support for Hebrew */
.rtl-mode {
    direction: rtl;
    text-align: right;
}

.rtl-mode .nav-container {
    direction: rtl;
}

.rtl-mode .nav-menu {
    direction: rtl;
}

.rtl-mode .hero-container {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.rtl-mode .hero-content {
    text-align: right;
    direction: rtl;
}

.rtl-mode .hero-stats {
    direction: ltr !important;
    justify-content: flex-end;
    text-align: center;
}

.rtl-mode .hero-stats .stat {
    text-align: center;
}

.rtl-mode .hero-stats .stat-number {
    direction: ltr !important;
    text-align: center !important;
}

.rtl-mode .cta-button {
    direction: rtl;
    text-align: center;
    align-self: flex-start;
}



.rtl-mode .about-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.rtl-mode .about-content .about-text {
    text-align: right;
}

/* ULTIMATE RTL FOR DESKTOP ABOUT SECTION */
.rtl-mode .about h2,
.rtl-mode .about-text h2 {
    text-align: right !important;
    direction: rtl !important;
}

.rtl-mode .about-text,
.rtl-mode .about-text p {
    text-align: right !important;
    direction: rtl !important;
}

.rtl-mode .about-content {
    direction: rtl !important;
    text-align: right !important;
}

.rtl-mode .about-features {
    direction: rtl !important;
    text-align: right !important;
}

.rtl-mode .about-features .feature {
    flex-direction: row-reverse !important;
    text-align: right !important;
    direction: rtl !important;
    justify-content: flex-start !important;
}

.rtl-mode .about-features .feature-icon {
    order: 2 !important;
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

.rtl-mode .about-features .feature span {
    order: 1 !important;
    text-align: right !important;
    direction: rtl !important;
    flex-grow: 1 !important;
}

.rtl-mode .about-features .feature {
    flex-direction: row-reverse;
}

.rtl-mode .contact-content {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

/* RTL Contact Section */
[dir="rtl"] .contact-item,
.rtl-mode .contact-item {
    flex-direction: row-reverse;
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .contact-item div,
.rtl-mode .contact-item div {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .contact-item h4,
.rtl-mode .contact-item h4 {
    text-align: right !important;
    direction: rtl;
}

[dir="rtl"] .contact-item p,
.rtl-mode .contact-item p {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .contact h2,
.rtl-mode .contact h2 {
    text-align: right;
    direction: rtl;
}

.rtl-mode .contact-form {
    direction: rtl !important;
    text-align: right !important;
}

.rtl-mode .contact-form input,
.rtl-mode .contact-form textarea {
    text-align: right !important;
    direction: rtl !important;
}

.rtl-mode .verification-checkbox {
    flex-direction: row-reverse !important;
    text-align: right !important;
    direction: rtl !important;
}

.rtl-mode .verification-checkbox .checkmark {
    margin-right: 0 !important;
    margin-left: 10px !important;
}

.rtl-mode .verification-checkbox span {
    text-align: right !important;
    direction: rtl !important;
}

.rtl-mode .footer-content {
    direction: rtl;
    text-align: center !important; /* ЦЕНТРОВКА для иврита */
}

.rtl-mode .footer-section,
html[lang="he"] .footer-section,
html[dir="rtl"] .footer-section {
    text-align: center !important;
    direction: rtl !important;
}

.rtl-mode .footer-section h3,
.rtl-mode .footer-section h4,
html[lang="he"] .footer-section h3,
html[lang="he"] .footer-section h4,
html[dir="rtl"] .footer-section h3,
html[dir="rtl"] .footer-section h4 {
    text-align: center !important;
}

.rtl-mode .footer-section ul,
html[lang="he"] .footer-section ul,
html[dir="rtl"] .footer-section ul {
    text-align: center !important;
}

.rtl-mode .footer-section ul li,
html[lang="he"] .footer-section ul li,  
html[dir="rtl"] .footer-section ul li {
    text-align: center !important;
}

.rtl-mode .language-switcher {
    left: 20px;
    right: auto;
}

/* RTL STATS SECTION - CENTER ALIGNMENT FOR HEBREW */
.rtl-mode .stats-section,
html[lang="he"] .stats-section,
html[dir="rtl"] .stats-section {
    text-align: center !important;
}

.rtl-mode .stats-grid,
html[lang="he"] .stats-grid,
html[dir="rtl"] .stats-grid {
    direction: ltr; /* Keep grid direction LTR */
    text-align: center;
    justify-items: center;
}

/* RTL WHATSAPP BUTTON - KEEP ON RIGHT FOR HEBREW */
.rtl-mode .whatsapp-float,
html[lang="he"] .whatsapp-float,
html[dir="rtl"] .whatsapp-float {
    right: 30px !important;
    left: auto !important;
}

.rtl-mode .hamburger {
    order: -1;
}

.rtl-mode .logo {
    flex-direction: row !important;
    order: 1 !important;
}

/* Элементы внутри логотипа не должны менять порядок */
.rtl-mode .logo-img {
    order: 2 !important;
}

.rtl-mode .logo-text {
    order: 1 !important;
}

/* Универсальные стили для корректного отображения логотипа */
.logo {
    flex-direction: row !important;
}

.logo-img {
    order: 1 !important;
}

.logo-text {
    order: 2 !important;
}

.rtl-mode .process-steps {
    direction: rtl;
}

.rtl-mode .timeline-item {
    flex-direction: row-reverse;
}

.rtl-mode .timeline-item:nth-child(even) {
    flex-direction: row;
}

.rtl-mode .timeline-content {
    text-align: right;
}

.rtl-mode .partners-grid {
    direction: rtl;
}

.rtl-mode .services-grid {
    direction: rtl !important;
    text-align: center !important;
    justify-items: center !important;
}

.rtl-mode .service-card {
    text-align: center !important;
    direction: rtl !important;
}

/* FORCE RTL FOR SERVICES SECTION */
.rtl-mode .services h2 {
    text-align: center !important;
    direction: rtl !important;
}

.rtl-mode .services .section-title {
    text-align: center !important;
    direction: rtl !important;
}

.rtl-mode .service-card h3 {
    text-align: center !important;
    direction: rtl !important;
}

.rtl-mode .service-card p {
    text-align: center !important;
    direction: rtl !important;
}

/* FORCE SERVICES SECTION PERFECT ALIGNMENT */
.rtl-mode .services {
    direction: rtl !important;
    text-align: center !important;
}

.rtl-mode .services .container {
    direction: rtl !important;
    text-align: center !important;
}

.rtl-mode .services-grid {
    display: grid !important;
    gap: 3rem !important;
    margin: 4rem auto 0 auto !important;
    max-width: 1400px !important;
    justify-content: center !important;
    align-items: stretch !important;
}

/* Desktop RTL services grid */
@media (min-width: 769px) {
    .rtl-mode .services-grid {
        grid-template-columns: repeat(4, minmax(280px, 1fr)) !important;
    }
}

/* Mobile RTL services grid */
@media (max-width: 768px) {
    .rtl-mode .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
        margin: 2rem auto 0 auto !important;
    }
    
    .rtl-mode .service-card {
        padding: 2rem 1.5rem !important;
        min-height: 350px !important;
    }
}

@media (max-width: 480px) {
    .rtl-mode .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 0 0.5rem !important;
        margin: 1.5rem auto 0 auto !important;
    }
    
    .rtl-mode .service-card {
        padding: 1.8rem 1rem !important;
        min-height: 320px !important;
    }
    
    .rtl-mode .service-icon {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.5rem !important;
    }
    
        .rtl-mode .service-card h3 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
    
    .rtl-mode .service-card p {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
}

/* Hebrew font support */
.rtl-mode {
    font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

/* Mobile RTL adjustments */
@media (max-width: 768px) {
    .rtl-mode .nav-menu {
        text-align: right;
    }
    
    .rtl-mode .hero-content {
        text-align: center;
        direction: rtl;
    }
    
    .rtl-mode .cta-button {
        direction: rtl;
        text-align: center;
        margin: 0 auto;
        display: inline-block;
    }
    
    .rtl-mode .contact-content,
    .rtl-mode .about-content {
        grid-template-columns: 1fr;
        direction: rtl;
        text-align: right;
    }
    
    .rtl-mode .about-text {
        text-align: right;
    }
    
    .rtl-mode .about-text h2 {
        text-align: right;
    }
    
    .rtl-mode .about-text p {
        text-align: right;
    }
    
    .rtl-mode .about-features {
        direction: rtl;
    }
    
    .rtl-mode .about-features .feature {
        flex-direction: row-reverse;
        text-align: right;
    }
}

/* Extra Small Mobile RTL */
@media (max-width: 480px) {
    .rtl-mode .about-content {
        direction: rtl !important;
        text-align: right !important;
    }
    
    .rtl-mode .about-text {
        text-align: right !important;
        direction: rtl !important;
    }
    
    .rtl-mode .about-text h2,
    .rtl-mode .about-text p {
        text-align: right !important;
    }
    
    .rtl-mode .about-features {
        direction: rtl !important;
    }
    
    .rtl-mode .about-features .feature {
        flex-direction: row-reverse !important;
        text-align: right !important;
        direction: rtl !important;
    }
    
    .rtl-mode .feature span {
        text-align: right !important;
    }
    
    /* Force RTL for mobile feature cards */
    .rtl-mode .about-features .feature {
        flex-direction: row-reverse !important;
        text-align: right !important;
        direction: rtl !important;
        justify-content: flex-start !important;
    }
    
    .rtl-mode .about-features .feature .feature-icon {
        order: 2 !important;
        margin-left: 0 !important;
        margin-right: 1.5rem !important;
    }
    
    .rtl-mode .about-features .feature span {
        order: 1 !important;
        text-align: right !important;
        direction: rtl !important;
        flex-grow: 1 !important;
    }
    
    /* REMOVED DUPLICATE RTL RULES - HANDLED BY MAIN RULES ABOVE */
}

/* Mobile RTL adjustments */
@media (max-width: 768px) {
    .rtl-mode .about-features .feature {
        flex-direction: row-reverse !important;
        text-align: right !important;
        direction: rtl !important;
        justify-content: flex-start !important;
    }
    
    .rtl-mode .about-features .feature .feature-icon {
        order: 2 !important;
        margin-left: 0 !important;
        margin-right: 1.5rem !important;
    }
    
    .rtl-mode .about-features .feature span {
        order: 1 !important;
        text-align: right !important;
        direction: rtl !important;
        flex-grow: 1 !important;
    }
    
    /* HEBREW CONTACT MOBILE FORCE RTL */
    html[lang="he"] .contact-item,
    html[dir="rtl"] .contact-item,
    .rtl-mode .contact-item {
        flex-direction: row-reverse !important;
        text-align: right !important;
        direction: rtl !important;
        justify-content: flex-start !important; /* keep grouping */
    }
    
    html[lang="he"] .contact-item h4,
    html[lang="he"] .contact-item div h4,
    html[dir="rtl"] .contact-item h4,
    html[dir="rtl"] .contact-item div h4,
    .rtl-mode .contact-item h4,
    .rtl-mode .contact-item div h4 {
        text-align: right !important;
        direction: rtl !important;
        unicode-bidi: embed !important;
    }
    
    html[lang="he"] .contact-item div,
    html[dir="rtl"] .contact-item div,
    .rtl-mode .contact-item div {
        text-align: right !important;
        direction: rtl !important;
        flex-grow: 1 !important;
        order: 1 !important;
    }
    
    html[lang="he"] .contact-item i,
    html[dir="rtl"] .contact-item i,
    .rtl-mode .contact-item i {
        order: 2 !important;
        margin-left: 0 !important;
        margin-right: 1.5rem !important;
    }
    
    /* RTL Contact Form Fixes */
    .rtl-mode .contact-form {
        direction: rtl !important;
        text-align: right !important;
    }
    
    .rtl-mode .contact-form input,
    .rtl-mode .contact-form textarea {
        text-align: right !important;
        direction: rtl !important;
        padding-right: 20px !important;
        padding-left: 20px !important;
    }
    
    .rtl-mode .contact-form input[type="text"],
    .rtl-mode .contact-form input[type="email"],
    .rtl-mode .contact-form input[type="tel"],
    .rtl-mode .contact-form textarea {
        text-align: right !important;
        direction: rtl !important;
        unicode-bidi: bidi-override !important;
    }

/* EXTREME FORCE RTL FOR ALL MOBILE CONTACT FORM INPUTS */
@media (max-width: 768px) {
    html[dir="rtl"] .contact-form input,
    html[dir="rtl"] .contact-form textarea,
    body.rtl-mode .contact-form input,
    body.rtl-mode .contact-form textarea,
    body.rtl-mode input[name="name"],
    body.rtl-mode input[name="email"], 
    body.rtl-mode input[name="phone"],
    body.rtl-mode textarea[name="message"],
    .rtl-mode input,
    .rtl-mode textarea {
        text-align: right !important;
        direction: rtl !important;
        unicode-bidi: embed !important;
        -webkit-text-align: right !important;
        -moz-text-align: right !important;
        writing-mode: horizontal-tb !important;
        text-align-last: right !important;
    }
}

/* ULTIMATE RTL CONTACT FORM - MAX PRIORITY */
html[lang="he"] .contact-form input,
html[lang="he"] .contact-form textarea,
html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea,
body.rtl-mode .contact-form input,
body.rtl-mode .contact-form textarea,
.rtl-mode .contact-form input[type="text"],
.rtl-mode .contact-form input[type="email"],
.rtl-mode .contact-form input[type="tel"],
.rtl-mode .contact-form textarea {
    text-align: right !important;
    direction: rtl !important;
    unicode-bidi: bidi-override !important;
}

/* ULTIMATE HEBREW CONTACT LABELS FIX */
html[lang="he"] .contact-item h4,
html[lang="he"] .contact-item div h4,
html[lang="he"] [data-translate="contact.phone"],
html[lang="he"] [data-translate="contact.email"],
html[dir="rtl"] .contact-item h4,
html[dir="rtl"] .contact-item div h4,
html[dir="rtl"] [data-translate="contact.phone"],
html[dir="rtl"] [data-translate="contact.email"],
body.rtl-mode .contact-item h4,
body.rtl-mode .contact-item div h4,
body.rtl-mode [data-translate="contact.phone"],
body.rtl-mode [data-translate="contact.email"] {
    text-align: right !important;
    direction: rtl !important;
    unicode-bidi: embed !important;
    justify-self: flex-end !important;
}

/* ULTIMATE HEBREW CONTACT SECTION FIX */
html[lang="he"] .contact-item,
html[dir="rtl"] .contact-item,
body.rtl-mode .contact-item {
    flex-direction: row-reverse !important;
    text-align: right !important;
    direction: rtl !important;
}

html[lang="he"] .contact-item div,
html[dir="rtl"] .contact-item div,
body.rtl-mode .contact-item div {
    text-align: right !important;
    direction: rtl !important;
    flex-grow: 1 !important;
    order: 1 !important;
}

html[lang="he"] .contact-item i,
html[dir="rtl"] .contact-item i,
body.rtl-mode .contact-item i {
    order: 2 !important;
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

/* ДОПОЛНИТЕЛЬНАЯ ФОРСИРОВКА RTL ДЛЯ КОНТАКТОВ - ИКОНКА СПРАВА */
.rtl-mode .contact-item,
html[dir="rtl"] .contact-item,
body.rtl-mode .contact-item,
html[lang="he"] .contact-item {
    display: flex !important;
    flex-direction: row-reverse !important;
}

.rtl-mode .contact-item i,
html[dir="rtl"] .contact-item i,
body.rtl-mode .contact-item i,
html[lang="he"] .contact-item i {
    order: 2 !important;
    flex-shrink: 0 !important;
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

.rtl-mode .contact-item > div,
html[dir="rtl"] .contact-item > div,
body.rtl-mode .contact-item > div,
html[lang="he"] .contact-item > div {
    order: 1 !important;
    flex-grow: 1 !important;
    text-align: right !important;
    direction: rtl !important;
}

html[lang="he"] .contact-form input::placeholder,
html[lang="he"] .contact-form textarea::placeholder,
html[dir="rtl"] .contact-form input::placeholder,
html[dir="rtl"] .contact-form textarea::placeholder,
body.rtl-mode .contact-form input::placeholder,
body.rtl-mode .contact-form textarea::placeholder {
    text-align: right !important;
    direction: rtl !important;
}

html[lang="he"] .verification-checkbox,
html[dir="rtl"] .verification-checkbox,
body.rtl-mode .verification-checkbox {
    flex-direction: row-reverse !important;
    justify-content: flex-start !important;
    text-align: right !important;
    direction: rtl !important;
}

html[lang="he"] .verification-checkbox .checkmark,
html[dir="rtl"] .verification-checkbox .checkmark,
body.rtl-mode .verification-checkbox .checkmark {
    margin-right: 0 !important;
    margin-left: 20px !important;
}

html[lang="he"] .verification-checkbox span,
html[dir="rtl"] .verification-checkbox span,
body.rtl-mode .verification-checkbox span {
    text-align: right !important;
    direction: rtl !important;
}
    
    .rtl-mode .contact-form input::placeholder,
    .rtl-mode .contact-form textarea::placeholder {
        text-align: right !important;
        direction: rtl !important;
    }
    
    .rtl-mode .verification-checkbox {
        flex-direction: row-reverse !important;
        justify-content: flex-end !important;
        text-align: right !important;
        direction: rtl !important;
    }
    
    .rtl-mode .verification-checkbox .checkmark {
        margin-right: 0 !important;
        margin-left: 10px !important;
        order: 2 !important;
    }
    
    .rtl-mode .verification-checkbox span {
        order: 1 !important;
        text-align: right !important;
        direction: rtl !important;
    }
    
    .rtl-mode .contact-form button {
        text-align: center !important;
    }
    
    .rtl-mode .language-switcher {
        left: 15px;
        right: auto;
    }
    
    /* Mobile RTL Stats positioning */
    .rtl-mode .stats-grid,
    html[lang="he"] .stats-grid,
    html[dir="rtl"] .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Keep 2-column on mobile */
        direction: ltr;
        text-align: center;
        justify-items: center;
    }

    /* Mobile RTL WhatsApp positioning */
    .rtl-mode .whatsapp-float,
    html[lang="he"] .whatsapp-float,
    html[dir="rtl"] .whatsapp-float {
        right: 20px !important;
        left: auto !important;
    }
}


/* Certifications Section */
.certifications {
    padding: 80px 0;
    background: #0a0a0a;
}

.certifications h2 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-align: center;
    background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 25%, #00d4ff 50%, #4ecdc4 75%, #ffd700 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: certificationsGradientFlow 7s ease-in-out infinite;
    letter-spacing: -2px;
    position: relative;
}

.certifications h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 6px;
    background: linear-gradient(90deg, 
        transparent, 
        #ffd700, 
        #ff6b6b, 
        #00d4ff, 
        #4ecdc4, 
        #ffd700, 
        transparent);
    border-radius: 3px;
    animation: certificationsShimmer 4.5s ease-in-out infinite;
    box-shadow: 
        0 0 25px rgba(255, 215, 0, 0.5),
        0 0 15px rgba(0, 212, 255, 0.3);
}

@keyframes certificationsGradientFlow {
    0%, 100% { background-position: 0% 50%; }
    20% { background-position: 25% 25%; }
    40% { background-position: 75% 75%; }
    60% { background-position: 50% 100%; }
    80% { background-position: 100% 25%; }
}

@keyframes certificationsShimmer {
    0%, 100% { 
        opacity: 0.7; 
        transform: translateX(-50%) scaleX(0.6) rotateZ(-2deg);
        filter: hue-rotate(0deg);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scaleX(1.4) rotateZ(2deg);
        filter: hue-rotate(45deg);
    }
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.cert-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.cert-card i {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 20px;
}

.cert-card h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.cert-card p {
    color: #ccc;
    font-size: 0.95rem;
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2300d4ff" fill-opacity="0.05"><circle cx="30" cy="30" r="1"/></g></svg>');
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    position: relative;
    z-index: 1;
}

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

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #00d4ff;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close {
    position: absolute;
    right: 25px;
    top: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #00d4ff;
}

.modal h2 {
    color: #00d4ff;
    margin-bottom: 20px;
}

.modal p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.modal-feature {
    background: rgba(0, 212, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #00d4ff;
}

.modal-feature h4 {
    color: #00d4ff;
    margin-bottom: 10px;
}

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

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

/* Enhanced Mobile Responsiveness */
@media (max-width: 768px) {
    
    /* HERO SECTION MOBILE FIXES */
    .hero {
        min-height: 100vh;
        padding: 120px 0 40px;
    }
    
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        text-align: center !important;
        grid-template-columns: none !important;
        padding: 0 1rem !important;
    }
    
    .hero-content {
        order: 1;
        width: 100%;
        padding: 0 10px;
    }
    
    .hero-visual {
        order: 2;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-title .line-1,
    .hero-title .line-2,
    .hero-title .line-3 {
        font-size: 3rem !important;
        display: block !important;
        margin-bottom: 0.2rem !important;
    }
    
    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 2rem !important;
        padding: 0 10px;
        line-height: 1.5 !important;
    }
    
    .hero-stats {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 1.5rem !important;
        margin-bottom: 2.5rem !important;
        flex-wrap: wrap !important;
    }
    
    .stat {
        min-width: auto !important;
        flex: 0 1 auto !important;
    }
    
    .stat-number {
        font-size: 2.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
        letter-spacing: 1px !important;
    }
    
    .cta-button {
        padding: 16px 32px !important;
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }
    
    .command-center {
        width: 100% !important;
        max-width: 350px !important;
        height: 280px !important;
        margin: 0 auto !important;
    }
    
    .monitors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, 1fr) !important;
        gap: 10px !important;
        padding: 10px !important;
    }
    
    .monitor {
        min-height: 60px !important;
    }
    
    .network-topology::before,
    .security-dashboard::before,
    .data-flow::before,
    .system-stats::before,
    .traffic-analysis::before,
    .threat-detection::before {
        font-size: 6px !important;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }
    
    .modal-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    
    /* HERO MOBILE EXTRA SMALL */
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .hero-title .line-1,
    .hero-title .line-2,
    .hero-title .line-3 {
        font-size: 2.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 15px;
    }
    
    .hero-stats {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.7rem !important;
    }
    
    .command-center {
        max-width: 280px !important;
        height: 220px !important;
    }
    
    /* LOGO MOBILE ADAPTATIONS */
    .logo-img {
        width: 42px !important;
        height: 42px !important;
    }
    
    .logo-text {
        font-size: 1.45rem !important;
        letter-spacing: 0.3px !important;
    }
    
    .logo {
        gap: 10px !important;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* RTL Stats for very small screens */
    .rtl-mode .stats-grid,
    html[lang="he"] .stats-grid,
    html[dir="rtl"] .stats-grid {
        grid-template-columns: 1fr !important; /* Single column on very small screens */
        direction: ltr;
        text-align: center;
        justify-items: center;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .cert-card {
        padding: 30px 20px;
    }
    
    .cert-card i {
        font-size: 2.5rem;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .partner-logo {
        height: 50px;
        padding: 8px;
    }
}

/* Command Center Visualization */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.command-center {
    position: relative;
    width: 500px;
    height: 400px;
    perspective: 1000px;
}



.monitors-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.monitor {
    background: #0a0a0a;
    border-radius: 8px;
    border: 2px solid #333;
    overflow: hidden;
    position: relative;
    transform: rotateY(0deg) rotateX(0deg);
    transition: all 0.3s ease;
    animation: monitorGlow 4s infinite ease-in-out;
}

.monitor:nth-child(1) { animation-delay: 0s; }
.monitor:nth-child(2) { animation-delay: 0.5s; }
.monitor:nth-child(3) { animation-delay: 1s; }
.monitor:nth-child(4) { animation-delay: 1.5s; }
.monitor:nth-child(5) { animation-delay: 2s; }
.monitor:nth-child(6) { animation-delay: 2.5s; }

@keyframes monitorGlow {
    0%, 100% { 
        border-color: #333;
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
    }
    50% { 
        border-color: #00d4ff;
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    }
}

.screen {
    width: 100%;
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.screen-content {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Network Topology Screen */
.network-topology {
    background: #0a0a0a;
    color: #00d4ff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    overflow: hidden;
}

.network-topology::before {
    content: "NETWORK STATUS";
    white-space: pre-line;
    animation: networkBlink 2s infinite;
}

@keyframes networkBlink {
    0%, 80% { opacity: 1; }
    90% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Security Dashboard Screen */
.security-dashboard {
    background: #0a0a0a;
    color: #00ff88;
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    overflow: hidden;
}

.security-dashboard::before {
    content: "SECURITY CENTER";
    white-space: pre-line;
    animation: securityPulse 3s infinite;
}

@keyframes securityPulse {
    0%, 100% { color: #00ff88; }
    50% { color: #88ff00; }
}

/* Data Flow Screen */
.data-flow {
    background: #0a0a0a;
    color: #00d4ff;
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    overflow: hidden;
}

.data-flow::before {
    content: "DATA ANALYTICS";
    white-space: pre-line;
}

/* System Stats Screen */
.system-stats {
    background: #0a0a0a;
    color: #ffaa00;
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    overflow: hidden;
}

.system-stats::before {
    content: "SYSTEM METRICS";
    white-space: pre-line;
    animation: statsFlicker 2.5s infinite;
}

@keyframes statsFlicker {
    0%, 95% { opacity: 1; }
    97% { opacity: 0.8; }
    100% { opacity: 1; }
}

/* Traffic Analysis Screen */
.traffic-analysis {
    background: #0a0a0a;
    color: #ff8800;
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    overflow: hidden;
}

.traffic-analysis::before {
    content: "TRAFFIC MONITOR";
    white-space: pre-line;
    animation: trafficUpdate 1.8s infinite;
}

@keyframes trafficUpdate {
    0%, 70% { opacity: 1; }
    80% { opacity: 0.9; }
    90% { opacity: 0.95; }
    100% { opacity: 1; }
}

/* Threat Detection Screen */
.threat-detection {
    background: #0a0a0a;
    color: #ff4444;
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    overflow: hidden;
}

.threat-detection::before {
    content: "THREAT DETECTION";
    white-space: pre-line;
    animation: threatScan 3s infinite;
}

@keyframes threatScan {
    0%, 100% { color: #ff4444; }
    30% { color: #ffaa44; }
    60% { color: #ff4444; }
}

.ambient-lighting {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    animation: ambientPulse 4s infinite ease-in-out;
}

@keyframes ambientPulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scaleX(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scaleX(1.2); }
}

/* Special style for long service titles */
.service-card h3.long-title {
    font-size: 1.4rem;
    line-height: 1.2;
}

.verification-checkbox:hover .checkmark {
    border-color: #43d8ff;
    background: rgba(67, 216, 255, 0.1);
}

/* Instagram placeholder */
.instagram-placeholder {
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 600px) {
  .process-steps {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.5rem !important;
  }
  .step {
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 24px 0 !important;
  }
}

/* RTL Text Direction */
[dir="rtl"] h4,
.rtl-mode h4 {
    text-align: right;
    direction: rtl;
}

/* Hebrew Language Specific */
html[lang="he"] .contact-item {
    text-align: right;
    direction: rtl;
}

/* RTL Global Override */
@media screen {
    [dir="rtl"] .contact-item h4,
    .rtl-mode .contact-item h4 {
        text-align: right;
        direction: rtl;
    }
}

/* DESKTOP VIEWPORT FIX - ENSURE PROPER HEIGHT ON PC */
@media screen and (min-width: 769px) {
    .offcanvas-menu {
        height: 100vh !important; /* Standard viewport height for desktop */
        max-height: none !important; /* Remove mobile restrictions */
    }
    
    /* Ensure body works properly on desktop */
    body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    html {
        height: auto !important; /* Let content determine height */
    }
}

/* MOBILE VIEWPORT FIX - PREVENT CONTENT CLIPPING */
@media screen and (max-width: 768px) {
    .offcanvas-menu {
        height: 100dvh !important; /* Dynamic viewport height for mobile */
        min-height: 100vh !important; /* Fallback */
    }
    
    /* Ensure body doesn't overflow on mobile */
    body {
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    /* Fix for mobile Chrome address bar hiding */
    html {
        height: 100%;
        height: 100dvh;
    }
}

/* HEBREW STATISTICS NUMBERS - PREVENT RTL FLIP */
.rtl-mode .stat-number,
html[lang="he"] .stat-number,
html[dir="rtl"] .stat-number {
    direction: ltr !important;
    text-align: center !important;
    unicode-bidi: normal !important;
}

/* Fix for service pages RTL numbers without data-number */
.rtl-mode .stat-number,
html[lang="he"] .stat-number,
body.rtl-mode .stat-number {
    direction: ltr !important;
    text-align: center !important;
    unicode-bidi: normal !important;
}

/* Ensure numbers with plus display correctly in Hebrew */
.rtl-mode .stat-number[data-number="10"],
.rtl-mode .stat-number[data-number="30"],
html[lang="he"] .stat-number[data-number="10"],
html[lang="he"] .stat-number[data-number="30"],
html[dir="rtl"] .stat-number[data-number="10"],
html[dir="rtl"] .stat-number[data-number="30"] {
    direction: ltr !important;
    display: inline-block !important;
    text-align: center !important;
}/* Fixed hamburger for mobile */
.fixed-hamburger {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(15,20,25,0.95);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.fixed-hamburger:hover {
  background: rgba(0,212,255,0.2);
  border-color: rgba(0, 212, 255, 0.5);
  transform: scale(1.05);
}

.fixed-hamburger i {
  font-size: 18px;
  color: #00d4ff;
  transition: all 0.3s ease;
}

.fixed-hamburger:hover i {
  color: #ffffff;
}

.fixed-hamburger.active i {
  transform: rotate(90deg);
  color: #ff6b6b;
}

/* Overlay */
.menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Off-canvas menu */
.offcanvas-menu {
  position: fixed;
  top: 0; right: -320px;
  width: 320px;
  height: 100vh;
  background: #10151c;
  z-index: 3001;
  box-shadow: -4px 0 24px rgba(0,0,0,0.18);
  display: flex;
  flex-direction: column;
  padding: 40px 24px 24px 24px;
  transition: right 0.35s cubic-bezier(.77,0,.18,1);
}
.offcanvas-menu.active {
  right: 0;
}

.offcanvas-menu .menu-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}
.offcanvas-menu .menu-nav a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.offcanvas-menu .menu-nav a:hover {
  color: #00d4ff;
}

/* Languages inside menu */
.offcanvas-menu .menu-langs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  justify-content: flex-start;
}
.offcanvas-menu .lang-btn {
  min-width: 48px;
  height: 44px;
  font-size: 1.3rem;
  border-radius: 10px;
  border: 2px solid #00d4ff;
  background: #181f29;
  color: #fff;
  transition: background 0.2s, border 0.2s;
}
.offcanvas-menu .lang-btn.active,
.offcanvas-menu .lang-btn:hover {
  background: #00d4ff;
  color: #10151c;
  border-color: #fff;
}

/* Mobile navigation fixes */
@media (max-width: 900px) {
    .hamburger {
        display: none !important;
    }
    
    .fixed-hamburger {
        display: flex !important;
    }
    
    .nav-menu {
        display: none;
    }
}

/* ===== ФИНАЛЬНЫЕ RTL СТИЛИ ДЛЯ КОНТАКТОВ - МАКСИМАЛЬНЫЙ ПРИОРИТЕТ ===== */
/* Иконка в самом правом краю, текст слева только в RTL режиме (иврит) */
html[lang="he"] .contact-item,
html[dir="rtl"] .contact-item,
body[dir="rtl"] .contact-item,
.rtl-mode .contact-item {
    flex-direction: row !important;
    direction: rtl !important;
    justify-content: space-between !important;
}

/* Текст в RTL - слева, заполняет пространство */
html[lang="he"] .contact-item > div,
html[dir="rtl"] .contact-item > div,
body[dir="rtl"] .contact-item > div,
.rtl-mode .contact-item > div {
    order: 2 !important;
    text-align: right !important;
    direction: rtl !important;
    flex-grow: 1 !important;
    margin-left: 0 !important;
    margin-right: 1.5rem !important;
}

/* Иконка в RTL - в самом правом краю */
html[lang="he"] .contact-item > i,
html[dir="rtl"] .contact-item > i,
body[dir="rtl"] .contact-item > i,
.rtl-mode .contact-item > i {
    order: 2 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex-shrink: 0 !important;
}

/* ===== FORCE LTR FOR MAIN PAGE FORM INPUTS ===== */
/* Принудительно LTR для всех полей ввода в контактной форме на главной странице */
.contact-form input,
.contact-form textarea,
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form input[type="password"],
.contact-form textarea[name="message"] {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
}

/* Принудительно LTR для placeholder на главной странице */
.contact-form input::placeholder,
.contact-form textarea::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* Принудительно LTR для всех языков на главной странице */
html[lang="he"] .contact-form input,
html[lang="he"] .contact-form textarea,
html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea,
body.rtl-mode .contact-form input,
body.rtl-mode .contact-form textarea {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
}

/* Принудительно LTR для placeholder во всех языках на главной странице */
html[lang="he"] .contact-form input::placeholder,
html[lang="he"] .contact-form textarea::placeholder,
html[dir="rtl"] .contact-form input::placeholder,
html[dir="rtl"] .contact-form textarea::placeholder,
body.rtl-mode .contact-form input::placeholder,
body.rtl-mode .contact-form textarea::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* ===== SPECIAL FIX FOR MAIN PAGE CONTACT FORM ===== */
/* Принудительно исправляем зеркальный текст в форме контактов на главной странице */
.contact-form input,
.contact-form textarea,
.contact-form select,
#contactForm input,
#contactForm textarea,
#contactForm select {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* Исправление для placeholder в форме контактов */
.contact-form input::placeholder,
.contact-form textarea::placeholder,
#contactForm input::placeholder,
#contactForm textarea::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* Исправление для всех языков и RTL режимов в форме контактов */
html[lang="he"] .contact-form input,
html[lang="he"] .contact-form textarea,
html[lang="he"] .contact-form select,
html[lang="he"] #contactForm input,
html[lang="he"] #contactForm textarea,
html[lang="he"] #contactForm select,
html[dir="rtl"] .contact-form input,
html[dir="rtl"] .contact-form textarea,
html[dir="rtl"] .contact-form select,
html[dir="rtl"] #contactForm input,
html[dir="rtl"] #contactForm textarea,
html[dir="rtl"] #contactForm select,
body.rtl-mode .contact-form input,
body.rtl-mode .contact-form textarea,
body.rtl-mode .contact-form select,
body.rtl-mode #contactForm input,
body.rtl-mode #contactForm textarea,
body.rtl-mode #contactForm select {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
}

/* Исправление для placeholder во всех языках в форме контактов */
html[lang="he"] .contact-form input::placeholder,
html[lang="he"] .contact-form textarea::placeholder,
html[lang="he"] #contactForm input::placeholder,
html[lang="he"] #contactForm textarea::placeholder,
html[dir="rtl"] .contact-form input::placeholder,
html[dir="rtl"] .contact-form textarea::placeholder,
html[dir="rtl"] #contactForm input::placeholder,
html[dir="rtl"] #contactForm textarea::placeholder,
body.rtl-mode .contact-form input::placeholder,
body.rtl-mode .contact-form textarea::placeholder,
body.rtl-mode #contactForm input::placeholder,
body.rtl-mode #contactForm textarea::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
}

/* Специальное исправление для мобильных устройств в форме контактов */
@media (max-width: 768px) {
    .contact-form input,
    .contact-form textarea,
    .contact-form select,
    #contactForm input,
    #contactForm textarea,
    #contactForm select {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        -webkit-text-orientation: mixed !important;
        -moz-text-orientation: mixed !important;
    }
    
    .contact-form input::placeholder,
    .contact-form textarea::placeholder,
    #contactForm input::placeholder,
    #contactForm textarea::placeholder {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
    }
}

/* Дополнительное исправление для iOS Safari в форме контактов */
@supports (-webkit-touch-callout: none) {
    .contact-form input,
    .contact-form textarea,
    .contact-form select,
    #contactForm input,
    #contactForm textarea,
    #contactForm select {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        -webkit-text-orientation: mixed !important;
    }
}

/* ===== ULTRA AGGRESSIVE FIX FOR MAIN PAGE CONTACT FORM ===== */
/* Принудительно исправляем зеркальный текст в форме контактов на главной странице */
/* Используем максимальную специфичность и приоритет */
body .contact-form input,
body .contact-form textarea,
body .contact-form select,
body #contactForm input,
body #contactForm textarea,
body #contactForm select,
html body .contact-form input,
html body .contact-form textarea,
html body .contact-form select,
html body #contactForm input,
html body #contactForm textarea,
html body #contactForm select {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    -webkit-text-orientation: mixed !important;
    -moz-text-orientation: mixed !important;
    -ms-text-orientation: mixed !important;
    text-orientation: mixed !important;
}

/* Принудительное исправление для всех атрибутов */
body .contact-form input[type="text"],
body .contact-form input[type="email"],
body .contact-form input[type="tel"],
body .contact-form input[type="password"],
body .contact-form input[type="number"],
body #contactForm input[type="text"],
body #contactForm input[type="email"],
body #contactForm input[type="tel"],
body #contactForm input[type="password"],
body #contactForm input[type="number"] {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    -webkit-text-orientation: mixed !important;
    -moz-text-orientation: mixed !important;
    -ms-text-orientation: mixed !important;
}

/* Исправление для placeholder с максимальной специфичностью */
body .contact-form input::placeholder,
body .contact-form textarea::placeholder,
body #contactForm input::placeholder,
body #contactForm textarea::placeholder,
html body .contact-form input::placeholder,
html body .contact-form textarea::placeholder,
html body #contactForm input::placeholder,
html body #contactForm textarea::placeholder {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    -webkit-text-orientation: mixed !important;
    -moz-text-orientation: mixed !important;
    -ms-text-orientation: mixed !important;
}

/* Принудительное исправление для всех языков и RTL режимов */
html[lang="he"] body .contact-form input,
html[lang="he"] body .contact-form textarea,
html[lang="he"] body .contact-form select,
html[lang="he"] body #contactForm input,
html[lang="he"] body #contactForm textarea,
html[lang="he"] body #contactForm select,
html[dir="rtl"] body .contact-form input,
html[dir="rtl"] body .contact-form textarea,
html[dir="rtl"] body .contact-form select,
html[dir="rtl"] body #contactForm input,
html[dir="rtl"] body #contactForm textarea,
html[dir="rtl"] body #contactForm select,
body.rtl-mode .contact-form input,
body.rtl-mode .contact-form textarea,
body.rtl-mode .contact-form select,
body.rtl-mode #contactForm input,
body.rtl-mode #contactForm textarea,
body.rtl-mode #contactForm select {
    direction: ltr !important;
    text-align: left !important;
    unicode-bidi: embed !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    -webkit-text-orientation: mixed !important;
    -moz-text-orientation: mixed !important;
    -ms-text-orientation: mixed !important;
}

/* Специальное исправление для мобильных устройств с максимальным приоритетом */
@media (max-width: 768px) {
    body .contact-form input,
    body .contact-form textarea,
    body .contact-form select,
    body #contactForm input,
    body #contactForm textarea,
    body #contactForm select,
    html body .contact-form input,
    html body .contact-form textarea,
    html body .contact-form select,
    html body #contactForm input,
    html body #contactForm textarea,
    html body #contactForm select {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        -webkit-text-orientation: mixed !important;
        -moz-text-orientation: mixed !important;
        -ms-text-orientation: mixed !important;
        transform: none !important;
        -webkit-transform: none !important;
        -moz-transform: none !important;
        -ms-transform: none !important;
    }
    
    body .contact-form input::placeholder,
    body .contact-form textarea::placeholder,
    body #contactForm input::placeholder,
    body #contactForm textarea::placeholder {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
        -webkit-text-orientation: mixed !important;
        -moz-text-orientation: mixed !important;
        -ms-text-orientation: mixed !important;
    }
}

/* Дополнительное исправление для iOS Safari с максимальным приоритетом */
@supports (-webkit-touch-callout: none) {
    body .contact-form input,
    body .contact-form textarea,
    body .contact-form select,
    body #contactForm input,
    body #contactForm textarea,
    body #contactForm select {
        direction: ltr !important;
        text-align: left !important;
        unicode-bidi: embed !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        -webkit-text-orientation: mixed !important;
        -webkit-writing-mode: horizontal-tb !important;
        -webkit-unicode-bidi: embed !important;
    }
}
