/* * {
  border: 1px solid red;
} */

body {
  background: #fff;
  font-family: 'Poppins', sans-serif;
  padding-bottom: 10px;
}

.no-outline:focus,
.no-outline:active {
  outline: none !important; 
  box-shadow: none !important;
  border-color: #ced4da;
}

#globalLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.5s ease;
}

.loader-logo {
  width: 450px;
  height: 110px;
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #f7931e;
  color: #fff;
  border: none;
  outline: none;
  display: none;
  z-index: 999;
  width: 50px;
  height: 50px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

#backToTop:hover {
  background-color: #e98310;
  transform: translateY(-3px);
}

.search-bar {
  border-radius: 30px;
  background: #f2f2f2;
  border: none;
  padding: 10px 20px;
  width: 100%;
}
.brand-logo {
  width: 70px;
  height: 70px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
  margin: 10px auto;
}
.brand-name {
  font-size: 14px;
  margin-top: 5px;
}
.car-card, .bike-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0px 3px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  height: 100%;
}
.car-card img, .bike-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.car-info, .bike-info {
  padding: 15px;
}
.car-info h5, .bike-info h5 {
  font-weight: bold;
  font-size: 18px;
}
.car-info p, .bike-info p {
  margin: 0;
  font-size: 14px;
  color: #555;
}
.toggle-icon {
  width: 24x;
  height: 24px;
  object-fit: contain;
}
.toggle-btn {
  background: #f8f8f8;
  border-radius: 30px;
  display: inline-flex;
  padding: 5px;
  box-shadow: 0px 2px 6px rgba(0,0,0,0.1);
}
.toggle-btn span {
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
}
.toggle-btn .active {
  background: #ff914d;
  color: #fff;
}
.sticky-toggle {
  position: fixed;
  bottom: 80px; /* Position above the bottom nav */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 90%;
  max-width: 300px;
}
.sticky-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 10px 0;
}
.nav-item {
  text-align: center;
  flex: 1;
}
.nav-item a {
  color: #777;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.nav-item a.active {
  color: #ff914d;
}
.nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
}
.location-header {
  background: #f8f8f8;
  padding: 10px 0;
  text-align: center;
  margin-top: 10px;
  border-radius: 10px;
}
.location-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.location-subtitle {
  font-size: 14px;
  color: #777;
  margin: 0;
}
.search-container {
  position: relative;
  display: inline-block;
  width: 100%;
}
.fade-text {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  color: #6c757d;
}
.fade-text span {
  position: absolute;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.fade-text span.active {
  opacity: 1;
}

.navbar-toggler {
  display: none !important;
}

.navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}

.navbar-nav {
  flex-direction: row;
}

.container {
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}
.hnav {
   font-size: 20px;
   font-weight: bold;
}
.nav-link-text {
  font-size: 20px;
}

/* Hero Banner */
.hero-banner {
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.hero-image {
  object-fit: cover;
  height: 100%;
  filter: brightness(70%);
}

.hero-overlay {
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-gradient {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

/* Download App Section */
.download-app-section h2 {
  color: #1a1a1a;
}

.phone-mockup {
  position: relative;
}

.phone-mockup .main-phone {
  max-width: 250px;
}

.how-it-works {
  position: relative;
}

.how-line {
  position: relative;
  justify-content: space-between;
}

/* The connecting orange line */
.how-line::before {
  content: "";
  position: absolute;
  top: 22px; /* center with the circles */
  left: 0;
  right: 0;
  height: 3px;
  background-color: #f7931e;
  z-index: 1;
}

/* Step circle */
.step-circle {
  width: 45px;
  height: 45px;
  background-color: #f7931e;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  font-size: 18px;
}

/* Step container */
.work-step {
  flex: 1;
  min-width: 150px;
  position: relative;
  z-index: 2;
}

/* Cookies bar */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: black;
  z-index: 1050;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.cookie-text {
  font-size: 0.9rem;
  color: white;
}

.cookie-actions button {
  min-width: 80px;
  background-color: white;
  color: black;
}

.cookie-actions button:hover {
  min-width: 80px;
  background-color: white;
  color: black;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  overflow-x: auto;
  padding: 15px 0;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  padding: 8px 16px;
  margin-right: 10px;
  background: transparent;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
  cursor: pointer;
}

.category-tab.active {
  border-bottom: 1px solid black;
}

.clip-card {
  flex: 0 0 auto;
  width: 160px;
  border-radius: 10px;
  overflow: hidden;
  background-color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
}

.clip-thumbnail {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.clip-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  color: #fff;
}

.clip-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width:1025px) {
  #toggleswitch {
    margin-bottom: -60px;
  }
  .main-container {
    padding-left: 80px;
    padding-right: 80px;
  }
  .sticky-toggle {
    bottom: 20px !important;
  }
  .clip-card {
    width: 180px;
  }
}

/* Adjust spacing for mobile */
@media (max-width: 768px) {
  .loader-logo {
    width: 200px;
    height: 55px;
  }
  .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
  }
  
  .brand-logo {
    width: 60px;
    height: 60px;
  }
  
  .car-card img, .bike-card img {
    height: 150px;
  }
  
  .toggle-btn span {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .sticky-toggle {
    width: 85%;
  }

  .hero-banner {
    height: 45vh;
  }

  .hero-overlay h2 {
    font-size: 1.5rem;
  }

  .hero-overlay p {
    font-size: 0.9rem;
  }
  
  .how-line {
    flex-direction: column;
    gap: 2rem;
  }

  .how-line::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    height: 100%;
    background-color: #f7931e;
    visibility: hidden;
  }

  .step-circle {
    margin-bottom: 0.5rem;
  }

  .grow-app-section h2 {
    font-size: 2rem;
  }

  .grow-app-section .card {
    transition: all 0.3s ease;
    border-radius: 15px;
  }

  .grow-app-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .brand-logo {
    width: 50px;
    height: 50px;
  }
  
  .brand-name {
    font-size: 12px;
  }
  
  .car-card img, .bike-card img {
    height: 130px;
  }
  
  .car-info h5, .bike-info h5 {
    font-size: 16px;
  }
  
  .car-info, .bike-info {
    padding: 10px;
  }
  
  .toggle-btn span {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .sticky-toggle {
    width: 80%;
  }
  
  .nav-icon {
    font-size: 18px;
  }
  
  .nav-item a {
    font-size: 13px;
    font-weight: bolder;
  }

  .cookie-bar {
    flex-direction: column;
    text-align: center;
  }
  .cookie-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
}