/* custom.css - Custom animations and overrides for VegaPixel IT Solutions */

:root {
  --container-width: 1440px;
  --site-gutter: 4%;
}

@media (max-width: 1024px) {
  :root {
    --site-gutter: 24px;
  }
}

@media (max-width: 640px) {
  :root {
    --site-gutter: 16px;
  }
}

/* 
 * ----------------------------------------
 * HERO SECTION LAYOUT
 * REPRESENTS: The structural grid and responsive layout for the main landing area
 * ----------------------------------------
 */
.hero-custom-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .hero-custom-layout {
    flex-direction: row;
    justify-content: space-between;
  }
}
.hero-btn-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding-top: 120px;
}
@media (min-width: 1024px) {
  .hero-btn-col {
    flex: 1;
    max-width: 400px;
    flex-shrink: 0;
  }
}

/* 
 * ----------------------------------------
 * BACKGROUND ANIMATIONS (STARS & PIXELS)
 * REPRESENTS: The floating/twinkling background effects generated by JS components
 * ----------------------------------------
 */
@keyframes vpDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.35;
  }
  50% {
    transform: translate3d(0, -14px, 0);
    opacity: 0.75;
  }
}

@keyframes vpTwinkle {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.15);
  }
}

.vp-pixel {
  position: absolute;
  background: var(--color-cyan);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(0, 98, 157, 0.6);
  animation: vpDrift linear infinite;
}

.vp-star {
  position: absolute;
  color: var(--color-cyan);
  animation: vpTwinkle ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(0, 98, 157, 0.5));
}

@media (prefers-reduced-motion: reduce) {
  .vp-pixel,
  .vp-star {
    animation: none;
    opacity: 0.4;
  }
}

/* 
 * ----------------------------------------
 * INFINITE HORIZONTAL MARQUEE
 * REPRESENTS: The scrolling banner displaying the list of services (ticker-tape style)
 * ----------------------------------------
 */
@keyframes marquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee 50s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused; /* optional nice touch: pause on hover */
}

/* 
 * ----------------------------------------
 * FAQ ACCORDION TRANSITIONS
 * REPRESENTS: The CSS state transitions for expanding/collapsing FAQ items
 * ----------------------------------------
 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
  opacity: 0;
}

.faq-answer.open {
  opacity: 1;
}

/* 
 * ----------------------------------------
 * SITE HEADER STYLES
 * REPRESENTS: The styles for the sticky header navigation bar
 * ----------------------------------------
 */
.site-header {
  height: 72px;
  background-color: #ffffff;
  border-bottom: 1px solid #e5eeff;
  box-shadow: 0 1px 12px rgba(0, 3, 20, 0.06);
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

@supports (backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px)) {
  .site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* Mobile Navigation Drawer overlay animation */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 3, 20, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background-color: #ffffff !important;
  z-index: 101;
  box-shadow: -4px 0 24px rgba(0, 3, 20, 0.15);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px 24px 40px 24px;
}

.mobile-nav-drawer.open {
  transform: translateX(-280px);
}

/* Blinking dot for Live indicator */
@keyframes blink {
  0%,
  100% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
}
.blink {
  animation: blink 2s infinite;
}

/* Premium Card Hover Effects */
.lift-on-hover {
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

.lift-on-hover:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 40px rgba(0, 3, 20, 0.08),
    0 8px 16px rgba(0, 98, 157, 0.04);
}

/* 
 * ----------------------------------------
 * CLIENT VOICES CAROUSEL
 * REPRESENTS: The interactive carousel for client reviews with navigation
 * ----------------------------------------
 */
.testimonials-slider-container {
  position: relative;
  width: 100%;
}

