/* ================== RESET & ROOT ================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --brand-green: #00bfa6;
  --kayex-teal: #00bfa6;
  --bg-dark: #121212;
  --text-light: #f5f5f5;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background-color: #00bfa6;
  border-radius: 10px;
  border: 2px solid #000;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #00e0ba;
}

/* Font */
@font-face {
  font-family: "Nasalization";
  src: url("../fonts/nasa.otf");
  font-weight: normal;
  font-style: normal;
}

/* Generic container (replaces Bootstrap .container) */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}


/* Global body */
body {
  font-family: "Nasalization", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--bg-dark);
  color: #f0f0f0;
  line-height: 1.7;
  margin: 0;
}

/* Reset default ul bullets */
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ================== NAVBAR ================== */

.custom-navbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;

  width: 92%;
  max-width: 1200px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  background: rgba(255, 255, 255, 0.05);
  border-radius: 50px;
  padding: 10px 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  backdrop-filter: blur(10px);
}

/* Brand */
.brand {
  font-weight: 700;
  cursor: pointer;
}
.brand span {
  color: var(--brand-green);
}

/* Desktop nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  text-align: center;
  gap: 2rem;
  margin-left: 2rem; /* or even 0 if you prefer tighter layout */
}


.nav-menu li a {
  text-decoration: none;
  color: #ccc;
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.nav-menu li a.active {
  color: #fff;
  border-bottom: 2px solid var(--brand-green);
}

.nav-menu li a:hover {
  color: #fff;
  border-bottom: 2px solid var(--brand-green);
}

/* Contact button in nav */
.btn-nav {
  padding: 10px 25px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Hamburger toggle */
.nav-toggle {
  position: static;
  cursor: pointer;
  width: 30px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
}

.nav-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* ================== SIDE MENU (MOBILE) ================== */

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 260px;
  max-width: 80%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  padding: 60px 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;

  /* off-screen by default */
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

/* When JS toggles .show, slide in */
.side-menu.show {
  transform: translateX(0);
}

.side-menu ul {
  margin-top: 1rem;
}

.side-menu ul li {
  margin: 20px 0;
}

.side-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.side-menu ul li a:hover {
  color: var(--brand-green);
}

.close-menu {
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
}

/* ================== NAV RESPONSIVE ================== */

@media (max-width: 991px) {
  .nav-menu {
    display: none !important;
  }
  .btn-nav {
    display: none !important;
  }
  .nav-toggle {
    display: flex;
  }
}

/* We do NOT hide .side-menu on desktop with display:none,
   we just never show the toggle there (Tailwind handles that) */

.gradient{
  background: linear-gradient(-45deg, #121212, #00bfa6, #121212, #00bfa6);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

/* ================== HERO ================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(-45deg, #121212, #00bfa6, #121212, #00bfa6);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero-content.glass {
  max-width: 700px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  margin-top: 80px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

/* Glass button */
.glass-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
  text-decoration: none;
  transition: all 0.3s ease;
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0, 191, 166, 0.5);
}

/* ================== VALUE SECTION ================== */

.value-section {
  position: relative;
  padding-top: 4rem;
}

.value-section .eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.8;
}

.value-metrics {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  margin-top: 0.5rem;
}

.value-metrics .metric {
  display: flex;
  flex-direction: column;
}

.metric-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.7;
}

.metric-value {
  font-size: 0.9rem;
}

/* Value Rail container */
.value-rail {
  border-radius: 1.5rem;
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  --glow-center: 80px;
}

/* Base line */
.value-rail::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.02)
  );
  pointer-events: none;
}

/* Glow segment */
.value-rail::after {
  content: "";
  position: absolute;
  left: 1.4rem;
  width: 2px;
  height: 70px;
  top: calc(var(--glow-center) - 35px);
  background: var(--kayex-teal);
  filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition:
    top 0.25s ease-out,
    opacity 0.25s ease-out;
}

.value-rail.has-active::after {
  opacity: 0.8;
}

/* Individual item */
.value-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  position: relative;
  padding-left: 0.5rem;
  transition: transform 0.25s ease-out;
}

.value-marker {
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.value-marker::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  left: 50%;
  transform: translateX(-50%);
  bottom: -0.9rem;
  opacity: 0.3;
}

.value-body h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.value-body p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.4rem;
}

.value-tag {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.75;
}

