/* Language Switcher */
.language-switcher {
    background: var(--primary);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.lang-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
}

.lang-btn {
    padding: 0.25rem 0.75rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Professional IT Company Landing Page - Multi-language Support */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    /* Professional Color Palette - Microsoft Inspired */
    --primary: hsl(206, 100%, 16%);
    --primary-light: hsl(206, 60%, 55%);
    --primary-dark: hsl(206, 100%, 12%);
    
    --secondary: hsl(210, 15%, 96%);
    --accent: hsl(206, 100%, 50%);
    --accent-light: hsl(206, 70%, 85%);
    
    --background: hsl(0, 0%, 100%);
    --background-muted: hsl(210, 15%, 97%);
    --foreground: hsl(220, 15%, 25%);
    --text-secondary: hsl(215, 15%, 45%);
    --text-muted: hsl(215, 10%, 65%);
    
    --border: hsl(215, 15%, 90%);
    --card: hsl(0, 0%, 100%);
    
    /* Professional gradients */
    --gradient-primary: linear-gradient(135deg, hsl(206, 100%, 16%) 0%, hsl(210, 100%, 35%) 100%);
    --gradient-accent: linear-gradient(90deg, hsl(206, 100%, 50%) 0%, hsl(210, 100%, 35%) 100%);
    --gradient-hero: linear-gradient(135deg, hsl(206, 10%, 98%) 0%, hsl(210, 15%, 99%) 100%);
    
    /* Professional shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 50, 100, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 50, 100, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 50, 100, 0.15);
    --shadow-card: 0 4px 20px 0 rgba(0, 50, 100, 0.08);
    
    --radius: 0.75rem;
}

body {
    font-family: 'Assistant', sans-serif;
    background: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Hebrew RTL Support */
html[lang="he"] body {
    direction: rtl;
    text-align: right;
}

/* English LTR Support */
html[lang="en"] body {
    direction: ltr;
    text-align: left;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

/* Typography */
.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 100px;
}

/* Hero Background Video */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 3;
}

/* Hero Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 2;
}

.hero-content {
    width: 100%;
}

/* Hero Header */
.company-logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-direction: row-reverse;
}

.logo {
    height: 6.25rem;
    width: auto;
}

.company-name{
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1.5625rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Hero Grid */
.hero-grid {
    display: flex;
    align-items: center;
    margin-top: 2.5rem;
    width: 100%;
}

.hero-text {
    flex: 1;
    max-width: 100%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.subtitle {
    color: var(--primary);
    display: block;
    margin-top: 0.5rem;
}

.hero-description{
    font-size: 20px;
    color: hsl(206, 100%, 16%);
    margin-bottom: 2rem;
    line-height: 30px;
    font-weight: 700;
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
    font-weight: 600;
}

.feature i {
    color: var(--accent);
    width: 1.25rem;
    height: 1.25rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: inherit;
}

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

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

.btn-secondary {
    background: var(--card);
    color: var(--primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    justify-content: center;
}

/* Services Section */
.services {
    padding: 50px 0;
    background: var(--background-muted);
    width: 100%;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 37.5rem;
    margin: 0 auto;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.service-card {
    flex: 1;
    min-width: 20rem;
    max-width: 25rem;
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(1.25rem);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--accent);
    background: linear-gradient(145deg, var(--card) 0%, var(--accent-light) 100%);
}

.service-icon {
    width: 3.75rem;
    height: 3.75rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

/* Hebrew RTL list styling */
html[lang="he"] .service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-right: 1rem;
    position: relative;
}

html[lang="he"] .service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: bold;
}

/* English LTR list styling */
html[lang="en"] .service-features li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

html[lang="en"] .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--primary);
    color: white;
    width: 100%;
}

.stats-header {
    text-align: center;
    margin-bottom: 3rem;
}

.stats-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.stats-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 37.5rem;
    margin: 0 auto;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.stat-item {
    flex: 1;
    min-width: 17.5rem;
    max-width: 21.875rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(1.25rem);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-0.3125rem);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 5rem;
    height: 5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-light);
    margin: 0 auto 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-content .stat-number {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem;
    color: white;
    line-height: 1;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.stat-content .stat-label {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: var(--accent-light);
    margin-bottom: 0.75rem;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

.stat-description {
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Contact Section */
.contact {
    padding: 3rem 0;
    background: var(--background-muted);
    width: 100%;
}

.contact-content {
    display: flex;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.contact-info p {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 18px;
    font-weight: 700;
}

.contact-description {
    color: var(--primary);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 18px;
    font-weight: 700;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 1;
    transition: all 0.6s ease;
    background: #FFF;
    padding: 10px;
    width: fit-content;
    min-width: 50%;
}

/* Hebrew RTL contact method */
html[lang="he"] .contact-method {
    transform: translateX(0);
}

html[lang="he"] .contact-method.animate {
    transform: translateX(0);
}

/* English LTR contact method */
html[lang="en"] .contact-method {
    transform: translateX(0);
}

html[lang="en"] .contact-method.animate {
    transform: translateX(0);
}

.contact-method i {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.contact-method h4 {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.125rem;
    font-size: 18px;
}

.contact-method p {
    color: var(--primary);
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

/* Contact Form */
.contact-form-container {
    flex: 1;
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    max-width: 31.25rem;
    box-sizing: border-box;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--background);
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 0.1875rem rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 5rem;
    max-height: 7.5rem;
}

/* Footer */
.footer {
    background: var(--primary);
    color: white;
    padding: 1.25rem 0;
    text-align: center;
    width: 100%;
}

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

/* Hebrew RTL footer */
html[lang="he"] .footer-content {
    flex-direction: row-reverse;
}

/* English LTR footer */
html[lang="en"] .footer-content {
    flex-direction: row;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
}

.footer-logo img {
    height: 4.6875rem;
    width: auto;
    filter: brightness(0) invert(1);
    -webkit-filter: brightness(0) invert(1);
}
.hero-header {
    padding-bottom: 15px;
}
/* Responsive Design */
@media (max-width: 48rem) {
    .hero {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-header {
        margin-bottom: 1.25rem;
    }
    
    .company-logo {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        min-width: 12.5rem;
    }
    
    .services-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .service-card {
        max-width: 100%;
    }
    
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        max-width: 100%;
    }
    
    .stat-content .stat-number {
        font-size: 1.75rem !important;
        min-height: 2rem;
        width: 100%;
        text-align: center;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-form-container {
        max-width: 100%;
        padding: 1.5rem;
        margin: 0;
        width: 100%;
        overflow: hidden;
    }
    
    .contact-form {
        width: 100%;
        max-width: 100%;
    }
    
    .form-group {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
    }
    
    .contact-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .lang-buttons {
        justify-content: center;
    }
}

@media (max-width: 30rem) {
    .stats-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .stat-content .stat-number {
        font-size: 1.5rem !important;
        min-height: 1.75rem;
        width: 100%;
        text-align: center;
    }
    
    .contact-form-container {
        padding: 1rem;
        margin: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .contact-info {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .contact-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}