/* ─── RESET & BASE ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: #181818;
  background: #fff;
}

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

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* ─── CSS VARIABLES ─────────────────────────────────────────── */

:root {
  --red: #f53333;
  --red-dark: #d42020;
  --dark: #181818;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

/* ─── KEYFRAMES ─────────────────────────────────────────────── */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }


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


}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-16px);
  }

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

@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }

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

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(36px);
  }

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

.anim-fade-up {
  animation: fadeInUp 0.7s ease forwards;
}

.anim-slide-l {
  animation: slideLeft 0.7s ease forwards;
}

.anim-slide-r {
  animation: slideRight 0.7s ease forwards;
}

.anim-fade-down {
  animation: fadeInDown 0.45s ease forwards;
}

.d1 {
  animation-delay: 0.1s;
}

.d2 {
  animation-delay: 0.2s;
}

.d3 {
  animation-delay: 0.3s;
}

.d4 {
  animation-delay: 0.4s;
}

/* ─── LAYOUT HELPERS ────────────────────────────────────────── */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
  background: #fdf6f6;
}

.section--gray {
  background: #fdf6f6;
}

.section--white {
  background: #fff;
}

.section--dark {
  background: var(--dark);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */

.label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--dark);
}

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.3rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
}

h3 {
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
}

p {
  color: var(--gray-600);
}

.text-center {
  text-align: center;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.2s;
}

.btn-red:hover {
  background: #d42020;
  transform: translateY(-1px);
}

.btn-red-full {
  width: 100%;
  justify-content: center;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--dark);
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline-dark:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ─── CARDS ──────────────────────────────────────────────────── */
/* ─── BADGE ──────────────────────────────────────────────────── */

.badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.badge-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.badge-purple {
  background: #ede9fe;
  color: #7c3aed;
}

.badge-green {
  background: #dcfce7;
  color: #15803d;
}

.badge-indigo {
  background: #e0e7ff;
  color: #4338ca;
}

.badge-orange {
  background: #ffedd5;
  color: #c2410c;
}

.badge-cyan {
  background: #cffafe;
  color: #0e7490;
}

/* ─── ICON HELPERS ───────────────────────────────────────────── */

.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  margin: 0 auto 1.5rem;
}

.icon-circle svg {
  width: 26px;
  height: 26px;
  color: var(--red);
  opacity: 0.8;
}

/* ─── SVG ICONS (inline) ─────────────────────────────────────── */

svg {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mega__inner {
  padding: 2rem 1.5rem;
}

.bg-green {
  background: #e6f7f0;
  color: #00a86b;
}

.bg-purple {
  background: #f3f0ff;
  color: #7048e8;
}

.bg-yellow {
  background: #fff9db;
  color: #fcc419;
}

.bg-red-light {
  background: #fff5f5;
  color: #ff6b6b;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.15s, background 0.15s;
  width: 100%;
  text-align: left;
}

.mobile-nav-link:hover {
  color: var(--red);
  background: #fff1f1;
}

/* ── Responsive ── */
@media (max-width: 768px) {

  .nav,
  .header__cta {
    display: none;
  }


}

/* ─────────────────────────────────────────────────────────────── */
/*  HERO                                                           */
/* ─────────────────────────────────────────────────────────────── */
.hero {
  background-color: #ffffff;
  padding: 7rem 0 5rem;
  overflow: hidden;
  margin-top: 4rem;
  /* Sit below the standard header */
  position: relative;
  color: var(--dark);
  border-bottom: 1px solid var(--gray-100);
}

.hero__grid {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 2.5rem;
  align-items: start;
}

.hero__label {
  margin-bottom: 1rem;
}

.hero__h1 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.5rem;
  letter-spacing: -0.025em;
}

.text-red {
  color: var(--red);
}

/* Paragraph layout without pointers/svgs */
.hero__desc {
  font-size: 0.95rem;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.75;
  padding: 0;
}

.hero__desc p {
  margin-bottom: 1.25rem;
  color: var(--gray-600);
  transition: opacity 0.3s ease;
}

