/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Colors - Merged from both themes */
  --navy: #050a2e;
  --navy-light: #0d1855;
  --accent: #6c3fd4;
  --purple: #8b5cf6;
  --purple-light: #a78bfa;
  --pink: #d946ef;
  --white: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);

  /* Gradient colors for form */
  --gradient-start: #667eea;
  --gradient-middle: #6c3fd4;
  --gradient-end: #764ba2;

  /* Shadows */
  --shadow-sm: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.8);
  --shadow-glow-soft: 0 0 60px rgba(167, 139, 250, 0.4);
}

html,
body {
  background: var(--navy);
  color: var(--white);
  font-family: "Outfit", "Roboto", sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 350;
  letter-spacing: 0.02em;
}

/* ===== NAVBAR ===== */
.navbar {
  background: transparent;
  padding: 18px 40px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-wrapper {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: softPulse 4s ease-in-out infinite;
}

@keyframes softPulse {
  0% {
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 15px rgba(139, 92, 246, 0.7));
  }
  100% {
    filter: drop-shadow(0 0 5px rgba(139, 92, 246, 0.3));
  }
}

.navbar-brand:hover .brand-logo-wrapper {
  transform: scale(1.05);
}

.navbar-brand:hover .brand-logo-img {
  animation: none;
  filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.9));
  transform: rotate(5deg) scale(1.1);
}

.brand-text {
  line-height: 1.1;
}

.brand-name {
  font-family: "Orbitron", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
}

.brand-tagline {
  font-family: "Outfit", sans-serif;
  font-size: 0.55rem;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-link {
  color: var(--muted) !important;
  font-family: "Outfit", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  padding: 6px 14px !important;
}

.nav-link:hover {
  color: var(--white) !important;
}

.btn-demo {
  background: var(--accent);
  color: var(--white);
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 50px;
  padding: 10px 28px;
  transition: all 0.25s ease;
  box-shadow: 0 0 20px rgba(108, 63, 212, 0.5);
}

.btn-demo:hover {
  background: var(--purple);
  box-shadow: var(--shadow-glow);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    ellipse 80% 70% at 50% 60%,
    var(--navy-light) 0%,
    var(--navy) 65%
  );
}

/* Video Background */
.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(5, 10, 46, 0.4) 0%,
    rgba(5, 10, 46, 0.7) 50%,
    rgba(5, 10, 46, 0.9) 100%
  );
  z-index: 1;
}

