/**
 * World Kosher - Modern Theme CSS
 * עיצוב מודרני ואחיד לכל עמודי האתר
 */

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

:root {
    /* Brand Colors */
    --wk-primary: #1e3a8a;
    --wk-primary-dark: #1e40af;
    --wk-primary-light: #3b82f6;
    --wk-accent: #c9a227;
    --wk-accent-light: #f59e0b;
    
    /* Semantic Colors */
    --wk-success: #10b981;
    --wk-success-light: #d1fae5;
    --wk-warning: #f59e0b;
    --wk-warning-light: #fef3c7;
    --wk-error: #ef4444;
    --wk-error-light: #fee2e2;
    --wk-info: #3b82f6;
    --wk-info-light: #dbeafe;
    
    /* Neutrals */
    --wk-white: #ffffff;
    --wk-gray-50: #f8fafc;
    --wk-gray-100: #f1f5f9;
    --wk-gray-200: #e2e8f0;
    --wk-gray-300: #cbd5e1;
    --wk-gray-400: #94a3b8;
    --wk-gray-500: #64748b;
    --wk-gray-600: #475569;
    --wk-gray-700: #334155;
    --wk-gray-800: #1e293b;
    --wk-gray-900: #0f172a;
    
    /* Text */
    --wk-text-primary: #1e293b;
    --wk-text-secondary: #64748b;
    --wk-text-muted: #94a3b8;
    
    /* Typography */
    --wk-font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --wk-font-size-xs: 0.75rem;
    --wk-font-size-sm: 0.875rem;
    --wk-font-size-base: 1rem;
    --wk-font-size-lg: 1.125rem;
    --wk-font-size-xl: 1.25rem;
    --wk-font-size-2xl: 1.5rem;
    --wk-font-size-3xl: 1.875rem;
    --wk-font-size-4xl: 2.25rem;
    
    /* Spacing */
    --wk-space-1: 0.25rem;
    --wk-space-2: 0.5rem;
    --wk-space-3: 0.75rem;
    --wk-space-4: 1rem;
    --wk-space-5: 1.25rem;
    --wk-space-6: 1.5rem;
    --wk-space-8: 2rem;
    --wk-space-10: 2.5rem;
    --wk-space-12: 3rem;
    --wk-space-16: 4rem;
    --wk-space-20: 5rem;
    
    /* Border Radius */
    --wk-radius-sm: 0.375rem;
    --wk-radius-md: 0.5rem;
    --wk-radius-lg: 0.75rem;
    --wk-radius-xl: 1rem;
    --wk-radius-2xl: 1.5rem;
    --wk-radius-full: 9999px;
    
    /* Shadows */
    --wk-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --wk-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --wk-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --wk-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --wk-transition-fast: 150ms ease-in-out;
    --wk-transition-base: 250ms ease-in-out;
    --wk-transition-slow: 350ms ease-in-out;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--wk-font-family);
    font-size: var(--wk-font-size-base);
    line-height: 1.6;
    color: var(--wk-text-primary);
    background-color: var(--wk-gray-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   TOP BAR
   ======================================== */
.wk-top-bar {
    background: linear-gradient(135deg, var(--wk-primary) 0%, var(--wk-primary-dark) 100%);
    color: var(--wk-white);
    padding: var(--wk-space-2) 0;
    font-size: var(--wk-font-size-sm);
    position: sticky;
    top: 0;
    z-index: 1001;
    box-shadow: var(--wk-shadow-md);
}

.wk-top-bar .wk-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--wk-space-4);
}

.wk-top-bar a {
    color: var(--wk-white);
    text-decoration: none;
    transition: opacity var(--wk-transition-fast);
}

.wk-top-bar a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.wk-top-bar-left,
.wk-top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--wk-space-4);
}

/* Language Selector */
.wk-lang-selector {
    position: relative;
    cursor: pointer;
}

.wk-lang-selector select {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--wk-white);
    padding: var(--wk-space-1) var(--wk-space-3);
    border-radius: var(--wk-radius-md);
    font-size: var(--wk-font-size-sm);
    cursor: pointer;
    outline: none;
}

.wk-lang-selector select option {
    background: var(--wk-primary);
    color: var(--wk-white);
}

/* ========================================
   CONTAINER
   ======================================== */
.wk-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--wk-space-6);
}

@media (max-width: 768px) {
    .wk-container {
        padding: 0 var(--wk-space-4);
    }
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.wk-header {
    background: var(--wk-white);
    padding: var(--wk-space-4) 0;
    box-shadow: var(--wk-shadow-sm);
    position: sticky;
    top: 40px;
    z-index: 1000;
}

.wk-header .wk-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wk-logo {
    display: flex;
    align-items: center;
    gap: var(--wk-space-3);
    text-decoration: none;
    color: var(--wk-text-primary);
}

.wk-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.wk-logo-text {
    display: flex;
    flex-direction: column;
}

.wk-logo-title {
    font-size: var(--wk-font-size-xl);
    font-weight: 700;
    color: var(--wk-primary);
    line-height: 1.2;
}

.wk-logo-tagline {
    font-size: var(--wk-font-size-xs);
    color: var(--wk-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.wk-nav {
    display: flex;
    align-items: center;
    gap: var(--wk-space-4);
    flex-wrap: wrap;
    justify-content: center;
}

.wk-nav-link {
    color: var(--wk-text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--wk-font-size-sm);
    transition: color var(--wk-transition-fast);
    position: relative;
    white-space: nowrap;
}

.wk-nav-link:hover {
    color: var(--wk-primary);
}

.wk-nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--wk-accent);
    transition: width var(--wk-transition-base);
}

.wk-nav-link:hover::after {
    width: 100%;
}

.wk-nav-link.wk-active {
    color: var(--wk-primary);
}

.wk-nav-link.wk-active::after {
    width: 100%;
}

/* CTA Button in Nav */
.wk-nav-cta {
    background: linear-gradient(135deg, var(--wk-accent) 0%, var(--wk-accent-light) 100%);
    color: var(--wk-white) !important;
    padding: var(--wk-space-2) var(--wk-space-5);
    border-radius: var(--wk-radius-full);
    font-weight: 600;
    box-shadow: var(--wk-shadow-sm);
    transition: all var(--wk-transition-fast);
}

.wk-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: var(--wk-shadow-md);
}

