/* ================================================
   TECHNOLOGY PAGE — Hero Section CSS
   ================================================ */

.tech-hero {
  position: relative;
  padding-top: 128px;
  padding-bottom: 96px;
  background-color: #0a1628;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.tech-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.tech-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.25;
}

.tech-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, rgba(46, 139, 87, 0.85) 100%);
  opacity: 0.88;
}

.tech-hero__container {
  position: relative;
  z-index: 10;
  max-width: 896px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .tech-hero__container {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .tech-hero__container {
    padding: 0 32px;
  }
}

.tech-hero__content h1 {
  font-size: clamp(2.2rem, 6vw, 3.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.tech-hero__content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  width: 100%;
  margin: 0 auto;
}

@keyframes techFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadein {
  animation: techFadeIn 0.6s ease both;
}

/* ================================================
   IMAGE ONLY SECTION CSS
   ================================================ */
.riab-const-section,
.riab-const-section *,
.riab-const-section *::before,
.riab-const-section *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.riab-const-section {
  --cg: #2e8b57;
  --cg2: #3aad6e;
  --cg-dim: rgba(46, 139, 87, 0.18);
  --ct: #1f2933;
  --cs: #6b7280;
  --cb: rgba(46, 139, 87, 0.22);
  --cbh: rgba(46, 139, 87, 0.5);

  position: relative;
  width: 100%;
  min-height: 540px;
  padding: 64px 24px 80px;
  overflow: hidden;
  background: transparent;
  font-family: "Syne", "DM Sans", sans-serif;
}

.riab-const-section .const-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.riab-const-section .const-header {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: 56px;
  opacity: 0;
  animation: const-drop 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.2s;
}

@keyframes const-drop {
  from {
    opacity: 0;
    transform: translateY(-20px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.riab-const-section .const-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--cg);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.riab-const-section .const-eyebrow::before,
.riab-const-section .const-eyebrow::after {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cg));
}
.riab-const-section .const-eyebrow::after {
  background: linear-gradient(90deg, var(--cg), transparent);
}

.riab-const-section .const-title {
  font-family: "Syne", sans-serif;
  font-size: clamp(26px, 3.8vw, 42px);
  font-weight: 800;
  color: var(--ct);
  letter-spacing: -0.025em;
  line-height: 1.1;
}

.riab-const-section .const-title em {
  font-style: normal;
  color: var(--cg);
  position: relative;
}
.riab-const-section .const-title em::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cg);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: const-line 0.9s ease forwards 1s;
}
@keyframes const-line {
  to {
    transform: scaleX(1);
  }
}

.riab-const-section .const-row {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.riab-const-section .const-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  opacity: 0;
}

.riab-const-section .const-node:nth-child(1) {
  animation: const-bloom 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.35s;
}
.riab-const-section .const-node:nth-child(2) {
  animation: const-bloom 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.5s;
}
.riab-const-section .const-node:nth-child(3) {
  animation: const-bloom 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.65s;
}
.riab-const-section .const-node:nth-child(4) {
  animation: const-bloom 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.8s;
}
.riab-const-section .const-node:nth-child(5) {
  animation: const-bloom 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.95s;
}

@keyframes const-bloom {
  from {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.riab-const-section .const-orb-wrap {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.riab-const-section .const-orb {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid var(--cb);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 24px rgba(46, 139, 87, 0.1),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.riab-const-section .const-orb::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px dashed rgba(46, 139, 87, 0.2);
  animation: const-spin 12s linear infinite;
}

.riab-const-section .const-orb::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(46, 139, 87, 0.15);
  animation: const-pulse-ring 2.5s ease-in-out infinite;
}

@keyframes const-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes const-pulse-ring {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.riab-const-section .const-node:hover .const-orb {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--cbh);
  transform: scale(1.15);
  box-shadow:
    0 0 0 8px rgba(46, 139, 87, 0.08),
    0 8px 40px rgba(46, 139, 87, 0.22),
    0 1px 0 rgba(255, 255, 255, 1) inset;
}

.riab-const-section .const-node:hover .const-orb::before {
  animation-duration: 4s;
  border-color: rgba(46, 139, 87, 0.45);
}

.riab-const-section .const-node:last-child .const-orb {
  background: var(--cg);
  border-color: var(--cg);
  box-shadow:
    0 0 0 6px rgba(46, 139, 87, 0.15),
    0 8px 40px rgba(46, 139, 87, 0.35);
}
.riab-const-section .const-node:last-child .const-orb::before {
  border-color: rgba(46, 139, 87, 0.4);
}
.riab-const-section .const-node:last-child .const-orb::after {
  border-color: rgba(46, 139, 87, 0.3);
}
.riab-const-section .const-node:last-child:hover .const-orb {
  transform: scale(1.18);
  box-shadow:
    0 0 0 10px rgba(46, 139, 87, 0.12),
    0 12px 56px rgba(46, 139, 87, 0.5);
}

.riab-const-section .const-orb svg {
  width: 28px;
  height: 28px;
}

.riab-const-section .const-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cg);
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(46, 139, 87, 0.4);
  letter-spacing: 0;
}
.riab-const-section .const-node:last-child .const-badge {
  background: #fff;
  color: var(--cg);
}

