.desktop-nav {
  display: none;
}
.mobile-nav {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  position: fixed;
  top: 40px;
  z-index: 5;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  height: 40px;
}
.mobile-nav span {
  color: #333;
  margin-right: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
}

.mobile-financing {
  background: #296AB1;
  position: fixed;
  top: 0px;
  z-index: 5;
  width: 100%;
  padding: 8px 0;
}
.mobile-financing a {
  font-size: 16px;
  font-weight: 500;
  color: white;
  text-decoration: none;
  display: block;
  text-align: center;
  letter-spacing: 0.5px;
}

.burger {
  display: flex;
  align-items: center;
  justify-content: center;
}
.inner-burger div {
  background: #333;
  height: 2px;
  width: 22px;
  margin: 4px 0;
  transition: all 0.3s ease;
}

.logo {
  width: 100%;
  text-align: center;
  padding: 15px;
  background: white;
  position: relative;
  z-index: 3;
  margin-top: 95px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.logo img {
  max-width: 280px;
  height: auto;
  margin: 0 auto;
}

.nav-links {
  position: fixed;
  top: 75px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 75px);
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease-in-out;
  z-index: 998;
  transform: translateX(0);
}

.nav-links.nav-active {
  left: 0;
  transform: translateX(0);
}

.nav-links ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}
.nav-links ul li {
  margin: 0;
  border-bottom: 1px solid #f0f0f0;
}
.nav-links ul li a {
  display: block;
  padding: 15px 25px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
}
.nav-links ul li a:hover {
  background: #f8f9fa;
  color: #296AB1;
}
.nav-links ul li:last-child {
  border-bottom: none;
}

.mobile-floating-call {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #C62E2E;
  padding: 15px 25px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  animation: float 2s ease-in-out infinite;
}

.mobile-floating-call a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-floating-call i {
  font-size: 20px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media screen and (max-width: 800px) {
  .mobile-floating-call {
    display: block;
  }
}

@media screen and (min-width: 800px) {
  .mobile-nav {
    display: none;
  }
  .mobile-financing {
    display: none;
  }
  .nav-links {
    display: none;
  }
  .mobile {
    display: none;
  }
  /*end of display nones*/

  .desktop-nav {
    display: block; /* Keep block for the whole nav, flex for child containers */
    position: fixed;
    top: 0;
    z-index: 10;
    width: 100%;
    padding: 0;
}

/* Top nav section with logo and buttons */
  .desktop-nav-top {
      background: white;
      height: 8vh;
      display: flex;
      justify-content: space-between;  
      align-items: center; 
      padding: 20px 70px;
  }
  .logo {
      width: 20%;
      margin: 0;
      padding-top: 10px;
  }
  .logo img {
      width: auto;
      height: 90px;
  }
  .top-buttons-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 70px;
  }

  /* Phone number styling */
  .phone-number {
    display: flex;
    align-items: center;
  }
  .phone-number a {
    color: #005A9C;
    font-size: 24px;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
  }
  .phone-number i {
    margin-right: 15px;
    color:#C62E2E;
  }
  .phone-number .button {
    background-color: #C62E2E;
    color: white;
    font-size: 26px;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
  }
  .phone-number .button i {
    color: white;
    font-size: 24px;
  }
  .phone-number .button:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }
  .book-appt {
    display: none;
  }
  .customer-care-dealer-banner p {
    font-size: 20px;
    font-weight: bold;
    color: #296AB1;
  }
  .customer-care-dealer-banner img {
    height: 80px;
    width: auto;
    margin-top: 10px;
    margin-left: 20px;
  }
  .desktop-nav-bottom {
    background-color: #005A9C;
    height: 8vh;
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
  .desktop-nav-bottom a {
    color: white;
    text-decoration: none;
    font-size: 20px;
  }
  .dropdown {

  }
  .dropdown button {
    border: none;
    outline: none;
    background: none;
    color: white;
    font-size: 20px;
  }
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #296AB1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  .dropdown-content a {
    float: none;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    background: #296AB1;
    text-align: center;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }

}

.inner-burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.inner-burger.toggle .line2 {
  opacity: 0;
}

.inner-burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}
