* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --orange: #f9810d;
  --secondary-orange: #f99233;
  --secondary: #595b5d;
  --desc: #757b7e;

  --spacer-1: 4px;
  --spacer-2: 8px;
  --spacer-3: 16px;
  --spacer-4: 24px;
  --spacer-5: 32px;
  --spacer-6: 64px;
  --radius-1: 4px;
  --radius-2: 8px;
  --radius-3: 16px;
  --radius-4: 24px;

  --font-size-title-lg: clamp(2rem, 5vw, 3.2rem);
  --font-size-title-md: clamp(1.6rem, 4vw, 2.2rem);
  --font-size-title-sm: clamp(1.2rem, 4vw, 2.8rem);
  /* --font-size-body-lg */
  --font-size-body-lg: clamp(1.2rem, 3.2vw, 1.6rem);
  /* this mean that */
  /* --font-size-body-md: clamp(1rem, 2.8vw, 1.4rem); */
  --font-size-body-md: clamp(0.85rem, 2.2vw, 0.9rem);
  --font-size-body-sm: clamp(0.8rem, 2.3vw, 1.2rem);
  --font-size-body-xs: clamp(0.7rem, 2vw, 1rem);
  --font-size-body-2xs: clamp(0.7rem, 1.8vw, 0.7rem);
}

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal/Tajawal-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal/Tajawal-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Tajawal";
  src: url("../fonts/tajawal/Tajawal-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Poppins", "Tajawal", sans-serif;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  flex: 1;
  min-height: 100vh;
  max-width: 100vw;
  overflow-y: scroll !important;
  overflow-x: hidden !important;
}

[lang="ar"],
[dir="rtl"],
html[lang="ar"],
html[dir="rtl"],
html[lang="ar"] body,
html[dir="rtl"] body,
body[lang="ar"],
body[dir="rtl"] {
  font-family: "Tajawal", sans-serif;
}

.lg-item {
  inset: 0;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

li {
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.container2 {
  max-width: 1350px !important;
}

.title {
  font-size: var(--font-size-title-sm);
  font-weight: 700;
}

.section-title {
  font-size: 30px;
  font-weight: 600;
}

.bottom {
  padding-bottom: 50px;
}

.section-bottom {
  margin-bottom: 20px;
}

/* .desc {
  font-size: var(--font-size-body-md);
} */

.desc-sm {
  font-size: var(--font-size-body-sm);
}

.desc-xs {
  font-size: var(--font-size-body-xs);
}

.content-gap {
  padding-top: 60px;
  padding-bottom: 60px;
}

.main-section {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  overflow: hidden;
}

/* Hero video background styles */
.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  object-fit: cover;
}

.hero-video-element {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-section {
  position: relative;
  z-index: 2;
}

/* header style */
.left-header {
  display: flex;
  align-items: center;
  gap: 35px;
}

.logo-wrapper img {
  max-width: 100px;
  height: auto;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.left-header img {
  transition: transform 0.3s ease;
  height: 50px;
  width: auto;
}

.header-list {
  display: flex;
  align-items: center;
  gap: 35px;
  font-weight: 700;
  font-size: 20px;
  transition: all 0.3s ease;
}

.header-list li {
  display: block;
}

.header-list li a {
  display: block;
  position: relative;
  color: white;
  text-decoration: none;
  padding-block: 8px;
}

.header-list li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: white;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.header-list li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

header,
.light-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  transition: all 0.3s ease;
}

nav {
  padding-top: 25px;
  padding-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  transition: all 0.3s ease;
}

/* sidebar */

.burger-menu {
  width: 30px;
  height: 30px;
  fill: white;
  display: none;
}

.burger-menu {
  cursor: pointer;
  height: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 30px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.3s ease-in-out;
}

.burger-menu li {
  background-color: white;
  border-radius: 4px;
  display: block;
  height: 2px;
  left: 0;
  margin: 0;
  opacity: 1;
  padding: 0;
  position: absolute;
  width: 100%;
  transform: rotate(0deg);
  transition: 0.15s ease-in-out;
}

.light-burger-menu li {
  background-color: var(--secondary);
}

.burger-menu li:nth-child(1) {
  top: 0;
  transform-origin: left center;
}

.burger-menu li:nth-child(2) {
  top: 9px;
  transform-origin: left center;
}

.burger-menu li:nth-child(3) {
  top: 18px;
  transform-origin: left center;
}

.burger-menu.open li:nth-child(1) {
  left: 4px;
  top: -1px;
  transform: rotate(45deg);
}

.burger-menu.open li:nth-child(2) {
  opacity: 0;
  width: 0;
}

.burger-menu.open li:nth-child(3) {
  left: 4px;
  top: 20px;
  transform: rotate(-45deg);
}

.sidebar {
  display: none;
  backdrop-filter: blur(20px);
  background-color: #595b5ded;
  color: white;
  position: absolute;
  right: 0;
  top: 100%;
  width: 100%;
  height: 100vh;
  padding: 0 30px;
  transform: translateX(100%);
  transition: 0.4s;
}

.light-sidebar {
  background-color: #fffffff5;
  backdrop-filter: blur(80px);
}

.light-sidebar li a {
  font-weight: 600;
  color: var(--secondary);
  font-size: 1rem;
  padding: 15px 0;
}

.mobile-sidebar-list li {
  font-size: 1rem;
}


.mobile-sidebar-list li:not(:last-child) {
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg,
      rgba(255, 255, 255, 0.1) 0%,
      rgba(183, 184, 185, 0.1) 61.83%,
      rgba(89, 91, 93, 0.1) 100%);
  border-image-slice: 1;

}

.white-sidebar li {
  border-bottom: 1px solid;
  border-image: linear-gradient(90deg,
      rgba(89, 91, 93, 0.2) 0%,
      rgba(183, 184, 185, 0.2) 38.17%,
      rgba(255, 255, 255, 0.2) 100%);
  border-image-slice: 1;
}

.mobile-sidebar-list a {
  color: white;
  font-weight: 500;
}

.line {
  transition: transform 0.4s ease, opacity 0.4s ease;
  transform-origin: 50% 50%;
}

/* on scroll */
.header-scrolled nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-scrolled .header-list {
  font-size: 18px;
}

.header-scrolled .left-header img {
  height: 50px;
  width: auto;
  transform: scale(0.9);
  transform-origin: left;
}

.main-header.header-scrolled {
  backdrop-filter: blur(20px);
  background-color: #595b5d73;
}

/* social media list */
.social-media-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-media-list li {
  background-color: white;
  border-radius: 50%;
  padding: 7px;
  transition: 0.4s;
}

.social-media-list li:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.721);
}