.wk-nav-cta::after {
    display: none;
}

/* Mobile Menu Toggle */
.wk-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--wk-primary);
    font-size: var(--wk-font-size-2xl);
    cursor: pointer;
}

@media (max-width: 768px) {
    .wk-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--wk-white);
        flex-direction: column;
        padding: var(--wk-space-4);
        box-shadow: var(--wk-shadow-lg);
        gap: var(--wk-space-3);
    }
    
    .wk-nav.wk-open {
        display: flex;
    }
    
    .wk-menu-toggle {
        display: block;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.wk-hero {
    background: linear-gradient(135deg, var(--wk-primary) 0%, var(--wk-primary-dark) 50%, var(--wk-primary-light) 100%);
    color: var(--wk-white);
    padding: var(--wk-space-20) 0;
    position: relative;
    overflow: hidden;
}

.wk-hero::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 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.5;
}

.wk-hero .wk-container {
    position: relative;
    z-index: 1;
}

.wk-hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
}

.wk-hero h1 {
    font-size: var(--wk-font-size-4xl);
    font-weight: 800;
    margin-bottom: var(--wk-space-6);
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wk-hero p {
    font-size: var(--wk-font-size-xl);
    margin-bottom: var(--wk-space-8);
    opacity: 0.95;
    line-height: 1.6;
}

.wk-hero-actions {
    display: flex;
    gap: var(--wk-space-4);
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .wk-hero {
        padding: var(--wk-space-12) 0;
    }
    
    .wk-hero h1 {
        font-size: var(--wk-font-size-3xl);
    }
    
    .wk-hero p {
        font-size: var(--wk-font-size-lg);
    }
}

/* ========================================
   BUTTONS
   ======================================== */
.wk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--wk-space-2);
    padding: var(--wk-space-3) var(--wk-space-6);
    font-size: var(--wk-font-size-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--wk-radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--wk-transition-fast);
    box-shadow: var(--wk-shadow-sm);
}

.wk-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--wk-shadow-md);
}

.wk-btn:active {
    transform: translateY(0);
}

/* Button Variants */
.wk-btn-primary {
    background: linear-gradient(135deg, var(--wk-accent) 0%, var(--wk-accent-light) 100%);
    color: var(--wk-white);
}

.wk-btn-secondary {
    background: var(--wk-white);
    color: var(--wk-primary);
}

.wk-btn-outline {
    background: transparent;
    color: var(--wk-white);
    border: 2px solid var(--wk-white);
}

.wk-btn-outline:hover {
    background: var(--wk-white);
    color: var(--wk-primary);
}

.wk-btn-lg {
    padding: var(--wk-space-4) var(--wk-space-8);
    font-size: var(--wk-font-size-lg);
}

/* ========================================
   CARDS
   ======================================== */
.wk-card {
    background: var(--wk-white);
    border-radius: var(--wk-radius-xl);
    padding: var(--wk-space-8);
    box-shadow: var(--wk-shadow-md);
    transition: all var(--wk-transition-base);
    border: 1px solid var(--wk-gray-200);
}

.wk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wk-shadow-xl);
}

.wk-card-header {
    margin-bottom: var(--wk-space-4);
}

.wk-card-title {
    font-size: var(--wk-font-size-xl);
    font-weight: 700;
    color: var(--wk-text-primary);
    margin-bottom: var(--wk-space-2);
}

.wk-card-subtitle {
    font-size: var(--wk-font-size-sm);
    color: var(--wk-text-secondary);
}

.wk-card-body {
    color: var(--wk-text-secondary);
    line-height: 1.7;
}

.wk-card-footer {
    margin-top: var(--wk-space-6);
    padding-top: var(--wk-space-4);
    border-top: 1px solid var(--wk-gray-200);
}

/* Feature Card */
.wk-feature-card {
    background: var(--wk-white);
    border-radius: var(--wk-radius-xl);
    padding: var(--wk-space-8);
    box-shadow: var(--wk-shadow-md);
    text-align: center;
    transition: all var(--wk-transition-base);
    border: 1px solid var(--wk-gray-200);
}

.wk-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wk-shadow-xl);
    border-color: var(--wk-primary-light);
}

.wk-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--wk-info-light) 0%, var(--wk-white) 100%);
    border-radius: var(--wk-radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--wk-space-4);
    font-size: var(--wk-font-size-2xl);
    color: var(--wk-primary);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */
.wk-grid {
    display: grid;
    gap: var(--wk-space-6);
}

.wk-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.wk-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wk-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .wk-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .wk-grid-2,
    .wk-grid-3,
    .wk-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   TABLES
   ======================================== */
.wk-table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--wk-font-size-sm);
}

.wk-table thead {
    background: var(--wk-gray-100);
}

.wk-table th {
    padding: var(--wk-space-4) var(--wk-space-6);
    text-align: left;
    font-weight: 600;
    color: var(--wk-text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: var(--wk-font-size-xs);
    border-bottom: 2px solid var(--wk-gray-200);
}

.wk-table td {
    padding: var(--wk-space-4) var(--wk-space-6);
    border-bottom: 1px solid var(--wk-gray-200);
    color: var(--wk-text-secondary);
}

.wk-table tbody tr {
    transition: background var(--wk-transition-fast);
}

.wk-table tbody tr:hover {
    background: var(--wk-gray-50);
}

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

.wk-table a {
    color: var(--wk-primary);
    text-decoration: none;
    font-weight: 500;
}

.wk-table a:hover {
    text-decoration: underline;
}

/* Status badges in tables */
.wk-table .status-active {
    display: inline-flex;
    align-items: center;
    gap: var(--wk-space-1);
    background: var(--wk-success-light);
    color: #065f46;
    padding: var(--wk-space-1) var(--wk-space-3);
    border-radius: var(--wk-radius-full);
    font-size: var(--wk-font-size-xs);
    font-weight: 600;
}

.wk-table .status-expired {
    display: inline-flex;
    align-items: center;
    gap: var(--wk-space-1);
    background: var(--wk-error-light);
    color: #991b1b;
    padding: var(--wk-space-1) var(--wk-space-3);
    border-radius: var(--wk-radius-full);
    font-size: var(--wk-font-size-xs);
    font-weight: 600;
}

.wk-table .status-pending {
    display: inline-flex;
    align-items: center;
    gap: var(--wk-space-1);
    background: var(--wk-warning-light);
    color: #92400e;
    padding: var(--wk-space-1) var(--wk-space-3);
    border-radius: var(--wk-radius-full);
    font-size: var(--wk-font-size-xs);
    font-weight: 600;
}

@media (max-width: 768px) {
    .wk-table {
        font-size: var(--wk-font-size-xs);
    }
    
    .wk-table th,
    .wk-table td {
        padding: var(--wk-space-3) var(--wk-space-4);
    }
}

/* ========================================
   SECTIONS
   ======================================== */
.wk-section {
    padding: var(--wk-space-20) 0;
}

.wk-section-alt {
    background: var(--wk-gray-100);
}

.wk-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--wk-space-12);
}

