/* Header & Navigation */
.header {
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
}

.navbar {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
  background: #fff;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.3s, background 0.3s;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-link {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding-top: 5rem;
  padding-bottom: 0;
}

.hero-content {
  max-width: 600px;
  margin-right: var(--spacing-xl);
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: var(--spacing-md);
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-bottom: var(--spacing-lg);
}

.hero-image {
  flex: 1;
  max-width: 600px;
}

/* Features Section */
.features {
  background: white;
}

.feature-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.feature-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-icon i {
  font-size: 1.5rem;
  color: white;
}

/* Testimonials */
.testimonials {
  background: white;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.testimonial-card {
  background: var(--gray-100);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  position: relative;
}

.testimonial-quote {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* CTA Section */
.cta {
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

/* Footer */
.footer {
  background: var(--dark);
  color: white;
  padding: var(--spacing-xl) 0;
}

.footer-grid {
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--spacing-xl);
}

.footer-brand {
  color: white;
}

.footer-links h4 {
  margin-bottom: var(--spacing-md);
  color: white;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 2;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-link:hover {
  background: var(--primary);
}

/* Custom header corners and Book A Taxi button */
.bg-dark {
  position: relative;
}

.hire-us-btn:hover {
  background: #ff5722 !important;
  color: #fff !important;
  border-color: #ff5722 !important;
}

.navbar-nav .nav-link {
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.navbar-nav .nav-link::after {
  display: none !important;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  border-bottom: 2px solid var(--primary);
  color: var(--primary-dark) !important;
  background: transparent;
}

.navbar-nav .nav-link {
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::after {
  content: '';
  display: block;
  position: absolute;
  left: 25%;
  right: 25%;
  bottom: 4px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 2px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s, left 0.25s, right 0.25s, transform 0.25s, background 0.25s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after {
  opacity: 1;
  left: 10%;
  right: 10%;
  transform: translateY(0);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--primary-dark) !important;
}

@media (max-width: 991.98px) {
  .bg-dark::before, .bg-dark::after { display: none; }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding-top: 7rem;
  }
  
  .hero-content {
    margin-right: 0;
    margin-bottom: var(--spacing-xl);
  }
  
  .hero .flex {
    flex-direction: column;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .nav-menu {
    display: none;
  }
}

/* Footer custom styles */
.footer-dark {
  background: #181818;
  color: #fff;
}
.footer-dark .footer-underline {
  display: block;
  width: 36px;
  height: 3px;
  background: #ffc107;
  border-radius: 2px;
  margin: 4px 0 0 0;
  margin-left: 0;
  margin-bottom: 0;
}
.footer-dark h6 {
  display: inline-block;
  position: relative;
  padding-bottom: 4px;
  margin-bottom: 12px;
}
.footer-dark h6 .footer-underline {
  position: absolute;
  left: 0;
  bottom: -2px;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #ffc107;
}
.footer-arrow {
  color: #ffc107;
  font-size: 1.1em;
  margin-right: 6px;
}
.footer-social {
  width: 38px;
  height: 38px;
  background: #ff9800;
  color: #fff !important;
  font-size: 1.2rem;
  margin-right: 8px;
  transition: all 0.5s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.footer-social:hover {
  color: #fff;
  transform:scale(1.1);
}
.whatsapp-float {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 999;
  background: #25d366;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  font-size: 1.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  animation: whatsapp-zoom 1.4s infinite ease-in-out;
}
@keyframes whatsapp-zoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.wa-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-bottom-bar {
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (max-width: 700px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    left: 16px;
    bottom: 16px;
  }
}

/* Improved Header Styles */
.header-top-bar {
  background: #352fd7;
  min-height: 36px;
  font-size: 0.98rem;
  padding: 0.15rem 0;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  position: relative;
  z-index: 1020;
  border-bottom: 1.5px solid #232526;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), opacity 0.35s cubic-bezier(.4,0,.2,1);
}

.header-corner {
  position: absolute;
  top: 0;
  width: 38px;
  height: 100%;
  background: #ffc107;
  z-index: 1;
}
.header-corner-left {
  left: 0;
  border-bottom-right-radius: 24px;
}
.header-corner-right {
  right: 0;
  border-bottom-left-radius: 24px;
}

.header-top-bar > .container-fluid, .header-top-bar > .container {
  position: relative;
  z-index: 2;
}

.header-top-bar .d-flex > span,
.header-top-bar .d-flex > a {
  padding: 0 0.3rem;
  display: flex;
  align-items: center;
}

.header-top-bar .fa {
  font-size: 1.05em;
  margin-right: 0.3em;
}

.header-social {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1rem;
  margin-right: 2px;
  transition: background 0.2s, color 0.2s, border 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header-social:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

@media (max-width: 991.98px) {
  .header-corner { display: none; }
  .header-top-bar { font-size: 0.93rem; }
}

.brand-text {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #181818;
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: #222;
  transition: color 0.2s, background 0.2s;
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
  font-weight: 600;
}
.navbar-nav .nav-link:hover {
  color: #ffffff !important;
  background: rgba(255,87,34,0.07);
}
.hire-us-btn {
  border: 2px solid #162b96 !important;
  color: #fff !important;
  background: #162b96 !important;
  transition: all 0.2s;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(255,87,34,0.06);
  border-radius: 10px;
}
.hire-us-btn:hover {
  background: #ff5722 !important;
  color: #fff !important;
  border-color: #ff5722 !important;
  box-shadow: 0 4px 16px rgba(255,87,34,0.12);
}
@media (max-width: 991.98px) {
  .navbar-nav .nav-link { padding: 0.5rem 1rem; }
}
@media (max-width: 700px) {
  .brand-text { font-size: 1.1rem; }
  .header-social { width: 28px; height: 28px; font-size: 1rem; }
}

.header-social, .footer-social {
  text-decoration: none !important;
  border-bottom: none !important;
}
.header-social:hover, .footer-social:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

.back-to-top-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  background: #ff9800;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  font-size: 1.5rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.back-to-top-float.show {
  display: flex;
}
.back-to-top-float:hover {
  background: #1d4ed8;
}

.header-top-bar.hide-on-scroll {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

/* Fix: Prevent AOS fade-up from moving footer up from below */
footer[data-aos="fade-up"],
.footer-bottom-bar[data-aos="fade-up"] {
  transform: none !important;
} 