/* Color Variables */
:root {
  --c1: #008EB2;
  /* primary */
  --c2: #78c4ec;
  /* sky */
  --c3: #a3f5ff;
  /* aqua */
  --c4: #45caec;
  /* deep blue */
  --c4: #137B6A;
  /* Secondary */
  --c5: #76d2c3;
  /* extra */
  --c6: #1d1e21;
  /* extra */
  --white: #ffffff;
  --black: #000000;
  --dark-bg: #0d2321;
  --darker-bg: #0a0e1a;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Syne", sans-serif;
}

body {
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Button styling */
#backToTop {
  display: none;
  /* Hidden by default */
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: var(--c2);
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#backToTop:hover {
  background-color: var(--c4);
}

/* Floating Background Elements */
.floating-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 12s infinite ease-in-out;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--c1);
  top: -100px;
  left: -100px;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--c4);
  bottom: -150px;
  right: -150px;
  animation-delay: -6s;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--c2);
  top: 50%;
  left: 20%;
  animation-delay: -3s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) translateX(0);
  }

  50% {
    transform: translateY(-30px) translateX(20px);
  }
}

/* Layout */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background: var(--dark-bg);
  border-radius: 20px;
  margin: 40px 0;
  padding: 120px 40px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

.section-title {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 24px;
  text-align: center;
  text-transform: capitalize;
}

.section-subtitle {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--c5);
  margin-bottom: 16px;
}

.section-intro {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--c5);
  max-width: 80%;
  margin: 0 auto 40px;
  line-height: 1.7;
  text-align: center;
}

.section-outro {
  font-size: 1.2rem;
  color: var(--c5);
  margin-bottom: 20px;
}

/* Glass Navigation */
.nav {
  position: sticky;
  top: 0;
  background: rgba(10, 22, 23, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0;
  z-index: 1000;
  border-radius: 0 0 20px 20px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(118, 210, 195, 0.1);
}

.nav.scrolled {
  background: rgba(10, 22, 23, 0.9);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo {
  height: 40px;
  transition: all 0.3s ease;
}

.navlinks {
  display: flex;
  gap: 16px;
  align-items: center;
}

.navlinks a {
  padding: 8px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.navlinks a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(118, 210, 195, 0.2),
      transparent);
  transition: left 0.5s ease;
}

.navlinks a:hover::before {
  left: 100%;
}

.navlinks a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--c1);
}

.navlinks .cta {
  background: linear-gradient(90deg, var(--c1), var(--c4));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(118, 210, 195, 0.3);
  font-weight: bold;
  padding: 10px 20px;
  font-size: 14px;
}

.navlinks .cta:hover {
  background: linear-gradient(90deg, var(--c2), var(--c3));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(118, 210, 195, 0.5);
  color: var(--black);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 25px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
  z-index: -1;
}

.hero-content {
  color: var(--white);
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 4vw, 4.5rem);
  margin-bottom: 32px;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--white) 0%, var(--c3) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: capitalize;
}

.hero-content p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--white) line-height: 1.7;
  max-width: 700px;
}
.hero-content .subtitle{
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--c5);
  margin-bottom: 40px;
  max-width: 900px;
}