.hero__desc p:last-child {
  margin-bottom: 0;
}

/* Premium pill badge for introduction tag */
.hero .label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 51, 51, 0.15);
  color: #ff4d4d;
  font-weight: 700;
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  border: 1px solid rgba(245, 51, 51, 0.3);
  margin-bottom: 1.5rem;
}

/* Hero Actions & Buttons */
.hero__actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero__actions .btn-outline-dark {
  border: 1.5px solid var(--dark);
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.875rem;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
  background: transparent;
  color: var(--dark);
}

.hero__actions .btn-outline-dark:hover {
  border-color: var(--red);
  color: var(--red);
  background: #fff1f1;
  transform: translateY(-1.5px);
}

/* Interactive Checkmarks grid */
.hero__checks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.75rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
  width: 100%;
}

.hero__check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: default;
  white-space: nowrap;
}

.hero__check-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero__check:hover .hero__check-dot {
  transform: scale(1.15) rotate(5deg);
}

.hero__check-dot svg {
  width: 10px;
  height: 10px;
  color: #fff;
  stroke-width: 3.5px;
}

.hero__check-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0.3px;
}

/* Visual Column & Video / Image */
.hero__visual {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.hero__video-wrap {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #000000;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5);
  border: 1.5px solid rgba(255, 255, 255, 0.05);
}

.hero__bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -102%) scale(3.0);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image-wrap {
  width: 100%;
  max-width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--gray-200);
}

.hero__image-wrap img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero__image-note {
  color: var(--red);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  margin: 0;
  margin-top: 4px;
}


/* Read More Button styling */
.hero__read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 0.25rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  background: rgba(245, 51, 51, 0.08);
  border: 1px solid rgba(245, 51, 51, 0.2);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.hero__read-more-btn:hover {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 51, 51, 0.3);
}

.hero__read-more-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.hero__read-more-btn.expanded svg {
  transform: rotate(180deg);
}

/* Form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: rgba(17, 17, 26, 0.05) 0px 1px 0px, rgba(245, 51, 51, 0.1) 0px 0px 8px;
  padding: 2.5rem;
  position: relative;
  overflow: visible;
  margin-top: 30px;
}

.form-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  padding-bottom: 4px;
}

.form-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: var(--dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(245, 51, 51, 0.1);
}

textarea.form-input {
  resize: none;
  margin-bottom: 0.75rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-check input {
  margin-top: 0.15rem;
  accent-color: var(--red);
}

.form-check label {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.form-check a {
  color: var(--red);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────────────────────── */
/*  SERVICES / INDUSTRIES TABS                                     */
/* ─────────────────────────────────────────────────────────────── */
.tabs-nav {
  position: sticky;
  top: 4rem;
  z-index: 40;
  padding: 1rem 0;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 0;
}

.tabs-nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
}

.tabs-nav__list {
  display: flex;
  gap: 2rem;
}

.tabs-nav__btn {
  padding: 0.75rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray-400);
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  position: relative;
}

.tabs-nav__btn:hover {
  color: var(--gray-600);
}

.tabs-nav__btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.tabs-content {
  padding: 3rem 0;
  background: #fdf6f6;
}

.tab-panel {
  min-height: 60vh;
  display: flex;
  align-items: center;
  transition: opacity 0.6s;
}

.tab-panel.dimmed {
  opacity: 0.3;
}

.tab-panel+.tab-panel {
  margin-top: 6rem;
}

.tab-header {
  text-align: center;
  margin-bottom: 3rem;
}

.tab-header h2 {
  font-weight: 300;
  line-height: 1.4;
}

.tab-header p {
  color: var(--gray-500);
  font-weight: 200;
  max-width: 68ch;
  text-align: justify;
  margin-top: 36px;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 0;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  height: 100%;
}

.service-card:hover {
  border-color: rgba(245, 51, 51, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.service-card__img-wrap {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
  background: #eaeaea;
}

.service-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.06);
}