.review-carousel-wrapper {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  width: 100%;
  position: relative;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

.review-carousel-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Custom gradients on sides to fade out reviews */
.testimonials-slider-container::before,
.testimonials-slider-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.testimonials-slider-container::before {
  left: 0;
  background: linear-gradient(to right, #000314, transparent);
}
.testimonials-slider-container::after {
  right: 0;
  background: linear-gradient(to left, #000314, transparent);
}

.review-carousel-track {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  width: max-content;
}

.review-carousel-item {
  width: 376px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

@media (max-width: 768px) {
  .review-carousel-item {
    width: 80vw;
  }
  /* Smaller fades on mobile */
  .testimonials-slider-container::before,
  .testimonials-slider-container::after {
    width: 30px;
  }
}

/* Testimonial Nav Buttons */
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.testimonial-nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 0 15px rgba(0, 98, 157, 0.3);
}

.testimonial-nav-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.testimonial-nav-btn:disabled {
  opacity: 0.2;
  cursor: not-allowed;
  transform: translateY(-50%);
}

.testimonial-nav-btn.prev {
  left: 1.5rem;
}

.testimonial-nav-btn.next {
  right: 1.5rem;
}

@media (max-width: 768px) {
  .testimonials-slider-container {
    padding-bottom: 5.5rem; /* Make space for buttons at the bottom */
  }
  .testimonial-nav-btn {
    top: auto;
    bottom: 1.5rem;
    transform: none; /* Clear vertical centering transform */
  }
  .testimonial-nav-btn.prev {
    left: calc(50% - 56px); /* Center Left button with a gap */
  }
  .testimonial-nav-btn.next {
    right: calc(50% - 56px); /* Center Right button with a gap */
  }

  /* Reset hover/active scale states without vertical translation transforms */
  .testimonial-nav-btn:hover:not(:disabled) {
    transform: scale(1.08);
  }
  .testimonial-nav-btn:active:not(:disabled) {
    transform: scale(0.95);
  }
}

/* 
 * ----------------------------------------
 * MODAL DIALOGS STYLE OVERLAYS
 * REPRESENTS: The styles for Calendly scheduling iframe and custom lead forms
 * ----------------------------------------
 */
.vp-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 3, 20, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.vp-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.vp-modal-content {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 550px;
  box-shadow: 0 20px 50px rgba(0, 3, 20, 0.3);
  position: relative;
  transform: scale(0.95);
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.vp-modal-overlay.open .vp-modal-content {
  transform: scale(1);
}

.vp-modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-navy);
  transition: color 0.2s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}

.vp-modal-close-btn:hover {
  color: var(--color-cyan);
}

/* 
 * ----------------------------------------
 * MOBILE NAVIGATION LINK STYLES
 * ----------------------------------------
 */
.mobile-nav-link {
  font-family: var(--font-sans), sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 12px;
  border-bottom: 1px solid #f8f9ff;
  border-left: 2px solid transparent;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-nav-link:hover {
  color: var(--color-cyan);
  border-left-color: var(--color-cyan);
  background-color: rgba(0, 98, 157, 0.03);
}

.mobile-nav-link.active {
  color: var(--color-cyan) !important;
  background-color: rgba(0, 98, 157, 0.05) !important;
  border-left-color: var(--color-cyan) !important;
  border-radius: 0 6px 6px 0;
}

.mobile-nav-active-dot {
  width: 6px;
  height: 6px;
  background-color: var(--color-cyan);
  border-radius: 50%;
  margin-right: 8px;
}

/* Services Page Sections Spacing */
.services-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 1024px) {
  .services-container {
    gap: 80px;
  }
}

/* Optimized vertical spacing overrides */

main {
  padding-top: 72px;
}

.section {
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

@media (max-width: 1024px) {
  .section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 640px) {
  .section {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }
}

/* Subpage Hero Section spacing & style */
.subpage-hero {
  background: linear-gradient(135deg, #000314 0%, #001a3a 60%, #00629d 130%);
  color: #fff;
  padding: 48px 0 36px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .subpage-hero {
    padding: 36px 0 24px;
  }
}

/* Site Footer spacing */
.site-footer {
  background-color: #000314;
  color: #fff;
  border-top: 1px solid rgba(0, 98, 157, 0.3);
  padding-top: 56px;
  padding-bottom: 32px;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
}

@media (max-width: 640px) {
  .site-footer {
    padding-top: 40px;
    padding-bottom: 24px;
  }
}

/* Unify container spacing */
.container-vp {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--site-gutter);
  padding-right: var(--site-gutter);
  width: 100%;
}

.hero-text-col {
  flex: 1;
  max-width: 780px;
}

/* Prevent pseudo-bar corner bleed when card overflow is visible */
.card-vp:before {
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
}

/* 
 * ========================================
 * SERVICE DETAIL — REDESIGNED COMPONENTS
 * ========================================
 */

/* ── Entry animation ─────────────────────────────── */
@keyframes sdFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sd-anim-up {
  animation: sdFadeUp 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: var(--delay, 0ms);
}

@media (prefers-reduced-motion: reduce) {
  .sd-anim-up {
    animation: none;
    opacity: 1;
  }
}

/* ── Shared design tokens ────────────────────────── */
.sd-section-overline {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00629d;
  margin-bottom: 10px;
}

.sd-section-overline--sm {
  margin-bottom: 8px;
}

/* ── Wrapper ─────────────────────────────────────── */
.sd-wrapper {
  background: #f8fafc;
  min-height: 100vh;
}

/* ═══════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════ */
.sd-hero {
  position: relative;
  background: radial-gradient(circle at 80% 10%, rgba(0, 180, 216, 0.2) 0%, transparent 42%),
              radial-gradient(circle at 10% 90%, rgba(0, 98, 157, 0.28) 0%, transparent 48%),
              linear-gradient(145deg, #000314 0%, #00112c 55%, #002748 100%);
  color: #fff;
  padding: 64px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 98, 157, 0.25);
}

@media (max-width: 1024px) {
  .sd-hero {
    padding: 52px 0 60px;
  }
}

@media (max-width: 640px) {
  .sd-hero {
    padding: 40px 0 48px;
  }
}

/* Background orbs */
.sd-hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}

.sd-hero-bg-orb--top {
  width: 600px;
  height: 600px;
  right: -80px;
  top: -200px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
}

.sd-hero-bg-orb--bottom {
  width: 400px;
  height: 400px;
  left: -100px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(0, 98, 157, 0.18) 0%, transparent 70%);
}

.sd-hero-inner {
  position: relative;
  z-index: 1;
}

/* Label row */
.sd-hero-labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.sd-overline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(0, 180, 216, 0.14);
  border: 1px solid rgba(0, 180, 216, 0.32);
  color: #5bc8ff;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sd-overline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5bc8ff;
  opacity: 0.8;
}

