/* =========================================================
   RESTONDEV – FRONTEND BASE STYLES
   ========================================================= */

/* ================= ROOT VARIABLES ================= */
:root {
  --bg-base: #07090f;

  --bg-gradient-1: radial-gradient(
    900px circle at 8% 10%,
    rgba(0, 255, 209, 0.08),
    transparent 40%
  );

  --bg-gradient-2: radial-gradient(
    800px circle at 92% 18%,
    rgba(0, 138, 255, 0.08),
    transparent 45%
  );

  --bg-gradient-3: radial-gradient(
    1000px circle at 50% 85%,
    rgba(255, 255, 255, 0.03),
    transparent 50%
  );
  --accent: #00ffd1;
  --accent-2: #008aff;

  --text-main: #ffffff;
  --text-muted: #b5b5b5;

  --glass: rgba(255, 255, 255, 0.05);
  --border-soft: rgba(255, 255, 255, 0.06);
}

/* ================= GLOBAL Start ================= */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-main);

  background-color: var(--bg-base);
  background-image:
    var(--bg-gradient-1),
    var(--bg-gradient-2),
    var(--bg-gradient-3);

  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
/* ================= GLOBAL Ends ================= */

/* ================= Header Start ================= */
/* =========================================================
   NAVBAR – DESKTOP
   ========================================================= */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #07090f;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================= LOGO ================= */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.logo span {
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
}

.logo strong {
  color: var(--accent);
}

/* ================= DESKTOP NAV LINKS ================= */

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.desktop-nav a,
.desktop-nav .nav-link {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav .nav-link:hover {
  color: var(--accent);
}

/* ================= DESKTOP SUBMENU ================= */

.nav-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%; /* 🔑 REMOVE GAP */
  left: 0;
  margin-top: 12px; /* visual spacing without hover gap */

  min-width: 220px;
  background: #0b0d14;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;

  padding: 0.6rem 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}


.submenu a {
  display: block;
  padding: 0.6rem 1.2rem;

  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}

.submenu a:hover {
  background: rgba(255,255,255,0.06);
  color: var(--accent);
}

/* Show submenu on hover / focus */
@media (min-width: 901px) {
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    display: block;
  }
}

/* ================= NAV ACTIONS ================= */

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-cta {
  padding: 0.55rem 1.4rem;
  border-radius: 10px;

  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: #000;

  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* ================= HAMBURGER ================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* =========================================================
   MOBILE DRAWER
   ========================================================= */

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 320px;
  height: 100vh;

  background: #07090f;
  z-index: 1001;

  display: flex;
  flex-direction: column;

  transition: left 0.35s cubic-bezier(.2,.8,.2,1);
}

.mobile-drawer.active {
  left: 0;
}

/* ================= DRAWER HEADER ================= */

.drawer-header {
  padding: 1.4rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.drawer-header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.drawer-header img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ================= DRAWER NAV ================= */

.drawer-nav {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.drawer-nav > a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
}

/* ================= DRAWER SUBMENUS ================= */

.drawer-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.drawer-submenu {
  display: none;
  flex-direction: column;
  gap: 0.5rem;

  padding-left: 0.8rem;
  border-left: 2px solid rgba(255,255,255,0.08);
}

.drawer-group.open .drawer-submenu {
  display: flex;
}

.drawer-submenu a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none;
}

.drawer-submenu a:hover {
  color: var(--accent);
}

/* ================= DRAWER FOOTER ================= */

.drawer-footer {
  padding: 1.4rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.drawer-cta {
  display: block;
  width: 100%;

  padding: 0.75rem 1rem;
  border-radius: 10px;

  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: #000;

  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-actions .nav-cta {
    display: none;
  }
}

@media (min-width: 901px) {
  .mobile-drawer {
    display: none;
  }
}

/* Ensure text and indicator are perfectly centered */
.nav-link,
.drawer-title {
  display: inline-flex;
  align-items: center;     /* 🔑 vertical centering */
  gap: 6px;
}

.submenu-indicator {
  display: inline-block;
  width: 6px;
  height: 6px;

  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;

  transform: rotate(45deg);
  transform-origin: center;

  position: relative;
  top: -1px;               /* 🔑 optical alignment fix */

  transition: transform 0.25s ease;
}

/* Rotate on open (desktop hover) */
.has-submenu:hover .submenu-indicator {
  transform: rotate(-135deg);
}

/* Rotate on open (mobile click) */
.drawer-group.open .submenu-indicator {
  transform: rotate(-135deg);
}

.submenu {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;

  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

@media (min-width: 901px) {
  .has-submenu:hover .submenu,
  .has-submenu:focus-within .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.drawer-nav > a,
.drawer-title {
  font-size: 1.05rem;
  padding: 0.6rem 0;
}

.drawer-submenu a {
  font-size: 0.95rem;
  padding: 0.4rem 0;
}

.drawer-submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;

  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
}

.drawer-group.open .drawer-submenu {
  max-height: 500px; /* safe upper bound */
  opacity: 1;
}
.nav-item {
  position: relative;
}

/* Invisible hover bridge (desktop only) */
@media (min-width: 901px) {
  .nav-item::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
  }
}

/* ================= Header Ends ================= */

/* ================= Hero Sex son ================= */

.hero-focus {
  padding: 6.2rem 0 4.8rem; /* 🔽 tightened */
  position: relative;
  overflow: hidden;
}

.hero-focus-inner {
  max-width: 1200px;
  min-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;

  text-align: center;
  position: relative;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem; /* 🔽 */

  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;

  color: var(--text-muted);
}

.hero-heading {
  font-size: 3.05rem; /* 🔽 slightly */
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;

  color: var(--text-main);
}

.hero-subtext {
  margin: 1.3rem auto 0; /* 🔽 */
  max-width: 720px;

  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.hero-actions {
  margin-top: 2.2rem; /* 🔽 */
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  padding: 0.75rem 1.7rem; /* 🔽 */
  border-radius: 10px;
}

.hero-visual-arc {
  position: absolute;
  left: 50%;
  bottom: -110px; /* 🔼 pulled up */
  transform: translateX(-50%);

  width: 960px;   /* 🔽 */
  height: 260px;  /* 🔽 */

  border-radius: 50%;

  background: radial-gradient(
    ellipse at center,
    rgba(0, 255, 209, 0.32),
    rgba(0, 255, 209, 0.15) 35%,
    transparent 65%
  );

  filter: blur(55px); /* 🔽 */
  pointer-events: none;
}

@media (max-width: 1200px) {
  .hero-focus-inner {
    min-width: auto;
  }
}

.hero-mobile {
  display: none;
}

@media (max-width: 900px) {

  .hero-desktop {
    display: none;
  }

  .hero-focus {
    padding: 3.8rem 0 3.2rem; /* 🔽 much tighter */
  }

  .hero-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.2rem 1.2rem 2.4rem; /* 🔽 */
    gap: 1.2rem; /* 🔽 */
  }

  .hero-mobile-image img {
    width: 100%;
    max-height: 200px;
    border-radius: 14px;
    object-fit: cover;
  }

  .hero-mobile-title {
    font-size: 1.28rem; /* 🔽 */
    line-height: 1.32;
    font-weight: 600;
    text-align: center;
    color: var(--text-main);
  }

  .hero-mobile-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
  }

  .hero-card {
    padding: 0.48rem 0.8rem; /* 🔽 */
    font-size: 0.75rem;
    border-radius: 999px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--text-main);
  }
  .hero-mobile-cta {
    margin-top: 0.4rem;
    padding: 0.75rem 1.4rem;
    border-radius: 12px;

    background: linear-gradient(
      90deg,
      var(--accent),
      var(--accent-2)
    );

    color: #000;
    font-weight: 600;
    text-decoration: none;
  }

  .hero-visual-arc {
    width: 520px;
    height: 180px;
    bottom: -140px;
    opacity: 0.4;
  }
}

@media (max-width: 420px) {
  .hero-mobile-title {
    font-size: 1.18rem;
  }
}

