/* =========================
    BANNER SECTION
=========================  */
.premium-hero {
  isolation: isolate;
}

/* --- Multi-Layer Cinematic Overlay --- */
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.5) 30%,
      rgba(0, 0, 0, 0.1) 60%,
      transparent 100%
    ),
    radial-gradient(
      circle at 20% 50%,
      rgba(66, 133, 244, 0.12),
      transparent 50%
    );
}

/* --- Zero-Lag Image Crossfade System --- */
.hero-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08); /* Starts slightly zoomed in */
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 2s cubic-bezier(0.16, 1, 0.3, 1);
  filter: saturate(1.1) brightness(0.9);
}

.hero-bg-layer.active {
  opacity: 1;
  transform: scale(1); /* Settles into place */
}

/* --- Content Layer --- */
.hero-content {
  z-index: 2;
}

/* Container hover logic: dim non-hovered items */
.hero-text-wrapper:hover .hero-title:not(:hover) {
  opacity: 0.3;
  transform: translateX(0) scale(0.98);
  filter: blur(1px);
}

/* --- Typography & Hover Effects --- */
.hero-title {
  font-size: clamp(3rem, 4vw + 1rem, 5.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.2em;
  position: relative;
  display: inline-block; /* Keeps hover box tight to text */
  width: 100%;
  cursor: pointer;
  transform-origin: left center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Initial Stack Depth Effect */
.hero-title:nth-child(1) {
  opacity: 0.8;
}
.hero-title:nth-child(2) {
  opacity: 0.9;
}
.hero-title:nth-child(3) {
  opacity: 1;
}

.hero-title:hover {
  opacity: 1 !important;
  transform: translateX(20px) scale(1.02);
  filter: blur(0);

  /* Premium subtle gradient */
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    var(--color-blue) 45%,
    var(--color-green) 100%
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 8px 25px rgba(66, 133, 244, 0.25);
}

/* Brand Stripe Underline */
.hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
  box-shadow: 0 4px 15px rgba(66, 133, 244, 0.5);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title:hover::after {
  width: 120px;
}

/* Micro Light Sweep */
.hero-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transform: skewX(-20deg);
  transition: 0s; /* Reset instantly when not hovered */
}

.hero-title:hover::before {
  left: 200%;
  transition: left 0.8s ease-out;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
  .hero-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-title:hover {
    transform: translateX(10px) scale(1.02);
  }

  .hero-content,
  .hero-overlay {
    display: none;
  }
}

/* =========================
    SERVICE SECTION
=========================  */
.chroma-service-refined * {
  box-sizing: border-box;
}

.chroma-service-refined {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
  /* Green → Blue (Left to Right) */
  background:
    radial-gradient(
      circle at top left,
      rgba(52, 168, 83, 0.08),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(66, 133, 244, 0.08),
      transparent 40%
    ),
    var(--color-bg);
  overflow: hidden;
}

/* --- Refined Background Drift --- */
.color-canvas {
  position: absolute;
  inset: 0;
  filter: blur(120px);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

/* --- Layout Systems --- */
.chroma-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 40px);
  position: relative;
  z-index: 2;
}

.chroma-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 100px);
  align-items: center;
}

/* --- Typography & Badges --- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  background: rgba(66, 133, 244, 0.06);
  border: 1px solid rgba(66, 133, 244, 0.1);
  border-radius: 100px;
  margin-bottom: clamp(24px, 4vw, 32px);
}

.badge-label {
  font-weight: 700;
  font-size: clamp(10px, 2vw, 12px);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-blue);
}

.pulse-ring {
  width: 6px;
  height: 6px;
  background: var(--color-blue);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.1);
  animation: shadowPulse 2s infinite;
}

@keyframes shadowPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.4);
  }

  100% {
    box-shadow: 0 0 0 10px rgba(66, 133, 244, 0);
  }
}

.gradient-text {
  background: linear-gradient(90deg, var(--color-yellow), var(--color-red));
  background-size: 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: cycleColors 6s linear infinite;
}

@keyframes cycleColors {
  to {
    background-position: 300% center;
  }
}

.chroma-description {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.7;
  color: var(--text-body);
  max-width: 540px;
  margin-bottom: clamp(32px, 5vw, 48px);
}

/* --- Bento Refinement --- */
.bento-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 56px);
}

.bento-card {
  padding: clamp(20px, 4vw, 32px);
  border-radius: 24px;

  /* Gradient border system */
  background:
    linear-gradient(var(--color-surface), var(--color-surface)) padding-box,
    linear-gradient(90deg, var(--color-blue), var(--color-green)) border-box;

  border: 1px solid transparent;

  backdrop-filter: blur(12px);

  transition: all 0.5s var(--ease);

  /* base elevation */
  box-shadow: var(--shadow-sm);

  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-10px) scale(1.01);

  /* KEEP BOTH BACKGROUNDS */
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg, var(--color-blue), var(--color-green)) border-box;

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 10px 25px rgba(66, 133, 244, 0.12);

  border: 1px solid transparent;
}