/* Buttons */
.cta-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.btn,
.btn-outline {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn {
  background: linear-gradient(90deg, var(--c1), var(--c4));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(118, 210, 195, 0.3);
  font-weight: bold;
}

.btn:hover {
  background: linear-gradient(90deg, var(--c2), var(--c3));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(118, 210, 195, 0.5);
  color: var(--black);
}

.btn-outline {
  border: 2px solid var(--c2);
  color: var(--white);
  background: transparent;
  font-weight: bold;
}

.btn-outline:hover {
  background: rgba(120, 196, 236, 0.15);
  border-color: var(--c3);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
  border-radius: 30px;
}

/* Grid Layouts */
.grid-3,
.grid-4 {
  display: grid;
  gap: 10px;
  margin-top: 40px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards */
.card,
.philosophy-card,
.industry-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(118, 210, 195, 0.1);
  height: 100%;
}

.card::before,
.philosophy-card::before,
.industry-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c4));
  -webkit-mask: linear-gradient(var(--white) 0 0) content-box,
    linear-gradient(var(--white) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

.card:hover,
.philosophy-card:hover,
.industry-card:hover {
  transform: translateY(-8px);
  border-color: rgba(118, 210, 195, 0.3);
  box-shadow: 0 15px 30px rgba(118, 210, 195, 0.2);
}

.card:hover::before,
.philosophy-card:hover::before,
.industry-card:hover::before {
  opacity: 1;
}

/* Philosophy Cards */
.philosophy-card {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   AUTO SEQUENTIAL GLOW EFFECT (SMOOTH RETURN)
   Only one card glows at a time, smooth fade-out
========================================== */

@keyframes cardGlowSequential {
  0%, 100% {
    transform: translateY(0);
    border-color: rgba(118, 210, 195, 0.1);
    box-shadow: 0 0 0 rgba(118, 210, 195, 0);
  }
  10%, 25% {
    border-color: rgba(118, 210, 195, 0.5);
    transform: translateY(-12px);
    box-shadow: 0 0 30px rgba(118, 210, 195, 0.5), 0 0 60px rgba(163, 245, 255, 0.3), 0 0 90px rgba(70, 105, 243, 0.2);
  }
  40%, 99% {
    transform: translateY(0);
    border-color: rgba(118, 210, 195, 0.1);
    box-shadow: 0 0 0 rgba(118, 210, 195, 0);
  }
}

/* Apply animation to all philosophy cards */
.philosophy-card {
  animation: cardGlowSequential 4s ease-in-out infinite;
  transition: all 0.01s ease-in-out; /* smooth return transition */
}

/* Staggered animation delays (one card glows at a time) */
.philosophy-card:nth-child(1) { animation-delay: 0s; }
.philosophy-card:nth-child(2) { animation-delay: 1s; }
.philosophy-card:nth-child(3) { animation-delay: 2s; }
.philosophy-card:nth-child(4) { animation-delay: 3s; }


.card-icon {
  margin-bottom: 0;
  display: inline-block;
}

.card-icon img {
  width: 100px;
  height: 100px;
  display: block;
  margin-bottom: 16px;
}

#philosophy .section-intro {
  margin-bottom: 0;
}

#philosophy .section-intro strong {
  color: var(--white);
}

.philosophy-card h4 {
  font-size: 1.5rem;
  color: var(--white);
  max-width: 80%;
  margin: 0 auto 16px auto;
}

.philosophy-card p {
  font-size: 0.95rem;
  color: var(--c5);
  line-height: 1.5;
  margin-bottom: 0;
}
#philosophy .btn-outline{
    background: linear-gradient(90deg, var(--c1), var(--c4));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(118, 210, 195, 0.3);
    font-weight: bold;
    padding: 10px 20px;
    font-size: 16px;
}

#philosophy .section-outro{
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--white);
    font-weight: bold;
}

/* Glass Cards - Your Original Design */
.glass-card {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 50px 20px;
  text-align: center;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.018);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  background-clip: padding-box;
  overflow: hidden;
  transition: all 0.3s ease;
}

.glass-card:hover {
  /* transform: translateY(-5px); */
  box-shadow: 0 10px 30px rgba(118, 210, 195, 0.3);
  border-color: rgba(118, 210, 195, 0.3);
  background: rgba(0, 0, 0, 0.2);
}

/* Outer gradient border effect */
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(180deg,
      rgba(57, 57, 57, 0.21) 1%,
      rgba(151, 151, 151, 0.35) 100%);
  -webkit-mask: linear-gradient(var(--white) 0 0) content-box,
    linear-gradient(var(--white) 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(var(--white) 0 0) content-box, linear-gradient(var(--white) 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

/* Top shimmer line */
.glass-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      transparent);
  z-index: 2;
}

/* Left vertical highlight */
.glass-card .left-highlight {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  width: 1px;
  height: 80%;
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.15),
      rgba(255, 255, 255, 0.06),
      transparent);
  z-index: 2;
}

/* Inner inset glow */
.glass-card .inner-glow {
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  box-shadow: inset 0 0 2px 0 rgba(255, 255, 255, 0.15),
    inset 0 2px 4px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 2px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 1;
}

/* Radial overlay texture */
.glass-card .overlay-glow {
  position: absolute;
  inset: 2px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%,
      rgba(255, 255, 255, 0.15) 0%,
      transparent 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}

