/* Marketing.css */
:root {
  --primary: #e60000;
  --primary-dark: #c00000;
  --secondary: #222222;
  --light: #f5f5f5;
  --dark: #111111;
  --gray: #777777;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  background-color: rgba(34, 34, 34, 0.95);
  color: white;
  padding: 1rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 0.5rem 1rem;
  background-color: rgba(34, 34, 34, 0.98);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  position: relative;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.logo:hover::after {
  width: 100%;
}

.logo .logo-accent {
  color: var(--primary);
}

.logo a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.logo a:active {
  color: white;
}

.logo a:visited {
  color: white;
}
/* added by wade 23/04*/
.logo a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.site-logo {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
}

.site-logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
  color: white;
}

.logo-accent {
  color: var(--primary);
}

/* ^ Added by wade 24/04 */

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
  position: relative;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Added by wade 24/04 */

.nav-links .dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: rgba(34, 34, 34, 0.98);
  border-radius: 8px;
  padding: 0.75rem 0;
  list-style: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 200;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: white;
  text-decoration: none;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background-color: rgba(230, 0, 0, 0.12);
  color: var(--primary);
}

.nav-links .dropdown:hover .dropdown-menu {
  display: block;
}



.product-suite-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.product-card-simple {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  min-height: 100%;
}

.product-card-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
}

.product-card-simple p {
  margin-bottom: 1.5rem;
}

.product-card-simple .btn {
  margin-top: auto;
  align-self: center;
}

@media (max-width: 1024px) {
  .product-suite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .product-suite-grid {
    grid-template-columns: 1fr;
  }
}

.btn-disabled {
  display: inline-block;
  background-color: var(--secondary);
  color: white;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
  opacity: 1;
}

.btn-disabled::before {
  display: none;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

.landing-feature-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
}

.feature-card:hover .landing-feature-icon {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.about-feature-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
}

.about-step-icon {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.feature-card.icon-card-center {
  text-align: center;
}

/* =========================================================
   PRODUCT SUITE DIAGRAM - FINAL
========================================================= */

.suite-diagram-section {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 20%),
    radial-gradient(circle at center, rgba(230, 0, 0, 0.03) 0%, rgba(230, 0, 0, 0) 34%),
    linear-gradient(180deg, #202020 0%, #171717 100%);
}

.suite-diagram-section .section-title p {
  max-width: 760px;
}

.suite-diagram {
  position: relative;
  width: 100%;
  max-width: 1380px;
  min-height: 980px;
  margin: 3rem auto 0;
}

/* =========================
   NETWORK / SPIDER WEB
========================= */

.suite-diagram-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.05));
}

.network-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.outer-line {
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 1.8;
}

.main-line {
  stroke: rgba(255, 255, 255, 0.20);
  stroke-width: 2.1;
}

.spoke-line {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.8;
}

.hub-line {
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 2;
}

.web-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1.35;
}

.faint-line {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1.1;
}

.web-node {
  fill: rgba(255, 255, 255, 0.92);
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.outer-node {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.14));
}

.inner-node {
  fill: rgba(255, 255, 255, 0.72);
}

.core-node {
  fill: rgba(255, 255, 255, 0.95);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.18));
}

/* =========================
   CENTER HUB
========================= */