.service-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.service-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: nowrap;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: var(--dark);
  min-width: 0;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}

.industry-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  width: 100%;
}

/* ─────────────────────────────────────────────────────────────── */
/*  PROCESS                                                        */
/* ─────────────────────────────────────────────────────────────── */
.process__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.process-card {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.process-card__phase {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 1rem;
  display: block;
}

.process-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.process-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
  transition: color 0.2s, gap 0.2s;
}

.process-card__link:hover {
  color: var(--red);
  gap: 0.5rem;
}

.process-card__link svg {
  width: 14px;
  height: 14px;
}

/* FAQ styles removed — section is commented out in HTML */
/* ─────────────────────────────────────────────────────────────── */
/*  CORE FEATURES + PARTNERS                                       */
/* ─────────────────────────────────────────────────────────────── */
.features-partners {
  display: grid;
  gap: 4rem;
}

.feature-cell {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  width: 380px;
  min-width: 380px;
  flex-shrink: 0;
  overflow: hidden;
}

/* Prevent horizontal scrolling */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* ────────────────────────────────────────────────────────
   SLIDER LAYOUT
───────────────────────────────────────────────────────── */
/* Outer wrapper: standard block wrapper that holds absolute buttons and viewport */
.tech-slider-wrapper,
.testimonial-wrapper {
  position: relative;
  width: 100%;
}

/* Clipping viewport: fills 100% width, with top/bottom padding/margin so card hover translateY(-6px) is not cut off */
.slider-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
  margin: -1.5rem 0;
}

/* Tech track */
.features-track {
  display: flex;
  width: max-content;
  gap: 20px;
  /* transition applied by JS */
}

/* Testimonial track */
.testimonial-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  /* transition applied by JS */
}

/* ────────────────────────────────────────────────────────
   SLIDER BUTTONS — Big frosted-glass chevrons
───────────────────────────────────────────────────────── */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  transition: background 0.22s, border-color 0.22s, transform 0.22s, box-shadow 0.22s;
  color: #181818;
}

.slider-btn svg {
  stroke: currentColor;
  display: block;
}

.slider-btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 24px rgba(245, 51, 51, 0.4);
  color: #fff;
}

/* Light-section variant (tech section) */
.slider-btn--light {
  background: rgba(15, 15, 15, 0.12);
  border-color: rgba(15, 15, 15, 0.15);
  color: #fff;
}

.slider-btn--light svg {
  stroke: #fff;
}

.slider-btn--light:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Dark-section variant (testimonials) */
.slider-btn--dark {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.slider-btn--dark svg {
  stroke: black;
}

.slider-btn--dark:hover {
  background: var(--red);
  border-color: var(--red);
}

/* Precise positioning to overlay on viewport borders without squashing cards */
.slider-btn--left {
  left: -1.75rem;
}

.slider-btn--right {
  right: -1.75rem;
}

/* Responsive adjustments to pull buttons inside on small screens so they don't clip offscreen */
@media (max-width: 1250px) {
  .slider-btn--left {
    left: -0.5rem;
  }


  .slider-btn--right {
    right: -0.5rem;
  }


}

@media (max-width: 768px) {
  .slider-btn--left {
    left: 0.25rem;
  }

  .slider-btn--right {
    right: 0.25rem;
  }
}

/* ─────────────────────────────────────────────────────────────── */
/*  TESTIMONIALS                                                   */
/* ─────────────────────────────────────────────────────────────── */
.tech__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.test__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.test-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  width: 380px;
  min-width: 370px;
  flex-shrink: 0;
}

