/* Reset and Basic Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif; /* Set Inter as the default font */
  background-color: #000; /* Existing black background */
  background-image: radial-gradient(circle at top center, rgba(30, 144, 255, 0.3), rgba(30, 144, 255, 0)); /* Blue radial gradient */
  background-repeat: no-repeat;
  background-size: cover;
  transition: background-image 1s ease-in-out; /* Smooth transition */
}

/* Remove existing font-family declarations for headings and set to Inter */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Inter', sans-serif; /* Updated to Inter */
  font-weight: normal;
  line-height: 1.1;
  color: #fff; /* Lightened heading color */
}

h1, .h1 { font-size: 45px; line-height: 48px; }
h2, .h2 { font-size: 36px; line-height: 42px; }
h3, .h3 { font-size: 28px; line-height: 36px; }
h4, .h4 { font-size: 24px; line-height: 25px; }
h5, .h5 { font-size: 20px; line-height: 24px; }
h6, .h6 { font-size: 18px; line-height: 24px; }

a { color: #1e90ff; /* Updated link color for better visibility */ }
a:hover, a:focus { color: #63b3ed; text-decoration: underline; }

.text-center { text-align: center; }

/* Navigation Bar Styles */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px; /* Adjusted padding for better spacing */
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  height: 60px; /* Fixed height for consistency */
}

/* Navbar Left */
.navbar .navbar-left {
  display: flex;
  align-items: center;
}

/* Navigation Links Container */
.navbar .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 20px; /* Increased space between nav links */
}

.navbar .nav-links a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 16px;
  padding: 10px 15px; /* Adjusted padding for better spacing */
  position: relative;
  transition: color 0.3s, text-shadow 0.3s;
  text-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
}

.navbar .nav-links a:hover {
  color: #63b3ed;
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.8);
}

/* Navbar Right */
.navbar .navbar-right {
  display: flex;
  align-items: center;
}

/* Language Selector Styles */
.language-selector {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  color: #e0e0e0;
}

.language-selector i {
  margin-right: 8px;
}

.language-selector span {
  font-size: 16px;
}

/* Language Dropdown Styles */
.language-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid #1e90ff;
  border-radius: 4px;
  padding: 5px 0;
  min-width: 100px;
}

.language-selector:hover .language-dropdown {
  display: block;
}

.language-dropdown a {
  display: block;
  padding: 8px 16px;
  color: #e0e0e0;
  text-decoration: none;
}

.language-dropdown a:hover {
  background: rgba(30, 144, 255, 0.1);
}

/* Responsive Adjustments for Language Selector */
@media (max-width: 768px) {
  .language-selector span {
    display: none; /* Hide text on smaller screens */
  }
}

/* Logo Styles */
.navbar .logo {
  width: 50px; /* Reduced size */
  margin-right: 20px; /* Increased margin for spacing */
}

/* Menu Icon Styles */
.navbar .menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #1e90ff; /* Changed color to match theme */
  text-shadow: 0 0 8px rgba(30, 144, 255, 0.7); /* Glow effect */
  padding-top: 5px; /* Added padding from top */
}


/* Side Navigation Styles */
.side-nav {
  height: 100%; /* Full-height */
  width: 0; /* 0 width - Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1001; /* Sit on top */
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.95); /* Darker black with opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* Transition effect */
  padding-top: 60px; /* Place content below the close button */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-nav .close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 36px;
  color: #fff;
  text-decoration: none;
}

.side-nav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #e0e0e0;
  display: block;
  transition: color 0.3s;
}

.side-nav a:hover {
  color: #63b3ed;
}

.main-content {
  position: relative;
  z-index: 1; /* Above particles */
  padding-top: 80px; /* To prevent content from being hidden behind the navbar */
  background-color: transparent; /* Ensure it's transparent to see particles */
}

/* Hero Section Styles */
.hero {
  text-align: center;
  padding: 60px 20px;
  color: #fff;
}

