/* ============================================================
   LINKGENIC DIGITECH — MASTER RESPONSIVE STYLESHEET
   Clean, Consolidated Breakpoint Architecture
   1920px (Ultra) → 1200px (Desktop) → 991px (Tablet Landscape) → 768px (Tablet Portrait) → 576px (Mobile) → 414px (Mobile Compact) → 360px (Small Mobile)
   ============================================================ */

/* ── 1. GLOBAL ROOT TOKENS & FLUID SPACING ── */
:root {
  --section-py: clamp(55px, 7vw, 110px);
  --section-px: clamp(16px, 4vw, 36px);
  --grid-gap: clamp(16px, 3vw, 32px);
  --card-radius: clamp(16px, 2.5vw, 28px);
}

html, body {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
}

section {
  padding: var(--section-py) 0;
  position: relative;
}

.container-xl {
  padding-left: var(--section-px) !important;
  padding-right: var(--section-px) !important;
}

/* ── 2. FLUID TYPOGRAPHY SYSTEM (INTEGRATED WITH GLOBAL TOKENS) ── */
h1, .page-hero-title, .hero-title, .service-hero-title, .case-hero-title {
  font-family: var(--font-family-primary);
  font-size: var(--heading-page-hero) !important;
  line-height: var(--leading-tight) !important;
  font-weight: var(--font-black) !important;
  letter-spacing: var(--tracking-hero) !important;
  margin-bottom: clamp(14px, 2.4vw, 24px) !important;
}

.hero-title {
  font-size: var(--heading-hero) !important;
  line-height: var(--leading-none) !important;
}

h2, .section-title {
  font-family: var(--font-family-primary);
  font-size: var(--heading-xl) !important;
  line-height: var(--leading-tight) !important;
  font-weight: var(--font-black) !important;
  letter-spacing: var(--tracking-tight) !important;
  margin-bottom: clamp(12px, 2vw, 22px) !important;
}

.cta-title {
  font-family: var(--font-family-primary);
  font-size: clamp(2.85rem, 6.8vw, 5.85rem) !important;
  line-height: 1.04 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em !important;
  text-transform: uppercase;
  color: var(--text);
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: clamp(18px, 2.5vw, 32px) !important;
  max-width: min(100%, 1380px) !important;
  width: 100% !important;
}

.intro-statement {
  font-family: var(--font-family-primary);
  font-size: var(--heading-page-hero) !important;
  line-height: var(--leading-tight) !important;
  font-weight: var(--font-black) !important;
  letter-spacing: var(--tracking-hero) !important;
}

h3, .card-title, .pcat-title, .reel-card-heading, .bts-card-title, .process-detail-title {
  font-family: var(--font-family-primary);
  font-size: var(--heading-md) !important;
  line-height: var(--leading-snug) !important;
  font-weight: var(--font-extrabold) !important;
  letter-spacing: var(--tracking-snug) !important;
  margin-bottom: clamp(6px, 1.2vw, 12px) !important;
}

/* ── Lead Subtitles & Descriptive Copy ── */
.intro-content-col p,
.page-hero-subtitle,
.hero-subtitle,
.hero-desc,
.text-lead,
p.lead {
  font-family: var(--font-family-primary);
  font-size: var(--text-lead) !important;
  line-height: var(--leading-relaxed) !important;
  color: var(--text-secondary);
  max-width: 100% !important;
  margin-bottom: clamp(14px, 2vw, 24px) !important;
}

/* ── CTA Section Elements (Always Centered & Impactful) ── */
.cta-content {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: 100% !important;
  width: 100% !important;
}

.cta-content .label-text {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: clamp(12px, 1.8vw, 18px) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.cta-desc,
.cta-subtitle {
  font-family: var(--font-family-primary);
  font-size: clamp(1.08rem, 1.55vw, 1.32rem) !important;
  line-height: 1.65 !important;
  color: var(--text-secondary) !important;
  max-width: min(100%, 960px) !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-top: 0 !important;
  margin-bottom: clamp(28px, 3.5vw, 42px) !important;
  text-align: center !important;
}

.cta-btn,
.cta-content .cta-btn {
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

/* ── Standard Paragraphs ── */
p, .text-body {
  font-family: var(--font-family-primary);
  font-size: var(--text-body);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
}

p.reel-card-caption, p.bts-card-desc, p.pcat-desc, .footer-desc, .card-desc {
  font-size: var(--text-desc) !important;
  line-height: var(--leading-normal) !important;
  max-width: 100% !important;
}

.label-text, .section-label, .intro-label, .service-hero-label, .case-meta-label, .case-section-label {
  font-size: var(--text-xs) !important;
  letter-spacing: var(--tracking-widest) !important;
  text-transform: uppercase !important;
  font-weight: var(--font-bold) !important;
  line-height: 1.2 !important;
}

/* ── Fluid Component Bounds for All Views ── */
.hero-luxury-widget,
.service-highlight-card,
.hero-showcase-box {
  width: 100% !important;
  max-width: 100% !important;
}

/* ── 3. BUTTONS & INTERACTIVE ELEMENTS ── */
.btn-primary-custom,
.btn-outline-custom,
.cta-btn,
.navbar-cta {
  padding: clamp(11px, 1.8vw, 16px) clamp(20px, 2.8vw, 32px) !important;
  font-size: var(--button-font-size) !important;
  font-weight: var(--font-bold) !important;
  border-radius: 100px !important;
  min-height: 46px !important;
  letter-spacing: var(--tracking-wide) !important;
  line-height: 1 !important;
}

/* ── 4. CATEGORY FILTER BAR ── */
.reels-filter-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: clamp(6px, 1.2vw, 10px) !important;
  align-items: center !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding-bottom: 6px !important;
}

.reels-filter-btn {
  font-size: clamp(0.74rem, 1.3vw, 0.84rem) !important;
  padding: clamp(6px, 1vw, 10px) clamp(12px, 1.8vw, 18px) !important;
  border-radius: 50px !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
}

/* ── 5. MASTER SECTION GRIDS (DESKTOP DEFAULT) ── */
.home-portfolio-grid,
.reels-display-grid,
.portfolio-grid,
.services-grid,
.service-cards-grid,
.team-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: var(--grid-gap) !important;
}