.test-card__quote {
  font-size: 0.875rem;
  color: var(--dark);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.test-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.test-card__avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.test-card__avatar svg {
  width: 16px;
  height: 16px;
  color: var(--gray-500);
}

.test-card__name {
  font-size: 0.875rem;
  font-weight: 600;
}

.test-card__role {
  font-size: 0.75rem;
  color: var(--gray-500);
}

/* Card entering animation */
.feature-cell--entering {
  animation: cellEnter 0.45s ease forwards;
}

.test-card--entering {
  animation: cellEnter 0.45s ease forwards;
}

@keyframes cellEnter {
  0% {
    opacity: 0.5;
    transform: translateX(18px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Feature cell image and body */
.feature-cell:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(245, 51, 51, 0.18);
}

.feature-cell:hover .feature-cell__img-wrap img {
  transform: scale(1.06);
}

.feature-cell__img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background: #1e1e1e;
}

.feature-cell__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-cell__body {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.feature-cell p {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.stat-tile {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.stat-tile__value {
  font-size: 2rem;
  font-weight: 600;
  color: var(--dark);
}

.stat-tile__label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────── */
/*  RESOURCES                                                      */
/* ─────────────────────────────────────────────────────────────── */
.resources__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.resources__desc {
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 60ch;
  font-size: 0.9rem;
  line-height: 1.75;
}

.resource-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.resource-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.3s;
}

.resource-card:hover .resource-card__img {
  transform: scale(1.04);
}

.resource-card__img-wrap {
  overflow: hidden;
}

.resource-card__body {
  padding: 1.5rem;
}

.resource-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.resource-card:hover h3 {
  color: var(--red);
}

.resource-card p {
  font-size: 0.825rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.resource-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--red);
  transition: color 0.2s, gap 0.2s;
}

.resource-card:hover .resource-card__more {
  color: var(--red);
  gap: 0.5rem;
}

.resource-card__more svg {
  width: 14px;
  height: 14px;
}

/* ─────────────────────────────────────────────────────────────── */
/*  social media                                                     */
/* ─────────────────────────────────────────────────────────────── */
.section--gap {
  padding: 24px 0px;
}

.heading {
  text-align: center;
  margin-bottom: 52px;
}

.heading h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: #111;
  letter-spacing: -0.01em;
}

.heading h2 span {
  color: var(--red);
}

/* ── WRAPPER ─────────────────── */
.community-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── HERO CARD ───────────────── */
.hero-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 240px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s, transform 0.2s;
}

.hero-card:hover {
  box-shadow: 0 8px 32px rgba(196, 26, 26, 0.12);
  transform: translateY(-2px);
}

.hero-content {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.hero-content h3 {
  font-size: 28px;
  font-weight: 300;
  line-height: 1.3;
  color: #111;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.92);
  transition: transform 0.4s ease;
}

.hero-card:hover .hero-image img {
  transform: scale(1.03);
}

/* ── BOTTOM ROW ──────────────── */
.bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── SOCIAL CARD ─────────────── */
.social-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.25s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.social-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 0.2s;
}

.social-card:hover {
  box-shadow: 0 8px 32px rgba(245, 51, 51, 0.12);
  transform: translateY(-2px);
}

.social-card:hover::before {
  opacity: 1;
}

.platform-pill {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #666;
  border: 1px solid #ddd;
  padding: 5px 12px;
  border-radius: 100px;
  background: #fafafa;
}

.platform-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot-instagram {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.dot-linkedin {
  background: #0a66c2;
}

.social-card h3 {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.25;
  color: #111;
}

/* ── BUTTONS ─────────────────── */
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 13px 24px;
  border-radius: 8px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  align-self: flex-start;
}

.btn-dark:hover {
  background: var(--red);
  transform: translateY(-1px);
}

/* ── RESPONSIVE ──────────────── */
@media (max-width: 640px) {
  .hero-card {
    grid-template-columns: 1fr;
  }


  .hero-image {
    height: 200px;
  }


  .bottom-row {
    grid-template-columns: 1fr;
  }
}

/* ─────────────────────────────────────────────────────────────── */
/*  DARK SECTION THEMES                                           */
/* ─────────────────────────────────────────────────────────────── */
/* Technology Section — deep charcoal with Agyom's custom repeating "Ō" pattern */
.section--dark-tech {
  background-color: #0f0f0f;
  position: relative;
  overflow: hidden;
}

.section--dark-tech .label {
  color: #f87171;
}

.section--dark-tech h2 {
  color: #fff;
}

.section--dark-tech p {
  color: rgba(255, 255, 255, 0.65);
}

/* Testimonials Section — near-black with Agyom's custom repeating "Ō" pattern */
.section--dark-testimonials {
  background-color: #111;
  position: relative;
  overflow: hidden;
}

/* ─────────────────────────────────────────────────────────────── */
/*  CASE STUDIES — single large diagonal Agyom Ō watermark        */
/* ─────────────────────────────────────────────────────────────── */
.waterMark {
  position: relative;
  overflow: hidden;
}

/* Subtle radial colour blobs only — no tiling */
.waterMark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 10% 60%, rgba(245, 51, 51, 0.05) 0%, transparent 50%), radial-gradient(ellipse at 90% 30%, rgba(245, 51, 51, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}

/* Single large Ō left-aligned and rotated -30° as a watermark stamp */
/* Single large Ō left-aligned, shifted up, and rotated -30° */
.waterMark::after {
  content: '';
  position: absolute;
  top: calc(50% - 50px);
  /* Centers it vertically, then lifts it up exactly 50px */
  left: -50px;
  width: 680px;
  height: 680px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 550' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='250' cy='330' r='190' stroke='%23f53333' stroke-width='52' fill='none'/%3E%3Crect x='105' y='65' width='290' height='52' rx='26' fill='%23f53333'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.waterMark>* {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────── */
/*  WATERMARK — right-bottom variant (Industries & Social Media)  */
/* ─────────────────────────────────────────────────────────────── */
.watermark-right {
  position: relative;
  overflow: hidden;
}

.watermark-right::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 680px;
  height: 680px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 500 550' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='250' cy='330' r='190' stroke='%23f53333' stroke-width='52' fill='none'/%3E%3Crect x='105' y='65' width='290' height='52' rx='26' fill='%23f53333'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

.watermark-right>* {
  position: relative;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────────── */
/*  DARK SECTION — FEATURE CELL OVERRIDES                         */
/* ─────────────────────────────────────────────────────────────── */
.section--dark-tech .feature-cell {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.section--dark-tech .feature-cell:hover {
  background: rgba(245, 51, 51, 0.12);
  border-color: rgba(245, 51, 51, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245, 51, 51, 0.15);
}

.section--dark-tech .feature-cell p {
  color: rgba(255, 255, 255, 0.9);
}

/* ─────────────────────────────────────────────────────────────── */
/*  ENHANCED CARD HOVER EFFECTS                                   */
/* ─────────────────────────────────────────────────────────────── */
/* Service cards — lift + red left border reveal */
.service-card {
  border-left: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(245, 51, 51, 0.12);
  border-left-color: var(--red);
  border-color: rgba(245, 51, 51, 0.2);
}

/* Resource cards — image scale + heading red */
.resource-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(245, 51, 51, 0.12);
  border-left-color: var(--red);
  border-color: rgba(250, 41, 41, 0.2);
}

/* Test cards — left border accent on hover */
.test-card {
  border-left: 3px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.test-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(245, 51, 51, 0.15);
  border-left-color: var(--red);
}

/* Stat tiles — number turns red on hover */
.stat-tile {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245, 51, 51, 0.1);
  border-color: rgba(245, 51, 51, 0.3);
}

.stat-tile:hover .stat-tile__value {
  color: var(--red);
}

/* ─────────────────────────────────────────────────────────────── */
/*  RESPONSIVE TEXT — global base fixes                           */
/* ─────────────────────────────────────────────────────────────── */
/* Prevent any text from causing horizontal overflow */
* {
  word-break: break-word;
  overflow-wrap: break-word;
}

p {
  text-align: left;
  hyphens: none;
}

/* ─────────────────────────────────────────────────────────────── */
/*  RESPONSIVE — 1024px (tablet)                                  */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .goals__cards {
    grid-template-columns: repeat(2, 1fr);
  }


  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }


  .hero-ai__grid {
    grid-template-columns: 1fr;
  }


  .pipeline-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 2rem;
    margin-top: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-100);
  }
}