.sd-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* Hero heading */
.sd-hero-title {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 25%, #5bc8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 820px;
  margin-bottom: 14px;
}

/* Tagline */
.sd-hero-tagline {
  font-family: var(--font-mono), monospace;
  font-size: 13px;
  font-weight: 600;
  color: #5bc8ff;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

/* Description */
.sd-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 36px;
}

@media (max-width: 640px) {
  .sd-hero-desc {
    font-size: 14px;
  }
}

/* ── Metrics strip ───────────────────────────────── */
.sd-metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 580px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .sd-metrics-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sd-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.sd-metric-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(91, 200, 255, 0.2);
}

.sd-metric-label {
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5bc8ff;
  margin-bottom: 5px;
}

.sd-metric-value {
  font-family: var(--font-display), sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* ── Hero CTA row ────────────────────────────────── */
.sd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.sd-btn-glow {
  box-shadow: 0 4px 24px rgba(0, 180, 216, 0.45) !important;
}

.sd-btn-whatsapp {
  background: #25d366 !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.38) !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sd-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.sd-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ═══════════════════════════════════════════════════
   CONTENT SECTION — sticky sidebar + main col
   ═══════════════════════════════════════════════════ */
.sd-content-section {
  background: #fff;
}

.sd-content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1024px) {
  .sd-content-grid {
    grid-template-columns: 380px 1fr;
    gap: 56px;
    align-items: start;
  }
}

/* ── Sidebar ─────────────────────────────────────── */
.sd-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .sd-sidebar-inner {
    position: sticky;
    top: calc(72px + 28px);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.sd-sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Service image */
.sd-sidebar-image {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 3, 20, 0.1);
  aspect-ratio: 16 / 9;
}

.sd-sidebar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.sd-sidebar-image:hover img {
  transform: scale(1.04);
}

.sd-sidebar-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 3, 20, 0.75) 0%, rgba(0, 3, 20, 0.1) 55%, transparent 100%);
}

.sd-sidebar-image-tag {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
}

.sd-sidebar-image-label {
  display: block;
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5bc8ff;
  margin-bottom: 4px;
}

.sd-sidebar-image-name {
  display: block;
  font-family: var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

/* Strategic focus card */
.sd-focus-card {
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px 24px 24px 28px;
  box-shadow: 0 2px 12px rgba(0, 3, 20, 0.04);
  overflow: hidden;
}

.sd-focus-accent {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #00629d, #00b4d8);
  border-radius: 20px 0 0 20px;
}

.sd-focus-headline {
  font-family: var(--font-display), sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #000314;
  line-height: 1.4;
  margin-bottom: 10px;
}

.sd-focus-intro {
  font-size: 13px;
  color: #3a3d4a;
  line-height: 1.7;
  margin-bottom: 20px;
}

.sd-pillars-block {
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
}

.sd-pillars-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sd-pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  padding: 9px 12px;
  background: #f8fafc;
  border: 1px solid #e8edf4;
  border-radius: 10px;
  line-height: 1.4;
}