.card-icon-wrapper {
  width: clamp(40px, 8vw, 48px);
  height: clamp(40px, 8vw, 48px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.icon {
  width: 24px;
  stroke-width: 2;
}

.blue-card .card-icon-wrapper {
  background: rgba(66, 133, 244, 0.1);
  color: var(--color-blue);
}

.green-card .card-icon-wrapper {
  background: rgba(52, 168, 83, 0.1);
  color: var(--color-green);
}

.bento-card h4 {
  margin-bottom: 8px;
}

.bento-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.5;
  margin: 0;
}

.btn-arrow {
  transition: 0.3s;
  display: flex;
}

.btn-arrow svg {
  width: 20px;
}

.btn-satin:hover .btn-arrow {
  transform: translateX(5px);
}

/* --- Visual Frame & Floating Cards --- */
.glass-stage {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
  width: 100%;
}

.visual-frame {
  width: 100%;
  max-width: 500px;
  border-radius: clamp(24px, 6vw, 40px);
  overflow: hidden;
  border: clamp(6px, 2vw, 12px) solid #fff;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.12);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: 0.8s var(--ease-elastic);
}

.visual-frame:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: saturate(1.2);
}

.float-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: clamp(8px, 2vw, 12px);
  border-radius: clamp(16px, 4vw, 24px);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.1);
  animation: hoverFloat 5s infinite ease-in-out;
}

.widget-red {
  top: clamp(-10px, -3vw, -20px);
  left: clamp(-10px, -3vw, -20px);
  border-left: 6px solid var(--color-red);
}

.widget-yellow {
  bottom: clamp(-15px, -4vw, -30px);
  right: clamp(-5px, -2vw, 10px);
  display: flex;
  align-items: center;
  gap: 12px;
  border-right: 6px solid var(--color-yellow);
  animation-delay: -2s;
}

.w-tag {
  font-size: clamp(9px, 2vw, 11px);
  font-weight: 800;
  text-transform: uppercase;
  color: #94a3b8;
}

.w-value {
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  font-weight: 900;
  color: var(--color-red);
  display: block;
  margin: 4px 0;
}

.w-circle-icon {
  width: clamp(32px, 8vw, 40px);
  height: clamp(32px, 8vw, 40px);
  background: var(--dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: clamp(1rem, 3vw, 1.2rem);
}

.w-text {
  font-size: clamp(0.85rem, 3vw, 1rem);
  font-weight: 600;
  color: var(--dark);
}

@keyframes hoverFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =========================================
     🔥 MOBILE APP-LIKE RESPONSIVENESS 🔥
     ========================================= */
@media (max-width: 1024px) {
  .chroma-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .status-badge {
    margin: 0 auto 24px;
  }

  .chroma-description {
    margin: 0 auto 40px auto;
  }

  .visual-frame {
    transform: none;
    /* Disable 3D tilt on smaller screens for flat app look */
  }
}

@media (max-width: 768px) {
  .bento-features {
    grid-template-columns: 1fr;
    /* Stack cards natively */
  }

  /* Make cards horizontal list items on mobile to save vertical space */
  .bento-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }

  .card-icon-wrapper {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  /* Edge-to-edge Native App Button */
  .cta-section {
    width: 100%;
  }

  .btn-satin {
    width: 100%;
    /* Full width button on mobile */
  }

  /* Ensure floating cards don't break viewport width */
  .widget-red {
    top: -15px;
    left: 5px;
  }

  .widget-yellow {
    bottom: -20px;
    right: 5px;
  }
}

@media (max-width: 480px) {
  .widget-red {
    top: -10px;
    left: 0;
    transform: scale(0.9);
    transform-origin: top left;
  }

  .widget-yellow {
    bottom: -15px;
    right: 0;
    transform: scale(0.9);
    transform-origin: bottom right;
  }
}

/* =========================================
          NEXUS SERVICE SECTION
========================================= */

.nexus-service-section * {
  box-sizing: border-box;
}

.nexus-service-section {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  /* Blue → Green (Left to Right) */
  background:
    radial-gradient(
      circle at top left,
      rgba(66, 133, 244, 0.08),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(52, 168, 83, 0.08),
      transparent 40%
    ),
    var(--color-bg);
  overflow: hidden;
}

/* --- Ambient Background --- */
.nexus-ambient-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* --- Layout --- */
.nexus-container {
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.nexus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

/* --- Typography --- */
.nexus-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(66, 133, 244, 0.1);
  color: var(--color-blue);
  border-radius: var(--radius-md);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.slide-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.nexus-gradient {
  background: linear-gradient(135deg, var(--color-blue), var(--color-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nexus-description {
  font-size: var(--fs-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

/* --- Bento Rows --- */
.nexus-bento-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.n-bento-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--color-surface);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}

.n-bento-row:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(66, 133, 244, 0.2);
}

.n-bento-row:hover .n-icon-box {
  transform: scale(1.1) rotate(-5deg);
}

.n-icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.n-icon-box svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.purple-box {
  background: rgba(66, 133, 244, 0.1);
  color: var(--color-blue);
}

.teal-box {
  background: rgba(52, 168, 83, 0.1);
  color: var(--color-green);
}

.n-bento-row:hover .teal-box {
  box-shadow: 0 10px 20px rgba(52, 168, 83, 0.18);
}

.n-bento-row:hover .purple-box {
  box-shadow: 0 10px 20px rgba(66, 133, 244, 0.18);
}

.n-bento-details h4 {
  margin: 0 0 8px 0;
  font-size: var(--fs-base);
  color: var(--color-text);
}

.n-bento-row:hover .teal-box + .n-bento-details h4 {
  color: var(--color-green);
}

.n-bento-row:hover .purple-box + .n-bento-details h4 {
  color: var(--color-blue);
}

.n-bento-details p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* --- Button --- */
.nexus-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--color-text);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.nexus-btn-primary svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.nexus-btn-primary:hover {
  background: var(--color-blue);
  transform: translateY(-2px);
}

.nexus-btn-primary:hover svg {
  transform: translateX(4px);
}

/* --- Visual --- */
.nexus-stage {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl);
  perspective: 1000px;
}

.nexus-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateY(6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease);
}

.nexus-stage:hover .nexus-image-frame {
  transform: rotateY(0) rotateX(0);
}

.nexus-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
}