.wk-section-label {
    display: inline-block;
    background: var(--wk-info-light);
    color: var(--wk-primary);
    padding: var(--wk-space-1) var(--wk-space-3);
    border-radius: var(--wk-radius-full);
    font-size: var(--wk-font-size-sm);
    font-weight: 600;
    margin-bottom: var(--wk-space-4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wk-section-title {
    font-size: var(--wk-font-size-3xl);
    font-weight: 800;
    color: var(--wk-text-primary);
    margin-bottom: var(--wk-space-4);
    line-height: 1.3;
}

.wk-section-subtitle {
    font-size: var(--wk-font-size-lg);
    color: var(--wk-text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .wk-section {
        padding: var(--wk-space-12) 0;
    }
    
    .wk-section-title {
        font-size: var(--wk-font-size-2xl);
    }
}

/* ========================================
   FORMS
   ======================================== */
.wk-form-group {
    margin-bottom: var(--wk-space-5);
}

.wk-form-label {
    display: block;
    font-size: var(--wk-font-size-sm);
    font-weight: 600;
    color: var(--wk-text-primary);
    margin-bottom: var(--wk-space-2);
}

.wk-form-input,
.wk-form-textarea,
.wk-form-select {
    width: 100%;
    padding: var(--wk-space-3) var(--wk-space-4);
    font-size: var(--wk-font-size-base);
    color: var(--wk-text-primary);
    background: var(--wk-white);
    border: 2px solid var(--wk-gray-200);
    border-radius: var(--wk-radius-lg);
    transition: all var(--wk-transition-fast);
    font-family: inherit;
}

.wk-form-input:focus,
.wk-form-textarea:focus,
.wk-form-select:focus {
    outline: none;
    border-color: var(--wk-primary-light);
    box-shadow: 0 0 0 3px var(--wk-info-light);
}

.wk-form-input::placeholder,
.wk-form-textarea::placeholder {
    color: var(--wk-text-muted);
}

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

/* ========================================
   ALERTS & MESSAGES
   ======================================== */
.wk-alert {
    padding: var(--wk-space-4) var(--wk-space-5);
    border-radius: var(--wk-radius-lg);
    font-size: var(--wk-font-size-sm);
    margin-bottom: var(--wk-space-4);
    display: flex;
    align-items: center;
    gap: var(--wk-space-3);
}

.wk-alert-success {
    background: var(--wk-success-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.wk-alert-warning {
    background: var(--wk-warning-light);
    color: #92400e;
    border: 1px solid #fde68a;
}

.wk-alert-error {
    background: var(--wk-error-light);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.wk-alert-info {
    background: var(--wk-info-light);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ========================================
   FOOTER
   ======================================== */
.wk-footer {
    background: var(--wk-gray-900);
    color: var(--wk-gray-400);
    padding: var(--wk-space-16) 0 var(--wk-space-8);
}

.wk-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--wk-space-10);
    margin-bottom: var(--wk-space-12);
}

@media (max-width: 1024px) {
    .wk-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .wk-footer-grid {
        grid-template-columns: 1fr;
    }
}

.wk-footer-brand {
    display: flex;
    align-items: center;
    gap: var(--wk-space-3);
    margin-bottom: var(--wk-space-4);
}

.wk-footer-brand img {
    width: 40px;
    height: 40px;
}

.wk-footer-brand span {
    font-size: var(--wk-font-size-lg);
    font-weight: 700;
    color: var(--wk-white);
}

.wk-footer-desc {
    font-size: var(--wk-font-size-sm);
    line-height: 1.7;
    margin-bottom: var(--wk-space-4);
}

.wk-footer-title {
    font-size: var(--wk-font-size-base);
    font-weight: 700;
    color: var(--wk-white);
    margin-bottom: var(--wk-space-4);
}

.wk-footer-links {
    list-style: none;
}

.wk-footer-links li {
    margin-bottom: var(--wk-space-2);
}

.wk-footer-links a {
    color: var(--wk-gray-400);
    text-decoration: none;
    font-size: var(--wk-font-size-sm);
    transition: color var(--wk-transition-fast);
}

.wk-footer-links a:hover {
    color: var(--wk-white);
}

.wk-footer-bottom {
    border-top: 1px solid var(--wk-gray-800);
    padding-top: var(--wk-space-6);
    text-align: center;
    font-size: var(--wk-font-size-sm);
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.wk-text-center { text-align: center; }
.wk-text-left { text-align: left; }
.wk-text-right { text-align: right; }

.wk-mb-0 { margin-bottom: 0; }
.wk-mb-1 { margin-bottom: var(--wk-space-1); }
.wk-mb-2 { margin-bottom: var(--wk-space-2); }
.wk-mb-3 { margin-bottom: var(--wk-space-3); }
.wk-mb-4 { margin-bottom: var(--wk-space-4); }
.wk-mb-5 { margin-bottom: var(--wk-space-5); }
.wk-mb-6 { margin-bottom: var(--wk-space-6); }
.wk-mb-8 { margin-bottom: var(--wk-space-8); }

.wk-mt-0 { margin-top: 0; }
.wk-mt-4 { margin-top: var(--wk-space-4); }
.wk-mt-6 { margin-top: var(--wk-space-6); }
.wk-mt-8 { margin-top: var(--wk-space-8); }

.wk-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   FORM MESSAGE UTILITIES (for solicitar-certificacao pages)
   ======================================== */
.wk-sol-msg {
    margin-top: var(--wk-space-4);
    padding: var(--wk-space-4);
    border-radius: var(--wk-radius-lg);
    font-size: var(--wk-font-size-sm);
    display: none;
}

.wk-sol-msg--ok {
    display: block;
    background: var(--wk-success-light);
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.wk-sol-msg--err {
    display: block;
    background: var(--wk-error-light);
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Skip link for accessibility */
.wk-sol-skip {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--wk-primary);
    color: var(--wk-white);
    padding: var(--wk-space-2) var(--wk-space-4);
    text-decoration: none;
    z-index: 1002;
    transition: top var(--wk-transition-fast);
}

.wk-sol-skip:focus {
    top: 0;
}

/* Honeypot field */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
}


/* ========================================
   HOMEPAGE & LEGACY CONTENT (ported from styles.css)
   ======================================== */
/* Skip Link - Accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    padding: 12px 24px;
    background: #1e3a8a;
    color: white;
    text-decoration: none;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.3s ease;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}
/* Language Selector */
.language-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 99999;
    display: none;
}

@media (max-width: 768px) {
    .language-dropdown {
        right: -20px;
        min-width: 180px;
    }
    
    .top-bar {
        font-size: 0.75rem;
        padding: 6px 0;
    }
    
    .top-bar-content {
        gap: 8px;
    }
    
    .top-bar-content > div:first-child span {
        font-size: 0.75rem;
    }
    
    .top-bar-content > div:first-child span:first-child {
        display: none; /* Hide phone on mobile */
    }
    
    .top-bar-right {
        gap: 8px;
    }
    
    .top-bar-right a {
        font-size: 0.75rem;
    }
}

.language-option {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f3f4f6;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-option:hover {
    background: #f3f4f6;
}

.language-option.active {
    background: #eff6ff;
}
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    will-change: opacity;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.8) 0%, rgba(59, 130, 246, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Companies Showcase */
.companies-showcase {
    background: #f8fafc;
    padding: 80px 20px;
    text-align: center;
}

.companies-showcase h2 {
    font-size: clamp(1.75rem, 4vw, var(--wk-font-size-4xl));
    color: var(--wk-text-primary);
    margin-bottom: var(--wk-space-4);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.companies-showcase p {
    font-size: var(--wk-font-size-lg);
    color: var(--wk-text-muted);
    margin-bottom: var(--wk-space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.companies-slider {
    margin-bottom: 40px;
}

.company-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.company-logo {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    min-width: 150px;
}

.company-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.company-logo img {
    width: 100px;
    height: 60px;
    object-fit: cover;
    margin-bottom: 10px;
}

.company-logo h4 {
    color: #1f2937;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.companies-cta {
    margin-top: 40px;
}

.btn-outline {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-outline:hover {
    background: #1e3a8a;
    color: white;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: var(--wk-space-8) var(--wk-space-4);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, var(--wk-font-size-4xl));
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--wk-space-6);
    text-shadow: 0 4px 20px rgba(0,0,0,0.2);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #fbbf24 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 8s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.hero .orange-text {
    color: #fbbf24;
    font-weight: 700;
    display: block;
    margin-top: var(--wk-space-2);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, var(--wk-font-size-xl));
    font-weight: 400;
    opacity: 0.95;
    margin-bottom: var(--wk-space-8);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    color: rgba(255,255,255,0.95);
}

/* Hebrew Hero Text */
[lang="he"] .hero h1,
.lang-he .hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    line-height: 1.3;
    letter-spacing: 0;
}

[lang="he"] .hero p,
.lang-he .hero p {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.7;
}

/* Stats - Modern Glassmorphism */
.stats {
    display: flex;
    gap: var(--wk-space-6);
    margin-bottom: var(--wk-space-12);
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: var(--wk-space-6) var(--wk-space-8);
    background: rgba(255,255,255,0.12);
    border-radius: var(--wk-radius-lg);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    min-width: 160px;
    transition: transform var(--wk-transition-base), background var(--wk-transition-base);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.18);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, var(--wk-font-size-4xl));
    font-weight: 800;
    color: #fbbf24;
    text-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    line-height: 1;
    margin-bottom: var(--wk-space-2);
}

.stat-label {
    font-size: var(--wk-font-size-sm);
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Hero Buttons - Modern Design */
.hero-buttons {
    display: flex;
    gap: var(--wk-space-4);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    padding: 18px 36px;
    border-radius: var(--wk-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--wk-font-size-lg);
    transition: all var(--wk-transition-base);
    box-shadow: var(--wk-shadow-md);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: var(--wk-space-2);
    position: relative;
    overflow: hidden;
}

.btn-primary::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.5s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}

.btn-primary:hover::before {
    left: 100%;
}

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

.btn-secondary {
    background: rgba(255,255,255,0.12);
    color: white;
    padding: 18px 36px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: var(--wk-radius-md);
    backdrop-filter: blur(10px);
    font-size: var(--wk-font-size-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--wk-transition-base);
    display: inline-flex;
    align-items: center;
    gap: var(--wk-space-2);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--wk-primary);
    border-color: white;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255,255,255,0.25);
}

/* Features Section - Modern Cards */
.features {
    padding: var(--wk-space-16) 20px;
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
}

.features h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, var(--wk-font-size-4xl));
    color: var(--wk-primary);
    margin-bottom: var(--wk-space-4);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.features-subtitle {
    text-align: center;
    font-size: var(--wk-font-size-lg);
    color: var(--wk-text-muted);
    margin-bottom: var(--wk-space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--wk-space-8);
    margin-bottom: var(--wk-space-12);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: white;
    padding: var(--wk-space-8) var(--wk-space-6);
    border-radius: var(--wk-radius-lg);
    box-shadow: var(--wk-shadow-md);
    text-align: center;
    transition: all var(--wk-transition-base);
    border: 1px solid var(--wk-gray-200);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wk-primary), var(--wk-accent-light));
    transform: scaleX(0);
    transition: transform var(--wk-transition-base);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--wk-shadow-xl);
    border-color: var(--wk-primary-light);
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: var(--wk-space-4);
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.feature-card h3 {
    color: var(--wk-primary);
    font-size: var(--wk-font-size-xl);
    font-weight: 600;
    margin-bottom: var(--wk-space-3);
}