/* ─────────────────────────────────────────────────────────────── */
/*  RESPONSIVE — 768px (mobile landscape / small tablet)          */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Typography scale-down */
  h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.25;
  }


  h2 {
    font-size: clamp(1.35rem, 5vw, 1.8rem);
    line-height: 1.3;
  }


  h3 {
    font-size: 1rem;
  }


  p {
    font-size: 0.9rem;
    line-height: 1.65;
  }


  .label {
    font-size: 0.65rem;
    white-space: normal;
    letter-spacing: 0.08em;
  }

  /* Grid resets */
  .hero__grid,
  .grid-2,
  .goals__header,
  .process__header,
  .faq__grid,
  .features-partners,
  .test__header,
  .tech__header,
  .resources__header,
  .hero-ai__grid {
    grid-template-columns: 1fr;
  }


  .goals__cards,
  .grid-3,
  .service-cards,
  .industry-cards,
  .grid-4,
  .features-grid,
  .partners-grid,
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }



  /* Sections */
  .section {
    padding: 3rem 0;
  }


  .faq__img {
    height: 260px;
  }


  .resources__header {
    flex-direction: column;
    align-items: flex-start;
  }


  .tech-slider-wrapper .slider-container,
  .testimonial-wrapper .testimonial-marquee {
    margin: 0 2.5rem;
  }



  /* Hero */
  .hero {
    padding: 5.5rem 0 3.5rem;
    background-color: #ffffff;
    background-image: none;
    margin-top: 4.5rem;
  }

  .hero__h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    margin-bottom: 1rem;
    color: var(--dark);
  }

  .hero__desc {
    font-size: 0.875rem;
    color: var(--gray-600);
  }

  .hero__checks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1.5rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--gray-100);
  }

  .hero__check {
    gap: 0.6rem;
  }


  .form-card {
    padding: 1.5rem;
  }



  /* Hero AI */
  .hero-ai {
    padding: 4rem 0 3rem;
  }


  .hero-ai__h1 {
    font-size: clamp(1.65rem, 6vw, 2.4rem);
  }


  .hero-ai__desc {
    font-size: 0.875rem;
    max-width: 100%;
  }


  .hero-ai__stats {
    gap: 0.6rem;
  }


  .pipeline-metrics {
    grid-template-columns: repeat(2, 1fr);
  }


  .tab-header p {
    max-width: 100%;
  }



  /* Case study / resource cards */
  .grid-3 {
    grid-template-columns: 1fr;
  }



  /* Testimonials */
  .test__header {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }


  .test-card {
    width: 280px;
    min-width: 280px;
  }



  /* Feature slider cells */
  .feature-cell {
    width: 280px;
    min-width: 280px;
  }



  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }


  .stat-tile__value {
    font-size: 1.5rem;
  }



  /* Process section */
  .process__header {
    grid-template-columns: 1fr;
    gap: 1rem;
  }


  .process-cards {
    grid-template-columns: 1fr;
  }



  /* Community/Social */
  .community-wrapper {
    gap: 1rem;
  }


  .hero-card {
    min-height: 200px;
  }


  .bottom-row {
    flex-direction: column;
  }


}

