    /* Base Styles & Fonts */
    /* Define Vazirmatn font */
    @font-face {
      font-family: 'Vazirmatn';
      src: url('https://firstglass.om/assets/fonts/Vazirmatn-Regular.ttf') format('truetype');
      font-weight: normal;
      font-style: normal;
    }

    /* Body styles */
    body {
      font-family: 'Vazirmatn', sans-serif; /* Use Vazirmatn with sans-serif fallback */
      direction: rtl; /* Default for Arabic */
      background-color: #f4f4f4; /* Light gray from theme */
      overflow-x: hidden; /* Prevent horizontal scroll */
    }
    .flag-icon{width:24px;height:24px;margin-right:8px;vertical-align:middle}
    /* Optional: LTR support for English */
    html[dir="ltr"] body {
      direction: ltr;
    }
    .lang-en { 
      font-family: 'Roboto', sans-serif; /* For English content */
      direction: ltr; 
    }

    /* General Animations & Transitions */
    .fade-in { 
      animation: fadeIn 1s ease-in forwards; 
    }
    @keyframes fadeIn { 
      from { opacity: 0; transform: translateY(20px); } 
      to { opacity: 1; transform: translateY(0); } 
    }
    .hover-scale { 
      transition: transform 0.3s ease, box-shadow 0.3s ease; 
    }
    .hover-scale:hover { 
      transform: scale(1.03); /* Slightly less aggressive scale */
      box-shadow: 0 8px 20px rgba(0,0,0,0.2); /* Enhance shadow on hover */
    }

    /* Slider Specific Styles */
    .slider-img { 
      width: 100%; 
      height: 700px; 
      object-fit: cover; 
      transition: opacity 1s ease-in-out; 
    }
    .portfolio-img {
      width: 100%;
      height: 400px; /* Adjust height for portfolio images */
      object-fit: cover;
      border-radius: 1rem; /* Rounded corners */
    }

    /* Button Styles */
    .btn-primary { 
      background: linear-gradient(to right, #dc2626, #b91c1c); 
      transition: all 0.3s ease; 
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      display: inline-flex; 
      align-items: center;
      justify-content: center;
      white-space: nowrap; /* Prevent text wrapping */
      padding: 12px 24px; /* Default padding for consistency */
      border-radius: 9999px; /* Full rounded */
    }
    .btn-primary:hover { 
      background: linear-gradient(to right, #b91c1c, #991b1b); 
      transform: translateY(-2px); 
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }
    
    .btn-wa { 
      background: rgba(0,0,0,0.62); /* Slightly transparent dark background */
      color: #fff; 
      font-weight: bold; 
      transition: all 0.3s ease; 
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      display: inline-flex; 
      align-items: center;
      justify-content: center;
      white-space: nowrap; /* Prevent text wrapping */
      padding: 12px 24px; /* Default padding for consistency */
      border-radius: 9999px; /* Full rounded */
    }
    .btn-wa:hover { 
      background: #128c7e; /* WhatsApp green */
      color: #fff; 
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    }

    /* Slider Navigation Arrows */
    .slider-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        color: white;
        padding: 1.25rem; /* Increased padding */
        cursor: pointer;
        z-index: 30; /* Above images and overlay */
        border-radius: 50%;
        font-size: 2rem;
        transition: background 0.3s ease;
        /* Font Awesome specific styles to ensure icons show */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .slider-arrow:hover {
        background: rgba(0,0,0,0.8);
    }
    /* RTL Specific Arrow Positioning */
    .slider-arrow.right { /* This is the 'previous' button in RTL (visually on the right) */
        left: 1rem; 
    }
    .slider-arrow.left { /* This is the 'next' button in RTL (visually on the left) */
        right: 1rem;
    }
    /* LTR Specific Arrow Positioning (Overrides for LTR) */
    .lang-en .slider-arrow.left { /* This is the 'previous' button in LTR (visually on the left) */
        left: 1rem;
        right: auto; /* Ensure it doesn't interfere with right positioning */
    }
    .lang-en .slider-arrow.right { /* This is the 'next' button in LTR (visually on the right) */
        right: 1rem;
        left: auto; /* Ensure it doesn't interfere with left positioning */
    }

    /* Slider Dots */
    .slider-dots {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      z-index: 30; /* Above images and overlay */
      display: flex;
      gap: 0.75rem; /* Space between dots */
    }
    .slider-dot {
      width: 12px;
      height: 12px;
      background-color: rgba(255,255,255,0.5);
      border-radius: 50%;
      cursor: pointer;
      transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .slider-dot.active {
      background-color: #dc2626; /* Active dot color */
      transform: scale(1.2);
    }

    /* Mobile Menu Overlay Styles */
    .mobile-menu-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.85); /* Dark overlay */
      z-index: 100; /* Above everything else */
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    .mobile-menu-overlay.open {
      opacity: 1;
      visibility: visible;
    }
    .mobile-menu-content {
      background: #fff; /* White background for menu items */
      padding: 2rem;
      border-radius: 1rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.5);
      width: 90%;
      max-width: 400px;
      text-align: center;
      transform: translateY(20px);
      opacity: 0;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .mobile-menu-overlay.open .mobile-menu-content {
      transform: translateY(0);
      opacity: 1;
    }
    .mobile-menu-content a {
      display: block;
      padding: 0.75rem 0;
      color: #333;
      font-size: 1.25rem;
      font-weight: 600;
      transition: color 0.2s ease;
    }
    .mobile-menu-content a:hover {
      color: #dc2626;
    }
    .mobile-menu-content button {
      margin-top: 1.5rem;
      width: 80%;
    }


    /* Responsive Adjustments (Mobile First) */
    @media (max-width: 768px) { /* Small screens (mobile) */
      .slider-img { height: 500px; }
      .slider-content { padding: 1rem; } 
      .slider-content h1 { font-size: 2.5rem; } 
      .slider-content p { font-size: 1.1rem; }
      .slider-buttons { 
        flex-direction: column; /* Stack buttons vertically */
        gap: 1rem; 
      } 
      .slider-buttons a, .slider-buttons span { 
        width: 100%; 
        text-align: center; 
        justify-content: center; 
      }
      .btn-wa .fa-whatsapp { /* For RTL */
        margin-left: 0.5rem; 
        margin-right: 0;
      }
      .btn-primary .fa-door-open { /* For RTL */
        margin-left: 0.5rem;
        margin-right: 0;
      }
      .lang-en .btn-wa .fa-whatsapp { /* For LTR */
        margin-right: 0.5rem;
        margin-left: 0;
      }
      .lang-en .btn-primary .fa-door-open { /* For LTR */
        margin-right: 0.5rem;
        margin-left: 0;
      }
      .slider-arrow {
        font-size: 1.5rem;
        padding: 0.75rem;
      }

      /* Hide desktop nav on small screens */
      header nav .desktop-nav-links {
        display: none;
      }
      /* Show hamburger on small screens */
      header .hamburger-menu-button {
        display: block;
      }
    }
    
    @media (min-width: 769px) { /* Medium screens and up (tablet, desktop, TV) */
      /* Hide hamburger on medium+ screens */
      header .hamburger-menu-button {
        display: none;
      }
      /* Show desktop nav on medium+ screens */
      header nav .desktop-nav-links {
        display: flex; /* Ensure it's visible as flex row */
      }
      /* Ensure default spacing for LTR on larger screens */
      .lang-en header nav .desktop-nav-links a {
        margin-left: 1rem; /* Example spacing */
        margin-right: 0;
      }
      /* Ensure default spacing for RTL on larger screens */
      header nav .desktop-nav-links a {
        margin-right: 1rem; /* Example spacing */
        margin-left: 0;
      }
      header nav.flex-row-reverse .desktop-nav-links a { /* Specific for RTL nav to handle reverse spacing */
        margin-left: 1rem;
        margin-right: 0;
      }
      header nav.flex-row-reverse .desktop-nav-links a:last-child {
        margin-left: 0;
      }
    }

    /* Feature Card Styles */
    .feature-card {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .feature-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .feature-icon {
      color: #dc2626; /* Red color for icons */
      font-size: 3.5rem; /* Large icons */
    }

    /* Call to Action Section Styles */
    .cta-section {
      background: linear-gradient(to right, #dc2626, #b91c1c);
      color: white;
      padding: 5rem 0; /* More padding for a grander feel */
      text-align: center;
      box-shadow: inset 0 5px 15px rgba(0,0,0,0.2);
    }
    .cta-button {
      background: #fff;
      color: #dc2626;
      font-weight: bold;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      padding: 16px 40px; /* Larger padding for CTA button */
      border-radius: 9999px;
      font-size: 1.25rem;
    }
    .cta-button:hover {
      background: #eee;
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    }
    /* Hero Slider Wrapper */
.hero-slider-wrapper {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  background-color: #333333; /* Black as fallback */
  direction: var(--dir, ltr); /* Supports RTL for Arabic */
}

/* Hero Slider Image */
.hero-slider-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  display: block;
}

/* Hero Slider Overlay */
.hero-slider-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0); /* Black overlay with opacity */
  z-index: 1;
}

/* Hero Slider Content */
.hero-slider-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  padding: 1rem;
}