.hero-actions a,
.hero-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.75rem 1.6rem;
  border-radius: 10px;

  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;

  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;

  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.hero-actions .btn-primary,
.hero-mobile-cta {
  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2)
  );
  color: #000;

  box-shadow:
    0 8px 20px rgba(0, 255, 209, 0.35);
}

.hero-actions .btn-primary:hover,
.hero-mobile-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(0, 255, 209, 0.45);
}

.hero-actions .btn-secondary {
  background: transparent;
  color: var(--text-main);

  border: 1px solid rgba(255,255,255,0.25);
}

.hero-actions .btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.hero-actions a:active,
.hero-mobile-cta:active {
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgba(0, 255, 209, 0.3);
}

@media (max-width: 900px) {
  .hero-actions a,
  .hero-mobile-cta {
    width: 100%;
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
  }
}
.hero-mobile-image img {
  display: block;
  width: 100%;
  border-radius: 14px;

  /* Neon white glow */
  box-shadow:
    0 0 4px rgba(255,255,255,0.45),
    0 0 12px rgba(255,255,255,0.25),
    0 0 28px rgba(255,255,255,0.15);
}


/* ================= Hero cum on ================= */

/* ================= Marquee start ================= */
.trust-strip {
  margin-top: -20px;
  padding: 36px 0 32px;
  background: #000;
  position: relative;
  z-index: 3;
}

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

.trust-title {
  margin: 0 0 18px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* ================= MARQUEE ================= */

.trust-marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  position: relative;
}

.trust-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;

  animation: trust-scroll 35s linear infinite;
  will-change: transform;
}

/* Items */
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;

  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;

  color: rgba(255,255,255,0.65);
  opacity: 0.75;
  transition: opacity 0.25s ease, color 0.25s ease;
}

.trust-item i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.trust-item:hover {
  opacity: 1;
  color: var(--accent);
}

/* Edge fade */
.trust-marquee::before,
.trust-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trust-marquee::before {
  left: 0;
  background: linear-gradient(to right, #000, transparent);
}

.trust-marquee::after {
  right: 0;
  background: linear-gradient(to left, #000, transparent);
}

/* Animation */
@keyframes trust-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .trust-track {
    gap: 36px;
    animation-duration: 28s;
  }

  .trust-item {
    font-size: 0.85rem;
  }

  .trust-item i {
    width: 18px;
    height: 18px;
  }
}

/* ================= Marque ends ================= */

/* ================= About to Start ================= */

.about-section {
  padding: 90px 0 80px;
  background: transparent;
}

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


.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

/* Content */
.about-eyebrow {
  display: inline-block;
  margin-bottom: 12px;

  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;

  color: var(--text-muted);
}

.about-heading {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 600;

  color: var(--text-main);
}

.about-text {
  margin-top: 18px;
  max-width: 520px;

  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}


.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.stat-card {
  padding: 26px 24px;
  border-radius: 16px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);

  transition: transform 0.25s ease, border-color 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.stat-card strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-card span {
  margin-top: 6px;
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
}


.about-trust {
  margin-top: 70px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.trust-card {
  padding: 30px 26px;
  border-radius: 20px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);

  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.4);
}

.trust-card h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.trust-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

@media (max-width: 1000px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-text {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 70px 0 60px;
  }

  .about-heading {
    font-size: 1.9rem;
  }

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

  .about-trust {
    grid-template-columns: 1fr;
  }
}
/* ================= About to End ================= */

/* ================= Service Start ================= */
/* ================= RDX SERVICES (IMAGE TILES) ================= */

/* Container match to RestonDev base */
.rdx-services-showcase {
  padding: 40px 0 100px;
}

.rdx-services-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header styles (follow existing site pattern) */
.rdx-services-head {
  text-align: center;
  margin-bottom: 48px;
}

.rdx-services-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
}

.rdx-services-title {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-main);
}

.rdx-services-subtitle {
  margin: 12px auto 0;
  max-width: 720px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Grid */
.rdx-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

/* Tile as anchor (clickable whole card) */
.rdx-service-tile {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 22px;                    /* matches site */
  text-decoration: none;
  color: inherit;
  transform: translateZ(0);
  transition:
    transform 0.36s cubic-bezier(.2,.9,.2,1),
    box-shadow 0.36s cubic-bezier(.2,.9,.2,1);
  will-change: transform, box-shadow;
  outline: none;
}

/* Visual card border / glass fallback (subtle) */
.rdx-service-tile::before {
  /* thin inner border to match glass style */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  pointer-events: none;
  z-index: 2;
}

/* Media - image fills entire card area */
.rdx-service-media {
  width: 100%;
  height: 260px;
  display: block;
  overflow: hidden;
  background: #000;
}

.rdx-service-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(.2,.9,.2,1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Overlay darkener for better text contrast */
.rdx-service-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.32) 50%, rgba(0,0,0,0.46) 100%);
  z-index: 3;
  pointer-events: none;
  transition: background-color 0.36s ease, opacity 0.36s ease;
}

/* Caption container — anchored bottom-left */
.rdx-service-caption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: none; /* keep anchor clickable but caption not interfering */
}

/* Title */
.rdx-service-name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  text-shadow: 0 6px 18px rgba(0,0,0,0.5);
  pointer-events: none;
}

/* Arrow — initially hidden; will animate in on hover/focus */
.rdx-service-arrow {
  display: inline-block;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem;
  opacity: 0;
  transform: translateX(-8px) scale(0.98);
  transition:
    opacity 0.32s ease,
    transform 0.36s cubic-bezier(.2,.9,.2,1),
    text-shadow 0.36s ease;
  pointer-events: none;
  text-shadow: 0 6px 18px rgba(0,0,0,0.2);
  filter: drop-shadow(0 6px 18px rgba(0,255,209,0.08));
}

/* Hover / focus visual states */
.rdx-service-tile:hover,
.rdx-service-tile:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.55);
  z-index: 6;
}

.rdx-service-tile:hover .rdx-service-media img,
.rdx-service-tile:focus-visible .rdx-service-media img {
  transform: scale(1.06) translateZ(0);
}

.rdx-service-tile:hover .rdx-service-overlay,
.rdx-service-tile:focus-visible .rdx-service-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.44) 45%, rgba(0,0,0,0.6) 100%);
}

/* Arrow reveal on hover/focus — subtle slide & fade */
.rdx-service-tile:hover .rdx-service-arrow,
.rdx-service-tile:focus-visible .rdx-service-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
  text-shadow:
    0 6px 20px rgba(0,0,0,0.45),
    0 0 14px rgba(0,255,209,0.06); /* neon hint */
}

/* Slight title nudge on hover (micro-interaction) */
.rdx-service-tile:hover .rdx-service-name,
.rdx-service-tile:focus-visible .rdx-service-name {
  transform: translateY(-2px);
  transition: transform 0.28s ease;
}

/* Make entire caption clickable for screen readers */
.rdx-service-tile[aria-label] .rdx-service-caption {
  pointer-events: none;
}

/* Accessibility: visible focus ring */
.rdx-service-tile:focus-visible {
  outline: 3px solid rgba(0,255,209,0.12);
  outline-offset: 6px;
}

/* Smaller / taller tiles option (if you want alternate sizes) */
.rdx-service-tile.rdx-tall .rdx-service-media {
  height: 360px;
}

/* Responsive behaviour */
@media (max-width: 1100px) {
  .rdx-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rdx-service-media { height: 240px; }
}

@media (max-width: 768px) {
  .rdx-services-showcase { padding: 28px 0 60px; }
  .rdx-services-grid {
    grid-template-columns: 1fr;
  }

  .rdx-service-media { height: 200px; }
  .rdx-service-caption {
    left: 14px;
    bottom: 14px;
  }
  .rdx-service-name { font-size: 1rem; }
  .rdx-service-arrow { font-size: 0.98rem; }
}

/* Very small devices — tighten spacing */
@media (max-width: 420px) {
  .rdx-service-media { height: 170px; }
  .rdx-service-caption { left: 12px; bottom: 12px; gap: 8px; }
  .rdx-services-subtitle { font-size: 0.95rem; }
}