.feature-card p {
    line-height: 1.7;
    color: var(--wk-text-secondary);
    font-size: var(--wk-font-size-base);
}

/* Industry and FAQ sections */
.industry-pages,
.faq-section {
    padding: var(--wk-space-16) 20px;
    background: #fff;
    text-align: center;
}

.faq-section {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto var(--wk-space-10, 2.5rem);
    color: var(--wk-text-muted);
    font-size: var(--wk-font-size-lg);
    line-height: 1.7;
}

.industry-pages h2,
.faq-section h2 {
    font-size: clamp(1.75rem, 4vw, var(--wk-font-size-4xl));
    color: var(--wk-primary);
    margin-bottom: var(--wk-space-4);
    font-weight: 700;
}

.industry-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--wk-space-6);
    max-width: 1100px;
    margin: 0 auto;
}

.industry-card,
.faq-item {
    background: white;
    border: 1px solid var(--wk-gray-200);
    border-radius: var(--wk-radius-lg);
    box-shadow: var(--wk-shadow-md);
    padding: var(--wk-space-6);
    text-align: right;
}

.industry-card {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform var(--wk-transition-base), box-shadow var(--wk-transition-base), border-color var(--wk-transition-base);
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--wk-shadow-xl);
    border-color: var(--wk-accent-light);
}

