* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container h2 {
  text-align: center;
  font-size: 2.5rem;
  margin: 1rem 0;
}

/* Header styles */
.dropdown {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  top: 100%;
  left: 0;
  min-width: 160px;
}

.dropdown-item {
  padding: 8px 12px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #ddd;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dark-mode .dropdown-menu {
  background-color: #1a202c;
  color: #e2e8f0;
  border: 1px solid #11141b;
}

.dark-mode .dropdown-item:hover {
  background-color: #11141b;
  color: #fff;
}




header {
  background-color: rgba(255, 255, 255, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 0.7rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  font-size: 1.5rem;
  font-weight: bold;
  align-items: center;
  gap: 5px;
}

.logo img {
  width: 45px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
}

/* Language switcher styles */
.language-switcher {
  position: relative;
  display: flex;
  /* border: 1px solid black; */
  /* box-shadow: 3px 3px 5px black; */

}

.language-switcher img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
}

.language-switcher #language-select {
  appearance: none;
  /* background-color: transparent; */
  background: none;
  border: none;
  padding: 0 2em 0 0;
  margin: 0;
  border-radius: 5px;
  width: 100%;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;
  color: inherit;
}

.language-switcher::after {
  content: "\25BC";
  position: absolute;
  top: 0;
  right: 20px;
  background-color: transparent;
  pointer-events: none;
}

/* Hero section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 100%;
  /* Slaydlar o'rtasidagi masofani kamaytirish uchun */
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: left 1s ease-in-out, opacity 1s ease-in-out;
  /* Animatsiya uchun */
  opacity: 0;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  /* Rasmlarni qoraytirish */
}

.hero-slide.active {
  left: 0;
  /* Faol slayd ekranda ko'rinadi */
  opacity: 1;
}

.hero-slide.previous {
  left: -100%;
  /* Oldingi slaydni chap tomonga chiqarish */
  opacity: 0;
  /* Oldingi slaydni biroz ko'proq shaffof qilish */
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 1;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



/* Sliding text styles
.sliding-text-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.sliding-text {
  display: inline-block;
  white-space: nowrap;
  animation: slide 10s linear infinite;
}

.sliding-text span {
  display: inline-block;
  padding-right: 50px;
  font-size: 4rem;
  font-weight: bold;
  color: #333;
}

@keyframes slide {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
} */

/* Sliding text styles */
.sliding-text-container {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
}

.sliding-text {
  white-space: nowrap;
  animation: slide 15s linear infinite;
}

.sliding-text span {
  display: inline-block;
  padding-left: 100%;
  color: #333;
  font-size: 3rem;
  text-transform: uppercase;
}

@keyframes slide {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-170%, 0);
  }
}

/* About section */
.about-section {
  padding: 5rem 0;
  background: #fff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-title {
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

.about-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-item:nth-child(even) {
  direction: rtl;
}

.about-item:nth-child(even) .about-content {
  direction: ltr;
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #666;
}

.about-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

.services-list {
  margin-top: 1.5rem;
}

.services-list h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #333;
}

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

.services-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.services-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #007bff;
}

/* News section */
.news-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.news-section .all {
  text-align: center;
  margin: 4rem 0;
}

.news-section .all a {
  background: #2563eb;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.news-section .all a {
  color: white;
  text-decoration: none;
}

.news-section .all a:hover {
  background: #1d4ed8;
}

.news-grid {
  display: grid;
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
}

.news-card img {
  width: 150px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  margin-bottom: 1rem;
}

.news-content p {
  margin-left: 3rem;
}