/* ─────────────────────────────────────────────────────────────── */
/*  RESPONSIVE — 640px (mobile portrait)                          */
/* ─────────────────────────────────────────────────────────────── */
@media (max-width: 640px) {

  /* Typography */
  h1 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }


  h2 {
    font-size: clamp(1.2rem, 6.5vw, 1.6rem);
  }


  p {
    font-size: 0.875rem;
  }

  /* Grid — everything single column */
  .goals__cards,
  .grid-3,
  .service-cards,
  .industry-cards,
  .grid-4,
  .features-grid,
  .partners-grid,
  .stats-grid,
  .form-row,
  .pipeline-metrics {
    grid-template-columns: 1fr;
  }



  /* Hero */
  .hero {
    padding: 7.5rem 0 2.5rem;
  }

  .hero__checks {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero__h1 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }



  /* Hero AI */
  .hero-ai__h1 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }


  .hero-ai__stats {
    flex-direction: column;
    gap: 0.5rem;
  }


  .hero-ai__stat {
    width: 100%;
  }


  .hero-ai__ctas {
    flex-direction: column;
  }


  .btn-ai-primary,
  .btn-ai-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
  }



  /* Pipeline */
  .pipeline-stages {
    gap: 0.5rem;
  }


  .pipeline-stage {
    padding: 0.65rem 0.75rem;
  }



  /* Sliders */
  .tech-slider-wrapper .slider-container,
  .testimonial-wrapper .testimonial-marquee {
    margin: 0 2rem;
  }


  .test-card {
    width: 260px;
    min-width: 260px;
  }


  .feature-cell {
    width: 260px;
    min-width: 260px;
  }



  /* Stats tiles — 3 in a row even on mobile */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }


  .stat-tile {
    padding: 1rem 0.5rem;
  }


  .stat-tile__value {
    font-size: 1.35rem;
  }


  .stat-tile__label {
    font-size: 0.75rem;
  }



  /* Sections */
  .section {
    padding: 2.5rem 0;
  }


  .container {
    padding: 0 1rem;
  }



  /* Tabs */
  .tabs-nav__list {
    gap: 0.5rem;
  }


  .tabs-nav__btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }



  /* Form card */
  .form-card {
    border-radius: 12px;
    padding: 1.25rem;
  }


  .form-input {
    font-size: 0.85rem;
  }



  /* Community */
  .heading h2 {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
  }


}