/* Utility: ensure captions remain readable on very light images */
.rdx-service-media img[aria-hidden="true"] ~ .rdx-service-overlay,
.rdx-service-media img[alt=""] ~ .rdx-service-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
}
/* ================= Service Ends ================= */


/* ================= Our Principels ================= */

/* =========================================================
   PRINCIPLES — STABLE, PREMIUM LAYOUT
   ========================================================= */

.principles-section {
  padding: 55px 0 85px;
}

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

/* ================= HEADER ================= */

.principles-head {
  text-align: center;
  margin-bottom: 48px;
}

.principles-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.principles-heading {
  margin-top: 10px;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-main);
}

.principles-subtext {
  margin: 14px auto 0;
  max-width: 680px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= LAYOUT ================= */

/* Acts as viewport */
.principles-carousel {
  overflow: hidden;          /* 🔑 FIX */
}

/* Track */
.principles-track {
  display: flex;
  gap: 26px;
}

/* ================= CARD ================= */

.principle-card {
  flex: 0 0 360px;
  padding: 32px 30px;
  border-radius: 22px;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}

.principle-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
}

.principle-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ================= DESKTOP ================= */

@media (min-width: 900px) {
  .principles-track {
    justify-content: center;   /* center cards */
    flex-wrap: wrap;           /* no overflow */
  }

  .principles-nav {
    display: none;             /* nav not needed */
  }
}

/* ================= MOBILE ================= */

@media (max-width: 899px) {
  .principles-track {
    overflow-x: auto;
    padding-bottom: 10px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .principles-track::-webkit-scrollbar {
    display: none;
  }

  .principle-card {
    scroll-snap-align: center;
    flex: 0 0 85%;
  }

  .principles-nav {
    display: none; /* swipe only */
  }
}
/* =========================================================
   PRINCIPLES — MOBILE REFINEMENT (FINAL)
   ========================================================= */

@media (max-width: 900px) {

  .principles-section {
    padding: 40px 0 60px; /* tighter top & bottom */
  }

  .principles-head {
    margin-bottom: 32px;
    padding: 0 0.5rem;
  }

  .principles-heading {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .principles-subtext {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  /* Viewport */
  .principles-carousel {
    overflow: hidden;
  }

  /* Horizontal swipe track */
  .principles-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;

    padding: 0 1rem 12px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .principles-track::-webkit-scrollbar {
    display: none;
  }

  /* Cards */
  .principle-card {
    flex: 0 0 88%;            /* comfortable swipe width */
    padding: 24px 22px;
    border-radius: 18px;

    scroll-snap-align: center;
  }

  .principle-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .principle-card p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  /* No nav on mobile */
  .principles-nav {
    display: none;
  }
}

/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 420px) {

  .principle-card {
    flex: 0 0 92%;
    padding: 22px 20px;
  }

  .principles-heading {
    font-size: 1.6rem;
  }
}

/* ================= Principal Ends ================= */

/* ================= Testimonial Starts ================= */

@media (max-width: 768px) {
  .about-trust {
    display: none !important;
  }
}

.testimonials-section {
  padding: 30px 0 85px;
}

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

/* ================= HEADER ================= */

.testimonials-head {
  text-align: center;
  margin-bottom: 46px;
}

.testimonials-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.testimonials-heading {
  margin-top: 10px;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--text-main);
}

.testimonials-subtext {
  margin: 14px auto 0;
  max-width: 680px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= CAROUSEL ================= */

/* THIS IS THE VIEWPORT */
.testimonials-carousel {
  position: relative;
  overflow: hidden;       
}

/* Track */
.testimonials-track {
  display: flex;
  gap: 26px;
  width: max-content;

  animation: testimonial-scroll 80s linear infinite;
}

/* Pause on hover (desktop) */
@media (hover: hover) {
  .testimonials-carousel:hover .testimonials-track {
    animation-play-state: paused;
  }
}

/* ================= CARD ================= */

.testimonial-card {
  flex: 0 0 420px;
  padding: 34px 32px;
  border-radius: 22px;

  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.08);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.testimonial-meta {
  margin-top: 18px;
}

.testimonial-meta strong {
  display: block;
  color: var(--text-main);
  font-weight: 600;
}

.testimonial-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ================= ANIMATION ================= */

/*
  IMPORTANT:
  This assumes your testimonials-track content
  visually fills more than 200% width.
  That is TRUE with your current list.
*/
@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .testimonial-card {
    flex: 0 0 88%;
  }
}
/* =========================================================
   TESTIMONIALS — MOBILE FIX (STOP MARQUEE)
   ========================================================= */

@media (max-width: 900px) {

  /* Stop autoplay animation */
  .testimonials-track {
    animation: none;
    transform: none;
  }

  /* Enable swipe scrolling */
  .testimonials-carousel {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .testimonials-track {
    display: flex;
    gap: 16px;
    width: auto;

    scroll-snap-type: x mandatory;
  }

  .testimonials-track::-webkit-scrollbar {
    display: none;
  }

  /* Card sizing for mobile */
  .testimonial-card {
    flex: 0 0 88%;
    scroll-snap-align: center;

    padding: 26px 24px;
  }

  /* Improve text readability */
  .testimonial-text {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* Remove hover effects on mobile */
  .testimonial-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* =========================================================
   VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 420px) {
  .testimonial-card {
    flex: 0 0 94%;
    padding: 24px 22px;
  }
}
/* =========================================================
   TESTIMONIALS — RESPONSIVE HEADER FIX
   ========================================================= */

/* Tablets & down */
@media (max-width: 900px) {

  .testimonials-head {
    margin-bottom: 32px;
    padding: 0 0.5rem;
  }

  .testimonials-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .testimonials-heading {
    font-size: 1.85rem;
    line-height: 1.25;
    margin-top: 8px;
  }

  .testimonials-subtext {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
    margin-top: 10px;
  }
}

/* Phones */
@media (max-width: 600px) {

  .testimonials-head {
    margin-bottom: 26px;
  }

  .testimonials-heading {
    font-size: 1.55rem;
    line-height: 1.28;
  }

  .testimonials-subtext {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

/* Very small devices */
@media (max-width: 420px) {

  .testimonials-heading {
    font-size: 1.4rem;
  }

  .testimonials-subtext {
    font-size: 0.88rem;
  }
}

/* ================= Testimonials Ends ================= */
/* ================= Blog Section Starts ================= */


.blog-section {
  padding: 55px 0 85px;
}

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

.blog-head {
  display: grid;
  grid-template-columns: 1fr auto; /* text | CTA */
  align-items: center;
  margin-bottom: 42px;
}

/* Center text block */
.blog-head-text {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.blog-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.blog-heading {
  margin: 8px 0 0;
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-main);
}

.blog-subtext {
  margin-top: 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Desktop CTA (side) */
.blog-cta-desktop {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.blog-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  overflow: hidden;

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 44px rgba(0,0,0,0.45);
}

/* Image */
.blog-image {
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #000;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content */
.blog-content {
  padding: 20px 20px 24px;
}

.blog-meta {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.blog-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text-main);
}

.blog-excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}


.blog-cta-mobile {
  display: none;
  margin-top: 36px;
  text-align: center;
}

.blog-cta-btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2)
  );

  color: #000;
  font-weight: 600;
  text-decoration: none;
}


/* Tablets */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .blog-section {
    padding: 45px 0 70px;
  }

  /* Stack header */
  .blog-head {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  /* Hide desktop CTA */
  .blog-cta-desktop {
    display: none;
  }

  .blog-heading {
    font-size: 1.9rem;
  }

  .blog-subtext {
    max-width: 100%;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .blog-image {
    height: 200px;
  }

  /* Show mobile CTA */
  .blog-cta-mobile {
    display: block;
  }
}

/* Small phones */
@media (max-width: 420px) {
  .blog-heading {
    font-size: 1.65rem;
  }

  .blog-image {
    height: 180px;
  }
}
/* ================= Blog Ends ================= */
/* ================= Faq Starts ================= */

.faq-section {
  padding: 80px 0 100px;
}

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

/* Header */

.faq-head {
  text-align: center;
  margin-bottom: 46px;
}

.faq-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.faq-heading {
  margin: 8px 0 0;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-main);
}

.faq-subtext {
  margin-top: 12px;
  max-width: 560px;
  margin-inline: auto;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* FAQ List */
/* ================= FAQ — image left, list right (RestonDev theme) ================= */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* image | faqs */
  gap: 30px;
  align-items: start;
  max-width: 1200px;    /* inherits site container logic */
  margin: 0 auto;
  padding: 0 2rem;
}

/* LEFT: Image box — rounded full-card image with overlay */
.faq-image-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  min-height: 360px;
  display: flex;
  align-items: stretch;
}

/* responsive image */
.faq-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.9,.2,1);
  transform-origin: center center;
}