.sd-pillar-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(0, 98, 157, 0.12);
  color: #00629d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.5px;
}

/* Case proof badge */
.sd-proof-badge {
  background: rgba(0, 18, 46, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(91, 200, 255, 0.18);
  border-radius: 20px;
  padding: 22px 22px 18px;
  color: #fff;
}

.sd-proof-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sd-proof-overline {
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5bc8ff;
}

.sd-proof-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5bc8ff;
  animation: pulseDot 2s infinite;
}

.sd-proof-label {
  font-family: var(--font-display), sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.4;
}

.sd-proof-result {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 11px 14px;
  margin-bottom: 14px;
}

.sd-proof-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sd-proof-subtext {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  color: #5bc8ff;
}

.sd-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sd-proof-link:hover {
  color: #5bc8ff;
}

/* ═══════════════════════════════════════════════════
   MAIN COLUMN — Deliverables
   ═══════════════════════════════════════════════════ */
.sd-main-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Deliverables header */
.sd-deliverables-header {
  padding-bottom: 24px;
  border-bottom: 1px solid #e8edf4;
}

.sd-deliverables-title {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  color: #000314;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sd-title-accent {
  color: #00629d;
}

.sd-deliverables-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sd-deliverables-count {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  border-radius: 100px;
  background: rgba(0, 98, 157, 0.09);
  border: 1px solid rgba(0, 98, 157, 0.18);
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 700;
  color: #00629d;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.sd-deliverables-sub {
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
  flex: 1;
  min-width: 200px;
}

/* ── Timeline ────────────────────────────────────── */
.sd-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sd-timeline-item {
  display: grid;
  grid-template-columns: 40px 20px 1fr;
  gap: 0 16px;
  position: relative;
}

.sd-timeline-number {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}

.sd-timeline-number span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 98, 157, 0.08);
  border: 1.5px solid rgba(0, 98, 157, 0.2);
  color: #00629d;
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.sd-timeline-item:hover .sd-timeline-number span {
  background: #00629d;
  border-color: #00629d;
  color: #fff;
}

/* Connector line */
.sd-timeline-connector {
  grid-column: 2;
  grid-row: 1;
  width: 2px;
  background: linear-gradient(to bottom, rgba(0, 98, 157, 0.2), rgba(0, 98, 157, 0.06));
  margin: 44px auto 0;
  min-height: 32px;
  height: calc(100% - 44px);
  border-radius: 1px;
}

.sd-timeline-connector--last {
  display: none;
}

/* Body */
.sd-timeline-body {
  grid-column: 3;
  grid-row: 1;
  padding: 0 0 32px;
}

.sd-timeline-title {
  font-family: var(--font-display), sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #000314;
  line-height: 1.4;
  margin-bottom: 6px;
  padding-top: 8px;
  transition: color 0.2s ease;
}

.sd-timeline-item:hover .sd-timeline-title {
  color: #00629d;
}

.sd-timeline-desc {
  font-size: 13px;
  color: #525666;
  line-height: 1.7;
  margin-bottom: 10px;
}

.sd-timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 600;
  color: #00629d;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sd-timeline-item:hover .sd-timeline-badge {
  opacity: 1;
}

/* ── Consultation CTA banner ─────────────────────── */
.sd-cta-banner {
  position: relative;
  background: linear-gradient(135deg, #000314 0%, #001c38 55%, #00629d 130%);
  border-radius: 22px;
  padding: 32px;
  border: 1px solid rgba(0, 98, 157, 0.3);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 3, 20, 0.15);
}

.sd-cta-banner-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  filter: blur(60px);
  right: -60px;
  bottom: -80px;
  pointer-events: none;
}

.sd-cta-banner-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 640px) {
  .sd-cta-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.sd-cta-banner-overline {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5bc8ff;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(91, 200, 255, 0.12);
  border: 1px solid rgba(91, 200, 255, 0.25);
}

.sd-cta-banner-title {
  font-family: var(--font-display), sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 6px;
}

.sd-cta-banner-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 380px;
}