.bts-grid,
.why-grid,
.content-grid,
.testi-grid,
.contact-map-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: var(--grid-gap) !important;
}

/* ── 6. CARDS & CONTAINERS PADDING ── */
.portfolio-cat-card,
.pcat-card-inner,
.reel-card-item,
.bts-card-fancy,
.testimonial-card,
.service-card,
.contact-form-wrap,
.portfolio-stat-box,
.about-panel {
  padding: clamp(18px, 3.2vw, 32px) !important;
  border-radius: var(--card-radius) !important;
}

.bts-card-body {
  padding: clamp(18px, 3vw, 26px) !important;
}

.reel-info-bottom {
  padding: clamp(16px, 2.5vw, 24px) !important;
}

/* ── 7. MEDIA CONTAINERS ── */
.bts-card-fancy,
.reel-card-item {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.bts-media-preview {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  min-height: clamp(200px, 22vw, 340px) !important;
  overflow: hidden !important;
  background: #000000 !important;
  flex-shrink: 0 !important;
}

.reel-media-wrapper {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 9 / 16 !important;
  min-height: clamp(340px, 36vw, 520px) !important;
  overflow: hidden !important;
  background: #000000 !important;
  flex-shrink: 0 !important;
}

/* ── 8. TECHNICAL SPECS STRIP & FOOTER ── */
.bts-specs-strip {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: clamp(10px, 2vw, 24px) !important;
  padding: clamp(16px, 2.5vw, 24px) !important;
  margin-top: clamp(24px, 4vw, 48px) !important;
  border-radius: var(--card-radius) !important;
}

.bts-spec-item {
  font-size: clamp(0.7rem, 1.1vw, 0.82rem) !important;
}

.site-footer {
  padding: clamp(50px, 7vw, 90px) 0 30px !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: 2fr repeat(3, 1fr) !important;
  gap: clamp(20px, 3.5vw, 40px) !important;
}

.footer-col-title {
  font-size: clamp(0.85rem, 1.3vw, 1.02rem) !important;
  margin-bottom: clamp(12px, 1.8vw, 18px) !important;
  font-weight: 800 !important;
}

.footer-links a, .footer-contact-value {
  font-size: clamp(0.82rem, 1.3vw, 0.9rem) !important;
  line-height: 1.8 !important;
}


/* ============================================================
   BREAKPOINT SPECIFIC OVERRIDES
   ============================================================ */

/* ── Large Desktop ≥ 1400px ── */
@media (min-width: 1400px) {
  :root {
    --heading-xl: 3.5rem; /* 56px (balanced & refined on desktop) */
  }

  .container-xl {
    max-width: min(1560px, 92vw);
  }
  .intro-container {
    max-width: min(1560px, 92vw);
  }
}

/* ── Ultra Wide Desktop ≥ 1920px ── */
@media (min-width: 1920px) {
  .container-xl {
    max-width: min(1760px, 90vw);
  }
  .intro-container {
    max-width: min(1760px, 90vw);
  }
  .navbar-floating {
    width: min(1720px, calc(100% - 64px));
  }
}

/* ── Standard Laptops / Desktop ≤ 1279px ── */
@media (max-width: 1279.98px) {
  .navbar-links a {
    font-size: 0.78rem;
    padding: 5px 11px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

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

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

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

  .social-feed-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feed-card:nth-child(1) {
    grid-column: span 2;
  }

  .home-portfolio-grid,
  .reels-display-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Tablet Landscape / Small Laptops ≤ 991px ── */
@media (max-width: 991.98px) {
  .navbar-links {
    display: none !important;
  }

  .hamburger {
    display: flex !important;
  }

  .navbar-floating {
    top: 12px;
    width: calc(100% - 24px);
    padding: 8px 16px;
  }

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

  .about-panels .about-panel:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 32px;
  }

  .footer-grid > *:first-child {
    grid-column: 1 / -1;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .portfolio-grid,
  .service-cards-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .bts-grid,
  .why-grid,
  .content-grid,
  .testi-grid,
  .contact-map-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .portfolio-stat-box {
    max-width: 100% !important;
    margin-top: 20px !important;
  }

  .service-item-inner {
    grid-template-columns: 45px 1fr auto;
    gap: 14px;
  }

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

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

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

  .partnership-panels {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

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

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

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

  .process-detail-item {
    grid-template-columns: 70px 1fr;
    gap: 20px;
  }
}

/* ══════════════════════════════════════════
   TABLET VIEW ONLY (768px – 1024px)
   High-Velocity Engagement Architecture Cards
   ══════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {
  .engagement-flow-grid {
    gap: 14px !important;
  }

  .flow-step-arrow,
  .engagement-flow-beam {
    display: none !important;
  }

  .flow-node-card {
    padding: 22px 16px 20px !important;
    border-radius: 20px !important;
    justify-content: flex-start !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04) !important;
  }

  .flow-node-card:hover {
    transform: translateY(-4px) !important;
  }

  .flow-node-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    gap: 8px !important;
  }

  .flow-stage-badge {
    font-size: 0.60rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    padding: 4px 8px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
  }

  .flow-icon-circle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 10px !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  }

  .flow-node-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 4px !important;
    line-height: 1.25 !important;
  }

  .flow-node-subtitle {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    line-height: 1.35 !important;
    margin-bottom: 14px !important;
    text-transform: uppercase !important;
  }

  .flow-competency-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .flow-pill {
    padding: 7px 9px !important;
    border-radius: 9px !important;
    font-size: 0.72rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    gap: 6px !important;
    white-space: normal !important;
    align-items: flex-start !important;
  }

  .flow-pill i {
    font-size: 0.75rem !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
  }

  .direct-channel-card.highlight-email .channel-value {
    font-size: 0.74rem !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    letter-spacing: -0.02em !important;
  }
}

/* ── Tablet Portrait & Mobile Devices ≤ 768px ── */
@media (max-width: 768px) {
  :root {
    --section-py: clamp(40px, 6vw, 75px);
    --section-px: clamp(14px, 4vw, 24px);
  }
  /* Compact Top Header */
  .navbar-floating {
    top: 10px;
    width: calc(100% - 20px);
    max-width: 100%;
    padding: 0 !important;
  }

  .navbar-inner {
    padding: 8px 14px 8px 16px !important;
    gap: 12px !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 48px;
    border-radius: 999px;
  }

  .navbar-logo {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }

  .navbar-logo-picture,
  .navbar-logo picture {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    line-height: 0;
  }

  .navbar-logo-img {
    height: 30px !important;
    width: auto !important;
    display: block !important;
    flex-shrink: 0 !important;
    object-fit: contain !important;
  }

  .navbar-logo-text {
    display: flex !important;
    flex-direction: column !important;
  }

  .navbar-logo .logo-top {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
  }

  .navbar-logo .logo-bottom {
    font-size: 0.62rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
  }

  .navbar-actions {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
  }

  .navbar-cta {
    display: none !important;
  }

  .theme-toggle-btn {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    flex-shrink: 0 !important;
  }

  /* Sticky Bottom Nav & Floating Elements */
  .mobile-bottom-nav {
    display: flex !important;
    z-index: 9990;
  }

  .whatsapp-fab {
    bottom: 78px !important;
    right: 14px !important;
    z-index: 9980 !important;
  }

  /* Footer Bottom Padding Clearance */
  .site-footer {
    padding-bottom: 90px !important;
  }

  /* Hero Section Adjustment */
  .hero {
    min-height: auto;
    padding: 100px 0 50px;
  }

  .hero-badge, .scroll-hint {
    display: none !important;
  }

  .intro-content-col {
    padding-left: 18px !important;
    margin-top: 20px;
    border-left: 2px solid rgba(108, 92, 231, 0.25) !important;
  }

  /* Contact Direct Channel Cards */
  .direct-channels-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .direct-channel-card {
    padding: 18px 20px;
    min-height: auto;
  }

  .direct-channel-card.highlight-email .channel-value {
    font-size: clamp(0.74rem, 3.2vw, 0.82rem) !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
    letter-spacing: -0.02em !important;
  }

  /* Grids & Cards */
  .about-panels {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px;
  }

  .why-grid {
    grid-template-columns: 1fr !important;
    border-radius: var(--radius-lg);
  }

  .why-item {
    border-right: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    padding: 24px 20px;
  }

  .why-item:last-child {
    border-bottom: none;
  }

  .instagram-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .content-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .content-block {
    min-height: 160px;
  }

  .testimonial-track {
    gap: 16px;
  }

  .testimonial-card {
    width: 100%;
    flex: 0 0 100%;
    padding: 20px 18px !important;
  }

  /* ── Continuous Mobile Journey Spine & Milestones ── */
  .timeline-track {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 6px 0 0 8px !important;
  }

  .timeline-line {
    display: block !important;
    position: absolute !important;
    top: 12px !important;
    bottom: 34px !important;
    left: 15px !important;
    width: 2px !important;
    height: auto !important;
    background: linear-gradient(180deg, #3b82f6 0%, #818cf8 35%, #f97316 75%, #10b981 100%) !important;
    border-radius: 99px !important;
    z-index: 1 !important;
    opacity: 0.9 !important;
  }

  .timeline-line::after {
    display: none !important;
  }

  .timeline-item {
    position: relative !important;
    padding-left: 30px !important;
    padding-bottom: 28px !important;
    border-left: none !important;
    width: 100% !important;
    min-width: 0 !important;
    z-index: 2 !important;
  }

  .timeline-item:last-child {
    padding-bottom: 8px !important;
  }

  .timeline-dot {
    position: absolute !important;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50% !important;
    left: 0px !important;
    top: 4px !important;
    background: var(--bg) !important;
    border: 3px solid #3b82f6 !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6) !important;
    z-index: 3 !important;
  }

  .timeline-item:nth-child(2) .timeline-dot {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.6) !important;
  }

  .timeline-item:nth-child(3) .timeline-dot {
    border-color: #818cf8 !important;
    box-shadow: 0 0 10px rgba(129, 140, 248, 0.6) !important;
  }

  .timeline-item:nth-child(4) .timeline-dot {
    border-color: #f97316 !important;
    box-shadow: 0 0 10px rgba(249, 115, 22, 0.6) !important;
  }

  .timeline-item:nth-child(5) .timeline-dot {
    border-color: #10b981 !important;
    background: #10b981 !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.8) !important;
  }

  [data-theme="dark"] .timeline-item:nth-child(2) .timeline-dot {
    border-color: #60a5fa !important;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.6) !important;
    background: #0b0f19 !important;
  }

  [data-theme="dark"] .timeline-item:nth-child(3) .timeline-dot {
    border-color: #a5b4fc !important;
    box-shadow: 0 0 10px rgba(165, 180, 252, 0.6) !important;
    background: #0b0f19 !important;
  }

  [data-theme="dark"] .timeline-item:nth-child(4) .timeline-dot {
    border-color: #fb923c !important;
    box-shadow: 0 0 10px rgba(251, 146, 60, 0.6) !important;
    background: #0b0f19 !important;
  }

  [data-theme="dark"] .timeline-item:nth-child(5) .timeline-dot {
    border-color: #34d399 !important;
    background: #34d399 !important;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.8) !important;
  }

  .timeline-year {
    padding-top: 0 !important;
    font-size: 1.55rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 6px !important;
  }

  .timeline-title {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }

  .timeline-desc {
    font-size: 0.80rem !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    color: var(--text-secondary) !important;
  }

  .showcase-card {
    width: 220px;
    height: 270px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }

  .footer-grid > *:first-child {
    grid-column: auto;
  }

  .services-category .row {
    flex-direction: column;
  }

  .category-visual {
    min-height: 200px;
    margin-top: 20px;
  }

  .portfolio-grid,
  .service-cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .service-card-item {
    width: 100% !important;
  }

  .service-card-item:hover {
    transform: none !important;
  }

  .sc-floating-badges {
    top: 10px !important;
    left: 10px !important;
    right: 10px !important;
  }

  .sc-badge-glass {
    padding: 4px 10px !important;
  }

  .sc-badge-idx {
    font-size: 0.68rem !important;
  }

  .sc-badge-tag {
    font-size: 0.58rem !important;
  }

  .sc-content-wrap {
    padding: 18px 16px 16px !important;
  }

  .sc-title {
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .sc-desc {
    font-size: 0.82rem !important;
    line-height: 1.45 !important;
    min-height: auto !important;
    margin-bottom: 12px !important;
  }

  .sc-tags {
    gap: 6px !important;
    margin-bottom: 14px !important;
    min-height: auto !important;
  }

  .sc-tag {
    font-size: 0.68rem !important;
    padding: 4px 9px !important;
  }

  .sc-footer {
    padding-top: 12px !important;
  }

  .project-card {
    min-height: auto;
  }

  .contact-map-grid,
  .contact-steps-grid,
  .testi-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .custom-cursor,
  .custom-cursor-ring {
    display: none !important;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .stat-item {
    padding: 18px 16px;
  }

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

  .process-step {
    border-right: none;
    border-bottom: 1px solid rgba(17, 17, 17, 0.07);
    padding: 20px 16px;
  }

  .process-step:last-child {
    border-bottom: none;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

  .feed-card:nth-child(1) {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }

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

  .case-results-grid {
    grid-template-columns: 1fr;
  }

  .deliverables-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

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

  .cross-nav-grid {
    grid-template-columns: 1fr;
  }

  .partnership-panels {
    grid-template-columns: 1fr;
    gap: 14px;
  }

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

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

  .social-feed-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-detail-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .process-detail-num {
    font-size: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .partnership-panels-fancy,
  .process-grid-fancy,
  .engagement-flow-grid,
  .home-capabilities-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  /* ── Mission & Vision Cards (Mobile View Only) ── */
  .mission-vision {
    padding: clamp(40px, 8vw, 60px) 0 !important;
  }

  .mission-vision .mb-5 {
    margin-bottom: 24px !important;
  }

  .mv-card-luxury {
    padding: 20px 16px !important;
    border-radius: 20px !important;
  }

  .mv-card-luxury:hover,
  .mv-card-luxury.mission-card:hover {
    transform: none !important;
  }

  .mv-bg-quote-mark {
    font-size: 64px !important;
    top: -6px !important;
    right: 12px !important;
    opacity: 0.35 !important;
  }

  .mv-badge {
    padding: 5px 12px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.04em !important;
    margin-bottom: 12px !important;
    gap: 6px !important;
  }

  .mv-hero-heading {
    font-size: 1.18rem !important;
    line-height: 1.32 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 14px !important;
  }

  .mv-statement-box {
    padding: 13px 14px !important;
    margin-bottom: 16px !important;
    border-radius: 12px !important;
    border-left-width: 3px !important;
  }

  .mv-statement-quote {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
  }

  .mv-pillars-list {
    gap: 9px !important;
    padding-top: 12px !important;
  }

  .mv-pillar-item {
    gap: 10px !important;
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
    padding: 7px 10px !important;
    border-radius: 10px !important;
  }

  .mv-pillar-icon {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border-radius: 7px !important;
    font-size: 0.78rem !important;
  }

  .core-values-strip {
    margin-top: 28px !important;
  }

  .value-item {
    padding: 16px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }

  .value-icon-box {
    width: 38px !important;
    height: 38px !important;
    border-radius: 10px !important;
    font-size: 1.05rem !important;
  }

  /* ── Ultra-Luxury Hero Widgets & Highlight Cards (Mobile View Only) ── */
  .hero-luxury-widget {
    padding: 20px 18px !important;
    border-radius: 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-top: 14px !important;
  }

  .hero-luxury-widget:hover {
    transform: none !important;
    box-shadow: 0 16px 40px rgba(13, 17, 30, 0.4) !important;
  }

  .hlw-header {
    margin-bottom: 14px !important;
  }

  .hlw-tag {
    font-size: 0.65rem !important;
    letter-spacing: 0.08em !important;
    gap: 5px !important;
  }

  .hlw-badge {
    font-size: 0.62rem !important;
    padding: 3px 9px !important;
  }

  .hlw-stat-main,
  .hero-luxury-widget .hlw-stat-main {
    font-size: 2.1rem !important;
    line-height: 1.05 !important;
    margin-bottom: 6px !important;
  }

  .hlw-desc {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

  .hlw-specs-list {
    padding-top: 12px !important;
    gap: 8px !important;
  }

  .hlw-spec-row {
    font-size: 0.76rem !important;
  }

  .hlw-spec-row .spec-val {
    font-size: 0.76rem !important;
  }

  /* Service Highlight Card (Service Detail Heroes) */
  .service-highlight-card {
    padding: 20px 18px !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 14px !important;
  }

  .service-highlight-label {
    font-size: 0.65rem !important;
    letter-spacing: 0.08em !important;
  }

  .service-highlight-value {
    font-size: 2.1rem !important;
    margin: 8px 0 4px !important;
  }

  .service-highlight-copy {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
  }

  /* Hero Showcase Box (Home Page Live Capabilities) */
  .hero-showcase-box {
    padding: 18px 16px !important;
    border-radius: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 14px !important;
    animation: none !important;
  }

  .hero-showcase-box:hover {
    transform: none !important;
  }

  .hero-showcase-header {
    margin-bottom: 12px !important;
  }

  .hero-showcase-tag {
    font-size: 0.64rem !important;
    padding: 3px 9px !important;
  }

  .hero-capabilities-list {
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .hero-capability-row {
    padding: 9px 12px !important;
    border-radius: 11px !important;
  }

  .hero-cap-name {
    font-size: 0.82rem !important;
  }

  .hero-capability-info .text-xs {
    font-size: 0.68rem !important;
  }

  .hero-cap-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 0.80rem !important;
    border-radius: 8px !important;
  }

  /* Portfolio Category Cards & Strategy Pillar Cards */
  .portfolio-cat-card {
    padding: 20px 18px !important;
    border-radius: 18px !important;
    min-height: auto !important;
  }

  .portfolio-cat-card:hover {
    transform: none !important;
  }

  .pcat-top {
    margin-bottom: 14px !important;
  }

  .pcat-num {
    font-size: 0.66rem !important;
    padding: 3px 9px !important;
  }

  .pcat-icon-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 11px !important;
    font-size: 1.1rem !important;
  }

  .pcat-title {
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .pcat-desc {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
    margin-bottom: 14px !important;
  }

  .pcat-action-link {
    font-size: 0.72rem !important;
  }

  .strategy-pillar-card {
    padding: 20px 18px !important;
    border-radius: 18px !important;
  }

  .strategy-pillar-card:hover {
    transform: none !important;
  }

  .pillar-icon-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 11px !important;
    font-size: 1.1rem !important;
    margin-bottom: 14px !important;
  }

  .pillar-title {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    margin-bottom: 6px !important;
  }

  .pillar-desc {
    font-size: 0.80rem !important;
    line-height: 1.45 !important;
  }

  .testimonial-card-premium {
    padding: 22px 18px !important;
    border-radius: 18px !important;
  }

  .testimonial-card-premium:hover {
    transform: none !important;
  }

  /* ── High-Velocity Engagement Architecture Cards (Mobile View Only) ── */
  .flow-node-card {
    padding: 18px 16px !important;
    border-radius: 18px !important;
  }

  .flow-node-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 14px !important;
    gap: 10px !important;
  }

  .flow-stage-badge {
    font-size: 0.70rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    line-height: 1.2 !important;
    flex-shrink: 0 !important;
  }

  [data-theme="dark"] .flow-node-card.node-strategy .flow-stage-badge {
    color: #818cf8 !important;
    background: rgba(99, 102, 241, 0.12) !important;
    border-color: rgba(99, 102, 241, 0.25) !important;
  }

  [data-theme="dark"] .flow-node-card.node-strategy .flow-icon-circle {
    color: #818cf8 !important;
    background: rgba(99, 102, 241, 0.12) !important;
  }

  .flow-icon-circle {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: none !important;
  }

  .flow-node-title {
    font-size: 1.20rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
    letter-spacing: -0.01em !important;
  }

  .flow-node-subtitle {
    font-size: 0.80rem !important;
    margin-bottom: 14px !important;
    line-height: 1.4 !important;
  }

  .flow-competency-list {
    gap: 7px !important;
  }

  .flow-pill {
    padding: 8px 12px !important;
    border-radius: 10px !important;
    font-size: 0.78rem !important;
    gap: 8px !important;
  }

  .cap-matrix-list {
    margin-top: 24px !important;
    gap: 12px !important;
  }

  .cap-matrix-row {
    padding: 14px 16px !important;
    border-radius: 16px !important;
  }

  .cap-matrix-left {
    gap: 12px !important;
    flex: 1;
    min-width: 0;
  }

  .cap-matrix-num {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
  }

  .cap-matrix-icon-box {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.15rem !important;
    border-radius: 12px !important;
    flex-shrink: 0;
  }

  .cap-matrix-title {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    margin: 0 !important;
  }

  .cap-matrix-tag {
    display: none !important;
  }

  .cap-matrix-arrow {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.92rem !important;
    flex-shrink: 0;
  }

  .home-portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .home-portfolio-card {
    height: 340px !important;
  }

  .reels-display-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }

  .bts-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .bts-specs-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .reels-filter-bar {
    border-radius: 20px;
    width: 100%;
    justify-content: flex-start !important;
    overflow-x: auto !important;
    flex-wrap: nowrap !important;
    padding-bottom: 8px;
  }

  .reels-filter-btn {
    white-space: nowrap !important;
    font-size: 0.74rem !important;
    padding: 7px 14px !important;
  }

  .engagement-flow-beam,
  .flow-step-arrow {
    display: none !important;
  }

  .flow-outcome-bar {
    border-radius: 20px;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .ambient-orb {
    width: 180px !important;
    height: 180px !important;
    filter: blur(50px) !important;
  }

  .choice-pill-label {
    padding: 6px 12px;
    font-size: 0.76rem;
  }
}

/* ── Small Mobile / Smartphones ≤ 576px ── */
@media (max-width: 575.98px) {
  .container-xl {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 20px !important;
    font-size: var(--button-font-size) !important;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }

  .team-card {
    padding: 16px 10px;
  }

  .team-avatar {
    width: 46px;
    height: 46px;
    font-size: 0.85rem;
  }

  .service-item-inner {
    grid-template-columns: 36px 1fr 20px;
    gap: 10px;
    padding: 14px 0;
  }

  .service-name {
    font-size: 0.95rem;
  }

  .service-desc {
    font-size: 0.82rem;
  }

  .testimonial-card {
    padding: 18px 16px !important;
  }

  .instagram-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .contact-form-wrap {
    padding: 20px 16px;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 8px !important;
    text-align: center !important;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px;
  }

  .portfolio-filter-wrap {
    gap: 6px;
  }

  .filter-btn {
    padding: 6px 12px;
    font-size: 0.7rem;
  }

  .social-feed-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .feed-card:nth-child(1) {
    grid-column: span 2;
  }

  .enquiry-form-wrap {
    padding: 18px 14px;
  }

  .form-services-grid {
    grid-template-columns: 1fr !important;
  }

  .case-results-grid {
    grid-template-columns: 1fr !important;
  }

  .bts-specs-strip {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .reels-display-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ── Mobile Compact ≤ 414px ── */
@media (max-width: 414px) {
  .hero-desc {
    font-size: 0.92rem !important;
  }

  .showcase-card {
    width: 200px;
    height: 250px;
  }

  .navbar-floating {
    top: 8px;
    width: calc(100% - 16px);
    max-width: 100%;
    padding: 0 !important;
  }

  .about-panels .about-panel {
    padding: 20px 16px !important;
  }

  .industries-grid {
    grid-template-columns: 1fr !important;
    gap: 10px;
  }

  .stat-number,
  .hero-stat-number {
    font-size: var(--stat-number) !important;
  }
}

/* ── Small Devices ≤ 375px ── */
@media (max-width: 375px) {
  .navbar-logo-img {
    height: 26px !important;
  }

  .navbar-logo .logo-top {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
  }

  .navbar-logo .logo-bottom {
    font-size: 0.58rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.16em !important;
  }

  .navbar-cta {
    display: none !important;
  }

  .team-grid {
    grid-template-columns: 1fr !important;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .blog-card-visual {
    height: 150px;
  }
}

/* ── Extra Small Devices ≤ 320px ── */
@media (max-width: 320px) {
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 16px !important;
    font-size: var(--button-font-size) !important;
  }
}

/* ── Mobile Touch Enhancements ── */
@media (max-width: 768px) {
  .form-control-custom,
  select.form-control-custom {
    min-height: 46px;
    font-size: 0.92rem;
  }

  .btn-primary-custom,
  .btn-outline-custom {
    min-height: 42px;
  }

  .showcase-track-wrap {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .showcase-card {
    scroll-snap-align: center;
  }
}

/* ── Premium Agency Components Responsive Rules ── */
@media (max-width: 991.98px) {
  .service-floating-preview {
    display: none !important;
  }

  .service-row-item {
    padding: 22px 0;
  }

  .service-row-title {
    font-size: clamp(1.3rem, 4vw, 1.85rem) !important;
  }

  .horizontal-portfolio-section {
    padding: 60px 0;
  }

  .portfolio-horizontal-track {
    flex-direction: column !important;
    gap: 28px !important;
    transform: none !important;
    padding: 0 !important;
  }

  .portfolio-gallery-card {
    width: 100% !important;
  }

  .portfolio-gallery-progress-wrap {
    display: none !important;
  }

  .process-beam-line {
    display: none !important;
  }

  .typo-break-text {
    font-size: clamp(1.8rem, 6vw, 2.6rem) !important;
  }

  .testi-large-quote {
    font-size: clamp(1.2rem, 3.5vw, 1.6rem) !important;
  }
}

@media (max-width: 991.98px) {
  .interactive-services-list {
    margin-top: 28px !important;
    gap: 10px !important;
  }

  .service-row-item {
    padding: 14px 16px !important;
    border-radius: 16px !important;
    gap: 12px !important;
    align-items: center !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  }

  .service-row-item:hover,
  .service-row-item:active {
    transform: translateX(4px) !important;
  }

  .service-row-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .service-row-num {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: var(--accent) !important;
    background: rgba(40, 50, 160, 0.08) !important;
    padding: 3px 8px !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 28px !important;
  }

  [data-theme="dark"] .service-row-num {
    color: #818cf8 !important;
    background: rgba(99, 102, 241, 0.14) !important;
  }

  .service-row-title {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    word-break: break-word !important;
  }

  .service-row-right {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
    margin-left: 8px !important;
  }

  .service-row-meta {
    display: none !important;
  }

  .service-row-arrow {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    border-radius: 50% !important;
    font-size: 0.95rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .interactive-services-list {
    margin-top: 22px !important;
    gap: 8px !important;
  }

  .service-row-item {
    padding: 12px 14px !important;
    border-radius: 14px !important;
    gap: 10px !important;
  }

  .service-row-left {
    gap: 10px !important;
  }

  .service-row-num {
    font-size: 0.74rem !important;
    padding: 2px 6px !important;
    min-width: 24px !important;
  }

  .service-row-title {
    font-size: 0.88rem !important;
    line-height: 1.3 !important;
  }

  .service-row-arrow {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.85rem !important;
  }

  .flow-node-card {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }

  .flow-stage-badge {
    font-size: 0.65rem !important;
    padding: 3px 8px !important;
  }

  .flow-icon-circle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    font-size: 0.90rem !important;
    border-radius: 9px !important;
  }

  .flow-node-title {
    font-size: 1.12rem !important;
  }

  .flow-node-subtitle {
    font-size: 0.75rem !important;
    margin-bottom: 12px !important;
  }

  .flow-pill {
    padding: 7px 10px !important;
    font-size: 0.74rem !important;
  }

  /* ── Mission & Vision Extra Compact (≤ 480px) ── */
  .mv-card-luxury {
    padding: 16px 13px !important;
    border-radius: 16px !important;
  }

  .mv-bg-quote-mark {
    font-size: 50px !important;
    top: -8px !important;
    right: 10px !important;
    opacity: 0.28 !important;
  }

  .mv-badge {
    padding: 4px 10px !important;
    font-size: 0.64rem !important;
    margin-bottom: 10px !important;
  }

  .mv-hero-heading {
    font-size: 1.08rem !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
  }

  .mv-statement-box {
    padding: 11px 12px !important;
    margin-bottom: 13px !important;
    border-radius: 10px !important;
  }

  .mv-statement-quote {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  .mv-pillars-list {
    gap: 7px !important;
    padding-top: 10px !important;
  }

  .mv-pillar-item {
    gap: 8px !important;
    font-size: 0.78rem !important;
    padding: 6px 8px !important;
  }

  .mv-pillar-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    border-radius: 6px !important;
    font-size: 0.72rem !important;
  }

  /* ── Extra Compact Hero Widgets & Highlight Cards (≤ 480px) ── */
  .hero-luxury-widget,
  .service-highlight-card,
  .hero-showcase-box {
    padding: 16px 14px !important;
    border-radius: 16px !important;
  }

  .hlw-stat-main,
  .hero-luxury-widget .hlw-stat-main,
  .service-highlight-value {
    font-size: 1.85rem !important;
  }

  .hlw-desc,
  .service-highlight-copy {
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
  }

  .hlw-spec-row,
  .hlw-spec-row .spec-val {
    font-size: 0.72rem !important;
  }

  .portfolio-cat-card,
  .strategy-pillar-card,
  .testimonial-card-premium {
    padding: 16px 14px !important;
    border-radius: 15px !important;
  }

  .pcat-title,
  .pillar-title {
    font-size: 0.98rem !important;
  }

  .pcat-desc,
  .pillar-desc {
    font-size: 0.76rem !important;
  }

  /* Compact Timeline Spine & Points (≤ 480px) */
  .timeline-track {
    padding: 4px 0 0 4px !important;
  }

  .timeline-line {
    left: 10px !important;
    top: 10px !important;
    bottom: 30px !important;
  }

  .timeline-item {
    padding-left: 26px !important;
    padding-bottom: 24px !important;
  }

  .timeline-dot {
    width: 14px !important;
    height: 14px !important;
    left: 0px !important;
    top: 4px !important;
  }

  .timeline-year {
    font-size: 1.4rem !important;
    margin-bottom: 4px !important;
  }

  .timeline-title {
    font-size: 0.78rem !important;
    margin-bottom: 4px !important;
  }

  .timeline-desc {
    font-size: 0.76rem !important;
    line-height: 1.45 !important;
  }

  /* Compact Service Cards (≤ 480px) */
  .service-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .sc-content-wrap {
    padding: 16px 14px 14px !important;
  }

  .sc-title {
    font-size: 1.10rem !important;
  }

  .sc-desc {
    font-size: 0.78rem !important;
  }
}

@media (max-width: 575.98px) {
  .intro-story-card {
    padding: clamp(24px, 5.5vw, 28px);
  }

  .testi-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .testi-slider-nav {
    margin-top: 12px;
  }
}

/* ══════════════════════════════════════════════════════════════
   MOBILE SCROLL PERFORMANCE OPTIMIZATIONS
   Targets: backdrop-filter, infinite animations, transition:all,
   heavy box-shadows, will-change abuse, and GPU-thrashing effects
   that cause jank on mobile during scroll.
   ══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── 0. SOFT MOMENTUM MOBILE TOUCH SCROLL ──
     Restore fluid, soft touch momentum without rubbery CSS scroll interpolation delay. */
  html {
    scroll-behavior: auto !important;
  }

  body {
    -webkit-overflow-scrolling: touch !important;
  }

  /* ── 1. REDUCE BACKDROP-FILTER BLUR ──
     backdrop-filter is the single biggest GPU cost on mobile.
     Reduce blur radius and fall back to semi-opaque backgrounds. */

  .glass,
  .navbar-inner,
  .hero-showcase-box,
  .btn-primary-custom,
  .btn-outline-custom,
  .hero-pill-badge,
  .flow-node-card,
  .editorial-slide,
  .service-card-item,
  .pcat-sleek-card,
  .mv-card-luxury,
  .contact-card-wrap,
  .contact-channel-card,
  .reel-card-item,
  .bts-card-item,
  .bts-card-fancy,
  .portfolio-gallery-card,
  .team-card,
  .hover-glow-card,
  .faq-accordion-item,
  .testimonial-card,
  .intro-story-card,
  .client-logo-card {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }

  /* ── 2. KILL ALL INFINITE CSS ANIMATIONS ──
     These run every frame even off-screen, choking the compositor.
     Only applies to decorative/ambient animations — not one-shot transitions. */

  .ambient-orb,
  .ambient-orb-blue,
  .ambient-orb-orange,
  .scroll-hint,
  .scroll-hint-line,
  .hero-showcase-box,
  .intro-statement em,
  .whatsapp-fab-btn::before,
  .live-status-dot::before,
  .hero-pill-badge::after,
  .service-hero-pill::after,
  .flow-light-dot,
  [class*="sound-wave-bar"] {
    animation: none !important;
    animation-play-state: paused !important;
  }

  /* ── 2b. BRAND & LOGO MARQUEE: SMOOTH, SOFT & CONTINUOUS MOBILE SCROLL ──
     Ultra-soft, luxury velocity (~50s-55s) with full GPU compositing layer to eliminate all jitter. */

  .marquee-track,
  .marquee-track-reverse,
  .marquee-track-horizontal,
  .logo-scroll-track {
    animation-play-state: running !important;
    animation-timing-function: linear !important;
    will-change: transform !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    -webkit-perspective: 1000px !important;
    perspective: 1000px !important;
    contain: none !important;
  }

  .clients-marquee-section {
    padding: 24px 0 !important;
    overflow: hidden !important;
    touch-action: pan-y !important;
    contain: layout paint !important;
  }

  .marquee-container {
    width: 100% !important;
    overflow: hidden !important;
    padding: 8px 0 !important;
    contain: paint !important;
    touch-action: pan-y !important;
  }

  .marquee-container::before,
  .marquee-container::after {
    width: clamp(28px, 8vw, 52px) !important;
    pointer-events: none !important;
  }

  /* Soft, serene, luxurious continuous infinite gliding */
  .marquee-track {
    display: flex !important;
    align-items: center !important;
    width: max-content !important;
    gap: 16px !important;
    animation: infiniteLogoScroll 50s linear infinite !important;
    -webkit-animation: infiniteLogoScroll 50s linear infinite !important;
    animation-play-state: running !important;
    touch-action: pan-y !important;
  }

  .marquee-track-reverse {
    animation: infiniteLogoScrollReverse 50s linear infinite !important;
    -webkit-animation: infiniteLogoScrollReverse 50s linear infinite !important;
    animation-play-state: running !important;
    touch-action: pan-y !important;
  }

  .marquee-track-horizontal {
    animation: marqueeScroll 45s linear infinite !important;
    -webkit-animation: marqueeScroll 45s linear infinite !important;
    animation-play-state: running !important;
    touch-action: pan-y !important;
  }

  .marquee-track-horizontal.reverse {
    animation: marqueeScrollReverse 48s linear infinite !important;
    -webkit-animation: marqueeScrollReverse 48s linear infinite !important;
    animation-play-state: running !important;
    touch-action: pan-y !important;
  }

  .client-logo-card {
    height: 60px !important;
    min-width: 130px !important;
    padding: 8px 18px !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    touch-action: pan-y !important;
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
  }

  .client-logo-img {
    max-height: 38px !important;
    max-width: 96px !important;
    object-fit: contain !important;
  }

  /* Never pause on mobile screen touches or hovers */
  .marquee-container:hover .marquee-track,
  .marquee-track:hover,
  .clients-marquee-section:hover .marquee-track,
  .client-logo-card:hover .marquee-track,
  .marquee-row:hover .marquee-track-horizontal {
    animation-play-state: running !important;
  }

  @keyframes infiniteLogoScroll {
    0% {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    100% {
      -webkit-transform: translate3d(-50%, 0, 0);
      transform: translate3d(-50%, 0, 0);
    }
  }

  @-webkit-keyframes infiniteLogoScroll {
    0% {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
    100% {
      -webkit-transform: translate3d(-50%, 0, 0);
      transform: translate3d(-50%, 0, 0);
    }
  }

  @keyframes infiniteLogoScrollReverse {
    0% {
      -webkit-transform: translate3d(-50%, 0, 0);
      transform: translate3d(-50%, 0, 0);
    }
    100% {
      -webkit-transform: translate3d(0, 0, 0);
      transform: translate3d(0, 0, 0);
    }
  }

  /* ── 3. REMOVE FIXED BODY PSEUDO-ELEMENT ──
     The fixed radial-gradient overlay repaints every scroll frame. */

  body::before {
    display: none !important;
  }

  /* ── 4. SIMPLIFY AMBIENT ORBS ──
     Large blurred orbs with filter:blur(90px) are extremely expensive. */

  .ambient-orb {
    filter: blur(40px) !important;
    opacity: 0.2 !important;
  }

  /* ── 5. REPLACE transition:all WITH TARGETED PROPERTIES ──
     transition:all forces the browser to check EVERY property every frame.
     On mobile we only need transform + opacity for scroll reveals. */

  .fade-up,
  .fade-in,
  .stagger-item,
  .scroll-reveal-card,
  .reel-card-item,
  .bts-card-item,
  .bts-card-fancy {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  /* Cards should only transition transform and box-shadow on hover, not all */
  .service-card-item,
  .pcat-sleek-card,
  .team-card,
  .hover-glow-card,
  .flow-node-card,
  .mv-card-luxury,
  .testimonial-card,
  .portfolio-gallery-card,
  .client-logo-card,
  .hero-capability-row,
  .faq-accordion-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  }

  /* ── 6. DISABLE HOVER TRANSFORMS ON TOUCH DEVICES ──
     Hover states on mobile are sticky and cause phantom repaints. */

  .hero-showcase-box:hover,
  .hero-capability-row:hover,
  .service-card-item:hover,
  .pcat-sleek-card:hover,
  .team-card:hover,
  .hover-glow-card:hover,
  .flow-node-card:hover,
  .portfolio-gallery-card:hover,
  .client-logo-card:hover,
  .mv-card-luxury:hover {
    transform: none !important;
  }

  /* ── 7. REDUCE BOX-SHADOW COMPLEXITY ──
     Multi-layer shadows with large spreads are expensive to paint. */

  .hero-showcase-box,
  .intro-story-card,
  .service-card-item,
  .pcat-sleek-card,
  .flow-node-card,
  .mv-card-luxury,
  .team-card,
  .hover-glow-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  }

  /* ── 8. CLEAN UP will-change ──
     Permanent will-change wastes GPU memory. Only keep it for truly animated elements. */

  .fade-up,
  .stagger-item,
  .team-card,
  .hover-glow-card,
  .service-card-item,
  .pcat-sleek-card,
  .flow-node-card,
  .portfolio-gallery-card,
  .hero-showcase-box {
    will-change: auto !important;
  }

  /* Already-visible elements need no GPU layer promotion */
  .fade-up.visible,
  .fade-in.visible,
  .stagger-item.visible,
  .scroll-reveal-card.is-revealed {
    will-change: auto !important;
    transform: none !important;
  }

  /* ── 9. GPU LAYER PROMOTION FOR SCROLLED CONTAINERS ──
     These containers benefit from their own compositing layer. */

  .hero,
  .navbar-floating {
    will-change: transform;
    transform: translateZ(0);
  }

  /* ── 10. CONTAIN PAINT FOR HEAVY SECTIONS ──
     Prevents paint from leaking to ancestors during scroll reveals. */

  section {
    contain: layout style paint;
  }

  .team-grid,
  .pcat-grid,
  .service-cards-grid,
  .reels-display-grid,
  .industries-grid,
  .stats-grid,
  .portfolio-horizontal-track {
    contain: layout style paint;
  }

  /* ── 11. DISABLE ::before/::after DECORATIVE OVERLAYS ON CARDS ──
     Pseudo-element gradients on cards add extra paint layers. */

  .hero-showcase-box::before,
  .btn-primary-custom::after,
  .btn-outline-custom::after {
    display: none !important;
  }

  /* ── 12. SIMPLIFY SCROLL PROGRESS BAR ──
     Ensure the scroll bar uses GPU-composited properties only. */

  .scroll-progress-bar {
    will-change: transform;
    transform: translateZ(0);
  }

  /* ── 13. REDUCE GSAP SCROLL-LINKED ANIMATION OVERHEAD ──
     Process beam scrub is expensive on mobile; hide the progress beam. */

  .process-beam-progress {
    transition: none !important;
  }
}

/* Specifically for compact mobile screens */
@media (max-width: 480px) {
  .clients-marquee-section {
    padding: 18px 0 !important;
  }

  .marquee-track {
    gap: 14px !important;
    animation-duration: 62s !important; /* Soft, slow, graceful drift on narrow screens */
  }

  .marquee-track-reverse {
    animation-duration: 62s !important;
  }

  .client-logo-card {
    height: 54px !important;
    min-width: 114px !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
  }

  .client-logo-img {
    max-height: 32px !important;
    max-width: 86px !important;
  }
}

/* Specifically for very low-end devices / smaller screens */
@media (max-width: 414px) {
  .ambient-orb {
    display: none !important;
  }

  body::before {
    display: none !important;
  }
}

/* ── Print Styles ── */
@media print {
  .navbar-floating,
  .custom-cursor,
  .custom-cursor-ring,
  .hero-canvas,
  .cta-canvas,
  .scroll-hint,
  .whatsapp-fab,
  .mobile-bottom-nav,
  .mobile-more-panel {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .hero {
    min-height: auto;
    padding: 30px 0;
  }
}