/* Rings Animation */
.rings {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.ring {
  position: absolute;
  border-radius: 50%;
  animation: expand 6s ease-out infinite;
}

.ring:nth-child(1) {
  width: 200px;
  height: 200px;
  animation-delay: 0s;
  border: 1px solid rgba(167, 139, 250, 0.25);
}
.ring:nth-child(2) {
  width: 380px;
  height: 380px;
  animation-delay: 0.6s;
  border: 1px solid rgba(167, 139, 250, 0.18);
}
.ring:nth-child(3) {
  width: 560px;
  height: 560px;
  animation-delay: 1.2s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.ring:nth-child(4) {
  width: 760px;
  height: 760px;
  animation-delay: 1.8s;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.ring:nth-child(5) {
  width: 980px;
  height: 980px;
  animation-delay: 2.4s;
  border: 1px solid rgba(255, 255, 255, 0.045);
}
.ring:nth-child(6) {
  width: 1220px;
  height: 1220px;
  animation-delay: 3s;
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.ring:nth-child(7) {
  width: 1500px;
  height: 1500px;
  animation-delay: 3.6s;
  border: 1px solid rgba(255, 255, 255, 0.018);
}

@keyframes expand {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* Sweep Effect */
.sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 3;
}

.sweep::before,
.sweep::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid transparent;
  background: conic-gradient(
      from 200deg,
      rgba(167, 139, 250, 0.35) 0deg,
      transparent 60deg,
      transparent 300deg,
      rgba(108, 63, 212, 0.25) 360deg
    )
    border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) padding-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: rotateSweep 12s linear infinite;
}

.sweep::before {
  width: 900px;
  height: 900px;
}
.sweep::after {
  width: 1200px;
  height: 1200px;
  animation-direction: reverse;
  animation-duration: 18s;
}

@keyframes rotateSweep {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Glow Blob */
.glow-blob {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 120px;
  background: radial-gradient(
    ellipse,
    rgba(217, 70, 239, 0.55) 0%,
    rgba(139, 92, 246, 0.3) 40%,
    transparent 70%
  );
  filter: blur(20px);
  pointer-events: none;
  z-index: 4;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 16px;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeUp 1s ease 0.3s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-family: "Outfit", "Roboto", sans-serif;
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--white);
  text-shadow: 0 0 60px rgba(167, 139, 250, 0.4);
  margin-bottom: 1.5rem;
}

.hero-sub {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  font-weight: 400;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.8rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.btn-experience {
  background: transparent;
  color: var(--white);
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  padding: 14px 42px;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-experience::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(108, 63, 212, 0.35),
    rgba(217, 70, 239, 0.2)
  );
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
}

.btn-experience span {
  position: relative;
  z-index: 1;
}

.btn-experience:hover {
  border-color: var(--purple-light);
  box-shadow:
    0 0 30px rgba(167, 139, 250, 0.45),
    inset 0 0 20px rgba(108, 63, 212, 0.25);
  color: var(--white);
}

.btn-experience:hover::before {
  opacity: 1;
}

/* ===== DEMO CARD (Form) ===== */
/* .demo-card {
  max-width: 700px;
  width: 90%;
  margin: 50px auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: slideUp 0.5s ease-out;
  padding-top: 100px;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */
.demo-card {
  max-width: 700px;
  width: 90%;
  margin: 100px auto 50px; /* Increased top margin to clear the fixed navbar */
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  animation: slideUp 0.5s ease-out;
  position: relative;
  z-index: 10;
}

/* Alternative: If you want to account for navbar height dynamically */
@media (max-width: 768px) {
  .demo-card {
    margin: 80px auto 40px; /* Slightly smaller margin on mobile */
  }
}

.card-header {
  background: linear-gradient(
    135deg,
    var(--gradient-start) 0%,
    var(--gradient-middle) 50%,
    var(--gradient-end) 100%
  );
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  border: none;
}

.card-header h3 {
  margin: 0;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 1px;
  font-family: "Outfit", sans-serif;
}

.card-header p {
  margin: 10px 0 0;
  opacity: 0.9;
  font-size: 14px;
  font-family: "Outfit", sans-serif;
}

.card-body {
  padding: 40px 30px;
}

.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  font-size: 14px;
  font-family: "Outfit", sans-serif;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 12px 15px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: var(--white);
  width: 100%;
  font-family: "Outfit", sans-serif;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--gradient-start);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: #999;
  font-size: 14px;
}

