:root {
  --navbar-height: 100px;
  /* Navbar Colors */
  --navbar-default-bg: #ffffff;
  --navbar-scrolled-bg: rgba(255, 255, 255, 0.98);
  --navbar-scrolled-shadow: 0 8px 20px rgba(0, 0, 0, 0.21);
  --nav-text-color: #1f2937;
  --nav-text-color-hover: black;
  --nav-after-color: #1f2937;
  --nav-button-text: #1e40af;
  --nav-button-text-hover: #3b82f6;
  --nav-button-hover-bg: #f3f4f6;

  --nav-logo-text-color: #1e40af;
  --nav-logo-text-color-hover: #3b82f6;

  /* Footer */
  --footer-bg: #215f98;
  --footer-text: #ededed;
  --footer-link-hover: white;
  --footer-border-color: #1c7fdb;
  --footer-border-gradient-color-1: #4f9ae0;
  --footer-border-gradient-color-2: #82b9ed;
  --footer-border-gradient-color-3: #c6e4ff;
  --footer-wave-color: #4f9ae0;
  --footer-gradient-1: #ffffff5d;
  --footer-gradient-2: #4d9ae675;
  --footer-gradient-3: #4f9ae098;
  --footer-button-text: #ededed;
  --footer-button-text-hover: white;
  --footer-button-bg: #007bff;
  --footer-button-hover: #0056b3;
}

body[data-theme="dark"] {
  --navbar-default-bg: rgb(18, 18, 18);
  --navbar-scrolled-bg: rgba(18, 18, 18, 0.97);
  --navbar-scrolled-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  --nav-text-color: #cccccc;
  --nav-text-color-hover: #e0aa1c;
  --nav-after-color: #c49218;
  --nav-button-text: #957c13;
  --nav-button-text-hover: #c49218;
  --nav-button-hover-bg: rgba(196, 146, 24, 0.1);

  --nav-logo-text-color: #c6c6c6;
  --nav-logo-text-color-hover: #c49218;

  /* Footer */

  --footer-bg: #1a1a1a;
  --footer-link-hover: #e0aa1c;
  --footer-text: #cccccc;
  --footer-border-color: #2a2a2a;
  --footer-wave-color-dark: #ffffff;
  --footer-gradient-1: #ffffff2d;
  --footer-gradient-2: #14141423;
  --footer-gradient-3: #0000001a;
  --footer-border-gradient-color-1: #ffffff87;
  --footer-border-gradient-color-2: #ffffff25;
  --footer-border-gradient-color-3: #ffffffa8;
  --footer-button-text: #121212;
  --footer-button-text-hover: black;
  --footer-button-bg: #ededed;
  --footer-button-hover: #ffffff;
}

/* Modern Navbar */
.modern-navbar {
  background: var(--navbar-default-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--navbar-scrolled-shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-normal);
}
.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-logo {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.logo-text {
  font-family: var(--font-primary);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--nav-logo-text-color);
}
.logo-text:hover {
  color: var(--nav-logo-text-color-hover);
}

.nav-links {
  display: flex;
  gap: var(--space-8);
}

.nav-link {
  text-decoration: none;
  color: var(--nav-text-color);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--nav-text-color-hover);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--nav-after-color);
  transition: var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

/* Book Now button in navbar */
.nav-book-btn {
  background: linear-gradient(135deg, #d4af37, #b8962d) !important;
  color: #000 !important;
  padding: 7px 18px !important;
  border-radius: 20px !important;
  font-weight: 700 !important;
  transition: transform 0.2s, filter 0.2s !important;
}
.nav-book-btn:hover {
  transform: scale(1.04);
  filter: brightness(1.1);
}
.nav-book-btn::after { display: none !important; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.nav-actions button {
  background: none;
  border: none;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  color: var(--nav-button-text);
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-actions button:hover {
  background: var(--nav-button-hover-bg);
  color: var(--nav-button-text-hover);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 3px;
}

.mobile-menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--nav-text-color);
  transition: var(--transition-fast);
}
/* تنسيق منطقة المستخدم في الناف بار */
.user-profile-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(212, 175, 55, 0.15); /* لون ذهبي شفاف */
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid var(--gold);
}

.user-avatar {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gold);
    font-weight: bold;
    font-size: 14px;
}

.user-avatar i {
    font-size: 20px;
}

.logout-link {
    color: #ff4d4d; /* أحمر خفيف للخروج */
    margin-right: 5px;
    transition: 0.3s;
}

.logout-link:hover {
    transform: scale(1.1);
}