.riab-const-section .const-card {
  width: calc(100% - 8px);
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--cb);
  border-radius: 16px;
  padding: 18px 16px 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow:
    0 2px 16px rgba(46, 139, 87, 0.06),
    0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.riab-const-section .const-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.5) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.riab-const-section .const-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cg), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 16px 16px 0 0;
}

.riab-const-section .const-node:hover .const-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--cbh);
  box-shadow:
    0 10px 40px rgba(46, 139, 87, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.95) inset;
  transform: translateY(-4px);
}
.riab-const-section .const-node:hover .const-card::after {
  opacity: 1;
}

.riab-const-section .const-node:last-child .const-card {
  background: rgba(46, 139, 87, 0.88);
  border-color: rgba(46, 139, 87, 0.6);
  box-shadow:
    0 6px 48px rgba(46, 139, 87, 0.32),
    0 1px 0 rgba(255, 255, 255, 0.18) inset;
}
.riab-const-section .const-node:last-child:hover .const-card {
  background: rgba(46, 139, 87, 0.97);
  box-shadow: 0 16px 64px rgba(46, 139, 87, 0.48);
  transform: translateY(-6px);
}
.riab-const-section .const-node:last-child .const-card::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
}

.riab-const-section .const-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(46, 139, 87, 0.55);
  margin-bottom: 5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.riab-const-section .const-num::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(46, 139, 87, 0.15);
}
.riab-const-section .const-node:last-child .const-num {
  color: rgba(255, 255, 255, 0.6);
}
.riab-const-section .const-node:last-child .const-num::after {
  background: rgba(255, 255, 255, 0.15);
}

.riab-const-section .const-card-title {
  font-family: "Syne", sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ct);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  line-height: 1.25;
}
.riab-const-section .const-node:last-child .const-card-title {
  color: #fff;
}

.riab-const-section .const-desc {
  font-family: "DM Sans", sans-serif;
  font-size: 11.5px;
  color: var(--cs);
  line-height: 1.55;
}
.riab-const-section .const-node:last-child .const-desc {
  color: rgba(255, 255, 255, 0.7);
}

.riab-const-section .const-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 9px;
}
.riab-const-section .const-pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 8px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 2px 7px;
  transition: background 0.2s;
}
.riab-const-section .const-pill:hover {
  background: rgba(255, 255, 255, 0.22);
}

.riab-const-section .const-footer {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(46, 139, 87, 0.4);
  text-transform: uppercase;
  opacity: 0;
  animation: const-drop 0.5s ease forwards 1.4s;
}
.riab-const-section .const-footer-sep {
  color: var(--cg);
  opacity: 0.65;
}
.riab-const-section .const-footer .last {
  color: var(--cg);
  font-weight: 600;
}

/* ================================================
   MOBILE — full width, vertical stack
   ================================================ */
@media (max-width: 768px) {

  .riab-const-section {
    padding: 40px 16px 60px;
    min-height: unset;
  }

  .riab-const-section .const-header {
    margin-bottom: 32px;
  }

  /* Cards row — vertical stack, full width */
  .riab-const-section .const-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    overflow: visible;
    width: 100%;
    max-width: 100%;
  }

  /* Each node full width */
  .riab-const-section .const-node {
    flex: none;
    width: 100%;
    flex-direction: row;   /* orb left, card right */
    align-items: flex-start;
    gap: 14px;
  }

  /* Orb stays on left */
  .riab-const-section .const-orb-wrap {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .riab-const-section .const-orb {
    width: 52px;
    height: 52px;
  }
  .riab-const-section .const-orb svg {
    width: 24px;
    height: 24px;
  }
  .riab-const-section .const-orb::before { inset: -6px; }
  .riab-const-section .const-orb::after  { inset: -3px; }

  /* Card takes remaining width */
  .riab-const-section .const-card {
    flex: 1;
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;
    margin: 0;
  }

  .riab-const-section .const-num        { font-size: 8px; }
  .riab-const-section .const-card-title { font-size: 13px; }
  .riab-const-section .const-desc       { font-size: 11px; }
  .riab-const-section .const-pill       { font-size: 8px; padding: 2px 6px; }

  /* Badge */
  .riab-const-section .const-badge {
    width: 18px; height: 18px;
    font-size: 8px;
    top: -4px; right: -4px;
  }

  /* Footer */
  .riab-const-section .const-footer {
    flex-wrap: wrap;
    gap: 4px;
    font-size: 9px;
    margin-top: 24px;
    justify-content: center;
  }
}

/* ================================================
   SECURITY SECTION CSS
   bg-navy text-white, glass cards
   ================================================ */

.sec-security {
  padding: 96px 0;
  background: linear-gradient(135deg, #0a1628 0%, rgba(46, 139, 87, 0.85) 100%);
  color: #ffffff;
}

.security-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 640px) {
  .security-container {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .security-container {
    padding: 0 32px;
  }
}

.sec-header .security-heading {
  font-size: clamp(1.75rem, 4vw, 2rem);
  font-weight: 700;
  color: white;
  text-align: center;
  margin-bottom: 64px;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .security-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.security-card {
  padding: 32px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}
.security-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-4px);
}

.security-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
}

.security-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
}

.security-card p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin: 0;
  font-family: "Inter", sans-serif;
}