/* --- Widgets --- */
.nexus-widget {
  position: absolute;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 16px;
  animation: floatNode 6s infinite ease-in-out;
}

.widget-top-right {
  top: -20px;
  right: -30px;
}

.widget-bottom-left {
  bottom: -30px;
  left: -20px;
}

.status-indicator {
  width: 12px;
  height: 12px;
}

.ping {
  background: var(--color-green);
  border-radius: 50%;
}

.metric-icon {
  width: 40px;
  height: 40px;
  background: var(--color-blue);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.w-title {
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  font-weight: 600;
}

.w-sub {
  font-size: var(--fs-sm);
  color: var(--color-text);
  font-weight: 700;
}

.w-value {
  font-size: var(--fs-lg);
  font-weight: 800;
  color: var(--color-text);
}

/* Animations */
@keyframes floatNode {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nexus-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .nexus-visual {
    order: -1;
    max-width: 600px;
    margin: 0 auto;
  }

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

  .nexus-description {
    margin: 0 auto 40px;
  }
}

@media (max-width: 640px) {
  .n-bento-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .nexus-btn-primary {
    width: 100%;
    justify-content: center;
  }
}

/* --- Ping Indicator --- */
.status-indicator {
  position: relative;
  width: 12px;
  height: 12px;
}

.ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-green);
}

.ping::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-green);
  animation: radarPing 2s infinite cubic-bezier(0, 0, 0.2, 1);
}

/* Animation */
@keyframes radarPing {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }

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

/* =========================================
          NEW SERVICE SECTION
========================================= */
.premium-signature-section {
  position: relative;
  padding: 140px 5%;
  /* Green → Blue (Left to Right) */
  background:
    radial-gradient(
      circle at top left,
      rgba(52, 168, 83, 0.08),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(66, 133, 244, 0.08),
      transparent 40%
    ),
    var(--color-bg);
  overflow: hidden;
  box-sizing: border-box;
}

.premium-signature-section * {
  box-sizing: border-box;
}

@keyframes cssOrbit {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 80px) scale(1.1);
  }
}

/* --- 3. Layout Grid --- */
.sig-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 100px;
  position: relative;
  z-index: 10;
}

.sig-content-col {
  width: 45%;
}

.sig-visual-col {
  width: 55%;
  perspective: 1200px;
  /* Crucial for CSS 3D */
}

/* --- 4. Premium Typography --- */
.sig-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.label-line {
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, #d97706, #fbbf24);
}

.label-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #1e293b;
}

.sig-headline {
  font-size: 4.5rem;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.05;
  margin: 0 0 30px 0;
  letter-spacing: -0.03em;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #b45309, #f59e0b, #d97706);
  -webkit-background-clip: text;
  color: transparent;
  display: inline-block;
}

.sig-paragraph {
  font-size: 1.15rem;
  color: #475569;
  margin-bottom: 50px;
  line-height: 1.7;
  font-weight: 400;
  max-width: 90%;
}

/* --- 5. Interactive Feature Cards (Pure CSS) --- */
.sig-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 50px;
}

.sig-feature-card {
  background: #ffffff;
  display: flex;
  gap: 24px;
  padding: 20px;
  border-radius: 20px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  cursor: default;
  margin-left: -20px;
  /* visual offset for hover state */
}

.sig-feature-card:hover {
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.03),
    0 1px 3px rgba(0, 0, 0, 0.05);
  border-color: rgba(226, 232, 240, 0.8);
  transform: translateX(10px);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.sig-feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}

.icon-amber {
  background: rgba(52, 168, 83, 0.1);
  color: var(--color-green);
}

.icon-blue {
  background: rgba(66, 133, 244, 0.1);
  color: var(--color-blue);
}

.sig-feature-card:hover .icon-amber {
  box-shadow: 0 10px 20px rgba(52, 168, 83, 0.18);
}

.sig-feature-card:hover .icon-blue {
  box-shadow: 0 10px 20px rgba(66, 133, 244, 0.18);
}

.feature-icon-wrapper svg {
  width: 24px;
  height: 24px;
  color: #475569;
  transition: color 0.3s;
}

.feature-text-wrapper h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px 0;
  transition: color 0.3s;
}

.sig-feature-card:hover .icon-amber + .feature-text-wrapper h4 {
  color: var(--color-green);
}

.sig-feature-card:hover .icon-blue + .feature-text-wrapper h4 {
  color: var(--color-blue);
}

.feature-text-wrapper p {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  line-height: 1.6;
}

/* --- 6. The CTA Button with CSS Shine --- */
.sig-cta-button {
  position: relative;
  padding: 18px 44px;
  border-radius: 60px;
  background: #0f172a;
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
}

.sig-cta-button:hover {
  transform: translateY(-4px);
  box-shadow:
    0 15px 30px rgba(15, 23, 42, 0.25),
    0 0 0 4px rgba(245, 158, 11, 0.2);
}