.hero-logo {
  width: 200px;
  margin: 20px 0;
}

.header-title {
  font-size: 72px;
  margin-bottom: 20px;
  text-shadow:
    0 0 10px rgba(30, 144, 255, 0.8),
    0 0 20px rgba(30, 144, 255, 0.6),
    0 0 30px rgba(30, 144, 255, 0.4);
}

.welcome-text {
  font-size: 20px;
  margin-bottom: 40px;
}

/* Download Buttons Styles */
.download-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap; /* Allows wrapping to next line on smaller screens */
}

/* App Store and Google Play Buttons - No Borders or Backgrounds */
.download-buttons a.app-store-button,
.download-buttons a.google-play-button {
  padding: 0;
  border: none;
  background: none;
  display: inline-block;
}

.download-buttons a.app-store-button img,
.download-buttons a.google-play-button img {
  display: block;
  width: auto; /* Maintains original width */
  height: 40px; /* Adjust height as needed */
}

/* Hover Effect for Image Buttons */
.download-buttons a.app-store-button:hover,
.download-buttons a.google-play-button:hover {
  transform: scale(1.05);
}

/* GoFundMe Button Styles */
.download-buttons a.gofundme-button {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid #1eff4f; /* Retain border for GoFundMe button */
  border-radius: 10px;
  transition: background 0.3s, transform 0.3s;
  background-color: transparent; /* Transparent background */
  color: #1eff4f; /* Text color matches theme */
  text-decoration: none;
}

.download-buttons a.gofundme-button:hover {
  background: rgba(30, 255, 86, 0.2); /* Slight color change on hover */
  transform: scale(1.05);
}

.download-buttons a.gofundme-button .fas.fa-hand-holding-heart {
  margin-right: 10px;
  font-size: 24px;
  color: #1eff4f; /* Icon color matches text */
}

/* Responsive Styles for Small Screens */
@media (max-width: 480px) {
  .download-buttons {
    flex-direction: column;
    align-items: center;
  }

  .download-buttons a.app-store-button,
  .download-buttons a.google-play-button {
    margin-bottom: 10px; /* Spacing between image buttons */
  }

  .download-buttons a.gofundme-button {
    width: 100%; /* Make GoFundMe button full-width on small screens */
    justify-content: center;
  }
}

/* Social Icons Styles */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.social-icons a {
  display: flex;
  flex-direction: column; /* Stack icon and count vertically */
  align-items: center;
  color: #1e90ff; /* Icon color matches theme */
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #63b3ed; /* Change icon color on hover */
  transform: scale(1.1); /* Slightly enlarge on hover */
}

.social-icons a i {
  font-size: 32px; /* Increase icon size as needed */
  margin-bottom: 5px; /* Space between icon and count */
}

/* Follower Count Styles */
.follower-count {
  font-size: 14px; /* Adjust size as needed */
  color: #dddddd; /* Light color for contrast */
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .social-icons a i {
    font-size: 24px; /* Reduce icon size on smaller screens */
  }

  .follower-count {
    font-size: 12px; /* Reduce count size on smaller screens */
  }
}

/* Tech Stack Styles */
.tech-stack {
  text-align: center;
}

.tech-stack h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.tech-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.tech-icons img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s, filter 0.3s;
}

.tech-icons img:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* FAQ Section Styles */
.faq-section {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.6);
  text-align: center;
}

.faq-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #1e90ff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.faq {
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: left;
}

.faq-question {
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 10px;
  position: relative;
  color: #ffffff; /* Ensure question text is visible */
}

.faq-question::after {
  content: '\f078'; /* Font Awesome chevron down */
  font-family: 'Font Awesome 6 Free'; /* Ensure Font Awesome is loaded */
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s;
}

.faq-answer {
  display: none;
  padding-left: 20px;
  color: #dddddd; /* Ensure answer text contrasts with background */
}

.faq.active .faq-answer {
  display: block;
}

