/* Base styles */
:root {
  /* Light theme (default) */
  --primary-color: #478ac9;
  --secondary-color: #2563eb;
  --background-color: #ffffff;
  --text-color: #1f2937;
  --white: #ffffff;
  --accent-color: #3b82f6;
  --footer-bg: #f3f4f6;
  --clients-bg: #1e40af;
  --card-bg: #ffffff;
  --border-color: #e5e7eb;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition-speed: 0.3s;
  --shadow-sm: 0 1px 2px 0 var(--shadow-color);
  --shadow: 0 4px 6px -1px var(--shadow-color);
  --shadow-lg: 0 10px 15px -3px var(--shadow-color);
  --border-radius: 0.5rem;
  --focus-ring: 0 0 0 3px rgba(71, 138, 201, 0.5);
  --contact-card-bg: #ffffff;
  --contact-card-hover: #f8fafc;
  --contact-icon-bg: #f1f5f9;
  --contact-icon-color: #478ac9;
}

[data-theme="dark"] {
  --primary-color: #60a5fa;
  --secondary-color: #3b82f6;
  --background-color: #111827;
  --text-color: #ffffff;
  --white: #1f2937;
  --accent-color: #60a5fa;
  --footer-bg: #1f2937;
  --clients-bg: #2563eb;
  --card-bg: #1f2937;
  --border-color: #374151;
  --shadow-color: rgba(0, 0, 0, 0.3);
  --focus-ring: 0 0 0 3px rgba(96, 165, 250, 0.5);
  --contact-card-bg: #1f2937;
  --contact-card-hover: #374151;
  --contact-icon-bg: #374151;
  --contact-icon-color: #60a5fa;
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] .day,
[data-theme="dark"] .time,
[data-theme="dark"] .contact-link,
[data-theme="dark"] .footer-info h3,
[data-theme="dark"] .footer-info p,
[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-copyright p,
[data-theme="dark"] .contact-item h3,
[data-theme="dark"] .contact-item p,
[data-theme="dark"] .contact-cta h2,
[data-theme="dark"] .contact-cta p,
[data-theme="dark"] .banner-subtitle,
[data-theme="dark"] .contact-note {
  color: #ffffff;
}

[data-theme="dark"] .contact-link:hover {
  color: var(--accent-color);
}

[data-theme="dark"] .footer-links a:hover {
  color: var(--accent-color);
}

[data-theme="dark"] .time {
  color: var(--accent-color);
}

[data-theme="dark"] .contact-item {
  background: var(--contact-card-hover);
}

[data-theme="dark"] .hours-item {
  background: var(--contact-card-hover);
}

[data-theme="dark"] .contact-cta {
  background: var(--contact-card-bg);
}

[data-theme="dark"] .contact-info {
  background: var(--contact-card-bg);
}

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

body {
  font: 16px/1.8 'Open Sans', 'Alef-Regular', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  direction: rtl;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

/* Typography */
h1, h2, h3 {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  text-align: center;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 2.25rem;
  letter-spacing: -0.025em;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
}

/* Service grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

.service-item {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-speed) ease;
}

.service-item:hover img {
  transform: scale(1.1);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-speed) ease;
  font-weight: 600;
  border: 2px solid var(--primary-color);
}

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

/* Floating Contact Button - Global Styles */
.floating-contact {
    position: fixed;
    bottom: 50%;
    left: 0;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1100;
    pointer-events: auto;
}

.floating-contact a,
.floating-contact button {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
    position: relative;
    overflow: hidden;
    margin-left: 0;
    transform: translateX(0);
}

.floating-contact a:hover,
.floating-contact button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.floating-contact a:focus,
.floating-contact button:focus {
    outline: 3px solid var(--focus-ring);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(71, 138, 201, 0.3);
}

.floating-contact svg,
.floating-contact img {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.floating-contact a:hover svg,
.floating-contact button:hover svg,
.floating-contact a:hover img,
.floating-contact button:hover img {
    transform: scale(1.1);
}

/* WhatsApp specific styles */
.floating-contact .whatsapp {
    background: #25D366;
    transform: translateX(0);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.floating-contact .whatsapp:hover {
    background: #128C7E;
    transform: translateX(1rem);
    border-radius: 0 50% 50% 0;
    width: 4.5rem;
}

/* Phone specific styles */
.floating-contact .phone {
    background: #2196F3;  /* A nice blue color */
    transform: translateX(0);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.floating-contact .phone:hover {
    background: #1976D2;  /* A darker blue for hover state */
    transform: translateX(1rem);
    border-radius: 0 50% 50% 0;
    width: 4.5rem;
}

/* Accessibility button specific styles */
.floating-contact .accessibility {
    background: var(--primary-color);
    position: relative;
    transform: translateX(0);
}

.floating-contact .accessibility:hover {
    background: var(--secondary-color);
}

.floating-contact .accessibility::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: white;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
}

.floating-contact .accessibility svg {
    display: none;
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 50%;
        left: 1rem;
        transform: translateY(50%);
    }

    .floating-contact a,
    .floating-contact button {
        width: 3rem;
        height: 3rem;
        border-radius: 50%;
        margin-left: 0;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }

    .floating-contact .whatsapp:hover,
    .floating-contact .phone:hover {
        width: 4rem;
    }

    .floating-contact svg,
    .floating-contact img {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .floating-contact {
        bottom: 50%;
        left: 0.75rem;
        transform: translateY(50%);
    }

    .floating-contact a,
    .floating-contact button {
        width: 2.75rem;
        height: 2.75rem;
        margin-left: 0;
    }

    .floating-contact .whatsapp:hover,
    .floating-contact .phone:hover {
        width: 3.5rem;
    }

    .floating-contact svg,
    .floating-contact img {
        width: 18px;
        height: 18px;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .floating-contact a:hover,
    .floating-contact button:hover {
        transform: none;
    }

    .floating-contact a:active,
    .floating-contact button:active {
        transform: scale(0.95);
    }

    .floating-contact a:hover svg,
    .floating-contact button:hover svg,
    .floating-contact a:hover img,
    .floating-contact button:hover img {
        transform: none;
    }
}

/* High Contrast Mode */
.high-contrast .floating-contact a,
.high-contrast .floating-contact button {
    border: 2px solid var(--text-color);
}

.high-contrast .floating-contact a:focus,
.high-contrast .floating-contact button:focus {
    outline: 3px solid var(--text-color);
    outline-offset: 2px;
}

/* Grayscale Mode */
.grayscale {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
}

.grayscale .floating-contact,
.grayscale .floating-accessibility,
.grayscale .accessibility-modal-content {
  filter: none !important;
  -webkit-filter: none !important;
}

.grayscale .floating-contact a,
.grayscale .floating-contact button {
  filter: none !important;
  -webkit-filter: none !important;
}

@media (max-width: 768px) {
  .grayscale .floating-contact,
  .grayscale .floating-accessibility {
    left: 1rem !important;
  }
}

@media (max-width: 480px) {
  .grayscale .floating-contact,
  .grayscale .floating-accessibility {
    left: 0.75rem !important;
  }
}

/* High Contrast Mode */
.high-contrast {
  --primary-color: #000000;
  --secondary-color: #ffffff;
  --background-color: #ffffff;
  --text-color: #000000;
  --white: #ffffff;
  --accent-color: #0000ff;
  --footer-bg: #000000;
  --clients-bg: #000000;
  --card-bg: #ffffff;
  --border-color: #000000;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --focus-ring: 0 0 0 3px #0000ff;
}

.high-contrast body {
  background-color: var(--background-color) !important;
  color: var(--text-color) !important;
}

.high-contrast *:not(body):not(html) {
  color: var(--text-color) !important;
  background-color: transparent !important;
  border-color: var(--border-color) !important;
}

.high-contrast a {
  color: #0000ff !important;
  text-decoration: underline !important;
}

.high-contrast button {
  border: 2px solid #000000 !important;
  background-color: var(--background-color) !important;
}

.high-contrast .service-item,
.high-contrast .contact-item,
.high-contrast .card,
.high-contrast .footer-content,
.high-contrast .accessibility-modal-content {
  background-color: var(--background-color) !important;
  border: 2px solid var(--border-color) !important;
}

/* Big Cursor */
.big-cursor * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%23000000"><circle cx="12" cy="12" r="8"/></svg>') 12 12, auto !important;
}

/* Readable Font */
.readable-font {
  font-family: Arial, Helvetica, sans-serif !important;
  letter-spacing: 0.12em !important;
  word-spacing: 0.16em !important;
  line-height: 1.8 !important;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: white;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s ease;
}

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

/* Focus Styles */
:focus {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .accessibility-sidebar {
    transition: none;
  }
}

/* Screen Reader Only */
.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;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .accessibility-sidebar {
    min-width: 180px;
    padding: 0.75rem;
  }
  
  .accessibility-option {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .accessibility-sidebar {
    min-width: 160px;
    padding: 0.5rem;
  }
  
  .accessibility-option {
    padding: 0.4rem;
    font-size: 0.85rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .accessibility-option:hover {
    background: transparent;
  }
  
  .accessibility-option:active {
    background: rgba(255,255,255,0.1);
  }
}

@media (max-width: 600px) {
  .floating-contact, .floating-accessibility {
    left: 0.75rem;
    gap: 0.5rem;
  }
  .floating-accessibility {
    bottom: 0.75rem;
  }
  #accessibility-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
  .accessibility-sidebar {
    min-width: 160px;
    font-size: 0.95rem;
    margin-right: 3.2rem;
  }
}

.floating-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0 50% 50% 0;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-speed) ease;
  margin-left: -1rem;
}

.floating-contact a:hover {
  transform: translateX(1rem);
  background: var(--secondary-color);
}

.floating-contact a.whatsapp {
  background: #25D366;
}

.floating-contact a.whatsapp:hover {
  background: #128C7E;
}

.floating-contact a.phone {
  background: #2196F3;  /* A nice blue color */
}

.floating-contact a.phone:hover {
  background: #1976D2;  /* A darker blue for hover state */
}

@media (max-width: 768px) {
  .floating-contact {
    bottom: 50% !important;
    left: 1rem !important;
    transform: translateY(50%) !important;
  }

  .floating-contact a {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    margin-left: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .floating-contact a:hover {
    transform: translateY(-3px);
  }

  .floating-contact img,
  .floating-contact svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .floating-contact {
    bottom: 50% !important;
    left: 0.75rem !important;
    transform: translateY(50%) !important;
  }

  .floating-contact a,
  .floating-contact button {
    width: 2.75rem !important;
    height: 2.75rem !important;
  }

  .floating-contact img,
  .floating-contact svg {
    width: 18px !important;
    height: 18px !important;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .floating-contact a:hover,
  .floating-contact button:hover {
    transform: none !important;
  }

  .floating-contact a:active,
  .floating-contact button:active {
    transform: scale(0.95) !important;
  }
}

/* Footer */
footer {
  background-color: var(--footer-bg);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.footer-info h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
}

.footer-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.footer-info a:hover {
  color: var(--secondary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

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

.footer-copyright {
  color: var(--text-color);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-info, .footer-links, .footer-copyright {
    text-align: center;
  }
}

/* Custom Font */
@font-face {
  font-family: 'Alef-Regular';
  font-style: normal;
  font-weight: 400;
  src: url(fonts/Alef-Regular.woff2) format('woff2');
}

/* Gallery styles */
.gallery {
  margin-top: 40px;
}

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

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
}

.gallery-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
  transform: translateZ(0);
  will-change: transform;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .gallery-grid img {
    height: 150px;
  }
}

/* Image Gallery styles */
.image-gallery {
  margin-top: 40px;
}

.slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.slide:first-child {
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 18px;
  cursor: pointer;
  transition: background var(--transition-speed) ease;
  z-index: 10;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .slider-container {
    aspect-ratio: 4 / 3;
  }
}

/* Modern Contact Page Styles */
.contact-info, .contact-item, .contact-cta {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
  border-radius: 1.25rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: box-shadow 0.3s, transform 0.3s;
}
.contact-item:hover, .contact-cta:hover {
  box-shadow: 0 12px 32px 0 rgba(31, 38, 135, 0.18);
  transform: translateY(-6px) scale(1.03);
}
.contact-item img, .contact-item svg {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  background: rgba(71, 138, 201, 0.08);
  border-radius: 50%;
  padding: 0.75rem;
  box-shadow: 0 2px 8px rgba(71, 138, 201, 0.08);
}
.contact-cta h2, .contact-info h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  letter-spacing: -0.02em;
}
.contact-cta .subtitle, .contact-info .subtitle {
  font-size: 1.1rem;
  color: var(--text-color);
  opacity: 0.7;
  margin-bottom: 1.5rem;
}
.cta-btn {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(71, 138, 201, 0.10);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}
.cta-btn svg, .cta-btn img {
  transition: transform 0.3s;
}
.cta-btn:hover {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--primary-color) 100%);
  box-shadow: 0 4px 16px rgba(71, 138, 201, 0.18);
  transform: translateY(-2px) scale(1.04);
}
.cta-btn:hover svg, .cta-btn:hover img {
  transform: translateX(4px) scale(1.1);
}
.contact-grid {
  gap: 2.5rem;
}
@media (max-width: 768px) {
  .contact-info, .contact-item, .contact-cta {
    border-radius: 1rem;
    padding: 1.25rem;
  }
  .contact-item img, .contact-item svg {
    width: 44px;
    height: 44px;
    margin-bottom: 1rem;
  }
  .cta-btn {
    padding: 0.85rem 1.5rem;
    font-size: 1rem;
  }
}
@media (max-width: 480px) {
  .contact-info, .contact-item, .contact-cta {
    border-radius: 0.75rem;
    padding: 0.75rem;
  }
  .contact-item img, .contact-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: 0.75rem;
  }
  .cta-btn {
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
  }
}

/* Banner styles */
.banner-section {
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-section[id="sec-1977"] {
  background-image: url('../images/p12.webp');
}

.banner-section[id="sec-1978"] {
  background-image: url('../images/g10.webp');
}

.banner-section[id="sec-1979"] {
  background-image: url('../images/ad2.webp');
}

.banner-section[id="sec-1980"] {
  background-image: url('../images/p12.webp');
}

.banner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.u-sheet {
  position: relative;
  width: 100%;
  padding: 80px 16px;
  margin: 0 auto;
  max-width: 1140px;
}

.banner-title {
  font-size: 3rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
}

.banner-subtitle {
  color: var(--text-color);
  font-size: 1.25rem;
  margin-top: 1rem;
  opacity: 0.9;
}

.contact-note {
  font-size: 0.875rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 0.5rem;
}

/* Clients section */
.clients {
  background-color: var(--clients-bg);
  color: var(--white);
  padding: 60px 0;
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  max-width: none; /* Override the max-width set for sections */
}

.clients-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.clients-text {
  font-size: 1.25rem; /* Increase font size */
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .clients {
    padding: 40px 0;
  }

  .clients-text {
    font-size: 1.1rem; /* Slightly smaller on mobile devices */
  }
}

/* Larger text for service description */
.larger-text {
  font-size: 1.2rem; /* Adjust this value as needed */
}

.larger-text ol {
  font-size: 1.1rem; /* Slightly smaller for list items */
}

/* Main Header and Navigation */
.main-header {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header.scroll-down {
  transform: translateY(-100%);
}

.main-header.scroll-up {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  order: 1;
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.nav-links {
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
  background-color: rgba(71, 138, 201, 0.1);
}

.nav-links a.active {
  color: var(--primary-color);
  background-color: rgba(71, 138, 201, 0.1);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

/* Mobile Navigation */
@media (max-width: 768px) {
  .main-nav {
    padding: 0.5rem 1rem;
  }

  .logo img {
    height: 32px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 999;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    gap: 0.5rem;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease-in-out;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links li:nth-child(2) { transition-delay: 0.15s; }
  .nav-links li:nth-child(3) { transition-delay: 0.2s; }
  .nav-links li:nth-child(4) { transition-delay: 0.25s; }
  .nav-links li:nth-child(5) { transition-delay: 0.3s; }

  .nav-links a {
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    display: block;
    width: 100%;
    border-radius: 8px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background-color: rgba(71, 138, 201, 0.1);
    color: var(--primary-color);
  }

  /* Overlay styles */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }
}

/* Additional mobile optimizations */
@media (max-width: 480px) {
  .main-nav {
    padding: 0.5rem 0.75rem;
  }

  .logo img {
    height: 28px;
  }

  .nav-links {
    width: 100%;
    max-width: none;
    padding: 4rem 1.5rem 2rem;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.875rem 1rem;
  }
}

/* Dark theme adjustments */
[data-theme="dark"] .main-header {
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active {
  background-color: rgba(96, 165, 250, 0.1);
}

/* WhatsApp icon styles */
.whatsapp-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.whatsapp-icon img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .whatsapp-icon {
    margin-left: 0;
    margin-right: 0.5rem;
    padding: 8px;
    border-radius: 50%;
    background-color: rgba(37, 211, 102, 0.1);
    transition: all 0.3s ease;
  }

  .whatsapp-icon img {
    width: 20px;
    height: 20px;
  }

  .whatsapp-icon:hover {
    background-color: rgba(37, 211, 102, 0.2);
    transform: scale(1.05);
  }

  .whatsapp-icon:active {
    transform: scale(0.95);
  }
}

@media (max-width: 480px) {
  .whatsapp-icon {
    padding: 6px;
  }

  .whatsapp-icon img {
    width: 18px;
    height: 18px;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .whatsapp-icon:hover {
    transform: none;
    background-color: rgba(37, 211, 102, 0.1);
  }
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus, button:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .main-header, .main-nav, .footer {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .container {
    width: 100%;
    margin: 0;
    padding: 0;
  }
}

.services .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services h2 {
  margin-bottom: 40px;
}

/* Icon styles */
.u-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  vertical-align: middle;
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
}

.u-icon-circle {
  border-radius: 50%;
  padding: 10px;
}

.u-border-2 {
  border-width: 2px;
  border-style: solid;
}

.u-border-palette-1-base {
  border-color: var(--primary-color);
}

/* Specific icon sizes */
.u-icon-1 img {
  max-width: 70px;
  max-height: 70px;
}

.u-icon-2 img {
  max-width: 70px;
  max-height: 70px;
}

.u-icon-3 img {
  max-width: 444px;
  max-height: 444px;
}

/* Privacy Policy Page Styles */
.privacy-policy {
    padding: 4rem 0;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
}

.privacy-content h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.privacy-content h3 {
    color: var(--text-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.privacy-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.privacy-content ul {
    list-style-type: disc;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.privacy-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.privacy-content a:hover {
    color: var(--secondary-color);
}

.last-updated {
    margin-top: 3rem;
    font-style: italic;
    color: #666;
}

@media (max-width: 768px) {
    .privacy-policy {
        padding: 2rem 0;
    }

    .privacy-content h2 {
        font-size: 1.75rem;
    }

    .privacy-content h3 {
        font-size: 1.25rem;
    }
}

/* Terms of Service Page Styles */
.terms-page {
    padding: 4rem 0;
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: right;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.terms-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
    text-align: right;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #333;
}

.terms-content ul {
    list-style-type: disc;
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    color: #333;
}

.terms-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

.terms-content a:hover {
    color: var(--secondary-color);
}

.last-updated {
    margin-bottom: 2rem;
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .terms-page {
        padding: 2rem 0;
    }

    .terms-content {
        padding: 1.5rem;
    }

    .terms-content h2 {
        font-size: 1.25rem;
    }
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    /* General Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }

    /* Container padding */
    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .main-nav {
        padding: 0.5rem 0;
    }

    .logo img {
        width: 120px;
        height: 40px;
    }

    .nav-links {
        padding: 1rem 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }

    /* Contact Page */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .contact-info,
    .contact-item,
    .contact-cta {
        padding: 1.25rem;
    }

    .contact-item img {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .cta-buttons {
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .cta-btn {
        padding: 0.65rem;
        margin-bottom: 0.5rem;
    }

    .business-hours {
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .hours-item {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-info, .footer-links, .footer-copyright {
        text-align: center;
    }

    /* Floating Contact */
    .floating-contact {
        left: 1rem;
    }

    .floating-contact a,
    .floating-contact button {
        width: 3.5rem;
        height: 3.5rem;
    }

    .floating-contact img,
    .floating-contact svg {
        width: 24px;
        height: 24px;
    }

    /* Banner Section */
    .banner-section {
        padding: 2.5rem 0;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    /* Service Grid */
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-item {
        padding: 1.5rem;
    }

    .service-item img {
        width: 60px;
        height: 60px;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-grid img {
        height: 200px;
    }
}

/* Additional Mobile Breakpoint for Smaller Screens */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .contact-item img {
        width: 32px;
        height: 32px;
        margin-bottom: 0.75rem;
    }

    .cta-btn {
        padding: 0.5rem;
    }

    .floating-contact {
        left: 0.75rem;
    }

    .floating-contact a,
    .floating-contact button {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .contact-item:hover,
    .cta-btn:hover,
    .service-item:hover {
        transform: none;
    }

    .nav-links a::after {
        display: none;
    }

    .btn:active,
    .cta-btn:active {
        transform: scale(0.98);
    }
}

/* Skip Links */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    z-index: 100;
    transition: top 0.3s ease;
}

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

/* Accessibility Improvements */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .nav-links a,
    .btn,
    .contact-link {
        border: 2px solid currentColor;
    }
    
    .service-item {
        border: 2px solid currentColor;
    }
}

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

/* Screen Reader Only */
.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;
}

/* Improved Focus Styles */
.btn:focus,
.nav-links a:focus,
.contact-link:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(71, 138, 201, 0.3);
}

/* Improved Color Contrast */
.contact-item h3,
.footer-info h3,
.terms-content h2,
.privacy-content h2 {
    color: #1a1a1a;
}

.contact-item p,
.footer-info p,
.terms-content p,
.privacy-content p {
    color: #333;
}

/* Improved Touch Targets */
@media (max-width: 768px) {
    .nav-links a,
    .btn,
    .contact-link {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 16px;
    }

    .hamburger {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Theme Toggle Button */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-color);
  cursor: pointer;
  padding: 7px;
  margin-right: 15px;
  transition: all 0.3s ease;
  order: 3;
}

.theme-toggle:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.theme-toggle:hover svg {
  fill: var(--white);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-color);
  transition: all 0.3s ease;
  transform-origin: center;
}

.theme-toggle .sun-icon {
  transform: scale(0.9);
  fill: #ffd700;
  stroke: #ffd700;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.theme-toggle:hover .sun-icon {
  fill: #fff8dc;
  stroke: #ffd700;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

[data-theme="dark"] .theme-toggle .sun-icon {
  fill: #ffd700;
  stroke: #ffd700;
  filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.5));
}

.theme-toggle .moon-icon {
  transform: scale(0.85);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
  order: 2;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    width: 22px;
    height: 16px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    padding: 6px;
  }

  .theme-toggle svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
}

/* Theme transition */
body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Update existing components for dark theme */
[data-theme="dark"] .service-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-info,
[data-theme="dark"] .contact-cta,
[data-theme="dark"] .business-hours {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .contact-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-links {
  background-color: var(--card-bg);
}

[data-theme="dark"] .hamburger span {
  background-color: var(--text-color);
}

/* Mobile adjustments for theme toggle */
@media (max-width: 768px) {
  .theme-toggle {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    padding: 5px;
  }

  .theme-toggle svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .theme-toggle {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }

  .theme-toggle svg {
    width: 15px;
    height: 15px;
  }
}

/* Touch device optimizations */
@media (hover: none) {
  .theme-toggle:hover {
    background-color: transparent;
    border-color: var(--border-color);
  }

  .theme-toggle:hover svg {
    fill: var(--text-color);
  }

  .theme-toggle:active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
  }

  .theme-toggle:active svg {
    fill: var(--white);
  }
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 50%;
    left: 50%;
    margin: -0.75rem 0 0 -0.75rem;
    border: 2px solid var(--white);
    border-right-color: transparent;
    border-radius: 50%;
    animation: button-loading-spinner 0.75s linear infinite;
}

@keyframes button-loading-spinner {
    from {
        transform: rotate(0turn);
    }
    to {
        transform: rotate(1turn);
    }
}

[data-theme="dark"] .banner-subtitle {
  color: var(--text-color);
  opacity: 0.8;
}

[data-theme="dark"] .contact-note {
  color: var(--text-color);
  opacity: 0.7;
}

/* Accessibility Menu Styles */
.accessibility-menu {
    position: fixed;
    bottom: 50%;
    left: 20px;
    transform: translateY(50%);
    z-index: 1000;
}

.accessibility-toggle {
    background: #478ac9;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
}

.accessibility-toggle:hover {
    background: #357abd;
    transform: scale(1.05);
}

.accessibility-toggle svg {
    width: 24px;
    height: 24px;
    fill: white;
    transition: transform 0.3s ease;
}

.accessibility-toggle:hover svg {
    transform: rotate(15deg);
}

.accessibility-options {
    position: absolute;
    bottom: 60px;
    left: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    min-width: 220px;
    transform-origin: bottom left;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
}

.accessibility-options.active {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.accessibility-option {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 10px 15px;
    cursor: pointer;
    text-align: right;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.accessibility-option:hover {
    background: #e9ecef;
    transform: translateX(-2px);
}

.accessibility-option svg {
    width: 18px;
    height: 18px;
    fill: #478ac9;
}

/* Add the accessibility icon SVG */
.accessibility-toggle::before {
    content: '';
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm-1-13h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Dark theme support */
[data-theme="dark"] .accessibility-options {
    background: #2d3748;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

[data-theme="dark"] .accessibility-option {
    background: #1a202c;
    border-color: #4a5568;
    color: #e2e8f0;
}

[data-theme="dark"] .accessibility-option:hover {
    background: #2d3748;
}

[data-theme="dark"] .accessibility-option svg {
    fill: #60a5fa;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .accessibility-menu {
        bottom: 50%;
        left: 10px;
        transform: translateY(50%);
    }

    .accessibility-toggle {
        width: 45px;
        height: 45px;
    }

    .accessibility-options {
        min-width: 200px;
        padding: 10px;
    }

    .accessibility-option {
        padding: 8px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .accessibility-menu {
        bottom: 50%;
        left: 8px;
        transform: translateY(50%);
    }

    .accessibility-toggle {
        width: 40px;
        height: 40px;
    }

    .accessibility-toggle::before {
        width: 20px;
        height: 20px;
    }

    .accessibility-options {
        min-width: 180px;
    }
}

/* Accessibility Modal */
.accessibility-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.accessibility-modal.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.accessibility-modal-overlay {
    display: none; /* Remove the overlay completely */
}

.accessibility-modal-content {
    position: fixed;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 240px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.accessibility-modal.active .accessibility-modal-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Position the modal content next to the button */
.floating-contact .accessibility-modal-content {
    position: fixed;
    top: auto;
    bottom: 50%;
    left: 100%;
    margin-left: 8px;
    transform: translateY(50%);
}

/* Add a small arrow pointing to the button */
.accessibility-modal-content::after {
    content: '';
    position: absolute;
    left: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid var(--white);
    filter: drop-shadow(-2px 0 2px rgba(0, 0, 0, 0.1));
}

/* Dark theme support for the arrow */
[data-theme="dark"] .accessibility-modal-content::after {
    border-right-color: var(--card-bg);
}

.accessibility-modal-header {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border-radius: 8px 8px 0 0;
}

.accessibility-modal-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-color);
}

.accessibility-modal-close {
    padding: 4px;
    font-size: 1.25rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.accessibility-modal-close:hover {
    opacity: 1;
}

.accessibility-modal-body {
    padding: 8px;
    background: var(--white);
    border-radius: 0 0 8px 8px;
    width: 100%;
    box-sizing: border-box;
}

.accessibility-option {
    padding: 8px 12px;
    font-size: 0.9rem;
    margin-bottom: 4px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-color);
    background: transparent;
    border: none;
    width: 100%;
    text-align: right;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.accessibility-option span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.accessibility-option:hover {
    background: var(--contact-card-hover);
}

.accessibility-option:active {
    transform: scale(0.98);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .floating-contact .accessibility-modal-content {
        left: auto;
        right: 0;
        margin-left: 0;
        margin-right: 8px;
        width: 220px;
    }

    .accessibility-modal-content::after {
        left: auto;
        right: -6px;
        border-right: none;
        border-left: 6px solid var(--white);
        filter: drop-shadow(2px 0 2px rgba(0, 0, 0, 0.1));
    }

    [data-theme="dark"] .accessibility-modal-content::after {
        border-left-color: var(--card-bg);
    }
}

@media (max-width: 480px) {
    .floating-contact .accessibility-modal-content {
        width: 200px;
        margin-right: 6px;
    }
}

/* High Contrast Mode */
.high-contrast .accessibility-modal-content {
    border: 2px solid var(--text-color);
}

.high-contrast .accessibility-modal-option:hover {
    outline: 2px solid var(--text-color);
    background: var(--text-color);
    color: var(--white);
}

.floating-contact .whatsapp {
    background: #25D366;
}

.floating-contact .whatsapp:hover {
    background: #128C7E;
}

.floating-contact .phone {
    background: #2196F3;  /* A nice blue color */
}

.floating-contact .phone:hover {
    background: #1976D2;  /* A darker blue for hover state */
}

.floating-contact .accessibility {
    background: var(--primary-color);
}

.floating-contact .accessibility:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 50%;
        left: 1rem;
        transform: translateY(50%);
    }
}

@media (max-width: 480px) {
    .hamburger {
        width: 18px !important;
        height: 12px !important;
    }
    .hamburger span {
        height: 2px !important;
    }
}

@media (max-width: 768px) {
  nav .nav-links {
    padding-top: 5rem !important;
  }
}

/* Contact Page Specific Styles */
.contact-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-page .banner-section {
    min-height: 120px;
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.contact-page .banner-title {
    font-size: 2.5rem;
    margin: 0;
}

.contact-page .container {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 1.5rem;
}

.contact-page .contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-page .contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
}

.contact-page .business-hours {
    margin-bottom: 0;
}

.contact-page .hours-grid {
    display: grid;
    gap: 0.75rem;
}

.contact-page .hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--contact-card-bg);
    border-radius: var(--border-radius);
    transition: transform 0.2s ease;
}

.contact-page .contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.contact-page .contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 0;
}

.contact-page .contact-item img {
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0.5rem;
}

.contact-page .contact-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-page .contact-item p {
    margin: 0;
}

@media (max-width: 768px) {
    .contact-page .banner-section {
        min-height: 100px;
    }

    .contact-page .banner-title {
        font-size: 2rem;
    }

    .contact-page .container {
        padding: 1.5rem 1rem;
    }

    .contact-page .contact-grid {
        gap: 1.5rem;
    }

    .contact-page .contact-info {
        padding: 1rem;
    }

    .contact-page .contact-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-page .banner-section {
        min-height: 80px;
    }

    .contact-page .banner-title {
        font-size: 1.75rem;
    }

    .contact-page .container {
        padding: 1rem 0.75rem;
    }

    .contact-page .contact-grid {
        gap: 1rem;
    }

    .contact-page .contact-info {
        padding: 0.75rem;
    }

    .contact-page .contact-item {
        padding: 0.75rem;
    }

    .contact-page .contact-item img {
        width: 32px;
        height: 32px;
        padding: 0.4rem;
    }
}

/* Contact Page Mobile Optimizations */
@media (max-width: 768px) {
    .contact-page {
        min-height: auto;
        padding-bottom: 2rem;
    }

    .contact-page .banner-section {
        min-height: 80px;
        padding: 0.75rem 0;
    }

    .contact-page .banner-title {
        font-size: 1.75rem;
        padding: 0 1rem;
    }

    .contact-page .container {
        padding: 1rem;
        align-items: flex-start;
    }

    .contact-page .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }

    .contact-page .contact-info {
        padding: 1rem;
        gap: 1rem;
    }

    .contact-page .business-hours {
        margin-bottom: 0.5rem;
    }

    .contact-page .business-hours h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-page .hours-grid {
        gap: 0.5rem;
    }

    .contact-page .hours-item {
        padding: 0.75rem;
        font-size: 0.95rem;
    }

    .contact-page .contact-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-page .contact-item {
        padding: 0.75rem;
        min-height: 60px;
    }

    .contact-page .contact-item img {
        width: 36px;
        height: 36px;
        padding: 0.4rem;
    }

    .contact-page .contact-item h3 {
        font-size: 1rem;
        margin-bottom: 0.15rem;
    }

    .contact-page .contact-item p {
        font-size: 0.95rem;
    }

    .contact-page .contact-link {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-page .banner-section {
        min-height: 70px;
    }

    .contact-page .banner-title {
        font-size: 1.5rem;
    }

    .contact-page .container {
        padding: 0.75rem;
    }

    .contact-page .contact-info {
        padding: 0.75rem;
    }

    .contact-page .business-hours h2 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .contact-page .hours-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.9rem;
    }

    .contact-page .contact-item {
        padding: 0.6rem;
        min-height: 52px;
    }

    .contact-page .contact-item img {
        width: 32px;
        height: 32px;
        padding: 0.35rem;
    }

    .contact-page .contact-item h3 {
        font-size: 0.95rem;
    }

    .contact-page .contact-item p {
        font-size: 0.9rem;
    }

    .contact-page .contact-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.6rem;
        min-height: 32px;
    }
}

/* Touch Device Optimizations for Contact Page */
@media (hover: none) {
    .contact-page .contact-item:active,
    .contact-page .contact-link:active,
    .contact-page .hours-item:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    .contact-page .contact-link {
        -webkit-tap-highlight-color: transparent;
    }
}