/* CSS Shine Effect */
.sig-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0s;
  z-index: 1;
}

.sig-cta-button:hover::before {
  animation: cssShine 1s ease forwards;
}

@keyframes cssShine {
  100% {
    left: 200%;
  }
}

.cta-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.cta-text svg {
  width: 18px;
  height: 18px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sig-cta-button:hover .cta-text svg {
  transform: translateX(6px);
}

/* --- 7. Pure CSS 3D Scene (Replacing JS) --- */
.css-3d-scene {
  position: relative;
  width: 100%;
  height: 750px;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  /* Default slight tilt to show it's 3D */
  transform: rotateY(-8deg) rotateX(4deg);
}

/* Container Hover applies the dramatic 3D shift to the scene */
.sig-visual-col:hover .css-3d-scene {
  transform: rotateY(0deg) rotateX(0deg);
}

/* --- 8. Scene Layers --- */
/* All layers have smooth transitions for the hover effect */
.layer-image,
.layer-glass {
  position: absolute;
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.8s ease;
}

/* Main Image */
.layer-image {
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  transform: translateZ(-20px);
  /* Pushed back slightly */
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0) 0%,
    rgba(15, 23, 42, 0.2) 100%
  );
  z-index: 1;
}

.layer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* On Hover: Main image pushes deeper, increasing 3D depth */
.sig-visual-col:hover .layer-image {
  transform: translateZ(-50px) scale(0.98);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* --- 9. Premium Glassmorphism UI --- */
.layer-glass {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid rgba(255, 255, 255, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.8);
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.05),
    inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
}

/* Floating Animations (Independent of Hover) */
@keyframes float1 {
  0%,
  100% {
    top: 15%;
  }

  50% {
    top: 13%;
  }
}

@keyframes float2 {
  0%,
  100% {
    bottom: 20%;
  }

  50% {
    bottom: 23%;
  }
}

@keyframes float3 {
  0%,
  100% {
    top: 35%;
  }

  50% {
    top: 32%;
  }
}

.floating-1 {
  animation: float1 7s ease-in-out infinite;
}

.floating-2 {
  animation: float2 6s ease-in-out infinite;
}

.floating-3 {
  animation: float3 5s ease-in-out infinite;
}

/* Glass 1: Score */
.glass-score {
  top: 15%;
  left: 0;
  padding: 24px;
  gap: 20px;
  transform: translateZ(40px);
}

/* .sig-visual-col:hover .glass-score {
      transform: translateZ(80px) translateX(-20px) translateY(-10px);
    } */

/* Popping out on hover */

.score-circle {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.score-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.circle-track {
  stroke: rgba(15, 23, 42, 0.1);
}

.circle-progress {
  stroke: #d97706;
  stroke-dashoffset: 100;
  stroke-linecap: round;
}

.css-animate-draw {
  animation: drawCircle 2s ease-out forwards 0.5s;
}

@keyframes drawCircle {
  to {
    stroke-dashoffset: 0;
  }
}

.score-number {
  position: absolute;
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
}

.glass-micro-label {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 1.5px;
  margin: 0 0 6px 0;
}

.glass-bold-value {
  font-size: 16px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

/* Glass 2: Status */
.glass-status {
  bottom: 20%;
  left: -5%;
  padding: 20px 28px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  transform: translateZ(60px);
}

/* .sig-visual-col:hover .glass-status {
      transform: translateZ(100px) translateX(-10px) translateY(10px);
    } */

/* Popping out further */

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

.status-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  animation: cssPulse 2s infinite;
}

@keyframes cssPulse {
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.status-label {
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-main {
  font-size: 20px;
  font-weight: 900;
  color: #0f172a;
  margin: 0;
}

/* Glass 3: Icon */
.glass-icon {
  top: 35%;
  right: -5%;
  padding: 18px;
  border-radius: 24px;
  transform: translateZ(30px);
}

/* .sig-visual-col:hover .glass-icon {
      transform: translateZ(120px) translateX(20px) rotate(5deg);
    } */

/* Popping out highest */

.gold-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    rgba(251, 188, 5, 0.18),
    rgba(234, 67, 53, 0.12)
  );

  border: 1px solid rgba(251, 188, 5, 0.28);

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

  box-shadow:
    inset 0 2px 4px rgba(255, 255, 255, 0.8),
    0 10px 20px rgba(234, 67, 53, 0.12),
    0 6px 14px rgba(251, 188, 5, 0.14);
}

.gold-icon-box i {
  font-size: 28px;

  color: var(--color-yellow);

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

  filter: drop-shadow(0 4px 8px rgba(234, 67, 53, 0.18))
    drop-shadow(0 2px 6px rgba(251, 188, 5, 0.22));
}

/* --- 10. Responsive Design --- */
@media (max-width: 1100px) {
  .sig-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .sig-content-col,
  .sig-visual-col {
    width: 100%;
  }

  .sig-label {
    justify-content: center;
  }

  .sig-feature-card {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
  }

  .sig-headline {
    font-size: 3.5rem;
  }

  .css-3d-scene {
    height: 600px;
    transform: none;
  }

  /* Disable default tilt on mobile */
  .glass-score {
    left: 5%;
  }

  .glass-status {
    left: 5%;
  }

  .glass-icon {
    right: 5%;
  }
}

/* =========================
    OUR EXPERTISE (Services Card) SECTION
=========================  */
.premium-services-light {
  background: linear-gradient(135deg, #ffffff 0%, #f4f6f8 100%);
  padding: 100px 0;
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--color-text);
}

.container {
  max-width: 1500px;
  margin: 0 auto;
}

/* Header Section */
.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.sub-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-green);
  background: var(--color-green-light);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
  display: inline-block;
}