.industry-card span {
    display: block;
    font-size: 2.4rem;
    margin-bottom: var(--wk-space-3);
}

.industry-card h3,
.faq-item summary {
    color: var(--wk-primary);
    font-weight: 700;
    font-size: var(--wk-font-size-lg);
    margin-bottom: var(--wk-space-2);
}

.industry-card p,
.faq-item p {
    color: var(--wk-text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-item summary {
    cursor: pointer;
    list-style-position: inside;
}

.faq-item p {
    padding-top: var(--wk-space-3);
}

/* CTA Section - Modern Gradient */
.cta-section {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #059669 100%);
    color: white;
    padding: var(--wk-space-16) 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

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

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, var(--wk-font-size-4xl));
    margin-bottom: var(--wk-space-4);
    color: white;
    font-weight: 700;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: var(--wk-font-size-lg);
    margin-bottom: var(--wk-space-8);
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: var(--wk-space-4);
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* Team Section - Modern Cards */
.team-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: var(--wk-space-16) 20px;
    text-align: center;
}

.team-section h2 {
    font-size: clamp(1.75rem, 4vw, var(--wk-font-size-4xl));
    color: var(--wk-primary);
    margin-bottom: var(--wk-space-4);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.team-subtitle {
    font-size: var(--wk-font-size-lg);
    color: var(--wk-text-muted);
    margin-bottom: var(--wk-space-12);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--wk-space-8);
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: var(--wk-space-8) var(--wk-space-6);
    border-radius: var(--wk-radius-lg);
    box-shadow: var(--wk-shadow-md);
    text-align: center;
    transition: all var(--wk-transition-base);
    border: 1px solid var(--wk-gray-200);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--wk-shadow-xl);
    border-color: var(--wk-primary-light);
}

.team-icon {
    font-size: 4rem;
    margin-bottom: var(--wk-space-4);
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.team-card h3 {
    color: var(--wk-primary);
    font-size: var(--wk-font-size-xl);
    margin-bottom: var(--wk-space-2);
    font-weight: 600;
}

.team-card .role {
    color: var(--wk-accent-light);
    font-size: var(--wk-font-size-base);
    font-weight: 600;
    margin-bottom: var(--wk-space-4);
}

.team-card p {
    line-height: 1.7;
    color: var(--wk-text-secondary);
    font-size: var(--wk-font-size-base);
}

/* Leading Rabbis Section - Premium Cards */
.leading-rabbis-section {
    background: white;
    padding: var(--wk-space-16) 20px;
}

.leading-rabbis-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, var(--wk-font-size-4xl));
    color: var(--wk-primary);
    margin-bottom: var(--wk-space-4);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.rabbis-subtitle {
    text-align: center;
    font-size: var(--wk-font-size-lg);
    color: var(--wk-text-muted);
    margin-bottom: var(--wk-space-12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.rabbis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--wk-space-8);
    margin-bottom: var(--wk-space-12);
}

.rabbi-card {
    background: white;
    border-radius: var(--wk-radius-xl);
    overflow: hidden;
    box-shadow: var(--wk-shadow-lg);
    transition: all var(--wk-transition-base);
    border: 1px solid var(--wk-gray-200);
    position: relative;
}

.rabbi-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wk-primary), var(--wk-accent-light));
    transform: scaleX(0);
    transition: transform var(--wk-transition-base);
}

.rabbi-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--wk-shadow-xl);
}

.rabbi-card:hover::after {
    transform: scaleX(1);
}

.rabbi-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.rabbi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.rabbi-card:hover .rabbi-image img {
    transform: scale(1.05);
}

.rabbi-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(30, 58, 138, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.rabbi-info {
    padding: var(--wk-space-6);
}

.rabbi-info h3 {
    color: var(--wk-primary);
    font-size: var(--wk-font-size-2xl);
    margin-bottom: var(--wk-space-2);
    font-weight: 700;
}

.rabbi-title {
    color: var(--wk-accent-light);
    font-size: var(--wk-font-size-lg);
    font-weight: 600;
    margin-bottom: var(--wk-space-4);
}

.rabbi-credentials {
    display: flex;
    flex-direction: column;
    gap: var(--wk-space-1);
    margin-bottom: var(--wk-space-4);
}

.rabbi-credentials span {
    color: var(--wk-text-muted);
    font-size: var(--wk-font-size-sm);
    font-weight: 500;
}

.rabbi-info p {
    color: var(--wk-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--wk-space-4);
    text-align: left;
    font-size: var(--wk-font-size-base);
}

.rabbi-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--wk-primary);
    padding: 6px 14px;
    border-radius: var(--wk-radius-full);
    font-size: var(--wk-font-size-xs);
    font-weight: 600;
    border: 1px solid #bfdbfe;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.rabbis-certification {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    padding: var(--wk-space-8);
    border-radius: var(--wk-radius-lg);
    text-align: center;
    border: 1px solid var(--wk-gray-200);
}