/* Custom Dropdown Styling */
.custom-select {
  position: relative;
  width: 100%;
  font-family: inherit;
}

.custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 0.625rem;
  font-size: 0.875rem;
  color: #718096;
  /* Matches above placeholder text colors */
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  user-select: none;
}

.custom-select.open .custom-select__trigger {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(245, 51, 51, 0.1);
}

.custom-select__arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  margin-right: 8px;
  /* Shipped 8px towards inside */
  color: #718096;
}

.custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.custom-select__options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 0.625rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  max-height: 250px;
  overflow-y: auto;
}

.custom-select.open .custom-select__options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select__option {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--dark);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.custom-select__option:hover {
  background: #fff1f1;
  color: var(--red);
}

.custom-select__option.selected {
  background: #fff1f1;
  color: var(--red);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────── */
/*  PREMIUM HERO SLIDER (MESH GRADIENT + TABS)                    */
/* ─────────────────────────────────────────────────────────────── */
.hero-slider-section {
  position: relative;
  background-color: #050c18; /* Deep rich navy */
  padding: 8rem 0 3rem;
  overflow: hidden;
  margin-top: 4rem;
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

/* ── Fluid Animated Mesh Gradient Background ── */
.hero-bg-mesh {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #050c18;
  z-index: 1;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.75;
  animation: float-mesh 25s infinite alternate ease-in-out;
}

.mesh-blob-1 {
  width: 55%;
  height: 55%;
  bottom: -5%;
  left: -5%;
  background: radial-gradient(circle, rgba(20, 90, 200, 0.6) 0%, rgba(5, 12, 24, 0) 70%);
  animation-duration: 22s;
}

.mesh-blob-2 {
  width: 60%;
  height: 70%;
  top: 5%;
  right: -10%;
  background: radial-gradient(circle, rgba(240, 60, 20, 0.5) 0%, rgba(5, 12, 24, 0) 70%);
  animation-duration: 28s;
  animation-delay: -4s;
}

.mesh-blob-3 {
  width: 45%;
  height: 45%;
  top: -10%;
  left: 15%;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.35) 0%, rgba(5, 12, 24, 0) 70%);
  animation-duration: 18s;
  animation-delay: -8s;
}

