/* Services Mobile Accordion Styles */
/* Injected to ensure functionality across all pages */

@media (max-width: 768px) {
  /* Hide the grid by default on mobile */
  .sidebar-nav .services-grid {
    display: none !important;
    margin-top: 10px;
    flex-direction: column;
  }

  /* Show the grid when 'open' class is present */
  .sidebar-nav.open .services-grid {
    display: flex !important;
  }

  /* Styling for the clickable title */
  .sidebar-nav .nav-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    background: #f8f9fa;
  }

  /* Arrow icon */
  .sidebar-nav .nav-title::after {
    content: '\f107'; /* FontAwesome Down Arrow */
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    color: #95c121;
    transition: transform 0.3s ease;
    margin-left: 10px;
  }

  /* Rotate arrow when open */
  .sidebar-nav.open .nav-title::after {
    transform: rotate(180deg);
  }
}