/* hover zoom subtle */
.faq-image-box:hover img,
.faq-image-box:focus-within img {
  transform: scale(1.04);
}

/* overlay for improved contrast */
.faq-image-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.52) 100%);
  z-index: 2;
  pointer-events: none;
}

/* small glass badge inside image (bottom-left) */
.faq-image-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 4;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--text-main);
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
  font-size: 0.92rem;
  line-height: 1.2;
}
.faq-image-badge strong { display:block; font-weight:700; color:var(--text-main); }
.faq-image-badge span { display:block; font-size:0.82rem; color:var(--text-muted); margin-top:4px; }

/* RIGHT: FAQ list — inherits glass card style */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* keep existing FAQ card visuals but match radii to image card */
.faq-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.28s ease, transform 0.28s ease;
}

/* subtle lift when open */
.faq-item[open] {
  box-shadow: 0 26px 60px rgba(0,0,0,0.45);
  transform: translateY(-4px);
}

/* summary / question */
.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-main);
  background: transparent;
}

/* details marker removed (keep your existing rules) */
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }

/* plus/minus icon */
.faq-icon {
  width: 14px;
  height: 14px;
  position: relative;
  flex-shrink: 0;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--text-main);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.faq-icon::before { width: 14px; height: 2px; top: 6px; left: 0; border-radius: 2px; }
.faq-icon::after { width: 2px; height: 14px; top: 0; left: 6px; border-radius: 2px; }

/* open -> hide vertical bar (becomes minus) */
.faq-item[open] .faq-icon::after { opacity: 0; transform: scaleY(0.2); }

/* answer body */
.faq-answer p {
  padding: 0 20px 18px;
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* keyboard accessibility: show ring on summary focus */
.faq-item summary:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(0,255,209,0.06);
  border-radius: 8px;
}

/* ============================= */
/* FAQ Responsive Fix (Mobile)  */
/* ============================= */

/* Tablet and below */
@media (max-width: 900px) {

  .faq-section {
    padding: 60px 0 70px;
  }

  .faq-container {
    padding: 0 1rem; /* reduce side gutter */
  }

  .faq-grid {
    grid-template-columns: 1fr; /* stack image + list */
    gap: 22px;
    padding: 0 1rem; /* remove large desktop padding */
  }

  .faq-image-box {
    min-height: 220px;
  }

  .faq-list {
    width: 100%;
  }

  .faq-question {
    padding: 16px 18px;
    font-size: 1rem;
  }

  .faq-answer p {
    padding: 0 18px 18px;
    font-size: 0.95rem;
  }

  .faq-subtext {
    max-width: 100%; /* remove narrow text limit */
    padding: 0 0.5rem;
  }
}


/* Small phones */
@media (max-width: 480px) {

  .faq-section {
    padding: 50px 0 60px;
  }

  .faq-container {
    padding: 0 0.75rem;
  }

  .faq-grid {
    padding: 0 0.75rem;
    gap: 18px;
  }

  .faq-image-box {
    min-height: 180px;
    border-radius: 14px;
  }

  .faq-image-badge {
    left: 12px;
    bottom: 12px;
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .faq-question {
    padding: 14px 14px;
    font-size: 0.95rem;
  }

  .faq-answer p {
    padding: 0 14px 16px;
    font-size: 0.9rem;
  }

  .faq-heading {
    font-size: 1.6rem;
  }
}
/* tighten for small phones */
@media (max-width: 420px) {
  .faq-image-box { min-height: 180px; }
  .faq-image-badge { left: 12px; bottom: 12px; padding: 8px 10px; }
  .faq-question { padding: 14px 16px; font-size: 0.95rem; }
  .faq-answer p { padding: 0 16px 14px; font-size: 0.9rem; }
}

/* ================= FAQ Ends ================= */
/* ================= CTA Starts ================= */
.final-cta {
  padding: 80px 0 100px;
}

.final-cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

/* ================= CONTENT ================= */

.final-cta-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.final-cta-heading {
  margin: 14px 0 0;
  font-size: 2.4rem;
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-main);
}

.final-cta-subtext {
  margin-top: 18px;
  max-width: 520px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Actions */
.final-cta-actions {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.final-cta-actions .btn-primary {
  width: fit-content;
  padding: 0.85rem 2rem;
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2)
  );

  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.final-cta-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================= VISUAL ================= */

.final-cta-visual {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.final-cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle glow */
.final-cta-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.35),
    transparent 60%
  );
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .final-cta-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .final-cta-content{
    order: 1;
  }
  .final-cta-visual{
    order: 0;
  }
  .final-cta {
    padding: 65px 0 80px;
  }

  .final-cta-heading {
    font-size: 2rem;
  }

  .final-cta-subtext {
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .final-cta-heading {
    font-size: 1.75rem;
  }
}

/* ================= CTA Ends ================= */

/* ================= Footer Starts ================= */
/* =========================================================
   FOOTER — RESTONDEV 2.0 (REFINED)
   ========================================================= */

.site-footer {
  background: rgba(0,0,0,0.45);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 70px 0 30px;
}

/* Layout */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;

  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 42px;
}

/* ================= BRAND ================= */

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-wrap img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
}

.footer-logo-text strong {
  color: var(--accent);
}

.footer-description {
  max-width: 420px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.footer-contact a {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
}

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

/* CTA */
.footer-cta {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border-radius: 10px;

  background: linear-gradient(
    90deg,
    var(--accent),
    var(--accent-2)
  );

  color: #000;
  font-weight: 600;
  text-decoration: none;
}

/* ================= COLUMNS ================= */

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

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

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

/* ================= BOTTOM ================= */

.footer-bottom {
  margin-top: 50px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 55px 0 25px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-description {
    max-width: 100%;
  }
}
/* =========================================================
   FOOTER — MOBILE COMPACT MODE (PREMIUM)
   ========================================================= */

@media (max-width: 600px) {

  .site-footer {
    padding: 36px 0 20px; /* 🔽 tight */
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 22px; /* 🔽 reduced */
    padding: 0 1.4rem;
  }

  /* ================= BRAND BLOCK ================= */

  .footer-logo-wrap {
    margin-bottom: 10px;
  }

  .footer-logo-wrap img {
    width: 36px;
    height: 36px;
  }

  .footer-logo-text {
    font-size: 1.25rem;
  }

  .footer-description {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .footer-contact {
    gap: 4px;
    margin-bottom: 12px;
  }

  .footer-contact a {
    font-size: 0.85rem;
  }

  .footer-cta {
    padding: 0.65rem 1.4rem;
    font-size: 0.85rem;
  }

  /* ================= COLUMNS ================= */

  .footer-col h4 {
    font-size: 0.85rem;
    margin-bottom: 10px;
  }

  .footer-col ul {
    gap: 8px;
  }

  .footer-col a {
    font-size: 0.85rem;
  }

  /* ================= BOTTOM ================= */

  .footer-bottom {
    margin-top: 26px;
    padding-top: 12px;
  }

  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* =========================================================
   VERY SMALL DEVICES (EXTRA TIGHT)
   ========================================================= */

@media (max-width: 420px) {

  .site-footer {
    padding: 30px 0 18px;
  }

  .footer-container {
    gap: 18px;
    padding: 0 1.2rem;
  }

  .footer-description {
    font-size: 0.83rem;
  }

  .footer-cta {
    padding: 0.6rem 1.3rem;
  }
}


/* ================= Footer Ends ================= */


/* ================= SERVICE Starts ================= */

/* --- CORE LAYOUT --- */
.rdx-service-hero {
  /* Increased top padding slightly for visual breathing room */
  padding: 60px 0 70px; 
  position: relative;
  overflow: hidden; /* Prevents glow overflow */
}

.rdx-service-hero-wrap {
  /* THE CONSTRAINT */
  max-width: 1100px; 
  margin: 0 auto;
  padding: 0 24px;

  display: grid;
  /* Optimized grid ratio for 1100px */
  grid-template-columns: 1fr 1fr; 
  gap: 48px;
  align-items: center;
}

/* --- TYPOGRAPHY & LEFT COLUMN --- */
.rdx-service-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0.9;
}

.rdx-service-title {
  margin: 0;
  /* Fluid typography: scales between 2.5rem and 3.25rem */
  font-size: clamp(2.5rem, 4vw, 3.25rem); 
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-main);
}

.rdx-service-title-accent {
  display: block;
  margin-top: 8px;
  font-size: 0.5em; /* Relative to parent h1 */
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255,255,255,0.75); /* Your brand white opacity */
}