.faq.active .faq-question::after {
  transform: translateY(-50%) rotate(180deg); /* Rotate the chevron */
}


/* Dummy Sections Styles */
.dummy-section {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  color: #f0f0f0;
}

.dummy-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #1e90ff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.dummy-section p {
  font-size: 18px;
  line-height: 1.6;
  padding: 0 20px; /* Added side padding */
}

.dummy-section a {
  color: #1e90ff;
  text-decoration: underline;
}

.dummy-section a:hover {
  color: #63b3ed;
}

/* Particle Background */
#particles-js {
  position: absolute;
  width: 100%;
  height: 300px; /* Adjust height as needed */
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.7; /* Adjust opacity for visibility */
}

/* Hero Section Adjustments */
.hero {
  position: relative;
  z-index: 1;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Styles */
/* Navigation Bar Adjustments */
@media (max-width: 768px) {
  .navbar {
    justify-content: space-between;
  }

  .navbar .nav-links {
    display: none;
  }

  .navbar .menu-icon {
    display: block;
  }

  .tech-stack h2 {
    font-size: 26px;
  }

  .tech-icons img {
    width: 50px;
    height: 50px;
  }

  .hero-logo {
    width: 200px; /* Adjust size for smaller screens */
  }
}

@media (max-width: 480px) {
  .download-buttons a {
    flex: 1 1 100%;
  }

  .tech-stack h2 {
    font-size: 24px;
  }

  .tech-icons img {
    width: 40px;
    height: 40px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 14px;
  }

  .navbar .logo {
    width: 40px; /* Further reduce logo size on small screens */
  }

  .navbar .menu-icon {
    font-size: 20px; /* Reduce menu icon size on small screens */
  }

  .navbar .nav-links a {
    font-size: 14px; /* Smaller text on small screens */
  }
}

/* Blue Particles Background */
.blue-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px; /* Adjust height as needed */
  z-index: 0; /* Behind main content */
  opacity: 0.6; /* Adjust opacity for softness */
  pointer-events: none; /* Allow clicks to pass through */
}

/* Meme Wall Carousel Styles */
.meme-wall {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.85);
  text-align: center;
  color: #ffffff;
}

.meme-wall h2 {
  font-size: 32px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  color: #1e90ff;
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-track-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
}

.carousel-slide.current-slide {
  opacity: 1;
}

.carousel-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 15px;
}

/* Carousel Buttons */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(30, 144, 255, 0.7);
  border: none;
  padding: 15px;
  border-radius: 50%;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background-color 0.3s;
  z-index: 10;
}

.carousel-button:hover {
  background-color: rgba(30, 144, 255, 1);
}

.carousel-button--left {
  left: 25px;
}

.carousel-button--right {
  right: 25px;
}

/* Carousel Navigation Indicators */
.carousel-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  background-color: #bbb;
  border: none;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-indicator.current-slide,
.carousel-indicator:hover {
  background-color: #1e90ff;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .carousel-image {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .meme-wall h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .carousel-image {
    height: 250px;
  }

  .carousel-button {
    padding: 12px;
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .carousel-image {
    height: 200px;
  }

  .carousel-button {
    padding: 10px;
    font-size: 18px;
  }

  .carousel-button--left {
    left: 10px;
  }

  .carousel-button--right {
    right: 10px;
  }
}

/* Leaderboard Section Styles */
.leaderboard-section {
  padding: 60px 20px;
  background: rgba(0, 0, 0, 0.85);
  text-align: center;
  color: #ffffff;
  position: relative;
}

.leaderboard-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  font-family: 'Inter', sans-serif;
  color: #1e90ff;
}

.leaderboard-section h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background: #1e90ff;
  left: 25%;
  bottom: -10px;
  border-radius: 2px;
}

/* Leaderboard Container */
.leaderboard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* Leaderboard Item */
.leaderboard-item {
  background: rgba(255, 255, 255, 0.1);
  width: 90%;
  max-width: 800px;
  padding: 15px 25px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.3);
  transition: transform 0.3s, background 0.3s;
}