.suite-hub {
  position: absolute;
  left: 50%;
  top: 490px;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.suite-hub-hex {
  width: 200px;
  height: 200px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow:
    0 22px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.suite-hub-hex::before {
  content: "";
  position: absolute;
  inset: 10px;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.suite-hub-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  display: block;
  z-index: 1;
}

/* =========================
   NODE CARDS
========================= */

.suite-node {
  position: absolute;
  width: 280px;
  min-height: 220px;
  padding: 1.4rem 1.2rem 1.3rem;
  background: rgba(6, 6, 6, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  text-align: center;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.suite-node:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 42px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.10);
}

.suite-node h3 {
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.25;
  margin-bottom: 0.7rem;
}

.suite-node p {
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
}

/* icon tiles */
.suite-node-icon-wrap {
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #2c2c2c 0%, #1b1b1b 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 10px 18px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.suite-node-icon {
  width: 66px;
  height: 66px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
}

/* =========================
   EXACT NODE POSITIONS
========================= */

/* top row */
.node-top-left {
  top: 120px;
  left: calc(50% - 310px);
}

.node-top-right {
  top: 120px;
  left: calc(50% + 30px);
}

/* middle row */
.node-left {
  top: 380px;
  left: calc(50% - 520px);
}

.node-right {
  top: 380px;
  left: calc(50% + 240px);
}

/* bottom row */
.node-bottom-left {
  top: 640px;
  left: calc(50% - 310px);
}

.node-bottom-right {
  top: 640px;
  left: calc(50% + 30px);
}

/* =========================
   RESPONSIVE FALLBACK
========================= */

@media (max-width: 1100px) {
  .suite-diagram {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    min-height: auto;
  }

  .suite-diagram-lines,
  .suite-hub {
    display: none;
  }

  .suite-node {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    min-height: 100%;
  }
}

@media (max-width: 768px) {
  .suite-diagram {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   DASHBOARD V1 - FIXED BELOW SITE HEADER
========================================================= */

:root {
  --site-header-height: 120px;
  --dashboard-sidebar-width: 280px;
  --dashboard-gap: 16px;
}

/* overall dashboard area */
.dashboard-layout {
  position: relative;
  min-height: 100vh;
  background: #f4f5f7;
  padding-top: calc(var(--site-header-height) + var(--dashboard-gap));
}

/* fixed sidebar under the website header */
.dashboard-sidebar {
  position: fixed;
  top: calc(var(--site-header-height) + var(--dashboard-gap));
  left: 0;
  width: var(--dashboard-sidebar-width);
  height: calc(100vh - var(--site-header-height) - var(--dashboard-gap));
  background: linear-gradient(180deg, #111111 0%, #1a1a1a 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 50;
  overflow-y: auto;
}

.dashboard-sidebar-inner {
  padding: 1.5rem 1.1rem 2rem;
}

.dashboard-sidebar-context {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  padding: 1.25rem 1rem;
  margin-bottom: 1.5rem;
}

.dashboard-sidebar-context h3 {
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.5rem;
}

.dashboard-sidebar-context p {
  margin: 0.65rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
}

.dashboard-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.dashboard-nav-link {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.dashboard-nav-link:hover,
.dashboard-nav-link.active {
  background: rgba(230, 0, 0, 0.14);
  color: #ffffff;
}

/* main area shifted right of fixed sidebar */
.dashboard-main-content {
  margin-left: var(--dashboard-sidebar-width);
  min-height: calc(100vh - var(--site-header-height) - var(--dashboard-gap));
}

.dashboard-main-inner {
  padding: 0 2rem 2rem;
}

/* compact page heading */
.dashboard-page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.dashboard-eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: #777;
}

.dashboard-page-header h1 {
  margin-bottom: 0.9rem;
  color: #111111;
  font-size: 2.5rem;
}

.dashboard-intro {
  max-width: 760px;
  margin: 0 auto;
  color: #666;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* main panel */
.dashboard-products-panel {
  background: #ffffff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.dashboard-section-header {
  margin-bottom: 1.5rem;
}

.dashboard-section-header h2 {
  margin-bottom: 0.5rem;
  color: #111111;
}

.dashboard-section-header p {
  color: #666;
  margin: 0;
  max-width: 820px;
}

/* product grid */
.dashboard-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1.5rem;
  justify-items: centre;
  align-items: start;
}

.dashboard-product-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-radius: 20px;
  padding: 1.6rem 1.35rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 320px;
  min-height: 280px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.dashboard-product-icon {
  width: 82px;
  height: 82px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1rem;
  border-radius: 16px;
}

.dashboard-product-card h3 {
  margin-bottom: 1rem;
  color: #111111;
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.7rem;
}

.dashboard-product-card h3::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 2px;
  background: var(--primary);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

/* footer line up */
body:has(.dashboard-layout) footer {
  margin-left: var(--dashboard-sidebar-width);
  width: calc(100% - var(--dashboard-sidebar-width));
}


/* status pills */
.product-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.product-status .status-dot {
  font-size: 0.9rem;
  line-height: 1;
}

.status-available {
  background: #e8f7ec;
  color: #2f9e44;
}

.status-coming-soon {
  background: #fff3e8;
  color: #d9822b;
}

/* buttons */
.dashboard-product-card .btn {
  margin-top: auto;
  min-width: 150px;
}

.dashboard-product-card .btn-disabled {
  background-color: #ffffff;
  color: #444444 !important;
  border: 1px solid #d8d8d8;
  pointer-events: none;
  box-shadow: none;
}

.dashboard-product-card .btn-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* responsive */
@media (max-width: 1100px) {
  .dashboard-sidebar {
    position: relative;
    top: 0;
    width: 100%;
    height: auto;
  }

  .dashboard-main-content {
    margin-left: 0;
  }

  .dashboard-product-grid {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
  
}



@media (max-width: 900px) {
  .dashboard-product-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 768px) {
  .dashboard-main-inner {
    padding: 0 1.25rem 1.25rem;
  }

  .dashboard-products-panel {
    padding: 1.25rem;
  }

  .dashboard-product-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-page-header h1 {
    font-size: 2rem;
  }
}


/* =========================================================
   PRODUCT INFO PAGES
========================================================= */

.product-overview-section {
  background: #f8f8f8;
}

.product-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.product-overview-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.product-overview-card h3 {
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.product-overview-card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.dss-features-section,
.dispatch-features-section {
  background: #ffffff;
}

.dss-screenshots-section,
.dispatch-screenshots-section {
  background: #f8f8f8;
}

.dispatch-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.dispatch-shot-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.dispatch-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ececec;
}

.dispatch-shot-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.dispatch-shot-card p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .product-overview-grid,
  .dispatch-screenshot-grid {
    grid-template-columns: 1fr;
  }
}

.product-overview-section,
.dispatch-reporting-section,
.dispatch-screenshots-section {
  background: #f8f8f8;
}

.dispatch-capabilities-section {
  background: #ffffff;
}

.product-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.product-overview-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

.product-overview-card h3 {
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.product-overview-card p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

.dispatch-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.dispatch-shot-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.dispatch-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid #ececec;
}

.dispatch-shot-card h3 {
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.dispatch-shot-card p {
  margin: 0;
  color: #666;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .product-overview-grid,
  .dispatch-screenshot-grid {
    grid-template-columns: 1fr;
  }
}

/* Dispatch screenshot cards */
.dispatch-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.dispatch-shot-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.dispatch-shot-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.dispatch-shot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid #ececec;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dispatch-shot-trigger:hover .dispatch-shot {
  transform: scale(1.04);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

/* Lightbox */
.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-lightbox.active {
  display: flex;
}

.image-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.image-lightbox-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: #111111;
  border-radius: 18px;
  padding: 1rem 1rem 1.5rem;
  z-index: 1;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.image-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
}

.image-lightbox-title {
  color: white;
  margin-top: 1rem;
  text-align: center;
}

.image-lightbox-close {
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  border: none;
  background: transparent;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}


/* ^ Added by wade 24/04 */

.btn {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(230, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  transition: all 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(230, 0, 0, 0.3);
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(230, 0, 0, 0.3);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}

.btn-secondary::before {
  background-color: var(--primary);
}

.btn-secondary:hover {
  color: white;
  box-shadow: 0 6px 12px rgba(230, 0, 0, 0.2);
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/api/placeholder/1200/600") center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  display: inline-block;
}

.hero-content h1::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--primary);
  bottom: -15px;
  left: 25%;
  transform: scaleX(0);
  transform-origin: center;
  animation: expandWidth 1.5s ease-out forwards 0.5s;
}

@keyframes expandWidth {
  to {
    transform: scaleX(1);
  }
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-20px) translateX(-50%);
  }
  60% {
    transform: translateY(-10px) translateX(-50%);
  }
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section:nth-child(even) {
  background-color: #f9f9f9;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--secondary);
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.section-title p {
  color: var(--gray);
  max-width: 700px;
  margin: 1.5rem auto 0;
  font-size: 1.1rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  perspective: 1000px;
}

.feature-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  z-index: 1;
}

.feature-card::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.2);
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--secondary);
  font-size: 1.4rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.feature-card h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
  transition: width 0.3s ease;
}

