/* Singapore hub page (flowrushtech.com/singapore) */

:root {
  --header-height: 80px;
  --header-height-mobile: 70px;
}

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

#header {
  display: none;
}

@media (max-width: 768px) {
  #header {
    min-height: var(--header-height-mobile);
  }
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  contain: layout;
}

.header-embed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  line-height: 0;
}

.header-frame {
  width: 100%;
  height: 82px;
  border: 0;
  display: block;
  background: transparent;
}

.full-footer-embed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  line-height: 0;
  margin-top: 30px;
}

.full-footer-frame {
  width: 100%;
  height: 286px;
  border: 0;
  display: block;
  background: transparent;
}

.header-spacer {
  display: none;
}

main#main-content {
  contain: layout;
  min-height: 100vh;
}

.breadcrumb-wrapper,
.sitemap-section,
.singapore-hub-intro {
  contain: layout;
}

.singapore-hub-intro {
  padding: 28px 0 12px;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}

.singapore-hub-intro h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px;
  line-height: 1.3;
}

.singapore-hub-intro p {
  font-size: 1rem;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 12px;
  max-width: 52rem;
}

.singapore-hub-intro p:last-child {
  margin-bottom: 0;
}

.sitemap-section {
  min-height: 320px;
  padding: 40px 0 42px;
}

.section-heading {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  color: #0f172a;
  margin-bottom: 22px;
  font-weight: 700;
}

.section-heading span {
  color: #1e40af;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  contain: layout;
}

.sitemap-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  padding: 14px 15px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  min-height: 56px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.sitemap-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.12);
  transform: translateY(-1px);
}

.sitemap-card i {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  font-size: 0.9rem;
  color: #1e40af;
}

.sitemap-card span {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
}

.breadcrumb-wrapper {
  background: #f8fafc;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  min-height: 48px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

/* Floating WhatsApp / call (!important wins over shared stylesheets) */
.float-icon {
  position: fixed;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.28);
  z-index: 9999;
  width: 68px !important;
  height: 68px !important;
  bottom: 12px !important;
}

.float-wa {
  left: 14px !important;
  background: #25d366;
  font-size: 36px !important;
}

.float-call {
  right: 14px !important;
  background: #1d4ed8;
  font-size: 24px !important;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .sitemap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sitemap-card {
    padding: 11px 10px;
    gap: 8px;
    min-height: 68px;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .sitemap-card i {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    font-size: 0.82rem;
  }

  .sitemap-card span {
    font-size: 0.76rem;
    line-height: 1.14;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .sitemap-section {
    padding: 30px 0 36px;
  }

  .singapore-hub-intro {
    padding: 22px 0 10px;
  }

  .header-frame {
    height: 74px;
  }

  .full-footer-frame {
    height: 330px;
  }

  .float-icon {
    width: 60px !important;
    height: 60px !important;
    bottom: 10px !important;
  }

  .float-wa {
    left: 10px !important;
    font-size: 31px !important;
  }

  .float-call {
    right: 10px !important;
    font-size: 22px !important;
  }
}