.rdx-service-subtitle {
  margin: 24px 0 0;
  max-width: 480px; /* Constrain reading width for better UX */
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.rdx-service-hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

/* --- TRUST INDICATORS (Cleaned up) --- */
.rdx-service-trust {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.rdx-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 6px; /* Slightly squarer for "tech" feel */
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
}

.rdx-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent); /* Added soft glow to dot */
}

/* --- RIGHT VISUAL (Floating Composition) --- */
.rdx-service-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rdx-visual-composition {
  position: relative;
  width: 100%;
  max-width: 480px; /* Limits image size within the column */
}

/* The Frame */
.rdx-visual-image-frame {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  padding: 8px; /* Creates the "glass border" effect */
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4); /* Deep shadow for depth */
}

/* Aspect Ratio Lock for CLS Prevention */
.rdx-visual-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3; /* Enforce shape */
  object-fit: cover;
  border-radius: 14px;
}

/* The Background Glow */
.rdx-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  /* Using your gradient colors but blurring them heavily */
  background: radial-gradient(circle, rgba(0,255,209,0.15) 0%, rgba(0,0,0,0) 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

/* --- FLOATING STAT CARDS --- */
.rdx-float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  
  background: #111; /* Fallback */
  background: rgba(20, 20, 20, 0.85); /* Dark semi-transparent */
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
  
  /* Animation for load */
  animation: floatUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.rdx-float-top {
  top: 10%;
  right: -20px;
  animation-delay: 0.2s;
}

.rdx-float-bottom {
  bottom: 10%;
  left: -20px;
  animation-delay: 0.4s;
}

.rdx-stat-icon {
  font-size: 1.2rem;
}

.rdx-stat-info strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.rdx-stat-info span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
  .rdx-service-hero-wrap {
    grid-template-columns: 1fr; /* Stack */
    gap: 60px;
    text-align: center;
  }

  .rdx-service-subtitle, 
  .rdx-service-hero-actions, 
  .rdx-service-trust {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  /* Reset floating cards for mobile so they don't get cut off */
  .rdx-float-top { right: 0; top: -15px; }
  .rdx-float-bottom { left: 0; bottom: -15px; }
  
  .rdx-visual-composition {
    max-width: 100%; /* Allow full width on mobile */
  }
}
/* ================= SECTION CONTAINER ================= */
.rdx-service-deliverables {
  width: 100%;
  padding: 40px 0; /* Vertical breathing room */
  
  /* Optional: Subtle separation line from the hero */
  border-top: 1px solid rgba(255, 255, 255, 0.05); 
  background: transparent; /* Brand requirement */
}

/* The 1100px Constraint Wrapper */
.rdx-service-deliverables-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px; /* Matches your hero padding */
  
  /* Centering the marquee visually */
  display: flex;
  justify-content: center;
}

/* ================= MARQUEE MASK ================= */
.rdx-marquee-container {
  width: 100%;
  max-width: 900px; /* Constrains the width slightly for better readability */
  overflow: hidden;
  position: relative;
  
  /* Fade Effect: Left and Right edges fade to transparent */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  
  /* Remove default interactions */
  user-select: none;
  pointer-events: auto; /* Allow hovering to pause */
}

/* ================= MOVING TRACK ================= */
.rdx-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px; /* Space between items */
  width: max-content; /* Force track to accommodate all items */
  
  /* The Endless Loop Animation */
  animation: rdxScrollInfinity 30s linear infinite;
  will-change: transform; /* Performance optimization */
}

/* Pause on hover */
.rdx-marquee-container:hover .rdx-marquee-track {
  animation-play-state: paused;
}

/* ================= ITEMS & ICONS ================= */
.rdx-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  
  transition: color 0.3s ease;
}

/* Hovering a specific item lights it up */
.rdx-marquee-item:hover {
  color: #ffffff;
  cursor: default;
}

.rdx-icon {
  width: 22px;
  height: 22px;
  color: #00FFD1; /* Your Primary Brand Accent */
  
  /* Subtle neon glow for the icon */
  filter: drop-shadow(0 0 5px rgba(0, 255, 209, 0.4));
  flex-shrink: 0;
}

/* ================= ANIMATION KEYFRAMES ================= */
@keyframes rdxScrollInfinity {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Moves exactly 50% because we duplicated the content. 
       This creates the seamless loop illusion. */
    transform: translateX(-50%);
  }
}

/* ================= RESPONSIVE ADJUSTMENTS ================= */
@media (max-width: 768px) {
  .rdx-service-deliverables {
    padding: 30px 0;
  }

  .rdx-marquee-container {
    /* On mobile, remove the fade mask slightly to show more content */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 5%, black 95%, transparent 100%);
  }

  .rdx-marquee-track {
    gap: 24px; /* Tighter spacing on mobile */
    animation-duration: 20s; /* Speed it up slightly for smaller screens */
  }

  .rdx-marquee-item {
    font-size: 0.9rem;
  }

  .rdx-icon {
    width: 18px;
    height: 18px;
  }
  .rdx-service-hero-visual {
    order: 1;
  }
  .rdx-service-hero-content{
    order: 2;
  }
  .rdx-service-subtitle{
    display: none;
  }
}
/* ================= ACTION CONTAINER ================= */
.rdx-service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px; /* 1rem gap between buttons */
  margin-top: 36px;
  
  /* Ensure it aligns left in the hero grid */
  justify-content: flex-start;
}

/* ================= SHARED BUTTON BASE ================= */
.btn-primary,
.btn-secondary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  height: 54px; /* Optimal touch target size */
  padding: 0 32px;
  
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  
  border-radius: 12px; /* Modern "squircle" feel */
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  
  /* Disable selection for cleaner UI feel */
  user-select: none;
  -webkit-user-select: none;
}

/* ================= PRIMARY BUTTON (The Conversion Driver) ================= */
.btn-primary {
  /* Brand Gradient Text Color or Solid Dark for contrast */
  color: #020408; 
  
  /* Your Brand Gradient Background */
  background: linear-gradient(135deg, #00FFD1 0%, #008AFF 100%);
  
  /* 3D Lighting Effect using Shadows */
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 
    0 2px 4px -1px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.3); /* Top highlight */
    
  border: 1px solid transparent; /* Keeps sizing consistent with secondary */
}

.btn-primary:hover {
  transform: translateY(-2px);
  /* Enhanced Glow on Hover */
  box-shadow: 
    0 20px 25px -5px rgba(0, 255, 209, 0.25), 
    0 10px 10px -5px rgba(0, 138, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Pressed effect */
}

/* ================= SECONDARY BUTTON (The Glass Ghost) ================= */
.btn-secondary {
  color: rgba(255, 255, 255, 0.9);
  
  /* Glassmorphism Background */
  background: rgba(255, 255, 255, 0.03);
  
  /* Subtle Border */
  border: 1px solid rgba(255, 255, 255, 0.1);
  
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.btn-secondary:active {
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.02);
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 600px) {
  .rdx-service-hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 28px;
  }
  
  .btn-primary, 
  .btn-secondary {
    width: 100%; /* Full width for easy thumb tapping */
    height: 50px; /* Slightly shorter for mobile density */
  }
}
/* ==========================================================================
   RESPONSIVE LAYOUT & TYPOGRAPHY ONLY
   (No Visual/Card Styles)
   ========================================================================== */

