
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@400;500;600;700&display=swap');

:root {
  --green: #087f5b;
  --green-dark: #066044;
  --green-light: #e7f7ef;
  --bg: #f4f8f6;
  --card: #ffffff;
  --text: #172b24;
  --muted: #718078;
  --border: #e1eae5;
  --orange: #f59e0b;
  --shadow: 0 8px 28px rgba(24, 60, 43, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.btn {
  cursor: pointer;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1120px;
  margin: auto;
  padding: 13px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  color: var(--green);
  font-size: 27px;
  font-weight: 700;
  line-height: 1.2;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .3px;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 16px;
  border-radius: 12px;
  color: var(--green-dark);
  background: var(--green-light);
  font-weight: 600;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  margin: 28px auto 22px;
  padding: 34px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(130deg, #075b43, #0a9466);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(27px, 5vw, 42px);
  line-height: 1.25;
}

.hero p {
  margin: 0 0 22px;
  color: #e2fff1;
  font-size: 17px;
}

.search-form {
  display: flex;
  gap: 10px;
  padding: 7px;
  background: #fff;
  border-radius: 15px;
}

.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  padding: 10px 13px;
  color: var(--text);
  background: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  padding: 9px 15px;
  border: 0;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: transform .15s, background .15s;
}

.btn:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--green-light);
  color: var(--green-dark);
}

.btn-light:hover {
  background: #d4f0e1;
}

.btn-outline {
  background: #fff;
  color: var(--green-dark);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--green-light);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 14px;
}

.section-heading h2 {
  margin: 0;
  font-size: 24px;
}

.muted {
  color: var(--muted);
}

.trip-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 38px;
}

.trip-card {
  min-width: 0;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.trip-card-top {
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--border);
}

.trip-code {
  display: inline-flex;
  padding: 4px 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.route-point {
  min-width: 0;
}

.route-point small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.route-point strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 19px;
  line-height: 1.35;
}

.route-arrow {
  color: var(--green);
  font-size: 22px;
  text-align: center;
}

.trip-details {
  padding: 15px 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.detail-item {
  min-width: 0;
}

.detail-item small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.detail-item strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 600;
}

.trip-price {
  padding: 13px 20px;
  background: #f7fbf8;
  border-top: 1px solid var(--border);
}

.trip-price small {
  display: block;
  color: var(--muted);
}

.trip-price strong {
  color: var(--green-dark);
  font-size: 24px;
}

.trip-notes {
  margin: 0 20px 14px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7f9f8;
  overflow-wrap: anywhere;
}

.trip-actions {
  padding: 0 20px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.trip-actions .btn {
  flex: 1;
}

.empty-state,
.notice {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
}

.empty-state h3 {
  margin-top: 0;
}

.site-footer {
  padding: 25px 16px;
  border-top: 1px solid var(--border);
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 4px 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 50;
  transform: translateX(-50%);
  max-width: calc(100% - 28px);
  padding: 11px 18px;
  border-radius: 12px;
  background: #173c2c;
  color: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

@media (max-width: 700px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand {
    font-size: 24px;
  }

  .hero {
    margin-top: 18px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  .hero p {
    font-size: 15px;
  }

  .trip-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading h2 {
    font-size: 21px;
  }
}

@media (max-width: 420px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 22px);
  }

  .header-link {
    padding: 7px 11px;
    font-size: 14px;
  }

  .search-form {
    flex-direction: column;
    background: transparent;
    padding: 0;
  }

  .search-form input {
    min-height: 47px;
    border-radius: 11px;
    background: #fff;
  }

  .search-form .btn {
    width: 100%;
  }

  .trip-card-top {
    padding: 15px;
  }

  .route {
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    gap: 5px;
  }

  .route-point strong {
    font-size: 16px;
  }

  .trip-details {
    padding: 13px 15px;
    gap: 11px;
  }

  .trip-price {
    padding: 12px 15px;
  }

  .trip-actions {
    padding: 0 15px 15px;
  }

  .trip-actions .btn {
    flex-basis: 100%;
  }
}