.rabbis-certification h3 {
    color: var(--wk-primary);
    font-size: var(--wk-font-size-2xl);
    margin-bottom: var(--wk-space-6);
    font-weight: 600;
}

.certification-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-width: 150px;
}

.cert-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.cert-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cert-item span {
    color: #374151;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

/* Footer - Modern Dark Theme */
.footer {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: white;
    padding: var(--wk-space-12) 20px var(--wk-space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--wk-space-8);
    margin-bottom: var(--wk-space-8);
}

.footer-section h3 {
    color: #fbbf24;
    margin-bottom: var(--wk-space-4);
    font-size: var(--wk-font-size-xl);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.footer-section h4 {
    color: #e5e7eb;
    margin-bottom: var(--wk-space-3);
    font-size: var(--wk-font-size-lg);
    font-weight: 600;
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--wk-space-4);
    line-height: 1.7;
    font-size: var(--wk-font-size-base);
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: var(--wk-space-2);
}

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all var(--wk-transition-fast);
    font-size: var(--wk-font-size-sm);
    font-weight: 500;
    display: inline-block;
    padding: var(--wk-space-1) 0;
}

.footer-nav a:hover {
    color: #fbbf24;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: var(--wk-space-3);
    margin-top: var(--wk-space-4);
}

.social-links a {
    font-size: 1.5rem;
    transition: all var(--wk-transition-base);
    color: rgba(255,255,255,0.7);
}

.social-links a:hover {
    transform: scale(1.15) rotate(5deg);
    color: #fbbf24;
}

.contact-info p {
    margin-bottom: var(--wk-space-3);
    font-size: var(--wk-font-size-sm);
}

.contact-info a {
    color: #fbbf24;
    text-decoration: none;
    font-weight: 500;
    transition: all var(--wk-transition-fast);
}

.contact-info a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--wk-space-6);
    margin-top: var(--wk-space-8);
    flex-wrap: wrap;
    gap: var(--wk-space-4);
}

.footer-bottom-left p {
    color: rgba(255,255,255,0.5);
    font-size: var(--wk-font-size-sm);
    margin: 0;
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: var(--wk-space-3);
}

.footer-bottom-right a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: var(--wk-font-size-sm);
    transition: color var(--wk-transition-fast);
}

.footer-bottom-right a:hover {
    color: #fbbf24;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .main-header {
        position: relative;
        top: 0;
    }
    
    .language-dropdown {
        right: -20px;
        min-width: 180px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .companies-showcase h2 {
        font-size: 2rem;
    }
    
    .company-logos {
        gap: 20px;
    }
    
    .company-logo {
        min-width: 120px;
    }
    
    .company-logo img {
        width: 80px;
        height: 50px;
    }
    
    .stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .rabbis-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .rabbi-image {
        height: 200px;
    }
    
    .certification-logos {
        gap: 20px;
    }
    
    .cert-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .cert-item img {
        width: 40px;
        height: 40px;
    }
    
    .rabbi-specialties {
        justify-content: center;
    }
}

/* Hebrew-only: Chief Rabbinate / import clarification (toggled by html[lang="he"]) */
.lang-only-he {
    display: none;
}
html[lang="he"] .lang-only-he {
    display: block;
}
.he-rabbinate-block {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-top: 1px solid #cbd5e1;
    border-bottom: 1px solid #cbd5e1;
    padding: 2rem 0;
    margin: 0;
}
.he-rabbinate-block .container {
    max-width: 900px;
}
.he-rabbinate-block h2 {
    color: #0f172a;
    font-size: 1.35rem;
    margin: 0 0 1rem;
    line-height: 1.35;
}
.he-rabbinate-block p {
    color: #334155;
    line-height: 1.65;
    margin: 0 0 1rem;
    font-size: 1rem;
}
.he-rabbinate-disclaimer {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    color: #9a3412;
    font-size: 0.95rem;
}
.he-rabbinate-disclaimer strong {
    color: #7c2d12;
}
.he-il-links {
    padding: 1.25rem 0;
}
/* Hebrew Section - Enhanced RTL Design */
.he-rabbinate-block {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-top: 3px solid var(--wk-primary);
    border-bottom: 3px solid var(--wk-accent-light);
    padding: var(--wk-space-6) 0;
}

.he-il-links-lead {
    margin: 0 0 var(--wk-space-3);
    font-size: var(--wk-font-size-lg);
    font-weight: 500;
    text-align: center;
}

.he-il-links-lead a {
    color: var(--wk-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--wk-accent-light);
    padding-bottom: 2px;
    transition: all var(--wk-transition-fast);
}

.he-il-links-lead a:hover {
    color: var(--wk-primary-dark);
    border-bottom-width: 3px;
}

.he-il-links-row {
    margin: 0;
    font-size: var(--wk-font-size-base);
    text-align: center;
}

.he-il-btn {
    background: linear-gradient(135deg, var(--wk-primary) 0%, var(--wk-primary-light) 100%);
    color: white;
    font-weight: 600;
    font-size: var(--wk-font-size-sm);
    text-decoration: none;
    padding: 10px 20px;
    border-radius: var(--wk-radius-md);
    display: inline-block;
    transition: all var(--wk-transition-base);
    box-shadow: var(--wk-shadow-sm);
}

.he-il-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--wk-shadow-md);
    background: linear-gradient(135deg, var(--wk-primary-dark) 0%, var(--wk-primary) 100%);
}

.he-il-sep {
    margin: 0 var(--wk-space-3);
    color: var(--wk-text-muted);
    font-weight: 300;
}

/* RTL Specific Improvements */
[dir="rtl"] .hero-content,
[dir="rtl"] .companies-showcase,
[dir="rtl"] .features,
[dir="rtl"] .team-section,
[dir="rtl"] .cta-section {
    text-align: center;
}