.mesh-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(5, 12, 24, 0.05) 0%, rgba(5, 12, 24, 0.5) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ── Hero Background Slides (Full Viewport Width Background) ── */
.hero-bg-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Above mesh blobs (z-index 1) but below container (z-index 3) */
  pointer-events: none;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, transform 5s ease-out, visibility 1s;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  transform: scale(1.06);
}

.hero-bg-slide.active {
  opacity: 0.75; /* Blends nicely with animated mesh background */
  visibility: visible;
  transform: scale(1);
}

/* Gradient overlay on the background slide for desktop text readability */
.hero-bg-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #050c18 0%, rgba(5, 12, 24, 0.95) 35%, rgba(5, 12, 24, 0.6) 65%, rgba(5, 12, 24, 0) 100%);
}

@keyframes float-mesh {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(3%, -5%) scale(1.1) rotate(30deg);
  }
  66% {
    transform: translate(-3%, 3%) scale(0.9) rotate(-20deg);
  }
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* ── Container Layout ── */
.hero-slider-section .hero-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  height: 100%;
  width: 100%;
  z-index: 3;
  position: relative;
}

/* ── Tagline ── */
.hero-top-row {
  width: 100%;
  margin-bottom: 2rem;
}

.hero-global-tagline {
  max-width: 320px;
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  margin: 0;
  text-align: left;
}

/* ── Slider Layout ── */
.hero-slider {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  flex: 1;
  margin-bottom: 2rem;
}

.hero-slide {
  grid-area: 1 / 1 / 2 / 2;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  /* Fast fade out when deactivated */
  transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out, visibility 0.2s;
  pointer-events: none;
  z-index: 1;
  width: 100%;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  /* Smooth fade in delayed by 0.2s so the previous slide has fully faded out */
  transition: opacity 0.6s ease-in-out 0.2s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, visibility 0.6s 0.2s;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

.hero-slide-content {
  max-width: 100%;
  text-align: left;
}

.hero-slide-media {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide.active .hero-slide-img {
  transform: scale(1.04);
}

.hero-slide-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-slide-title strong {
  font-weight: 500;
  color: #ffffff;
}

.hero-slide-para {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  color: rgba(255, 255, 255, 0.75);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-slide-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Custom Buttons ── */
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: #050c18;
  padding: 0.85rem 1.85rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.9);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.85rem 1.85rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* ── Bottom Tabs Navigation ── */
.hero-tabs-container {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: auto;
}

.hero-tabs {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  justify-content: space-between;
  overflow: visible;
}

.hero-tab {
  flex: 1;
  text-align: center;
  padding: 0.85rem 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 30px;
  border: none;
  background: transparent;
  white-space: nowrap;
  font-family: inherit;
}

.hero-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.hero-tab.active {
  background: #ffffff;
  color: #050c18;
  font-weight: 600;
}

/* ── Responsive Styling ── */
@media (max-width: 768px) {
  .hero-slider-section {
    padding: 5rem 0 2rem;
    min-height: auto;
    display: flex;
    flex-direction: column;
  }
  
  .hero-slider-section .hero-container {
    height: auto;
    gap: 2.5rem;
  }
  
  .hero-top-row {
    margin-bottom: 0;
  }
  
  .hero-global-tagline {
    max-width: 100%;
    text-align: center;
    font-size: 0.85rem;
  }
  
  .hero-slide-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    text-align: center;
  }
  
  .hero-slide-title br {
    display: none;
  }
  
  .hero-slide-para {
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-slide-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-slide-media {
    display: none;
  }

  .hero-slide-actions {
    justify-content: center;
  }
  
  .hero-tabs {
    gap: 0.75rem;
    overflow-x: auto;
    padding: 1rem 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
  
  .hero-tab {
    flex: 0 0 auto;
    font-size: 0.85rem;
    padding: 0.6rem 1.2rem;
  }

  .hero-bg-slide {
    background-position: center center;
  }

  .hero-bg-slide.active {
    opacity: 0.18;
  }

  .hero-bg-slide::after {
    background: radial-gradient(circle, rgba(5, 12, 24, 0.75) 0%, #050c18 100%);
  }
}