.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px; /* Increased padding */
    background: hsla(190, 90%, 48%, 1);

background: linear-gradient(180deg, hsla(190, 90%, 48%, 1) 0%, hsla(24, 2%, 58%, 1) 64%);

background: -moz-linear-gradient(180deg, hsla(190, 90%, 48%, 1) 0%, hsla(24, 2%, 58%, 1) 64%);

background: -webkit-linear-gradient(180deg, hsla(190, 90%, 48%, 1) 0%, hsla(24, 2%, 58%, 1) 64%);

filter: progid: DXImageTransform.Microsoft.gradient( startColorstr="#0CC4E9", endColorstr="#979492", GradientType=1 );
    color: white;
    height: 40px; /* Increase height */
    position: fixed;
  top: 0px;
  left: 0;
  width: 97%;
  z-index: 1000; /* stays on top of everything */
    

  }
/* Ensure all page content clears the fixed navbar */
/* Apply global padding to offset fixed navbar */
body > main,
body > .container,
body > .listing-container,
body > .content,
body > section:first-of-type {
  padding-top: 70px; /* Adjust this if your navbar height ever changes */
}


  
  .navbar .logo img {
    height: 32px; /* Adjust logo size */
  }
  .nav-links .dropdown .dropdown-content a {
    font-size: 17px;
    color: #001a6e;
  }

  .nav-links {
    list-style-type: none;
    margin: 0;
    padding-left: 190px;
    display: flex;
  }
  
  .nav-links li {
    margin: 0 15px;
  }
  
.nav-links li a {
  color: white;
  font-weight: bolder;
  text-decoration: none;
 font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 20px; /* Increase font size for links */
  font-family: 'Poppins', sans-serif;
}
.nav-links li a:hover {
    color: #0cc4e9 /* Change the color on hover */
  }
.nav-links li a:hover:after{
width: 100%; 
left: 0;
background-color: #fff;
 }
  
  .navbar-end {
    display: flex;
    align-items: center;
   
  }
  
.language-switcher {
  margin-right: 15px;
}

.language-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-btn img {
  width: 20px;
  height: 14px;
  object-fit: contain;
  display: block;
}
.language-btn:hover img {
  opacity: 0.8;
}

  
  .profile-link {
    color: #0cc4e9;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: bolder;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 13px; /* Increase font size for links */
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff; /* Transparent background */
    border: 2px solid #0cc4e9 ; /* Border color */
    border-radius: 25px; /* Make it oval */
    border-color: #979492;
    padding: 8px 20px; /* Add padding for the oval shape */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
  }
  
  .profile-link:hover {
    color: #0cc4e9; /* Change the color of the text on hover */
    background-color:#979492 ;; /* Change background color on hover */
    border-color: #ffffff; /* Change border color on hover */
  }
  
  .profile-link:hover .user-icon {
    transform: scale(1.1); /* Slightly increase the user icon size on hover */
    transition: transform 0.3s ease; /* Smooth transition for the icon */
    
  }
  
  .user-icon {
    width: 35px;
    height: 35px;
    margin-right: 5px;
  }
  
  /* Add this class to hide the image */
  .profile-link.no-image .user-icon {
    display: none;
  }
  
  /* Adjust the layout to account for the missing image */
  .profile-link.no-image {
    padding-left: 20px; /* Add padding to maintain alignment */
  }
  /* Mobile View */
  .burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .burger-menu .line {
    width: 25px;
    height: 3px;
    background-color: rgb(0, 44, 110);
    margin: 5px 0;
  }
  


  /* Mobile styles */
  @media (max-width: 768px) {
    .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      align-items: center;
      position: absolute;
      top: 60px;
      left: 0;
      background-color: #333;
    }
    
  .language-switcher {
  margin-right: 15px;
}