.btn-submit {
  background: linear-gradient(
    135deg,
    var(--gradient-start) 0%,
    var(--gradient-middle) 50%,
    var(--gradient-end) 100%
  );
  color: var(--white);
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
  font-family: "Outfit", sans-serif;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit i {
  margin-right: 10px;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Alert Messages */
.alert {
  border-radius: 12px;
  padding: 15px 20px;
  margin-bottom: 25px;
  border: none;
  animation: fadeIn 0.3s ease-out;
  font-family: "Outfit", sans-serif;
}

.alert-success {
  background: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border-left: 4px solid #ffc107;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border-left: 4px solid #17a2b8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Input with icon */
.input-icon {
  position: relative;
}

.input-icon i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gradient-start);
}

.input-icon input {
  padding-left: 45px;
}

/* Success animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.success-checkmark .check-icon {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 50%;
  box-sizing: content-box;
  border: 4px solid #4caf50;
}

.success-checkmark .check-icon::after {
  content: "";
  position: absolute;
  top: 36px;
  left: 21px;
  width: 25px;
  height: 12px;
  border: solid #4caf50;
  border-width: 0 0 4px 4px;
  transform: rotate(-45deg);
  animation: animateCheck 0.3s ease forwards;
}

@keyframes animateCheck {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
  }
  100% {
    width: 25px;
    height: 12px;
    opacity: 1;
  }
}

/* Hidden configuration */
.hidden-config {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }

  .brand-logo-wrapper {
    width: 40px;
    height: 40px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }
  .hero-title br {
    display: none;
  }

  .btn-experience {
    padding: 12px 30px;
    font-size: 0.65rem;
  }
  .glow-blob {
    width: 280px;
    height: 100px;
  }

  .demo-card {
    margin: 30px auto;
  }
  .card-body {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .brand-logo-wrapper {
    width: 36px;
    height: 36px;
  }

  .hero-content {
    padding: 0 16px;
  }
  .hero-sub {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .btn-experience {
    padding: 10px 24px;
  }

  .demo-card {
    width: 95%;
  }
  .card-header h3 {
    font-size: 24px;
  }
}
/* === Small Clean Center Video (1/4 Size) === */
.hero-video-small {
  width: 35%; /* Video becomes 1/4 size */
  margin: 20px auto; /* Center horizontally */
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-small-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media (max-width: 768px) {
  .hero-video-small {
    width: 40%;
  }
}

@media (max-width: 480px) {
  .hero-video-small {
    width: 55%;
  }
}
.echomind-gradient {
  font-family: "Orbitron", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin: 0;
  text-transform: uppercase;

  /* EXACT gradient effect */
  background: linear-gradient(90deg, #73eaf2 0%, #5d9cf9 40%, #1e1c72 100%);
  -webkit-background-clip: text;
  color: transparent;

  /* Soft glow like image */
  text-shadow: 0px 0px 6px rgba(94, 146, 245, 0.35);
}

.echomind-subtext {
  font-family: "Outfit", sans-serif; /* Same font as screenshot */
  font-size: 1.15rem; /* Perfect readable size */
  font-weight: 300; /* Light like screenshot */
  color: rgba(255, 255, 255, 0.9); /* Soft white */
  line-height: 1.7; /* Same spacing */
  max-width: 700px; /* Clean width */
  margin: 0 auto; /* Center horizontally */
}

@media (max-width: 576px) {
  .echomind-subtext {
    font-size: 1rem;
    line-height: 1.6;
  }
}

.video-background-holder {
  position: relative;
  height: 100vh;
  overflow: hidden; /* ensures video doesn't spill out if it goes over the edge */
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1; /* puts the video behind other content */
  transform: translate(
    -50%,
    -50%
  ); /* centers the video based on its own size */
}

.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Optional: Add a slight dark overlay for better text readability */
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* ===== FULLSCREEN VIDEO BACKGROUND ===== */
.video-bg-wrapper {
  position: fixed; /* covers entire viewport */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* behind everything */
  overflow: hidden;
}

#bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  opacity: 0.7; /* bright but lets white text pop */
  pointer-events: none;
}

/* soft dark overlay for better text contrast */
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 40%,
    rgba(0, 15, 25, 0.3) 0%,
    rgba(2, 5, 15, 0.7) 100%
  );
  z-index: 0;
}

/* ===== MAIN CONTENT (above video) ===== */
.content-wrapper {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 3rem 1rem;
}
.reasons-hero {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen height */
}
.reasons-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* PERFECT FULLSCREEN VIDEO */

/* cards & text now have semi-transparent dark background to remain readable */
.reason-card {
  background: rgba(8, 12, 24, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  padding: 2rem 1.8rem;
  box-shadow: 0 25px 40px -12px #000000;
  color: white;
  transition:
    transform 0.2s ease,
    background 0.2s;
  height: 100%;
}

.reason-card:hover {
  background: rgba(15, 22, 38, 0.75);
  transform: scale(1.01);
  border-color: rgba(255, 255, 255, 0.3);
}

.reason-card h5 {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px black;
}

.reason-card p {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  margin-bottom: 0;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* center video container (replaces previous logo) */
.hero-video-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 2.5rem;
  overflow: hidden;
  box-shadow: 0 30px 40px -10px black;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #000; /* fallback */
}

.hero-video {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1; /* square – adjust if your video is different */
  object-fit: cover;
  display: block;
}

/* headline with gradient (visible over video) */
.hero-headline {
  text-align: center;
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-shadow: 0 4px 20px black;
}

.hero-headline span {
  background: linear-gradient(130deg, #b0e0ff, #7aa5ff, #ca9eff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* explore button – bright and legible */
.explore-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.92);
  color: #0d1b34;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 2.5px;
  padding: 1rem 3.2rem;
  border-radius: 60px;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
  box-shadow: 0 15px 30px -8px #000000cc;
  backdrop-filter: blur(4px);
}

.explore-btn:hover {
  background: white;
  color: #0a1428;
  transform: translateY(-4px);
  box-shadow: 0 25px 35px -10px black;
}

/* footnote */
.footnote {
  color: rgba(255, 255, 255, 0.6);
  text-shadow: 0 2px 6px black;
}

/* responsive */
@media (max-width: 991px) {
  .hero-headline {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  .reason-card h5 {
    font-size: 1.2rem;
  }
  .explore-btn {
    font-size: 1rem;
    padding: 0.8rem 2.2rem;
  }
}

@media (max-width: 576px) {
  .hero-headline {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }
}

/* left / right columns cards spacing */
.left-side,
.right-side {
  gap: 1.5rem;
}
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero video.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.center-video {
  aspect-ratio: 1 / 1;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 991px) {
  .center-video {
    max-width: 360px;
    margin: 2rem auto;
  }
}
.reasons-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

/* Fullscreen video */
.reasons-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Button bottom center */
.bottom-center-btn {
  position: absolute;
  left: 50%;
  bottom: 60px; /* distance from bottom */
  transform: translateX(-50%);
  z-index: 2;
}
/* ===================== HOW ECHOMIND WORKS (FULL CSS) ===================== */

/* Section */
.how-works {
  position: relative;
  padding: 90px 0 110px;
  background: radial-gradient(
    circle at 50% 25%,
    rgba(13, 24, 85, 0.55) 0%,
    rgba(5, 10, 46, 0) 55%
  );
}

.how-works__wrap {
  max-width: 1100px;
}

.how-works__title {
  text-align: center;
  margin: 0 0 10px;
}

.how-works__sub {
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 auto 55px;
  max-width: 720px;
}

/* Grid (zig-zag: one item per row, alternating sides) */
.how-works__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 80px 1fr; /* left | center | right */
  grid-auto-rows: auto;
  row-gap: 90px; /* spacing between each row */
  column-gap: 40px;
  min-height: 700px; /* makes center line feel full */
}

/* Full length center line with fade from center to ends */
.how-works__line {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(120, 155, 255, 0) 0%,
    rgba(120, 155, 255, 0.18) 18%,
    rgba(200, 220, 255, 0.55) 50%,
    rgba(120, 155, 255, 0.18) 82%,
    rgba(120, 155, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}

/* glow around center line (strongest at center) */
.how-works__line::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 560px;
  background: radial-gradient(
    ellipse at center,
    rgba(120, 155, 255, 0.22) 0%,
    rgba(120, 155, 255, 0.1) 35%,
    rgba(0, 0, 0, 0) 70%
  );
  filter: blur(2px);
  pointer-events: none;
}

/* Card base */
.how-card {
  position: relative;
  max-width: 430px;
  z-index: 1; /* above line */
}

/* Alternate sides automatically:
   1st = right, 2nd = left, 3rd = right, 4th = left... */
.how-card:nth-of-type(odd) {
  grid-column: 3; /* RIGHT */
  justify-self: start;
  text-align: left;
  padding-right: 12px;
}

.how-card:nth-of-type(even) {
  grid-column: 1; /* LEFT */
  justify-self: end;
  text-align: right;
  padding-left: 12px;
}

/* Icon */
.how-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
}

.how-card__icon img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  opacity: 0.95;
}