/* Events section */
.events-section {
  padding: 4rem 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-card {
  display: flex;
  gap: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1.5rem;
}

.event-date {
  font-size: 1.5rem;
  font-weight: bold;
  color: #007bff;
}

/* Contact section */
.page-title {
  text-align: center;
  font-size: 2.5rem;
  margin: 1rem 0;
}

.contact-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-info {
  flex: 1;
  min-width: 300px;
  background: #2563eb;
  padding: 2rem;
  color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info p {
  margin: 1rem 0;
  display: flex;
  align-items: start;
  gap: 0.5rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}
.submit-btn {
  background: #2563eb;
  color: white;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: #1d4ed8;
}

/* Footer */
footer {
  background: #333;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.footer-section .tarmoqlar{
  list-style: none;
}

.footer-section .nav-menu-section {
  list-style: none;
  display: grid;
  grid-template-columns: auto auto;
}

.footer-section li a {
  color: #ddd;
  text-decoration: none;
}

.footer-section li a:hover {
  color: #fff;
}

.footer-section p {
  margin-bottom: 1rem;
}

.footer-section a {
  color: #ddd;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #2d3748;
    color: rgba(255, 255, 255, 0.95);
    padding: 1rem 1rem;
  }

  .language-switcher #language-select {
    appearance: none;
    background: none;
    border: none;
    padding: 0 2em 0 0;
    margin: 0;
    border-radius: 5px;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    cursor: inherit;
    line-height: inherit;
    color: inherit;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0.5rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .about-item {
    grid-template-columns: 1fr;
  }

  .about-item:nth-child(even) {
    direction: ltr;
  }

  .about-image {
    height: 300px;
  }

  .contact-container {
    flex-direction: column;
  }

  .news-card {
    display: block;
  }

  .news-card img {
    width: 100%;
    object-fit: cover;
  }

  .news-content p {
    margin-left: 0rem;
  }
}

/* Dark mode styles */
.dark-mode {
  background-color: #1a202c;
  color: #e2e8f0;
}

.dark-mode p {
  color: #e2e8f0;
}

.dark-mode h2 {
  color: #e2e8f0;
}

.dark-mode header {
  background-color: #2d3748;
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.dark-mode .nav-menu a {
  color: #e2e8f0;
}

.dark-mode .nav-menu a:hover {
  color: #ffffff;
}

.dark-mode .menu-toggle span {
  background-color: #e2e8f0;
}

.dark-mode .btn {
  background-color: #4a5568;
  color: #e2e8f0;
}

.dark-mode .news-card,
.dark-mode .event-card {
  background-color: #2d3748;
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.dark-mode .contact-form {
  background-color: #2d3748;
}

.dark-mode footer {
  background-color: #2d3748;
}

.sliding-text span.sliding-text-dark {
  color: #e2e8f0;
}


/* Theme toggle button styles */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.theme-toggle svg {
  width: 24px;
  height: 24px;
}

.sun-icon {
  display: none;
}

.moon-icon {
  display: inline-block;
}

.dark-mode .sun-icon {
  display: inline-block;
}

.dark-mode .moon-icon {
  display: none;
}

.btn:hover {
  background: #2563eb;
  color: white;
}


#display-none {
  display: none !important
}





.news-container {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}
@media (min-width: 768px) {
  .news-container {
      grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .news-container {
      grid-template-columns: repeat(3, 1fr);
  }
}
.news-item {
  /* background-color: white; */
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #000;
}
.news-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.news-content {
  padding: 15px;
}
.news-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.news-short-text {
  margin: 0 !important;
  font-size: 14px;
  color: #666;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}
.modal-content {
  background-color: #fff;
  color: black !important;
  padding: 20px;
  border-radius: 8px;
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}
.modal-content h2, .modal-content p{
  color: black !important;
}
/* .modal.dark-mode .modal-content {
  background-color: #333 !important;
  color: #fff !important;
} */

.close-btn {
  background-color: red;
  width: 100%;
  color: #000;
  display: flex;
  justify-content: end;
  font-size: 35px;
  cursor: pointer;
  background: none;
  border: none;
  margin-bottom: 20px;
}
.dark-mode.modal-content{
  background-color: #000;
  color: white;
}
.dark-mode.close-btn{
  color: #fff;
}
.modal-image {
  width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}
.modal-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}
.modal-full-text {
  line-height: 1.6;
  margin: 0;
}


















/* carousel */
.carousel{
  height: 100vh;
  margin-top: -50px;
  width: 100vw;
  overflow: hidden;
  position: relative;
}
.carousel img {
  filter: brightness(80%);
}
.carousel .list .item{
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0 0 0 0;
}
.carousel .list .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel .list .item .content{
  position: absolute;
  top: 20%;
  width: 1140px;
  max-width: 80%;
  left: 50%;
  transform: translateX(-50%);
  padding-right: 30%;
  box-sizing: border-box;
  color: #fff;
  text-shadow: 0 5px 10px #0004;
}
.carousel .list .item .content des{
  color:rgb(64,64,64) ;
}
.carousel .list .item .author{
  color:rgb(223, 66, 63);
  font-weight: bold;
  letter-spacing: 5px;
}
.carousel .list .item .title,
.carousel .list .item .topic{
  font-size: 5em;
  font-weight: bold;
  line-height: 1.3em;
}
.carousel .list .item .topic{
  color: #f1683a;
  
}
.carousel .list .item .buttons{
  display: grid;
  grid-template-columns: repeat(2, 130px);
  grid-template-rows: 40px;
  gap: 5px;
  margin-top: 20px;
}
.carousel .list .item .buttons button{
  border: none;
  background-color: #eee;
  letter-spacing: 3px;
  font-family: Poppins;
  font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2){
  background-color: transparent;
  border: 1px solid #fff;
  color: #eee;
}
/* thumbail */
.thumbnail{
  position: absolute;
  bottom: 50px;
  left: 50%;
  width: max-content;
  z-index: 100;
  display: flex;
  gap: 20px;
}
.thumbnail .item{
  width: 150px;
  height: 220px;
  flex-shrink: 0;
  position: relative;
}
.thumbnail .item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.thumbnail .item .content{
  color: #fff;
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
}
.thumbnail .item .content .title{
  font-weight: 500;
}
.thumbnail .item .content .description{
  font-weight: 300;
}
/* arrows */
.arrows{
  position: absolute;
  top: 80%;
  right: 52%;
  z-index: 100;
  width: 300px;
  max-width: 30%;
  display: flex;
  gap: 10px;
  align-items: center;
}
.arrows button{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #eee4;
  border: none;
  color: #fff;
  font-family: monospace;
  font-weight: bold;
  transition: .5s;
}
.arrows button:hover{
  background-color: #fff;
  color: #000;
}

/* animation */
.carousel .list .item:nth-child(1){
  z-index: 1;
}

/* animation text in first item */

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .topic,
.carousel .list .item:nth-child(1) .content .des,
.carousel .list .item:nth-child(1) .content .buttons
{
  transform: translateY(50px);
  filter: blur(20px);
  opacity: 0;
  animation: showContent .5s 1s linear 1 forwards;
}
@keyframes showContent{
  to{
      transform: translateY(0px);
      filter: blur(0px);
      opacity: 1;
  }
}
.carousel .list .item:nth-child(1) .content .title{
  animation-delay: 1.2s!important;
}
.carousel .list .item:nth-child(1) .content .topic{
  animation-delay: 1.4s!important;
}
.carousel .list .item:nth-child(1) .content .des{
  animation-delay: 1.6s!important;
}
.carousel .list .item:nth-child(1) .content .buttons{
  animation-delay: 1.8s!important;
}
/* create animation when next click */
.carousel.next .list .item:nth-child(1) img{
  width: 150px;
  height: 220px;
  position: absolute;
  bottom: 50px;
  left: 50%;
  border-radius: 30px;
  animation: showImage .5s linear 1 forwards;
}
@keyframes showImage{
  to{
      bottom: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 0;
  }
}

.carousel.next .thumbnail .item:nth-last-child(2){
  overflow: hidden;
  animation: showThumbnail .5s linear 1 forwards;
}
.carousel.prev .list .item img{
  z-index: 100;
}
@keyframes showThumbnail{
  from{
      width: 0;
      opacity: 0;
  }
}
.carousel.next .thumbnail{
  animation: effectNext .5s linear 1 forwards;
}

@keyframes effectNext{
  from{
      transform: translateX(150px);
  }
}

/* running time */

.carousel .time{
  position: absolute;
  z-index: 1000;
  width: 0%;
  height: 3px;
  background-color: #f1683a;
  left: 0;
  top: 0;
}

.carousel.next .time,
.carousel.prev .time{
  animation: runningTime 3s linear 1 forwards;
}
@keyframes runningTime{
  from{ width: 100%}
  to{width: 0}
}


/* prev click */

.carousel.prev .list .item:nth-child(3){
  z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img{
  animation: outFrame 0.5s linear 1 forwards;
  position: absolute;
  bottom: 0;
  left: 0;
}
@keyframes outFrame{
  to{
      width: 150px;
      height: 220px;
      bottom: 50px;
      left: 50%;
      border-radius: 20px;
  }
}

.carousel.prev .thumbnail .item:nth-child(4){
  overflow: hidden;
  opacity: 0;
  animation: showThumbnail .5s linear 1 forwards;
}
.carousel.next .arrows button,
.carousel.prev .arrows button{
  pointer-events: none;
}
.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .topic,
.carousel.prev .list .item:nth-child(2) .content .des,
.carousel.prev .list .item:nth-child(2) .content .buttons
{
  animation: contentOut 1s linear 1 forwards!important;
}

@keyframes contentOut{
  to{
      transform: translateY(-150px);
      filter: blur(20px);
      opacity: 0;
  }
}
@media screen and (max-width: 678px) {
  .carousel .list .item .content{
      padding-right: 0;
  }
  .carousel .list .item .content .title{
      font-size: 30px;
  }
}





.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}
.carousel {
  display: flex;
  width: 400%;
  transition: transform 0.8s ease-in-out;
}
.slide {
  min-width: 100%;
  height: 400px;
  position: relative;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.info {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 20px;
  border-radius: 5px;
}
.buttons {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}
.buttons button {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}
.buttons button:hover {
  background: rgba(0, 0, 0, 0.8);
}





.news-section-inner {
  width: 90%;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 15px;
}

.yangilik {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
  border: 1px solid #ccc; /* Har bir yangilik uchun chegara */
  border-radius: 8px;
  padding: 15px;
  background: #fff; /* Asosiy rejimda oq fonda bo‘ladi */
}

.yangilik-rasm {
  width: 30%;
  flex-shrink: 0;
}

.yangilik-rasm img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.yangilik-mazmun {
  width: 70%;
}

.yangilik-mazmun h3 {
  margin: 0;
  font-size: 1.5em;
  color: #333;
}

.yangilik-mazmun p {
  margin-top: 5px;
  color: #666;
  font-size: 1em;
}

/* 🔹 Dark Mode */
.news-section.dark-mode {
  background: #1a1a1a;
}

.news-section.dark-mode .yangilik {
  background: #222; /* Dark Mode fond rangi */
  border: 1px solid #444; /* Dark Mode chegara */
}

.news-section.dark-mode .yangilik-mazmun h3 {
  color: #fff; /* Sarlavha oq rangda */
}

.news-section.dark-mode .yangilik-mazmun p {
  color: #ddd; /* Matn biroz ochroq oq */
}

/* 🔹 Mobil qurilmalar uchun moslashuv */
@media (max-width: 768px) {
  .yangilik {
    flex-direction: column; /* Ustma-ust joylashish */
    align-items: center;
    text-align: center;
  }

  .yangilik-rasm {
    width: 100%; /* Rasm to‘liq chiqadi */
  }

  .yangilik-mazmun {
    width: 100%;
  }
}











/* Update the mobile menu styles */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000;
  }

  .dark-mode .nav-menu {
    background-color: #2d3748;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li {
    margin: 0.5rem 0;
    width: 100%;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown-toggle {
    width: 100%;
    padding: 0.5rem 0;
    /* color: #333; */
  }
  .dropdown-toggle{
    color: #333;
  }
  .dark-mode .dropdown-toggle{
    color: #e2e8f0 !important;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .menu-toggle span {
    transition: all 0.3s ease;
  }

  .language-switcher {
    width: 100%;
    margin-top: 1rem;
  }

  .language-switcher select {
    width: 100%;
    padding: 0.5rem;
  }

  /* Fix theme toggle on mobile */
  .theme-toggle {
    margin: 1rem 0;
  }
}
@media (min-width: 768px){
  .image-raxbar{
    height: 200px !important;
  }
} 