/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-family: 'flexoregular', sans-serif;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle i {
    font-size: 0.9em;
    margin-left: 4px;
    vertical-align: middle;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(100vh);
    background: white;
    min-width: 280px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-sm);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-out;
    z-index: 100;
    pointer-events: none;
    border-top: 4px solid var(--primary);
}

/* Bridging the gap so hover doesn't break */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -19px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
    pointer-events: auto;
}

.dropdown-menu a {
    display: block;
    padding: 12px 24px;
    font-family: 'flexoregular', sans-serif;
    color: var(--text-main);
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 28px;
}

/* ==========================================================================
   Provider Modal & Snake Hamburger
   ========================================================================== */
.ham {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 800ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.hamRotate.active {
  transform: rotate(45deg);
}
.line {
  fill:none;
  transition: stroke-dasharray 800ms, stroke-dashoffset 800ms;
  stroke:#fff;
  stroke-width:5.5;
  stroke-linecap:round;
}
.ham8 .top {
  stroke-dasharray: 40 160;
}
.ham8 .middle {
  stroke-dasharray: 40 142;
  transform-origin: 50%;
  transition: transform 800ms;
}
.ham8 .bottom {
  stroke-dasharray: 40 85;
  transform-origin: 50%;
  transition: transform 800ms, stroke-dashoffset 800ms;
}
.ham8.active .top {
  stroke-dashoffset: -64px;
}
.ham8.active .middle {
  transform: rotate(90deg);
}
.ham8.active .bottom {
  stroke-dashoffset: -64px;
}

.side-menu-overlay {
    position: fixed;
    top: 71px; /* Align precisely under navbar */
    left: 0;
    width: 100%;
    height: calc(100vh - 71px);
    background: white;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
    padding-top: 50px;
}
.side-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}
.nav-tabs-custom {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.nav-tabs-custom li {
    font-family: 'flexoblack', sans-serif;
    font-size: 1.2rem;
    color: var(--text-muted);
    padding-bottom: 15px;
    cursor: pointer;
    position: relative;
}
.nav-tabs-custom li.active {
    color: var(--primary);
}
.nav-tabs-custom li.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
}
.side-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.side-widget h5 {
    font-family: 'flexoblack', sans-serif;
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 20px;
}
.side-widget p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.hours-table {
    width: 100%;
    max-width: 250px;
}
.hours-table td {
    padding: 5px 0;
    color: var(--text-muted);
    font-size: 1rem;
}
.info-links {
    list-style: none;
    padding: 0;
}
.info-links li {
    margin-bottom: 15px;
    position: relative;
}
.info-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
}
.info-links li a:hover {
    color: var(--primary);
}