/* Text */
.how-card__heading {
  font-family: "Outfit", sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 10px;
  color: rgba(140, 190, 255, 0.95);
  text-align: left;
}

.how-card__text {
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 10px;
  line-height: 1.65;
  font-size: 0.92rem;
  text-align: left;
}

.how-card__note {
  color: rgba(140, 190, 255, 0.75);
  margin: 0;
  line-height: 1.6;
  font-size: 0.82rem;
  text-align: left;
}

/* Connector dot + arm */
.how-card__dot {
  position: absolute;
  top: 24px; /* aligns near icon */
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 220, 255, 0.95);
  box-shadow: 0 0 16px rgba(120, 155, 255, 0.85);
}

.how-card__arm {
  position: absolute;
  top: 28px;
  height: 1px;
  width: 60px;
  background: rgba(150, 180, 255, 0.6);
  opacity: 0.95;
}

/* Right side connectors (odd items) */
.how-card:nth-of-type(odd) .how-card__dot {
  left: -70px;
}
.how-card:nth-of-type(odd) .how-card__arm {
  left: -60px;
}

/* Left side connectors (even items) */
.how-card:nth-of-type(even) .how-card__dot {
  right: -70px;
}
.how-card:nth-of-type(even) .how-card__arm {
  right: -60px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991.98px) {
  .how-works {
    padding: 70px 0 80px;
  }

  /* stack, line on left */
  .how-works__grid {
    grid-template-columns: 30px 1fr;
    row-gap: 60px;
    column-gap: 18px;
    min-height: auto;
  }

  .how-works__line {
    left: 15px;
    transform: none;
  }

  /* all cards become full width stack */
  .how-card {
    grid-column: 2 !important;
    justify-self: start !important;
    text-align: left !important;
    max-width: 100%;
    padding: 0 !important;
  }

  /* connector now points from left line */
  .how-card__dot {
    left: -28px !important;
    right: auto !important;
  }

  .how-card__arm {
    left: -20px !important;
    right: auto !important;
    width: 20px;
  }
}