.glass-card:hover .overlay-glow {
  opacity: 1;
}

/* Glass Card Typography */
.use-title {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.use-subtitle {
  font-size: 1.1rem;
  color: var(--c3);
  margin-bottom: 20px;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.pillar-icon {
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  /*width: 80px;*/
  /*height: 80px;*/
  /*filter: drop-shadow(0 0 6px rgba(118, 210, 195, 0.3));*/
  /*transition: transform 0.3s ease, opacity 0.3s ease;*/
}

/*.flipbox-front:hover .pillar-icon {*/
/*  transform: scale(1.05);*/
/*  opacity: 0.9;*/
/*}*/

.use-desc {
  position: relative;
  z-index: 2;
  flex-grow: 1;
}

.use-desc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.use-desc li {
  margin-bottom: 5px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  /* border-left: 3px solid var(--c2);*/
  line-height: 1.5;
  font-size: 0.95rem;
  text-align: left;
}

.use-desc li strong {
  color: var(--c1);
}

/* CTA Link */
.cta-link {
  color: var(--c3);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(118, 210, 195, 0.18);
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.cta-link:hover {
  color: var(--c1);
  transform: translateX(5px);
}

/* =========================
PILLARS SECTION STYLING
========================= */
.ai-powered-grid {
  background: var(--black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pillars-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.pillars-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.pillars-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9));
  z-index: 1;
}

.z-1 {
  position: relative;
  z-index: 3;
}

/* =========================
FLIPBOX CARDS
========================= */
.flipbox {
  perspective: 1200px;
  height: 100%;
}

.flipbox-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.4, 0.2, 0.2, 1);
}

.flipbox:hover .flipbox-inner {
  transform: rotateY(180deg);
}

.flipbox-front,
.flipbox-back {
  position: relative;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 25px;
}

/* Frosted glass style */
.glass-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
}

/* Front Face */
.flipbox-front {
  color: var(--white);
  text-align: center;
  position: absolute;
  top: 0;
  left: 0;
  padding: 0;
  justify-content: flex-start;
}

.flipbox-front .use-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 0 25px;
}

.flipbox-front .use-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  padding: 0 25px;
}

/* Back Face */
.flipbox-back {
  transform: rotateY(180deg);
  color: var(--white);
  overflow-y: auto;
}

.flipbox-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.flipbox-content li {
  margin-bottom: 10px;
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--c2);
  padding: 10px 15px;
  border-radius: 8px;
  text-align: left;
  line-height: 1.5;
  font-size: 0.95rem;
}

.cta-link {
  color: var(--c3);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.cta-link:hover {
  color: var(--c1);
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--c1);
}


/* AI Powered Features Grid */
.ai-usecard {
  position: relative;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.4);
  padding: 40px 30px;
  text-align: center;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  height: 100%;
  border: 1px solid rgba(118, 210, 195, 0.2);
}

.ai-usecard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg,
      var(--c1),
      var(--c2),
      var(--c3),
      var(--c4));
  -webkit-mask: linear-gradient(var(--white) 0 0) content-box,
    linear-gradient(var(--white) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  filter: blur(6px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.ai-usecard:hover {
  transform: translateY(-12px);
  box-shadow: 0 0 30px rgba(118, 210, 195, 0.5),
    0 0 60px rgba(163, 245, 255, 0.3), 0 0 90px rgba(70, 105, 243, 0.2);
}

.ai-usecard:hover::before {
  opacity: 1;
  filter: blur(0);
}

.use-icon {
  height: 80px;
  width: auto;
  margin-bottom: 24px;
  filter: brightness(1.2);
}


/* =========================
INDUSTRIES SECTION
========================= */
.industriesOne {
  position: relative;
  background: radial-gradient(circle at center, var(--dark-bg), var(--black));
  padding: 80px 0;
  overflow: hidden;
  color: var(--white);
  font-family: "Inter", sans-serif;
  background: radial-gradient(black, var(--c1));
  z-index: 1;
}

.industriesOne .section-intro {
  font-size: 16px;
  color: var(--c5);
  margin: auto;
  max-width: 70%;
  line-height: 1.5;
}

/* Tabs Navigation */
.industry-tabs {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 0;
  flex-wrap: wrap;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  mix-blend-mode: multiply;
}

/* Optional dark overlay for better text contrast */
.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.6)
  );
  z-index: 1;
}

