/* ==========================================================================
   BOIGRIFY Limited — Stylesheet
   Brand: professional blue + orange + white
   ========================================================================== */

:root {
  --blue: #0756B8;
  --blue-dark: #063B80;
  --orange: #F58220;
  --blue-light: #EAF4FF;
  --white: #FFFFFF;
  --text-dark: #10233D;
  --text-muted: #63748A;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(6, 59, 128, 0.08);
  --shadow-strong: 0 16px 40px rgba(6, 59, 128, 0.14);
  --max-width: 1180px;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Sora", var(--font);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

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

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 32px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
}

p { color: var(--text-muted); }

/* Icons (Font Awesome) used throughout in place of emoji */
i[class*="fa-"] {
  color: var(--orange);
}

.logo i, .footer-logo i {
  color: var(--orange);
  margin-right: 6px;
}

.btn i {
  margin-left: 6px;
  color: inherit;
}
.btn-secondary i, .btn-download i, .btn-whatsapp i {
  margin-left: 0;
  margin-right: 8px;
}

.eyebrow i { margin-right: 4px; color: var(--blue); }

.value-card h3 i, .info-number i {
  color: var(--orange);
  margin-right: 8px;
}

.hero-chip i { margin-right: 6px; color: var(--blue); }
.phone-icon i { color: var(--blue); }
.route-dot i { color: var(--white); }
.route-badge i { margin-right: 6px; color: var(--orange); }
.route-expansion-label i { margin-right: 6px; color: var(--orange); }
.busnstay-text h2 i { margin-right: 10px; color: var(--orange); }
.routes-heading + .routes-sub { margin-top: 0; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

.eyebrow.center { text-align: center; }

/* ---------- Entrance + scroll animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-anim {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}
.hero-anim-1 { animation-delay: 0.05s; }
.hero-anim-2 { animation-delay: 0.2s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulseGrow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.hero-pulse {
  animation: pulseGrow 2.4s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-anim, .reveal, .hero-pulse {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }

.btn-secondary {
  background: var(--white);
  color: var(--text-dark);
  border: 1.5px solid #D6E3F2;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }

.btn-download {
  background: var(--orange);
  color: var(--text-dark);
  padding: 16px 36px;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(245, 130, 32, 0.25);
}
.btn-download:hover { background: #d9711a; transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--blue);
  color: var(--white);
  padding: 16px 34px;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.btn-whatsapp:hover { background: var(--blue-dark); transform: translateY(-2px); }

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #EAF0F7;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.nav-link:hover::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 96px 32px 100px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.hero-text h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

.hero-sub {
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero visual card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
  padding: 28px;
  width: 100%;
  max-width: 380px;
  border: 1px solid #EAF0F7;
}

.hero-card-row {
  display: flex;
  gap: 10px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.hero-chip {
  background: var(--blue-light);
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 20px;
}

.hero-card-main {
  background: var(--blue-dark);
  border-radius: 16px;
  padding: 34px 24px;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.hero-pulse {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--orange);
  margin: 0 auto 16px;
}

.hero-card-label {
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}

.hero-card-caption {
  color: #BFDBFF;
  font-size: 0.88rem;
  margin-top: 6px;
}

.hero-card-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-bar {
  height: 10px;
  border-radius: 6px;
  background: var(--blue-light);
}

.hero-bar.short { width: 60%; background: #FCE3CB; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 22px;
}

.about-text p {
  margin-bottom: 16px;
  max-width: 480px;
}

.about-cards {
  display: grid;
  gap: 20px;
}

.info-card {
  background: var(--white);
  border: 1px solid #EAF0F7;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
}

.info-number {
  display: block;
  color: var(--orange);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.info-card p {
  font-size: 0.95rem;
}

/* ==========================================================================
   BUSNSTAY
   ========================================================================== */
.busnstay {
  background: var(--blue-dark);
}

.busnstay-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.busnstay-text h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.highlight { color: var(--orange); }

.busnstay-text p {
  color: #E5EFFB;
  margin-bottom: 18px;
  max-width: 480px;
}

.download-note {
  margin-top: 16px;
  color: var(--orange);
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.2em;
}

.app-downloads {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin-top: 20px;
}

.app-download-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: 100%;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-top: 5px solid var(--orange);
  border-radius: 18px;
  background: var(--blue);
  box-shadow: 0 18px 40px rgba(1, 19, 43, 0.24);
  color: var(--white);
}

