.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 240px;
  background: linear-gradient(180deg, #1a1f2b, #111522);
  color: white;
  padding-top: 60px;
  transition: all 0.3s ease-in-out;
  z-index: 1000;
  box-shadow: 3px 0 10px rgba(0, 0, 0, 0.3);
}
.close-video{
border-radius: 50% !important;
}
  .nav-link {
      color: inherit;
      text-decoration: none;
      position: relative;
      font-size: 15px !important;
    }
    .app-name{
      margin-left: 10px !important;
    }
    .details{
      margin-top: 120px !important;
    }
    .nav-link .underline {
      display: block;
      height: 2px;
      background: red;
      width: 0;
      transition: width 0.3s;
      position: absolute;
      bottom: 0;
      left: 0;
    }
    .nav-link:hover .underline {
      width: 100%;
    }

    /* User dropdown hover */
    .user-menu:hover > ul > li > .dropdown-menu {
      display: block !important;
    }

    .dropdown-menu {
      min-width: 150px;
      border-radius: 4px;
      overflow: hidden;
      z-index: 1000;
    }
    .dropdown-item {
      padding: 5px 10px;
      font-size: 0.85rem;
      color: white;
      display: block;
      text-decoration: none;
    }
    .dropdown-item:hover {
      background-color: red;
      color: black
    }


.icon-user{
  font-weight: 900;

}
.admin-sidebar.closed {
  width: 70px;
}

.admin-sidebar .toggle-btn {
  position: absolute;
  top: 10px;
  right: -45px;
  background-color: #1a1f2b;
  border-radius: 50%;
  padding: 8px;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.admin-sidebar .toggle-btn:hover {
  background-color: #292f45;
}

.sidebar-content {
  overflow-y: auto;
  height: 100%;
}

.list-group-item {
  background: transparent !important;
  color: white !important;
  border: none !important;
  display: flex;
  align-items: center;
  font-size: 15px;
  padding: 10px 20px;
  transition: 0.2s ease-in-out;
}

.list-group-item:hover {
  background: #343a50 !important;
  transform: translateX(4px);
  border-radius: 8px;
}

.admin-sidebar.closed .list-group-item {
  justify-content: center;
  padding: 10px 0;
}

.admin-sidebar.closed .list-group-item span,
.admin-sidebar.closed h4 {
  display: none;
}

@media (max-width: 768px) {
  .admin-sidebar {
    width: 200px;
  }
}
.admin-sidebar {
  z-index: 1000 !important;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}

.table-hover tbody tr:hover {
  background-color: #f1f1f1;
}

.table thead th {
  background-color: #2c3e50;
  color: #fff;
  white-space: nowrap;
}

.img-thumbnail {
  border: 1px solid #ddd;
  padding: 2px;
  border-radius: 6px;
}
.table td,
.table th {
  padding: 8px 12px !important;
  vertical-align: middle;
}

.table img {
  width: 60px !important;
  height: 60px !important;
}

.table tbody tr {
  line-height: 1.2; /* reduces row height */
}
/* Make the stripes clearly black & white */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #ffffff !important; /* white rows */
}

.table-striped tbody tr:nth-of-type(even) {
  background-color: #f0f0f0 !important; /* light gray rows */
}

/* Optional: make hover darker for clarity */
.table-hover tbody tr:hover {
  background-color: #e0e0e0 !important;
  transition: background-color 0.2s ease;
}

.table thead th {
  background-color: #2c3e50 !important;
}
.loc {
  color: #ff5a5f !important;
}

.admin-pages {
  background-color: #f8f9fa;
  min-height: 100vh;
  overflow-x: hidden;
}