.display-heading {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.lead-text {
  max-width: 600px;
  margin: 0 auto;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Grid Layout */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

/* Premium Card Design */
.service-card {
  background: var(--color-bg);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Card Hover */
.service-card:hover {
  transform: translateY(-8px);

  box-shadow:
    0 20px 40px -12px rgba(66, 133, 244, 0.1),
    0 10px 24px -10px rgba(251, 188, 5, 0.12);

  border-color: rgba(66, 133, 244, 0.14);
}

/* Image Handling */
.card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.05));
  pointer-events: none;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.service-card:hover .card-image img {
  transform: scale(1.08);
}

/* Content Styling */
.card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Meta Hover */
.service-card:hover .card-meta {
  background: linear-gradient(90deg, var(--color-blue), var(--color-yellow));

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Action Indicator */
.card-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);

  background: linear-gradient(90deg, var(--color-blue), var(--color-yellow));

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card:hover .card-action {
  opacity: 1;
  transform: translateX(0);
}

/* Decorative footer line */
.card-footer-line {
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: absolute;
  bottom: 0;
  left: 0;
}

.service-card:hover .card-footer-line {
  width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 650px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
  .display-heading {
    font-size: 1.8rem;
  }
  .premium-services-light {
    padding: 70px 0;
  }
}

/* =========================
    HOW WE WORK SECTION
=========================  */
.process-section {
  background:
    radial-gradient(
      circle at top left,
      rgba(66, 133, 244, 0.1),
      transparent 30%
    ),
    radial-gradient(
      circle at top right,
      rgba(251, 188, 5, 0.08),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom left,
      rgba(52, 168, 83, 0.1),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(234, 67, 53, 0.06),
      transparent 38%
    ),
    linear-gradient(180deg, #ffffff, #f8fbff);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);

  background-size: 42px 42px;

  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);

  pointer-events: none;
}

.section-heading {
  max-width: 600px;
  margin: 0 auto;
}

.section-heading p {
  font-size: 17px;
  color: #556070;
  margin-bottom: 65px;
  line-height: 1.6;
}

/* --- Grid Layout --- */
.process-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1500px;
  margin: 0 auto;
  position: relative;
}

/* --- Faded Connecting Line --- */
@media (min-width: 992px) {
  .process-wrapper::after {
    content: "";
    position: absolute;
    top: 85px;
    /* Centered perfectly with 80px icons + padding */
    left: 5%;
    width: 90%;
    height: 2px;
    /* Fades out at the ends for a premium look */
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0) 0%,
      #fbbc05 20%,
      #4285f4 50%,
      #34a853 80%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 0;
    opacity: 0.5;
  }
}

/* --- Step Cards --- */
.process-step {
  background: #ffffff;
  border-radius: 16px;
  padding: 45px 25px 40px;
  /* Soft, multi-layered modern shadow */
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.02),
    0 10px 24px rgba(0, 0, 0, 0.04);
  /* Buttery smooth easing curve */
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  transform: translateY(0);
}

/* Animated Top Gradient Border */
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ea4335, #fbbc05, #34a853, #4285f4);
  background-size: 300% 100%;
  animation: gradientMove 4s linear infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* Card Hover State */
.process-step:hover {
  transform: translateY(-8px);
  box-shadow:
    0 12px 20px rgba(0, 0, 0, 0.03),
    0 24px 48px rgba(0, 0, 0, 0.08);
}

.process-step:hover::before {
  height: 100%;
  opacity: 0.03;
  /* Soft background tint on hover */
}

/* --- Card Text --- */
.process-step h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0b1c33;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.process-step p {
  color: #556070;
  font-size: 15px;
  line-height: 1.65;
  transition: color 0.3s ease;
}

.process-step:hover h3,
.process-step:hover p {
  color: #000;
}