.app-download-card .app-audience {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--orange);
  color: #241C15;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.app-download-card h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 1.35rem;
}

.app-download-card > p:not(.app-audience) {
  flex: 1;
  margin-bottom: 22px;
  color: #F1F6FD;
  line-height: 1.75;
}

.app-download-card .btn-download {
  width: 100%;
  justify-content: center;
  min-height: 52px;
  padding: 14px 18px;
  border: 2px solid var(--blue-dark);
  border-radius: 10px;
  background: var(--orange);
  color: #241C15;
  font-size: 0.95rem;
  box-shadow: none;
}

.app-download-card .btn-download:hover {
  background: #FF9A3D;
  border-color: #FF9A3D;
}

.app-platform {
  margin-top: 11px;
  color: var(--white);
  font-size: 0.88rem;
}

.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-weight: 700;
  text-align: center;
  line-height: 1.45;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.portal-link:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

.portal-link + .portal-link {
  margin-top: 9px;
  font-size: 0.9rem;
}

/* Phone mockup */
.phone-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 260px;
  background: #0A2F66;
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow-strong);
  border: 1px solid #12447F;
}

.phone-screen {
  background: var(--white);
  border-radius: 22px;
  padding: 24px 18px;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}

.phone-header {
  text-align: center;
  margin-bottom: 22px;
}

.phone-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-dark);
}

.phone-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.phone-categories {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}

.phone-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-dark);
  font-weight: 600;
}

.phone-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.phone-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
  flex: 1;
}

.phone-list-item {
  height: 46px;
  border-radius: 10px;
  background: #F4F8FD;
  border: 1px solid #E5EEF8;
}

.phone-order-btn {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  padding: 13px;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* ==========================================================================
   ROUTES / COVERAGE
   ========================================================================== */
.routes {
  background: var(--blue-light);
}

.routes-heading {
  text-align: center;
  margin: 14px auto 16px;
  max-width: 640px;
}

.routes-sub {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.route-line {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.route-stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 140px;
}

.route-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  transition: transform 0.2s ease;
}

.route-stop:hover .route-dot {
  transform: scale(1.08);
  background: var(--orange);
}

.route-city {
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-display);
}

.route-tag {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.route-track {
  height: 3px;
  width: 60px;
  background: repeating-linear-gradient(
    90deg,
    var(--blue) 0px,
    var(--blue) 8px,
    transparent 8px,
    transparent 14px
  );
  margin-top: 25px;
  flex: 1;
  min-width: 40px;
  max-width: 90px;
}

.route-expansion {
  text-align: center;
}

.route-expansion-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.route-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.route-badge {
  background: var(--white);
  border: 1.5px dashed #B9D3EF;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 30px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.route-badge:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

@media (max-width: 640px) {
  .route-line {
    flex-direction: column;
    align-items: center;
  }
  .route-track {
    width: 3px;
    height: 30px;
    margin: 0 0 0 0;
    background: repeating-linear-gradient(
      180deg,
      var(--blue) 0px,
      var(--blue) 8px,
      transparent 8px,
      transparent 14px
    );
  }
}

/* ==========================================================================
   VALUES
   ========================================================================== */
.values-heading {
  text-align: center;
  margin-bottom: 50px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid #EAF0F7;
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: var(--blue);
}

.value-card h3 {
  color: var(--blue-dark);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  background: var(--blue-light);
}

.contact-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact h2 {
  max-width: 640px;
  margin-bottom: 14px;
}

.contact p {
  margin-bottom: 30px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--text-dark);
}

.footer-inner {
  padding: 48px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-logo {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-text {
  color: #9FB3CC;
  font-size: 0.9rem;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .hero-inner,
  .about-grid,
  .busnstay-grid {
    grid-template-columns: 1fr;
  }

  .app-downloads {
    grid-template-columns: 1fr;
  }

  .hero-visual { order: -1; }
  .about-text p { max-width: none; }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 32px;
    gap: 20px;
    border-bottom: 1px solid #EAF0F7;
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hamburger { display: flex; }

  .section-inner { padding: 64px 24px; }
  .hero-inner { padding: 64px 24px 72px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .footer-inner { flex-direction: column; text-align: center; }
}