/* --- TABLET & SMALL LAPTOPS (Max-Width: 1024px) --- */
@media (max-width: 1024px) {
  .rdx-service-hero-wrap {
    gap: 32px; /* Reduce gap between columns */
    padding: 0 32px;
  }

  .rdx-service-title {
    font-size: 2.75rem; /* Slightly smaller heading */
  }
}

/* --- TABLET PORTRAIT & LARGE MOBILE (Max-Width: 900px) --- */
@media (max-width: 900px) {
  .rdx-service-hero {
    padding: 40px 0 20px;
  }

  /* 1. Stack the Grid to Vertical */
  .rdx-service-hero-wrap {
    grid-template-columns: 1fr; /* Stack content vertically */
    gap: 50px; 
    text-align: center;
  }

  /* 2. Center Align Text Elements */
  .rdx-service-subtitle, 
  .rdx-service-hero-actions, 
  .rdx-service-trust {
    margin-left: auto;
    margin-right: auto;
    justify-content: center; /* Center flex items */
  }
  
  /* 3. Adjust Subtitle Width for Readability */
  .rdx-service-subtitle {
    max-width: 600px; 
  }
  
  /* 4. Ensure the visual container centers itself (but no internal styles) */
  .rdx-service-hero-visual {
    justify-content: center;
    margin-bottom: 20px;
  }
}

/* --- MOBILE LANDSCAPE & PHONES (Max-Width: 600px) --- */
@media (max-width: 600px) {
  .rdx-service-hero-wrap {
    padding: 0 20px;
  }

  /* Typography Scaling */
  .rdx-service-eyebrow {
    margin-bottom: 12px;
    font-size: 0.75rem;
  }

  .rdx-service-title {
    font-size: 2.2rem; /* Compact title for mobile */
    line-height: 1.15;
  }
  
  .rdx-service-subtitle {
    font-size: 1rem;
    margin-top: 18px;
  }
  
  /* Button Container Fix */
  .rdx-service-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn-primary, 
  .btn-secondary {
    width: 100%; /* Full width buttons on mobile */
  }
}

/* --- SMALL MOBILE (Max-Width: 380px) --- */
@media (max-width: 380px) {
  .rdx-service-title {
    font-size: 1.85rem; /* Prevent word breaks on tiny screens */
  }
}

/* ================= SECTION 2: WHAT YOU GET ================= */

.rdx-svc-includes {
  padding: 26px 0 40px;
}

.rdx-svc-includes-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Head */
.rdx-svc-includes-head {
  text-align: center;
  margin-bottom: 42px;
}

.rdx-svc-eyebrow {
  display: inline-block;
  margin-bottom: 10px;

  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-muted);
}

.rdx-svc-heading {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 650;
  color: var(--text-main);
}

.rdx-svc-subtext {
  margin: 14px auto 0;
  max-width: 720px;

  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Grid */
.rdx-svc-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* Feature card */
.rdx-svc-feature {
  position: relative;
  padding: 26px 22px;
  border-radius: 20px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);

  box-shadow: 0 24px 60px rgba(0,0,0,0.28);

  transition:
    transform 0.32s cubic-bezier(.2,.9,.2,1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;
  overflow: hidden;
}

/* subtle inner glow */
.rdx-svc-feature::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,255,209,0.08), transparent 55%),
    radial-gradient(circle at 70% 30%, rgba(0,138,255,0.08), transparent 60%);
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

/* hover */
.rdx-svc-feature:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,209,0.22);
  box-shadow: 0 34px 80px rgba(0,0,0,0.45);
}

.rdx-svc-feature:hover::before {
  opacity: 1;
}

/* Icon */
.rdx-svc-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);

  margin-bottom: 16px;
}

.rdx-svc-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  opacity: 0.95;
  filter: drop-shadow(0 10px 25px rgba(0,255,209,0.10));
}

/* Title + text */
.rdx-svc-feature h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.rdx-svc-feature p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .rdx-svc-includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rdx-svc-includes {
    padding: 18px 0 70px;
  }

  .rdx-svc-heading {
    font-size: 1.9rem;
  }

  .rdx-svc-includes-grid {
    grid-template-columns: 1fr;
  }

  .rdx-svc-feature {
    padding: 22px 18px;
  }
}

@media (max-width: 420px) {
  .rdx-svc-heading {
    font-size: 1.65rem;
  }
}

    /* ================= SECTION LAYOUT ================= */
.rdx-proc-timeline {
  padding: 60px 0 70px;
  position: relative;
  overflow: visible; /* Allows sticky elements to work */
}

.rdx-proc-wrap {
  max-width: 1100px; /* Strict constraint */
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER --- */
.rdx-proc-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.rdx-proc-title {
  margin: 12px 0;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-main);
}

.rdx-proc-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* --- MAIN GRID --- */
.rdx-proc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 Split */
  gap: 60px;
  align-items: start;
  position: relative;
}

/* ================= LEFT: STICKY VISUALS ================= */
.rdx-proc-visual-col {
  /* This makes the images follow you as you scroll the timeline */
  position: sticky;
  top: 100px; /* Distance from top of browser */
  height: fit-content;
}

.rdx-proc-sticky-stack {
  position: relative;
  /* Creates space for the overlapping cards */
  height: 400px; 
  width: 100%;
}

.rdx-visual-card {
  position: absolute;
  width: 85%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease;
}

.rdx-visual-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  filter: saturate(0) contrast(1.1); /* Black & white initially */
  transition: filter 0.4s ease;
}

/* Hovering the stack brings color back */
.rdx-proc-sticky-stack:hover .rdx-visual-card img {
  filter: saturate(1.1) contrast(1.1);
}

/* Card Stacking Logic (Deck of Cards look) */
.card-1 {
  top: 0;
  left: 0;
  z-index: 1;
  transform: scale(0.9);
  opacity: 0.6;
}

.card-2 {
  top: 40px;
  left: 20px;
  z-index: 2;
  transform: scale(0.95);
  opacity: 0.8;
}

.card-3 {
  top: 80px;
  left: 40px;
  z-index: 3;
  /* Main card styles */
  border-color: rgba(0, 255, 209, 0.2); 
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6);
}