.leaderboard-item:hover {
  transform: translateY(-5px);
  background: rgba(30, 144, 255, 0.15);
}

/* Trophy Icon Styling */
.leaderboard-trophy {
  flex-shrink: 0;
}

.trophy-icon {
  width: 40px; /* Normal sizing */
  height: 40px;
}

/* Rank Styling */
.leaderboard-rank {
  font-size: 30px; /* Bigger size */
  font-weight: bold;
  color: #1e90ff; /* Default color */
  margin: 0 15px;
}

.rank-1 .leaderboard-rank {
  color: #ffd700; /* Gold for rank 1 */
}

.rank-2 .leaderboard-rank {
  color: #c0c0c0; /* Silver for rank 2 */
}

.rank-3 .leaderboard-rank {
  color: #cd7f32; /* Bronze for rank 3 */
}

.rank-4 .leaderboard-rank,
.rank-5 .leaderboard-rank,
.rank-6 .leaderboard-rank,
.rank-7 .leaderboard-rank,
.rank-8 .leaderboard-rank,
.rank-9 .leaderboard-rank,
.rank-10 .leaderboard-rank {
  color: #1e90ff; /* Blue for ranks 4-10 */
}

/* Leaderboard User */
.leaderboard-user {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 2;
}

.profile-picture {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #1e90ff;
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-info h3 {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
}

.user-title {
  margin: 5px 0 0 0;
  font-size: 14px;
  color: #63b3ed;
  text-align: left; /* Ensure text starts from the left */
}

/* Donation Section */
.leaderboard-donation {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px; /* Increased size */
  color: #adff2f; /* Green color for donations */
  flex-shrink: 0;
}

.cash-icon {
  width: 28px; /* Slightly larger */
  height: 28px;
}

/* Remove Leaderboard Headers */
/* 
.leaderboard-headers {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto 20px auto;
  padding: 10px 25px;
  border-bottom: 2px solid #1e90ff;
}

.leaderboard-headers div {
  flex: 1;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #1e90ff;
}

.header-rank {
  flex: 0.5;
  text-align: left;
}

.header-name {
  flex: 2;
  text-align: left;
}

.header-donation {
  flex: 1;
  text-align: right;
}
*/

/* Remove Responsive Adjustments for Leaderboard */
@media (max-width: 1024px) {
  /* No leaderboard-specific styles */
}

@media (max-width: 768px) {
  /* Leaderboard Section Container */
  .leaderboard-section {
    padding: 40px 10px; /* Reduce padding for smaller screens */
  }

  /* Leaderboard Header */
  .leaderboard-section h2 {
    font-size: 24px; /* Smaller header font size */
    margin-bottom: 30px; /* Adjust margin below header */
  }

  /* Leaderboard Container */
  .leaderboard-container {
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items */
    gap: 10px; /* Reduce gap between items */
  }

  /* Leaderboard Item */
  .leaderboard-item {
    width: 90%; /* Reduce width to fit mobile screens */
    padding: 10px; /* Reduce padding within items */
    flex-direction: row; /* Arrange elements horizontally */
    align-items: center; /* Center elements vertically */
    text-align: left; /* Align text to the left */
  }

  /* Trophy Icon */
  .leaderboard-trophy img {
    width: 40px; /* Smaller trophy icon */
    height: 40px;
    margin-right: 10px; /* Adjust spacing */
  }

  /* User Info */
  .user-info h3 {
    font-size: 16px; /* Smaller user name */
    margin-bottom: 5px; /* Adjust spacing */
  }

  .user-title {
    font-size: 14px; /* Smaller user title */
  }

  /* Donation Information */
  .leaderboard-donation {
    font-size: 16px; /* Smaller donation amount */
    gap: 5px; /* Reduce spacing between donation elements */
  }

  /* Cash Icon */
  .cash-icon {
    width: 30px; /* Smaller cash icon */
    height: 30px;
    margin-right: 5px; /* Adjust spacing */
  }
}

@media (max-width: 480px) {
  /* Further adjustments for very small screens */
  .leaderboard-section h2 {
    font-size: 20px; /* Even smaller header */
    margin-bottom: 20px;
  }

  .leaderboard-trophy img,
  .profile-picture img {
    width: 60px; /* Further reduce icon sizes */
    height: 35px;
    margin-right: 8px;
  }

  .user-info h3 {
    font-size: 14px; /* Further reduce user name */
  }

  .user-title {
    font-size: 12px; /* Further reduce user title */
  }

  .leaderboard-donation {
    font-size: 14px; /* Further reduce donation amount */
    gap: 3px;
  }

  .cash-icon {
    width: 25px; /* Further reduce cash icon */
    height: 25px;
    margin-right: 3px;
  }
}

/* Glassmorphic Navbar Styles for Desktop */
@media (min-width: 769px) {
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    transition: background-color 0.5s ease, backdrop-filter 0.5s ease;
    background-color: transparent; /* Transparent at the top */
    backdrop-filter: none;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
  }

  .navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Glassmorphic blur effect */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    font-family: 'Inter', sans-serif; /* Ensure scrolled navbar uses Inter */
  }

  /* Centered Navigation Links */
  .navbar .nav-links {
    display: flex;
    justify-content: center;
    flex: 1;
  }

  /* Align Logo and Menu Icon to the Left */
  .navbar .logo,
  .navbar .menu-icon {
    margin-right: 20px;
  }

  /* Add Icons to Nav Links */
  .navbar .nav-links a {
    position: relative;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 16px;
    margin: 0 10px;
    padding: 10px 0;
    transition: color 0.3s, text-shadow 0.3s;
    text-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
  }

  .navbar .nav-links a:hover {
    color: #63b3ed;
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.8);
  }

  /* Example Icons Using Font Awesome */
  .navbar .nav-links a::before {
    content: '';
    display: inline-block;
    margin-right: 8px;
    /* Customize the icons below using Font Awesome classes or Unicode */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
  }

  .navbar .nav-links a[href="#faq"]::before {
    content: '\f059'; /* Replace with desired icon code */
  }

  .navbar .nav-links a[href="#support"]::before {
    content: '\f1d8'; /* Replace with desired icon code */
  }

  .navbar .nav-links a[href="#contact"]::before {
    content: '\f0e0'; /* Replace with desired icon code */
  }
}