/* --- Icons --- */
.icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 32px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Specific Colors */
.yellow-icon {
  background: linear-gradient(135deg, #fbbc05, #fbbc09);
  box-shadow: 0 8px 16px rgba(251, 188, 5, 0.25);
}

.blue-icon {
  background: linear-gradient(135deg, #4285f4, #4285f9);
  box-shadow: 0 8px 16px rgba(66, 133, 244, 0.25);
}

.green-icon {
  background: linear-gradient(135deg, #34a853, #34a859);
  box-shadow: 0 8px 16px rgba(52, 168, 83, 0.25);
}

.red-icon {
  background: linear-gradient(135deg, #ea4335, #ea4339);
  box-shadow: 0 8px 16px rgba(234, 67, 53, 0.25);
}

/* Icon Hover Animation */
.process-step:hover .icon {
  transform: rotate(10deg) scale(1.1);
}

.process-step:hover .yellow-icon {
  box-shadow: 0 12px 24px rgba(251, 188, 5, 0.5);
}

.process-step:hover .blue-icon {
  box-shadow: 0 12px 24px rgba(66, 133, 244, 0.5);
}

.process-step:hover .green-icon {
  box-shadow: 0 12px 24px rgba(52, 168, 83, 0.5);
}

.process-step:hover .red-icon {
  box-shadow: 0 12px 24px rgba(234, 67, 53, 0.5);
}

/* --- Responsive Adjustments --- */

/* Tablets */
@media (max-width: 992px) {
  .process-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 750px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .process-section {
    padding: 70px 15px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .section-heading p {
    font-size: 15px;
    margin-bottom: 45px;
  }

  .process-wrapper {
    gap: 16px;
  }

  .process-step {
    padding: 30px 15px;
    border-radius: 12px;
  }

  .icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .process-step h3 {
    font-size: 17px;
  }

  .process-step p {
    font-size: 13px;
  }
}

/* =========================
      COUNTER SECTION
    ========================= */

.counter-section {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at top left,
      rgba(66, 133, 244, 0.08),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(52, 168, 83, 0.08),
      transparent 40%
    ),
    var(--color-bg);
}

/* subtle grid texture */
.counter-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);

  background-size: 40px 40px;

  mask-image: radial-gradient(circle at center, black 40%, transparent 90%);

  pointer-events: none;
}

/* =========================
      HEADING
    ========================= */

/* subtitle */
.counter-subtitle {
  max-width: 62ch;
  margin-inline: auto;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.8;
}

/* =========================
      GRID
    ========================= */

.counter-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}

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

.counter-card {
  position: relative;
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88))
      padding-box,
    linear-gradient(135deg, rgba(66, 133, 244, 0.25), rgba(52, 168, 83, 0.25))
      border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(18px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.04),
    0 4px 12px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition:
    transform 0.5s var(--premium-ease),
    box-shadow 0.5s var(--premium-ease);
}

/* top glow line */
.counter-card::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 2px;

  background: linear-gradient(90deg, var(--color-blue), var(--color-green));

  opacity: 0.8;
}

/* soft light glow */
.counter-card::after {
  content: "";
  position: absolute;

  inset: 0;

  background: radial-gradient(
    circle at top right,
    rgba(66, 133, 244, 0.12),
    transparent 35%
  );

  opacity: 0;

  transition: opacity 0.5s var(--premium-ease);

  pointer-events: none;
}

/* hover */
.counter-card:hover {
  transform: translateY(-12px);

  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 10px 25px rgba(66, 133, 244, 0.08);
}

.counter-card:hover::after {
  opacity: 1;
}

/* =========================
    ICON
    ========================= */

.counter-icon {
  width: 72px;
  height: 72px;

  margin-inline: auto;
  margin-bottom: var(--space-3);

  border-radius: 22px;

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

  background: linear-gradient(135deg, var(--color-blue), var(--color-green));

  color: #fff;

  font-size: 30px;

  box-shadow: 0 15px 35px rgba(66, 133, 244, 0.25);

  position: relative;
}

/* icon ring */
.counter-icon::before {
  content: "";
  position: absolute;

  inset: -6px;

  border-radius: inherit;

  border: 1px solid rgba(66, 133, 244, 0.15);
}

/* =========================
   NUMBER
    ========================= */

.counter-number {
  text-align: center;
  font-size: clamp(2.5rem, 2rem + 1vw, 3.4rem);

  font-weight: 700;

  line-height: 1;

  margin-bottom: var(--space-1);

  color: var(--color-text);

  letter-spacing: -0.04em;
}

.counter-number::after {
  content: "+";

  color: var(--color-green);

  margin-left: 2px;
}

/* =========================
   LABEL
    ========================= */

.counter-label {
  margin: 0;

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

  font-size: var(--fs-sm);

  text-align: center;

  letter-spacing: 0.02em;
}

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

@media (max-width: 992px) {
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .counter-grid {
    grid-template-columns: 1fr;
  }

  .counter-card {
    padding: var(--space-3);
  }

  .counter-icon {
    width: 64px;
    height: 64px;

    font-size: 26px;
  }
}

/* =========================
    CORE SERVICES SECTION
  ========================= */
.premium-services-overview {
  background-color: var(--bg-color);
  padding: 120px 24px;
  color: var(--text-primary);
  overflow: hidden;
}

.premium-services-overview .container {
  max-width: 1500px;
  margin: 0 auto;
}

/* Section Header */
.section-heading {
  text-align: center;
  margin-bottom: 100px;
}

.section-heading .title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  position: relative;
  display: inline-block;
}

.section-heading .title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--color-blue);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.section-heading:hover .title::after {
  width: 100px;
}

.section-heading .subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Service Rows */
.service-row {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
}

.service-row:last-child {
  margin-bottom: 0;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

/* Images */
.service-image-wrapper {
  flex: 1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
  transform: translateZ(0);
  /* Hardware acceleration */
}

.service-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  pointer-events: none;
}

.service-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-image-wrapper:hover .service-img {
  transform: scale(1.05);
}

/* Content */
.service-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.accent-text {
  color: var(--color-blue);
}

.service-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* Features List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-features li {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-features li::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #e0e7ff;
  /* Very light indigo */
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234f46e5'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

/* Button / Link */
.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-blue);
  text-decoration: none;
  align-self: flex-start;
  padding-bottom: 4px;
  position: relative;
  transition: color 0.3s ease;
}

.btn-learn-more::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-blue);
  transition: width 0.3s ease;
}

.btn-learn-more svg {
  transition: transform 0.3s ease;
}

.btn-learn-more:hover {
  color: var(--color-blue);
}

.btn-learn-more:hover::after {
  width: 100%;
}

