:root {
  --ink: #071319;
  --ink-2: #102a32;
  --muted: #577177;
  --line: #d9e8e4;
  --cloud: #f5fbfa;
  --paper: #ffffff;
  --teal: #41d6c3;
  --green: #74d76f;
  --lime: #b8ea67;
  --amber: #f5b74a;
  --shadow: 0 24px 60px rgba(7, 19, 25, .12);
  --radius: 8px;
  /* Additional accent colours to support subtle neon gradients */
  --blue: #2563eb;
  --purple: #7c3aed;

  /* Multi-stop gradient used throughout primary sections */
  --primary-gradient: linear-gradient(135deg, var(--teal) 0%, var(--green) 50%, var(--blue) 100%);
}

/* -------------------------------------------
   Mobile navigation authentication link

   The `mobile-auth` class is used for the admin login/logout link appended
   to the navigation on small screens. It is hidden on larger viewports
   and given spacing and a dividing line to separate it from the primary
   navigation links. The typography is bold to draw subtle attention.
*/
.mobile-auth {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-weight: 700;
  color: #0f6e67;
}
@media (min-width: 861px) {
  .mobile-auth {
    display: none;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  /* Use the Inter font for modern, professional typography. Fallbacks ensure system fonts if unavailable. */
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.72; margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.05; font-weight: 800; letter-spacing: 0; overflow-wrap: break-word; }
h1 { font-size: clamp(2.45rem, 7vw, 5.7rem); max-width: 920px; }
h2 { font-size: clamp(1.9rem, 4vw, 3.55rem); }
h3 { font-size: 1.2rem; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(820px, calc(100% - 40px)); }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--teal);
  color: var(--ink);
  padding: .7rem 1rem;
  z-index: 20;
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid rgba(217, 232, 228, .8);
  backdrop-filter: blur(18px);
}
.nav-shell { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--teal);
  border: 1px solid rgba(65, 214, 195, .35);
  border-radius: var(--radius);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 99;
}
.site-nav a {
  color: #29444a;
  padding: .68rem .78rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .92rem;
  position: relative;
}
.site-nav a:hover, .site-nav a.is-active { background: #e9f5f1; color: var(--ink); }
/* Animated underline for nav items using a pseudo element. This provides a subtle
   interaction cue and matches modern 2026 design trends. */
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--teal);
  transition: width .3s ease;
  border-radius: 1px;
}
.site-nav a:hover::after, .site-nav a.is-active::after {
  width: 100%;
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: .5rem;
  z-index: 100;
}
.nav-toggle span { display: block; width: 24px; height: 2px; margin: 5px 0; background: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .88rem 1.18rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  position: relative;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
/* Default hover motion */
.btn:hover { transform: translateY(-2px); }
/* Primary button uses the unified primary gradient and a softer drop shadow */
.btn-primary {
  color: var(--ink);
  background: var(--primary-gradient);
  border: none;
  box-shadow: 0 4px 14px rgba(7, 19, 25, .14);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(7, 19, 25, .18);
}
.btn-ghost { color: #e9fffb; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.btn-light { color: var(--ink); background: var(--paper); }
.text-link {
  display: inline-flex;
  align-items: center;
  color: #0f6e67;
  font-weight: 800;
  border-bottom: 2px solid currentColor;
  padding-bottom: .18rem;
}

.eyebrow {
  color: #0f6e67;
  text-transform: uppercase;
  font-weight: 900;
  font-size: .78rem;
  margin: 0 0 .95rem;
}
.lead { font-size: 1.18rem; max-width: 820px; }

.home-hero {
  /* Use a richer gradient with subtle overlays to reflect cutting edge visual trends. */
  background: radial-gradient(circle at 50% 20%, rgba(65, 214, 195, .24), rgba(14, 43, 50, 0.24) 40%, transparent 70%),
              var(--primary-gradient);
  min-height: calc(100vh - 74px);
  position: relative;
  overflow: hidden;
}
.hero-slider { position: relative; min-height: calc(100vh - 74px); }
.hero-slide {
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity .55s ease;
  display: grid;
  align-items: center;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 56px;
  align-items: center;
  padding: 84px 0 112px;
}
.hero-copy h1, .hero-copy p { color: #fff; }
.hero-copy .eyebrow { color: var(--teal); }
.hero-subtitle { font-size: 1.35rem; color: #dff8f2 !important; font-weight: 800; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-visual {
  position: relative;
  min-height: 500px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 90px rgba(0,0,0,.36);
  /* Glass effect behind hero visual for a modern UI */
  background: rgba(11, 28, 34, .66);
  backdrop-filter: blur(16px);
}
.hero-visual canvas, .hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual img { opacity: .55; mix-blend-mode: screen; }
.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-controls button {
  width: 42px;
  height: 4px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255,255,255,.3);
  cursor: pointer;
}
.hero-controls button.is-active { background: var(--teal); }
.hero-controls button:hover { background: var(--green); }

.section { padding: 72px 0; }
.muted { background: var(--cloud); }
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.split.reverse { grid-template-columns: 1.05fr 1fr; }
.rich-copy p { font-size: 1.03rem; }
.section-heading { max-width: 820px; margin-bottom: 40px; }
.inline-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }

.about-band { background: #f8fcfb; }
.tech-band { background: linear-gradient(135deg, #f2faf8, #eef6eb); }
.sustainability-band { background: #0f211d; color: #fff; }
.sustainability-band h2, .sustainability-band p { color: #fff; }
.sustainability-band .eyebrow { color: var(--lime); }
.visual-panel {
  background: var(--cloud);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
.visual-panel img { border-radius: var(--radius); }

.card-grid { display: grid; gap: 18px; }
.card-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.feature-card, .value-card, .tech-card, .blog-card, .solution-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(7, 19, 25, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Elevation and motion on hover for cards. A subtle lift effect gives the UI a tactile feel
   and helps emphasise interactivity without overwhelming the user. */
.feature-card:hover, .value-card:hover, .tech-card:hover, .blog-card:hover, .solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(7, 19, 25, .08);
}
.feature-card, .value-card, .tech-card { padding: 26px; }
.feature-card h3, .feature-card h2, .value-card h2, .tech-card h2 { margin-bottom: 12px; }
.icon-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius);
  color: var(--ink);
  background: #dff5ef;
}
.icon-badge svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.workflow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.workflow.detailed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.workflow-step {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.workflow-step span {
  display: inline-block;
  color: var(--teal);
  font-weight: 900;
  margin-bottom: 22px;
}

.metric-stack, .stat-column {
  display: grid;
  gap: 14px;
}
.metric-stack div, .stat-column div, .metric-row div {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(65,214,195,.22);
  background: rgba(255,255,255,.08);
}
.stat-column div { background: var(--cloud); border-color: var(--line); }
.metric-stack strong, .stat-column strong, .metric-row strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--teal);
  margin-bottom: .5rem;
}
.stat-column span { color: var(--muted); }
.metric-stack span { color: #dff8f2; }

.cta-panel {
  background: linear-gradient(135deg, var(--ink), #123325);
  color: #fff;
  text-align: center;
}
.cta-panel h2 { color: #fff; max-width: 850px; margin: 0 auto 28px; }
.cta-panel .eyebrow { color: var(--lime); }

.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.blog-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-card { overflow: hidden; }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--cloud); }
.blog-card div { padding: 24px; }
.blog-card time, .blog-detail time { color: #0f6e67; font-size: .86rem; font-weight: 800; display: block; margin-bottom: 10px; }
.blog-card h2, .blog-card h3 { margin-bottom: 10px; }
.blog-card a:hover { color: #0f6e67; }
.detail-image { width: 100%; border-radius: var(--radius); margin-bottom: 28px; border: 1px solid var(--line); }
.article-body p { font-size: 1.08rem; color: #334c52; }

.solution-grid { display: grid; gap: 24px; }
.solution-card {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 28px;
  align-items: center;
  padding: 28px;
}
.solution-card img { border-radius: var(--radius); background: var(--cloud); }

.tech-stack-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.tech-card { min-height: 220px; }
.tech-card span {
  display: block;
  width: 44px;
  height: 6px;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--teal), var(--lime));
  margin-bottom: 32px;
}

.quote-panel {
  padding: 34px;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #174733);
  box-shadow: var(--shadow);
}
.quote-panel p { color: #fff; font-size: 1.5rem; line-height: 1.35; margin: 0; }
.metric-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.metric-row div { background: var(--cloud); border-color: var(--line); }
.metric-row span { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
label { display: grid; gap: 8px; color: #254248; font-weight: 800; margin-bottom: 16px; }
input, textarea, select {
  width: 100%;
  border: 1px solid #c9ddda;
  border-radius: var(--radius);
  padding: .9rem .95rem;
  font: inherit;
  color: var(--ink);
  background: #fbfefd;
}
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(65,214,195,.24); border-color: var(--teal); }
.form-status { margin: 14px 0 0; font-weight: 800; }
.form-status.is-success { color: #107a46; }
.form-status.is-error { color: #b23a2d; }
.contact-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.contact-points span {
  padding: .65rem .8rem;
  border-radius: var(--radius);
  background: var(--cloud);
  border: 1px solid var(--line);
  font-weight: 800;
  color: #29444a;
}

.page-hero {
  background: linear-gradient(135deg, #071319, #123325);
  color: #fff;
  padding: 86px 0 92px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.35rem, 6vw, 4.9rem); }
.page-hero .lead { color: #dff8f2; }
.breadcrumb { display: flex; gap: 10px; align-items: center; margin-bottom: 38px; color: #c6eee7; font-weight: 800; font-size: .9rem; }
.breadcrumb a:hover { color: var(--teal); }

.site-footer {
  background: #071319;
  color: #dff8f2;
  padding: 72px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer p, .site-footer a, .footer-bottom { color: #b6d4cf; }
.site-footer a { display: block; margin: 0 0 12px; font-weight: 700; }
.site-footer a:hover { color: var(--teal); }
.brand-footer { color: #fff; margin-bottom: 16px; }
.footer-small { font-size: .9rem; }
.footer-bottom {
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: .9rem;
}

/*
 * Custom logo sizing
 *
 * The header and footer now use image logos instead of the original
 * text/box branding. These classes ensure the logos scale
 * appropriately across devices while maintaining aspect ratio. The
 * header logo is constrained to the same height as the original
 * brand mark, while the footer logo is slightly larger for better
 * visibility on dark backgrounds.
 */
/*
 * Updated logo sizing
 *
 * Increase the height of the header and footer logos to make
 * them more prominent. The header logo uses most of the 74px
 * header height, while the footer logo fills the fourth column
 * of the footer grid. Both maintain aspect ratio automatically.
 */
.header-logo {
  /* Increase header logo size for better visibility */
  height: 70px;
  width: auto;
  display: block;
}
.footer-logo {
  /* Make the footer logo fill the entire width of its column while
     maintaining aspect ratio. By setting width to 100% and height
     to auto the image scales responsively and uses the full space. */
  width: 100%;
  height: auto;
  display: block;
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .card-grid.five, .tech-stack-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    /* On mobile, overlay the navigation on top of the content with a high z-index.
       Instead of toggling display, we animate opacity and translation for a smoother
       reveal. Pointer events are disabled when closed to prevent accidental
       interactions. */
    position: fixed;
    top: 74px;
    left: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    z-index: 300;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .35s ease, transform .35s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  /* Highlight the active page link more clearly on mobile */
  .site-nav a.is-active {
    background: var(--cloud);
    color: var(--ink);
  }
  /* Ensure the hero grid collapses to a single column on tablets and phones so
     that the visual appears above the copy. */
  .hero-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .split, .split.reverse, .contact-grid, .solution-card { grid-template-columns: 1fr; }
  .workflow, .workflow.detailed, .blog-grid, .blog-grid.wide { grid-template-columns: 1fr; }
  .card-grid.two, .card-grid.three, .card-grid.five, .tech-stack-grid, .metric-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inline-heading { align-items: start; flex-direction: column; }
  /* On smaller screens show the hero image before the copy */
  .hero-visual { order: 1; }
  .hero-copy { order: 2; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(100% - 28px, 1180px); }
  .home-hero, .hero-slider { min-height: auto; }
  .hero-grid { padding: 58px 0 92px; gap: 32px; }
  h1, .page-hero h1 { font-size: 2.18rem; }
  .hero-copy h1 { max-width: 13ch; }
  .hero-subtitle { font-size: 1.12rem; }
  .hero-visual { min-height: 320px; }
  .hero-actions, .form-grid { display: grid; grid-template-columns: 1fr; }
  .hero-controls { bottom: 28px; }
  .footer-grid, .footer-bottom { grid-template-columns: 1fr; display: grid; }
  .page-hero { padding: 62px 0 70px; }
  .contact-form, .feature-card, .value-card, .tech-card, .workflow-step, .solution-card { padding: 22px; }
}

/*
 * Section banner styles
 * The .section-banner container displays full-width responsive images between
 * content sections. Images are set to cover the container while preserving
 * aspect ratio. A modest margin separates the banner from surrounding
 * content. The border radius matches the card design system.
 */
.section-banner {
  margin: 24px 0;
}
.section-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
}

/*
 * Responsive adjustments
 *
 * On smaller screens the header logo should not dominate the navigation.
 * Use a media query to reduce the height of the header logo when the
 * viewport is narrower than 600px. This keeps the mobile header
 * compact while retaining clarity.
 */
@media (max-width: 600px) {
  .header-logo {
    height: 36px;
  }
}
