.hide {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background-color: transparent !important;
}

a {
  text-decoration: none;
}

/* ========== DESKTOP NAVIGATION (>= 769px) ========== */
@media (min-width: 769px) {
   
  .pc-nav,
  .Mobile-nav {
    display: none !important;
     
  }

  .navbar {
    display: flex;
    justify-content: center;
    padding: 1rem 2rem;
    position: static;
    top: 0;
    z-index: 1000;
    transition-duration: 0.5s;
    opacity: 90%;
    background: transparent;
  }

  .navbar:hover {
    transition-duration: 0.5s;
    opacity: 100%;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80%;
    height: 65px;
    border-radius: 25px;
    padding: 0 20px;
    background-color: #D72229;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    direction: rtl;
  }

  .desktop-nav .logo {
    width: 90px;
    height: 57px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .desktop-nav .logo img {
    width: 30.52px;
    height: 37px;
    object-fit: contain;
  }

  .desktop-nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
  }

  .desktop-nav ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    width: fit-content;
    height: 30px;
    display: block;
    transition: 0.2s;
  }

  .desktop-nav ul li a:hover {
    opacity: 0.8;
  }

  .desktop-nav ul li a.active {
    position: relative;
    color: #000;
    border-radius: 50px;
    border: 2px solid transparent;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
  }

  .desktop-translate {
    background:#FFFFFF;
    backdrop-filter: blur(4px);
    border-radius: 30px;
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #D72229;
    font-weight: 500;
    transition: 0.2s;
     border:none;
  }
}

/* ========== MOBILE ONLY (max-width: 768px) ========== */
@media (max-width: 768px) {
  .desktop-nav-container {
    display: none;
  }

  .pc-nav {
    display: none;
  }

  .Mobile-nav {
    display: block;
    width: 100%;
    position: sticky;
    top: 16px;
    z-index: 1050;
            margin-bottom: 16px;

  }

  .mobilenav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 20px);
    margin: 12px 10px 0 10px;
    min-height: 75px;
    background-color: transparent !important;
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 0 21px;
    opacity: 1;
    position: relative;
    z-index: 2001;
    gap: 15px;
  }

  .logo-translate-group {
    background: #D72229;
    width: 80%;
    height: 75px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    padding: 0 20px;
    border-radius: 25px;
  }

  .logo {
    background-color: transparent !important;
    transition: filter 0.2s ease;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .logo img {
    width: 43px;
    height: 50px;
    object-fit: contain;
    border: none;
    display: block;
    transition: filter 0.25s ease;
  }

  body.menu-open .logo img {
    filter: brightness(0) invert(0);
  }

  .mobile-translate {
    background: #FFFFFF;
    backdrop-filter: blur(4px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    width: 60px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    padding: 0;
  }

  body.menu-open .mobile-translate {
    border: none;
    background: #000000;
  }

  .translate-img {
    object-fit: contain;
    display: block;
    border-radius: 12px;
    width: 25px;
    height: 26px;
    opacity: 1;
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
  }

  .icon-burger {
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    transition: 0.2s;
    border-radius: 25px;
    padding: 0;
    flex-shrink: 0;
    border: none;
    background: #D72229;
    width: 20%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }

  body.menu-open .icon-burger {
    background: #D72229;
  }

  .burger-img {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
    transition: 0.2s;
  }

  body.menu-open .burger-img {
    filter: brightness(0);
  }

  .nav-section {
    background: rgba(8, 8, 12, 0.96);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    border-radius: 0;
    padding: 100px 1.5rem 2rem;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.98);
    z-index: 2000;
    border: none;
    box-shadow: none;
    overflow-y: auto;
  }

  .nav-section.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .nav-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
    margin-top: 8vh;
  }
  

  .nav-section ul li {
    margin: 1.8rem 0;
  }

  .nav-section ul li a {
    text-decoration: none;
    color: white;
    font-size: 1.7rem;
    font-weight: 600;
    display: inline-block;
    padding: 0.5rem 0;
    transition: 0.25s;
    letter-spacing: 0.5px;
    position: relative;
  }

  /* .nav-section ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 0;
    height: 2px;
    background: #D72229;
    transition: width 0.25s ease;
  } */

  /* .nav-section ul li a:hover::after,
  .nav-section ul li a.active::after {
    width: 70%;
  } */

  .nav-section ul li a.active,
  .nav-section ul li a:hover {
    color: #D72229;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin: 3rem 0 1.8rem;
    flex-wrap: wrap;
  }

  .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: 0.25s;
  }

  .social-icons a:hover {
    background: #D72229;
    transform: translateY(-3px);
  }

  .social-icons a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: 0.2s;
  }

  .nav-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
  }

  .nav-bottom a {
    color: #D72229;
    text-decoration: none;
    font-weight: 600;
    background: transparent;
  }

  .close-menu-btn {
    position: fixed;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2002;
    transition: 0.2s;
  }

  .close-menu-btn:hover {
    background: #D72229;
    transform: rotate(90deg);
  }

  body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  @media (max-width: 480px) {
    .mobilenav {
      padding: 0 16px;
      min-height: 70px;
      gap: 12px;
    }

    .mobile-translate {
      width: 56px;
      height: 38px;
    }

    .logo img {
      width: 38px;
      height: 44px;
    }

    .nav-section {
      padding: 90px 1rem 2rem;
    }

    .nav-section ul {
      margin-top: 5vh;
    }

    .nav-section ul li a {
      font-size: 1.4rem;
    }

    .social-icons {
      gap: 1.2rem;
    }

    .burger-img {
      width: 24px;
      height: 24px;
    }

    .logo-translate-group {
      gap: 12px;
    }
  }

  [dir="rtl"] .mobilenav {
    flex-direction: row;
  }

  [dir="rtl"] .logo-translate-group {
    flex-direction: row;
  }
}
  
@media (min-width: 769px) {
  .badge-mobile {
    display: none;
  }
}

/* Additional styles */
.social-icons a img {
  background: transparent;
  padding: 0;
}

.social-icons a {
  transition: all 0.25s;
}

.social-icons a:hover {
  background: #D72229;
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .nav-section::-webkit-scrollbar {
    width: 4px;
  }
  .nav-section::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
  }
  .nav-section::-webkit-scrollbar-thumb {
    background: #D72229;
    border-radius: 10px;
  }
}

.icon-burger:active .burger-img {
  transform: scale(0.95);
}

.mobile-translate:active {
  transform: scale(0.96);
}