.sidebar {
  background: #ffffff;
  border-right: 1px solid #dee2e6;
  min-height: 100vh;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.main-content {
  background: #fff;
  border-radius: 8px;
  min-height: 100vh;
  margin-left: 15px; /* space between sidebar and content */
}

/* Make it responsive */
@media (max-width: 991px) {
  .row.flex-nowrap {
    flex-wrap: wrap;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid #ddd;
    box-shadow: none;
    min-height: auto;
    margin-bottom: 15px;
    position: relative !important;
  }

  .main-content {
    margin-left: 0;
  }
}
.summary-card {
  border-bottom: 4px solid #0d1a2e;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.summary-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
  border-top-color: #084298;
}

/* Optional: widen KPI boxes a bit */
@media (min-width: 992px) {
  .col-lg-2-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

/* Hover animation for main cards */
.simple-card {
  transition: all 0.25s ease-in-out;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.simple-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.hover-up {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-up:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.box-admin {
  border-bottom: 2px solid #021736 !important;
  color: white !important;
}

/* Performance Optimizations - Prevent FOUC */

/* Hide carousel items until initialized to prevent vertical stacking */
.ltn__image-slider-5-active > .col-lg-12 {
  display: none;
}

.ltn__image-slider-5-active > .col-lg-12:first-child {
  display: block;
}

.ltn__image-slider-5-active.slick-initialized > .col-lg-12 {
  display: block;
}

/* Smooth carousel loading */
.ltn__img-slider-area {
  min-height: 500px;
  position: relative;
}

/* Prevent icon font flash - show fallback until loaded */
[class^="flaticon-"]:before,
[class*=" flaticon-"]:before,
[class^="icon-"]:before,
[class*=" icon-"]:before,
.flaticon:before,
.icon:before {
  font-family: "Flaticon", "Icomoon", sans-serif;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  speak: none;
}

/* Optimize font loading with font-display */
@font-face {
  font-family: "Flaticon";
  src: url("/fonts/flaticon.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Prevent invisible text during font load */
}

@font-face {
  font-family: "Icomoon";
  src: url("/fonts/icomoon.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Prevent invisible text during font load */
}

/* Prevent layout shift during image load */
.ltn__img-slide-item-4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Loading spinner styles */
.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Smooth page transitions */
.body-wrapper {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Prevent layout shift in slick slider */
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}

.slick-track {
  position: relative;
  left: 0;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Optimize images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent CLS (Cumulative Layout Shift) */
.ltn__breadcrumb-area {
  min-height: 200px;
}

/* Smooth transitions */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.dropdown-container {
  position: relative;
  width: 100%;
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 8px 0;
}

.dropdown-icon {
  margin-left: 10px;
  font-size: 12px;
  color: #666;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-content ul {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px 0;
}

.dropdown-container:hover .dropdown-content {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
}

.dropdown-container:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Your original checkbox styles remain unchanged */
.checkbox-item {
  /* Your existing styles */
}
ul li {
  list-style-type: none !important;
}
.no-listings-simple {
  background: #fff;
  border-radius: 8px;
  padding: 40px 20px;
  margin: 20px 0;
  border: 1px solid #e9ecef;
}

.no-listings-icon {
  font-size: 48px;
  color: #6c757d;
  opacity: 0.6;
  margin-bottom: 15px;
}

.no-listings-title {
  color: #2D3691;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.no-listings-text {
  color: #6c757d;
  font-size: 14px;
  margin-bottom: 20px;
}

.no-listings-actions .btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 4px;
}

.btn.theme-btn-2 {
  background: #6c757d;
  color: white;
  border: none;
}

.btn.theme-btn-2:hover {
  background: #5a6268;
  color: white;
}

/* === Full-page overlay === */
.global-loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.85); /* light blur background */
  backdrop-filter: blur(6px);
  z-index: 9999; /* stays on top of everything */
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.5s ease-in-out;
}

/* === Loader container === */
.advanced-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #fff;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* === Animated glow === */
.advanced-loading::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,90,60,0.25) 0%, transparent 70%);
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* === Spinner === */
.loader-ring {
  width: 70px;
  height: 70px;
  border: 6px solid #eee;
  border-top: 6px solid #ff5a3c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

/* === Text === */
.loading-text {
  z-index: 1;
  margin-top: 20px;
}

.loading-text h4 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 6px;
}

.loading-text p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

/* === Animations === */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulseGlow {
  0%,100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 0.2; }
}
 .advanced-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
  }
  .loader-ring {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff5a3c;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
  }
  .loading-text h4 {
    color: #333;
    margin-bottom: 10px;
  }
  .loading-text p {
    color: #666;
    font-size: 14px;
  }

  .image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.card-img-top {
  transition: transform 0.4s ease;
}