/* Glass Label inside Image */
.rdx-card-glass {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 10px 14px;
  
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.rdx-icon {
  color: #00FFD1; /* Brand Accent */
}

/* ================= RIGHT: TIMELINE LIST ================= */
.rdx-proc-steps-col {
  position: relative;
  padding-left: 20px;
}

/* The Vertical Beam */
.rdx-beam-line {
  position: absolute;
  left: 43px; /* Centers with the markers */
  top: 20px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(
    180deg, 
    rgba(0, 255, 209, 0) 0%, 
    rgba(0, 255, 209, 0.4) 15%, 
    rgba(0, 138, 255, 0.4) 85%, 
    rgba(0, 138, 255, 0) 100%
  );
  z-index: 0;
}

.rdx-timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

.rdx-step-item {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
}

/* The Circle Marker */
.rdx-step-marker {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  
  background: rgba(15, 20, 25, 1); /* Dark bg to cover the line behind it */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 4px rgba(10, 10, 10, 1); /* Visual gap outline */
  
  display: flex;
  align-items: center;
  justify-content: center;
  
  font-family: monospace;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  
  transition: all 0.3s ease;
}

/* Hover Effect on Marker */
.rdx-step-item:hover .rdx-step-marker {
  border-color: #00FFD1;
  color: #00FFD1;
  box-shadow: 0 0 15px rgba(0, 255, 209, 0.2);
  transform: scale(1.1);
}

/* The Content Box */
.rdx-step-content {
  padding-top: 8px; /* Alignment fix */
}

.rdx-step-content h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.rdx-step-content p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.rdx-step-item:hover .rdx-step-content h3 {
  color: #fff; /* Brighten title on hover */
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .rdx-proc-grid {
    grid-template-columns: 1fr; /* Stack vertically */
    gap: 40px;
  }
  
  /* Disable sticky on mobile/tablet */
  .rdx-proc-visual-col {
    position: relative;
    top: 0;
    margin-bottom: 20px;
    display: none; /* Optional: Hide visuals on mobile to save scroll space? 
                     Or keep them. Let's keep them but simplify. */
    display: block;
  }
  
  .rdx-proc-sticky-stack {
    height: 300px; /* Reduce height */
  }
  
  .rdx-visual-card {
    width: 90%;
    height: 200px; /* Smaller images */
  }
  
  .card-3 {
    left: 5%; /* Center the main card */
    top: 60px;
  }
}

@media (max-width: 600px) {
  .rdx-proc-timeline {
    padding: 60px 0;
  }
  
  /* Adjust Timeline for Mobile */
  .rdx-beam-line {
    left: 19px; /* Re-align line */
  }
  
  .rdx-step-marker {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
  
  .rdx-proc-steps-col {
    padding-left: 0;
  }
  
  .rdx-step-item {
    gap: 16px;
  }
  
  /* Hide background cards on tiny screens to reduce clutter */
  .card-1, .card-2 {
    display: none;
  }
  .card-3 {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
  }
  .rdx-proc-sticky-stack {
    height: auto;
  }
}

/* ================= Case Study Starts ================= */

.rdx-case-section {
  padding: 8px 0 70px;
}

.rdx-case-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
.rdx-case-head {
  text-align: center;
  margin-bottom: 28px;
}

.rdx-case-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.rdx-case-title {
  margin: 0;
  font-size: 2.1rem;
  line-height: 1.12;
  color: var(--text-main);
  font-weight: 700;
}

.rdx-case-subtext {
  margin-top: 10px;
  color: var(--text-muted);
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Filter pills */
.rdx-case-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  flex-wrap: wrap;
}

.rdx-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.rdx-pill:hover { transform: translateY(-3px); }
.rdx-pill:active { transform: translateY(0); }

.rdx-pill-active {
  background: linear-gradient(90deg, rgba(0,255,209,0.12), rgba(0,138,255,0.12));
  border-color: rgba(0,255,209,0.18);
  box-shadow: 0 12px 40px rgba(0,255,209,0.04);
}

/* Grid */
.rdx-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 22px;
}

/* Card (link) */
.rdx-case-card {
  display: block;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.36s cubic-bezier(.2,.9,.2,1), box-shadow 0.36s ease;
}

/* Image */
.rdx-case-media {
  width: 100%;
  height: 220px;
  background: #000;
  overflow: hidden;
}

.rdx-case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.9,.2,1), filter 0.36s ease;
  filter: saturate(0.95) contrast(1.02);
}

/* overlay for contrast */
.rdx-case-overlay {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.5) 100%);
  z-index: 2;
  pointer-events: none;
  transition: background 0.36s ease;
}

/* metric chips */
.rdx-case-metrics {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 4;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.rdx-case-metric {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.85rem;
  backdrop-filter: blur(6px);
}

/* caption (bottom-left) */
.rdx-case-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.rdx-case-name {
  margin: 0 0 6px;
  font-size: 1.03rem;
  font-weight: 800;
  color: var(--text-main);
  text-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.rdx-case-industry {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* arrow */
.rdx-case-arrow {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.05rem;
  opacity: 0;
  transform: translateX(-8px) scale(0.98);
  transition: opacity 0.32s ease, transform 0.36s cubic-bezier(.2,.9,.2,1);
  pointer-events: none;
}

/* Hover states */
.rdx-case-card:hover,
.rdx-case-card:focus-visible {
  transform: translateY(-8px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.55);
  z-index: 6;
}

.rdx-case-card:hover .rdx-case-media img,
.rdx-case-card:focus-visible .rdx-case-media img {
  transform: scale(1.06);
}

.rdx-case-card:hover .rdx-case-overlay,
.rdx-case-card:focus-visible .rdx-case-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.22) 0%, rgba(0,0,0,0.44) 45%, rgba(0,0,0,0.66) 100%);
}

.rdx-case-card:hover .rdx-case-arrow,
.rdx-case-card:focus-visible .rdx-case-arrow {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* CTA area */
.rdx-case-cta {
  margin-top: 22px;
  text-align: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .rdx-case-grid { grid-template-columns: repeat(2, 1fr); }
  .rdx-case-media { height: 200px; }
}

@media (max-width: 768px) {
  .rdx-case-section {
  padding: 8px 0 30px;
}
  .rdx-case-grid { grid-template-columns: 1fr; }
  .rdx-case-media { height: 180px; }
  .rdx-case-caption { left: 12px; bottom: 12px; right: 12px; }
  .rdx-case-metric { font-size: 0.82rem; padding: 7px 8px; }
  .rdx-case-title { font-size: 1.9rem; }
  .rdx-case-subtext { font-size: 0.95rem; }
}

@media (max-width: 420px) {
  .rdx-case-media { height: 150px; }
  .rdx-case-name { font-size: 0.98rem; }
  .rdx-case-industry { font-size: 0.82rem; }
}

/* ================= PRICING V2 (PREMIUM RESTONDEV) ================= */

.rdx-pricing-v2 {
  padding: 0 0 100px;
}

.rdx-pricing-v2-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Head */
.rdx-pricing-v2-head {
  text-align: center;
  margin-bottom: 40px;
}

.rdx-pricing-v2-eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 650;
}

.rdx-pricing-v2-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 750;
  color: var(--text-main);
}

.rdx-pricing-v2-subtext {
  margin: 14px auto 0;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Toggle (premium pill) */
.rdx-billing-toggle {
  margin-top: 18px;
  display: inline-flex;
  gap: 8px;

  padding: 8px;
  border-radius: 999px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.22);
}

