/* ==========================================================================
   DIGITAL HIVE - CUSTOM THEME ENHANCEMENTS & COMPATIBILITY STYLES
   ========================================================================== */

/* 1. Ensure all animated and image animation elements are visible by default */
.wow {
  visibility: visible !important;
  opacity: 1 !important;
}

.img-custom-anim-left,
.img-custom-anim-right,
.img-custom-anim-top,
.img-custom-anim-bottom {
  opacity: 1 !important;
  visibility: visible !important;
  clip-path: none !important;
}

/* 2. Floating hero shapes positioning and visibility */
.hero-1 .mike-shape,
.hero-1 .arrow-shape,
.hero-1 .arrow-shape-2,
.hero-1 .energy-shape,
.hero-1 .rocket-shape {
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 5;
}

/* 3. Hero content and headings */
.hero-section .hero-content span,
.hero-section .hero-content h1,
.hero-section .hero-content p,
.hero-section .hero-title,
.hero-section .hero-title img,
.hero-section .hero-image,
.hero-section .hero-image img,
.hero-section .video-right,
.hero-section .video-right p,
.hero-section .video-right .client-items,
.hero-section .video-right .client-items img {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force high contrast text on hero background */
.hero-section h1,
.hero-section p,
.hero-section .video-right p {
  color: #ffffff !important;
}

/* 4. Logo sizing */
.custom-logo img,
.header-logo-3 img,
.logo img {
  width: auto !important;
  max-height: 48px !important;
  min-height: 38px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 5. Navigation visibility */
.header-1 .main-menu ul li a {
  color: #17012C !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==========================================================================
   6. BULLETPROOF DROPDOWN & SUBMENU HOVER BRIDGE (NO GAP DISAPPEARANCE)
   ========================================================================== */
.main-menu nav > ul > li {
  position: relative !important;
  padding: 24px 0 !important;
}

/* Main Submenu (Level 1) */
.main-menu .submenu {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  min-width: 340px !important;
  background: #ffffff !important; /* 100% SOLID OPAQUE - NO BACKGROUND BLEED */
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(106, 71, 237, 0.12) !important;
  box-shadow: 0 25px 60px rgba(23, 1, 44, 0.18), 0 4px 16px rgba(106, 71, 237, 0.06) !important;
  border-radius: 18px !important;
  padding: 12px 8px !important;
  margin-top: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  -webkit-transform: translateY(12px) !important;
  transform: translateY(12px) !important;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s !important;
  z-index: 99999 !important;
  display: block !important;
}

/* Invisible hover bridge pseudo-element extending upwards from submenu to navbar link */
.main-menu .submenu::before {
  content: '' !important;
  position: absolute !important;
  top: -20px !important;
  left: 0 !important;
  width: 100% !important;
  height: 20px !important;
  display: block !important;
}

/* Level 1 Submenu Visible State */
.main-menu > ul > li:hover > .submenu,
.main-menu > ul > li:focus-within > .submenu,
.main-menu .has-dropdown:hover > .submenu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  -webkit-transform: translateY(0) !important;
  transform: translateY(0) !important;
}

/* Nested Submenu (Level 2: AI Services -> Submenus) */
.main-menu .submenu li {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin-bottom: 3px !important;
}

.main-menu .submenu li .submenu {
  top: 0 !important;
  left: 100% !important;
  min-width: 320px !important;
  background: #ffffff !important; /* 100% SOLID OPAQUE - NO BACKGROUND BLEED */
  -webkit-backdrop-filter: blur(20px) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(106, 71, 237, 0.12) !important;
  box-shadow: 0 25px 60px rgba(23, 1, 44, 0.22), 0 4px 16px rgba(106, 71, 237, 0.08) !important;
  border-radius: 18px !important;
  padding: 12px 8px !important;
  margin-top: 0 !important;
  margin-left: 6px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  -webkit-transform: translateX(12px) !important;
  transform: translateX(12px) !important;
  z-index: 100000 !important;
}

/* Invisible horizontal hover bridge between parent menu item and nested menu */
.main-menu .submenu li .submenu::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -20px !important;
  width: 20px !important;
  height: 100% !important;
  display: block !important;
}

/* Level 2 Submenu Visible State */
.main-menu .submenu li:hover > .submenu,
.main-menu .submenu li:focus-within > .submenu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  -webkit-transform: translateX(0) !important;
  transform: translateX(0) !important;
}

/* Item Links inside Submenu */
.main-menu .submenu li a {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 10px 14px !important;
  border-radius: 12px !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #17012C !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.main-menu .submenu li a:hover {
  color: #6a47ed !important;
  background: rgba(106, 71, 237, 0.06) !important;
  -webkit-transform: translateX(4px) !important;
  transform: translateX(4px) !important;
}

.main-menu .submenu li.has-dropdown > a i {
  font-size: 11px !important;
  color: #8E8A9F !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease !important;
}

.main-menu .submenu li.has-dropdown:hover > a i {
  color: #6a47ed !important;
  -webkit-transform: translateX(4px) !important;
  transform: translateX(4px) !important;
}

