* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}
body {
  background: #fff;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.nav-container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 20px;
  display: flex;
  align-items: center;
}
.logo img {
  height: 56px;
}
.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  margin-left: auto;
}
.booking-btn {
  background: #0a1d4d;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
}
.mobile-booking-btn {
  display: none;
  margin-left: 10px;
}
.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: #222;
  font-size: 14px;
  font-weight: 500;
  padding: 0 14px;
  border-right: 1px solid #ddd; /* vertical line */
}
.nav-links a:last-child {
  border-right: none;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  padding-top: 80px;
  overflow: hidden;
}
.hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
}
.hero-content h1 {
  font-size: 42px;
  margin-bottom: 25px;
}

/* ================= TOGGLE ================= */
.trip-toggle {
  display: inline-flex;
  background: #fff;
  padding: 4px;
  border-radius: 30px;
  margin-bottom: 25px;
}
.trip-toggle button {
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  background: transparent;
  cursor: pointer;
}
.trip-toggle .active {
  background: #eef2ff;
  color: #0b5ed7;
  font-weight: 600;
}

/* ================= SEARCH BAR ================= */
.search-bar {
  background: #fff;
  border-radius: 60px;
  padding: 12px;
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: auto;
}
.search-field {
  flex: 1;
  padding: 10px 18px;
  text-align: left;
  border-right: 1px solid #ddd; /* vertical line */
}
.search-field:last-of-type {
  border-right: none;
}
.search-field span {
  font-size: 12px;
  color: #777;
}
.search-field input {
  border: none;
  outline: none;
  font-size: 14px;
  width: 100%;
  font-weight: 500;
  color: #000;
  background: transparent;
}
.search-field input::placeholder {
  color: #999;
}
.search-btn {
  width: 50px;
  height: 50px;
  background: #5b5df5;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 10px;
}

/* ================= PASSENGER ================= */
.passenger-box {
  cursor: pointer;
  position: relative;
}
.passenger-summary {
  font-size: 14px;
  font-weight: 500;
  color: #111;
}
.dropdown {
  display: none;
  position: absolute;
  top: 70px;
  right: 0;
  width: 300px;
  background: #fff;
  border-radius: 14px;
  padding: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  color: #111;
}
.dropdown.open {
  display: block;
}
.dropdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 500;
}
.counter {
  display: flex;
  gap: 10px;
  align-items: center;
}
.counter button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
}
select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ================= TEXT ================= */
.hero-subtext {
  margin-top: 35px;
  font-size: 14px;
  color: #e5e5e5;
}
.stats {
  margin-top: 15px;
  font-weight: 600;
}

/* ================= FEATURES ================= */
.features {
  margin-top: 60px;
  background: #0a2a66;
  padding: 30px;
  border-radius: 14px;
  display: flex;
  gap: 20px;
}
.feature {
  flex: 1;
  text-align: left;
}
.feature h4 {
  font-size: 15px;
  margin-bottom: 8px;
}
.feature p {
  font-size: 13px;
  color: #dcdcdc;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .mobile-booking-btn {
    display: inline-block;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    display: none;
    padding: 20px;
  }
  .nav-links a {
    border-right: none;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
  }
  .nav-links.active {
    display: flex;
  }
  .search-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border-radius: 20px;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid #eee;
  }
  .search-btn {
    grid-column: span 2;
    width: 100%;
    border-radius: 30px;
  }
  .dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-height: 80vh;
    overflow-y: auto;
  }
}

/* ================= BOOKED TRIPS ================= */
.booked-trips {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.booked-trips h2 {
  font-size: 26px;
  margin-bottom: 20px;
  color: #0a1d4d;
}

.trip-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 16px;
  background: #d0dcf4;
  margin-bottom: 20px;
  align-items: center;
}

.trip-card img {
  width: 90px;
}

.trip-details {
  flex: 1;
}

.trip-details h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.trip-details p {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
}

.trip-meta {
  display: flex;
  gap: 15px;
  margin-top: 10px;
  font-size: 13px;
}

.badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge.active {
  background: #e6f7ee;
  color: #128c4a;
}

.badge.pending {
  background: #fff4e5;
  color: #c77700;
}

.badge.inactive {
  background: #f1876a;
  color: #efeeed;
}

.trip-actions a {
  display: inline-block;
  margin-left: 10px;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  color: #fff;
  background: #5b5df5;
}

.trip-actions a.secondary {
  background: #0a1d4d;
}
/* ================= BOOKED TRIPS - MOBILE ================= */
@media (max-width: 768px) {
  .booked-trips {
    margin: 50px auto;
  }

  .booked-trips h2 {
    font-size: 20px;
    text-align: center;
  }

  .trip-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .trip-card img {
    width: 70px;
    margin-bottom: 10px;
  }

  .trip-details h4 {
    font-size: 15px;
  }

  .trip-details p {
    font-size: 12px;
  }

  .trip-meta {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
  }

  .trip-meta span {
    font-size: 12px;
  }

  .badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .trip-actions {
    width: 100%;
    margin-top: 12px;
    display: flex;
    gap: 10px;
  }

  .trip-actions a {
    flex: 1;
    text-align: center;
    font-size: 12px;
    padding: 10px;
  }
}
/* ================= BOOKED HEADER ================= */
.booked-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.booked-header h2 {
  font-size: 24px;
  font-weight: 700;
  color: #0a1d4d;
}

.logout-btn {
  background: #dc3545;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.logout-btn:hover {
  background: #b02a37;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .booked-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .logout-btn {
    width: 100%;
    text-align: center;
  }
}

.messages-section {
  max-width: 1000px;
  margin: 50px auto;
  padding: 20px;
  background: #d0dcf4;
  border-radius: 14px;
}

.messages-section h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  margin-bottom: 20px;
}

.badge.new {
  background: #ff6b00;
  color: #fff;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.message-card {
  background: #dcc6c6;
  border-radius: 12px;
  padding: 15px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.message-card.unread {
  border-left: 4px solid #ff6b00;
}

.msg-header {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 8px;
}

.msg-content {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.msg-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.msg-actions .status {
  font-size: 12px;
  color: #777;
}

.reply-btn,
.send-btn {
  background: #5b5df5;
  color: #fff;
  border: none;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 12px;
}

.reply-box {
  margin-top: 10px;
  display: flex;
  gap: 10px;
}

.reply-box input {
  flex: 1;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.about-us {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.about-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(-5deg) scale(1.05); /* slanted effect */
  border-radius: 12px;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #0a1d4d;
}

.about-text p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #333;
}

.learn-more-btn {
  width: max-content;
  background: #5b5df5;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}

.learn-more-btn:hover {
  background: #4547c2;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column-reverse;
    gap: 20px;
  }

  .about-image img {
    transform: rotate(0deg) scale(1);
  }

  .about-text h2 {
    text-align: center;
  }

  .about-text p {
    text-align: center;
  }

  .learn-more-btn {
    margin: auto;
  }
}
/* ================= FOOTER ================= */
.footer {
  background: #0a1d4d;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #dcdcdc;
}

.footer-logo {
  width: 140px;
  margin-bottom: 15px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e5e5e5;
}

.footer-col ul li i {
  color: #5b5df5;
}

/* SOCIAL ICONS */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #5b5df5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s, transform 0.3s;
}

.social-icons a:hover {
  background: #4547c2;
  transform: translateY(-3px);
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding-top: 15px;
  font-size: 13px;
  color: #ccc;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .social-icons {
    justify-content: flex-start;
  }
}