@media (max-width: 576px) {
  .how-works__sub br {
    display: none;
  }
  .how-card__heading {
    font-size: 1rem;
  }
  .how-card__text {
    font-size: 0.9rem;
  }
}

/* SECTION BACKGROUND (dark + subtle waves like screenshot) */
.deploy-section {
  position: relative;
  padding: 80px 0 90px;
  overflow: hidden;
}

/* you can replace this image with your own "waves" png */

.deploy-inner {
  position: relative;
  z-index: 1;
}

/* TITLE */
.deploy-title {
  font-family: "Orbitron", sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  line-height: 1.15;
  font-size: clamp(28px, 3.4vw, 52px);
  margin: 0 0 14px;
  background: linear-gradient(90deg, #74e7ff 0%, #5a7df0 55%, #2a2cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 22px rgba(90, 125, 240, 0.15);
}

.deploy-sub {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 44px;
}

/* CARD */
.mode-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--stroke);

  /* ✅ Blue glass look like the image */
  background:
    radial-gradient(
      circle at 25% 15%,
      rgba(90, 125, 240, 0.28),
      transparent 55%
    ),
    radial-gradient(
      circle at 80% 85%,
      rgba(60, 90, 255, 0.22),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(10, 18, 90, 0.85), rgba(8, 12, 44, 0.88));

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);

  position: relative;
  overflow: hidden;
  padding: 26px 26px 22px;
}

/* subtle inner glow */
.mode-card::before {
  content: "";
  position: absolute;
  inset: -40% -30% auto -30%;
  height: 70%;
  background: radial-gradient(
    circle at 50% 60%,
    rgba(90, 125, 240, 0.22),
    transparent 65%
  );
  pointer-events: none;
}

.mode-pill {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(200, 220, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.mode-h {
  margin-top: 34px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.mode-kicker {
  margin: 10px 0 12px;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.mode-p {
  color: var(--muted);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 18px;
}

.mode-ul {
  margin: 12px 0 18px;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.mode-ul li {
  margin: 10px 0;
  line-height: 1.4;
}

.mode-foot {
  margin-top: 18px;
  color: var(--muted2);
  font-weight: 300;
  line-height: 1.7;
  min-height: 54px;
}

/* BUTTON (like screenshot: pill, border, glow) */
.btn-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 13px;
  color: #eaf1ff;
  background: rgba(10, 16, 60, 0.65);
  border: 1px solid rgba(140, 190, 255, 0.35);
  box-shadow:
    0 16px 30px rgba(0, 0, 0, 0.35),
    0 0 0 4px rgba(90, 125, 240, 0.07);
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn-book:hover {
  transform: translateY(-2px);
  border-color: rgba(140, 190, 255, 0.55);
  box-shadow:
    0 22px 36px rgba(0, 0, 0, 0.42),
    0 0 26px rgba(90, 125, 240, 0.28);
  color: #ffffff;
}

/* spacing at bottom like screenshot */
.btn-row {
  margin-top: auto; /* pushes button to bottom */
}
.video-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate; /* KEY: prevents stacking bugs */
}

.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0; /* NOT negative */
}

.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.75)
  );
  z-index: 1;
}