/* Icon Badges for Dropdown Items */
.menu-icon-pill {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-right: 12px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.main-menu .submenu li a:hover .menu-icon-pill {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.menu-item-text {
  flex-grow: 1;
  text-align: left;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

/* FREE badge */
.free-badge {
  background: linear-gradient(135deg, #10B981, #059669);
  color: #ffffff !important;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
  display: inline-block;
  vertical-align: middle;
}

/* Dark Conversion Banner - Guaranteed 100% Text Visibility */
.conversion-banner {
  background: radial-gradient(circle at 50% 10%, rgba(106, 71, 237, 0.45) 0%, transparent 65%),
              linear-gradient(135deg, #17012C 0%, #1c0236 100%) !important;
  position: relative;
  overflow: hidden;
  padding: 85px 0 !important;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.conversion-banner h2 {
  font-family: 'Outfit', sans-serif !important;
  font-size: 44px !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.5px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.conversion-banner p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 17px !important;
  max-width: 650px !important;
  margin: 0 auto 32px auto !important;
  line-height: 1.7 !important;
}

@media (max-width: 768px) {
  .conversion-banner h2 {
    font-size: 32px !important;
  }
}

/* ==========================================================================
   7. BRAND LOGO MARQUEE SLIDER (BIG & CONTINUOUSLY MOVING LIKE TEXT)
   ========================================================================== */
.brand-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 25px 0 35px 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.brand-marquee-track {
  display: flex;
  white-space: nowrap;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -webkit-animation: brandMarqueeScroll 28s linear infinite;
  animation: brandMarqueeScroll 28s linear infinite;
  will-change: transform;
}

.brand-marquee-container:hover .brand-marquee-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

.brand-marquee-group {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-right: 80px;
}

.brand-marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0.95;
  cursor: pointer;
  text-decoration: none !important;
}

.brand-marquee-item:hover {
  opacity: 1;
  -webkit-transform: scale(1.12);
  transform: scale(1.12);
}

.brand-marquee-item svg {
  height: 48px !important;
  width: auto !important;
  display: block;
}

@-webkit-keyframes brandMarqueeScroll {
  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 brandMarqueeScroll {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

/* ==========================================================================
   8. MODERN EYE-CANDY & SITE-WIDE BEAUTIFICATION SYSTEM
   ========================================================================== */

/* Modern Pill Badges */
.sub-title-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(106, 71, 237, 0.08);
  border: 1px solid rgba(106, 71, 237, 0.22);
  color: #6A47ED;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(106, 71, 237, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.sub-title-pill i {
  color: #6A47ED;
  font-size: 14px;
}

/* Gradient Text Utilities with standard and prefixed properties */
.text-gradient {
  background: linear-gradient(135deg, #6A47ED 0%, #5227FF 50%, #9B51E0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.text-gradient-hero {
  background: linear-gradient(135deg, #FFB800 0%, #FF8A00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.text-gradient-stat {
  background: linear-gradient(135deg, #6A47ED 0%, #FF6B4A 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

/* ==========================================================================
   AUTHENTIC HERO SECTION POLISH (Bug Fixes & Clean Visual Balance)
   ========================================================================== */

.hero-section.hero-1 {
  position: relative;
  overflow: hidden;
  padding: 170px 0 60px 0 !important;
  background: radial-gradient(circle at 50% 25%, rgba(106, 71, 237, 0.4) 0%, transparent 65%),
              linear-gradient(135deg, #17012C 0%, #20043F 35%, #3B1277 75%, #5227FF 100%) !important;
}

/* Watermark Billboard */
.hero-1 .hero-title {
  text-align: center;
  position: relative;
  z-index: 5;
  margin-bottom: 40px;
}

.hero-1 .hero-title img {
  max-width: 95%;
  height: auto;
  opacity: 0.92;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.25));
}

/* Left Column Heading & Typography */
.hero-main-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(38px, 4.6vw, 62px) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 20px !important;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

/* Fix the tiny RESULTS bug once and for all: ensures Results matches Real Digital */
.hero-main-title .hero-gradient-keyword {
  background: linear-gradient(135deg, #FFB800 0%, #FF8A00 50%, #FF4500 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  text-transform: inherit !important;
  display: inline-block !important;
  text-shadow: none !important;
  filter: drop-shadow(0 2px 10px rgba(255, 184, 0, 0.35));
}

.hero-desc-p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
  max-width: 520px;
  margin-bottom: 16px !important;
  font-weight: 400;
}

/* Hero Badge Tag */
.hero-badge-tag {
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #efb10e !important;
  margin-bottom: 14px !important;
  display: inline-block !important;
}

/* Authentic Theme Button */
.hero-1 .main-button .theme-btn {
  background: linear-gradient(135deg, #efb10e 0%, #f59e0b 100%) !important;
  color: #17012C !important;
  font-weight: 800 !important;
  padding: 14px 28px !important;
  border-radius: 50px !important;
  box-shadow: 0 8px 25px rgba(239, 177, 14, 0.35) !important;
  transition: all 0.3s ease !important;
}

.hero-1 .main-button .arrow-btn {
  background: #17012C !important;
  color: #efb10e !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: transform 0.3s ease !important;
}

.hero-1 .main-button a:hover .theme-btn {
  background: #ffffff !important;
  color: #17012C !important;
}

.hero-1 .main-button a:hover .arrow-btn {
  transform: rotate(45deg);
}

/* Center Column Hero Image */
.hero-1 .hero-image {
  position: relative;
  z-index: 8;
  text-align: center;
}

.hero-1 .hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 35px rgba(12, 10, 21, 0.45));
}

.hero-1 .hero-image .bg-shape {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

/* Right Column Video & Proof */
.hero-1 .video-right {
  position: relative;
  z-index: 9;
}

.hero-1 .video-right .video-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  color: #ffffff;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 24px;
}

.hero-1 .video-right .video-btn:hover {
  transform: scale(1.08);
  border-color: #efb10e;
  color: #efb10e;
  box-shadow: 0 0 25px rgba(239, 177, 14, 0.4);
}

.hero-1 .video-right .video-btn img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  animation: cir36 12s linear infinite;
  pointer-events: none;
}

.hero-1 .video-right p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  margin-bottom: 24px !important;
}

.hero-1 .client-items {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-1 .client-logo img {
  max-height: 48px;
  width: auto;
}

.hero-1 .client-img {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-1 .client-img img {
  width: auto !important;
  height: 38px !important;
  max-width: 130px !important;
  border-radius: 20px !important;
  border: none !important;
  object-fit: contain !important;
  display: block !important;
}

.hero-1 .star-icon {
  display: flex;
  flex-direction: column;
}

.hero-1 .star-gold i {
  color: #efb10e;
  font-size: 12px;
  margin-right: 2px;
}

.hero-1 .star-icon span {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 3px;
}

/* Hero Section Pill Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.pulse-indicator {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  -webkit-animation: pulseGreen 2s infinite;
  animation: pulseGreen 2s infinite;
}

@-webkit-keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Smooth floating animations */
@-webkit-keyframes floatGentle {
  0%, 100% {
    -webkit-transform: translateY(0px) rotate(0deg);
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-12px) rotate(1.5deg);
    transform: translateY(-12px) rotate(1.5deg);
  }
}

@keyframes floatGentle {
  0%, 100% {
    -webkit-transform: translateY(0px) rotate(0deg);
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    -webkit-transform: translateY(-12px) rotate(1.5deg);
    transform: translateY(-12px) rotate(1.5deg);
  }
}

.hero-image img {
  -webkit-animation: floatGentle 6s ease-in-out infinite;
  animation: floatGentle 6s ease-in-out infinite;
}

/* Service Section Title Area Styling */
.service-section {
  background: radial-gradient(circle at 10% 15%, rgba(106, 71, 237, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 85%, rgba(82, 39, 255, 0.04) 0%, transparent 40%),
              #FAFAFD !important;
  position: relative;
  overflow: hidden;
}

.service-section .section-title-area {
  display: block !important;
  text-align: center !important;
  max-width: 820px;
  margin: 0 auto 50px auto !important;
}

.service-section .section-title-area p {
  border-left: none !important;
  padding-left: 0 !important;
  font-style: normal !important;
  font-size: 16px !important;
  color: #645E7A !important;
  max-width: 650px;
  margin: 14px auto 0 auto !important;
  line-height: 1.7 !important;
}

.service-section .section-title h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.25;
  color: #17012C;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .service-section .section-title h2 {
    font-size: 30px;
  }
}

/* ==========================================================================
   MODERN SERVICE CARDS (GLASSMORPHISM, AMBIENT GLOW & HOVER PHYSICS)
   ========================================================================== */
.modern-service-card {
  background: #ffffff;
  border: 1px solid rgba(106, 71, 237, 0.09);
  border-radius: 22px;
  padding: 38px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(23, 1, 44, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

/* Glowing top accent stripe on hover */
.modern-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #6A47ED, #5227FF, #FF6B4A);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 22px 22px 0 0;
}

.modern-service-card:hover {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  border-color: rgba(106, 71, 237, 0.28);
  box-shadow: 0 25px 50px -12px rgba(106, 71, 237, 0.16), 0 0 20px rgba(106, 71, 237, 0.06);
}

.modern-service-card:hover::before {
  width: 100%;
}

/* Icon Box inside Card */
.modern-service-card .service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modern-service-card:hover .service-icon-box {
  -webkit-transform: scale(1.1) rotate(4deg);
  transform: scale(1.1) rotate(4deg);
}

/* Theme Tints per service */
.theme-seo .service-icon-box {
  background: rgba(106, 71, 237, 0.1);
  border: 1px solid rgba(106, 71, 237, 0.2);
  color: #6A47ED;
}

.theme-social .service-icon-box {
  background: rgba(225, 48, 108, 0.1);
  border: 1px solid rgba(225, 48, 108, 0.2);
  color: #E1306C;
}

.theme-ads .service-icon-box {
  background: rgba(24, 119, 242, 0.1);
  border: 1px solid rgba(24, 119, 242, 0.2);
  color: #1877F2;
}

.theme-content .service-icon-box {
  background: rgba(255, 107, 74, 0.1);
  border: 1px solid rgba(255, 107, 74, 0.2);
  color: #FF6B4A;
}

.theme-branding .service-icon-box {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #8B5CF6;
}

.theme-ai .service-icon-box {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.2);
  color: #06B6D4;
}

/* Card Content */
.modern-service-card h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 700;
  color: #17012C;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.modern-service-card h4 a {
  color: inherit;
  text-decoration: none;
}

.modern-service-card:hover h4 {
  color: #6A47ED;
}

.modern-service-card p {
  font-size: 15px;
  color: #605B73;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}

/* Action Link with Sliding Arrow */
.modern-service-card .service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #17012C;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.modern-service-card .service-action-link i,
.modern-service-card .service-action-link svg {
  color: #6A47ED;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 13px;
}

.modern-service-card:hover .service-action-link {
  color: #6A47ED;
}

.modern-service-card:hover .service-action-link i,
.modern-service-card:hover .service-action-link svg {
  -webkit-transform: translateX(6px);
  transform: translateX(6px);
}

/* ==========================================================================
   METRIC / AUDIENCE COUNTER CARDS
   ========================================================================== */
.modern-stat-card {
  background: #ffffff;
  border: 1px solid rgba(106, 71, 237, 0.1);
  border-radius: 20px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.modern-stat-card:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
  border-color: rgba(106, 71, 237, 0.3);
  box-shadow: 0 20px 40px rgba(106, 71, 237, 0.12);
}

.modern-stat-card .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}

.modern-stat-card .stat-label {
  font-size: 15px;
  font-weight: 600;
  color: #555167;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Gold glowing stars in reviews & testimonials */
.star-gold i {
  color: #FFB800 !important;
  -webkit-filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.35));
  filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.35));
}

/* ==========================================================================
   8. ENHANCED SERVICE DETAIL PAGE STYLING
   ========================================================================== */
.service-detail-wrapper {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

/* Modern Hero Section */
.service-hero-modern {
  background: radial-gradient(circle at 50% 20%, rgba(106, 71, 237, 0.08) 0%, transparent 70%),
              linear-gradient(180deg, #F8F6FD 0%, #FFFFFF 100%);
  padding: 155px 0 65px 0;
  border-bottom: 1px solid #EFEBF8;
  position: relative;
}

.service-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 30px;
  border: 1px solid #E5E0F2;
  font-size: 12.5px;
  font-weight: 600;
  color: #726E82;
  margin-bottom: 22px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.service-breadcrumb a {
  color: #6a47ed;
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-breadcrumb a:hover {
  color: #efb10e;
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(106, 71, 237, 0.08);
  color: #6a47ed;
  padding: 8px 22px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(106, 71, 237, 0.18);
}

.service-hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #6a47ed;
  box-shadow: 0 0 0 0 rgba(106, 71, 237, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(106, 71, 237, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(106, 71, 237, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 71, 237, 0); }
}

.service-hero-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: clamp(32px, 4.5vw, 52px) !important;
  font-weight: 900 !important;
  color: #17012C !important;
  line-height: 1.18 !important;
  margin-bottom: 18px !important;
  letter-spacing: -0.5px;
}

.service-hero-title .text-accent {
  background: linear-gradient(135deg, #6a47ed 0%, #e1306c 50%, #efb10e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-hero-tagline {
  font-size: 18px !important;
  line-height: 1.75 !important;
  color: #555167 !important;
  max-width: 780px !important;
  margin: 0 auto 30px auto !important;
}

.service-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}

.service-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 15px;
  border-top: 1px dashed #E2DCF0;
  max-width: 820px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #4C485E;
}

.trust-item i {
  color: #10B981;
}

/* Metrics Section */
.service-metric-card {
  background: #ffffff;
  border: 1px solid #ECE7F6;
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(106, 71, 237, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
}

.service-metric-card:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  border-color: rgba(106, 71, 237, 0.35);
  box-shadow: 0 16px 36px rgba(106, 71, 237, 0.1);
}

.service-metric-card .metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #6a47ed 0%, #17012C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-metric-card .metric-lbl {
  font-size: 13px;
  font-weight: 700;
  color: #645F75;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Strategic Blueprint Card (Right Column in Overview) */
.blueprint-card {
  background: linear-gradient(135deg, #FAF8FE 0%, #FFFFFF 100%);
  border: 1px solid #E5E0F2;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.blueprint-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #6a47ed, #efb10e);
}

.blueprint-spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #EFEBF8;
}

.blueprint-spec-row:last-child {
  border-bottom: none;
}

.blueprint-spec-label {
  font-size: 13.5px;
  color: #6E6A80;
  font-weight: 600;
}

.blueprint-spec-value {
  font-size: 14px;
  color: #17012C;
  font-weight: 800;
}

.tech-tag-pill {
  display: inline-block;
  background: rgba(106, 71, 237, 0.08);
  color: #6a47ed;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin: 3px;
}

/* Capability Cards */
.capability-card {
  background: #ffffff;
  border: 1px solid #ECE7F6;
  border-radius: 18px;
  padding: 32px 26px;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.capability-card:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
  border-color: rgba(106, 71, 237, 0.35);
  box-shadow: 0 16px 36px rgba(106, 71, 237, 0.08);
}

.capability-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.capability-card:hover .capability-icon-box {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.capability-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  color: #17012C !important;
  margin-bottom: 10px !important;
}

.capability-desc {
  font-size: 14.5px !important;
  line-height: 1.65 !important;
  color: #555167 !important;
  margin: 0 !important;
}

/* Process Step Cards */
.process-step-card {
  background: #ffffff;
  border: 1px solid #ECE7F6;
  border-radius: 18px;
  padding: 30px 24px;
  position: relative;
  height: 100%;
  transition: all 0.3s ease;
}

.process-step-card:hover {
  -webkit-transform: translateY(-5px);
  transform: translateY(-5px);
  border-color: #6a47ed;
  box-shadow: 0 14px 32px rgba(106, 71, 237, 0.09);
}

.step-pill-number {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #6a47ed;
  background: rgba(106, 71, 237, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.step-card-title {
  font-family: 'Outfit', sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #17012C !important;
  margin-bottom: 10px !important;
}

.step-card-desc {
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #555167 !important;
  margin: 0 !important;
}

/* Deliverables & Guarantee */
.deliverable-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #FAF9FD;
  border-radius: 14px;
  margin-bottom: 12px;
  border: 1px solid #ECE7F6;
  transition: all 0.25s ease;
}

.deliverable-item:hover {
  background: #ffffff;
  border-color: rgba(106, 71, 237, 0.3);
  -webkit-transform: translateX(4px);
  transform: translateX(4px);
}

.deliverable-item i {
  color: #10B981;
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.deliverable-item span {
  font-size: 15px;
  font-weight: 700;
  color: #17012C;
  line-height: 1.4;
}

.growth-guarantee-card {
  background: linear-gradient(135deg, #17012C 0%, #2B0754 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 38px 32px;
  box-shadow: 0 16px 40px rgba(23, 1, 44, 0.25);
  position: relative;
  overflow: hidden;
}

.growth-guarantee-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(239, 177, 14, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.growth-guarantee-card h3 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-size: 26px !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
}

.growth-guarantee-card p {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  margin-bottom: 22px !important;
}

/* FAQ Accordion */
.faq-modern-card {
  border: 1px solid #EAE5F5;
  border-radius: 14px;
  margin-bottom: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-modern-card.active {
  border-color: #6a47ed;
  box-shadow: 0 8px 24px rgba(106, 71, 237, 0.08);
}

.faq-modern-trigger {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 800;
  font-size: 16.5px;
  color: #17012C;
  font-family: 'Outfit', sans-serif;
  user-select: none;
}

.faq-modern-card.active .faq-modern-trigger {
  color: #6a47ed;
}

.faq-modern-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(106, 71, 237, 0.08);
  color: #6a47ed;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
}

.faq-modern-card.active .faq-modern-icon {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
  background: #6a47ed;
  color: #ffffff;
}

.faq-modern-body {
  padding: 0 24px 22px 24px;
  color: #555167;
  font-size: 15px;
  line-height: 1.7;
}

/* Related Services Horizontal Pills */
.related-services-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.related-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 30px;
  background: #FAF8FE;
  border: 1px solid #ECE7F6;
  color: #17012C;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.related-service-pill:hover {
  background: #6a47ed;
  color: #ffffff !important;
  border-color: #6a47ed;
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(106, 71, 237, 0.2);
}

.related-service-pill i {
  font-size: 12px;
}

/* ==========================================================================
   9. MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

@media (max-width: 991px) {
  .service-hero-modern {
    padding: 125px 0 50px 0 !important;
  }
  .service-overview-section,
  .service-capabilities-section,
  .service-process-section,
  .service-deliverables-section,
  .service-faq-section {
    padding: 60px 0 !important;
  }
  .blueprint-card {
    margin-top: 25px;
    padding: 28px 20px !important;
  }
  .growth-guarantee-card {
    margin-top: 25px;
    padding: 30px 22px !important;
  }
}

@media (max-width: 768px) {
  /* Fluid Typography for Mobile Headings */
  h1, .service-hero-title {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  h2 {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  h3 {
    font-size: 20px !important;
  }
  h4 {
    font-size: 18px !important;
  }

  .service-hero-tagline {
    font-size: 15px !important;
    line-height: 1.6 !important;
    padding: 0 10px;
  }

  .service-hero-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 12px !important;
  }

  .service-hero-actions .theme-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 14px !important;
  }

  .service-trust-strip {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    padding-top: 15px !important;
  }

  .trust-item {
    font-size: 12.5px !important;
  }

  .service-metric-card {
    padding: 20px 14px !important;
  }

  .service-metric-card .metric-val {
    font-size: 30px !important;
  }

  .service-metric-card .metric-lbl {
    font-size: 12px !important;
  }

  .capability-card {
    padding: 24px 18px !important;
  }

  .capability-icon-box {
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    border-radius: 10px !important;
    margin-bottom: 14px !important;
  }

  .process-step-card {
    padding: 22px 18px !important;
  }

  .blueprint-spec-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }

  .deliverable-item {
    padding: 12px 14px !important;
    gap: 10px !important;
  }

  .deliverable-item span {
    font-size: 13.5px !important;
  }

  .faq-modern-trigger {
    font-size: 14.5px !important;
    padding: 16px 18px !important;
  }

  .faq-modern-body {
    font-size: 14px !important;
    padding: 0 18px 16px 18px !important;
  }

  .conversion-banner {
    padding: 50px 15px !important;
  }

  .conversion-banner h2 {
    font-size: 24px !important;
  }

  .conversion-banner p {
    font-size: 14px !important;
    margin-bottom: 24px !important;
  }

  /* Mobile Drawer Adjustments */
  .offcanvas__info {
    width: 310px !important;
    max-width: 85vw !important;
  }

  .header-main {
    padding: 10px 0 !important;
  }
}

/* ==========================================================================
   COMPREHENSIVE TABLET & MOBILE RESPONSIVE POLISH
   ========================================================================== */

/* Tablet Optimization (768px to 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
  .container-fluid {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .header-main {
    padding: 14px 0 !important;
  }

  .hero-section {
    padding-top: 130px !important;
    padding-bottom: 70px !important;
  }

  .hero-content h1 {
    font-size: 42px !important;
    line-height: 1.2 !important;
  }

  .hero-content p {
    font-size: 15px !important;
  }

  .hero-image {
    text-align: center;
    margin: 20px 0;
  }

  .hero-image img {
    max-width: 80% !important;
  }

  .video-right {
    margin-top: 25px;
  }

  .hero-ambient-watermark {
    font-size: clamp(50px, 9vw, 90px) !important;
    letter-spacing: 6px !important;
  }

  .hero-floating-badge.badge-top-right {
    right: 0 !important;
  }

  .hero-floating-badge.badge-bottom-left {
    left: 0 !important;
  }

  /* 2-column grids for all cards on tablets */
  .service-process-grid,
  .service-capabilities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }

  .service-metrics-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
}

/* Mobile Polish (< 768px) */
@media (max-width: 767px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
  }

  .hero-section {
    padding-top: 110px !important;
    padding-bottom: 50px !important;
  }

  .hero-content h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
  }

  .hero-pill-badge {
    font-size: 11px !important;
    padding: 6px 14px !important;
  }

  .hero-content p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .hero-image img {
    max-width: 90% !important;
    margin: 0 auto;
  }

  .client-items {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Full single-column stacks on mobile */
  .service-process-grid,
  .service-capabilities-grid,
  .service-metrics-strip {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Sticky Header on mobile */
  #header-sticky.sticky {
    padding: 8px 0 !important;
  }

  /* Section padding reductions for compact mobile screen */
  .service-overview-section,
  .service-capabilities-section,
  .service-process-section,
  .service-deliverables-section,
  .service-faq-section {
    padding: 45px 0 !important;
  }

  /* Hero Mobile Refinements */
  .hero-ambient-watermark {
    font-size: clamp(34px, 8.5vw, 60px) !important;
    letter-spacing: 4px !important;
    top: 8px !important;
    opacity: 0.7 !important;
  }

  .hero-main-title {
    font-size: clamp(28px, 7vw, 36px) !important;
    line-height: 1.2 !important;
    margin-bottom: 15px !important;
  }

  .hero-metrics-chips {
    gap: 8px !important;
    margin-bottom: 22px !important;
  }

  .hero-chip {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }

  .hero-actions-modern {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .theme-btn-hero,
  .theme-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-center-stage {
    margin: 25px auto 15px auto !important;
    display: block !important;
  }

  .hero-character-aura {
    width: 240px !important;
    height: 240px !important;
  }

  .hero-floating-badge.badge-top-right {
    top: 4% !important;
    right: 0 !important;
    transform: scale(0.82) !important;
    transform-origin: right center !important;
  }

  .hero-floating-badge.badge-bottom-left {
    bottom: 4% !important;
    left: 0 !important;
    transform: scale(0.82) !important;
    transform-origin: left center !important;
  }

  .hero-right-card {
    margin-top: 25px !important;
  }

  /* Guarantee Full Page Mobile Menu Drawer on Phone */
  .offcanvas__info {
    width: 100% !important;
    width: 100vw !important;
    max-width: 100% !important;
    min-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    border-left: none !important;
  }

  .offcanvas__wrapper {
    padding: 20px 16px 40px 16px !important;
  }
}

/* Global State: When Mobile Nav is Active */
body.offcanvas-open {
  overflow: hidden !important;
}

body.offcanvas-open .header-1,
body.offcanvas-open #header-sticky {
  pointer-events: none !important;
}