.listing-card:hover .card-img-top {
  transform: scale(1.05);
}

.small-badge {
  font-size: 0.7rem !important;
  padding: 4px 8px !important;
  font-weight: 500;
  border-radius: 12px !important;
}

.card-body {
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

.listing-card {
  transition: all 0.3s ease;
  border-radius: 10px !important;
}

.listing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.list-inline-item {
  font-size: 0.85rem;
}

.btn-outline-primary {
  border-width: 1px;
  font-size: 0.8rem;
}

@media (max-width: 576px) {
  .card-body {
    min-height: auto;
  }
}
.listingsss{
  background-color: #1a1f2b !important;
  color:white !important
}


.faq{
  box-shadow: 0px 0px 0px rgba(0,0,0,.5) !important;
  padding: 10px 20px !important;
}
 .nav-link {
            color: white;
            text-decoration: none;
            position: relative;
          }
          .nav-link .underline {
            display: block;
            height: 2px;
            background: red;
            width: 0;
            transition: width 0.3s ease;
            position: absolute;
            bottom: 0;
            left: 0;
          }
          .nav-link:hover .underline {
            width: 100%;
          }
          .user-menu:hover > ul > li > .dropdown-menu {
            display: block !important;
          }
          .dropdown-menu {
            min-width: 150px;
            border-radius: 4px;
            overflow: hidden;
            z-index: 1000;
          }
          .dropdown-item {
            padding: 5px 10px;
            font-size: 0.85rem;
            color: black;
            text-decoration: none;
            display: block;
          }
          .dropdown-item:hover {
            background-color: red;
            color: white !important;
          }
          html {
            scroll-behavior: smooth;
          }
          /* ========= Offcanvas Menu ========= */
@media (max-width: 991px) {
  .offcanvas-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #111;
    padding: 4rem 1.5rem 2rem;
    transition: right 0.4s ease-in-out;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .offcanvas-collapse.open {
    right: 0;
  }
}

@media (min-width: 992px) {
  .offcanvas-collapse {
    position: static;
    width: auto;
    height: auto;
    background: transparent !important;
    display: flex !important;
    flex-direction: row;
    padding: 0;
    right: 0;
  }
}

/* ========= Backdrop ========= */
.mobile-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1040;
}
.mobile-backdrop.show {
  opacity: 1;
  visibility: visible;
}

/* ========= Custom Menu Button ========= */
.menu-btn {
  width: 35px;
  height: 25px;
  position: relative;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1100;
}

.menu-btn span {
  display: block;
  height: 3px;
  width: 100%;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* Color based on page */
.menu-btn.white-icon span {
  background: #fff;
}
.menu-btn.black-icon span {
  background: #000;
}

.menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.menu-btn.open span:nth-child(2) {
  opacity: 0;
}
.menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* ========= Navbar Link Underline Animation ========= */
.nav-underline {
  position: relative;
  display: inline-block;
  transition: color 0.3s ease;
}
.nav-underline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background-color: #dc3545; /* Bootstrap red */
  transition: width 0.3s ease;
}
.nav-underline:hover::after,
.nav-underline.active::after {
  width: 100%;
}

/* ========= Smooth Link Fade ========= */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.fade-in {
  opacity: 0;
  animation: fadeSlideIn 0.5s ease forwards;
}

/* ========= Scroll Lock ========= */
body.menu-open {
  overflow: hidden;
}
/* Hide the menu button on large screens */
@media (min-width: 992px) {
  .menu-btn {
    display: none !important;
  }
}
/* Grid layout (two/three columns) */
.listing-card-grid {
  display: flex;
  flex-direction: column;
}