.video-overlay {
  position: relative;
  z-index: 2;
}
/* responsive card padding */
@media (max-width: 991.98px) {
  .deploy-section {
    padding: 60px 0 70px;
  }
  .mode-card {
    padding: 22px 20px 20px;
  }
  .mode-h {
    font-size: 24px;
  }
}

/* heading gradient like your screenshot */
.title-gradient {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.15;
  font-size: clamp(1.6rem, 3vw, 2.6rem);

  background: linear-gradient(90deg, #5ccbe3 0%, #5a7df0 50%, #13176c 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: 0 0 18px rgba(90, 125, 240, 0.25);
}

.subtitle {
  color: var(--muted);
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
  max-width: 980px;
  margin: 0 auto;
}

/* SECTION spacing */
.industries {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

/* soft background glow */
.industries::before {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(90, 125, 240, 0.18) 0%,
    rgba(5, 10, 46, 0) 55%
  );
  pointer-events: none;
}

/* Card */
.industry-card {
  position: relative;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--cardBorder);
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(120, 155, 255, 0.18) 0%,
      rgba(10, 20, 70, 0.2) 35%,
      rgba(5, 10, 46, 0.96) 70%
    ),
    linear-gradient(180deg, rgba(15, 25, 90, 0.75), rgba(5, 10, 46, 0.95));
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

/* inner border glow */
.industry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(90, 125, 240, 0.25),
    inset 0 0 40px rgba(90, 125, 240, 0.1);
}

/* grain/noise edge effect (CSS-only) */
.industry-card::before {
  content: "";
  position: absolute;
  inset: -40px;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.9) 1px,
    transparent 1px
  );
  background-size: 3px 3px;
  mix-blend-mode: overlay;
  mask-image: radial-gradient(circle at 0% 50%, #000 0 38%, transparent 62%);
}

.industry-card .card-body {
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column; /* key for bottom button */
  min-height: 260px;
  position: relative;
  z-index: 2;
}

.industry-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.industry-text {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-weight: 300;
  font-size: 0.98rem;
  margin-bottom: 18px;
}

/* Explore button aligned bottom */
.card-actions {
  margin-top: auto; /* pushes button to bottom */
  padding-top: 10px;
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  background: rgba(5, 10, 46, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.btn-explore:hover {
  transform: translateY(-2px);
  border-color: var(--cardBorder2);
  box-shadow:
    0 0 0 3px rgba(90, 125, 240, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
  color: #fff;
}

/* Responsive spacing */
@media (max-width: 576px) {
  .industries {
    padding: 70px 0;
  }
  .industry-card .card-body {
    padding: 22px;
  }
}
/* page spacing demo */
.hero-wrapper {
  width: 100%;
  max-width: 1200px;
  position: relative;
  overflow: visible;
  align-items: center;
}

.hero-card {
  position: relative;

  padding: 56px 48px 56px 56px;
  min-height: 280px;
  overflow: visible;

  border: none; /* ❌ remove border */
  box-shadow: none; /* ❌ remove shadow */
}

/* Corner accent lines */
.hero-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 18px;
  border: 1px solid rgba(33, 60, 180, 0.3);
  pointer-events: none;
}

/* Glow edge top */
.hero-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(43, 58, 197, 0.8),
    transparent
  );
  border-radius: 50%;
  pointer-events: none;
}

/* Left content area */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 52%;
}