/* Hover motion */
.value-item:hover .value-marker {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.value-item:hover .value-body {
  transform: translateY(-1px);
}

/* Active styles */
.value-item.is-active .value-marker {
  border-color: var(--kayex-teal);
  box-shadow: 0 0 18px rgba(0, 191, 166, 0.7);
}

.value-item.is-active .value-body h3 {
  color: var(--kayex-teal);
}

.value-item.is-active .value-tag {
  border-color: rgba(0, 191, 166, 0.8);
  opacity: 1;
}

/* Stagger delays */
.value-rail .value-item:nth-child(1) {
  transition-delay: 0.05s;
}
.value-rail .value-item:nth-child(2) {
  transition-delay: 0.12s;
}
.value-rail .value-item:nth-child(3) {
  transition-delay: 0.19s;
}
.value-rail .value-item:nth-child(4) {
  transition-delay: 0.26s;
}
.value-rail .value-item:nth-child(5) {
  transition-delay: 0.33s;
}
.value-rail .value-item:nth-child(6) {
  transition-delay: 0.4s;
}

/* ================== ABOUT / PROFILE ================== */

.about-section h2,
.projects-section h2,
.cta-section h2 {
  color: #fff;
}

.about-section p,
.projects-section p,
.cta-section p {
  color: #fff;
}

.profile-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.about-inner {
  border-radius: 20px;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* ABOUT GRID – single column on mobile, two columns on large screens */
.about-grid {
  display: grid;
  /*grid-template-columns: 1fr;       ✅ mobile: stack everything */
  gap: 2rem;
  align-items: flex-start;
}

/* Desktop / large screens */
@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  }
}

/* Prevent about grid columns from forcing overflow */
.about-left,
.about-right {
  min-width: 0;      /* ✅ lets text wrap instead of pushing out */
}


.section-title {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 800;
}

.lead {
  color: #d6d6d6;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pill-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.pill {
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid rgba(0, 191, 166, 0.9);
  padding: 0.9rem 1rem;
  border-radius: 8px;
}

.pill p {
  color: #fff;
  margin: 0.3rem 0 0;
  font-size: 0.95rem;
}

.small-card {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.small-card div {
  text-align: left;
  min-width: 100px;
}

.stat {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--brand-green);
}

.stat-label {
  display: block;
  color: #fff;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.team-card h4 {
  color: #fff;
  margin-bottom: 0.5rem;
}

.team-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #fff;
  line-height: 1.6;
}

.team-card ul li {
  margin: 0.45rem 0;
}

.divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  margin: 1.5rem 0;
}

/* ================== SERVICES SLIDER ================== */

.services-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding-bottom: 10px;
}

.services-card {
  flex: 0 0 280px;
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.services-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 191, 166, 0.4);
}

.services-card h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-top: 1rem;
}

.services-card p {
  color: #ccc;
  font-size: 0.95rem;
}

.services-card.active-card {
  background: rgba(0, 191, 166, 0.15);
  border: 1px solid rgba(0, 191, 166, 0.4);
  box-shadow: 0 10px 30px rgba(0, 191, 166, 0.4);
}

.services-navigation {
  text-align: center;
  margin-top: 20px;
  display: none;
}

.services-navigation button {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 18px;
  margin: 0 10px;
  cursor: pointer;
}

.services-navigation button:hover {
  background: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
  .services-slider {
    overflow-x: hidden;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

@media (max-width: 767px) {
  .services-navigation {
    display: flex;
    justify-content: center;
  }
}

/* ===========================
   SERVICES PAGE
   =========================== */

.section-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.services-group {
  margin-top: 2.5rem;
}

.group-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #bfbfbf;
  margin-bottom: 1.5rem;
}

/* Full-width stacked services like in the screenshot */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;              /* space between each card */
}




/* Big centered “card” block */
.service-card {
  max-width: 960px;       /* width of each block */
  margin: 0 auto;         /* center it */
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  background: rgba(0, 0, 0, 0.18);  /* subtle glass */
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6);
  text-align: center;     /* center icon + heading */
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #00BFA6;
  box-shadow: 0 22px 55px rgba(0, 191, 166, 0.4);
}

/* Heading in card */
.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}


.service-card p {
  font-size: 0.95rem;
  color: #d0d0d0;
  line-height: 1.7;
}

/* ---------- Service content layout (like your screenshot) ---------- */

.service-content {
  margin-top: 0.5rem;
}

/* Wrapper for left text + divider + right list */
.service-columns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* Left column */
.service-copy p {
  font-size: 0.95rem;
  color: #d0d0d0;
  line-height: 1.7;
  text-align: left;
}

/* Right column */
.service-list ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.service-list li {
  font-size: 0.95rem;
  color: #e2e2e2;
  line-height: 1.7;
  text-align: left;
  position: relative;
  padding-left: 1rem;
}

.service-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #00BFA6;
}

/* Vertical divider */
.service-divider {
  width: 1px;
  align-self: stretch;
  background: linear-gradient(
    180deg,
    rgba(0, 191, 166, 0) 0%,
    #00BFA6 40%,
    #00BFA6 60%,
    rgba(0, 191, 166, 0) 100%
  );
  opacity: 0.9;
}

