body, html {
     margin: 0;
     padding: 0;
     font-family: 'Segoe UI', sans-serif;
     background-color: #121212;
     color: #fff;
   }
   .typing-text {
    font-size: 1.2em;
    height: 1.5em;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00d2ff;
    width: 100%;
    animation: typing 4s steps(40, end) infinite, blink 0.75s step-end infinite;
  }
  
  @keyframes typing {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 0; }
  }
  
  @keyframes blink {
    from, to { border-color: transparent; }
    50% { border-color: #00d2ff; }
  }
  
  .detail-info {
    font-size: 1em;
    color: #ccc;
    margin: 10px 0 20px;
  }
  
   .landing {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 5%;
     height: 100vh;
     /*background: linear-gradient(to bottom right, #0f2027, #203a43, #2c5364);*/
     background-color: black;

   }
   
   .hero-content {
     max-width: 50%;
   }
   
   .hero-content h1 {
     font-size: 3em;
     margin-bottom: 0.5em;
     color: #00d2ff;
   }
   
   .hero-content p {
     font-size: 1.2em;
     margin-bottom: 1.5em;
     color: #ccc;
   }
   
   .btn-group {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center; /* Added for vertical alignment */
    
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    margin: 0;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    background: #00c6ff;
    color: white;
    border: none;
    cursor: pointer;
}

   
   .btn-group .hero-btn:hover {
     background: #0072ff;
   }
   
   .animation img {
     width: 300px;
     animation: float 3s ease-in-out infinite;
   }
   
   @keyframes float {
     0%, 100% { transform: translateY(0); }
     50% { transform: translateY(-10px); }
   }
   
   #map {
     height: 100vh;
     width: 100%;
   }
   
   .map-box {
     display: flex;
     height: 100vh;
   }
   
   .sidebar {
     width: 300px;
     padding: 20px;
     background: #1f1f1f;
     color: #fff;
     overflow-y: auto;
   }
   
   .sidebar h2 {
     color: #00d2ff;
     font-size: 1.3em;
   }
   
   .sidebar ul {
     padding-left: 1em;
     list-style: none;
  
   }
   
   .sidebar li {
     margin-bottom: 10px;
     border-bottom: 1px solid #333;
     padding-bottom: 5px;
   }
   
   .info-box {
     background: linear-gradient(to right, #1a2980, #26d0ce);
     padding: 10px;
     border-radius: 10px;
     margin-bottom: 10px;
     color: #fff;
   }
   .search-container {
    display: flex;
    gap: 5px;
    margin: 15px 0;
  }
  
  #searchInput {
    flex: 1;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #333;
    background: #2a2a2a;
    color: white;
  }
  
  .search-btn {
    padding: 8px 15px;
    background: #00c6ff;
    border: none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
  }
  
  .search-btn:hover {
    background: #0072ff;
  }
  
  .fa-search {
    font-size: 14px;
  }
  .leaflet-routing-container {
    display: none !important;
  }
  /*LIVE TRACKER HTML*/
  .tracker-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background: #121212;
}

#map {
    flex: 1;
    min-height: 400px;
    z-index: 1;
}

.controls {
    padding: 15px;
    background: #2d2d2d;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    border-bottom: 2px solid #00c6ff33;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.route-input {
    padding: 12px;
    background: #333;
    border: 1px solid #444;
    color: white;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.track-btn {
    background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.directions-panel {
    position: fixed;
    right: 20px;
    top: 80px; /* Changed from 20px to 80px */
    width: 300px;
    max-height: calc(100vh - 100px); /* Adjusted to account for new top position */
    background: #1f1f1f;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    color: white;
    overflow-y: auto;
    display: none;
}
.direction-step {
    padding: 10px;
    margin-bottom: 10px;
    background: #2a2a2a;
    border-radius: 4px;
    border-left: 3px solid #00c6ff;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}
  /*LIVE TRACKER HTML*/

  /*VEHICLE TRACKER*/
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
  }

  body {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
  }

  #container {
    position: relative;
    height: 100%;
    width: 100%;
  }

  .sidebar {
    position: fixed;
    top: 20px;
    bottom: 20px;
    width: 300px;
    padding: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
  }

  .left-sidebar {
    left: 20px;
  }

  .right-sidebar {
    right: 20px;
  }

  .info-box {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #00d2ff;
    transition: transform 0.3s ease;
  }

  .info-box:hover {
    transform: translateY(-3px);
  }

  #map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
  }

  h2 {
    color: #00d2ff;
    margin-bottom: 20px;
    font-size: 1.5rem;
  }

  .value {
    font-size: 1.1rem;
    color: #00d2ff;
    margin-top: 5px;
    word-break: break-word;
  }

  /* Modified toggle button positioning */
  .toggle-btn {
   background: rgba(255, 255, 255, 0.1);
   color: #0d0e0e;
   border: none;
   padding: 12px;
   cursor: pointer;
   position: fixed;
   top: 20px;
   right: 20px; /* Changed from 340px */
   z-index: 2000;
   border-radius: 8px;
   backdrop-filter: blur(2px);
   transition: all 0.3s ease;
 }

 /* Add hover effect */
 .toggle-btn:hover {
   background: rgba(38, 172, 206, 0.9);
   transform: scale(1.05);
 }
  .toggle-btn i {
    font-size: 1.5rem;
  }

  #locateBtn {
    background-color: #00d2ff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
  }

  #locateBtn:hover {
    background-color: #009fdc;
  }
  .hidden {
    display: none !important;
  }

  /*VEHICLE TRACKER*/

   