[dir="rtl"] .feature-card,
[dir="rtl"] .team-card,
[dir="rtl"] .rabbi-card {
    text-align: center;
}

[dir="rtl"] .rabbi-info p {
    text-align: right;
}

/* Hebrew Typography Enhancements */
.lang-he, [lang="he"] {
    font-family: var('Heebo', var(--wk-font-family));
}

.lang-he h1, .lang-he h2, .lang-he h3,
[lang="he"] h1, [lang="he"] h2, [lang="he"] h3 {
    font-weight: 700;
    letter-spacing: 0;
}

.lang-he .hero h1, [lang="he"] .hero h1 {
    line-height: 1.3;
    font-size: clamp(2rem, 4.5vw, 3rem);
}

.lang-he .hero p, [lang="he"] .hero p {
    line-height: 1.6;
    font-size: clamp(1rem, 2vw, 1.15rem);
}

/* ========== Dark mode (homepage / styles.css) ========== */
[data-theme="dark"] body {
    background: #0f172a;
    color: #cbd5e1;
}

[data-theme="dark"] .top-bar {
    background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
}

[data-theme="dark"] .main-header {
    background: #1e293b;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .logo-text h1 {
    -webkit-text-fill-color: #f8fafc;
    background: none;
    color: #f8fafc;
}

[data-theme="dark"] .logo-text span {
    color: #94a3b8;
}

[data-theme="dark"] .nav a {
    color: #e2e8f0;
}