.btn-learn-more:hover svg {
  transform: translateX(6px);
}

/* Responsive Design */
@media (max-width: 992px) {
  .service-row,
  .service-row.reverse {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 80px;
  }

  .service-image-wrapper {
    width: 100%;
  }

  .section-heading .title {
    font-size: 2.5rem;
  }

  .service-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .premium-services-overview {
    padding: 80px 20px;
  }

  .section-heading {
    margin-bottom: 60px;
  }

  .section-heading .title {
    font-size: 2rem;
  }

  .section-heading .subtitle {
    font-size: 1.125rem;
  }

  .service-title {
    font-size: 1.75rem;
  }
}

/* =========================
    TRUSTED BRANDS SECTION
=========================  */
.partnership-section {
  position: relative;
  overflow: hidden;

  max-width: 1500px;
  margin: auto;
}

/* =========================
   HEADING
========================= */
.section-heading p {
  color: var(--color-text-muted);
  text-align: center;
  max-width: 58ch;
  margin-inline: auto;
  font-size: var(--fs-base);
  line-height: 1.8;
}

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

.logo-slider {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

/* cinematic edge fade */
.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 6;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, #f8fbff, transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, #f8fbff, transparent);
}

/* =========================
   ROW
========================= */

.logo-row {
  display: flex;
  align-items: center;
  gap: calc(var(--space-5) + 10px);
  width: max-content;
  animation: scroll-left 38s linear infinite;
}

.logo-row.scroll-right {
  animation: scroll-right 38s linear infinite;
}

/* pause */
.logo-row:hover {
  animation-play-state: paused;
}

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

.logo {
  position: relative;
  flex: 0 0 auto;
  width: 220px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78))
      padding-box,
    linear-gradient(135deg, rgba(66, 133, 244, 0.18), rgba(52, 168, 83, 0.14))
      border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(18px);
  box-shadow:
    0 10px 35px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition:
    transform 0.6s var(--premium-ease),
    box-shadow 0.6s var(--premium-ease);
}

/* ambient glow */
.logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(66, 133, 244, 0.1),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.6s var(--premium-ease);
}

/* top premium line */
.logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blue), var(--color-green));
  opacity: 0.7;
}

/* hover */
.logo:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.08),
    0 10px 25px rgba(66, 133, 244, 0.08);
}

.logo:hover::before {
  opacity: 1;
}

/* =========================
   IMAGE
========================= */

.logo img {
  max-width: 140px;
  max-height: 56px;
  width: auto;
  height: auto;

  object-fit: contain;

  /* filter: grayscale(100%) contrast(0.85); */

  transition:
    transform 0.6s var(--premium-ease),
    opacity 0.6s var(--premium-ease),
    filter 0.6s var(--premium-ease);
}

.logo:hover img {
  filter: grayscale(0%) contrast(1);

  transform: scale(1.06);
}

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

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }

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

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

@media (max-width: 992px) {
  .logo {
    width: 180px;
    height: 100px;
  }

  .logo-row {
    gap: var(--space-4);
  }
}

@media (max-width: 600px) {
  .partnership-section {
    padding-block: var(--space-5);
  }

  .logo {
    width: 150px;
    height: 82px;

    border-radius: 22px;
  }

  .logo img {
    max-width: 100px;
    max-height: 40px;
  }

  .logo-slider::before,
  .logo-slider::after {
    width: 60px;
  }

  .logo-row {
    animation-duration: 24s;
  }
}

/* =========================
   PORTFOLIO SECTION
    ========================= */

.portfolio-section {
  position: relative;
}

.mx-auto {
  margin-inline: auto;
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mt-4 {
  margin-top: var(--space-4);
}

/* --- Filters --- */
.portfolio-filters {
  gap: var(--space-1);
  flex-wrap: wrap;
}

/* Override outline button for filters to look cleaner */
.portfolio-filters .btn-outline {
  border-color: transparent;
  background: rgba(0, 0, 0, 0.04);
}

.portfolio-filters .btn-outline:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--color-blue);
}

/* --- Premium Bento Grid --- */
.bento1-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  /* Base height for standard squares */
  gap: var(--space-2);
  margin-bottom: 50px;
}

/* Grid Spanning Utilities */
.span-col-2 {
  grid-column: span 2;
}

.span-row-2 {
  grid-row: span 2;
}

/* --- Portfolio Item (Card) --- */
.bento1-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  /* Acts as dark backdrop for hover opacity */
  box-shadow: var(--shadow-sm);
  cursor: pointer;

  /* Safari border-radius fix for overflow hidden */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Images inside Bento */
.bento1-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--premium-ease),
    opacity 0.5s ease;
  opacity: 0.9;
}

/* Hover Effects - Image zooms and darkens */
.bento1-item:hover img {
  transform: scale(1.08);
  opacity: 0.4;
}

/* Hover Effects - Card elevates slightly */
.bento1-item:hover {
  box-shadow: var(--shadow-md);
}

/* --- Typography & Overlay --- */
.bento1-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-3);

  /* Initial hidden state */
  opacity: 0;
  transform: translateY(15px);
  transition:
    opacity 0.4s var(--premium-ease),
    transform 0.4s var(--premium-ease);
  pointer-events: none;
}

.bento1-item:hover .bento1-overlay {
  opacity: 1;
  transform: translateY(0);
}

.bento1-overlay h6 {
  color: var(--color-yellow);
  /* Branding touch */
  margin-bottom: 4px;
}

