*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

:root {
  --teal-dark: #122a2a;
  --teal-mid: #1e5f5f;
  --teal-accent: #377e80;
  --teal-light: #59bdb1;
  --cream: #edeee8;
  --cream-dark: #d9dad3;
  --text-dark: #122a2a;
  --text-mid: #2b3535;
  --text-muted: #5a6b6b;
  --white: #fafafa;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
}

body {
  font-family: "Inter", "Josefin Sans", sans-serif;
  background: var(--cream);
  color: var(--text-mid);
  line-height: 1.65;
}

/* ================================================================
   NAVBAR  (identical to index.html)
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.nav-brand-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--teal-dark);
  letter-spacing: 0.5px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-links a {
  display: block;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition:
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--cream);
  color: var(--teal-accent);
}
.nav-auth {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-register,
.btn-login {
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
}
.btn-register {
  border: 1.5px solid var(--teal-accent);
  color: var(--teal-accent);
  background: transparent;
}
.btn-register:hover {
  background: var(--teal-accent);
  color: var(--white);
}
.btn-login {
  background: var(--teal-dark);
  color: var(--white);
}
.btn-login:hover {
  background: var(--teal-accent);
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  transition: all 0.3s;
  border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  padding: 16px 24px 24px;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.mobile-menu a:hover {
  background: var(--cream);
  color: var(--teal-accent);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-auth {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* ================================================================
   HERO / SEARCH
   ================================================================ */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--teal-dark) 0%,
    var(--teal-mid) 60%,
    var(--teal-accent) 100%
  );
  padding: 72px 24px 56px;
}
.hero-overlay {
  max-width: 900px;
  margin: 0 auto;
}
.hero-content {
  text-align: center;
  margin-bottom: 40px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: var(--teal-light);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 5vw, 48px);
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}
.hero-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

/* Search bar */
.search-container {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--shadow-lg);
}
.search-fields {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  flex: 1;
  min-width: 160px;
}
.search-field i {
  color: var(--teal-accent);
  font-size: 15px;
  flex-shrink: 0;
}
.search-field input {
  border: none;
  background: transparent;
  font-size: 14px;
  color: var(--text-dark);
  width: 100%;
  outline: none;
  font-family: inherit;
}
.search-field input::placeholder {
  color: var(--text-muted);
}
.swap-btn {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-accent);
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.swap-btn:hover {
  background: var(--teal-light);
  color: var(--white);
}
.search-btn {
  width: 100%;
  padding: 14px;
  background: var(--teal-dark);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.5px;
  transition:
    background 0.25s,
    transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.search-btn:hover {
  background: var(--teal-accent);
  transform: translateY(-1px);
}

/* ================================================================
   SHARED SECTION HEADER
   ================================================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.section-sub {
  font-size: 15px;
  color: var(--text-muted);
}

/* ================================================================
   POPULAR DESTINATIONS
   ================================================================ */
.destinations-section {
  padding: 72px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.destination-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.dest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.dest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.dest-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.dest-card:hover .dest-img-wrap img {
  transform: scale(1.05);
}
.dest-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--teal-accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.dest-card-body {
  padding: 20px 22px;
}
.dest-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.dest-route {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.dest-route i {
  margin-right: 6px;
  color: var(--teal-light);
}
.dest-price {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 16px;
}
.dest-price strong {
  color: var(--teal-accent);
  font-size: 17px;
}
.dest-btn {
  display: inline-block;
  padding: 9px 22px;
  background: var(--teal-dark);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.dest-btn:hover {
  background: var(--teal-accent);
  transform: translateY(-1px);
}

/* ================================================================
   WHY BOOK SECTION
   ================================================================ */
.why-section {
  background: var(--white);
  padding: 72px 40px;
}
.why-section .section-header {
  max-width: 1280px;
  margin: 0 auto 48px;
}
.features-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.feature-card.featured {
  background: var(--teal-dark);
  color: var(--white);
}
.feature-card.featured h3,
.feature-card.featured p {
  color: var(--white);
}
.feature-card.featured .feature-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--teal-light);
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(55, 126, 128, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: var(--teal-accent);
}
.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================================================================
   BUS TYPES
   ================================================================ */
.bus-types-section {
  padding: 72px 40px;
  max-width: 1280px;
  margin: 0 auto;
}
.bus-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.bus-type-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  border: 2px solid transparent;
}
.bus-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-light);
}
.bus-type-card.popular {
  border-color: var(--teal-accent);
}
.popular-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}
.bus-type-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(55, 126, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 26px;
  color: var(--teal-accent);
}
.bus-type-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 10px;
}
.bus-type-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 18px;
}
.bus-type-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--cream);
  color: var(--teal-accent);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--cream-dark);
}

/* ================================================================
   FOOTER  (identical to index.html)
   ================================================================ */
.site-footer {
  background: #0b1f1f;
  color: rgba(255, 255, 255, 0.75);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 40px 48px;
}
.footer-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-bottom: 12px;
}
.footer-tagline {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
}
.footer-social a:hover {
  background: var(--teal-accent);
  border-color: var(--teal-accent);
  color: var(--white);
}
.footer-links-group h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-group a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links-group a:hover {
  color: var(--teal-light);
}
.footer-newsletter h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-newsletter > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 18px;
  line-height: 1.6;
}
.newsletter-form {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.newsletter-form button {
  padding: 11px 18px;
  background: var(--teal-accent);
  color: var(--white);
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--teal-light);
  color: var(--teal-dark);
}
.newsletter-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom p .fa-heart {
  color: #e74c3c;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover {
  color: var(--teal-light);
}

/* ================================================================
   BACK TO TOP
   ================================================================ */
#myBtn {
  display: none;
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-accent);
  color: var(--white);
  border: none;
  font-size: 16px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    transform 0.2s;
}
#myBtn:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1100px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 860px) {
  .destination-cards,
  .bus-types-grid {
    grid-template-columns: 1fr 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .destinations-section,
  .why-section,
  .bus-types-section {
    padding: 48px 24px;
  }
}
@media (max-width: 600px) {
  .destination-cards,
  .bus-types-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }
  .search-fields {
    flex-direction: column;
  }
  .swap-btn {
    display: none;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 40px 24px 32px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 20px 24px;
  }
}