.feature-card:hover h3::after {
  width: 60px;
}

/* landing page feature card heading centering */
.feature-card.fade-in h3 {
  text-align: center;
}

.feature-card.fade-in h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.workflow {
  background-color: var(--secondary) !important;
  color: white;
  position: relative;
  overflow: hidden;
}

.workflow::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background-color: rgba(230, 0, 0, 0.4);
  border-radius: 50%;
  top: -150px;
  right: -150px;
}

.workflow::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: rgba(230, 0, 0, 0.4);
  border-radius: 50%;
  bottom: -100px;
  left: -100px;
}

.workflow .section-title h2 {
  color: white;
}

.workflow .section-title p {
  color: var(--gray);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.workflow-steps::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2);
  top: 25px;
  left: 12.5%;
  z-index: -1;
}

.step {
  text-align: center;
  padding: 2.5rem 2rem;
  background: rgba(20, 20, 20, 0.8);
  border-radius: 15px;
  transition: all 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.step:hover {
  transform: translateY(-10px) !important;
  background: var(--dark);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 0 10px 20px rgba(230, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.step:hover .step-number {
  transform: scale(1.1);
  box-shadow: 0 15px 25px rgba(230, 0, 0, 0.4) !important;
}

.step h2 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.step h3 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.step p {
  color: #ddd;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  width: 150%;
  height: 100%;
  top: 0;
  left: -25%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  animation: backgroundScroll 60s linear infinite;
}

@keyframes backgroundScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(100%);
  }
}

.cta-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-section .btn {
  background-color: white;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.cta-section .btn:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

footer {
  background-color: var(--secondary);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-column h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.3rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  transition: transform 0.3s ease;
}

.footer-links li:hover {
  transform: translateX(5px);
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-left: 15px;
}

.footer-links a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  font-size: 0.9rem;
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(230, 0, 0, 0.3);
  z-index: 99;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
    margin-bottom: 1rem;
  }

  .section {
    padding: 5rem 0;
  }

  .workflow-steps::before {
    display: none;
  }
}