.bento1-overlay h3 {
  color: #ffffff;
  margin-bottom: 0;
  font-size: var(--fs-lg);
}

/* Video Play Icon Utility */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: var(--color-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  padding-left: 4px;
  /* Optically center triangle */
  opacity: 0;
  transition: all 0.4s var(--premium-ease);
  box-shadow: 0 0 20px rgba(234, 67, 53, 0.4);
}

.bento1-item:hover .play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .bento1-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }

  .bento1-item.span-col-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .bento1-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }

  /* On tablets, make all spans conform to 2 columns max */
  .span-col-2 {
    grid-column: span 2;
  }

  /* Show overlay by default on mobile/touch screens for better UX */
  .bento1-overlay {
    opacity: 1;
    transform: translateY(0);
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.7) 0%,
      rgba(0, 0, 0, 0) 60%
    );
  }

  .bento1-item img {
    opacity: 0.7;
  }
}

@media (max-width: 576px) {
  .bento1-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 280px;
  }

  .span-col-2,
  .span-row-2 {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Fade in animation for filtered items */
@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

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

.portfolio-item {
  /* Set base display to block, JS will toggle it to none/block */
  display: block;
}

.portfolio-item.show-item {
  animation: fadeInScale 0.4s var(--premium-ease) forwards;
}

/* =========================
    TYPING SECTION
========================= */
.premium-typing-section {
  position: relative;
  color: var(--color-text);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  font-family: var(--font-sans-modern);

  background:
    linear-gradient(rgba(8, 12, 20, 0.48), rgba(8, 12, 20, 0.58)),
    url("https://images.unsplash.com/photo-1558655146-d09347e92766?q=80&w=1200&auto=format&fit=crop");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.premium-typing-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(66, 133, 244, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(52, 168, 83, 0.08),
      transparent 35%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.32));

  z-index: 1;

  pointer-events: none;
}

/* --- Ambient Glassmorphism Elements --- */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  z-index: 0;
  animation: float-glow 10s infinite alternate ease-in-out;
}

.glow-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(197, 160, 89, 0.2) 0%,
    rgba(249, 248, 246, 0) 70%
  );
  top: -10%;
  left: -10%;
}

.glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(230, 220, 200, 0.4) 0%,
    rgba(249, 248, 246, 0) 70%
  );
  bottom: -20%;
  right: -10%;
  animation-delay: -5s;
}

@keyframes float-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, 40px) scale(1.1);
  }
}

/* --- Content Container --- */
.premium-container {
  position: relative;
  z-index: 1;
  /* Sits above the glassmorphic glows */
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Boutique Badge --- */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 50px;
  margin-bottom: 2.5rem;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-text);
}

.sparkle {
  color: var(--color-blue);
  font-size: 0.8rem;
}

/* --- Main Typography --- */
.typing-heading {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  min-height: 1.3em;
  /* Prevents layout shift */
}

#typed-text {
  background: linear-gradient(to right, var(--color-bg), var(--color-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.premium-cursor {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background-color: var(--color-blue);
  margin-left: 0.2rem;
  vertical-align: middle;
  animation: premium-blink 1.2s steps(2, start) infinite;
}

@keyframes premium-blink {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

/* --- Subtext --- */
.premium-subtext {
  font-size: 1.125rem;
  color: #fff;
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 3rem;
}

/* --- Premium Button --- */
.btn-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background-color: transparent;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid rgba(26, 28, 32, 0.1);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-premium::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-premium:hover {
  color: #fff;
  border-color: var(--color-blue);
}

.btn-premium:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-premium svg {
  transition: transform 0.4s ease;
}

.btn-premium:hover svg {
  transform: translateX(4px);
}

/* --- Entrance Animations --- */
.fade-up-delay {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.fade-up-delay-2 {
  animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* =========================
    ZOOM SECTION
========================= */
.zoom-hero {
  padding: 0;
  position: relative;
  /* extra scroll area for zoom effect */
  height: 300vh;
  background: #000;
}

/* STICKY SCREEN */
.zoom-sticky {
  position: sticky;
  top: 0;

  width: 100%;
  height: 100vh;

  overflow: hidden;
}

/* IMAGE */
.zoom-hero img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1);

  will-change: transform;
  transition: transform 0.08s linear;
}

/* PREMIUM OVERLAY */
.zoom-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(rgba(5, 10, 20, 0.45), rgba(5, 10, 20, 0.55)),
    radial-gradient(
      circle at top left,
      rgba(66, 133, 244, 0.18),
      transparent 35%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(52, 168, 83, 0.15),
      transparent 40%
    );

  z-index: 2;
}

/* CONTENT */
.zoom-content {
  position: relative;
  z-index: 3;

  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;

  padding: 20px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(10px);

  color: #fff;

  font-size: 14px;
  letter-spacing: 1px;

  margin-bottom: 24px;
}

.zoom-content h1 {
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: 0.95;
  font-weight: 800;

  color: #fff;

  margin-bottom: 24px;

  letter-spacing: -0.05em;

  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.zoom-content p {
  color: rgba(255, 255, 255, 0.82);

  font-size: clamp(1rem, 2vw, 1.3rem);

  letter-spacing: 0.04em;

  text-align: center;
}

/* MOBILE */
@media (max-width: 768px) {
  .zoom-hero {
    height: 220vh;
  }

  .zoom-content h1 {
    line-height: 1.05;
  }
}