.hero-title {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #e8e0ff;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-shadow: 0 0 30px rgba(8, 37, 132, 0.4);
}
.hero-strip {
  min-height: 50vh; /* full screen height */
  align-items: center; /* vertical center */
  justify-content: center; /* horizontal center */
  background: #050414;
  padding: 40px 0; /* small breathing space */
}
.btn-explore {
  display: inline-block;
  padding: 12px 28px;
  border: 1.5px solid rgba(180, 160, 255, 0.55);
  border-radius: 30px;
  color: #1022be;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  background: rgba(14, 27, 169, 0.18);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
  box-shadow:
    0 0 16px rgba(120, 80, 255, 0.15),
    inset 0 0 12px rgba(100, 60, 200, 0.1);
}

.btn-explore:hover {
  background: rgba(100, 70, 220, 0.35);
  color: #fff;
  border-color: rgba(200, 170, 255, 0.8);
  box-shadow:
    0 0 28px rgba(140, 90, 255, 0.4),
    inset 0 0 16px rgba(120, 80, 240, 0.2);
  transform: translateY(-1px);
}

/* Robot image — positioned top-right, overflowing */
.hero-image-wrap {
  position: absolute;
  right: -200px;
  top: -125px;
  width: 52%;
  max-width: 120px;
  z-index: 10;
  pointer-events: none;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 30px rgba(120, 80, 255, 0.55))
    drop-shadow(0 0 60px rgba(80, 40, 200, 0.35));
}
.hero-section {
  border: #012d5c 1px solid;
  border-radius: 30px;
  padding: 15px 5px 0;
  filter: drop-shadow(0 0 30px rgba(120, 80, 255, 0.55))
    drop-shadow(0 0 60px rgba(80, 40, 200, 0.35));
}

.hero-text {
  padding-left: 50px;
}

.hero-title {
  font-size: 45px;
  font-weight: 700;
}

.hero-img {
  max-width: 100%;
  height: auto;
  width: 300px;
}

/* Tablet */
@media (max-width: 992px) {
  .hero-title {
    font-size: 38px;
    text-align: center;
  }

  .hero-text {
    text-align: center;
    padding-left: 0;
    margin-bottom: 40px;
  }

  .hero-img {
    width: 320px;
  }
}
/* Mobile */
@media (max-width: 576px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-img {
    width: 250px;
  }
}
/* Bottom border glow */
.hero-bottom-glow {
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(100, 70, 255, 0.5),
    transparent
  );
}

/* Responsive */
@media (max-width: 768px) {
  .hero-card {
    padding: 44px 24px 200px 28px;
    min-height: unset;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-image-wrap {
    right: 50%;
    transform: translateX(50%);
    top: unset;
    bottom: -60px;
    width: 70%;
    max-width: 280px;
  }
  .hero-wrapper {
    padding-bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-card {
    padding: 36px 20px 190px 22px;
  }
  .hero-image-wrap {
    width: 80%;
  }
}

/* ===== HEADER WRAPPER ===== */
.ajace-header-wrap {
  padding: 18px;
}

.ajace-header {
  border-radius: 26px;
  padding: 28px 40px;
  background: linear-gradient(135deg, #050a2e 0%, #0a0f4d 60%, #131b7a 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(90, 125, 240, 0.25);
}
.footer-wrap {
  margin-top: 30px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #050a2e 0%, #0a0f4d 60%, #131b7a 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(90, 125, 240, 0.25);
}
.foot-align {
  display: flex;
  align-items: center;
  padding: 28px 40px;
}

/* Logo styling */
.ajace-logo {
  height: 58px;
}

/* Right links */
.header-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 18px;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.header-links a:hover {
  opacity: 0.7;
}

.divider {
  margin: 0 14px;
  opacity: 0.5;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .ajace-header {
    padding: 22px;
  }

  .header-links {
    margin-top: 15px;
  }

  .header-links a {
    font-size: 15px;
  }
}
/* AI-style Back to Top Button */
/* Back to Top (production-safe) */
.to-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 20px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);

  /* hidden by default */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
}

.to-top-btn i {
  line-height: 1; /* keeps arrow perfectly centered */
}

.to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.to-top-btn:hover {
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .to-top-btn {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 16px;
    font-size: 16px;
  }
}

.dropdown-menu {
  margin-top: 5px;
  transition: all 0.3s ease;
  background: #304bfc;
}