body.offcanvas-open .dh-dock-trigger,
body.offcanvas-open #dh-sidebar-trigger {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateY(-50%) translateX(100%) !important;
  transition: all 0.25s ease !important;
}

/* ==========================================================================
   Case Studies Accordion Enhancement & Visual Bug Fixes
   ========================================================================== */
.case-study-wrapper .main-box {
  display: flex !important;
  align-items: stretch !important;
  gap: 16px !important;
  height: 400px !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.case-study-wrapper .main-box .box {
  height: 400px !important;
  margin-top: 0 !important;
  border-radius: 24px !important;
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
  transition: flex 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease,
              transform 0.3s ease !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Background image assignments */
.case-study-wrapper .main-box .box:nth-child(1) {
  background-image: url(/assets/img/case-studies/02.jpg) !important;
}
.case-study-wrapper .main-box .box:nth-child(2) {
  background-image: url(/assets/img/case-studies/03.jpg) !important;
}
.case-study-wrapper .main-box .box:nth-child(3) {
  background-image: url(/assets/img/case-studies/04.jpg) !important;
}
.case-study-wrapper .main-box .box:nth-child(4) {
  background-image: url(/assets/img/case-studies/05.jpg) !important;
}

/* Collapsed Pill (Desktop >= 992px) */
@media (min-width: 992px) {
  .case-study-wrapper .main-box .box:not(.active) {
    flex: 0 0 84px !important;
    width: 84px !important;
    min-width: 84px !important;
    max-width: 84px !important;
  }

  .case-study-wrapper .main-box .box.active {
    flex: 1 1 330px !important;
    width: auto !important;
    min-width: 280px !important;
    cursor: default !important;
  }
}

/* Collapsed Card Styling: Modern Brand Dark Violet Glass */
.case-study-wrapper .main-box .box:not(.active)::before {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  content: "" !important;
  border-radius: 24px !important;
  background: linear-gradient(180deg, rgba(38, 12, 74, 0.94) 0%, rgba(20, 2, 42, 0.98) 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  transition: all 0.35s ease !important;
  display: block !important;
}

.case-study-wrapper .main-box .box:not(.active):hover::before {
  background: linear-gradient(180deg, rgba(50, 16, 96, 0.96) 0%, rgba(26, 3, 54, 0.98) 100%) !important;
  border-color: rgba(251, 176, 59, 0.5) !important;
}

.case-study-wrapper .main-box .box:not(.active):hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 16px rgba(251, 176, 59, 0.15) !important;
}

/* Active Card Styling: Frosted Glass Overlay with Subtle Border */
.case-study-wrapper .main-box .box.active::before {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  content: "" !important;
  border-radius: 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.32) !important;
  background: linear-gradient(180deg, rgba(30, 8, 62, 0.42) 0%, rgba(18, 2, 38, 0.88) 100%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28) !important;
  display: block !important;
}

/* Fix Rotated Title: Center, No Wrap, No Ruby Text Clipping */
.case-study-wrapper .main-box .box .title-items {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 5 !important;
  pointer-events: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.case-study-wrapper .main-box .box.active .title-items {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.case-study-wrapper .main-box .box .title-items h3 {
  position: absolute !important;
  top: 44% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) rotate(-90deg) !important;
  transform-origin: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
  text-align: center !important;
}

.case-study-wrapper .main-box .box .title-items h3 a {
  display: block !important;
  white-space: nowrap !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  line-height: 1 !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

/* Collapsed Pill Bottom Number Badge */
.case-study-wrapper .main-box .box .title-items .number {
  position: absolute !important;
  bottom: 22px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  text-align: center !important;
  border-radius: 50% !important;
  background: #FBB03B !important;
  color: #17012C !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  margin: 0 !important;
  display: block !important;
}

/* Active Box Top Number Badge */
.case-study-wrapper .main-box .box .number-hover {
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  text-align: center !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: #17012C !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  position: absolute !important;
  top: 24px !important;
  left: 24px !important;
  z-index: 6 !important;
}

.case-study-wrapper .main-box .box.active .number-hover {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Active Box Content */
.case-study-wrapper .main-box .box.active .project-content {
  opacity: 1 !important;
  visibility: visible !important;
  bottom: 28px !important;
  left: 28px !important;
  right: 28px !important;
  z-index: 6 !important;
  position: absolute !important;
}

.case-study-wrapper .main-box .box.active .project-content h3 {
  margin-bottom: 10px !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.case-study-wrapper .main-box .box.active .project-content h3 a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.case-study-wrapper .main-box .box.active .project-content p {
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  margin-bottom: 16px !important;
}

.case-study-wrapper .main-box .box.active .project-content .link-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #FBB03B !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.case-study-wrapper .main-box .box.active .project-content .link-btn:hover {
  color: #ffffff !important;
  transform: translateX(4px) !important;
}

/* Tablet & Mobile Layout (< 992px) */
@media (max-width: 991px) {
  .case-study-wrapper .main-box {
    flex-direction: column !important;
    height: auto !important;
    gap: 16px !important;
    margin-top: 24px !important;
  }

  .case-study-wrapper .main-box .box {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    height: auto !important;
    min-height: 220px !important;
  }

  .case-study-wrapper .main-box .box .title-items {
    display: none !important;
  }

  .case-study-wrapper .main-box .box .number-hover {
    opacity: 1 !important;
    visibility: visible !important;
    top: 20px !important;
    left: 20px !important;
  }

  .case-study-wrapper .main-box .box .project-content {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 72px 22px 24px 22px !important;
  }

  .case-study-wrapper .main-box .box::before {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    content: "" !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(30, 8, 62, 0.6) 0%, rgba(18, 2, 38, 0.94) 100%) !important;
    backdrop-filter: blur(14px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
  }
}

/* ==========================================================================
   Portfolio Page Case Study Cards Enhancement
   ========================================================================== */
.portfolio-case-study-card {
  background: #ffffff !important;
  border: 1px solid #ECE7F6 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 10px 30px rgba(23, 1, 44, 0.04) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease !important;
}

.portfolio-case-study-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(106, 71, 237, 0.35) !important;
  box-shadow: 0 20px 45px rgba(106, 71, 237, 0.12) !important;
}

.portfolio-case-study-card .portfolio-card-banner {
  height: 200px !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #17012C 0%, #20043F 45%, #3B1277 100%) !important;
}

.portfolio-case-study-card .portfolio-card-banner .ambient-glow {
  position: absolute !important;
  width: 220px !important;
  height: 220px !important;
  border-radius: 50% !important;
  filter: blur(50px) !important;
  pointer-events: none !important;
  opacity: 0.6 !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.portfolio-case-study-card:hover .portfolio-card-banner .ambient-glow {
  opacity: 0.85 !important;
  transform: scale(1.15) !important;
}

.portfolio-case-study-card .portfolio-card-banner .icon-badge {
  position: relative !important;
  z-index: 2 !important;
  width: 76px !important;
  height: 76px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-case-study-card:hover .portfolio-card-banner .icon-badge {
  transform: scale(1.08) !important;
}

.portfolio-case-study-card .portfolio-card-banner .corner-pill {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  z-index: 2 !important;
  background: rgba(23, 1, 44, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 20px !important;
  padding: 5px 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
}

.portfolio-case-study-card .portfolio-card-body {
  padding: 28px 28px 24px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.portfolio-case-study-card .category-tag {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 12px !important;
  width: fit-content !important;
}

.portfolio-case-study-card .card-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #17012C !important;
  margin-bottom: 12px !important;
  line-height: 1.35 !important;
}

.portfolio-case-study-card .card-desc {
  font-size: 15px !important;
  color: #555062 !important;
  line-height: 1.65 !important;
  margin-bottom: 20px !important;
  flex-grow: 1 !important;
}

.portfolio-case-study-card .pills-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 22px !important;
}

.portfolio-case-study-card .pill-item {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #645F75 !important;
  background: #F6F3FE !important;
  border: 1px solid #ECE7F6 !important;
  border-radius: 12px !important;
  padding: 4px 10px !important;
}

.portfolio-case-study-card .card-footer-action {
  border-top: 1px solid #F0EDF7 !important;
  padding-top: 16px !important;
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.portfolio-case-study-card .action-link {
  color: #6A47ED !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
}

.portfolio-case-study-card:hover .action-link {
  color: #17012C !important;
  gap: 12px !important;
}

/* ==========================================================================
   CTA Section Seam & Background Fix
   ========================================================================== */
.cta-section {
  position: relative !important;
  background: #ffffff !important;
  padding: 60px 0 80px 0 !important;
}

.cta-section::before {
  display: none !important;
}

.cta-wrapper {
  margin-top: 0 !important;
  border-radius: 28px !important;
}

.cta-wrapper h2 {
  margin-left: 0 !important;
}

/* ==========================================================================
   MASTER MOBILE & TABLET OPTIMIZATION (All Pages & Components)
   ========================================================================== */

/* 1. Global Viewport & Zero-Overflow Safeguards */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
}

/* Ensure inputs never zoom on iOS Safari (min font size 16px) */
input, textarea, select {
  font-size: 16px !important;
}

/* 2. Responsive Breakpoint: Tablet & Small Desktop (max-width: 991px) */
@media (max-width: 991px) {
  /* Section Spacing */
  .section-padding {
    padding: 60px 0 !important;
  }

  /* Sticky Header */
  .header-main {
    padding: 12px 0 !important;
  }

  /* Hero Section */
  .hero-1 {
    padding: 110px 0 60px 0 !important;
  }

  .hero-1 .container-fluid {
    padding: 0 20px !important;
  }

  .hero-1 .hero-title {
    margin-bottom: 25px !important;
  }

  .hero-1 .hero-title img {
    max-width: 90% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .hero-main-title {
    font-size: clamp(30px, 6.5vw, 44px) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  .hero-1 .hero-content {
    text-align: center !important;
  }

  .hero-1 .hero-content p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-1 .hero-content .main-button {
    display: flex !important;
    justify-content: center !important;
  }

  .hero-1 .hero-image {
    margin: 30px auto 15px auto !important;
    text-align: center !important;
    max-width: 320px !important;
  }

  .hero-1 .video-right {
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
  }

  .hero-1 .video-right p {
    max-width: 500px !important;
    margin: 0 auto 15px auto !important;
  }

  .hero-1 .video-right .client-items {
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* About Section */
  .about-section {
    padding: 60px 0 !important;
  }

  .about-section .about-image {
    max-width: 320px !important;
    margin: 0 auto 30px auto !important;
  }

  .about-content {
    text-align: center !important;
    padding-left: 0 !important;
  }

  .about-content .about-button {
    display: flex !important;
    justify-content: center !important;
  }

  /* Audience Reach Counters */
  .counter-box-area {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .counter-box-area .counter-box {
    min-width: 100% !important;
  }

  /* CTA Section */
  .cta-section {
    padding: 50px 0 60px 0 !important;
  }

  .cta-wrapper {
    padding: 45px 30px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 25px !important;
  }

  .cta-wrapper h2 {
    font-size: 30px !important;
  }

  .cta-wrapper p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Interior Page Hero Banners */
  .about-us-hero,
  .interior-hero,
  .portfolio-hero,
  .contact-hero {
    padding-top: 130px !important;
    padding-bottom: 60px !important;
  }

  .about-us-hero h1,
  .interior-hero h1,
  .portfolio-hero h1,
  .contact-hero h1 {
    font-size: 38px !important;
  }

  /* Footer */
  .footer-section.footer-bg {
    padding-top: 60px !important;
    padding-bottom: 25px !important;
  }
}

/* 3. Responsive Breakpoint: Mobile Phones (max-width: 767px) */
@media (max-width: 767px) {
  /* Headings & Typography */
  h1, .hero-main-title, .page-title {
    font-size: clamp(26px, 7.5vw, 34px) !important;
    line-height: 1.25 !important;
  }

  h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 19px !important;
  }

  p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
  }

  /* Header on Mobile Phone */
  .header-main {
    padding: 10px 0 !important;
  }

  .header-logo-3 img {
    max-height: 38px !important;
  }

  .sidebar__toggle {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Full Page Mobile Nav Drawer */
  .offcanvas__info {
    width: 100vw !important;
    max-width: 100% !important;
    padding: 20px 18px 40px 18px !important;
  }

  .offcanvas__menu ul li a {
    font-size: 17px !important;
    padding: 12px 0 !important;
  }

  /* Hero Section Mobile */
  .hero-1 {
    padding: 95px 0 40px 0 !important;
  }

  .hero-1 .container-fluid {
    padding: 0 16px !important;
  }

  .hero-1 .hero-title {
    margin-bottom: 16px !important;
  }

  .hero-1 .hero-title img {
    max-width: 95% !important;
  }

  .hero-badge-tag {
    font-size: 11px !important;
    padding: 4px 12px !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 12px !important;
  }

  .hero-main-title {
    margin-bottom: 14px !important;
  }

  .hero-desc-p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .hero-content .main-button a {
    width: 100% !important;
    max-width: 290px !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  .hero-1 .hero-image {
    max-width: 250px !important;
    margin: 20px auto 10px auto !important;
  }

  .hero-1 .video-right {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  .hero-1 .video-right p {
    font-size: 13.5px !important;
  }

  /* Scrolling Marquee Ribbon */
  .diagonal-marquee-wrapper {
    margin: 20px 0 30px 0 !important;
    padding: 10px 0 !important;
  }

  .diagonal-marquee-ribbon {
    padding: 12px 0 !important;
  }

  .marquee-slide-inner span {
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
  }

  /* Modern Service Cards */
  .modern-service-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .modern-service-card .service-icon-box {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 16px !important;
    border-radius: 14px !important;
  }

  .modern-service-card h4 {
    font-size: 19px !important;
    margin-bottom: 10px !important;
  }

  .modern-service-card p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  /* Case Studies Mobile */
  .case-study-section {
    padding: 60px 0 !important;
  }

  .case-study-wrapper .case-study-box-items {
    margin-top: 10px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb {
    height: 270px !important;
    border-radius: 20px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb img {
    height: 270px !important;
    object-fit: cover !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .post-box-items {
    top: 16px !important;
    left: 16px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .post-box-items ul {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .project-title {
    left: 16px !important;
    bottom: 16px !important;
    right: 65px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .project-title a {
    font-size: 16px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .number {
    right: 16px !important;
    bottom: 16px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
  }

  /* Case Studies Accordion on Mobile */
  .case-study-wrapper .main-box .box {
    border-radius: 20px !important;
    min-height: 200px !important;
  }

  .case-study-wrapper .main-box .box .project-content {
    padding: 65px 18px 20px 18px !important;
  }

  .case-study-wrapper .main-box .box .project-content h3 {
    font-size: 19px !important;
  }

  .case-study-wrapper .main-box .box .project-content p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  /* Audience Reach Counters */
  .audience-section {
    padding: 60px 0 !important;
  }

  .counter-box h2 {
    font-size: 36px !important;
  }

  .counter-box {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  /* Pricing Cards on Mobile */
  .pricing-section {
    padding: 60px 0 !important;
  }

  .pricing-tabs {
    padding: 4px !important;
  }

  .pricing-tabs button {
    padding: 6px 16px !important;
    font-size: 12.5px !important;
  }

  .pricing-box-items {
    padding: 26px 18px !important;
    border-radius: 18px !important;
  }

  .pricing-header h2 {
    font-size: 34px !important;
  }

  .pricing-box-items .price-list li {
    font-size: 13.5px !important;
    padding: 6px 0 !important;
  }

  /* Testimonials */
  .testimonial-section {
    padding: 60px 0 !important;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 40px 0 50px 0 !important;
  }

  .cta-wrapper {
    padding: 34px 18px !important;
    border-radius: 20px !important;
  }

  .cta-wrapper h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.25 !important;
  }

  .cta-wrapper p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .cta-wrapper .main-button a {
    width: 100% !important;
    max-width: 280px !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  /* Interior Pages: About, Contact, Portfolio, Blogs */
  .about-us-hero,
  .interior-hero,
  .portfolio-hero,
  .contact-hero {
    padding-top: 115px !important;
    padding-bottom: 45px !important;
  }

  .about-us-hero h1,
  .interior-hero h1,
  .portfolio-hero h1,
  .contact-hero h1 {
    font-size: clamp(26px, 7.5vw, 34px) !important;
  }

  .about-us-hero p,
  .interior-hero p,
  .portfolio-hero p,
  .contact-hero p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .about-value-card {
    padding: 24px 16px !important;
    border-radius: 18px !important;
  }

  /* Portfolio Case Study Cards Mobile */
  .portfolio-case-study-card {
    border-radius: 20px !important;
  }

  .portfolio-case-study-card .portfolio-card-banner {
    height: 165px !important;
  }

  .portfolio-case-study-card .portfolio-card-banner .icon-badge {
    width: 62px !important;
    height: 62px !important;
  }

  .portfolio-case-study-card .portfolio-card-body {
    padding: 22px 16px !important;
  }

  .portfolio-case-study-card .card-title {
    font-size: 19px !important;
  }

  .portfolio-case-study-card .card-desc {
    font-size: 13.5px !important;
  }

  /* Contact Page Mobile */
  .contact-info-cards {
    padding: 30px 0 40px 0 !important;
  }

  .info-card {
    padding: 22px 16px !important;
  }

  .map-container {
    min-height: 240px !important;
    height: 240px !important;
  }

  .map-container iframe {
    min-height: 240px !important;
    height: 240px !important;
  }

  .contact-map-form-section {
    padding: 30px 0 60px 0 !important;
  }

  .contact-form-container h2 {
    font-size: 26px !important;
  }

  .dh-form-control {
    font-size: 16px !important;
    height: 48px !important;
    padding: 12px 14px !important;
  }

  /* Footer Mobile */
  .footer-section.footer-bg {
    padding-top: 50px !important;
    padding-bottom: 20px !important;
  }

  .footer-bottom {
    margin-top: 30px !important;
    padding: 18px 0 5px 0 !important;
    text-align: center !important;
  }

  .footer-bottom p {
    text-align: center !important;
    margin-bottom: 10px !important;
  }

  .footer-bottom div {
    justify-content: center !important;
  }

  /* Chatbot Dock Trigger Mobile */
  .dh-dock-trigger {
    transform: translateY(-50%) scale(0.88) !important;
    transform-origin: right center !important;
  }
}

/* 4. Ultra-Small Phones (max-width: 375px) */
@media (max-width: 375px) {
  .hero-main-title {
    font-size: 25px !important;
  }

  .hero-1 .container-fluid {
    padding: 0 12px !important;
  }

  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .modern-service-card {
    padding: 20px 14px !important;
  }

  .cta-wrapper {
    padding: 28px 14px !important;
  }
}

/* ==========================================================================
   Portfolio Page Case Study Cards Enhancement
   ========================================================================== */
.portfolio-case-study-card {
  background: #ffffff !important;
  border: 1px solid #ECE7F6 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 10px 30px rgba(23, 1, 44, 0.04) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease !important;
}

.portfolio-case-study-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(106, 71, 237, 0.35) !important;
  box-shadow: 0 20px 45px rgba(106, 71, 237, 0.12) !important;
}

.portfolio-case-study-card .portfolio-card-banner {
  height: 200px !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #17012C 0%, #20043F 45%, #3B1277 100%) !important;
}

.portfolio-case-study-card .portfolio-card-banner .ambient-glow {
  position: absolute !important;
  width: 220px !important;
  height: 220px !important;
  border-radius: 50% !important;
  filter: blur(50px) !important;
  pointer-events: none !important;
  opacity: 0.6 !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.portfolio-case-study-card:hover .portfolio-card-banner .ambient-glow {
  opacity: 0.85 !important;
  transform: scale(1.15) !important;
}

.portfolio-case-study-card .portfolio-card-banner .icon-badge {
  position: relative !important;
  z-index: 2 !important;
  width: 76px !important;
  height: 76px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.portfolio-case-study-card:hover .portfolio-card-banner .icon-badge {
  transform: scale(1.08) !important;
}

.portfolio-case-study-card .portfolio-card-banner .corner-pill {
  position: absolute !important;
  top: 16px !important;
  right: 18px !important;
  z-index: 2 !important;
  background: rgba(23, 1, 44, 0.65) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 20px !important;
  padding: 5px 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
}

.portfolio-case-study-card .portfolio-card-body {
  padding: 28px 28px 24px 28px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

.portfolio-case-study-card .category-tag {
  display: inline-block !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 20px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 12px !important;
  width: fit-content !important;
}

.portfolio-case-study-card .card-title {
  font-size: 22px !important;
  font-weight: 800 !important;
  color: #17012C !important;
  margin-bottom: 12px !important;
  line-height: 1.35 !important;
}

.portfolio-case-study-card .card-desc {
  font-size: 15px !important;
  color: #555062 !important;
  line-height: 1.65 !important;
  margin-bottom: 20px !important;
  flex-grow: 1 !important;
}

.portfolio-case-study-card .pills-group {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-bottom: 22px !important;
}

.portfolio-case-study-card .pill-item {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #645F75 !important;
  background: #F6F3FE !important;
  border: 1px solid #ECE7F6 !important;
  border-radius: 12px !important;
  padding: 4px 10px !important;
}

.portfolio-case-study-card .card-footer-action {
  border-top: 1px solid #F0EDF7 !important;
  padding-top: 16px !important;
  margin-top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.portfolio-case-study-card .action-link {
  color: #6A47ED !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: all 0.25s ease !important;
}

.portfolio-case-study-card:hover .action-link {
  color: #17012C !important;
  gap: 12px !important;
}

/* ==========================================================================
   CTA Section Seam & Background Fix
   ========================================================================== */
.cta-section {
  position: relative !important;
  background: #ffffff !important;
  padding: 60px 0 80px 0 !important;
}

.cta-section::before {
  display: none !important;
}

.cta-wrapper {
  margin-top: 0 !important;
  border-radius: 28px !important;
}

.cta-wrapper h2 {
  margin-left: 0 !important;
}

/* ==========================================================================
   MASTER MOBILE & TABLET OPTIMIZATION (All Pages & Components)
   ========================================================================== */

/* 1. Global Viewport & Zero-Overflow Safeguards */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img {
  max-width: 100% !important;
  height: auto !important;
}

/* Ensure inputs never zoom on iOS Safari (min font size 16px) */
input, textarea, select {
  font-size: 16px !important;
}

/* 2. Responsive Breakpoint: Tablet & Small Desktop (max-width: 991px) */
@media (max-width: 991px) {
  /* Section Spacing */
  .section-padding {
    padding: 60px 0 !important;
  }

  /* Sticky Header */
  .header-main {
    padding: 12px 0 !important;
  }

  /* Hero Section */
  .hero-1 {
    padding: 110px 0 60px 0 !important;
  }

  .hero-1 .container-fluid {
    padding: 0 20px !important;
  }

  .hero-1 .hero-title {
    margin-bottom: 25px !important;
  }

  .hero-1 .hero-title img {
    max-width: 90% !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }

  .hero-main-title {
    font-size: clamp(30px, 6.5vw, 44px) !important;
    line-height: 1.2 !important;
    margin-bottom: 16px !important;
  }

  .hero-1 .hero-content {
    text-align: center !important;
  }

  .hero-1 .hero-content p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero-1 .hero-content .main-button {
    display: flex !important;
    justify-content: center !important;
  }

  .hero-1 .hero-image {
    margin: 30px auto 15px auto !important;
    text-align: center !important;
    max-width: 320px !important;
  }

  .hero-1 .video-right {
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 30px !important;
  }

  .hero-1 .video-right p {
    max-width: 500px !important;
    margin: 0 auto 15px auto !important;
  }

  .hero-1 .video-right .client-items {
    justify-content: center !important;
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
  }

  /* About Section */
  .about-section {
    padding: 60px 0 !important;
  }

  .about-section .about-image {
    max-width: 320px !important;
    margin: 0 auto 30px auto !important;
  }

  .about-content {
    text-align: center !important;
    padding-left: 0 !important;
  }

  .about-content .about-button {
    display: flex !important;
    justify-content: center !important;
  }

  /* Audience Reach Counters */
  .counter-box-area {
    flex-direction: column !important;
    gap: 16px !important;
  }

  .counter-box-area .counter-box {
    min-width: 100% !important;
  }

  /* CTA Section */
  .cta-section {
    padding: 50px 0 60px 0 !important;
  }

  .cta-wrapper {
    padding: 45px 30px !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 25px !important;
  }

  .cta-wrapper h2 {
    font-size: 30px !important;
  }

  .cta-wrapper p {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Interior Page Hero Banners */
  .about-us-hero,
  .interior-hero,
  .portfolio-hero,
  .contact-hero {
    padding-top: 130px !important;
    padding-bottom: 60px !important;
  }

  .about-us-hero h1,
  .interior-hero h1,
  .portfolio-hero h1,
  .contact-hero h1 {
    font-size: 38px !important;
  }

  /* Footer */
  .footer-section.footer-bg {
    padding-top: 60px !important;
    padding-bottom: 25px !important;
  }
}

/* 3. Responsive Breakpoint: Mobile Phones (max-width: 767px) */
@media (max-width: 767px) {
  /* Headings & Typography */
  h1, .hero-main-title, .page-title {
    font-size: clamp(26px, 7.5vw, 34px) !important;
    line-height: 1.25 !important;
  }

  h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.3 !important;
  }

  h3 {
    font-size: 19px !important;
  }

  p {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
  }

  /* Header on Mobile Phone */
  .header-main {
    padding: 10px 0 !important;
  }

  .header-logo-3 img {
    max-height: 38px !important;
  }

  .sidebar__toggle {
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Full Page Mobile Nav Drawer */
  .offcanvas__info {
    width: 100vw !important;
    max-width: 100% !important;
    padding: 20px 18px 40px 18px !important;
  }

  .offcanvas__menu ul li a {
    font-size: 17px !important;
    padding: 12px 0 !important;
  }

  /* Hero Section Mobile */
  .hero-1 {
    padding: 95px 0 40px 0 !important;
  }

  .hero-1 .container-fluid {
    padding: 0 16px !important;
  }

  .hero-1 .hero-title {
    margin-bottom: 16px !important;
  }

  .hero-1 .hero-title img {
    max-width: 95% !important;
  }

  .hero-badge-tag {
    font-size: 11px !important;
    padding: 4px 12px !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 12px !important;
  }

  .hero-main-title {
    margin-bottom: 14px !important;
  }

  .hero-desc-p {
    font-size: 14px !important;
    line-height: 1.6 !important;
  }

  .hero-content .main-button a {
    width: 100% !important;
    max-width: 290px !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  .hero-1 .hero-image {
    max-width: 250px !important;
    margin: 20px auto 10px auto !important;
  }

  .hero-1 .video-right {
    margin-top: 15px !important;
    margin-bottom: 15px !important;
  }

  .hero-1 .video-right p {
    font-size: 13.5px !important;
  }

  /* Scrolling Marquee Ribbon */
  .diagonal-marquee-wrapper {
    margin: 20px 0 30px 0 !important;
    padding: 10px 0 !important;
  }

  .diagonal-marquee-ribbon {
    padding: 12px 0 !important;
  }

  .marquee-slide-inner span {
    font-size: 14px !important;
    letter-spacing: 1.5px !important;
  }

  /* Modern Service Cards */
  .modern-service-card {
    padding: 24px 18px !important;
    border-radius: 18px !important;
  }

  .modern-service-card .service-icon-box {
    width: 52px !important;
    height: 52px !important;
    margin-bottom: 16px !important;
    border-radius: 14px !important;
  }

  .modern-service-card h4 {
    font-size: 19px !important;
    margin-bottom: 10px !important;
  }

  .modern-service-card p {
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    margin-bottom: 16px !important;
  }

  /* Case Studies Mobile */
  .case-study-section {
    padding: 60px 0 !important;
  }

  .case-study-wrapper .case-study-box-items {
    margin-top: 10px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb {
    height: 270px !important;
    border-radius: 20px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb img {
    height: 270px !important;
    object-fit: cover !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .post-box-items {
    top: 16px !important;
    left: 16px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .post-box-items ul {
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .post-box-items ul li a {
    font-size: 11px !important;
    padding: 6px 10px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .project-title {
    left: 16px !important;
    bottom: 16px !important;
    right: 65px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .project-title a {
    font-size: 16px !important;
  }

  .case-study-wrapper .case-study-box-items .thumb .number {
    right: 16px !important;
    bottom: 16px !important;
    width: 38px !important;
    height: 38px !important;
    line-height: 38px !important;
    font-size: 13px !important;
  }

  /* Case Studies Accordion on Mobile */
  .case-study-wrapper .main-box .box {
    border-radius: 20px !important;
    min-height: 200px !important;
  }

  .case-study-wrapper .main-box .box .project-content {
    padding: 65px 18px 20px 18px !important;
  }

  .case-study-wrapper .main-box .box .project-content h3 {
    font-size: 19px !important;
  }

  .case-study-wrapper .main-box .box .project-content p {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  /* Audience Reach Counters */
  .audience-section {
    padding: 60px 0 !important;
  }

  .counter-box h2 {
    font-size: 36px !important;
  }

  .counter-box {
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  /* Pricing Cards on Mobile */
  .pricing-section {
    padding: 60px 0 !important;
  }

  .pricing-tabs {
    padding: 4px !important;
  }

  .pricing-tabs button {
    padding: 6px 16px !important;
    font-size: 12.5px !important;
  }

  .pricing-box-items {
    padding: 26px 18px !important;
    border-radius: 18px !important;
  }

  .pricing-header h2 {
    font-size: 34px !important;
  }

  .pricing-box-items .price-list li {
    font-size: 13.5px !important;
    padding: 6px 0 !important;
  }

  /* Testimonials */
  .testimonial-section {
    padding: 60px 0 !important;
  }

  /* CTA Section Mobile */
  .cta-section {
    padding: 40px 0 50px 0 !important;
  }

  .cta-wrapper {
    padding: 34px 18px !important;
    border-radius: 20px !important;
  }

  .cta-wrapper h2 {
    font-size: clamp(22px, 6vw, 28px) !important;
    line-height: 1.25 !important;
  }

  .cta-wrapper p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .cta-wrapper .main-button a {
    width: 100% !important;
    max-width: 280px !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  /* Interior Pages: About, Contact, Portfolio, Blogs */
  .about-us-hero,
  .interior-hero,
  .portfolio-hero,
  .contact-hero {
    padding-top: 115px !important;
    padding-bottom: 45px !important;
  }

  .about-us-hero h1,
  .interior-hero h1,
  .portfolio-hero h1,
  .contact-hero h1 {
    font-size: clamp(26px, 7.5vw, 34px) !important;
  }

  .about-us-hero p,
  .interior-hero p,
  .portfolio-hero p,
  .contact-hero p {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .about-value-card {
    padding: 24px 16px !important;
    border-radius: 18px !important;
  }

  /* Portfolio Case Study Cards Mobile */
  .portfolio-case-study-card {
    border-radius: 20px !important;
  }

  .portfolio-case-study-card .portfolio-card-banner {
    height: 165px !important;
  }

  .portfolio-case-study-card .portfolio-card-banner .icon-badge {
    width: 62px !important;
    height: 62px !important;
  }

  .portfolio-case-study-card .portfolio-card-body {
    padding: 22px 16px !important;
  }

  .portfolio-case-study-card .card-title {
    font-size: 19px !important;
  }

  .portfolio-case-study-card .card-desc {
    font-size: 13.5px !important;
  }

  /* Contact Page Mobile */
  .contact-info-cards {
    padding: 30px 0 40px 0 !important;
  }

  .info-card {
    padding: 22px 16px !important;
  }

  .map-container {
    min-height: 240px !important;
    height: 240px !important;
  }

  .map-container iframe {
    min-height: 240px !important;
    height: 240px !important;
  }

  .contact-map-form-section {
    padding: 30px 0 60px 0 !important;
  }

  .contact-form-container h2 {
    font-size: 26px !important;
  }

  .dh-form-control {
    font-size: 16px !important;
    height: 48px !important;
    padding: 12px 14px !important;
  }

  /* Footer Mobile */
  .footer-section.footer-bg {
    padding-top: 50px !important;
    padding-bottom: 20px !important;
  }

  .footer-bottom {
    margin-top: 30px !important;
    padding: 18px 0 5px 0 !important;
    text-align: center !important;
  }

  .footer-bottom p {
    text-align: center !important;
    margin-bottom: 10px !important;
  }

  .footer-bottom div {
    justify-content: center !important;
  }

  /* Chatbot Dock Trigger Mobile */
  .dh-dock-trigger {
    transform: translateY(-50%) scale(0.88) !important;
    transform-origin: right center !important;
  }
}

/* 4. Ultra-Small Phones (max-width: 375px) */
@media (max-width: 375px) {
  .hero-main-title {
    font-size: 25px !important;
  }

  .hero-1 .container-fluid {
    padding: 0 12px !important;
  }

  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .modern-service-card {
    padding: 20px 14px !important;
  }

  .cta-wrapper {
    padding: 28px 14px !important;
  }
}


/* ==========================================================================
   AUDIENCE SECTION (REVAMPED DARK METRIC SHOWCASE)
   ========================================================================== */
.audience-dark-showcase {
  background: radial-gradient(120% 120% at 50% 0%, #1f0438 0%, #17012C 50%, #0d001a 100%) !important;
  position: relative;
  overflow: hidden;
}

.audience-dark-showcase::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 177, 14, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.audience-dark-showcase::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(106, 71, 237, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.metric-glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 177, 14, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.metric-glass-card .metric-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.metric-glass-card .metric-number {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 30%, #efb10e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-glass-card .metric-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-glass-card .metric-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   PRICING SECTION (REVAMPED 3-TIER MODERN MATRIX)
   ========================================================================== */
.pricing-showcase-card {
  background: #ffffff;
  border: 1px solid #E6E1F2;
  border-radius: 24px;
  padding: 38px 30px;
  box-shadow: 0 10px 30px rgba(23, 1, 44, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pricing-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(106, 71, 237, 0.12);
  border-color: #6a47ed;
}

.pricing-showcase-card.featured-plan {
  background: linear-gradient(145deg, #1f0438 0%, #17012C 65%, #2a054e 100%);
  border: 2px solid #efb10e;
  box-shadow: 0 20px 50px rgba(23, 1, 44, 0.25);
  color: #ffffff;
}

.pricing-showcase-card.featured-plan:hover {
  box-shadow: 0 24px 60px rgba(239, 177, 14, 0.25);
  transform: translateY(-10px);
}

.pricing-pill-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   SERVICES HUB PAGE STYLES
   ========================================================================== */
.services-hub-hero {
  background: radial-gradient(120% 120% at 50% 10%, #F5F1FD 0%, #FFFFFF 100%);
  padding: 120px 0 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid #E2DCF0;
  background: #ffffff;
  color: #17012C;
}

.service-filter-btn:hover {
  border-color: #6a47ed;
  color: #6a47ed;
}

.service-filter-btn.active {
  background: #6a47ed;
  color: #ffffff;
  border-color: #6a47ed;
  box-shadow: 0 6px 18px rgba(106, 71, 237, 0.25);
}

.service-hub-card {
  background: #ffffff;
  border: 1px solid #ECE7F6;
  border-radius: 22px;
  padding: 34px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(23, 1, 44, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-hub-card:hover {
  transform: translateY(-7px);
  border-color: rgba(106, 71, 237, 0.4);
  box-shadow: 0 20px 44px rgba(106, 71, 237, 0.12);
}

.service-hub-card .service-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.service-hub-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
}

.service-hub-card .deliverable-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8F6FF;
  border: 1px solid #EAE5F6;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #555068;
}

.service-hub-card .explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  background: #F8F6FF;
  color: #17012C;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.service-hub-card:hover .explore-btn {
  background: #6a47ed;
  color: #ffffff;
}

.service-hub-card:hover .explore-btn i {
  transform: translateX(4px);
}


/* ==========================================================================
   INNOVATIVE CASE STUDIES SPOTLIGHT & BENTO SHOWCASE (SECTION 5)
   ========================================================================== */
.innovative-case-study-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9F7FE 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.innovative-case-study-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(106, 71, 237, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.innovative-case-study-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(239, 177, 14, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Main Spotlight Hero Card */
.case-spotlight-card {
  background: linear-gradient(145deg, #18022d 0%, #17012C 55%, #250346 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 44px 40px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 1, 44, 0.18);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(239, 177, 14, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.case-spotlight-card .spotlight-metric-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
  flex: 1;
  min-width: 110px;
  transition: transform 0.25s ease;
}

.case-spotlight-card .spotlight-metric-box:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 177, 14, 0.4);
}

.case-spotlight-card .spotlight-metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #ffffff 40%, #efb10e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.case-spotlight-card .spotlight-metric-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Nav Bento Item Cards (Right Column) */
.case-nav-bento-item {
  background: #ffffff;
  border: 1px solid #ECE7F6;
  border-radius: 20px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(23, 1, 44, 0.03);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.case-nav-bento-item:last-child {
  margin-bottom: 0;
}

.case-nav-bento-item:hover {
  transform: translateX(6px);
  border-color: rgba(106, 71, 237, 0.35);
  box-shadow: 0 10px 28px rgba(106, 71, 237, 0.08);
}

.case-nav-bento-item.active {
  background: #ffffff;
  border: 2px solid #6a47ed;
  box-shadow: 0 14px 34px rgba(106, 71, 237, 0.16);
  transform: translateX(8px);
}

.case-nav-bento-item.active .bento-num-badge {
  background: #6a47ed;
  color: #ffffff;
}

.case-nav-bento-item .bento-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F4F1FD;
  color: #6a47ed;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.case-nav-bento-item.active .bento-arrow-icon {
  background: #efb10e;
  color: #17012C;
  transform: rotate(45deg);
}

.case-nav-bento-item .bento-arrow-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F6F3FE;
  color: #736B8E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .case-spotlight-card {
    padding: 30px 24px;
    margin-bottom: 24px;
  }
  
  .case-nav-bento-item.active {
    transform: none;
  }
}


/* ==========================================================================
   PERMANENT DARK FOOTER ENFORCEMENT
   ========================================================================== */
.footer-section,
.footer-section.footer-bg,
.footer-bg,
footer {
  background-color: #0E011C !important;
  background: #0E011C !important;
  color: #ffffff !important;
}

.footer-section h3,
.footer-section .widget-head h3 {
  color: #ffffff !important;
}

.footer-section .widget-head h3::after {
  background-color: #efb10e !important;
}

.footer-section p,
.footer-section span,
.footer-section li,
.footer-section .footer-content p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-section a:hover {
  color: #efb10e !important;
}

.footer-section .social-icon a {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.footer-section .social-icon a:hover {
  background: #efb10e !important;
  color: #17012C !important;
  border-color: #efb10e !important;
}

.footer-bottom {
  background-color: #0E011C !important;
  background: #0E011C !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-bottom a:hover {
  color: #efb10e !important;
}


/* ==========================================================================
   AUDIENCE SECTION (REVAMPED DARK METRIC SHOWCASE)
   ========================================================================== */
.audience-dark-showcase {
  background: radial-gradient(120% 120% at 50% 0%, #1f0438 0%, #17012C 50%, #0d001a 100%) !important;
  position: relative;
  overflow: hidden;
}

.audience-dark-showcase::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(239, 177, 14, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.audience-dark-showcase::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(106, 71, 237, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.metric-glass-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 24px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric-glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 177, 14, 0.4);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.metric-glass-card .metric-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.metric-glass-card .metric-number {
  font-size: 42px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  background: linear-gradient(135deg, #ffffff 30%, #efb10e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-glass-card .metric-title {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.metric-glass-card .metric-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   PRICING SECTION (REVAMPED 3-TIER MODERN MATRIX)
   ========================================================================== */
.pricing-showcase-card {
  background: #ffffff;
  border: 1px solid #E6E1F2;
  border-radius: 24px;
  padding: 38px 30px;
  box-shadow: 0 10px 30px rgba(23, 1, 44, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.pricing-showcase-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(106, 71, 237, 0.12);
  border-color: #6a47ed;
}

.pricing-showcase-card.featured-plan {
  background: linear-gradient(145deg, #1f0438 0%, #17012C 65%, #2a054e 100%);
  border: 2px solid #efb10e;
  box-shadow: 0 20px 50px rgba(23, 1, 44, 0.25);
  color: #ffffff;
}

.pricing-showcase-card.featured-plan:hover {
  box-shadow: 0 24px 60px rgba(239, 177, 14, 0.25);
  transform: translateY(-10px);
}

.pricing-pill-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ==========================================================================
   SERVICES HUB PAGE STYLES
   ========================================================================== */
.services-hub-hero {
  background: radial-gradient(120% 120% at 50% 10%, #F5F1FD 0%, #FFFFFF 100%);
  padding: 120px 0 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.service-filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid #E2DCF0;
  background: #ffffff;
  color: #17012C;
}

.service-filter-btn:hover {
  border-color: #6a47ed;
  color: #6a47ed;
}

.service-filter-btn.active {
  background: #6a47ed;
  color: #ffffff;
  border-color: #6a47ed;
  box-shadow: 0 6px 18px rgba(106, 71, 237, 0.25);
}

.service-hub-card {
  background: #ffffff;
  border: 1px solid #ECE7F6;
  border-radius: 22px;
  padding: 34px 28px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(23, 1, 44, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-hub-card:hover {
  transform: translateY(-7px);
  border-color: rgba(106, 71, 237, 0.4);
  box-shadow: 0 20px 44px rgba(106, 71, 237, 0.12);
}

.service-hub-card .service-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: transform 0.3s ease;
}

.service-hub-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(4deg);
}

.service-hub-card .deliverable-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8F6FF;
  border: 1px solid #EAE5F6;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #555068;
}

.service-hub-card .explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  background: #F8F6FF;
  color: #17012C;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.service-hub-card:hover .explore-btn {
  background: #6a47ed;
  color: #ffffff;
}

.service-hub-card:hover .explore-btn i {
  transform: translateX(4px);
}


/* ==========================================================================
   INNOVATIVE CASE STUDIES SPOTLIGHT & BENTO SHOWCASE (SECTION 5)
   ========================================================================== */
.innovative-case-study-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F9F7FE 50%, #FFFFFF 100%);
  position: relative;
  overflow: hidden;
}

.innovative-case-study-section::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(106, 71, 237, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.innovative-case-study-section::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(239, 177, 14, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Main Spotlight Hero Card */
.case-spotlight-card {
  background: linear-gradient(145deg, #18022d 0%, #17012C 55%, #250346 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 44px 40px;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(23, 1, 44, 0.18);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(239, 177, 14, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.case-spotlight-card .spotlight-metric-box {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  text-align: center;
  flex: 1;
  min-width: 110px;
  transition: transform 0.25s ease;
}

.case-spotlight-card .spotlight-metric-box:hover {
  transform: translateY(-3px);
  border-color: rgba(239, 177, 14, 0.4);
}

.case-spotlight-card .spotlight-metric-val {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, #ffffff 40%, #efb10e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.case-spotlight-card .spotlight-metric-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Nav Bento Item Cards (Right Column) */
.case-nav-bento-item {
  background: #ffffff;
  border: 1px solid #ECE7F6;
  border-radius: 20px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(23, 1, 44, 0.03);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.case-nav-bento-item:last-child {
  margin-bottom: 0;
}

.case-nav-bento-item:hover {
  transform: translateX(6px);
  border-color: rgba(106, 71, 237, 0.35);
  box-shadow: 0 10px 28px rgba(106, 71, 237, 0.08);
}

.case-nav-bento-item.active {
  background: #ffffff;
  border: 2px solid #6a47ed;
  box-shadow: 0 14px 34px rgba(106, 71, 237, 0.16);
  transform: translateX(8px);
}

.case-nav-bento-item.active .bento-num-badge {
  background: #6a47ed;
  color: #ffffff;
}

.case-nav-bento-item .bento-num-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #F4F1FD;
  color: #6a47ed;
  font-weight: 900;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.case-nav-bento-item.active .bento-arrow-icon {
  background: #efb10e;
  color: #17012C;
  transform: rotate(45deg);
}

.case-nav-bento-item .bento-arrow-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F6F3FE;
  color: #736B8E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

@media (max-width: 991px) {
  .case-spotlight-card {
    padding: 30px 24px;
    margin-bottom: 24px;
  }
  
  .case-nav-bento-item.active {
    transform: none;
  }
}


/* ==========================================================================
   PERMANENT DARK FOOTER ENFORCEMENT
   ========================================================================== */
.footer-section,
.footer-section.footer-bg,
.footer-bg,
footer {
  background-color: #0E011C !important;
  background: #0E011C !important;
  color: #ffffff !important;
}

.footer-section h3,
.footer-section .widget-head h3 {
  color: #ffffff !important;
}

.footer-section .widget-head h3::after {
  background-color: #efb10e !important;
}

.footer-section p,
.footer-section span,
.footer-section li,
.footer-section .footer-content p {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.75) !important;
}

.footer-section a:hover {
  color: #efb10e !important;
}

.footer-section .social-icon a {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.footer-section .social-icon a:hover {
  background: #efb10e !important;
  color: #17012C !important;
  border-color: #efb10e !important;
}

.footer-bottom {
  background-color: #0E011C !important;
  background: #0E011C !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.6) !important;
}

.footer-bottom a:hover {
  color: #efb10e !important;
}