/* Animations for elements on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Parallax effect for hero */
.parallax {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: translateZ(0);
}

/* Floating animation for features */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

/* Staggered animation for feature cards */
.feature-card:nth-child(1) {
  animation-delay: 0.1s;
}
.feature-card:nth-child(2) {
  animation-delay: 0.2s;
}
.feature-card:nth-child(3) {
  animation-delay: 0.3s;
}
.feature-card:nth-child(4) {
  animation-delay: 0.4s;
}
.feature-card:nth-child(5) {
  animation-delay: 0.5s;
}
.feature-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Glass morphism effect */
.glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
/* ── CONTACT PAGE ─────────────────────────────────────────────── */
.contact-section .narrow {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background-color: #222222;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  color: white;
}

.contact-form {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background-color: #fff;
  color: #222222;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact-form .form-group.two-col {
  flex-direction: row;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00c2ff;
  box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.25);
}

.flash {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.flash li {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.flash li.success {
  background: #e7f9f0;
  color: #16803d;
}
.flash li.error {
  background: #ffecec;
  color: #c00;
}

/* Reusing  .btn plus .section/.fade-in/.gradient-text etc. */

/* ── Login page layout ────────────────────────────────────────── */
.login-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  vertical-align: center;
  min-height: 100vh; /* fills screen minus header/footer */
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 2rem 1rem;
  width: 100%;
}

.login-card {
  max-width: 420px;
  width: 100%;
  padding: 2.5rem 2rem 3rem;
  text-align: center;
  border-radius: 1rem;
}

.login-card h1 {
  margin-bottom: 0.25rem;
}
.login-card .sub {
  color: #ccc;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.form-row {
  text-align: left;
  margin-bottom: 1.25rem;
}
.form-row label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: #aaa;
}

.form-row input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #444;
  border-radius: 0.5rem;
  background: #121212;
  color: #fff;
  font-size: 1rem;
}

.form-row input:focus {
  outline: none;
  border-color: #00c2ff;
  box-shadow: 0 0 0 2px rgba(0, 194, 255, 0.25);
}

.btn.full-width {
  width: 100%;
  margin-top: 0.5rem;
}

.extras {
  margin-top: 1rem;
  font-size: 0.85rem;
}
.extras a {
  color: #00c2ff;
  text-decoration: none;
}
.extras a:hover {
  text-decoration: underline;
}

/* Glass-morphism helper (re-uses your existing .glass style but darker) */
.login-card.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.error {
  color: #c00;
}

/*------------------------------- our team------------------------------------------ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 4px solid var(--primary);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-info h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-bio {
  color: #555;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-align: centre;
}

.team-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background-color: #0077b5;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #005885;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