/* Desktop: make it true two-column like your design */
@media (min-width: 768px) {
  .service-columns {
    flex-direction: row;
    align-items: flex-start;
  }

  .service-copy,
  .service-list {
    flex: 1;
  }

  .service-copy {
    padding-right: 1.5rem;
  }

  .service-list {
    padding-left: 1.5rem;
  }
}

/* helper */
.text_left {
  text-align: left;
}

/* Icon circle */
.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 0% 0%, #00BFA6 0%, rgba(0, 191, 166, 0.08) 40%, rgba(0, 0, 0, 0.95) 100%);
  border: 1px solid rgba(0, 191, 166, 0.6);
}

.icon {
  width: 22px;
  height: 22px;
}

/* Mini CTA link under each card */
.mini-cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
}

.mini-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #00BFA6, rgba(0, 191, 166, 0.1));
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: left;
}

.mini-cta:hover::after {
  transform: scaleX(1.05);
  opacity: 0.9;
}

/* CTA section at bottom */
.cta-section h3 {
  color: #ffffff;
}

.cta-section p {
  color: #d0d0d0;
}

/* Optional fade-in utility (if not already present) */
.appear {
  opacity: 1 !important;
  transform: translateY(0) !important;
}


/* ================== PROJECTS CAROUSEL ================== */

.projects-header .eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.8;
}

.projects-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.projects-viewport {
  overflow: hidden;
  flex: 1;
}

.projects-track {
  display: flex;
  align-items: stretch;
  gap: 1.5rem;
  /* Slower + smoother easing */
  transition: transform 0.75s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}


/* Base card */
.project-card {
  flex: 0 0 70%;
  max-width: 70%;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  opacity: 0.4;
  transform: scale(0.85);
  transition:
    transform 0.55s ease,
    opacity 0.55s ease,
    box-shadow 0.55s ease,
    border-color 0.55s ease;
}

/* Media */
.project-media {
  border-radius: 1.1rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  position: relative;
}

.project-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background: radial-gradient(
      circle at top,
      rgba(0, 191, 166, 0.08),
      transparent
    ),
    rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
}

.project-media-placeholder span {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Text */
.project-body h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.project-body p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.project-link {
  font-size: 0.85rem;
}

/* Center active card */
.project-card.is-active {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 191, 166, 0.6);
}

.project-card.is-active .project-body h3 {
  color: var(--kayex-teal);
}

/* Side cards */
.project-card.is-prev,
.project-card.is-next {
  opacity: 0.75;
  transform: scale(0.9);
}

/* Far cards */
.project-card.is-far {
  opacity: 0.2;
  transform: scale(0.8);
}

/* Nav buttons */
.projects-nav {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.projects-nav:hover {
  background: rgba(0, 191, 166, 0.16);
  border-color: rgba(0, 191, 166, 0.7);
  transform: translateY(-2px);
}

.projects-nav:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.project-vertical-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  width: 100%;
}

.project-img {
  flex: 1;
  max-width: 40%;
}

.project-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.project-content {
  flex: 2;
  position: relative;
  padding-left: 2rem;
}

.project-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: #00BFA6;
  border-radius: 2px;
}



.project-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.project-content p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.project-content .btn {
  font-size: 1rem;
  padding: 0.6rem 1.5rem;
}


@media (max-width: 768px) {
  .project-vertical-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .project-img {
    max-width: 100%;
  }

  .project-content {
    padding-left: 0;
  }

  .project-content::before {
    display: none;
  }
}


/* ========== PROJECT CTA BUTTON STYLE ========== */

.projects-section .project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.35rem;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

/* Hover state */
.projects-section .project-link:hover {
  background: rgba(0, 191, 166, 0.25);
  border-color: rgba(0, 191, 166, 0.8);
  box-shadow: 0 10px 30px rgba(0, 191, 166, 0.55);
  transform: translateY(-2px);
}

/* Override the underline mini-cta behavior inside projects
   and show a nice arrow instead */
.projects-section .project-link.mini-cta::after {
  content: "↗";
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  transform: none;
  margin-left: 0.35rem;
}


/* Responsive card width */
@media (min-width: 992px) {
  .project-card {
    flex: 0 0 60%;
    max-width: 60%;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .project-card {
    flex: 0 0 70%;
    max-width: 70%;
  }
}

@media (max-width: 767.98px) {
  .projects-carousel {
    gap: 0.5rem;
  }
  .projects-nav {
    display: none;
  }
  .project-card {
    flex: 0 0 88%;
    max-width: 88%;
  }
}

/* ================== PROCESS SECTION ================== */

.process-section {
  position: relative;
}

.process-section .eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  opacity: 0.8;
}

