/* Fix for mobile menu on desktop issue */

/* Hide mobile navigation on desktop */
.mobile-quick-nav {
  display: none; /* Hidden by default on all screens */
}

/* Ensure nav links are visible on desktop and only hidden on mobile */
@media (min-width: 769px) {
  .main-nav .nav-links {
    display: flex !important; /* Force display on desktop */
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    transition: none;
    overflow: visible;
    padding: 0;
  }
  
  /* Make sure the hamburger icon is hidden on desktop */
  .mobile-menu-toggle {
    display: none !important; /* Force hide on desktop */
  }
}

/* Only show mobile navigation on mobile devices */
@media (max-width: 768px) {
  .mobile-quick-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 90;
  }
  
  .mobile-quick-nav a {
    flex: 1;
    text-align: center;
    padding: 1.2rem 0;
    color: var(--text-color);
    font-size: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .mobile-quick-nav a i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
  }
  
  .mobile-quick-nav a.active {
    color: var(--primary-color);
  }
  
  /* Add padding to body only on mobile screens */
  body {
    padding-bottom: 7rem;
  }
}

/* Ensure content is centered in slider on all devices */
.highlight-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.highlight-content h3,
.highlight-content p {
  width: 100%;
  text-align: center;
}

/* Ensure slider controls are visible on all screen sizes */
.slider-controls {
  display: flex !important; /* Always display, overriding any other rules */
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

/* Style for navigation dots */
.dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.3);
}

/* Fix for slider arrows */
.slider-prev, .slider-next {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-radius: 50%;
  width: 4rem !important;
  height: 4rem !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
  cursor: pointer;
  color: var(--primary-color) !important;
  border: none !important;
  position: relative;
  z-index: 5;
  margin: 0 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* Responsive adjustments for slider controls */
@media (max-width: 768px) {
  .slider-prev, .slider-next {
    width: 3.5rem !important;
    height: 3.5rem !important;
    margin: 0 0.5rem;
  }
  
  .dot {
    width: 1.2rem;
    height: 1.2rem;
  }
  
  .slider-controls {
    margin-top: 1.5rem;
  }
  
  .highlight-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.3rem;
  }
  
  .highlight-content p {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .slider-prev, .slider-next {
    width: 3rem !important;
    height: 3rem !important;
  }
  
  .slider-prev i, .slider-next i {
    font-size: 1.5rem;
  }
  
  .dot {
    width: 1rem;
    height: 1rem;
  }
}