/* Navigation Arrows */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  border-radius: 50%;
  transition: background-color 0.3s;
}

.hero-slider-arrow.left {
  left: 20px;
}

.hero-slider-arrow.right {
  right: 20px;
}

.hero-slider-arrow:hover {
  background-color: #cccccc !important; /* Gray on hover */
}

/* Dots Indicators */
.hero-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-slider-dot.active {
  background-color: #e30613; /* Red for active dot */
}

/* Buttons */
.btn-wa, .btn-primary {
  transition: transform 0.3s;
}

.btn-wa:hover, .btn-primary:hover {
  transform: scale(1.05); /* Hover scale effect */
}

/* RTL Support */
html[dir="rtl"] .hero-slider-content {
  direction: rtl;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-slider-content h1 {
    font-size: 2rem; /* Smaller heading on amobile */
  }
  .hero-slider-content p {
    font-size: 1.25rem; /* Smaller description on mobile */
  }
  .hero-slider-arrow {
    width: 40px;
    height: 40px;
  }
  .slider-buttons {
    flex-direction: column !important;
    gap: 1rem;
    width: 100%;
  }
  .slider-buttons a, .slider-buttons span {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* Ensure buttons are centered in mobile view */
@media (max-width: 768px) {
  .hero-slider-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .slider-buttons {
    display: flex;
    flex-direction: row; /* Keep row for buttons */
    justify-content: center; /* Center buttons horizontally */
    align-items: center;
    gap: 1rem; /* Adjust gap for mobile */
    width: 100%; /* Ensure full width for centering */
    flex-wrap: wrap; /* Allow buttons to wrap if needed */
  }

  .btn-wa, .btn-primary {
    flex: 1 1 auto; /* Allow buttons to grow/shrink */
    max-width: 250px; /* Limit button width for better appearance */
    text-align: center;
    font-size: 1rem; /* Adjust font size for mobile */
    padding: 10px 20px; /* Adjust padding for mobile */
  }

  /* Handle RTL for Arabic */
  .slider-buttons[style*="flex-row-reverse"] {
    flex-direction: row-reverse;
    justify-content: center;
  }
}