.social-media-list li>svg {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-media-list li a>img {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#localization-btn{
  width: 25px;
  height: 25px;
}
/* footer */
footer {
  background-color: #000000;
  color: white;
}

.footer-container {
  padding-block: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-lists {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-logo {
  width: 120px;
}

.footer-lists-title {
  margin-bottom: 30px;
  font-weight: 600;
  font-size: 15px;
}

.footer-lists ul li {
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 13px;
}

.footer-lists ul li a {
  color: white;
  transition: 0.3s;
}

.footer-lists ul li a:hover {
  color: #e98a31;
}

.contact-footer div {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-bottom: 30px;
}

.phone-num {
  margin-bottom: 30px;
}

.phone-num a {
  color: white;
}

.footer-lists>div {
  display: flex;
  flex-direction: column;
}

.phone-num a:hover {
  transition: 0.3s;
  cursor: pointer;
  color: #e98a31;
}

.footer-email:hover {
  transition: 0.3s;
  cursor: pointer;
  color: #e98a31;
}

.footer-email a {
  text-decoration: none;
  color: inherit;
}

/* footer-bottom-container */
.footer-bottom-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  margin-bottom: 10px;
}

.blue-logo {
  width: 55px;
  height: 30px;
  background-image: url("../svg/blue-logo.svg");
  background-size: contain;
  background-repeat: no-repeat;
  transition: 0.3s;
}

a:hover .blue-logo {
  background-image: url("../svg/blue-logo-colored.svg");
}

.powerd-by {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-social-media-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social-media-list li {
  width: 32px;
  height: 32px;
  border: 0.5px solid #ffffff;
  color: white;
  border-radius: 50%;
  padding: 10px;
  transition: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-media-list li a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-media-list img {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-media-list li:hover {
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.721);
}

.footer-social-media-list li>svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* breadcrumb */
.breadcrumb-placeholder {
  margin-top: 100px;
  background-color: #ffffff12;
  padding: 25px 0;
  margin-bottom: 55px;
}

.breadcrumb-title {
  color: white;
  margin-bottom: 10px;
}

.breadcrumb-path,
.breadcrumb-path a {
  font-size: 15px;
  font-weight: 500;
  color: var(--orange);
}

.breadcrumb-path a {
  color: #757b7e;
  transition: 0.4s;
}

.breadcrumb-path a:hover {
  color: var(--orange);
}

/* light breadcrumb */
.left-light-header a img {
  height: 50px;
  width: auto;
  transition: all 0.3s ease;
}

.light-breadcrumb-placeholder {
  margin-top: 100px;
  background-color: #6666660d;
  padding: 25px;
  margin-bottom: 50px;
}

.light-breadcrumb-title {
  color: var(--secondary);
  margin-bottom: 10px;
}

.light-breadcrumb-path,
.light-breadcrumb-path a {
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
}

.light-breadcrumb-path a {
  color: #757b7e;
  transition: 0.4s;
  font-weight: 300;
}

.light-breadcrumb-path a:hover {
  color: var(--orange);
}

/* light header */
.left-light-header {
  display: flex;
  align-items: center;
  gap: 50px;
}

.light-header-list {
  display: flex;
  align-items: center;
  gap: 35px;
  font-weight: 700;
  font-size: 20px;
}

.light-header-list li {
  display: block;
}

.light-header-list li a {
  display: block;
  position: relative;
  color: var(--secondary);
  text-decoration: none;
  padding-block: 8px;
  font-weight: 500;
}

.light-header-list li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.light-header-list li a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.light-header {
  backdrop-filter: blur(20px);
  background-color: #ffffff78;
}

.light-social-media-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.light-social-media-list li {
  background-color: var(--desc);
  fill: white;
  border-radius: 50%;
  padding: 7px;
  transition: 0.4s;
}

.light-social-media-list li:hover {
  cursor: pointer;
  background-color: rgb(165, 164, 164);
}

.light-social-media-list li>svg {
  color: white;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-social-media-list li a>img {
  color: white;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* light header scroll */
.header-scrolled nav {
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-scrolled .light-header-list {
  font-size: 18px;
}

.header-scrolled .left-light-header img {
  width: auto;
  transform: scale(0.9);
  transform-origin: left;
}
.header-scrolled{
  height: 70px;
}
.light-header {
  transition: box-shadow 0.3s ease;
}

.light-header.header-scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

@media (max-width: 767px) {
  /* Video background responsive styles for mobile */
  .hero-video-iframe,
  .hero-video-element {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    /* Ensure proper scaling on mobile */
    object-fit: cover;
  }

  .hero-video-background {
    width: 100%;
    height: 100%;
    /* Prevent video from causing layout issues on mobile */
    position: absolute;
    top: 0;
    left: 0;
  }

  /* Ensure video overlay works on mobile */
  .hero-video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .header-list,
  .social-media-wrapper,
  .light-header-list {
    display: none;
  }

  .header-scrolled .left-header img, .header-scrolled .left-light-header img {
    transform-origin: center;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .title {
    font-size: var(--font-size-title-sm);
    font-weight: 700;
  }

  .section-title {
    font-size: var(--font-size-title-sm);
    font-weight: 600;
  }

  .bottom {
    padding-bottom: 50px;
  }

  .section-bottom {
    margin-bottom: 15px;
  }

  .desc {
    font-weight: 300;
  }

  .content-gap {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .main-section {
    height: 50vh;
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }

  /* sidebar */
  .burger-menu {
    display: block;
  }

  .sidebar {
    display: block;
  }

  /* light breadcrumb */
  .light-breadcrumb-title {
    font-size: 18px;
  }

  .light-breadcrumb-path {
    font-size: 13px;
  }

  .light-breadcrumb-placeholder {
    padding: 25px 0;
    margin-bottom: 50px;
  }

  .breadcrumb-placeholder {
    margin-bottom: 20px;
  }

  /* footer */
  .footer-container {
    flex-direction: column;
    padding: 0;
    padding-top: 50px;
    align-items: flex-start;
  }

  .footer-logo {
    margin-bottom: 30px;
    width: 90px;
    margin-bottom: 30px;
  }

  .footer-lists-title {
    margin-bottom: 15px;
  }

  .footer-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
    text-align: start;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 30px;
    align-items: flex-start;
  }

  .phone-num {
    margin-bottom: 10px;
  }

  .rights {
    font-size: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  /* Video background responsive styles for tablet */
  .hero-video-iframe,
  .hero-video-element {
    width: 100%;
    height: 100%;
  }

  .header-list,
  .social-media-wrapper,
  .light-header-list {
    display: none;
  }

  .burger-menu {
    display: block;
  }

  .sidebar {
    display: block;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .title {
    font-size: var(--font-size-title-sm);
    font-weight: 700;
  }

  .section-title {
    font-size: var(--font-size-title-sm);
    font-weight: 600;
  }

  .bottom {
    padding-bottom: 50px;
  }

  .section-bottom {
    margin-bottom: 15px;
  }

  .main-section {
    height: 60vh;
  }

  /* Video background responsive styles for medium screens */
  .hero-video-iframe,
  .hero-video-element {
    width: 100%;
    height: 100%;
  }

  .content-gap {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  /* footer */
  .footer-container {
    flex-direction: column;
    padding: 0;
    padding-top: 50px;
  }

  .footer-logo {
    margin-bottom: 30px;
    width: 100px;
  }

  .footer-lists {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 30px;
  }

  .footer-bottom-container {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 30px;
  }

  .phone-num {
    margin: 0;
  }

  .contact-footer {
    display: flex;
    align-items: center;
    gap: 100px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }


  .bottom {
    padding-bottom: 50px;
  }

  .section-bottom {
    margin-bottom: 20px;
  }

  .main-section {
    height: 70vh;
  }

  /* Video background responsive styles for large screens */
  .hero-video-iframe,
  .hero-video-element {
    width: 100%;
    height: 100%;
  }

  .content-gap {
    padding-top: 40px;
    padding-bottom: 40px;
  }



}

@media (min-width: 1026px) and (max-width: 1400px) {
  .container {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .what-we-do-content {
    gap: 30px;
  }
}

@media (max-width: 767px) {
  .burger-menu {
    display: none;
  }

  .left-header {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: auto auto;
    justify-content: center;
    height: 100%;
    width: 100%;
  }

  .left-header img {
    margin: auto;
    transform: scale(1.3);
  }

  .left-light-header {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 0 auto;
  }
}

/* mobile localization */


.mobile-localization-item {
  margin-top: 4px;
}

.mobile-lang-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.mobile-lang-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-lang-btn:active {
  background: rgba(0, 0, 0, 0.08);
}

.lang-icon {

  flex-shrink: 0;
}

.lang-text {
  font-size: 18px;
  font-weight: 500;
  color: white;

}

/* RTL Support */
[dir="rtl"] .mobile-lang-btn {
  flex-direction: row-reverse;
}


/*---------------------------------- pagination -----------------------------------------*/
.pagination {
  display: flex;
  list-style: none;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 0.5px solid #bababa;
  color: #bababa;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination li a.active {
  border: 1px solid #f9810d;
  color: #f9810d;
  font-weight: 500;
}

.pagination li svg {
  width: 8px;
  height: 16px;
}

.pagination li .dots {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  color: #bababa;
  font-size: 14px;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 767px) {
  .news-card-wrapper {
    grid-template-columns: 1fr;
  }

  .news-cards-container {
    margin-bottom: 40px;
  }

  .news-card-img,
  .news-card-desc {
    margin-bottom: 10px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .news-card-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .news-card-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}


/* ------------------------------- Mobile Bottom Navigation ------------------------------ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #5f5f5f2d 0%, #74737227 100%);
  box-shadow: 0 4px 20px rgba(51, 51, 50, 0.3);
  backdrop-filter: blur(10px);
  z-index: 1000;
  height: 60px;
  border-radius: 15px;
  width: calc(100vw - 40px);
  max-width: 500px;
  animation: slideUp 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid #74737227;
}

.mobile-bottom-nav.light {
  background: linear-gradient(135deg, #cec7c071 0%, #b3b0b057 100%);
  box-shadow: 0 4px 20px rgba(51, 51, 50, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid #b3b0b057;
}

@keyframes slideUp {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 20px;
    opacity: 1;
  }
}

.mobile-bottom-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 100%;
  padding: 0 15px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: #1a1a2e;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-decoration: none;
  border-radius: 50%;
  flex-shrink: 0;
}

.nav-item:hover,
.nav-item:active {
  background: rgba(26, 26, 46, 0.1);
  transform: scale(1.15);
}

.nav-item svg {
  transition: all 0.3s ease;
}

.nav-item-home {
  background: #2020204f;
  color: #595b5d;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.nav-item-home svg {
  fill: currentColor;
}

.nav-item-home:hover {
  background: #6e6e6e4f;
  color: #ffffff;
  transform: scale(1.1);
}

/* Mobile Menu Overlay - Full Screen */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.95); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.light {
  /* background: rgba(255, 255, 255, 0.95); */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.mobile-menu-overlay.light .sidebar {
  background: linear-gradient(135deg, rgba(112, 112, 112, 0.062) 0%, #d4d4d413 50%, #1a1a1a11 100%);
}

.mobile-menu-overlay.light .mobile-sidebar-list a {
  color: black;
  padding: 15px 0;

}


.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  overflow-y: auto;
  transform: translateY(100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-overlay .sidebar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(87, 87, 87, 0.062) 0%, #30303013 50%, #fafafa11 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
  z-index: 1001;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.mobile-menu-close:active {
  transform: rotate(90deg) scale(0.95);
}

.mobile-menu-close svg {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active .sidebar {
  transform: translateX(0);
}

.mobile-menu-overlay .mobile-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 400px;
}

.mobile-menu-overlay .mobile-sidebar-list li {
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease forwards;
}

.mobile-menu-overlay .mobile-sidebar-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-menu-overlay .mobile-sidebar-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-menu-overlay .mobile-sidebar-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.mobile-menu-overlay .mobile-sidebar-list li:nth-child(4) {
  animation-delay: 0.4s;
}

.mobile-menu-overlay .mobile-sidebar-list li:nth-child(5) {
  animation-delay: 0.5s;
}

.mobile-menu-overlay .mobile-sidebar-list li:nth-child(6) {
  animation-delay: 0.6s;
}

.mobile-menu-overlay .mobile-sidebar-list a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: block;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 15px 0;
}



.mobile-menu-overlay .mobile-localization-item {
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: slideInUp 0.6s ease forwards;
  animation-delay: 0.7s;
}

.mobile-menu-overlay .mobile-lang-btn {
  background: linear-gradient(135deg, #f9810d 0%, #ff6b35 100%);
  border: none;
  border-radius: 25px;
  padding: 1rem 2rem;
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(249, 129, 13, 0.3);
}

.mobile-menu-overlay .mobile-lang-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 129, 13, 0.4);
  background: linear-gradient(135deg, #ff6b35 0%, #f9810d 100%);
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #181818 0%, #52504e 100%);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.menu-logo {
  max-height: 50px;
  filter: brightness(0) invert(1);
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #ffffff;
}

.light .mobile-menu-close {
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid #000000;
  color: #000000;
}

.mobile-menu-close:hover {
  background: #ffffff;
  color: #595b5d;
  transform: rotate(90deg) scale(1.1);
}

.mobile-menu-close:focus {
  outline: none;
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-item:not(last-child) {
  border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-item a,
.mobile-menu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-item a:hover,
.mobile-menu-toggle:hover {
  background: linear-gradient(90deg, rgba(248, 244, 237, 0.15) 0%, transparent 100%);
  color: #595b5d;
  padding-left: 2rem;
}

.submenu-arrow {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  stroke: #595b5d;
}

.mobile-menu-toggle.active .submenu-arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.mobile-submenu.active {
  max-height: 600px;
}

.mobile-submenu li a {
  padding: 1rem 1.5rem 1rem 3rem;
  font-weight: 500;
  font-size: 1rem;
  color: #555;
  border-left: 3px solid transparent;
}

.mobile-submenu li a:hover {
  background: rgba(252, 176, 64, 0.1);
  color: #595b5d;
  border-left-color: #595b5d;
  padding-left: 3.5rem;
}

/* Mobile Social Overlay */
.mobile-social-content {
  position: fixed;
  bottom: 55px;
  inset-inline-end: -16px;

  background: #6e6e6e;
  border-radius: 20px;
  width: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(120px) translateX(-50%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1999;
}

.mobile-social-content::after {
  content: '';
  position: absolute;
  bottom: -11px;
  inset-inline-end: 20%;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #6e6e6e;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

.light .mobile-social-content::after {
  border-top: 12px solid #6e6e6e;
}

.light .mobile-social-content {
  background: #6e6e6e;
}

.mobile-social-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

[dir='rtl'] .mobile-social-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-social-icons {
  display: flex;
  gap: 12px;
  padding: 8px;
}

.mobile-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(135deg, #ffffffee 0%, #52504e22 100%);
  border-radius: 14px;
  width: 28px;
  height: 28px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.light .mobile-social-icon {
  background: linear-gradient(135deg, #000000ee 0%, #52504e22 100%);
}

.mobile-social-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);

}

.mobile-social-icon i {
  font-size: 1rem;
}

.footer-sitemap {
  display: none;
}

/* Show on mobile */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: block;

  }


  .footer-container {
    display: none;
  }

  .footer-social {
    display: none;
  }

  .footer-bottom-container {
    padding-bottom: 90px;
    gap: 10px;
    align-items: center;
    width: 100%;

  }

  .footer-sitemap {
    display: block;
    padding-top: 20px;
    margin-bottom: 20px;
  }

  .footer-sitemap-details {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 90%;
    padding: 20px;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #e0e0e034;
    background-color: #ffffff10;
    backdrop-filter: blur(10px);

  }

  .footer-sitemap-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    font-weight: 350;
    cursor: pointer;
  }

  .footer-sitemap-title-text {
    font-size: 14px;
    font-weight: 400;
  }

  .footer-sitemap-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out;
    gap: 10px;
    padding-top: 20px;
  }

  .footer-sitemap-details[open] .footer-sitemap-list {
    max-height: 500px;
    opacity: 1;
  }

  .arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s ease;
  }

  .arrow svg {
    width: 16px;
    height: 16px;
    color: white;
    transition: transform 0.3s ease;
  }

  .footer-sitemap-details[open] .arrow svg {
    transform: rotate(180deg);
  }

  .footer-sitemap-list-item {
    width: 100%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    padding: 5px 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item {
    opacity: 1;
    transform: translateY(0);
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(2) {
    transition-delay: 0.15s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(3) {
    transition-delay: 0.2s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(4) {
    transition-delay: 0.25s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(5) {
    transition-delay: 0.3s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(6) {
    transition-delay: 0.35s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(7) {
    transition-delay: 0.4s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(8) {
    transition-delay: 0.45s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(9) {
    transition-delay: 0.50s;
  }

  .footer-sitemap-details[open] .footer-sitemap-list-item:nth-child(8) {
    transition-delay: 0.55s;
  }

  .footer-sitemap-list-item-link {
    font-size: 14px;
  }

  .footer-sitemap-list-item:hover {
    color: white;
  }

  .footer-sitemap-list-item-link:active {
    color: white;
  }

  .footer-sitemap-list-item-link:focus {
    color: var(--desc);
  }

  .footer-sitemap-list-item-link:visited {
    color: var(--desc);
  }

  .footer-sitemap-list-item-link:link {
    color: var(--desc);
  }

  .footer-sitemap-list-item-link:hover {
    color: var(--desc);
  }

  .footer-sitemap-list-item-link:active {
    color: var(--desc);
  }

  .footer-sitemap-list-item-link:focus {
    color: var(--desc);
  }

  .footer-sitemap-list-item-link:visited {
    color: var(--desc);
  }

  .footer-sitemap-list-item-link:link {
    color: var(--desc);
  }
}

/* Prevent body scroll when overlay is active */
body.overlay-active {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}

.localization-menu-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

#desktop-localization-btn {
  padding: 6px;
  border-radius: 50%;
  background-color: var(--orange);
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

#desktop-localization-btn:hover {
  background-color: var(--orange);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

#desktop-localization-btn:active {
  background-color: var(--orange);
  color: white;
  transform: scale(0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.social-media-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .social-media-wrapper {
    display: none;
  }
}

@media (max-width: 1024px) {
  .light-social-media-wrapper {
    display: none;
  }
}

.tablet-social-content {
  display: none;
}

.tablet-social-icons {
  display: none;
}

.tablet-social-icon {
  display: none;
}

@media (max-width: 1024px) {
  .tablet-social-content {
    display: flex;
    margin: 0 auto;
  }

  .tablet-social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  .tablet-social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 32px;
    height: 32px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  .light .tablet-social-icon {
    color:black;
  }
}



@media (max-width: 768px) {
  .tablet-social-content {
    display: none;
  }

  .tablet-social-icons {
    display: none;
  }

  .tablet-social-icon {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-item{
    border: 1px solid rgba(255, 255, 255, 0.4);

  }
}
.left-header img{
  height: 55px;
}

/* YouTube Thumbnail Fallback Styles */
.media-img[src*="youtube.com"] {
  background-color: #f0f0f0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23ccc"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
  background-size: 32px 32px;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 200px;
  object-fit: cover;
  position: relative;
}

.media-img[src*="youtube.com"]:not([src=""]) {
  background-image: none;
}

/* Enhanced fallback for failed YouTube thumbnails */
.media-img[src*="youtube.com"][src*="default.jpg"] {
  background-color: #e0e0e0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23999"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
  background-size: 48px 48px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Ensure proper sizing for all YouTube thumbnails */
.media-img[src*="youtube.com"] {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.bottom-desc{
  margin-bottom: 30px;
}
