:root {
  --primary: #2563ff;
  --primary-soft: #eef2ff;
  --primary-gradient: linear-gradient(135deg, #2563ff, #6d5bff);
  --text-main: #0f172a;
  --text-soft: #64748b;
  --bg-body: #f5f7ff;
  --bg-page: #ffffff;
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --radius-pill: 999px;
  --max-width: 1100px;
  --nav-height: 64px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-body);
}

/* Layout */

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0 4rem;
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: 2rem;
}

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 2.3rem;
}

/* NAVBAR */

.navbar {
  height: var(--nav-height);
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 20;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
}

.logo-text {
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-soft);
  position: relative;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text-main);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
}

.nav-right {
  width: 87px;    /* same width as the removed button */
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: box-shadow 0.18s ease, transform 0.12s ease,
    background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 255, 0.45);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border-color: #d1d5db;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-link {
  padding: 0;
  border: none;
  background: transparent;
  color: var(--primary);
}

/* HERO - home */

.hero {
  padding: 4rem 0 4.2rem;
  background: radial-gradient(circle at top left, #e0edff 0, #ffffff 52%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-pill);
  background: #f4f6ff;
  border: 1px solid #e0e7ff;
  color: var(--text-soft);
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.hero-highlight {
  color: var(--primary);
}

.hero-text {
  font-size: 0.95rem;
  color: var(--text-soft);
  max-width: 28rem;
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  font-size: 0.9rem;
}

.stat-item strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.1rem;
}

/* hero illustration */

.hero-illustration {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  background: var(--primary-gradient);
  box-shadow: 0 24px 60px rgba(37, 99, 255, 0.4);
}

/* ====== Hero departure board ====== */

.hero-board {
  background: #020617;
  color: #e5e7eb;
  border-radius: 16px;
  padding: 1rem 1.1rem 1.1rem;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
  font-size: 0.8rem;
}

.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.board-title {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.board-pill {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e5e7eb;
  background: rgb(37, 99, 255);
}

.board-table {
  margin-top: 0.3rem;
  border-radius: 12px;
  background: radial-gradient(circle at top left, #7e7e7e, #d3d3d3);
  overflow: hidden;
}

.board-row {
  display: grid;
  grid-template-columns: 0.8fr 1.7fr 0.9fr 1fr;
  padding: 0.45rem 0.65rem;
  align-items: center;
}

.board-row:nth-child(even) {
  background: rgba(15, 23, 42, 0.8);
}

.board-row:nth-child(odd) {
  background: rgba(15, 23, 42, 0.55);
}

.board-row-head {
  background: rgba(15, 23, 42, 1);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #9ca3af;
}

.board-route {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.board-dest {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-time {
  font-variant-numeric: tabular-nums;
}

.board-status {
  justify-self: end;
  font-variant-numeric: tabular-nums;
}

.board-status.on-time {
  color: #22c55e;
}

.board-status.boarding {
  color: #38bdf8;
}

.board-status.delayed {
  color: #f97316;
}


.hero-card-inner {
  border-radius: 18px;
  background: #ffffff;
  padding: 1rem;
}

.hero-line {
  height: 14px;
  border-radius: 999px;
  background: #eef2ff;
  margin-bottom: 0.7rem;
}

.hero-line:nth-child(1) {
  width: 80%;
}

.hero-line:nth-child(2) {
  width: 65%;
}

.hero-line:nth-child(3) {
  width: 72%;
}

/* Shared: cards and grid */

.cards-row {
  display: grid;
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-soft);
  padding: 1.6rem 1.7rem;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* Our Services (home) */

.services-section {
  background: #f7f8ff;
}

/* CTA band (blue) */

.cta-band {
  margin-top: 4rem;
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: 0;
}

.cta-inner {
  padding: 3.6rem 1.5rem;
  text-align: center;
}

.cta-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.2rem;
}

.cta-title {
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
}

.cta-text {
  font-size: 0.9rem;
  margin-bottom: 1.7rem;
  opacity: 0.9;
}

/* Footer */

.footer {
  background: #020617;
  color: #e5e7eb;
  padding: 2.6rem 0 1.6rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  font-size: 0.82rem;
  margin-bottom: 2rem;
}

.footer-brand-title {
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.footer-brand-text {
  color: #9ca3af;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.footer-links {
  list-style: none;
}

.footer-links li + li {
  margin-top: 0.3rem;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #111827;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: #6b7280;
}

/* ABOUT page */

.hero-simple {
  padding: 4.3rem 0 2rem;
  background: #ffffff;
}

.about-intro {
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.about-intro h1 {
  font-size: 2.2rem;
  margin-bottom: 0.4rem;
}

.about-intro h1 span {
  color: var(--primary);
}

.about-intro p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.about-cards {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* About story section */

.story-section {
  padding: 4rem 0 3rem;
  background: #f7f8ff;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.story-grid h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.story-text {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.story-text p + p {
  margin-top: 0.7rem;
}

.story-highlight-card {
  max-width: 340px;
  margin-left: auto;
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  background: var(--primary-gradient);
  box-shadow: 0 25px 60px rgba(37, 99, 255, 0.5);
  color: #ffffff;
}

/* Timeline inside About story card */

.story-timeline {
  position: relative;
  padding: 1rem 1.3rem 1.2rem 2.4rem;
}

/* vertical line */
.story-timeline-line {
  position: absolute;
  left: 1.7rem;
  top: 0.6rem;
  bottom: 0.6rem;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.85), rgba(255,255,255,0.4));
}

/* each stop on the line */
.timeline-item {
  position: relative;
  padding-left: 2rem; /* space for the dot */
  margin-bottom: 1.6rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Dot container */
.timeline-dot {
  position: absolute;
  top: 0.35rem; /* adjust vertically */
  left: 0; /* align exactly on the line */
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dot center */
.timeline-dot-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}


/* text part */
.timeline-content {
  color: #e5e7ff;
  font-size: 0.86rem;
}

.timeline-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.1rem;
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.timeline-text {
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
}


.story-highlight-inner {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 1.1rem 1.3rem;
  font-size: 0.85rem;
}

.story-stat {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.story-stat:last-child {
  margin-bottom: 0;
}

.story-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* What Sets Us Apart (about) */

.apart-section {
  padding: 4rem 0 4rem;
  background: #ffffff;
}

.apart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

/* CITIES page */

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  justify-content: center;
}


.stats-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
  text-align: center;
  font-size: 0.85rem;
}

.stats-card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.featured-project {
  padding: 4rem 0 3rem;
  background: #f7f8ff;
}

.project-card {
  max-width: 620px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
  padding: 1.7rem 1.5rem 1.6rem;
  background: #ffffff;
  font-size: 0.9rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.project-name {
  font-weight: 600;
}

.project-status-active {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
}

.project-status-in-development {
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #fcf2dc;
  color: #e39e14;
}

.project-meta {
  margin-bottom: 0.8rem;
  color: var(--text-soft);
}

.project-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #94a3b8;
  margin-top: 0.6rem;
  margin-bottom: 0.3rem;
}

.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.project-chip {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
}

/* CONTACT page */

.contact-intro {
  text-align: center;
  max-width: 630px;
  margin: 0 auto;
}

.contact-intro h1 {
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
}

.contact-intro h1 span {
  color: var(--primary);
}

.contact-intro p {
  font-size: 0.95rem;
  color: var(--text-soft);
}

.contact-cards {
  margin-top: 2.6rem;
  display: flexbox;
  justify-content: center; 
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}



.contact-card-title {
  font-weight: 600;
  margin-top: 0.7rem;
  margin-bottom: 0.15rem;
}

.contact-card-text {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* contact form */

.form-section {
  padding: 4rem 0 3.5rem;
  background: #f7f8ff;
}

.form-intro {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.form-card {
  max-width: 780px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-soft);
  padding: 1.8rem 1.8rem 1.5rem;
}

.form-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 1.1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.82rem;
}

.form-field label span {
  color: #ef4444;
}

.form-field input,
.form-field textarea {
  border-radius: 10px;
  border: 1px solid #d1d5db;
  padding: 0.65rem 0.7rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  grid-column: 1 / -1;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 255, 0.18);
}

.form-actions {
  text-align: right;
}

/* CTA bands reused */

.cta-band--contact,
.cta-band--cities {
  margin: 4rem auto 4.2rem;
  max-width: 930px;
  border-radius: var(--radius-xl);
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-illustration {
    order: -1;
  }

  .about-cards,
  .apart-grid,
  .stats-row,
  .contact-cards,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .story-grid {
    grid-template-columns: 1fr;
  }

  .story-highlight-card {
    margin: 2rem auto 0;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .hero-stats {
    gap: 1.8rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}


/* === Scroll reveal animation === */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* small stagger for cards inside rows */
.cards-row .card.reveal {
  transition-duration: 0.7s;
}

/* when element comes into view */
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MODAL WINDOW */

.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  z-index: 999;
}

.modal.show {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 680px;
  background: #ffffff;
  border-radius: 18px;
  padding: 1.8rem;
  position: relative;
  animation: fadeUp 0.45s ease;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0.7;
}

.modal-banner {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.modal-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-stat-box {
  background: #f6f7ff;
  padding: 1rem;
  border-radius: 12px;
  text-align: left;
}

.modal-stat-box .label {
  font-size: 0.75rem;
  color: #64748b;
}

.modal-stat-box .value {
  font-size: 1rem;
  font-weight: 600;
}

.highlight {
  color: #2563ff;
}
.highlight2 {
  color: #9333ea;
}
.highlight3 {
  color: #e11d48;
}

.modal-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.modal-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.8rem;
}

.tag {
  background: #eef2ff;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #1d4ed8;
}

.modal-buttons {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}


/* Ganja lines section */

.lines-section {
  background: #ffffff;
}

.lines-table-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.lines-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.lines-table thead {
  background: #f1f5f9;
}

.lines-table th,
.lines-table td {
  padding: 0.75rem 1rem;
  text-align: left;
}

.lines-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

.lines-table tbody tr:nth-child(even) {
  background: #f9fafb;
}

.text-link,
.text-link:visited,
.text-link:hover,
.text-link:active {
  text-decoration: none;
  color: var(--primary);   /* keeps your custom color */
}


#lang-switcher {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  background: white;
  cursor: pointer;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 36px; /* adjust as needed */
  width: auto;
}

.logo-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: inherit;
}


@media (max-width: 768px) {
  .nav-links {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .logo-text {
    display: none;
  }
}