:root {
  --primary-color: #00d4ff;
  --secondary-color: #1a1a3e;
  --accent-color: #00ff88;
  --text-color: #1a1a1a;
  --light-text: #ffffff;
  --bg-color: #ffffff;
  --section-bg: #f8f9fa;
  --nav-color: #ffffff;
  --nav-hover-color: #00d4ff;
  --footer-bg: #1a1a3e;
  --footer-text: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background: var(--bg-color);
}

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

h1 {
  font-size: 48px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h2 {
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h3 {
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 1rem !important;
  margin-top: 0.5rem !important;
}

h4 {
  font-size: 20px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.75rem !important;
  margin-top: 0.5rem !important;
}

h5, h6 {
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.4 !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0.5rem !important;
}

p {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  margin-bottom: 1rem !important;
}

small, .small-text {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
}

section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.navbar {
  background: var(--secondary-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-link:focus,
.logo-link:active {
  outline: none !important;
  box-shadow: none !important;
}

.logo {
  min-height: 30px;
  height: auto;
  width: auto;
  max-width: 100px;
  max-height: 40px;
  object-fit: contain;
  display: block;
  background: transparent;
  transition: opacity 0.3s ease;
}

.logo:hover {
  .8;
}

.brand-title,
.nav-brand h1,
.nav-brand .brand-name,
.nav-brand span:not(.mobile-toggle span) {
  display: none !important;
}

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

.nav-menu li a {
  color: var(--nav-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 16px;
  border-radius: 4px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--nav-hover-color);
  background: rgba(0, 212, 255, 0.1);
}

.mobile-toggle,
.phone-header-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  flex-shrink: 0;
}

.mobile-toggle svg,
.phone-header-btn svg {
  color: var(--nav-color);
  transition: color 0.3s ease;
}

.mobile-toggle:focus,
.mobile-toggle:active,
.phone-header-btn:focus,
.phone-header-btn:active {
  outline: none;
  border: none;
  box-shadow: none;
}

.mobile-toggle:hover svg,
.phone-header-btn:hover svg {
  color: var(--nav-hover-color);
}

.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 30px 40px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 62, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--light-text);
  max-width: 800px;
  padding: 20px;
}

.hero-content h1 {
  color: var(--light-text);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  color: var(--light-text);
  font-size: 18px;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 16px;
}

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

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

.btn-secondary {
  background: transparent;
  color: var(--light-text);
  border-color: var(--light-text);
}

.btn-secondary:hover {
  background: var(--light-text);
  color: var(--secondary-color);
}

.btn-large {
  padding: 16px 48px;
  font-size: 18px;
}

.features {
  padding: 30px 40px;
  background: var(--section-bg);
}

.features h2 {
  text-align: center;
  color: var(--secondary-color);
}

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

.feature-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon i {
  font-size: 32px;
  color: white;
}

.feature-card h3 {
  color: var(--secondary-color);
}

.feature-card p {
  color: #666;
}

.services-preview {
  padding: 30px 40px;
}

.services-preview h2 {
  text-align: center;
  color: var(--secondary-color);
}

.section-intro {
  text-align: center;
  color: #666;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-item {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.service-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.service-content {
  padding: 24px;
}

.service-content h3 {
  color: var(--secondary-color);
}

.service-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.service-link:hover {
  gap: 1rem;
}

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

.cta-section {
  background: linear-gradient(135deg, var(--secondary-color), #2a2a5e);
  padding: 30px 40px;
  text-align: center;
}

.cta-content h2 {
  color: var(--light-text);
}

.cta-content p {
  color: var(--light-text);
  font-size: 18px;
  margin-bottom: 2rem;
}

.testimonials {
  padding: 30px 40px;
  background: var(--section-bg);
}

.testimonials h2 {
  text-align: center;
  color: var(--secondary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.testimonial-rating {
  color: #ffc107;
  margin-bottom: 1rem;
  font-size: 18px;
}

.testimonial-card p {
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  color: var(--secondary-color);
}

.testimonial-author span {
  color: #999;
  font-size: 14px;
}

.page-header {
  background: var(--secondary-color);
  padding: 30px 40px;
  text-align: center;
  color: var(--light-text);
}

.page-header h1 {
  color: var(--light-text);
}

.page-header p {
  color: var(--light-text);
  font-size: 18px;
}

.services-detailed {
  padding: 30px 40px;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  align-items: center;
}

.service-detail.reverse {
  direction: ltr;
}

.service-detail-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-detail-content h2 {
  color: var(--secondary-color);
}

.service-detail-content p {
  color: #666;
  margin-bottom: 1.5rem;
}

.service-features {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #666;
}

.service-features i {
  color: var(--accent-color);
  font-size: 18px;
}

.products-section {
  padding: 30px 40px;
}

.product-category {
  margin-bottom: 3rem;
}

.product-category h2 {
  color: var(--secondary-color);
  margin-bottom: 1rem !important;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-content {
  padding: 24px;
}

.product-content h3 {
  color: var(--secondary-color);
}

.product-content p {
  color: #666;
  margin-bottom: 1rem;
}

.product-specs {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-specs li {
  color: #666;
  font-size: 14px;
  padding-right: 1rem;
  position: relative;
}

.product-specs li::before {
  content: '•';
  position: absolute;
  right: 0;
  color: var(--primary-color);
}

.about-intro {
  padding: 30px 40px;
}

.about-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  color: var(--secondary-color);
}

.about-text p {
  color: #666;
  margin-bottom: 1.5rem;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.values-section {
  padding: 30px 40px;
  background: var(--section-bg);
}

.values-section h2 {
  text-align: center;
  color: var(--secondary-color);
}

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

.value-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.value-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon i {
  font-size: 32px;
  color: white;
}

.value-card h3 {
  color: var(--secondary-color);
}

.value-card p {
  color: #666;
}

.stats-section {
  padding: 30px 40px;
  background: var(--secondary-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  color: var(--light-text);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 18px;
  color: var(--light-text);
}

.team-section {
  padding: 30px 40px;
}

.team-section h2 {
  text-align: center;
  color: var(--secondary-color);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-member {
  background: white;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-member h3 {
  color: var(--secondary-color);
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-member p {
  color: #666;
}

.contact-section {
  padding: 30px 40px;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info h2 {
  color: var(--secondary-color);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 20px;
  color: white;
}

.contact-details h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #666;
  margin-bottom: 0.25rem;
}

.contact-details a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--section-bg);
  padding: 24px;
  border-radius: 12px;
}

.contact-form-wrapper h2 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--secondary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

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

.footer {
  background: var(--footer-bg);
  padding: 30px 40px;
  text-align: center;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

.footer-social i {
  font-size: 18px;
}

.whatsapp-float {
  display: none;
}

@media (max-width: 768px) {
  .nav-container {
    padding-left: 60px;
    padding-right: 60px;
  }
  
  .mobile-toggle,
  .phone-header-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .nav-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    width: 100%;
    max-width: 300px;
    height: calc(100vh - 60px);
    background: var(--secondary-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    padding: 12px;
    border-radius: 6px;
  }
  
  .nav-brand {
    margin: 0 auto;
    justify-content: center;
  }
  
  .whatsapp-float {
    display: flex;
    position: fixed;
    bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    background: #25d366;
    color: white;
    text-decoration: none;
  }
  
  h1 {
    font-size: 28px !important;
  }
  
  h2 {
    font-size: 22px !important;
  }
  
  h3 {
    font-size: 18px !important;
  }
  
  h4, h5, h6 {
    font-size: 16px !important;
  }
  
  p {
    font-size: 14px !important;
  }
  
  section {
    padding-top: 15px;
    padding-bottom: 15px;
  }
  
  .hero,
  .page-header,
  .features,
  .services-preview,
  .cta-section,
  .testimonials,
  .services-detailed,
  .products-section,
  .about-intro,
  .values-section,
  .stats-section,
  .team-section,
  .contact-section,
  .footer {
    padding: 30px 20px;
  }
  
  .hero {
    min-height: 400px;
  }
  
  .hero-content {
    padding: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .features-grid,
  .services-grid,
  .testimonials-grid,
  .products-grid,
  .values-grid,
  .stats-grid,
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-detail,
  .about-content,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-detail.reverse {
    direction: rtl;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}

html[dir="rtl"] .mobile-toggle,
html[lang="he"] .mobile-toggle,
html[lang="ar"] .mobile-toggle {
  right: 15px;
  left: auto;
}

html[dir="rtl"] .phone-header-btn,
html[lang="he"] .phone-header-btn,
html[lang="ar"] .phone-header-btn {
  left: 15px;
  right: auto;
}

html[dir="ltr"] .mobile-toggle,
html[lang="en"] .mobile-toggle,
html[lang="es"] .mobile-toggle,
html[lang="fr"] .mobile-toggle {
  left: 15px;
  right: auto;
}

html[dir="ltr"] .phone-header-btn,
html[lang="en"] .phone-header-btn,
html[lang="es"] .phone-header-btn,
html[lang="fr"] .phone-header-btn {
  right: 15px;
  left: auto;
}

html[dir="rtl"] .whatsapp-float,
html[lang="he"] .whatsapp-float,
html[lang="ar"] .whatsapp-float {
  right: 20px;
  left: auto;
}

html[dir="ltr"] .whatsapp-float,
html[lang="en"] .whatsapp-float,
html[lang="es"] .whatsapp-float,
html[lang="fr"] .whatsapp-float {
  left: 20px;
  right: auto;
}

@media (max-width: 1024px) {
  h1 { font-size: 36px !important; }
  h2 { font-size: 28px !important; }
  h3 { font-size: 20px !important; }
  p { font-size: 15px !important; }
}

@media (max-width: 480px) {
  .logo {
    min-height: 30px;
    max-width: 100px;
    max-height: 40px;
  }
}
/* CRITICAL: Ensure images are visible immediately (but don't interfere with accessibility toolbar) */
img, picture, figure {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Legal Footer Styles */

    /* Legal Footer Styles - WCAG AA Compliant */
    .legal-footer {
      background-color: #2c3e50;
      color: #ffffff;
      padding: 20px 0;
      font-size: 14px;
      border-top: 3px solid #3498db;
    }

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

    .legal-footer .footer-main {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 20px;
    }

    .legal-footer .all-rights-reserved {
      flex: 1;
      min-width: 200px;
    }

    .legal-footer .all-rights-reserved p {
      margin: 0;
    }

    .legal-footer .zappy-attribution {
      text-align: center;
      width: 100%;
      padding-top: 15px;
      border-top: 1px solid #ffffff;
      opacity: 0.3;
    }

    .legal-footer .zappy-attribution p {
      margin: 0;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.6);
      font-style: italic;
    }

    .legal-footer .footer-social {
      display: flex;
      align-items: center;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
      flex-shrink: 0;
    }

    .legal-footer .footer-social a {
      color: #ffffff !important;
      text-decoration: none;
      font-size: 22px;
      transition: color 0.3s ease, transform 0.2s ease;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: rgba(255, 255, 255, 0.1);
    }

    .legal-footer .footer-social a:hover {
      color: #3498db !important;
      transform: scale(1.15);
      background-color: rgba(255, 255, 255, 0.2);
    }

    .legal-footer .footer-social a:focus {
      outline: 2px solid #3498db;
      outline-offset: 2px;
      border-radius: 50%;
    }
    
    .legal-footer .footer-social i {
      font-size: 20px;
    }

    .legal-footer .footer-legal {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
      justify-content: flex-end;
    }

    .legal-footer .footer-legal a {
      color: #ffffff !important;
      text-decoration: none;
      transition: color 0.3s ease, opacity 0.3s ease;
      font-weight: 500;
      opacity: 0.9;
    }

    .legal-footer .footer-legal a:hover {
      color: #ffffff !important;
      opacity: 1;
      text-decoration: underline;
    }

    .legal-footer .footer-legal a:focus {
      outline: 2px solid #ffffff;
      outline-offset: 2px;
      border-radius: 2px;
    }

    .legal-footer .separator {
      color: #ffffff !important;
      font-weight: 300;
      opacity: 0.7;
    }

    /* Responsive Design */
    @media (max-width: 968px) {
      .legal-footer .footer-main {
        flex-direction: column;
        text-align: center;
        gap: 20px;
      }

      .legal-footer .all-rights-reserved {
        width: 100%;
        text-align: center;
      }

      .legal-footer .footer-social {
        justify-content: center;
        order: 2;
      }

      .legal-footer .footer-legal {
        flex-wrap: wrap;
        justify-content: center;
        order: 3;
      }
    }

    @media (min-width: 969px) {
      .legal-footer .footer-main {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: baseline;
        gap: 30px;
      }

      .legal-footer .all-rights-reserved {
        text-align: left;
        justify-self: start;
      }

      .legal-footer .footer-social {
        justify-self: center;
      }

      .legal-footer .footer-legal {
        justify-self: end;
        text-align: right;
      }
    }

    /* RTL adjustments */
    [dir="rtl"] .legal-footer .all-rights-reserved {
      text-align: right;
    }

    [dir="rtl"] .legal-footer .footer-legal {
      text-align: left;
    }

    @media (min-width: 969px) {
      [dir="rtl"] .legal-footer .all-rights-reserved {
        text-align: right;
        justify-self: end;
      }

      [dir="rtl"] .legal-footer .footer-legal {
        justify-self: start;
        text-align: left;
      }
    }

    /* RTL Support for Hebrew */
    [dir="rtl"] .legal-footer .footer-main {
      direction: rtl;
    }

    [dir="rtl"] .legal-footer .footer-legal {
      direction: rtl;
    }
    

/* Cookie Consent Styles */

/* Cookie Consent Customizations */
:root {
  --cc-btn-primary-bg: #3b82f6;
  --cc-btn-primary-border: #3b82f6;
  --cc-btn-primary-hover-bg: #2269dd;
}

#cc--main {
  font-family: inherit !important;
}

.cc-btn.cc--btn-primary {
  background-color: var(--cc-btn-primary-bg) !important;
  border-color: var(--cc-btn-primary-border) !important;
}

.cc-btn.cc--btn-primary:hover {
  background-color: var(--cc-btn-primary-hover-bg) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #cc--main .cc__btn {
    font-size: 14px !important;
    padding: 8px 16px !important;
  }
  
  .cc__modal .cc__modal-content {
    margin: 10px !important;
  }
}

/* Cookie preferences button in footer */
.cookie-preferences-btn:hover {
  text-decoration: none !important;
}

/* Accessibility Styles */

/* Basic Accessibility Enhancements */
:root {
  --accessibility-focus: #1a1a3e;
}

/* Skip link styles */
.skip-link:focus {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  background: #000 !important;
  color: white !important;
  padding: 8px !important;
  text-decoration: none !important;
  z-index: 10000 !important;
  border-radius: 4px !important;
}

/* Enhanced focus indicators */
*:focus {
  outline: 2px solid var(--accessibility-focus) !important;
  outline-offset: 2px !important;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  * {
    border-color: currentColor !important;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Screen reader only content */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Custom Accessibility Toolbar Styling - Zappy Style */

/* Main button icon - ONLY target the floating button, not menu elements */
#mic-access-tool-general-button {
  background-color: transparent !important;
  background: transparent !important;
  border: none !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* AGGRESSIVELY hide all text in the button */
#mic-access-tool-general-button,
#mic-access-tool-general-button *:not(svg):not(path):not(circle):not(rect):not(polygon):not(ellipse):not(line):not(polyline):not(g) {
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  line-height: 0 !important;
  letter-spacing: -999em !important;
  white-space: nowrap !important;
}

/* Hide text nodes specifically */
#mic-access-tool-general-button::before,
#mic-access-tool-general-button::after {
  content: none !important;
  display: none !important;
}

/* Hover state - keep text hidden */
#mic-access-tool-general-button:hover {
  background-color: rgba(97, 97, 255, 0.1) !important;
  background: rgba(97, 97, 255, 0.1) !important;
  box-shadow: 0 2px 8px rgba(97, 97, 255, 0.2) !important;
  font-size: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
}

/* Target the SVG and make it the selected color */
#mic-access-tool-general-button svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  /* Convert green to selected color using dynamic CSS filter */
  filter: invert(27%) sepia(98%) saturate(2476%) hue-rotate(226deg) brightness(102%) contrast(101%) !important;
}

/* Also directly target all SVG elements to be the selected color */
#mic-access-tool-general-button svg,
#mic-access-tool-general-button svg *,
#mic-access-tool-general-button svg path,
#mic-access-tool-general-button svg circle,
#mic-access-tool-general-button svg rect,
#mic-access-tool-general-button svg polygon,
#mic-access-tool-general-button svg ellipse,
#mic-access-tool-general-button svg line,
#mic-access-tool-general-button svg polyline,
#mic-access-tool-general-button svg g {
  fill: #6161FF !important;
  stroke: #6161FF !important;
  color: #6161FF !important;
}

/* Target images if the icon is an img instead of SVG */
#mic-access-tool-general-button img,
#mic-access-tool-general-button i {
  width: 18px !important;
  height: 18px !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  /* Convert green to selected color using dynamic filter */
  filter: invert(27%) sepia(98%) saturate(2476%) hue-rotate(226deg) brightness(102%) contrast(101%) !important;
}

/* Menu header with selected color */
#mic-access-tool-box .mic-access-tool-box-header,
.mic-access-tool-box-header,
div[id*="mic-access-tool-box"] header,
div[id*="mic-access-tool-box"] .header {
  background: #6161FF !important;
  color: white !important;
}

/* Make header text white - title and close button */
#mic-access-tool-box .mic-access-tool-box-header *,
.mic-access-tool-box-header *,
div[id*="mic-access-tool-box"] header *,
div[id*="mic-access-tool-box"] .header * {
  color: white !important;
}

/* Close button text */
#mic-access-tool-box .mic-access-tool-box-header button,
#mic-access-tool-box .mic-access-tool-box-header a,
#mic-access-tool-box [class*="close"],
#mic-access-tool-box button[title*="close"],
#mic-access-tool-box button[title*="Close"] {
  color: white !important;
  background: transparent !important;
}

/* Active buttons and highlights in menu */
#mic-access-tool-box button.active,
#mic-access-tool-box button:hover,
div[id*="mic-access-tool-box"] button.active,
div[id*="mic-access-tool-box"] button:hover {
  border-color: #6161FF !important;
  color: #6161FF !important;
  background-color: rgba(97, 97, 255, 0.1) !important;
}

/* Reset button */
#mic-access-tool-box button[title*="reset"],
#mic-access-tool-box button[title*="Reset"],
#mic-access-tool-box [class*="reset"],
div[id*="mic-access-tool-box"] button[class*="reset"] {
  background: #6161FF !important;
  color: white !important;
}

/* Reset button text and icon */
#mic-access-tool-box button[title*="reset"] *,
#mic-access-tool-box button[title*="Reset"] *,
#mic-access-tool-box [class*="reset"] *,
div[id*="mic-access-tool-box"] button[class*="reset"] * {
  color: white !important;
}