[data-theme="dark"] .nav a:hover {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav a.active {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
}

[data-theme="dark"] .companies-showcase,
[data-theme="dark"] .features,
[data-theme="dark"] .team-section {
    background: #111827;
}

[data-theme="dark"] .companies-showcase h2,
[data-theme="dark"] .features h2,
[data-theme="dark"] .team-section h2,
[data-theme="dark"] .leading-rabbis-section h2 {
    color: #f1f5f9;
}

[data-theme="dark"] .companies-showcase p,
[data-theme="dark"] .features-subtitle,
[data-theme="dark"] .team-subtitle,
[data-theme="dark"] .rabbis-subtitle {
    color: #94a3b8;
}

[data-theme="dark"] .company-logo,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .team-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .company-logo h4,
[data-theme="dark"] .feature-card p,
[data-theme="dark"] .team-card p {
    color: #cbd5e1;
}

[data-theme="dark"] .feature-card h3,
[data-theme="dark"] .team-card h3 {
    color: #93c5fd;
}

[data-theme="dark"] .leading-rabbis-section {
    background: #0f172a;
}

[data-theme="dark"] .rabbi-card {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .rabbi-info p,
[data-theme="dark"] .rabbi-credentials span {
    color: #cbd5e1;
}

[data-theme="dark"] .rabbis-certification {
    background: #1e293b;
    border-color: #334155;
}

[data-theme="dark"] .he-rabbinate-block {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}

[data-theme="dark"] .cta-section {
    background: linear-gradient(135deg, #065f46 0%, #0d9488 50%, #065f46 100%);
}

[data-theme="dark"] .footer {
    background: linear-gradient(135deg, #020617 0%, #0f172a 100%);
}


/* Certification page content */
.main-content {
    min-height: 60vh;
    background: var(--wk-gray-50);
    padding: var(--wk-space-16) var(--wk-space-4);
}
.content-section {
    background: var(--wk-white);
    padding: var(--wk-space-8);
    margin-bottom: var(--wk-space-6);
    border-radius: var(--wk-radius-lg);
    box-shadow: var(--wk-shadow-md);
    width: 100%;
}
.content-section h2 { color: var(--wk-primary); font-size: var(--wk-font-size-2xl); margin-bottom: var(--wk-space-5); }
.content-section h3 { color: var(--wk-text-primary); font-size: var(--wk-font-size-xl); margin: var(--wk-space-6) 0 var(--wk-space-4); }
.content-section p { line-height: 1.8; margin-bottom: var(--wk-space-5); color: var(--wk-text-secondary); }
.content-section ul { line-height: 1.8; }
.content-section li { margin-bottom: var(--wk-space-2); }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--wk-space-8); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--wk-space-5); }
.card-item { padding: var(--wk-space-4); border-left: 4px solid var(--wk-success); }
.card-item h4 { color: var(--wk-text-primary); margin-bottom: var(--wk-space-2); }
.card-item p { font-size: var(--wk-font-size-sm); margin: 0; }
.contact-section { background: linear-gradient(135deg, var(--wk-success), #065f46); color: var(--wk-white); padding: var(--wk-space-10); border-radius: var(--wk-radius-lg); text-align: center; }
.contact-section h2 { font-size: var(--wk-font-size-3xl); margin-bottom: var(--wk-space-5); color: var(--wk-white); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--wk-space-5); margin-bottom: var(--wk-space-8); }
.contact-section .contact-item h3 { margin-bottom: var(--wk-space-3); color: var(--wk-white); }
.contact-section .contact-item a { color: var(--wk-white); font-size: var(--wk-font-size-xl); text-decoration: none; font-weight: bold; }
.docs-section { background: rgba(255,255,255,0.1); padding: var(--wk-space-5); border-radius: var(--wk-radius-md); margin-bottom: var(--wk-space-8); }
.docs-section h3 { margin-bottom: var(--wk-space-4); color: var(--wk-white); }
.docs-section ul { text-align: left; max-width: 600px; margin: 0 auto; line-height: 1.8; }
.cert-page-faq { background: var(--wk-gray-50); border: 1px solid var(--wk-gray-200); border-radius: var(--wk-radius-xl); padding: var(--wk-space-10); margin: var(--wk-space-10) 0; }
.cert-page-faq h2 { color: var(--wk-primary); text-align: center; margin-bottom: var(--wk-space-5); font-size: var(--wk-font-size-3xl); }
.cert-page-faq .faq-item { background: var(--wk-white); border: 1px solid var(--wk-gray-200); border-radius: var(--wk-radius-md); padding: var(--wk-space-4); margin-bottom: var(--wk-space-3); }
.cert-page-faq .faq-item summary { cursor: pointer; color: var(--wk-primary); font-weight: 700; }
.cert-page-faq .faq-item p { margin-top: var(--wk-space-3); color: var(--wk-text-secondary); line-height: 1.7; }
.hero--static { background: linear-gradient(135deg, var(--wk-primary) 0%, var(--wk-primary-dark) 100%); color: var(--wk-white); padding: var(--wk-space-16) var(--wk-space-4); text-align: center; min-height: auto; }
.hero--static h1 { font-size: clamp(2rem, 4vw, var(--wk-font-size-4xl)); font-weight: 800; line-height: 1.15; margin-bottom: var(--wk-space-6); color: var(--wk-white); -webkit-text-fill-color: unset; background: none; animation: none; text-shadow: none; }
.hero--static .orange-text { color: var(--wk-accent-light); }
.hero--static p { font-size: var(--wk-font-size-lg); opacity: 0.9; margin-bottom: var(--wk-space-8); max-width: 600px; margin-left: auto; margin-right: auto; color: rgba(255,255,255,0.95); }
.hero--static .stats { margin-bottom: var(--wk-space-10); }
.hero--static .stat-item { background: rgba(255,255,255,0.12); border-radius: var(--wk-radius-lg); padding: var(--wk-space-4) var(--wk-space-6); }


/* RTL — wk shell */
[dir="rtl"] .wk-top-bar .wk-container { flex-direction: row-reverse; }
[dir="rtl"] .wk-top-bar-left,
[dir="rtl"] .wk-top-bar-right { flex-direction: row-reverse; }
[dir="rtl"] .language-dropdown { left: 0; right: auto; }
[dir="rtl"] .wk-header .wk-container { flex-direction: row-reverse; }
[dir="rtl"] .wk-nav { flex-direction: row-reverse; }
[dir="rtl"] .wk-footer-links { padding-right: 0; }
[dir="rtl"] .footer-nav a:hover { transform: translateX(-4px); }
[lang="he"], .lang-he { font-family: 'Heebo', var(--wk-font-family); }

/* Language dropdown — shared */
.language-selector { position: relative; display: inline-block; cursor: pointer; }
.language-current { display: flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 4px; transition: background-color 0.3s; }
.language-current:hover { background: rgba(255,255,255,0.1); }
.language-option:last-child { border-bottom: none; }
@media (max-width: 768px) {
  .wk-top-bar-left > span:first-child { display: none; }
  .wk-top-bar { font-size: var(--wk-font-size-xs); padding: 6px 0; }
  .wk-top-bar-left, .wk-top-bar-right { gap: var(--wk-space-2); }
}

/* Dark mode — wk shell + homepage */
[data-theme="dark"] .wk-top-bar { background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%); }
[data-theme="dark"] .wk-header { background: #1e293b; box-shadow: 0 2px 12px rgba(0,0,0,0.4); }
[data-theme="dark"] .wk-logo-title { color: #f8fafc; }
[data-theme="dark"] .wk-logo-tagline { color: #94a3b8; }
[data-theme="dark"] .wk-nav-link { color: #e2e8f0; }
[data-theme="dark"] .wk-nav-link:hover { background: rgba(255,255,255,0.08); }
[data-theme="dark"] .wk-nav-link.wk-active { background: rgba(245,158,11,0.15); color: #fbbf24; }
[data-theme="dark"] .wk-footer { background: linear-gradient(135deg, #020617 0%, #0f172a 100%); }
[data-theme="dark"] .main-content { background: #0f172a; }
[data-theme="dark"] .content-section { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .content-section h2, [data-theme="dark"] .content-section h3 { color: #f1f5f9; }
[data-theme="dark"] .content-section p, [data-theme="dark"] .content-section li { color: #cbd5e1; }
[data-theme="dark"] .industry-pages, [data-theme="dark"] .faq-section { background: #111827; }
[data-theme="dark"] .industry-card, [data-theme="dark"] .faq-item { background: #1e293b; border-color: #334155; }
[data-theme="dark"] .wk-footer { background: linear-gradient(135deg, #020617 0%, #0f172a 100%); }

/* Legacy .container alias */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--wk-space-6); }
@media (max-width: 768px) { .container { padding: 0 var(--wk-space-4); } }
.he-rabbinate-block .container, .he-rabbinate-block .wk-container { max-width: 900px; }

/* Orange text utility */
.orange-text { color: var(--wk-accent-light); font-weight: 700; }

/* Hero CTA buttons on image slider */
.hero .wk-btn-primary {
    background: linear-gradient(135deg, var(--wk-accent-light) 0%, #fbbf24 100%);
    color: var(--wk-white);
    padding: 18px 36px;
    font-size: var(--wk-font-size-lg);
    box-shadow: var(--wk-shadow-md);
}
.hero .wk-btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, var(--wk-accent-light) 100%);
    transform: translateY(-3px) scale(1.02);
}
.hero .wk-btn-secondary {
    background: rgba(255,255,255,0.12);
    color: var(--wk-white);
    border: 2px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(10px);
    padding: 18px 36px;
    font-size: var(--wk-font-size-lg);
}
.hero .wk-btn-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--wk-primary);
    border-color: var(--wk-white);
}
.cta-section .wk-btn-secondary {
    background: rgba(255,255,255,0.12);
    color: var(--wk-white);
    border: 2px solid rgba(255,255,255,0.4);
}
.cta-section .wk-btn-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--wk-primary);
}
.hero--static .wk-btn-secondary {
    background: transparent;
    color: var(--wk-white);
    border: 2px solid rgba(255,255,255,0.6);
}
.hero--static .wk-btn-secondary:hover {
    background: rgba(255,255,255,0.95);
    color: var(--wk-primary);
}
.cta-section .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--wk-space-2);
    padding: 15px 30px;
    border-radius: var(--wk-radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--wk-font-size-lg);
    transition: all var(--wk-transition-base);
}
.cta-section .btn-cta.whatsapp { background: #25d366; color: var(--wk-white); }
.cta-section .btn-cta.phone { background: rgba(255,255,255,0.15); color: var(--wk-white); border: 2px solid rgba(255,255,255,0.4); }
.cta-section .btn-cta:hover { transform: translateY(-2px); opacity: 0.95; }
@media (max-width: 768px) {
    .wk-header { top: 0; position: relative; }
}