/* Ensure the Navbar Remains Transparent on Top for Mobile */
@media (max-width: 768px) {
  .navbar {
    background-color: rgba(0, 0, 0, 0.8); /* Retain existing styles for mobile */
    backdrop-filter: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  }
}

/* Responsive Adjustments for Navbar */
@media (max-width: 768px) {
  /* Hide the language selector on mobile */
  .navbar .navbar-right .language-selector {
    display: none;
  }

  /* Show the hamburger menu on mobile */
  .navbar .navbar-right .menu-icon {
    display: block;
    margin-left: 15px; /* Space between language selector and hamburger menu if visible */
  }

  /* Adjust navbar-left to occupy minimal space */
  .navbar .navbar-left {
    flex: 0 0 auto; /* Prevents growing/shrinking */
  }

  /* Adjust navbar-right to align items correctly */
  .navbar .navbar-right {
    flex: 1; /* Allows it to take up remaining space */
    display: flex;
    justify-content: flex-end; /* Align items to the end */
    align-items: center;
    gap: 10px; /* Space between elements */
  }

  /* Hide navigation links on mobile if present */
  .navbar .nav-links {
    display: none;
  }
}

/* Hide hamburger menu on desktop */
@media (min-width: 769px) {
  .navbar .navbar-right .menu-icon {
    display: none;
  }
}