.process-row {
  align-items: flex-start;
}

.color-white {
  color: #fff;
}

.process-steps {
  position: relative;
  padding: 1.5rem 1.25rem 1.5rem 2.5rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.process-line {
  position: absolute;
  left: 1.35rem;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.02)
  );
  pointer-events: none;
}

.process-line-fill {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2px;
  height: 0;
  background: var(--kayex-teal);
  box-shadow: 0 0 18px rgba(0, 191, 166, 0.6);
  transition: height 0.35s ease-out;
}

/* Step triggers */
.process-step-trigger {
  position: relative;
  border: none;
  background: transparent;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  text-align: left;
  padding: 0.4rem 0;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.process-step-trigger:not(:last-child) {
  margin-bottom: 0.25rem;
}

.process-step-trigger .step-index {
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.process-step-trigger .step-copy h3 {
  font-size: 0.95rem;
  margin-bottom: 0.1rem;
}

.process-step-trigger .step-copy p {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0;
}

/* Hover / active */
.process-step-trigger:hover {
  transform: translateX(2px);
}

.process-step-trigger.is-active .step-index {
  border-color: var(--kayex-teal);
  box-shadow: 0 0 18px rgba(0, 191, 166, 0.7);
  background: rgba(0, 0, 0, 0.7);
}

.process-step-trigger.is-active .step-copy h3 {
  color: var(--kayex-teal);
}

/* Detail panel */
.process-detail {
  border-radius: 1.5rem;
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.process-panel {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.28s ease-out,
    transform 0.28s ease-out;
}

.process-panel.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.process-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.75;
  margin-bottom: 0.4rem;
}

.process-panel h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.process-panel p {
  font-size: 0.92rem;
  opacity: 0.9;
}

.process-panel ul {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0.75rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.process-panel li + li {
  margin-top: 0.25rem;
}

.process-note {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.5rem;
}

@media (max-width: 991.98px) {
  .process-detail {
    margin-top: 1.25rem;
    padding: 1.5rem 1.25rem 1.3rem;
  }
  .process-steps {
    padding-left: 2.2rem;
  }
  .process-line {
    left: 1.2rem;
  }
}

body.case-study-page {
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
}

/* HERO */
.case-hero {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1100px;
}
.case-hero h1 {
  font-size: 2.5rem;
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}
.case-hero .tagline {
  font-size: 1.2rem;
  opacity: 0.8;
}

/* SECTIONS */
.case-overview, 
.case-challenge, 
.case-solution, 
.case-results, 
.case-gallery {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
}
.case-overview h2, 
.case-challenge h2, 
.case-solution h2, 
.case-results h2, 
.case-gallery h2 {
  color: var(--brand-green);
  margin-bottom: 1rem;
}

/* GALLERY */
.case-gallery .gallery {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.case-gallery img {
  width: 32%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.3s;
}
.case-gallery img:hover {
  transform: scale(1.05);
}

/* CTA */
.case-cta {
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 18px;
  margin: 4rem auto;
  max-width: 900px;
}
.case-cta h2 {
  color: var(--brand-green);
  margin-bottom: 1.5rem;
}
.case-cta .btn-primary {
  display: inline-block;
  background: var(--brand-green);
  color: #000;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.case-cta .btn-primary:hover {
  background: #fff;
  color: var(--bg-dark);
}



/* ================== TESTIMONIALS ================== */

.testimonial {
  opacity: 0.5;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(0.95);
}

.testimonial.active {
  opacity: 1;
  transform: scale(1);
}

.testimonials-section {
  color: #fff;
  overflow: hidden;
}

.testimonials-wrapper {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 0;
  scrollbar-width: none;
}

.testimonials-wrapper::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 80%;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 2rem;
  scroll-snap-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green);
  box-shadow: 0 0 20px rgba(0, 255, 153, 0.4);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 1rem;
  color: var(--brand-green);
  font-weight: bold;
}

/* ================== FAQ ================== */

.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.faq-container {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 0.8rem 1rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-color: #00bfa6;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  padding: 0.8rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #00bfa6;
}

.faq-question .arrow {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.faq-item.active .arrow {
  transform: rotate(180deg);
  color: #00bfa6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.5;
}

/* ================== CASE STUDY / PRICING / FOOTER ETC. ================== */
/* (Kept same as your version; trimmed only comments for brevity) */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.appear {
  opacity: 1;
  transform: translateY(0);
}


/* Footer */
.footer {
  background: #1f1f1f;
  color: #777;
  font-size: 0.9rem;
}

.footer-link {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #fff;
  text-decoration: underline;
}

.footer h5,
.footer h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.95rem;
  color: #ccc;
}

.footer .fab {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer .fab:hover {
  color: #00bfa6;
}