/* تعديلات الموبايل */
@media (max-width: 768px) {
    .user-name-text {
        display: none; /* إخفاء اسم المستخدم في الموبايل */
    }
    .user-profile-nav {
        padding: 8px; /* تقليل المساحة ليصبح دائرياً تقريباً */
        border-radius: 50%;
    }
    .mobile-only-icon {
        display: block;
        font-size: 18px;
    }
    .desktop-only-text {
        display: none;
    }
}

@media (min-width: 769px) {
    .mobile-only-icon {
        display: none;
    }
}
/* زر الأفاتار الأساسي */
.user-avatar-btn {
    background: none;
    border: 2px solid #555; /* لون رمادي قبل الدخول */
    color: #555;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
}

/* لون الأفاتار بعد تسجيل الدخول */
.user-avatar-btn.authenticated {
    border-color: #d4af37; /* اللون الذهبي */
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

/* حاوية القائمة المنسدلة */
/* حاوية القائمة - يجب أن تكون Relative */
/* .user-dropdown {
    position: relative;
    display: flex;
    align-items: center;
} */

/* القائمة المنسدلة نفسها */


/* عندما تأخذ كلاس show تظهر */
/* .dropdown-content.show {
    display: block;
    animation: fadeInDropdown 0.3s ease;
} */

/* رأس القائمة (يحتوي على الاسم) */
.user-info-header {
    padding: 10px 15px;
    border-bottom: 1px solid #333;
    margin-bottom: 5px;
}

.user-name-text {
    color: var(--gold);
    font-weight: bold;
    font-size: 15px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* الروابط داخل القائمة
.dropdown-content a {
    color: #eee;
    padding: 12px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
}

/* أيقونات القائمة */
/* .dropdown-content a i {
    width: 20px;
    text-align: center;
} */

/* أنيميشن الظهور */
/* @keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
} */ 
 /* الحاوية الرئيسية للأفاتار والقائمة */
.user-dropdown {
    position: relative; /* ضروري لعمل القائمة المنسدلة */
    display: inline-block;
    align-items: center;
    justify-content: center;
}

/* زر الأفاتار (الدائرة) */
.user-avatar-btn {
    background: none;
    border: 2px solid #555; 
    color: #555;
    font-size: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s ease;
    padding: 0;
}

/* حالة تسجيل الدخول (ذهبي) */
.user-avatar-btn.authenticated {
    border-color: #d4af37;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

/* ── القائمة المنسدلة للملف الشخصي ── */
.dropdown-content {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    background-color: #1a1a1a;
    min-width: 230px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    border: 1px solid rgba(212,175,55,0.5);
    border-radius: 10px;
    z-index: 9999;
    overflow: hidden;
    padding: 4px 0;
}

/* Desktop: محاذاة القائمة حسب اتجاه الصفحة */
@media (min-width: 769px) {
    [dir="rtl"] .dropdown-content {
        right: -180px;
        left: auto;
    }
    [dir="ltr"] .dropdown-content {
        right: 0;
        left: auto;
    }
}

/* إظهار القائمة */
.dropdown-content.show {
    display: block;
    animation: fadeInDropdown 0.25s ease;
}

/* رأس المستخدم (الاسم + الإيميل) */
.dropdown-content .user-info-header {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid #2a2a2a;
    box-sizing: border-box;
    overflow: hidden;
}

.user-header-name {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #d4af37;
    font-weight: 700;
    font-size: 14px;
}

.user-header-email {
    font-size: 0.75rem;
    color: #888;
    margin-top: 3px;
    padding-inline-start: 26px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* الروابط داخل القائمة */
.dropdown-content a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 11px 16px;
    text-decoration: none;
    color: #ddd;
    font-size: 14px;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s;
    gap: 10px;
    box-sizing: border-box;
}

.dropdown-content a:hover {
    background-color: rgba(212,175,55,0.1);
    color: #d4af37;
}

.dropdown-content i {
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

/* زر تسجيل الخروج */
.logout-item {
    color: #ff5555 !important;
    border-top: 1px solid #2a2a2a;
    margin-top: 2px;
}
.logout-item:hover {
    background-color: rgba(255,80,80,0.1) !important;
    color: #ff5555 !important;
}

/* أنيميشن الظهور */
@keyframes fadeInDropdown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* موبايل: القائمة بانل كامل العرض */
@media (max-width: 768px) {
    .dropdown-content {
        position: fixed !important;
        top: 76px !important;
        left: 8px !important;
        right: 8px !important;
        min-width: auto !important;
        width: calc(100vw - 16px) !important;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 99999;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.7);
    }

    .dropdown-content a {
        white-space: normal;
        padding: 13px 18px;
        font-size: 15px;
    }

    .dropdown-content .user-info-header {
        padding: 16px 18px;
    }

    .user-header-name {
        font-size: 15px;
    }

    .user-header-email {
        font-size: 0.8rem;
        padding-inline-start: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
/*----------------------- [Footer] ------------------*/

.footer {
  background-color: var(--footer-bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  color: var(--footer-text);
  padding: 20px 15px 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

.footer::before {
  content: "";
  display: block;
  height: 4px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(
    to right,
    var(--footer-border-gradient-color-1),
    var(--footer-border-gradient-color-2),
    var(--footer-border-gradient-color-3),
    var(--footer-border-gradient-color-2),
    var(--footer-border-gradient-color-1)
  );
  background-size: 300% 100%;
  animation: animated-border 6s linear infinite;
  z-index: 2;
  border-radius: 2px;
}

@keyframes animated-border {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 0%;
  }
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  max-width: 77%;
  margin: 0 auto;
  padding: 15px 0;
  box-sizing: border-box;
}

.footer-right-part {
  display: flex;
  flex-direction: row-reverse;
  flex-grow: 2;
  justify-content: flex-end;
}

.footer-right-part .footer-links {
  padding-top: 20px;
}

.footer-contact {
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: right;
  padding-right: 15px;
  margin-right: 20px;
  order: 1;
}

.footer-contact h4 {
  font-size: 1rem;
  color: var(--footer-text);
  margin-bottom: 12px;
}

.footer-contact .contact-description {
  font-size: 0.85rem;
  color: var(--footer-text);
  margin-bottom: 10px;
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--footer-text);
  font-size: 0.9rem;
  justify-content: flex-end;
}

.footer-contact .contact-item .contact-icon {
  font-size: 1.1rem;
  color: var(--footer-text);
}

[dir="ltr"] .contact-icon {
  transform: scaleX(-1);
}

.footer-contact .contact-item .hotline-number {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--footer-text);
}

.footer-contact .contact-item a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
  color: var(--footer-link-hover);
}

.footer-important-links {
  display: flex;
  flex-direction: row-reverse;
  flex-grow: 1;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 20px;
}

.footer-quick-list {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 6px 20px;
}

.footer-quick-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}

[dir="rtl"] .footer-quick-list li::before {
  content: "•";
  color: var(--footer-link-hover);
  font-size: 0.65rem;
  flex-shrink: 0;
}

[dir="ltr"] .footer-quick-list li::after {
  content: "•";
  color: var(--footer-link-hover);
  font-size: 0.65rem;
  order: -1;
  flex-shrink: 0;
}

/* ── Footer Brand ── */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  order: 3;
  padding-top: 20px;
  min-width: 160px;
}

.footer-brand__logo {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  border: 2px solid rgba(196, 146, 24, 0.35);
  box-shadow: 0 0 12px rgba(196, 146, 24, 0.25);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.footer-brand__logo:hover {
  box-shadow: 0 0 22px rgba(196, 146, 24, 0.55);
  transform: scale(1.06);
}

.footer-brand__name {
  font-family: var(--font-display, 'Lalezar', sans-serif);
  font-size: 1.6rem;
  color: var(--footer-link-hover);
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 8px;
}

.footer-brand__tagline {
  font-size: 0.65rem;
  color: var(--footer-text);
  opacity: 0.55;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.6;
}

.footer-links-group {
  display: flex;
  flex-direction: row-reverse;
  flex-grow: 1;
  justify-content: flex-end;
  align-items: flex-start;
  flex-wrap: wrap;
  order: 2;
  padding-top: 20px;
}

.footer-links {
  min-width: 160px;
}

.footer-links h4 {
  margin-bottom: 12px;
  font-size: 1rem;
  color: var(--footer-text);
}

.footer-links ul {
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}

[dir="rtl"] .footer-icon {
  margin-left: 8px;
}

[dir="ltr"] .footer-icon {
  margin-right: 8px;
}

[dir="rtl"] .footer-links li {
  margin-right: 22px;
  text-align: right;
}

[dir="ltr"] .footer-links li {
  margin-left: 22px;
  text-align: left;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--footer-link-hover);
}

.footer-weather {
  font-size: 0.9rem;
  color: var(--footer-text);
}

.footer-weather p,
.footer-weather div {
  font-size: 0.9rem;
  color: var(--footer-text);
}

.footer-divider-wrapper {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.social-media-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

.social-media-divider::before,
.social-media-divider::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background-color: var(--footer-text);
  opacity: 0.8;
}

[dir="rtl"] .social-media-divider::before {
  margin-left: 15px;
}

[dir="ltr"] .social-media-divider::before {
  margin-right: 15px;
}

[dir="rtl"] .social-media-divider::after {
  margin-right: 15px;
}

[dir="ltr"] .social-media-divider::after {
  margin-left: 15px;
}

.social-media-divider .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--footer-button-bg);
  color: var(--footer-button-text);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 0 5px;
}