.sd-cta-banner-btn {
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 24px rgba(0, 180, 216, 0.5) !important;
}

/* ═══════════════════════════════════════════════════
   PAGINATION STRIP
   ═══════════════════════════════════════════════════ */
.sd-pagination {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.sd-pagination-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 640px) {
  .sd-pagination-inner {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .sd-pagination-all {
    display: none !important;
  }
}

.sd-pagination-card {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #e8edf4;
  background: #fff;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sd-pagination-card:hover {
  border-color: rgba(0, 98, 157, 0.35);
  background: #f8fafc;
  box-shadow: 0 6px 20px rgba(0, 98, 157, 0.1);
  transform: translateY(-2px);
}

.sd-pagination-card--next {
  justify-content: flex-end;
}

.sd-pagination-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 3, 20, 0.1);
}

.sd-pagination-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sd-pagination-card:hover .sd-pagination-thumb img {
  transform: scale(1.08);
}

.sd-pagination-info {
  min-width: 0;
  flex: 1;
}

.sd-pagination-info--right {
  text-align: right;
}

.sd-pagination-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9499a8;
  margin-bottom: 4px;
}

.sd-pagination-label--right {
  justify-content: flex-end;
}

.sd-pagination-name {
  font-family: var(--font-display), sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000314;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.sd-pagination-card:hover .sd-pagination-name {
  color: #00629d;
}

.sd-pagination-sub {
  font-size: 11px;
  color: #9499a8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-pagination-all {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 14px;
  border: 1px solid #e8edf4;
  background: rgba(0, 98, 157, 0.04);
  color: #00629d;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.sd-pagination-all:hover {
  background: #00629d;
  color: #fff;
  border-color: #00629d;
  box-shadow: 0 4px 14px rgba(0, 98, 157, 0.3);
}

/* ═══════════════════════════════════════════════════
   RELATED SERVICES SECTION
   ═══════════════════════════════════════════════════ */
.sd-related-section {
  background: #f1f5f9;
}

.sd-related-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.sd-related-title {
  font-family: var(--font-display), sans-serif;
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: #000314;
  margin: 0;
}

.sd-related-view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono), monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #00629d;
  text-decoration: none;
  transition: gap 0.2s ease;
  white-space: nowrap;
}

.sd-related-view-all:hover {
  gap: 10px;
}

.sd-related-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .sd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sd-related-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sd-related-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.sd-related-card:hover {
  border-color: rgba(0, 98, 157, 0.35);
  box-shadow: 0 8px 24px rgba(0, 98, 157, 0.12);
  transform: translateY(-3px);
}

.sd-related-thumb {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 3, 20, 0.12);
}

.sd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sd-related-card:hover .sd-related-thumb img {
  transform: scale(1.1);
}

.sd-related-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 3, 20, 0.45), transparent);
}

.sd-related-body {
  flex: 1;
  min-width: 0;
}

.sd-related-overline {
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #00629d;
  margin-bottom: 3px;
}

.sd-related-name {
  font-family: var(--font-display), sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #000314;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  transition: color 0.2s ease;
  margin: 0 0 3px;
}

.sd-related-card:hover .sd-related-name {
  color: #00629d;
}

.sd-related-sub {
  font-size: 11px;
  color: #9499a8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sd-related-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00629d;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.sd-related-card:hover .sd-related-arrow {
  background: #00629d;
  color: #fff;
  border-color: #00629d;
}

/* ── Retained legacy utilities (used by other pages) ── */
.badge-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #00b4d8;
  box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 180, 216, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
  }
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 30%, #5bc8ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-panel-dark {
  background: rgba(0, 18, 46, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(91, 200, 255, 0.15);
}

.service-hero-bg {
  background: radial-gradient(circle at 85% 15%, rgba(0, 180, 216, 0.18) 0%, transparent 45%),
              radial-gradient(circle at 15% 85%, rgba(0, 98, 157, 0.25) 0%, transparent 50%),
              linear-gradient(135deg, #000314 0%, #00122e 50%, #002b4d 100%);
}

.deliverable-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.deliverable-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 98, 157, 0.4);
  box-shadow: 0 12px 30px rgba(0, 98, 157, 0.12);
}

.service-card-mini {
  transition: all 0.3s ease;
}
.service-card-mini:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 180, 216, 0.5);
  box-shadow: 0 10px 25px rgba(0, 98, 157, 0.15);
}