.rdx-bill-btn {
  border: 0;
  cursor: pointer;

  padding: 10px 14px;
  border-radius: 999px;

  background: transparent;
  color: rgba(255,255,255,0.84);

  font-weight: 800;
  font-size: 0.92rem;

  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.rdx-bill-btn:hover {
  transform: translateY(-2px);
}

.rdx-bill-active {
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.rdx-bill-save {
  margin-left: 8px;
  padding: 5px 9px;
  border-radius: 999px;

  font-size: 0.75rem;
  font-weight: 900;

  color: var(--accent);
  background: rgba(0,255,209,0.10);
  border: 1px solid rgba(0,255,209,0.12);
}

/* Grid */
.rdx-pricing-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

/* Card */
.rdx-plan-v2 {
  position: relative;
  padding: 28px 22px;
  border-radius: 24px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 30px 90px rgba(0,0,0,0.32);

  transition:
    transform 0.32s cubic-bezier(.2,.9,.2,1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;

  overflow: hidden;
}

.rdx-plan-v2:hover {
  transform: translateY(-8px);
  border-color: rgba(0,255,209,0.18);
  box-shadow: 0 40px 110px rgba(0,0,0,0.48);
}

/* Featured */
.rdx-plan-v2-featured {
  border-color: rgba(0,255,209,0.22);
  box-shadow: 0 46px 130px rgba(0,0,0,0.55);
}

.rdx-plan-v2-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;

  background:
    radial-gradient(circle at 25% 25%, rgba(0,255,209,0.12), transparent 55%),
    radial-gradient(circle at 75% 35%, rgba(0,138,255,0.12), transparent 60%);
  pointer-events: none;
  opacity: 1;
}

/* Featured badge */
.rdx-plan-v2-badge {
  position: absolute;
  top: 16px;
  right: 16px;

  padding: 7px 10px;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.02em;

  color: #071018;
  background: linear-gradient(90deg, rgba(0,255,209,1), rgba(0,138,255,1));
  z-index: 3;
}

/* Top */
.rdx-plan-v2-top {
  position: relative;
  z-index: 2;
}

.rdx-plan-v2-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 850;
  color: var(--text-main);
}

.rdx-plan-v2-desc {
  margin: 8px 0 0;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Price */
.rdx-plan-v2-price {
  margin-top: 18px;
  padding: 14px 14px;
  border-radius: 18px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
}

.rdx-price-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.rdx-price-now {
  font-size: 2.15rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.rdx-price-old {
  font-size: 1rem;
  font-weight: 800;
  color: rgba(255,255,255,0.45);
  text-decoration: line-through;
  margin-bottom: 7px;
}

/* price meta */
.rdx-price-meta {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rdx-price-period {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* Discount stamp */
.rdx-discount-stamp {
  padding: 7px 10px;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.02em;

  color: var(--accent);
  background: rgba(0,255,209,0.10);
  border: 1px solid rgba(0,255,209,0.12);
}

/* Features */
.rdx-plan-v2-features {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;

  display: flex;
  flex-direction: column;
  gap: 11px;

  position: relative;
  z-index: 2;
}

.rdx-plan-v2-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;

  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.rdx-tick {
  width: 22px;
  height: 22px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(0,255,209,0.10);
  border: 1px solid rgba(0,255,209,0.12);

  color: var(--accent);
  font-weight: 950;

  flex-shrink: 0;
  transform: translateY(1px);
}

/* CTA */
.rdx-plan-v2-cta {
  margin-top: 22px;
  position: relative;
  z-index: 2;
}

/* Footer note */
.rdx-pricing-v2-foot {
  margin-top: 22px;
  text-align: center;
}

.rdx-pricing-v2-foot p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.rdx-pricing-v2-foot a {
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.rdx-pricing-v2-foot a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1100px) {
  .rdx-pricing-v2-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .rdx-pricing-v2 {
    padding: 0 0 75px;
  }

  .rdx-pricing-v2-title {
    font-size: 1.9rem;
  }

  .rdx-pricing-v2-grid {
    grid-template-columns: 1fr;
  }

  .rdx-plan-v2 {
    padding: 22px 18px;
  }
}

@media (max-width: 420px) {
  .rdx-billing-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .rdx-bill-btn {
    flex: 1;
  }

  .rdx-bill-save {
    display: none;
  }

  .rdx-price-meta {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* ================= WHY RESTONDEV (COOL) ================= */

.rdx-why {
  padding: 0 0 100px;
}

.rdx-why-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.rdx-why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: start;
}

/* ================= LEFT: VISUAL ================= */

.rdx-why-visual-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;

  height: 360px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 36px 90px rgba(0,0,0,0.50);

  transform: translateZ(0);
}

.rdx-why-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.65s cubic-bezier(.2,.9,.2,1);
}

.rdx-why-visual-card:hover img {
  transform: scale(1.06);
}

.rdx-why-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.12) 0%,
    rgba(0,0,0,0.32) 55%,
    rgba(0,0,0,0.60) 100%
  );
  pointer-events: none;
}

.rdx-why-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;

  padding: 10px 12px;
  border-radius: 16px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);

  backdrop-filter: blur(10px);
  box-shadow: 0 26px 70px rgba(0,0,0,0.45);
}

.rdx-why-caption strong {
  display: block;
  font-size: 1rem;
  font-weight: 850;
  color: var(--text-main);
}

.rdx-why-caption span {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Mini stats */
.rdx-why-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.rdx-why-mini-item {
  padding: 16px 16px;
  border-radius: 18px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);

  transition: transform 0.28s ease, border-color 0.28s ease;
}

.rdx-why-mini-item:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,209,0.20);
}

.rdx-why-mini-item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--text-main);
}

.rdx-why-mini-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ================= RIGHT ================= */

.rdx-why-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.15;
  font-weight: 750;
  color: var(--text-main);
}

.rdx-why-subtext {
  margin: 14px 0 0;
  max-width: 680px;

  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Cards */
.rdx-why-cards {
  margin-top: 18px;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* card */
.rdx-why-card {
  position: relative;
  padding: 18px 18px;
  border-radius: 20px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);

  transition:
    transform 0.32s cubic-bezier(.2,.9,.2,1),
    border-color 0.32s ease,
    box-shadow 0.32s ease;

  overflow: hidden;
}

.rdx-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,209,0.18);
  box-shadow: 0 34px 90px rgba(0,0,0,0.45);
}

/* featured card */
.rdx-why-card-featured {
  border-color: rgba(0,255,209,0.22);
}

.rdx-why-card-featured::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;

  background:
    radial-gradient(circle at 25% 25%, rgba(0,255,209,0.10), transparent 55%),
    radial-gradient(circle at 75% 35%, rgba(0,138,255,0.10), transparent 60%);
  opacity: 1;
  pointer-events: none;
}

.rdx-why-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 850;
  color: var(--text-main);
  position: relative;
  z-index: 2;
}

.rdx-why-card p {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: var(--text-muted);
  position: relative;
  z-index: 2;
}

/* arrow micro-interaction */
.rdx-why-arrow {
  position: absolute;
  right: 16px;
  bottom: 16px;

  font-weight: 900;
  color: var(--accent);
  font-size: 1.05rem;

  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s ease, transform 0.36s cubic-bezier(.2,.9,.2,1);
}

.rdx-why-card:hover .rdx-why-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .rdx-why-grid {
    grid-template-columns: 1fr;
  }

  .rdx-why-visual-card {
    height: 280px;
  }

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

  .rdx-why-mini {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .rdx-why {
    padding: 0 0 75px;
  }

  .rdx-why-title {
    font-size: 1.9rem;
  }

  .rdx-why-visual-card {
    height: 220px;
  }

  .rdx-why-mini {
    grid-template-columns: 1fr;
  }

  .rdx-why-mini-item {
    padding: 14px 14px;
  }

  .rdx-why-card {
    padding: 16px 16px;
  }
}

@media (max-width: 420px) {
  .rdx-why-title {
    font-size: 1.65rem;
  }
}
/* ================= FINAL CTA (RESTONDEV) ================= */

.rdx-final-cta {
  padding: 0 0 110px;
}

.rdx-final-cta-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.rdx-final-cta-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 50px 140px rgba(0,0,0,0.55);
}

/* glow background */
.rdx-final-cta-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 26px;

  background:
    radial-gradient(circle at 20% 25%, rgba(0,255,209,0.14), transparent 55%),
    radial-gradient(circle at 80% 35%, rgba(0,138,255,0.14), transparent 60%),
    radial-gradient(circle at 55% 95%, rgba(255,255,255,0.04), transparent 60%);
  pointer-events: none;
  opacity: 1;
}

.rdx-final-cta-content {
  position: relative;
  z-index: 2;
  padding: 46px 44px;
  text-align: center;
}

.rdx-final-cta-eyebrow {
  display: inline-block;
  margin-bottom: 12px;

  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 650;

  color: var(--text-muted);
}

.rdx-final-cta-title {
  margin: 0;
  font-size: 2.4rem;
  line-height: 1.12;
  font-weight: 800;
  color: var(--text-main);
}

.rdx-final-cta-subtext {
  margin: 16px auto 0;
  max-width: 760px;

  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* buttons */
.rdx-final-cta-actions {
  margin-top: 22px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* trust row */
.rdx-final-cta-trust {
  margin-top: 28px;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rdx-trust-item {
  padding: 16px 16px;
  border-radius: 18px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);

  transition: transform 0.3s ease, border-color 0.3s ease;
}

.rdx-trust-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0,255,209,0.18);
}

.rdx-trust-item strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: var(--text-main);
}

.rdx-trust-item span {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .rdx-final-cta-content {
    padding: 38px 28px;
  }

  .rdx-final-cta-title {
    font-size: 2.05rem;
  }

  .rdx-final-cta-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .rdx-final-cta {
    padding: 0 0 85px;
  }

  .rdx-final-cta-title {
    font-size: 1.75rem;
  }

  .rdx-final-cta-subtext {
    font-size: 0.95rem;
  }

  .rdx-final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ================= SERVICE Ends ================= */