.language-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-btn img {
  width: 20px;
  height: 14px;
  object-fit: contain;
  display: block;
}
.language-btn:hover img {
  opacity: 0.8;
}
    .nav-links li {
      margin: 10px 0;
    }
  
    .navbar-end {
      display: none;
    }
  
    .burger-menu {
      display: flex;
    }
  
    .nav-links.active {
      display: flex;
    }
  }
    /* Dropdown Menu */
    .dropdown {
        position: relative;
      }
      
      .dropbtn {
        color: #fff;
        background-color: transparent;
        border: none;
        cursor: pointer;
        font-size: 14px; /* Adjust font size */
        padding: 8px 12px; /* Adjust padding */
      }
      
      #marketplace-label-ar {
        display: none;
      }
      
      .dropdown-content {
        display: none;
        position: absolute;
        background-color: #d8eaff;
        min-width: 170px; /* Adjust width */
        z-index: 1;
        top: 100%;
        left: 0;
      }
      
      .dropdown-content a {
        padding: 6px 10px; /* Smaller padding */
        text-decoration: none;
        display: block;
        color: white;
        font-size: 12px; /* Smaller font size */
      }
      
      .dropdown:hover .dropdown-content {
        display: block;
      }
      
      .dropdown-content a:hover {
        background-color: #94bcec;
        color: black;
      }
      
      /* Language Switcher */
      .lang-switch a {
        color: white;
        text-decoration: none;
      }
      
      .lang-switch a:hover {
        color: #ddd;
      }
    

      .footer {
        background-color: #333;
        color: #fff;
        padding: 60px 0;
        margin-top: 40px;
    }
    
    .footer-container {
        width: 80%;
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        gap: 40px;
        flex-wrap: wrap; /* Ensures it wraps on small screens */
    }
    
    .footer-contact,
    .footer-social,
    .footer-links {
        flex: 1;
        margin-bottom: 20px;
    }
    
    .footer-contact h3,
    .footer-social h3,
    .footer-links h3 {
        font-size: 20px;
        margin-bottom: 10px;
        color: #f7f7f7;
    }
    
    .footer-contact p,
    .footer-social a,
    .footer-links a {
        font-size: 16px;
        color: #979492 !important;
        margin-bottom: 8px;
      display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
    }
    
    .footer-social a:hover,
    .footer-links a:hover {
        color: #0cc4e9;
        text-decoration: underline;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 20px;
        font-size: 14px;
        color: #ccc;
    }
    
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .contact-container {
            flex-direction: column; /* Stacks the form and image on small screens */
            align-items: center;
        }
    
        .contact-form {
            width: 100%;
            margin-top: 20px;
        }
    
        .footer-container {
            flex-direction: column;
            align-items: center;
        }
    
        .footer-contact,
        .footer-social,
        .footer-links {
            margin-bottom: 20px;
        }
    }
    .contact-info {
        width: 100%;
        margin-bottom: 20px;
        font-weight: bold;
        
    }
    .whatsapp-link {
        position: fixed;
        bottom: 20px;  /* Distance from the bottom of the screen */
        right: 20px;   /* Distance from the right of the screen */
        z-index: 1000; /* Ensure it stays on top of other elements */
    }
    
    .whatsapp-icon {
        width: 60px;  /* Size of the icon */
        height: 60px;
        fill: white;  /* Icon color */
        background-color: #25D366; /* WhatsApp green background */
        border-radius: 50%;  /* Circular shape */
        padding: 10px;  /* Padding inside the circle */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Shadow effect */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .whatsapp-link:hover .whatsapp-icon {
        transform: scale(1.1); /* Slight zoom effect on hover */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Larger shadow on hover */
    }
    .social-icon {
        width: 20px;
        height: 20px;
        vertical-align: middle;
        margin-right: 8px;
    }
    .social-link {
        display: flex;
        align-items: center;
        margin: 5px 0;
    }
body {
    margin: 0;
    color: #ffffff;
   overflow-x: hidden;
  height: 100%;
}
footer {
  background-color: #000;
  padding: 40px 20px;
  width: 100%; /* Ensure full width */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px; /* This centers the content nicely */
  margin: auto;
  color: #fff; /* Optional: make text visible on black */
}

/* Logo Styling */
.footer-logo img {
    width: 250px;
}

/* Links Section */
.footer-links {
  display: flex;
  flex-direction: column;   /* stack links vertically */
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 10px; /* smaller vertical spacing */
  width: 100%;
  margin: 0 auto;
  padding: 0;
}



.footer-links h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

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

.footer-links ul li {
    margin: 5px 0;
}

.footer-links ul li a {
    text-decoration: none;
    color: #1db954;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}
.social-icons a.tiktok img {
    filter: none; /* No filter for TikTok icon */
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #777;
}
.social-icons a img {
  width: 30px;
  height: 30px;
  /* Remove the filter */
}

.content {
  text-align: center;
  padding: 50px;
}


body {
  
  margin: 0;
  padding-bottom: 70px; /* Prevent content from being hidden under the navbar */
}

/* Content section */
.content {
  text-align: center;
  padding: 50px;
}

/* Bottom Navigation Bar */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgb(28,26,26);
  background: linear-gradient(148deg, rgba(28,26,26,1) 0%, rgba(125,122,122,1) 87%);  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

/* Navigation Items */
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  text-decoration: none;
}

.nav-item img {
  width: 32px; /* Adjust size as needed */
  height: 32px;
  margin-bottom: 5px;
  transition: transform 0.3s ease;
}

/* Hover effect for images */
.nav-item:hover img {
  transform: scale(1.2);
}

/* Specific styling for the Post button */
.post-btn {
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transform: translateY(-10px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.post-btn img {
  width: 30px; /* Adjust size as needed */
  height: 30px; /* Adjust size as needed */
}

.post-btn span {
  font-size: 10px; /* Adjust font size as needed */
  margin-top: 5px; /* Adjust spacing between image and text */
}

/* Menu Styling */
.menu {
  display: none;
  background-color: #fff;
  position: fixed;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
}

.menu.open {
  display: block;
}

.menu a {
  padding: 15px;
  display: block;
  text-decoration: none;
  color: #333;
}

.menu a:hover {
  background-color: #ddd;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: black; /* Adjust as needed */
  padding-bottom: 5px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: white; /* Adjust color as needed */
  transition: width 0.3s ease-in-out;
}

.nav-links a.active::after, 
.nav-links a:hover::after {
  width: 100%;
}
/* Mega Dropdown Styles */
.mega-dropdown {
  position: static !important;
}

.mega-dropbtn {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mega-dropbtn:hover {
  color: #4a9ff5;
}

.mega-dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  background:#ffffff ; /* Dark blue background */
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  padding: 25px;
  border-radius: 0 0 8px 8px;
  z-index: 1000;
}

.mega-dropdown:hover .mega-dropdown-content,
.mega-dropdown:focus-within .mega-dropdown-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.mega-column {
  flex: 1;
  min-width: 180px;
  padding: 0 15px;
  margin-bottom: 15px;
}

.mega-column h4 {
  color: #0cc4e9 ; /* Blue headings */
  font-size: 16px;
  margin-bottom: 15px;
  padding-bottom: 5px;
  border-bottom: 1px solid #3a4a5a;
}

.mega-column a {
  display: block;
  padding: 8px 0;
  color: #ecf0f1; /* Light text color */
  font-size: 14px;
  transition: all 0.2s;
}

.mega-column a:hover {
  color: #4a9ff5;
  transform: translateX(5px);
}

/* Language switching */
.en {
  display: block;
}
.ar {
  display: none;
}

/* When Arabic language is active */
body[dir="rtl"] .en {
  display: none;
}
body[dir="rtl"] .ar {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .mega-dropdown-content {
    flex-direction: column;
    max-height: 70vh;
    overflow-y: auto;
    position: relative;
  }

  .mega-column {
    min-width: 100%;
    padding: 10px 0;
  }
}

@media (max-width: 768px) {
  .mega-dropdown-content {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    background: #2c3e50;
    display: none;
    flex-direction: column;
    padding: 15px;
  }

  .mega-dropdown:hover .mega-dropdown-content,
  .mega-dropdown:focus-within .mega-dropdown-content {
    display: flex;
  }

  .mega-dropbtn {
    width: 100%;
    text-align: left;
    padding: 10px;
  }

  .mega-column {
    width: 100%;
  }
}
.mega-column a{
  color: #929497  !important
};  
/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
  display: none; /* Hidden by default, shown only on mobile via media query */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  position: fixed;
  top: 20px;
  right: 20px;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #000000;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Side Menu Styles */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px; /* Start off-screen */
  width: 280px;
  height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.side-menu.open {
  right: 0;
}

.side-menu-header {
  display: flex;
  justify-content: center;  /* Centers content horizontally */
  align-items: center;      /* Optional: vertically center if needed */
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-logo {
  height: 40px;
  display: block;
  margin: 0 auto; /* Ensures logo is centered if used in non-flex cases too */
  z-index: 1002;
}


.side-menu-links {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  flex-grow: 1;
}

.side-menu-links li a {
  display: block;
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.side-menu-links li a:hover {
  background: rgba(255, 255, 255, 0.3);
  border-left: 4px solid #4a6cf7;
  padding-left: 30px;
  color: #4a6cf7;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: none;
}

/* Responsive - Show menu button only on mobile */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }
}
/* Mobile Menu Button (Hamburger) working */ 
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  position: fixed;
  top: 25px;  /* Try 48 to 52 depending on exact logo size */
  right: 25px;
}


.hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Side Menu Styles */
.side-menu {
  position: fixed;
  top: 0px;
  right: -300px; /* Start off-screen */
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* For Safari support */
}

.side-menu.open {
  right: 0;
}

.side-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.menu-logo {
  height: 40px;
}

.close-btn {
  font-size: 28px;
  cursor: pointer;
  color: #333;
  transition: transform 0.2s;
}

.close-btn:hover {
  transform: scale(1.2);
}

.side-menu-links {
  list-style: none;
  padding: 20px 0;
  margin: 0;
  flex-grow: 1;
}

.side-menu-links li a {
  display: block;
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.side-menu-links li a:hover {
  background: rgba(255, 255, 255, 0.3);
  border-left: 4px solid #979492;
  padding-left: 30px;
  color: #0cc4e9;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive - Show menu button only on mobile */
@media (max-width: 1024px) {
  .mobile-menu-btn {
    display: flex;
  }
}

.side-menu .language-switcher {
  display: flex;
  align-items: center;
  margin-left: 25px; /* ✅ try 25px or match .side-menu-links li a padding */
  margin-bottom: 10px;
}


.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 25px;
  margin-right: 10px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 34px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s;
}

.slider::before {
  position: absolute;
  content: "";
  height: 19px;
  width: 19px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: .4s;
}

input:checked + .slider {
  background-color: #4caf50;
}

input:checked + .slider::before {
  transform: translateX(25px);
}

.user-icon {
  width: 40px; /* Adjust icon size */
  height: 40px;
  border-radius: 50%;
}
.user-info-text {
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: bolder;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size: 17px; /* Increase font size for links */
  font-family: 'Poppins', sans-serif;
  background-color: transparent; /* Transparent background */
  transition: all 0.3s ease; /* Smooth transition for hover effects */
}
.custom-style {
  color: #0cc4e9;
  text-align: center;
  display: block;
  width: 100%;
  margin-top: -20px; /* raise it up slightly */
}


#languageLabel #languageText {
  color: white !important;
  margin-left: 10px !important;
  display: none !important;
}

.language-switcher-container {
  color: white !important;
  padding-left: 30px !important; /* or margin-left */
  cursor: pointer; /* move cursor pointer here if you want */
  display: inline-block; /* if needed */
  margin-top: 10px;
}

@media (max-width: 1024px) {
  .nav-links,
  .navbar-end {
    display: none !important;
  }

  .mobile-menu-btn,
  .side-menu {
    display: flex !important;
  }
}

@media (min-width: 1025px) {
  .nav-links,
  .navbar-end {
    display: flex !important;
  }

  .mobile-menu-btn,
  .side-menu {
    display: none !important;
  }
}