/* Keep blobs and content above video */
.industriesOne .blob,
.industriesOne .container {
  position: relative;
  z-index: 2;
}

.industry-tabs li {
  cursor: pointer;
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  transition: all 0.3s ease;
  color: var(--white);
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.industry-tabs li.active {
  background: var(--c5);
  color: var(--black);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Tab Panels */
.tab-panel {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Industry Card (Glass Style) */
.industry-card {
  padding: 40px 30px;
  position: relative;
  width: 100%;
  text-align: left;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

/* Hover Effect */
.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Card Header */
.industry-header {
  margin-bottom: 20px;
}

.industry-header h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: var(--white);
}

.industry-header h4 {
  font-size: 1.2rem;
  color: var(--c2);
  font-weight: 400;
}

/* Card Content */
.industry-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.challenge,
.solutions,
.outcomes {
  padding: 10px 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.solutions ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
}

.solutions li {
  padding: 5px 0;
  line-height: 1.5;
  width: 49%;
}

.outcomes {
  border-left: 3px solid var(--c3);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

/* CTA Buttons */
.industry-card .btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--c5);
  color: var(--black);
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;
}

.industry-card .btn:hover {
  background: var(--c6);
  color: var(--white);
}

/*.industry-grid img{*/
/*    mix-blend-mode: multiply;*/
/*}*/

/* Floating Blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 10s infinite alternate ease-in-out;
}

.blob-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(145deg, var(--c3), var(--c5));
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  display: none;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: rgb(163, 245, 255);
  opacity: 0.9;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.blob-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(45deg, var(--c1), var(--c2), var(--c3));
  top: 30%;
  left: 50%;
  animation-delay: 4s;
}

.blob-4 {
  width: 150px;
  height: 150px;
  background: var(--c4);
  top: 70%;
  left: 20%;
  animation-delay: 6s;
}

@keyframes float {
  0% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) translateX(20px) rotate(15deg);
  }

  100% {
    transform: translateY(0px) translateX(0px) rotate(0deg);
  }
}


/* END */
.challenge,
.solutions,
.outcomes {
  margin-bottom: 20px;
}

.challenge strong,
.solutions strong,
.outcomes strong {
  color: var(--c1);
  display: block;
  margin-bottom: 8px;
}

.solutions ul {
  list-style: none;
  padding: 0;
}

.solutions li {
  margin-bottom: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  border-left: 3px solid var(--c3);
  font-size: 0.95rem;
}

.solutions li strong {
  color: var(--c2);
  display: inline;
}

/* Process Steps */
/* ============================
   HOW WE WORK SECTION
============================ */

.process-modern {
  position: relative;
  background: radial-gradient(circle at top, #0b1c1b 0%, #010101 100%);
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #fff;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

/* ===== Process Cards ===== */

/* Base card style */
.process-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 35px 25px;
  color: #fff;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  box-shadow: none;
  opacity: 0.7;
  text-align: left;
}

/* Keyframes for single glow */
@keyframes singleGlow {
  0%, 100% {
    box-shadow: none;
    opacity: 0.7;
    transform: scale(1);
  }
  20%, 40% {
    box-shadow: 0 0 15px rgba(0, 255, 198, 0.9),
                0 0 30px rgba(0, 255, 198, 0.5),
                inset 0 0 20px rgba(0, 255, 198, 0.4);
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Faster animation cycle — total loop = 4s */
.process-modern .row > div:nth-child(1) .process-card {
  animation: singleGlow 4s infinite;
  animation-delay: 0s;
}
.process-modern .row > div:nth-child(2) .process-card {
  animation: singleGlow 4s infinite;
  animation-delay: 1s;
}
.process-modern .row > div:nth-child(3) .process-card {
  animation: singleGlow 4s infinite;
  animation-delay: 2s;
}
.process-modern .row > div:nth-child(4) .process-card {
  animation: singleGlow 4s infinite;
  animation-delay: 3s;
}

/* Optional hover boost */
/*.process-card:hover {*/
/*  transform: translateY(-5px);*/
/*  box-shadow: 0 0 35px rgba(0, 255, 198, 0.9),*/
/*              0 0 70px rgba(0, 255, 198, 0.5);*/
/*  opacity: 1;*/
/*}*/

/* ===== Sequential Glow on Step Numbers ===== */
@keyframes stepNumberGlow {
  0%, 100% {
    color: rgba(255, 255, 255, 0.06);
    text-shadow: none;
    transform: scale(1);
  }
  10%, 25% {
    color: rgba(0, 255, 198, 1);
    text-shadow:
      0 0 25px rgba(0, 255, 198, 0.9),
      0 0 50px rgba(0, 255, 198, 0.6),
      0 0 80px rgba(0, 255, 198, 0.4);
    transform: scale(1.2);
  }
  40%, 99% {
    color: rgba(255, 255, 255, 0.06);
    text-shadow: none;
    transform: scale(1);
  }
}

/* Apply animation to the step-number */
.step-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.06);
  z-index: 0;
  line-height: 1;
  animation: stepNumberGlow 4s ease-in-out infinite;
}

/* Sequential animation delays for step numbers */
.process-modern .row > div:nth-child(1) .step-number { animation-delay: 0s; }
.process-modern .row > div:nth-child(2) .step-number { animation-delay: 1s; }
.process-modern .row > div:nth-child(3) .step-number { animation-delay: 2s; }
.process-modern .row > div:nth-child(4) .step-number { animation-delay: 3s; }

/* Step Titles */
.step-title {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: #00ffc6;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.step-heading {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.step-desc {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}

/* List Styling */
.step-list {
  position: relative;
  z-index: 1;
  padding: 0;
  margin: 0;
}

.step-list li {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 6px;
  list-style: disc;
}

/* Stats Section */
#proof {
  position: relative;
  background: radial-gradient(circle at top, var(--darker-bg), var(--black));
  overflow: hidden;
}

.stats-overlay {
  position: absolute;
  inset: 0;
}

.stats-overlay::before,
.stats-overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.2;
  animation: float 12s infinite ease-in-out;
}

.stats-overlay::before {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: var(--c1);
}

.stats-overlay::after {
  width: 500px;
  height: 500px;
  bottom: -150px;
  right: -150px;
  background: var(--c4);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(118, 210, 195, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(70, 105, 243, 0.2);
  transition: all 0.3s ease;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 50px rgba(70, 105, 243, 0.4);
}

.stat-heading {
  font-size: 2.4rem;
  color: var(--white);
  margin-bottom: 16px;
  font-weight: bold;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
  font-family: "inter", sans-serif;
}

.stat-description {
  font-size: 18px;
  line-height: 1.5;
  color: var(--white);
  margin-bottom: 8px;
}

.stat-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c4));
  -webkit-mask: linear-gradient(var(--white) 0 0) content-box,
    linear-gradient(var(--white) 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
}

.stat-card:hover .stat-border {
  opacity: 1;
}

.highlight {
  color: var(--c5); /* Change to your brand color */
  font-weight: 600;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* FAQ Section */
.faq-section {
  background: rgba(13, 13, 13, 0.95);
  padding: 50px;
  border-radius: 20px;
  max-width: 100%;
  margin: 0 auto;
  color: var(--white);
  font-family: "Inter", sans-serif;
  border: 1px solid rgba(118, 210, 195, 0.1);
}

.faq-header {
  text-align: center;
  margin-bottom: 50px;
}

.faq-container {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.faq-item {
  border: 1px solid rgba(118, 210, 195, 0.2);
  border-radius: 12px;
  background: rgba(19, 19, 19, 0.95);
  box-shadow: 0 2px 10px rgba(163, 245, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  width: 49%;
}

.faq-item:hover {
  border-color: rgba(118, 210, 195, 0.4);
  box-shadow: 0 4px 20px rgba(163, 245, 255, 0.2);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: left;
  font-family: inherit;
}

.faq-question:hover {
  color: var(--c1);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
  padding: 0 24px 20px;
  max-height: 300px;
  /* adjust if your answers are long */
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2), var(--c4));
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: var(--black);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(118, 210, 195, 0.1);
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-logo {
  height: 40px;
  margin-bottom: 16px;
}

.footer-description {
  color: var(--white);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 100%;
}

.footer h6 {
  color: var(--c1);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: var(--c1);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--c4);
}

.modal .form-check-label a {
  color: var(--c1);
}