/* Single / List layout */
.listing-card-single {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: stretch;
}

.listing-card-single .image-wrapper {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  position: relative;
}

.listing-card-single .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Responsive for mobile */
@media (max-width: 991px) {
  .listing-card-single {
    flex-direction: column;
  }

  .listing-card-single .image-wrapper {
    width: 100%;
    height: 200px;
  }
}

/* Optional: Badges and list spacing */
.listing-card-single .badge {
  font-size: 0.8rem;
}

.listing-card-single .card-body ul,
.listing-card-single .card-body .list-inline {
  margin-bottom: 0.5rem;
}
.ft{
  background-color:#FF5A3C !important;
} 

/* @media (max-width: 768px) {
  .ltn__header-sticky {
    position: fixed !important;
    top: 50px;
    left: 0;
    right: 0;
    z-index: 9999;
 
  }
  .header-infos{
display: none !important;
  }
} */
 /* Sticky Header only for small screens */
@media (max-width: 768px) {
  .ltn__header-middle-area {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: black !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
  .header-email-detail{
    display: none !important;
  }
  .navlistis{
    margin-bottom: 150px !important;
  }
.header-lang{
  display: flex !important;
  justify-content: space-around !important;
  gap: 30px;

}
.header-lang .lang{
  margin-top: 10px !important;
}
  body {
    padding-top: 80px; /* adjust to header height */
  }

  .menu-btn {
    position: relative;
    z-index: 10000;
    background-color: white;
    border-radius: 8px;
    padding: 6px;
  }

  .menu-btn span {
    background-color: black !important;
  }

  /* Dropdown hover on mobile */
  .mobile-hover-dropdown:hover > .dropdown-menu {
    display: block !important;
    opacity: 1;
    visibility: visible;
  }

  .navbar .dropdown-menu {
    position: absolute !important;
    top: 100%;
    right: 0;
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-radius: 8px;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 20000 !important;
  }

  .navbar .dropdown-menu.show {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}

/* Desktop dropdown hover */
@media (min-width: 769px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}
.custom-range {
  width: 100%;
  accent-color: #ff3d57; /* modern browsers */
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ff3d57;
  border: 3px solid #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: 0.2s;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.custom-range::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(90deg, #ddd 0%, #ff3d57 100%);
  border-radius: 3px;
}
.mobile-navbar {
 position: sticky !important;
top: 0 !important;
padding: 1rem 1.5rem;
border-bottom:  1px solid #dee2e6;
}
.category-icon svg {
  transition: transform 0.2s ease, color 0.2s ease;
}
.category-icon:hover svg {
  transform: scale(1.1);
  color: #dc3545; /* Bootstrap red */
}
.header-middle-area-custom {
  position: relative;
  width: 100%;
  z-index: 1020;
  transition: all 0.4s ease-in-out;
}

.header-middle-area-custom.sticky-active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  animation: fadeSlideIn 0.4s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-header.sticky-active {
  background-color: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 15px rgba(255, 255, 255, 0.05);
}

.inner-header.sticky-active {
  background-color: #fff;
}

/* Prevent layout shift on transition */
.transition-all {
  transition: all 0.3s ease-in-out;
}
/* Keep dropdown visible when hovered */
.ltn__language-menu .dropdown-menu {
  display: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  z-index: 9999; /* ensures it appears on top */
  transition: opacity 0.2s ease;
}

.ltn__language-menu .dropdown:hover .dropdown-menu,
.ltn__language-menu .dropdown.active .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Optional: give some spacing so it doesn’t flicker on mouse movement */
.ltn__language-menu .dropdown-menu li a {
  display: block;
  padding: 5px 10px;
  white-space: nowrap;
}
/* Force-remove Bootstrap’s built-in accordion/collapse icons */
.ltn__faq-inner .card h6.ltn__card-title::after,
.card .ltn__card-title::after,
.accordion-button::after,
button.accordion-button::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
.errors-msg{
  padding-top: 240px;
  padding-bottom: 50px;
}