.social-media-divider .social-icon:hover {
  background-color: var(--footer-button-hover);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 90%;
  margin: 10px auto;
  padding: 0 15px;
  box-sizing: border-box;
  flex-wrap: wrap;
  flex-direction: row-reverse;
}

.footer-bottom a:hover {
  color: var(--footer-link-hover);
}

.footer-bottom .footer-team-link {
  order: 3;
  margin-right: auto;
  white-space: nowrap;
}

.footer-bottom .footer-copyright-text {
  order: 2;
  flex-grow: 1;
  text-align: center;
  white-space: nowrap;
}

[dir="rtl"] .footer-bottom .footer-copyright-text {
  margin-right: 115px;
}

[dir="ltr"] .footer-bottom .footer-copyright-text {
  margin-left: 145px;
}

.footer-weather.footer-bottom-item {
  order: 1;
  margin-left: auto;
  text-align: left;
  white-space: nowrap;
}

.to-top-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--footer-button-bg);
  color: var(--footer-button-text);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: none;
  z-index: 999;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 20px;
}

.to-top-button::before {
  content: "\f102";
}

.to-top-button:hover {
  background-color: var(--footer-button-hover);
  color: var(--footer-button-text-hover);
  transform: translateY(-3px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    background: var(--navbar-default-bg);

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: var(--space-8) 0;
    gap: var(--space-6);
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.mobile-menu-open {
    display: flex;
  }

  .nav-link {
    font-size: var(--text-lg);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    width: 80%;
    text-align: center;
    color: var(--text-color);
  }

  .nav-link:hover {
    background: var(--navbar-link-hover);
    transform: translateY(-2px);
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-toggle span {
    transition: all 0.3s ease;
    background: var(--text-color);
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 15px 10px 80px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    order: 1;
  }

  .footer-right-part {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-contact {
    flex: 0 0 auto;
    width: 100%;
    padding: 0;
    margin: 0;
    align-items: center;
    text-align: center;
  }

  .footer-contact .contact-item {
    justify-content: center;
  }

  .footer-links-group {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 0;
  }

  .footer-important-links {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .footer-brand {
    order: 10;
    width: 100%;
    padding-top: 16px;
    padding-bottom: 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 4px;
  }

  .footer-quick-list {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-auto-flow: row;
    justify-items: center;
  }

  .footer-links-group {
    order: 2;
  }

  .footer-links {
    width: 100%;
    text-align: center;
    padding-top: 10px;
    order: 2;
  }

  .footer-links ul {
    list-style: none;
  }

  .footer-right-part .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .footer-right-part .footer-links li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .footer-links h4 {
    font-size: 0.95rem;
  }

  .footer-links a {
    font-size: 0.85rem;
  }

  .footer-contact h4 {
    font-size: 0.95rem;
  }

  .footer-contact .contact-description {
    font-size: 0.8rem;
  }

  .footer-contact .contact-item {
    font-size: 0.85rem;
  }

  .footer-contact .contact-item .hotline-number {
    font-size: 1.3rem;
  }

  .social-media-divider {
    width: 100%;
    margin: 10px auto;
  }

  .social-media-divider::before,
  .social-media-divider::after {
    margin: 0 8px;
  }

  .social-media-divider .social-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    padding: 0;
    width: 100%;
    margin: 10px auto;
  }

  .footer-bottom .footer-team-link,
  .footer-bottom .footer-copyright-text,
  .footer-weather.footer-bottom-item {
    order: unset;
    margin: 0;
    width: 100%;
    text-align: center;
    white-space: normal;
    font-size: 0.85rem;
  }

  [dir="rtl"] .footer-bottom .footer-copyright-text,
  [dir="ltr"] .footer-bottom .footer-copyright-text {
    margin: 0;
  }

  .to-top-button {
    left: 10px;
    bottom: 10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 10px 8px 80px;
  }

  .footer-content {
    gap: 10px;
    padding: 10px;
  }

  .footer-contact h4,
  .footer-links h4 {
    font-size: 0.9rem;
  }

  .footer-contact .contact-description {
    font-size: 0.75rem;
  }

  .footer-contact .contact-item {
    font-size: 0.8rem;
    gap: 6px;
  }

  .footer-contact .contact-item .hotline-number {
    font-size: 1.2rem;
  }

  .footer-links a {
    font-size: 0.8rem;
  }

  .footer-right-part .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .footer-right-part .footer-links li {
    margin: 0;
    width: 100%;
    text-align: center;
  }

  .social-media-divider .social-icon {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .footer-bottom {
    gap: 6px;
  }

  .footer-bottom .footer-team-link,
  .footer-bottom .footer-copyright-text,
  .footer-weather.footer-bottom-item {
    font-size: 0.8rem;
  }

  .to-top-button {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}
