/**
 * Emergyn lavender theme overrides (loaded after main.css)
 */

 :root {
  /* Brand palette (lavender) */
  --accent-color: #603acc;
  /* Recolor legacy orange PNG line icons → brand purple (on dark, prefer light icons) */
  --brand-icon-filter: brightness(0) saturate(100%) invert(38%) sepia(72%) saturate(2200%) hue-rotate(229deg) brightness(96%) contrast(92%);
  --nav-hover-color: #603acc;
  --nav-dropdown-hover-color: #603acc;

  /* Bootstrap theme alignment */
  --bs-primary: #603acc;
  --bs-primary-rgb: 125, 83, 221;
  --bs-link-color: #c4b5fd;
  --bs-link-hover-color: #e9ddff;

  /* Nav pills (tabs) */
  --bs-nav-pills-link-active-bg: #603acc;
  --bs-nav-pills-link-active-color: #ffffff;

  /* Global dark theme — matches Software Development Process (#0f0b1a) */
  --background-color: #0f0b1a;
  --surface-color: rgba(255, 255, 255, 0.06);
  --default-color: #e8e4f4;
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  --nav-mobile-background-color: #161022;
  --nav-dropdown-background-color: #161022;
  --nav-dropdown-color: #e8e4f4;
  --nav-dropdown-hover-color: #c4b5fd;

  /* Keep good contrast on accent surfaces */
  --contrast-color: #ffffff;

  /* Shared ambient background (dev-process look) */
  --site-bg: #0f0b1a;
  --site-bg-glow-1: rgba(125, 83, 221, 0.35);
  --site-bg-glow-2: rgba(99, 102, 241, 0.22);
  --site-muted: rgba(232, 228, 244, 0.78);
  --site-card-bg: rgba(255, 255, 255, 0.06);
  --site-card-border: rgba(255, 255, 255, 0.1);
}

html {
  background-color: var(--site-bg);
}

html,
body,
body.index-page,
body.site-inner {
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--site-bg);
  color: var(--default-color);
}

/* Ambient purple glow on internal pages only */
body:not(.index-page) {
  position: relative;
  min-height: 100%;
  background:
    radial-gradient(900px 520px at 8% -5%, var(--site-bg-glow-1), transparent 62%),
    radial-gradient(820px 480px at 100% 30%, var(--site-bg-glow-2), transparent 58%),
    radial-gradient(700px 420px at 50% 100%, rgba(168, 85, 247, 0.12), transparent 65%),
    var(--site-bg);
  background-attachment: fixed;
}

/* Home page — solid black everywhere except header + banner */
body.index-page {
  background: #000000 !important;
  background-image: none !important;
}

body.index-page .main {
  background: #000000 !important;
}

body.index-page .main > section:not(#hero):not(.hero),
body.index-page .section:not(#hero):not(.hero),
body.index-page section.section:not(#hero):not(.hero),
body.index-page .light-background,
body.index-page .section.light-background,
body.index-page #ai,
body.index-page #services,
body.index-page #dev-process,
body.index-page #clients,
body.index-page #portfolio,
body.index-page #testimonials,
body.index-page #contact,
body.index-page .footer {
  background: #000000 !important;
  background-image: none !important;
  background-color: #000000 !important;
}

body.index-page .main,
body.site-inner .main,
.main {
  overflow-x: hidden;
  max-width: 100%;
}

body.index-page #clients {
  overflow: hidden;
}

/* Sections inherit the dark ambient background (hero keeps its own banner look) */
.section:not(#hero):not(.hero),
section.section:not(#hero):not(.hero),
.light-background,
.section.light-background {
  --background-color: transparent;
  --surface-color: var(--site-card-bg);
  --default-color: #e8e4f4;
  --heading-color: #ffffff;
  background-color: transparent !important;
  color: var(--default-color);
}

.dark-background {
  --background-color: #0b0614;
  --default-color: #f4f0ff;
  --heading-color: #ffffff;
  --surface-color: #1a1230;
  --contrast-color: #ffffff;
}

/* Typography for dark surfaces */
.section-title h2,
.section-title h1,
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
}

.section-title p,
.section p {
  color: var(--site-muted);
}

.section-title h2::after {
  background: var(--accent-color);
}

/* Primary buttons stay brand purple with white text */
.btn-primary,
.btn-primary:focus,
.btn.btn-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: #603acc;
  --bs-btn-border-color: #603acc;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: color-mix(in srgb, #603acc, white 10%);
  --bs-btn-hover-border-color: color-mix(in srgb, #603acc, white 10%);
  color: #ffffff !important;
}

.btn-outline-primary {
  --bs-btn-color: #e9ddff;
  --bs-btn-border-color: color-mix(in srgb, #603acc, transparent 35%);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: #603acc;
  --bs-btn-hover-border-color: #603acc;
}

/* Forms on dark pages */
.form-control,
.form-select,
textarea.form-control {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.form-control::placeholder,
textarea.form-control::placeholder {
  color: rgba(232, 228, 244, 0.45);
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  background-color: rgba(255, 255, 255, 0.09);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  color: #ffffff;
  box-shadow: 0 0 0 0.2rem rgba(123, 77, 255, 0.2);
}

.form-label,
.contact .info-item h3,
.contact .info-item p {
  color: var(--default-color);
}

/* Cards / boxed content on dark */
.card,
.service-card,
.pricing .pricing-item,
.faq .faq-container .faq-item,
.testimonials .testimonial-item,
.portfolio .portfolio-item,
.recent-posts article {
  background: var(--site-card-bg);
  border-color: var(--site-card-border);
  color: var(--default-color);
}

/* Footer stays on the same dark canvas */
.footer {
  --background-color: transparent;
  --heading-color: #ffffff;
  --default-color: #e8e4f4;
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--default-color);
}

.footer h4,
.footer .footer-links a,
.footer .sitename,
.footer .copyright,
.footer .credits {
  color: #e8e4f4;
}

.footer .footer-links a:hover {
  color: #c4b5fd;
}

.footer .footer-newsletter input[type="email"] {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.header .logo img.logo-light {
  display: none;
}

/* Make logo more visible (bigger + crisper) */
.header .logo img.emergyn-logo {
  max-height: 44px;
}
@media (max-width: 1200px) {
  .header .logo img.emergyn-logo {
    max-height: 40px;
  }
}

/* --------------------------------------------------------------
  Header auto-hide on scroll down / reveal on scroll up
  (same behavior as teqmavens.com)
-------------------------------------------------------------- */
#header.header.fixed-top {
  transition:
    transform 0.35s ease,
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  will-change: transform;
}

body.header-hidden #header.header.fixed-top {
  transform: translateY(-110%);
  pointer-events: none;
}

/* Keep header visible if mobile menu is open */
body.mobile-nav-active.header-hidden #header.header.fixed-top {
  transform: translateY(0);
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  #header.header.fixed-top {
    transition: none;
  }

  body.header-hidden #header.header.fixed-top {
    transform: none;
    pointer-events: auto;
  }
}

/* --------------------------------------------------------------
  Header over hero (top of page): transparent + light logo/text
  Header after scroll: dark mode bar + light logo/text
-------------------------------------------------------------- */

/* Top of page — light nav over dark hero (home + internal) */
.index-page .header,
.site-inner .header {
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  --nav-hover-color: #ffffff;
  /*border-bottom-color: color-mix(in srgb, #ffffff, transparent 88%);*/
}

.index-page .header .logo img.logo-dark,
.site-inner .header .logo img.logo-dark {
  display: none;
}

.index-page .header .logo img.logo-light,
.site-inner .header .logo img.logo-light {
  display: inline-block;
  filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.45));
}

.index-page:not(.scrolled) .mobile-nav-toggle,
.site-inner:not(.scrolled) .mobile-nav-toggle {
  color: #ffffff;
}

/* Scrolled — dark mode header (replaces previous white scrolled bar) */
.scrolled .header,
.index-page.scrolled .header,
.site-inner.scrolled .header {
  --background-color: #0b0614;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --nav-color: #ffffff;
  --nav-hover-color: #603acc;
  --contrast-color: #ffffff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid color-mix(in srgb, #ffffff, transparent 90%);
}

.scrolled .header .logo img.logo-dark,
.index-page.scrolled .header .logo img.logo-dark,
.site-inner.scrolled .header .logo img.logo-dark {
  display: none !important;
}

.scrolled .header .logo img.logo-light,
.index-page.scrolled .header .logo img.logo-light,
.site-inner.scrolled .header .logo img.logo-light {
  display: inline-block !important;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.35));
}

.scrolled .mobile-nav-toggle,
.index-page.scrolled .mobile-nav-toggle,
.site-inner.scrolled .mobile-nav-toggle {
  color: #ffffff;
}

/* Keep Get Started readable on dark scrolled header */
.scrolled .header .cta-btn,
.scrolled .header .cta-btn:focus {
  color: #ffffff;
  background: var(--accent-color);
}

/* Make focus rings match the brand */
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), transparent 50%);
  outline-offset: 2px;
}

/* Slightly softer selection */
::selection {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
}

/* Footer logo (shared include) */
.footer .logo img.emergyn-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* Force all Bootstrap buttons to use brand color */
.btn-primary,
.btn-primary:focus {
  --bs-btn-bg: #603acc;
  --bs-btn-border-color: #603acc;
  --bs-btn-hover-bg: color-mix(in srgb, #603acc, black 12%);
  --bs-btn-hover-border-color: color-mix(in srgb, #603acc, black 12%);
  --bs-btn-active-bg: color-mix(in srgb, #603acc, black 18%);
  --bs-btn-active-border-color: color-mix(in srgb, #603acc, black 18%);
  --bs-btn-disabled-bg: color-mix(in srgb, #603acc, transparent 35%);
  --bs-btn-disabled-border-color: color-mix(in srgb, #603acc, transparent 35%);
}

.btn-outline-primary,
.btn-outline-primary:focus {
  --bs-btn-color: #603acc;
  --bs-btn-border-color: #603acc;
  --bs-btn-hover-bg: #603acc;
  --bs-btn-hover-border-color: #603acc;
  --bs-btn-active-bg: color-mix(in srgb, #603acc, black 18%);
  --bs-btn-active-border-color: color-mix(in srgb, #603acc, black 18%);
  --bs-btn-disabled-color: color-mix(in srgb, #603acc, transparent 35%);
  --bs-btn-disabled-border-color: color-mix(in srgb, #603acc, transparent 35%);
}

/* Tabs/Pills: ensure active tab uses brand color */
.nav-pills .nav-link {
  border-radius: 999px;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #603acc;
  color: #fff;
}

.nav-pills .nav-link:not(.active):hover {
  background-color: color-mix(in srgb, #603acc, transparent 88%);
  color: #603acc;
}

/* --------------------------------------------------------------
  Page Title (inner pages) – richer lavender hero
-------------------------------------------------------------- */
.page-title {
  color: #fff;
  background:
    radial-gradient(900px 420px at 15% 20%, color-mix(in srgb, var(--accent-color), white 30%) 0%, transparent 60%),
    radial-gradient(700px 360px at 85% 10%, color-mix(in srgb, var(--accent-color), white 45%) 0%, transparent 55%),
    linear-gradient(135deg, #6d28d9 0%, #8b5cf6 40%, #c084fc 100%);
  background-size: 140% 140%;
  animation: emergynTitleGradient 14s ease-in-out infinite alternate;
  position: relative;
  overflow: hidden;
}

.page-title::before {
  content: "";
  position: absolute;
  inset: -40px;
  pointer-events: none;
  /* Particle pattern overlay (animated) */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='260' viewBox='0 0 520 260'%3E%3Cg fill='none' stroke='white' stroke-opacity='0.45' stroke-width='1'%3E%3Cpath d='M42 44h10M47 39v10'/%3E%3Cpath d='M150 70h12M156 64v12'/%3E%3Cpath d='M390 52h10M395 47v10'/%3E%3Cpath d='M470 98h12M476 92v12'/%3E%3Cpath d='M110 190h10M115 185v10'/%3E%3Cpath d='M320 200h12M326 194v12'/%3E%3Cpath d='M430 210h10M435 205v10'/%3E%3C/g%3E%3Cg fill='white' fill-opacity='0.30'%3E%3Ccircle cx='85' cy='110' r='3'/%3E%3Ccircle cx='215' cy='32' r='2.5'/%3E%3Ccircle cx='260' cy='140' r='2.5'/%3E%3Ccircle cx='335' cy='88' r='3'/%3E%3Ccircle cx='455' cy='150' r='2.5'/%3E%3Ccircle cx='505' cy='46' r='2'/%3E%3Ccircle cx='40' cy='210' r='2'/%3E%3C/g%3E%3Cg fill='none' stroke='white' stroke-opacity='0.18' stroke-width='1'%3E%3Ccircle cx='220' cy='190' r='18'/%3E%3Ccircle cx='60' cy='70' r='14'/%3E%3Ccircle cx='410' cy='40' r='16'/%3E%3Ccircle cx='470' cy='210' r='22'/%3E%3C/g%3E%3C/svg%3E"),
    radial-gradient(240px 240px at 20% 35%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    radial-gradient(300px 300px at 80% 25%, rgba(255, 255, 255, 0.14) 0%, transparent 62%),
    radial-gradient(360px 360px at 55% 70%, rgba(255, 255, 255, 0.10) 0%, transparent 65%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 620px 310px, auto, auto, auto;
  filter: blur(0.2px);
  opacity: 0.95;
  transform: translate3d(0, 0, 0);
  animation: emergynTitleParticles 18s linear infinite;
}
/* Disable old ::before overlay — use .hero-video-overlay instead */
#hero.hero.hero--video .carousel-item::before,
body.index-page #hero.hero.hero--video .carousel-item::before {
  display: none !important;
  content: none !important;
}

/* Home video overlay div — adjust opacity here */
#hero.hero.hero--video .hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-color: #060606;
  opacity: 0.4;
}

.page-title::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 220px at 50% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.0) 45%, rgba(0, 0, 0, 0.18) 100%);
  mix-blend-mode: soft-light;
}

.page-title .heading,
.page-title nav {
  position: relative;
  z-index: 1;
}

.page-title .heading {
  padding: 96px 0 72px;
}

.page-title .heading-title,
.page-title .heading h1 {
  color: #fff;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.page-title .heading p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

.page-title nav {
  background: rgba(255, 255, 255, 0.14);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 0;
}

.page-title nav ol {
  font-size: 14px;
  font-weight: 500;
}

.page-title nav ol li,
.page-title nav ol li a {
  color: rgba(255, 255, 255, 0.92);
}

.page-title nav ol li a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-title nav ol li+li::before {
  color: rgba(255, 255, 255, 0.75);
  content: "›";
}

@media (max-width: 575.98px) {
  .page-title .heading {
    padding: 72px 0 56px;
  }
  .page-title .heading h1 {
    font-size: 32px;
  }
}

@keyframes emergynTitleGradient {
  0% {
    background-position: 0% 35%;
  }
  100% {
    background-position: 100% 65%;
  }
}

@keyframes emergynTitleFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(18px, -10px, 0) scale(1.02);
  }
  100% {
    transform: translate3d(-12px, 12px, 0) scale(1);
  }
}

@keyframes emergynTitleParticles {
  0% {
    background-position: 0px 0px, 0% 0%, 0% 0%, 0% 0%;
    transform: translate3d(0, 0, 0);
  }
  50% {
    background-position: 120px 40px, 0% 0%, 0% 0%, 0% 0%;
    transform: translate3d(12px, -8px, 0);
  }
  100% {
    background-position: 240px 80px, 0% 0%, 0% 0%, 0% 0%;
    transform: translate3d(0, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-title,
  .page-title::before {
    animation: none !important;
  }
}

/* --------------------------------------------------------------
  Active menu item highlight (text + pill)
-------------------------------------------------------------- */
.navmenu>ul>li>a,
.navmenu>ul>li>a:focus {
  /* Keep font metrics consistent so underline doesn't "jump" on hover */
  font-weight: 600;
}

.navmenu>ul>li>a.active,
.navmenu>ul>li>a.active:focus {
  /*color: var(--accent-color) !important;*/
  font-weight: 600;
}

.navmenu>ul>li>a.active {
  /*
    Keep the active link's box-model identical to non-active links.
    Otherwise the underline `:before` (defined in main.css) ends up at a
    different vertical position/height vs hovered items.
  */
  border-radius: 0;
  padding: 0 2px;
  margin: 0;
}

/* Keep underline visible but match brand */
.navmenu>ul>li>a.active:before {
  background-color: var(--accent-color);
}

/* Over dark hero (home-style header) — white active underline */
.index-page:not(.scrolled) .navmenu>ul>li>a.active:before {
  background-color: #ffffff;
}

/* Dropdown active item */
.navmenu .dropdown ul a.active,
.navmenu .dropdown ul a.active:focus {
  color: var(--accent-color) !important;
  font-weight: 600;
}

/* About + Vision: lavender-tinted imagery (legacy asset paths) */
.about-page .about-media--lavender,
.vision-page .about-media--lavender {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(125, 83, 221, 0.18);
}

.about-page .about-media--lavender::after,
.vision-page .about-media--lavender::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-color), transparent 50%) 0%,
    color-mix(in srgb, var(--accent-color), transparent 80%) 55%,
    color-mix(in srgb, var(--accent-color), transparent 65%) 100%
  );
}

.about-page .about-media--lavender > img,
.vision-page .about-media--lavender > img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: auto;
}

/* Decorative frame (about page) sits above the tint */
.about-page .about-media--lavender .about-media__frame {
  z-index: 2;
}

.about-page .about-map-decor {
  position: absolute;
  right: -4%;
  bottom: -8%;
  width: min(92%, 720px);
  opacity: 0.22;
  filter: sepia(0.25) saturate(1.8) hue-rotate(250deg) brightness(1.05);
  pointer-events: none;
  z-index: 0;
}

.about-page .about-map-decor img {
  width: 100%;
  height: auto;
  display: block;
}

.about-page .about-stats > .container {
  position: relative;
  z-index: 1;
}

.about-page .about-principle-icon--lavender {
  width: 72px;
  height: 72px;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-color), white 82%) 0%,
    color-mix(in srgb, var(--accent-color), white 92%) 100%
  );
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  box-shadow: 0 6px 20px rgba(125, 83, 221, 0.12);
}

.about-page .about-principle-icon--lavender img {
  max-width: 48px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(1.15) hue-rotate(-4deg);
}

.about-page .about-subnav .nav-pills .nav-link.active,
.vision-page .about-subnav .nav-pills .nav-link.active {
  background-color: var(--accent-color);
  color: #fff;
}

.about-page .cta-lavender-strip,
.vision-page .cta-lavender-strip {
  background:
    linear-gradient(120deg, color-mix(in srgb, var(--accent-color), transparent 82%) 0%, color-mix(in srgb, var(--accent-color), transparent 92%) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  box-shadow: 0 12px 36px rgba(125, 83, 221, 0.1);
}

.vision-page .vision-feature-card h3 {
  color: var(--heading-color);
}

/* Portfolio showcase (legacy content, about-style) */
body.site-inner.portfolio-page .about-section--feature .about-media {
  /* Prevent the preview image from becoming extremely tall */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #fff;
}

body.site-inner.portfolio-page .about-section--feature .about-media > img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* keep full screenshot visible */
  background: #fff;
}

body.site-inner.portfolio-page .showcase-tabs {
  padding: 0.55rem 0.5rem 0.6rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 28px rgba(50, 30, 100, 0.07);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  gap: 0.35rem;
}

body.site-inner.portfolio-page .showcase-tabs .nav-link {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.45rem 1.05rem;
}

body.site-inner.portfolio-page .showcase-gallery .gl-box {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 34px rgba(50, 30, 100, 0.08);
  background: #fff;
}

body.site-inner.portfolio-page .showcase-gallery .gl-img {
  position: relative;
  /* Prevent one tall image breaking the grid */
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.site-inner.portfolio-page .showcase-gallery .gl-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.portfolio-modal-description img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

.portfolio-modal-description p:last-child {
  margin-bottom: 0;
}

.portfolio-detail-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 8px 24px rgba(50, 30, 100, 0.08);
}

.portfolio-detail-gallery__item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.portfolio-detail-gallery__item:hover img {
  transform: scale(1.05);
}

.portfolio-detail-meta .badge {
  margin: 0 0.35rem 0.35rem 0;
  font-weight: 600;
}

.portfolio-detail-featured .about-media img {
  width: 100%;
  display: block;
}

body.portfolio-detail-page .portfolio-modal-description img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* Homepage Portfolio section (index.php) — enforce consistent tiles */
body.index-page #portfolio .showcase-gallery .gl-box {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 34px rgba(50, 30, 100, 0.08);
  background: #fff;
}

body.index-page #portfolio .showcase-gallery .gl-img {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

body.index-page #portfolio .showcase-gallery .gl-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

body.site-inner.portfolio-page .showcase-gallery .showcase-overlay,
body.index-page #portfolio .showcase-gallery .showcase-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(30, 18, 60, 0.55) 100%);
}

body.site-inner.portfolio-page .showcase-gallery .gl-img:hover .showcase-overlay,
body.index-page #portfolio .showcase-gallery .gl-img:hover .showcase-overlay {
  opacity: 1;
}

body.site-inner.portfolio-page .showcase-btn,
body.index-page #portfolio .showcase-btn {
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  white-space: nowrap;
}

body.site-inner.portfolio-page .showcase-overlay__actions,
body.index-page #portfolio .showcase-overlay__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1rem;
}

body.site-inner.portfolio-page .showcase-overlay__title,
body.index-page #portfolio .showcase-overlay__title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 0.85rem 1rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  background: linear-gradient(180deg, rgba(20, 12, 50, 0) 0%, rgba(20, 12, 50, 0.88) 100%);
  transform: translateY(100%);
  transition: transform 0.25s ease;
}

body.site-inner.portfolio-page .showcase-gallery .gl-img:hover .showcase-overlay__title,
body.index-page #portfolio .showcase-gallery .gl-img:hover .showcase-overlay__title {
  transform: translateY(0);
}

body.site-inner.portfolio-page .showcase-btn--visit,
body.index-page #portfolio .showcase-btn--visit {
  background: rgba(255, 255, 255, 0.92);
}

body.site-inner.portfolio-page .modal-content {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 22px 70px rgba(20, 12, 50, 0.35);
}

body.site-inner.portfolio-page .modal-header {
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
}

body.site-inner.portfolio-page .modal-footer {
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  background: linear-gradient(180deg, #faf7ff 0%, #fff 100%);
}

/* ==================================================================
   Services submenu pages (14 standalone pages in /new) — About-style UI
   ================================================================== */

body.site-inner.services-page section.section {
  position: relative;
}

/* About-style eyebrow for service page spans */
body.site-inner.services-page .web-dev-content > span,
body.site-inner.services-page .seo-sev-content > span,
body.site-inner.services-page .services-content-box-app > span,
body.site-inner.services-page .banner-content-cloud > span,
body.site-inner.services-page .why-web-dev-left > span,
body.site-inner.services-page .heading-web-ser > span,
body.site-inner.services-page .service-block-heading h4,
body.site-inner.services-page .service-block-heading span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.site-inner.services-page .web-dev-content > span::before,
body.site-inner.services-page .seo-sev-content > span::before,
body.site-inner.services-page .services-content-box-app > span::before,
body.site-inner.services-page .banner-content-cloud > span::before,
body.site-inner.services-page .why-web-dev-left > span::before,
body.site-inner.services-page .heading-web-ser > span::before {
  content: "";
  width: 2rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 40%));
}

/* Stronger headings like /new/about */
body.site-inner.services-page .web-dev-content h2,
body.site-inner.services-page .why-web-dev-left h2,
body.site-inner.services-page .services-content-box-app h3,
body.site-inner.services-page .banner-content-cloud h3,
body.site-inner.services-page .seo-sev-content .web-dev-contenttitle,
body.site-inner.services-page .heading-web-ser h2,
body.site-inner.services-page .heading-web-ser h3,
body.site-inner.services-page .content-wireframe h3,
body.site-inner.services-page .service-block-heading h4,
body.site-inner.services-page .center-heading-border h4 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  line-height: 1.2;
}

body.site-inner.services-page p {
  line-height: 1.75;
}

/* Hero-intro image blocks: make them feel like About */
body.site-inner.services-page .web-dev-img-sec,
body.site-inner.services-page .seo-sev-img,
body.site-inner.services-page .android-mobile-image-services-app,
body.site-inner.services-page .image-services-two,
body.site-inner.services-page .ourimage-side,
body.site-inner.services-page .why-web-dev-img,
body.site-inner.services-page .tchlogy-serv-img-sec,
body.site-inner.services-page .mob-sev-img-sec,
body.site-inner.services-page .services-image,
body.site-inner.services-page .service-animation-img {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 16px 44px rgba(50, 30, 100, 0.12);
  background: #fff;
}

body.site-inner.services-page .web-dev-img-sec img,
body.site-inner.services-page .seo-sev-img img,
body.site-inner.services-page .android-mobile-image-services-app img,
body.site-inner.services-page .image-services-two img,
body.site-inner.services-page .ourimage-side img,
body.site-inner.services-page .why-web-dev-img img,
body.site-inner.services-page .tchlogy-serv-img-sec img,
body.site-inner.services-page .mob-sev-img-sec img,
body.site-inner.services-page .services-image img,
body.site-inner.services-page .service-animation-img img {
  width: 100%;
  height: auto;
  display: block;
}

/* About-style cards for all service grids */
body.site-inner.services-page .web-dev-ser-box,
body.site-inner.services-page .seo-inner-wrap,
body.site-inner.services-page .wire-service-box,
body.site-inner.services-page .services-box-app,
body.site-inner.services-page .cm-feature-box,
body.site-inner.services-page .our-value-box,
body.site-inner.services-page .service-category-details,
body.site-inner.services-page .content-process .box-process,
body.site-inner.services-page .process-texts,
body.site-inner.services-page .seo-wrap-containr {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.site-inner.services-page .web-dev-ser-box:hover,
body.site-inner.services-page .seo-inner-wrap:hover,
body.site-inner.services-page .wire-service-box:hover,
body.site-inner.services-page .services-box-app:hover,
body.site-inner.services-page .cm-feature-box:hover,
body.site-inner.services-page .our-value-box:hover,
body.site-inner.services-page .seo-wrap-containr:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(125, 83, 221, 0.14);
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
}

/* Make legacy “Read More” links look like modern pills */
body.site-inner.services-page a.web-ser-btn,
body.site-inner.services-page a.btn-consultation,
body.site-inner.services-page .showcase-btn {
  border-radius: 999px;
}

/* Extra polish when pages opt-in via services-subpage */
body.services-subpage .container {
  position: relative;
}

body.services-subpage .heading-web-ser,
body.services-subpage .content-wireframe,
body.services-subpage .case-study-head,
body.services-subpage .service-block-heading {
  text-align: center;
  padding: 1.25rem 1rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 6px 22px rgba(50, 30, 100, 0.05);
  margin-bottom: 2rem;
}

body.services-subpage .heading-web-ser p,
body.services-subpage .content-wireframe p,
body.services-subpage .case-study-head p,
body.services-subpage .service-block-heading p {
  /* max-width: 44rem; */
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

body.services-subpage .ser-icon-box span,
body.services-subpage .process-icon,
body.services-subpage .service-category-details,
body.services-subpage .wire-service-box .service-category-details {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Icon holders — purple circle like home page services grid */
body.site-inner.services-page .ser-icon-box span,
body.services-subpage .ser-icon-box span {
  width: 80px;
  height: 80px;
  padding: 15px;
  /* border-radius: 50%; */
  /* background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-color), #ffffff 72%) 0%,
    color-mix(in srgb, var(--accent-color), #ffffff 88%) 100%
  ); */
  /* border: 1px solid color-mix(in srgb, var(--accent-color), transparent 65%); */
  /* box-shadow: 0 8px 22px rgba(125, 83, 221, 0.16); */
}

body.site-inner.services-page .ser-icon-box img,
body.services-subpage .ser-icon-box img,
body.services-subpage .wire-service-box .service-category-details img,
body.services-subpage .services-box-app img,
body.services-subpage .cm-feature-box img,
body.services-subpage .seo-inner-wrap img[src*="icon"],
body.services-subpage .section-app-fourr .process-icon img {
  max-width: 72px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: var(--brand-icon-filter);
  transition: filter 0.25s ease, transform 0.25s ease;
}

body.site-inner.services-page .web-dev-ser-box:hover .ser-icon-box img,
body.services-subpage .web-dev-ser-box:hover .ser-icon-box img,
body.services-subpage .wire-service-box:hover .service-category-details img,
body.services-subpage .services-box-app:hover img {
  filter: brightness(0) saturate(100%) invert(32%) sepia(85%) saturate(2800%) hue-rotate(229deg) brightness(102%) contrast(96%);
  transform: scale(1.04);
}

/* Get Started links on service cards */
body.site-inner.services-page a.web-ser-btn {
  color: var(--accent-color) !important;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

body.site-inner.services-page a.web-ser-btn:hover {
  color: color-mix(in srgb, var(--accent-color), #1f1833 25%) !important;
}

/* Unify spacing inside legacy service cards */
body.services-subpage .web-dev-ser-box,
body.services-subpage .seo-inner-wrap,
body.services-subpage .wire-service-box,
body.services-subpage .services-box-app,
body.services-subpage .cm-feature-box,
body.services-subpage .our-value-box,
body.services-subpage .seo-wrap-containr {
  padding: 1.25rem 1.15rem;
}

body.services-subpage .web-dev-ser-box h4,
body.services-subpage .seo-inner-wrap h5,
body.services-subpage .wire-service-box h5,
body.services-subpage .services-box-app h5,
body.services-subpage .cm-feature-box h3,
body.services-subpage .our-value-box h4 {
  font-weight: 700;
  color: var(--heading-color);
}

body.services-subpage .web-dev-ser-box p,
body.services-subpage .seo-inner-wrap p,
body.services-subpage .wire-service-box p,
body.services-subpage .services-box-app p,
body.services-subpage .cm-feature-box p,
body.services-subpage .our-value-box p {
  color: var(--default-color);
  line-height: 1.65;
}

/* Web Development: "Web Development Services" — 1-row rail + nicer heading */
body.services-subpage .web-dev-services .heading-web-ser {
  max-width: 56rem;
  margin: 0 auto 1.25rem;
  padding: 1.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(50, 30, 100, 0.08);
}

body.services-subpage .web-dev-services .heading-web-ser > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

body.services-subpage .web-dev-services .heading-web-ser > span::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

body.services-subpage .web-dev-services .web-d-ser {
  --rail-gap: 1rem;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--rail-gap);
  overflow-x: auto;
  padding: 0.25rem 0.25rem 0.75rem;
  margin-left: 0;
  margin-right: 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

body.services-subpage .web-dev-services .web-d-ser > [class*="col-"] {
  flex: 0 0 auto;
  width: min(340px, 92vw);
  padding-left: 0;
  padding-right: 0;
  scroll-snap-align: start;
}

@media (min-width: 992px) {
  body.services-subpage .web-dev-services .web-d-ser > [class*="col-"] {
    width: 360px;
  }
}

body.services-subpage .web-dev-services .web-d-ser::-webkit-scrollbar {
  height: 10px;
}

body.services-subpage .web-dev-services .web-d-ser::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--accent-color), transparent 70%);
  border-radius: 999px;
}

body.services-subpage .web-dev-services .web-d-ser::-webkit-scrollbar-thumb:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 55%);
}

/* Web development services carousel (Swiper) */
body.services-subpage .web-dev-services .web-dev-services-carousel {
  position: relative;
  padding-bottom: 0.5rem;
}

body.services-subpage .web-dev-services .web-dev-services-swiper {
  padding: 0.25rem 0.25rem 2.25rem;
}

body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-slide {
  height: auto;
  display: flex;
}

body.services-subpage .web-dev-services .web-dev-services-swiper .web-dev-ser-box {
  width: 100%;
}

body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-button-prev,
body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 14px 38px rgba(50, 30, 100, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-button-prev:hover,
body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-button-next:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
  box-shadow: 0 18px 48px rgba(125, 83, 221, 0.18);
}

body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-button-prev::after,
body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), #000 10%);
}

body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 78%);
  opacity: 1;
}

body.services-subpage .web-dev-services .web-dev-services-swiper .swiper-pagination-bullet-active {
  background: var(--accent-color);
}

/* Cloud Development: "All of the computing..." section (web-dev-services block) */
body.services-subpage .web-dev-services .web-d-ser {
  align-items: stretch;
}

body.services-subpage .web-dev-services .web-dev-sr-img {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  background: radial-gradient(700px 220px at 50% 0%, rgba(125, 83, 221, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 255, 0.92) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 84%);
  box-shadow: 0 22px 70px rgba(50, 30, 100, 0.12);
  padding: 1.1rem;
}

body.services-subpage .web-dev-services .web-dev-sr-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

body.services-subpage .web-dev-services .web-dev-sr-box {
  position: relative;
  padding: 1.1rem 1.15rem;
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  margin-bottom: 1rem;
}

body.services-subpage .web-dev-services .web-dev-sr-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(125, 83, 221, 0.14);
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
}

body.services-subpage .web-dev-services .web-dev-sr-box h4 {
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  color: var(--heading-color);
}

body.services-subpage .web-dev-services .web-dev-sr-box p {
  margin-bottom: 0.75rem;
  opacity: 0.92;
  line-height: 1.6;
}

body.services-subpage .web-dev-services .web-dev-sr-box a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
}

body.services-subpage .web-dev-services .web-dev-sr-box a::after {
  content: "→";
  transition: transform 0.2s ease;
}

body.services-subpage .web-dev-services .web-dev-sr-box a:hover::after {
  transform: translateX(3px);
}

@media (max-width: 991.98px) {
  body.services-subpage .web-dev-services .web-dev-sr-box {
    text-align: left !important;
  }
}

/* UX/UI/Frontend pages — apply About-style polish to unique sections */
body.services-subpage .slicing-banner,
body.services-subpage .figma-7xarth,
body.services-subpage .adobe-feature,
body.services-subpage .figma-1gf3xfs,
body.services-subpage .wire-framing,
body.services-subpage .categories-area,
body.services-subpage .slicing-revenue {
  position: relative;
}

body.services-subpage .slicing-banner,
body.services-subpage .figma-7xarth,
body.services-subpage .adobe-feature,
body.services-subpage .figma-1gf3xfs {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  background:
    radial-gradient(900px 240px at 10% -10%, rgba(125, 83, 221, 0.10), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.services-subpage .slicing-content,
body.services-subpage .figma-feat {
  padding: 1.4rem 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

body.services-subpage .slicing-content h2,
body.services-subpage .slicing-content h3,
body.services-subpage .figma-feat h3,
body.services-subpage .figma-7xarth h2,
body.services-subpage .figma-1gf3xfs h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  line-height: 1.15;
}

body.services-subpage .slicing-content p,
body.services-subpage .figma-feat p,
body.services-subpage .figma-7xarth p,
body.services-subpage .figma-1gf3xfs p {
  line-height: 1.7;
  opacity: 0.95;
}

body.services-subpage .slicing-img,
body.services-subpage .figma-img,
body.services-subpage .slice-left-img {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
  background: #fff;
}

body.services-subpage .slicing-img img,
body.services-subpage .figma-img img,
body.services-subpage .slice-left-img img {
  display: block;
  width: 100%;
  height: auto;
}

/* Reduce excessive section gaps caused by legacy mt/mb utilities */
body.services-subpage .slicing-banner .mt-5,
body.services-subpage .slicing-banner .mb-5,
body.services-subpage .slicing-banner .pt-5,
body.services-subpage .slicing-banner .pb-5,
body.services-subpage .adobe-feature .mt-5,
body.services-subpage .adobe-feature .mb-5,
body.services-subpage .adobe-feature .pt-5,
body.services-subpage .adobe-feature .pb-5,
body.services-subpage .categories-area .mt-5,
body.services-subpage .categories-area .mb-5,
body.services-subpage .categories-area .pt-5,
body.services-subpage .categories-area .pb-5,
body.services-subpage .slicing-revenue .mt-5,
body.services-subpage .slicing-revenue .mb-5,
body.services-subpage .slicing-revenue .pt-5,
body.services-subpage .slicing-revenue .pb-5 {
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* Make big images/videos consistent (About-like) */
body.services-subpage .slicing-img img {
  max-height: 420px;
  object-fit: cover;
}

body.services-subpage .figma-7xarth video,
body.services-subpage .figma-1gf3xfs video {
  width: 100%;
  height: auto;
  max-height: 420px;
  border-radius: 1.25rem;
  display: block;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
  background: #fff;
}

/* UI Designing: make headings + layout match About, and keep videos contained */
body.services-subpage .figma-7xarth span,
body.services-subpage .adobe-feature span,
body.services-subpage .figma-1gf3xfs span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.services-subpage .figma-7xarth span::before,
body.services-subpage .adobe-feature span::before,
body.services-subpage .figma-1gf3xfs span::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

body.services-subpage .figma-1gf3xfs {
  padding: 2.25rem 0;
}

body.services-subpage .figma-1gf3xfs .figma-1ibtyzp {
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 12px;
  padding-right: 12px;
}

body.services-subpage .figma-1gf3xfs .figma-xp6b9z {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: center;
}

@media (max-width: 991.98px) {
  body.services-subpage .figma-1gf3xfs .figma-xp6b9z {
    grid-template-columns: 1fr;
  }
}

body.services-subpage .figma-1gf3xfs .figma-1wfou32 {
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

body.services-subpage .figma-1gf3xfs .figma-1wfou32 h2 {
  margin-top: 0.4rem;
}

body.services-subpage .figma-1gf3xfs .figma-1wfou32 ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

body.services-subpage .figma-1gf3xfs .figma-1wfou32 li {
  margin-bottom: 0.4rem;
  line-height: 1.55;
}

body.services-subpage .figma-1gf3xfs .figma-e6rfa9 {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
  background: #fff;
}

body.services-subpage .figma-1gf3xfs .figma-e6rfa9::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 30% 20%, rgba(125, 83, 221, 0.16), transparent 55%);
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.22;
}

body.services-subpage .figma-1gf3xfs .figma-e6rfa9 video {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  max-height: 520px;
}

/* Lavender shading for media blocks on UI/Frontend pages */
body.services-subpage .slicing-img,
body.services-subpage .figma-img,
body.services-subpage .slice-left-img {
  position: relative;
}

body.services-subpage .slicing-img::after,
body.services-subpage .figma-img::after,
body.services-subpage .slice-left-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 260px at 20% 10%, rgba(125, 83, 221, 0.16), transparent 55%);
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: 0.2;
}

/* UX: keep the hexagon cluster from getting oversized */
body.services-subpage .price-tag-section .service-animation-img {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

/* UX Designing: fix broken external icon cluster + make hero match About */
body.services-subpage .price-tag-section {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  background:
    radial-gradient(1000px 260px at 15% -20%, rgba(125, 83, 221, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.services-subpage .price-tag-section .ux-hero-copy {
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

body.services-subpage .price-tag-section .ux-hero-copy h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

body.services-subpage .price-tag-section .ux-hero-copy p {
  margin-bottom: 0;
  line-height: 1.7;
  opacity: 0.95;
}

body.services-subpage .ux-hero-media {
  width: 100%;
  max-width: 440px;
}

/* UX orbit graphic (matches screenshot style) */
body.services-subpage .ux-orbit {
  position: relative;
  aspect-ratio: 1 / 1;
  padding: 1.1rem;
  border-radius: 1.6rem;
  background:
    radial-gradient(900px 240px at 50% 0%, rgba(125, 83, 221, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 255, 0.92) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 84%);
  box-shadow: 0 22px 70px rgba(50, 30, 100, 0.12);
  overflow: hidden;
}

body.services-subpage .ux-orbit__ring {
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  border: 2px dashed color-mix(in srgb, var(--accent-color), transparent 65%);
  opacity: 0.45;
}

body.services-subpage .ux-orbit__center {
  position: absolute;
  inset: 22%;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

body.services-subpage .ux-orbit__core {
  position: absolute;
  inset: 38%;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 0.4rem;
}

body.services-subpage .ux-orbit__item {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 0.35rem;
  text-align: center;
  width: 96px;
}

body.services-subpage .ux-orbit__item--tl { top: 12%; left: 12%; }
body.services-subpage .ux-orbit__item--tr { top: 12%; right: 12%; }
body.services-subpage .ux-orbit__item--bl { bottom: 12%; left: 12%; }
body.services-subpage .ux-orbit__item--br { bottom: 12%; right: 12%; }

body.services-subpage .ux-orbit__chip {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 10px 26px rgba(50, 30, 100, 0.10);
}

body.services-subpage .ux-orbit__chip--core {
  width: 54px;
  height: 54px;
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
  box-shadow: 0 16px 40px rgba(125, 83, 221, 0.18);
}

body.services-subpage .ux-orbit__chip img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.9;
}

body.services-subpage .ux-orbit__chip--core img {
  width: 26px;
  height: 26px;
  opacity: 0.95;
}

body.services-subpage .ux-orbit__label {
  font-size: 0.72rem;
  line-height: 1.05;
  font-weight: 700;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  text-transform: lowercase;
}

body.services-subpage .ux-orbit__label--core {
  text-transform: none;
  letter-spacing: -0.01em;
}

@media (max-width: 575.98px) {
  body.services-subpage .ux-orbit__item { width: 86px; }
  body.services-subpage .ux-orbit__label { font-size: 0.68rem; }
}

/* Frontend: "WE DESIGN" heading + cards */
body.services-subpage .slic-ser-heading {
  max-width: 56rem;
  margin: 0 auto 1.25rem;
  padding: 1.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  border-radius: 1.25rem;
  box-shadow: 0 18px 50px rgba(50, 30, 100, 0.08);
}

body.frontend-page .slic-ser-heading h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: var(--heading-color);
}

body.frontend-page .slic-ser-heading h5 {
  margin: 0.35rem 0 0;
  opacity: 0.9;
}

/* Frontend: 4 cards in one row (no carousel dependency) */
body.frontend-page .slicing-owl:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  body.frontend-page .slicing-owl:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.frontend-page .slicing-owl:not(.owl-loaded) {
    grid-template-columns: 1fr;
  }
}

body.frontend-page .slicing-owl:not(.owl-loaded) .item {
  padding: 0;
}

body.frontend-page .slicing-owl .single-cat {
  margin: 0 !important;
  height: 100%;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

body.frontend-page .slicing-owl .cat-icon {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: radial-gradient(120px 120px at 30% 20%, rgba(125, 83, 221, 0.22), rgba(125, 83, 221, 0.10) 55%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 16px 40px rgba(125, 83, 221, 0.14);
}

body.frontend-page .slicing-owl .cat-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  filter: saturate(1.05);
}

/* Frontend: "Sets Us Apart" — nicer layout and balanced cards */
body.frontend-page .slicing-revenue {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
  background:
    radial-gradient(1000px 260px at 15% -20%, rgba(125, 83, 221, 0.12), transparent 60%),
    radial-gradient(900px 240px at 90% 10%, rgba(125, 83, 221, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.frontend-page .slicing-revenue .revenue-slice {
  max-width: 22rem;
}

body.frontend-page .slicing-revenue .revenue-slice h5 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.frontend-page .slicing-revenue .revenue-slice h3 {
  margin: 0.2rem 0 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

body.frontend-page .slicing-revenue .slice-left-content,
body.frontend-page .slicing-revenue .slice-left-content1 {
  height: 100%;
}

body.frontend-page .slicing-revenue .multi-slice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 900;
  color: var(--heading-color);
}

body.frontend-page .slicing-revenue .multi-slice::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent-color);
  box-shadow: 0 10px 22px rgba(125, 83, 221, 0.22);
}

body.frontend-page .slicing-revenue .slice-left-img {
  padding: 1rem;
  background:
    radial-gradient(800px 240px at 50% 0%, rgba(125, 83, 221, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 255, 0.92) 100%);
}

body.frontend-page .slicing-revenue .slice-left-img img {
  max-height: 320px;
  object-fit: contain;
}

/* Frontend: reduce excessive spacing between sections */
body.frontend-page section.section {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

/* Some sections don't use .section class */
body.frontend-page .categories-area.section-padding,
body.frontend-page .slicing-revenue,
body.frontend-page .slicing-banner {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

/* Override legacy big spacing utilities inside frontend sections */
body.frontend-page .slicing-banner .mt-5,
body.frontend-page .slicing-banner .mb-5,
body.frontend-page .slicing-banner .pt-5,
body.frontend-page .slicing-banner .pb-5,
body.frontend-page .categories-area .mt-5,
body.frontend-page .categories-area .mb-5,
body.frontend-page .categories-area .pt-5,
body.frontend-page .categories-area .pb-5,
body.frontend-page .slicing-revenue .mt-5,
body.frontend-page .slicing-revenue .mb-5,
body.frontend-page .slicing-revenue .pt-5,
body.frontend-page .slicing-revenue .pb-5 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

/* Tighten gaps between heading and grids */
body.frontend-page .slic-ser-heading {
  margin-bottom: 1rem;
}

body.frontend-page .categories-area .slic-tabs {
  margin-top: 0.5rem;
}

body.services-subpage .categories-area .single-cat {
  border-radius: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.services-subpage .categories-area .single-cat:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(125, 83, 221, 0.14);
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
}

/* UX Designing: "Reasons to help you make a decision" section */
body.services-subpage .categories-area.section-padding {
  padding-top: 2.25rem;
  padding-bottom: 2.75rem;
  background:
    radial-gradient(1000px 260px at 50% -20%, rgba(125, 83, 221, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.services-subpage .categories-area .section-tittle {
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.08);
}

body.services-subpage .categories-area .section-tittle h3 {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

body.services-subpage .categories-area .section-tittle p {
  margin: 0;
  line-height: 1.7;
  opacity: 0.95;
}

body.services-subpage .categories-area .single-cat {
  height: 100%;
  padding: 1.35rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

body.services-subpage .categories-area .cat-icon {
  width: 72px;
  height: 72px;
  border-radius: 1.25rem;
  margin: 0 auto;
  display: grid;
  place-items: center;
  background: radial-gradient(120px 120px at 30% 20%, rgba(125, 83, 221, 0.22), rgba(125, 83, 221, 0.10) 55%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 16px 40px rgba(125, 83, 221, 0.14);
}

body.services-subpage .categories-area .cat-icon img {
  width: 34px;
  height: 34px;
  display: block;
  opacity: 0.95;
}

body.services-subpage .categories-area .cat-cap h5 {
  margin: 0.25rem 0 0.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

body.services-subpage .categories-area .cat-cap h5 a {
  color: var(--heading-color);
  text-decoration: none;
}

body.services-subpage .categories-area .cat-cap h5 a:hover {
  color: var(--accent-color);
}

body.services-subpage .categories-area .cat-cap p {
  margin: 0;
  line-height: 1.65;
  opacity: 0.92;
}

/* UX: wireframing hero image cluster — give it a frame */
body.services-subpage .price-tag-section .service-animation-img {
  border-radius: 1.5rem;
  overflow: hidden;
  padding: 1rem;
  background:
    radial-gradient(700px 220px at 50% 0%, rgba(125, 83, 221, 0.16), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 255, 0.92) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 84%);
  box-shadow: 0 22px 70px rgba(50, 30, 100, 0.12);
}

body.services-subpage .wire-framing .wire-service-box {
  padding: 1.25rem 1.1rem;
}

/* Revenue section blocks */
body.services-subpage .slicing-revenue .slice-left-content,
body.services-subpage .slicing-revenue .slice-left-content1,
body.services-subpage .slicing-revenue .revenue-slice {
  padding: 1.25rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

/* Why Web Development — make "good ideas" section more attractive */
body.services-subpage .why-web-dev {
  position: relative;
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  background:
    radial-gradient(1000px 260px at 20% -20%, rgba(125, 83, 221, 0.12), transparent 60%),
    radial-gradient(900px 240px at 90% 10%, rgba(125, 83, 221, 0.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.services-subpage .why-web-dev .why-web-dev-left {
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

body.services-subpage .why-web-dev .why-web-dev-left > span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.25rem;
}

body.services-subpage .why-web-dev .why-web-dev-left > span::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

body.services-subpage .why-web-dev .about-feature-content {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

body.services-subpage .why-web-dev .about-feature-content .icon-here span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 86%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 72%);
  color: var(--accent-color);
}

body.services-subpage .why-web-dev .about-feature-content p {
  margin: 0;
  font-weight: 600;
}

/* SEO page — About-style headings, checklist, image sizing, spacing */
body.seo-page .seo-services-sec,
body.seo-page .why-web-dev {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

body.seo-page .seo-sev-content .web-dev-contenttitle {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

body.seo-page .seo-list {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.6rem;
}

body.seo-page .seo-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 26px rgba(50, 30, 100, 0.06);
  font-weight: 650;
}

body.seo-page .seo-list li i {
  margin-top: 0.15rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  flex: 0 0 28px;
}

body.seo-page .seo-sev-img img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
}

/* Keep ideal spacing between seo sections and reduce legacy big gaps */
body.seo-page .seo-services-sec .mt-5,
body.seo-page .seo-services-sec .mb-5,
body.seo-page .seo-services-sec .pt-5,
body.seo-page .seo-services-sec .pb-5,
body.seo-page .why-web-dev .mt-5,
body.seo-page .why-web-dev .mb-5,
body.seo-page .why-web-dev .pt-5,
body.seo-page .why-web-dev .pb-5 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

/* SMO page — About-style heading, fixed media, 4 icons row, social profile */
body.smo-page .seo-sev-img {
  padding: 1.1rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(800px 240px at 50% 0%, rgba(125, 83, 221, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 255, 0.92) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

body.smo-page .seo-sev-img img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  display: block;
  filter: saturate(1.05);
}

body.smo-page .seo-sev-content .web-dev-contenttitle {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

/* SMO process — show 4 pill icons in one row */
body.smo-page .smo-tabs-service {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

body.smo-page .smo-proces-service .nav-pills {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  align-items: stretch;
  justify-content: center;
}

@media (max-width: 991.98px) {
  body.smo-page .smo-proces-service .nav-pills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.smo-page .smo-proces-service .nav-pills {
    grid-template-columns: 1fr;
  }
}

body.smo-page .smo-proces-service .nav-pills .nav-link {
  height: 100%;
  border-radius: 1.1rem;
  padding: 0.9rem 0.85rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06);
  font-weight: 800;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-align: center;
}

body.smo-page .smo-proces-service .nav-pills .nav-link.active {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 255, 0.96) 100%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
  box-shadow: 0 18px 46px rgba(125, 83, 221, 0.14);
  color: var(--heading-color);
}

body.smo-page .smo-proces-service .icon-holder {
  width: 44px;
  height: 44px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
}

body.smo-page .smo-proces-service .icon-holder img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.95;
}

/* Tab content cards + lavender media */
body.smo-page .tab-service-content {
  margin-top: 1.25rem;
  padding: 1.25rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

body.smo-page .tab-service-img {
  border-radius: 1.25rem;
  overflow: hidden;
  padding: 0.75rem;
  background:
    radial-gradient(700px 240px at 30% 20%, rgba(125, 83, 221, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 255, 0.94) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
}

body.smo-page .tab-service-img img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  display: block;
}

/* Build Your Social Profile — match screenshot (center orbit + 4 feature cards) */
body.smo-page .great_features_area {
  padding-top: 2.75rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(1000px 260px at 50% -20%, rgba(125, 83, 221, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Make the whole "Build Your Social Profile" block wider */
body.smo-page .great_features_area .container {
  max-width: 1280px;
}

/* SMM uses the same layout as SMO */
body.smm-page .great_features_area .container {
  max-width: 1280px;
}

/* Pay Per Click page — About-style checklist + ideal spacing */
body.ppc-page .team-area.why-choose-us,
body.ppc-page .pay-per-benefit {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}

body.ppc-page .why-choose-content > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.ppc-page .why-choose-content > span::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

body.ppc-page ul.about-feature-content {
  list-style: none;
  padding: 0.9rem 0.95rem;
  margin: 0.75rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 26px rgba(50, 30, 100, 0.06);
}

body.ppc-page ul.about-feature-content > li {
  margin: 0;
  padding: 0;
}

body.ppc-page ul.about-feature-content .icon-here span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 86%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 72%);
  color: var(--accent-color);
}

body.ppc-page ul.about-feature-content .icon-here i {
  font-size: 0.95rem;
}

body.ppc-page ul.about-feature-content p {
  margin: 0;
  line-height: 1.6;
  font-weight: 650;
  opacity: 0.95;
}

/* Keep section-to-section spacing like About */
body.ppc-page .team-area.ptb-110 {
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
}

body.ppc-page .pay-per-benefit {
  background:
    radial-gradient(1000px 260px at 15% -20%, rgba(125, 83, 221, 0.12), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Content/Email/Mobile marketing pages — About-style headings, ideal spacing, consistent LI */
body.marketing-page section.section,
body.marketing-page .seo-services-sec,
body.marketing-page .feature-SMO,
body.marketing-page .mob-services-sec,
body.marketing-page .marketing-section,
body.marketing-page .price-tag-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

body.marketing-page .banner-content-cloud > span,
body.marketing-page .seo-sev-content > span,
body.marketing-page .mob-sev-content > span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.marketing-page .banner-content-cloud > span::before,
body.marketing-page .seo-sev-content > span::before,
body.marketing-page .mob-sev-content > span::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

body.marketing-page .web-dev-contenttitle,
body.marketing-page h2.web-dev-contenttitle,
body.marketing-page h3.web-dev-contenttitle {
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
  line-height: 1.15;
}

/* Ideal spacing: reduce legacy huge mt/mb utilities inside these pages */
body.marketing-page .mt-5,
body.marketing-page .mb-5,
body.marketing-page .pt-5,
body.marketing-page .pb-5,
body.marketing-page .ptb-110,
body.marketing-page .ptb-100 {
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
  padding-top: 1.25rem !important;
  padding-bottom: 1.25rem !important;
}

/* Unified check-list cards: about-feature-content, about-feature-content1, seo-list, welcomeLinks, mob-service-list */
body.marketing-page ul.about-feature-content,
body.marketing-page ul.about-feature-content1 {
  list-style: none;
  padding: 0.9rem 0.95rem;
  margin: 0.75rem 0 0;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 26px rgba(50, 30, 100, 0.06);
}

body.marketing-page ul.about-feature-content .icon-here span,
body.marketing-page ul.about-feature-content1 .icon-here span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 86%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 72%);
  color: var(--accent-color);
}

body.marketing-page ul.about-feature-content p,
body.marketing-page ul.about-feature-content1 p {
  margin: 0;
  line-height: 1.6;
  font-weight: 650;
  opacity: 0.95;
}

body.marketing-page ul.seo-list {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.6rem;
}

body.marketing-page ul.seo-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 26px rgba(50, 30, 100, 0.06);
  font-weight: 650;
}

body.marketing-page ul.seo-list li i {
  margin-top: 0.15rem;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  flex: 0 0 28px;
}

body.marketing-page ul.welcomeLinks,
body.marketing-page ul.mob-service-list {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
  display: grid;
  gap: 0.6rem;
}

body.marketing-page ul.welcomeLinks li,
body.marketing-page ul.mob-service-list li {
  padding: 0.8rem 0.9rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 26px rgba(50, 30, 100, 0.06);
  line-height: 1.6;
}

/* Marketing pages: hero title should be white (as screenshot request) */
body.marketing-page #hero.hero .info h2,
body.marketing-page #hero.hero .info p {
  color: #fff !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
}

body.smo-page .great_features_area .new_section_title {
  max-width: 68rem;
  margin: 0 auto 1.25rem;
  padding: 1.5rem 1.35rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.08);
}

body.smo-page .great_features {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3.25rem;
  padding: 2rem 0;
}

@media (max-width: 991.98px) {
  body.smo-page .great_features {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem 0;
  }
}

body.smo-page .great_item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.15rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10);
}

body.smo-page .great_icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent-color), transparent 88%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%);
  color: var(--accent-color);
  flex: 0 0 52px;
  box-shadow: 0 14px 34px rgba(125, 83, 221, 0.14);
}

body.smo-page .great_icon i {
  font-size: 1.25rem;
  line-height: 1;
}

body.smo-page .great_features_content h2 {
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
  color: var(--heading-color);
}

body.smo-page .great_features_content p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.92;
}

body.smo-page .round_circle {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: min(520px, 70vw);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--accent-color), transparent 90%) 0 38%, transparent 39%),
    radial-gradient(circle at center, color-mix(in srgb, var(--accent-color), transparent 82%) 0 0, transparent 0);
  border: 2px dashed color-mix(in srgb, var(--accent-color), transparent 70%);
  opacity: 0.55;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  body.smo-page .round_circle {
    display: none;
  }
}

/* App Development: Technology Stack carousel (make it modern) */
body.services-subpage .technolgy-stact {
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  background: linear-gradient(180deg, #faf7ff 0%, #ffffff 45%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

/* Make the Technology Stack heading block look like About */
body.services-subpage .technolgy-stact .service-block-heading {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}

body.services-subpage .technolgy-stact .service-block-heading {
  padding: 1.6rem 1.4rem 1.75rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(1200px 200px at 50% -40px, rgba(125, 83, 221, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 255, 0.96) 100%);
  box-shadow: 0 18px 55px rgba(50, 30, 100, 0.09);
}

body.services-subpage .technolgy-stact .service-block-heading h4 {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem);
  margin-bottom: 0.5rem;
}

body.services-subpage .technolgy-stact .service-block-heading p {
  margin-bottom: 0;
  opacity: 0.92;
}

/* App Development: "App Development Process" section polish */
body.services-subpage .section-app-fourr {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(900px 240px at 50% 0%, rgba(125, 83, 221, 0.10), transparent 65%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.services-subpage .section-app-fourr .center-heading-border {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 14px 40px rgba(50, 30, 100, 0.08);
}

body.services-subpage .section-app-fourr .center-heading-border h4 {
  margin: 0;
}

body.services-subpage .section-app-fourr .box-process {
  padding: 1.25rem;
}

body.services-subpage .section-app-fourr .flexboxprocess {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06);
}

body.services-subpage .section-app-fourr .mt-processbox {
  margin-top: 1rem;
}

body.services-subpage .section-app-fourr .process-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #fff 0%, #faf7ff 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 84%);
}

body.services-subpage .section-app-fourr .process-icon img {
  max-width: 34px;
  max-height: 34px;
  width: auto;
  height: auto;
  display: block;
  filter: var(--brand-icon-filter);
}

body.services-subpage .section-app-fourr .process-texts h3 {
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

body.services-subpage .section-app-fourr .process-texts h3 > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 18%));
  box-shadow: 0 12px 28px rgba(125, 83, 221, 0.22);
}

body.services-subpage .section-app-fourr .process-texts h4.spanss-2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--heading-color);
}

body.services-subpage .section-app-fourr .process-texts p {
  margin: 0;
  line-height: 1.6;
  opacity: 0.92;
}

body.services-subpage .section-app-fourr .centermobilebox {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  padding: 0.75rem;
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 22px 70px rgba(50, 30, 100, 0.14);
}

body.services-subpage .section-app-fourr .centermobilebox > img {
  display: block;
  border-radius: 1.25rem;
}

body.services-subpage .section-app-fourr .mobile-cercle {
  position: absolute;
  inset: -16%;
  z-index: -1;
  opacity: 0.65;
  filter: blur(0.1px);
}

@media (max-width: 767.98px) {
  body.services-subpage .section-app-fourr .row.d-flex.align-items-center {
    gap: 1.5rem;
  }
  body.services-subpage .section-app-fourr .content-process {
    text-align: left !important;
  }
}

body.services-subpage .technolgy-stact .techicons-list .item {
  padding: 0.35rem 0.25rem;
}

/* If Owl Carousel isn't initialized, show a responsive 1-row grid */
body.services-subpage .technolgy-stact .techicons-list:not(.owl-loaded) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  body.services-subpage .technolgy-stact .techicons-list:not(.owl-loaded) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  body.services-subpage .technolgy-stact .techicons-list:not(.owl-loaded) {
    grid-template-columns: 1fr;
  }
}

body.services-subpage .technolgy-stact .techicons-list:not(.owl-loaded) .item {
  padding: 0;
}

/* When Owl Carousel is initialized, keep items compact */
body.services-subpage .technolgy-stact .techicons-list.owl-loaded .item {
  padding: 0.35rem 0.6rem;
}

body.services-subpage .technolgy-stact .tech-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.services-subpage .technolgy-stact .tech-icons:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(125, 83, 221, 0.14);
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
}

body.services-subpage .technolgy-stact .tech-icons img {
  max-width: 56px;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(1.05);
}

/* Clean the owl carousel dots for this section */
body.services-subpage .technolgy-stact .owl-dots .owl-dot span {
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
}

body.services-subpage .technolgy-stact .owl-dots .owl-dot.active span {
  background: var(--accent-color);
}

/* ==================================================================
   About page — elevated UI (lavender, depth, focus states)
   ================================================================== */

.about-page .about-eyebrow,
.vision-page .about-eyebrow,
.portfolio-page .about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.about-page .about-eyebrow::before,
.vision-page .about-eyebrow::before,
.portfolio-page .about-eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 40%));
}

/* Soft ambient shapes */
.about-page .about-section__glow,
.vision-page .about-section__glow,
.portfolio-page .about-section__glow {
  pointer-events: none;
  position: absolute;
  width: 420px;
  height: 420px;
  right: -120px;
  top: 10%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent-color), transparent 70%) 0%,
    transparent 70%
  );
  filter: blur(2px);
  opacity: 0.5;
  z-index: 0;
}

.about-page .about-section--feature .container,
.about-page .about-section--why .container,
.vision-page .about-section--feature .container,
.portfolio-page .about-section--feature .container {
  position: relative;
  z-index: 1;
}

.about-page .about-section__glow--stats {
  right: auto;
  left: -160px;
  top: 20%;
  opacity: 0.35;
  width: 500px;
  height: 500px;
}

/* Subnav: floating pill bar */
.about-page .about-subnav--elevated {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.about-page .about-pillbar,
.vision-page .about-pillbar,
.portfolio-page .about-pillbar {
  padding: 0.6rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(125, 83, 221, 0.08),
    0 10px 40px rgba(55, 40, 120, 0.08);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
}

.about-page .about-pillbar .nav-link,
.vision-page .about-pillbar .nav-link,
.portfolio-page .about-pillbar .nav-link {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1.15rem;
  color: var(--default-color);
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.about-page .about-pillbar .nav-link:not(.active):hover,
.vision-page .about-pillbar .nav-link:not(.active):hover,
.portfolio-page .about-pillbar .nav-link:not(.active):hover {
  background: color-mix(in srgb, var(--accent-color), white 90%);
  color: var(--accent-color);
}

.about-page .about-pillbar .nav-link i,
.vision-page .about-pillbar .nav-link i,
.portfolio-page .about-pillbar .nav-link i {
  opacity: 0.85;
}

/* Hero image: outer frame + subtle tilt on large screens */
.about-page .about-media--tilt,
.vision-page .about-media--tilt,
.portfolio-page .about-media--tilt {
  border-radius: 1.1rem;
}

.about-page .about-media--tilt .about-media__frame,
.vision-page .about-media--tilt .about-media__frame,
.portfolio-page .about-media--tilt .about-media__frame {
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-color), transparent 60%);
  opacity: 0.6;
}

@media (min-width: 992px) {
  .about-page .about-media--tilt,
  .vision-page .about-media--tilt,
  .portfolio-page .about-media--tilt {
    transform: perspective(1000px) rotateY(-4deg) rotateX(1deg);
    transform-origin: center right;
  }
}

/* Feature text column */
.about-page .about-feature-copy,
.vision-page .about-feature-copy,
.portfolio-page .about-feature-copy {
  max-width: 100%;
  padding: 0.5rem 0 0.25rem;
}

@media (min-width: 992px) {
  .about-page .about-feature-copy,
  .vision-page .about-feature-copy,
  .portfolio-page .about-feature-copy {
    padding-left: 0.5rem;
  }
}

.about-page .about-feature-copy__title,
.vision-page .about-feature-copy__title,
.portfolio-page .about-feature-copy__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading-color);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem);
}

.about-page .about-feature-copy__lead,
.about-page .about-why-panel__intro,
.vision-page .about-feature-copy__lead,
.portfolio-page .about-feature-copy__lead {
  line-height: 1.7;
  color: var(--default-color);
  font-size: 1.02rem;
}

.about-page .about-feature-copy__text,
.vision-page .about-feature-copy__text,
.portfolio-page .about-feature-copy__text {
  line-height: 1.7;
  padding: 1rem 0 0;
  border-top: 1px dashed color-mix(in srgb, var(--accent-color), transparent 75%);
  color: var(--default-color);
  font-size: 0.98rem;
  opacity: 0.95;
}

/* Why choose panel */
.about-page .about-why-panel__title {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--heading-color);
  font-size: clamp(1.45rem, 1.05rem + 1.1vw, 1.95rem);
}

/* Checklist cards */
.about-page .about-checklist__item {
  background: #fff;
  border-radius: 0.9rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  padding: 0.9rem 1rem 0.9rem 0.9rem;
  line-height: 1.6;
  box-shadow: 0 2px 12px rgba(50, 30, 100, 0.04);
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.2s;
}

.about-page .about-checklist__item:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
  box-shadow: 0 10px 28px rgba(125, 83, 221, 0.12);
  transform: translateY(-2px);
}

.about-page .about-checklist__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 0.4rem;
  background: color-mix(in srgb, var(--accent-color), white 90%);
  color: var(--accent-color);
  font-size: 1.05rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Stats */
.about-page .about-section--stats {
  --about-stat-surface: #fff;
  background: linear-gradient(180deg, #faf8ff 0%, #f3ecff 45%, #faf7ff 100%);
}

.about-page .about-stats-title h2,
.about-page .about-principles-header h2 {
  font-weight: 800;
  letter-spacing: -0.025em;
}

.about-page .about-stat-card {
  position: relative;
  padding: 1.4rem 1rem 1.2rem;
  background: var(--about-stat-surface);
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 4px 20px rgba(40, 20, 90, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  overflow: hidden;
}

.about-page .about-stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #c4a7ff, var(--accent-color));
  border-radius: 1.1rem 1.1rem 0 0;
  opacity: 0.9;
}

.about-page .about-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(125, 83, 221, 0.15);
}

.about-page .about-stat-card__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto 0.4rem;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(145deg, #603acc, #9b7aef);
  border-radius: 0.8rem;
  box-shadow: 0 6px 16px rgba(125, 83, 221, 0.35);
}

.about-page .about-stat-card__num {
  color: var(--heading-color);
  line-height: 1.1;
  margin-bottom: 0.15rem;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, #1f1833, #3c3656);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@supports not (background-clip: text) {
  .about-page .about-stat-card__num {
    color: var(--heading-color);
    -webkit-text-fill-color: currentColor;
  }
}

.about-page .about-stat-card__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), #555 5%);
  letter-spacing: 0.01em;
}

/* Inline CTA in stats */
.about-page .about-inline-cta {
  max-width: 52rem;
  margin-top: 0.5rem;
}

.about-page .about-inline-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  padding: 1.35rem 1.4rem 1.45rem;
  background: #fff;
  border-radius: 1.15rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  box-shadow: 0 12px 36px rgba(50, 30, 100, 0.08);
}

@media (min-width: 768px) {
  .about-page .about-inline-cta__inner {
    flex-direction: row;
    text-align: left;
    padding: 1.25rem 1.5rem 1.25rem 1.4rem;
    align-items: center;
    justify-content: space-between;
  }
}

.about-page .about-inline-cta__ico {
  font-size: 1.75rem;
  color: var(--accent-color);
  line-height: 1;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .about-page .about-inline-cta__inner > div:nth-child(2) {
    flex: 1;
    min-width: 0;
  }
  .about-page .about-inline-cta__btn {
    min-width: 8.5rem;
  }
}

/* Principle cards */
.about-page .about-principle-card {
  padding: 1.5rem 1.35rem 1.4rem;
  background: #fff;
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 4px 18px rgba(50, 30, 100, 0.05);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  overflow: hidden;
}

/* Vision: Company Features cards (clean + premium hover) */
.vision-page #vision-features .about-principle-card {
  cursor: pointer;
  padding: 1.35rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 1.1rem;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06);
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* top accent */
.vision-page #vision-features .about-principle-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.45;
}

/* soft glow overlay (NO hard inner border) */
.vision-page #vision-features .about-principle-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  background:
    radial-gradient(260px 140px at 18% 22%, rgba(125, 83, 221, 0.14) 0%, transparent 70%),
    radial-gradient(260px 140px at 86% 18%, rgba(125, 83, 221, 0.10) 0%, transparent 72%);
}

.vision-page #vision-features .about-principle-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 68%);
  box-shadow: 0 18px 46px rgba(125, 83, 221, 0.14);
}

.vision-page #vision-features .about-principle-card:hover::after {
  opacity: 1;
}

.vision-page #vision-features .about-checklist__icon {
  background: color-mix(in srgb, var(--accent-color), white 90%);
  color: var(--accent-color);
  box-shadow: 0 8px 16px rgba(125, 83, 221, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vision-page #vision-features .about-principle-card:hover .about-checklist__icon {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(125, 83, 221, 0.22);
}

@media (prefers-reduced-motion: reduce) {
  .vision-page #vision-features .about-principle-card,
  .vision-page #vision-features .about-checklist__icon {
    transition: none;
    transform: none;
  }
}

.about-page .about-principle-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.55;
}

.about-page .about-principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(125, 83, 221, 0.14);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.about-page .about-principle-card__title {
  font-weight: 700;
  color: var(--heading-color);
}

.about-page .about-principle-card__text {
  color: var(--default-color);
  line-height: 1.7;
  font-size: 0.97rem;
}

/* Bottom CTA */
.about-page .about-section--bottom-cta,
.vision-page .about-section--bottom-cta,
.portfolio-page .about-section--bottom-cta {
  padding-bottom: 3.5rem;
}

.about-page .about-cta-banner,
.vision-page .about-cta-banner,
.portfolio-page .about-cta-banner {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  background: linear-gradient(125deg, #3d0f9e 0%, #6d3dd9 38%, #603acc 60%, #a67cff 100%);
  color: #fff;
  box-shadow: 0 18px 50px rgba(60, 20, 140, 0.35);
}

.about-page .about-cta-banner::after,
.vision-page .about-cta-banner::after,
.portfolio-page .about-cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 50 L50 0 L100 50 L50 100 Z' fill='none' stroke='white' stroke-opacity='0.12' stroke-width='0.5'/%3E%3C/svg%3E");
  background-size: 56px 56px;
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.6;
}

.about-page .about-cta-banner > *,
.vision-page .about-cta-banner > *,
.portfolio-page .about-cta-banner > * {
  position: relative;
  z-index: 1;
}

.about-page .about-cta-banner__t,
.vision-page .about-cta-banner__t,
.portfolio-page .about-cta-banner__t {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.about-page .about-cta-banner__btn,
.vision-page .about-cta-banner__btn,
.portfolio-page .about-cta-banner__btn {
  font-weight: 700;
  color: #3d0f6e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: none;
}

.about-page .about-cta-banner__btn:hover,
.about-page .about-cta-banner__btn:focus,
.vision-page .about-cta-banner__btn:hover,
.vision-page .about-cta-banner__btn:focus,
.portfolio-page .about-cta-banner__btn:hover,
.portfolio-page .about-cta-banner__btn:focus {
  color: #2a0850;
  background: #f8f5ff;
  transform: translateY(-1px);
}

/* Map decor: more integrated */
.about-page .about-section--stats .about-map-decor {
  opacity: 0.32;
  filter: sepia(0.2) saturate(1.6) hue-rotate(255deg) brightness(0.95);
}

@media (max-width: 575.98px) {
  .about-page .about-pillbar {
    border-radius: 1rem;
  }

  .about-page .about-pillbar__list {
    row-gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .about-checklist__item,
  .about-page .about-stat-card,
  .about-page .about-principle-card,
  .about-page .about-media--tilt {
    transition: none;
    transform: none;
  }
}

/* Home — AI section */
body.index-page #ai {
  overflow: hidden;
}

body.index-page #ai .section-title {
  padding-bottom: 40px;
}

body.index-page #ai .ai-section__img {
  margin-top: 0;
  overflow: hidden;
  max-height: 400px;
  aspect-ratio: 3 / 2;
}

body.index-page #ai .ai-section__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  border-radius: 20px;
}

@media (max-width: 991.98px) {
  body.index-page #ai .ai-section__img {
    max-height: 320px;
  }
}

@media (min-width: 992px) {
  body.index-page #ai .ai-section__media-col {
    align-self: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Page scroll progress — premium top bar + circular indicator
   -------------------------------------------------------------------------- */
.scroll-progress {
  --sp-purple: #603acc;
  --sp-violet: #a78bfa;
  --sp-indigo: #6366f1;
  /* No fixed/inset on wrapper — avoids trapping the ring indicator (black circle bug) */
  position: static;
  width: 0;
  height: 0;
  overflow: visible;
  pointer-events: none;
}

/* Top progress bar — slim, clean (NProgress-style) */
.scroll-progress__bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100011;
  padding: 0;
  margin: 0;
}

.scroll-progress__track {
  position: relative;
  height: 3px;
  background: rgba(125, 83, 221, 0.08);
  overflow: hidden;
}

/* Default track — visible on every page */
body .scroll-progress__track {
  background: rgba(125, 83, 221, 0.14);
}

/* Softer rail over dark hero */
body.index-page:not(.scrolled) .scroll-progress__track {
  background: rgba(255, 255, 255, 0.2);
}

body.admin-page .scroll-progress__track {
  background: rgba(125, 83, 221, 0.14);
}

body.scrolled .scroll-progress__track {
  background: rgba(125, 83, 221, 0.1);
  box-shadow: 0 1px 0 rgba(125, 83, 221, 0.06);
}

.scroll-progress__fill {
  position: relative;
  width: 0;
  height: 100%;
  min-width: 0;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(
    90deg,
    #6b46d9 0%,
    var(--sp-purple) 28%,
    var(--sp-violet) 62%,
    #8b7cf8 100%
  );
  box-shadow: 0 0 12px rgba(125, 83, 221, 0.45);
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: width;
}

/* Subtle top highlight (static, no animation) */
.scroll-progress__fill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.08) 40%,
    transparent 100%
  );
  pointer-events: none;
}

/* Crisp leading edge */
.scroll-progress__fill::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
  opacity: 0.9;
}

.scroll-progress.is-complete .scroll-progress__fill {
  background: linear-gradient(90deg, #059669 0%, #10b981 50%, #34d399 100%);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.scroll-progress.is-complete .scroll-progress__fill::after {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 8px rgba(167, 243, 208, 0.6);
}

/* Floating circular indicator */
.scroll-progress__indicator {
  position: fixed;
  right: 18px;
  bottom: 72px;
  z-index: 100012;
  width: 58px;
  max-width: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0;
  transform: translateY(12px) scale(0.88);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-progress.is-scrollable.is-scrolling .scroll-progress__indicator {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.scroll-progress__ring-wrap {
  position: relative;
  width: 58px;
  height: 58px;
  max-width: 58px;
  max-height: 58px;
  flex-shrink: 0;
  padding: 3px;
  border-radius: 50%;
  background: rgba(15, 11, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 12px 32px rgba(31, 24, 51, 0.45),
    0 0 0 1px rgba(125, 83, 221, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.scroll-progress__svg {
  display: block;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.scroll-progress__ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 4;
}

.scroll-progress__ring-progress {
  fill: none;
  stroke: url(#emergynScrollProgressGrad);
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 0 6px rgba(125, 83, 221, 0.65));
}

.scroll-progress__ring-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: "Nunito", "Roboto", sans-serif;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 8px rgba(125, 83, 221, 0.5);
}

.scroll-progress__value {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.scroll-progress__symbol {
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.85;
  margin-top: 0.15rem;
}

.scroll-progress__hint {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(125, 83, 221, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.scroll-progress.is-complete .scroll-progress__hint {
  background: rgba(16, 185, 129, 0.35);
  color: #d1fae5;
}

@media (max-width: 575.98px) {
  .scroll-progress__indicator {
    right: 12px;
    bottom: 78px;
  }

  .scroll-progress__ring-wrap {
    width: 52px;
    height: 52px;
  }

  .scroll-progress__value {
    font-size: 0.9rem;
  }

  .scroll-progress__track {
    height: 3px;
  }
}

/* Cloud Development — services showcase section */
.page-cloud-development .cloud-services-showcase {
  position: relative;
  padding-top: 3.5rem;
  padding-bottom: 3.75rem;
  overflow: hidden;
}

.page-cloud-development .cloud-services-showcase__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-cloud-development .cloud-services-showcase__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(123, 77, 255, 0.1), transparent 62%),
    radial-gradient(760px 380px at 88% 100%, rgba(123, 77, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #faf7ff 0%, #ffffff 48%, #f7f4ff 100%);
}

.page-cloud-development .cloud-services-showcase__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.page-cloud-development .cloud-services-showcase__orb--1 {
  width: 220px;
  height: 220px;
  top: 8%;
  left: -4%;
  background: rgba(123, 77, 255, 0.22);
}

.page-cloud-development .cloud-services-showcase__orb--2 {
  width: 260px;
  height: 260px;
  right: -5%;
  bottom: 6%;
  background: rgba(167, 139, 250, 0.2);
}

.page-cloud-development .cloud-services-showcase__header {
  max-width: 44rem;
  margin: 0 auto 2rem;
}

.page-cloud-development .cloud-services-showcase__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.page-cloud-development .cloud-services-showcase__eyebrow::before,
.page-cloud-development .cloud-services-showcase__eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.page-cloud-development .cloud-services-showcase__header h2 {
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.page-cloud-development .cloud-services-showcase__header p {
  margin-bottom: 0;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

.page-cloud-development .cloud-services-showcase__panel {
  position: relative;
  padding: 1.5rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow:
    0 24px 70px rgba(50, 30, 100, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}

@media (min-width: 992px) {
  .page-cloud-development .cloud-services-showcase__panel {
    padding: 2rem 1.75rem;
  }
}

.page-cloud-development .cloud-services-showcase__stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page-cloud-development .cloud-service-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  box-shadow: 0 10px 28px rgba(50, 30, 100, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-cloud-development .cloud-service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 62%);
  box-shadow: 0 18px 44px rgba(123, 77, 255, 0.14);
}

.page-cloud-development .cloud-service-card__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 1.35rem;
  color: #ffffff;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-color), #ffffff 8%) 0%,
    color-mix(in srgb, var(--accent-color), #000 8%) 100%
  );
  box-shadow: 0 10px 24px rgba(123, 77, 255, 0.28);
}

.page-cloud-development .cloud-service-card__body {
  min-width: 0;
}

.page-cloud-development .cloud-service-card__num {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--accent-color), transparent 18%);
}

.page-cloud-development .cloud-service-card__body h4 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--heading-color);
}

.page-cloud-development .cloud-service-card__body p {
  margin-bottom: 0.85rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

.page-cloud-development .cloud-service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.page-cloud-development .cloud-service-card__link i {
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.page-cloud-development .cloud-service-card__link:hover {
  color: #ffffff;
  background: var(--accent-color);
  transform: translateY(-1px);
}

.page-cloud-development .cloud-service-card__link:hover i {
  transform: translateX(3px);
}

.page-cloud-development .cloud-services-showcase__visual {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  padding: 1.25rem 0 2.5rem;
}

.page-cloud-development .cloud-services-showcase__visual-ring {
  position: absolute;
  inset: 0.5rem 0.75rem 2.75rem;
  border-radius: 1.5rem;
  border: 1px dashed color-mix(in srgb, var(--accent-color), transparent 62%);
  animation: cloud-showcase-ring 8s linear infinite;
}

@keyframes cloud-showcase-ring {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.page-cloud-development .cloud-services-showcase__visual-frame {
  position: relative;
  z-index: 1;
  padding: 1rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(123, 77, 255, 0.16), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.98) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 22px 60px rgba(50, 30, 100, 0.12);
}

.page-cloud-development .cloud-services-showcase__visual-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.page-cloud-development .cloud-services-showcase__visual-badge {
  position: absolute;
  left: 50%;
  bottom: 0.35rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.9rem;
  transform: translateX(-50%);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--heading-color);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  box-shadow: 0 12px 30px rgba(50, 30, 100, 0.1);
}

.page-cloud-development .cloud-services-showcase__visual-badge i {
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  .page-cloud-development .cloud-services-showcase {
    padding-top: 2.75rem;
    padding-bottom: 3rem;
  }

  .page-cloud-development .cloud-services-showcase__panel {
    padding: 1.15rem;
  }

  .page-cloud-development .cloud-services-showcase__visual {
    max-width: 280px;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .page-cloud-development .cloud-service-card {
    padding: 1rem;
  }

  .page-cloud-development .cloud-service-card__icon {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }
}

/* IoT Development page */
.page-iot-development .iot-audience-section {
  position: relative;
  padding-top: 3.25rem;
  padding-bottom: 3.5rem;
  overflow: hidden;
}

.page-iot-development .iot-audience-section__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-iot-development .iot-audience-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(123, 77, 255, 0.1), transparent 62%),
    radial-gradient(760px 340px at 85% 100%, rgba(123, 77, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #faf7ff 0%, #ffffff 52%, #f7f4ff 100%);
}

.page-iot-development .iot-audience-section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.page-iot-development .iot-audience-section__orb--1 {
  width: 210px;
  height: 210px;
  top: 10%;
  left: -3%;
  background: rgba(123, 77, 255, 0.2);
}

.page-iot-development .iot-audience-section__orb--2 {
  width: 240px;
  height: 240px;
  right: -4%;
  bottom: 8%;
  background: rgba(167, 139, 250, 0.18);
}

.page-iot-development .iot-audience-section__header {
  max-width: 44rem;
  margin: 0 auto 2rem;
}

.page-iot-development .iot-audience-section__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.page-iot-development .iot-audience-section__eyebrow::before,
.page-iot-development .iot-audience-section__eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.page-iot-development .iot-audience-section__header h2 {
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

.page-iot-development .iot-audience-section__header p {
  margin-bottom: 0;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

.page-iot-development .iot-audience-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  box-shadow: 0 12px 32px rgba(50, 30, 100, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.page-iot-development .iot-audience-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 62%);
  box-shadow: 0 18px 44px rgba(123, 77, 255, 0.14);
}

.page-iot-development .iot-audience-card__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  margin-bottom: 0.85rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background:
    radial-gradient(180px 80px at 50% 0%, rgba(123, 77, 255, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(248, 245, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
}

.page-iot-development .iot-audience-card__visual img {
  width: auto;
  max-width: 88px;
  max-height: 88px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.22s ease;
}

.page-iot-development .iot-audience-card:hover .iot-audience-card__visual img {
  transform: scale(1.05);
  opacity: 1;
}

.page-iot-development .iot-audience-card__num {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--accent-color), transparent 18%);
}

.page-iot-development .iot-audience-card__body h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--heading-color);
}

.page-iot-development .iot-audience-card__body p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

/* IoT content sections — balanced text + image */
.page-iot-development .iot-intro-section,
.page-iot-development .iot-role-section,
.page-iot-development .iot-service-offers {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.page-iot-development .iot-content-media {
  max-width: 420px;
  margin: 0 auto;
  padding: 0.65rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(123, 77, 255, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.98) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  box-shadow: 0 16px 44px rgba(50, 30, 100, 0.1);
}

.page-iot-development .iot-content-media img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  border-radius: 0.95rem;
  animation: none !important;
}

.page-iot-development .iot-content-media--intro {
  max-width: 400px;
}

.page-iot-development .iot-content-media--intro img {
  max-height: 320px;
  object-fit: contain;
  object-position: center;
}

.page-iot-development .iot-content-media--compact {
  max-width: 380px;
}
}

.page-iot-development .iot-content-media--compact img {
  max-height: 240px;
}

.page-iot-development .banner-img-cloud img {
  animation: none !important;
}

@media (min-width: 992px) {
  .page-iot-development .iot-intro-section .row,
  .page-iot-development .iot-role-section .row,
  .page-iot-development .iot-service-offers .row {
    align-items: center;
  }

  .page-iot-development .iot-intro-section .iot-content-media,
  .page-iot-development .iot-role-section .iot-content-media {
    margin-left: auto;
    margin-right: 0;
  }

  .page-iot-development .iot-service-offers .iot-content-media {
    margin-left: 0;
    margin-right: auto;
  }
}

@media (max-width: 991.98px) {
  .page-iot-development .iot-audience-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

  .page-iot-development .iot-content-media,
  .page-iot-development .iot-content-media--intro,
  .page-iot-development .iot-content-media--compact {
    max-width: 340px;
    margin-bottom: 0.5rem;
  }

  .page-iot-development .iot-content-media img {
    max-height: 220px;
  }

  .page-iot-development .iot-content-media--intro img {
    max-height: 240px;
  }
}

@media (max-width: 575.98px) {
  .page-iot-development .iot-audience-card__visual {
    min-height: 100px;
  }

  .page-iot-development .iot-audience-card__visual img {
    max-width: 72px;
    max-height: 72px;
  }
}

/* Frontend page — WE DESIGN tools grid */
body.frontend-page .frontend-design-tools {
  position: relative;
  overflow: hidden;
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
  background: transparent;
  border-top: none;
}

body.frontend-page .frontend-design-tools__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.frontend-page .frontend-design-tools__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(123, 77, 255, 0.1), transparent 62%),
    radial-gradient(760px 340px at 88% 100%, rgba(123, 77, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 52%, #f7f4ff 100%);
}

body.frontend-page .frontend-design-tools__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

body.frontend-page .frontend-design-tools__orb--1 {
  width: 210px;
  height: 210px;
  top: 8%;
  left: -3%;
  background: rgba(123, 77, 255, 0.2);
}

body.frontend-page .frontend-design-tools__orb--2 {
  width: 240px;
  height: 240px;
  right: -4%;
  bottom: 8%;
  background: rgba(167, 139, 250, 0.18);
}

body.frontend-page .frontend-design-tools__header {
  max-width: 44rem;
  margin: 0 auto 2rem;
}

body.frontend-page .frontend-design-tools__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.frontend-page .frontend-design-tools__eyebrow::before,
body.frontend-page .frontend-design-tools__eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

body.frontend-page .frontend-design-tools__header h3 {
  margin-bottom: 0.75rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

body.frontend-page .frontend-design-tools__header p {
  margin-bottom: 0;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

body.frontend-page .frontend-tool-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.35rem 1.2rem 1.4rem;
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  box-shadow: 0 12px 32px rgba(50, 30, 100, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.frontend-page .frontend-tool-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 62%);
  box-shadow: 0 18px 44px rgba(123, 77, 255, 0.14);
}

body.frontend-page .frontend-tool-card__icon {
  width: 76px;
  height: 76px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  border-radius: 1.2rem;
  background:
    radial-gradient(120px 120px at 30% 20%, rgba(123, 77, 255, 0.18), rgba(255, 255, 255, 0.95) 70%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 14px 34px rgba(123, 77, 255, 0.12);
}

body.frontend-page .frontend-tool-card__icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: none;
}

body.frontend-page .frontend-tool-card__num {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--accent-color), transparent 18%);
}

body.frontend-page .frontend-tool-card__body h4 {
  margin-bottom: 0.55rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--heading-color);
}

body.frontend-page .frontend-tool-card__body p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

/* Frontend page — Sets Us Apart section */
body.frontend-page .frontend-apart-section {
  position: relative;
  overflow: hidden;
  padding-top: 2.75rem !important;
  padding-bottom: 2.75rem !important;
  background: transparent;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.frontend-page .frontend-apart-section__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.frontend-page .frontend-apart-section__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1000px 260px at 15% -20%, rgba(123, 77, 255, 0.12), transparent 60%),
    radial-gradient(900px 240px at 90% 10%, rgba(123, 77, 255, 0.1), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
}

body.frontend-page .frontend-apart-section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.5;
}

body.frontend-page .frontend-apart-section__orb--1 {
  width: 220px;
  height: 220px;
  top: 10%;
  right: -4%;
  background: rgba(123, 77, 255, 0.18);
}

body.frontend-page .frontend-apart-section__orb--2 {
  width: 200px;
  height: 200px;
  left: -3%;
  bottom: 8%;
  background: rgba(167, 139, 250, 0.16);
}

body.frontend-page .frontend-apart-section__header {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

body.frontend-page .frontend-apart-section__eyebrow {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.frontend-page .frontend-apart-section__header h3 {
  margin-bottom: 0.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

body.frontend-page .frontend-apart-section__header p {
  margin-bottom: 0;
  line-height: 1.7;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

body.frontend-page .frontend-apart-card {
  height: 100%;
  padding: 1.25rem 1.2rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 12px 32px rgba(50, 30, 100, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.frontend-page .frontend-apart-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 65%);
  box-shadow: 0 18px 44px rgba(123, 77, 255, 0.12);
}

body.frontend-page .frontend-apart-card__badge {
  width: 44px;
  height: 44px;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.15rem;
  color: #ffffff;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--accent-color), #ffffff 8%) 0%,
    color-mix(in srgb, var(--accent-color), #000 8%) 100%
  );
  box-shadow: 0 10px 24px rgba(123, 77, 255, 0.24);
}

body.frontend-page .frontend-apart-card h4 {
  margin-bottom: 0.55rem;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--heading-color);
}

body.frontend-page .frontend-apart-card p {
  margin-bottom: 0;
  font-size: 0.93rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

body.frontend-page .frontend-apart-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

body.frontend-page .frontend-apart-visual {
  position: relative;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 2.25rem;
}

body.frontend-page .frontend-apart-visual__frame {
  width: 100%;
  max-width: 320px;
  padding: 1rem;
  border-radius: 1.35rem;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(123, 77, 255, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.98) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
  box-shadow: 0 18px 50px rgba(50, 30, 100, 0.1);
}

body.frontend-page .frontend-apart-visual__frame img {
  display: block;
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 0.95rem;
}

body.frontend-page .frontend-apart-visual__chip {
  position: absolute;
  left: 50%;
  bottom: 0.2rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--heading-color);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%);
  box-shadow: 0 12px 30px rgba(50, 30, 100, 0.1);
}

body.frontend-page .frontend-apart-visual__chip i {
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  body.frontend-page .frontend-apart-visual {
    min-height: auto;
    margin-bottom: 0.25rem;
  }

  body.frontend-page .frontend-apart-visual__frame {
    max-width: 280px;
    margin: 0 auto;
  }
}

@media (max-width: 575.98px) {
  body.frontend-page .frontend-tool-card {
    padding: 1.1rem;
  }

  body.frontend-page .frontend-tool-card__icon {
    width: 68px;
    height: 68px;
  }

  body.frontend-page .frontend-tool-card__icon img {
    width: 38px;
    height: 38px;
  }
}

/* ================================================================
   Marketing pages — unified redesign (SMO, SEO, SMM, Email, Mobile)
   ================================================================ */

body.marketing-page,
body.smo-page,
body.smm-page,
body.seo-page {
  --marketing-section-pad: 2.75rem;
}

body.marketing-page .smo-services-sec,
body.marketing-page .seo-services-sec,
body.marketing-page .feature-SMO,
body.marketing-page .mob-services-sec,
body.smo-page .smo-services-sec,
body.smo-page .smo-tabs-service,
body.smm-page .smo-services-sec,
body.smm-page .smo-tabs-service,
body.seo-page .seo-services-sec,
body.seo-page .why-web-dev,
body.seo-page .marketing-services-section {
  position: relative;
  overflow: hidden;
}

body.marketing-page .smo-services-sec,
body.marketing-page .seo-services-sec,
body.smo-page .smo-services-sec,
body.smm-page .smo-services-sec,
body.seo-page .seo-services-sec {
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(123, 77, 255, 0.1), transparent 62%),
    linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
}

body.marketing-page .feature-SMO:nth-of-type(even),
body.marketing-page .mob-services-sec:nth-of-type(even) {
  background:
    radial-gradient(900px 340px at 90% 0%, rgba(123, 77, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #f7f4ff 100%);
}

body.marketing-page .feature-SMO:nth-of-type(odd),
body.marketing-page .mob-services-sec:nth-of-type(odd):not(:first-of-type) {
  background: #ffffff;
}

body.smo-page .smo-tabs-service,
body.smm-page .smo-tabs-service {
  background:
    radial-gradient(1000px 260px at 50% -20%, rgba(123, 77, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.seo-page .marketing-services-section {
  background:
    radial-gradient(1000px 260px at 50% -20%, rgba(123, 77, 255, 0.1), transparent 60%),
    linear-gradient(180deg, #faf7ff 0%, #ffffff 100%);
  padding-top: var(--marketing-section-pad);
  padding-bottom: var(--marketing-section-pad);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%);
}

body.seo-page .why-web-dev {
  background:
    radial-gradient(900px 320px at 85% 20%, rgba(123, 77, 255, 0.08), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #faf7ff 100%);
}

/* Shared section headers */
body.marketing-page .marketing-section-header,
body.smo-page .marketing-section-header,
body.smm-page .marketing-section-header,
body.seo-page .marketing-section-header {
  max-width: 44rem;
  margin: 0 auto 2rem;
  text-align: center;
}

body.marketing-page .marketing-section-header .marketing-eyebrow,
body.smo-page .marketing-section-header .marketing-eyebrow,
body.smm-page .marketing-section-header .marketing-eyebrow,
body.seo-page .marketing-section-header .marketing-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

body.marketing-page .marketing-section-header .marketing-eyebrow::before,
body.marketing-page .marketing-section-header .marketing-eyebrow::after,
body.smo-page .marketing-section-header .marketing-eyebrow::before,
body.smo-page .marketing-section-header .marketing-eyebrow::after,
body.smm-page .marketing-section-header .marketing-eyebrow::before,
body.smm-page .marketing-section-header .marketing-eyebrow::after,
body.seo-page .marketing-section-header .marketing-eyebrow::before,
body.seo-page .marketing-section-header .marketing-eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

body.marketing-page .marketing-section-header h2,
body.marketing-page .marketing-section-header h3,
body.smo-page .marketing-section-header h2,
body.smo-page .marketing-section-header h3,
body.smm-page .marketing-section-header h2,
body.smm-page .marketing-section-header h3,
body.seo-page .marketing-section-header h2,
body.seo-page .marketing-section-header h3 {
  margin-bottom: 0.65rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--heading-color);
}

body.marketing-page .marketing-section-header p,
body.smo-page .marketing-section-header p,
body.smm-page .marketing-section-header p,
body.seo-page .marketing-section-header p {
  margin-bottom: 0;
  line-height: 1.75;
  color: color-mix(in srgb, var(--default-color), transparent 8%);
}

/* Unified media frames */
body.marketing-page .marketing-media,
body.marketing-page .seo-sev-img,
body.marketing-page .mob-sev-img,
body.smo-page .seo-sev-img,
body.smm-page .seo-sev-img,
body.seo-page .seo-sev-img {
  max-width: 420px;
  margin: 0 auto;
  padding: 0.75rem;
  border-radius: 1.25rem;
  background:
    radial-gradient(420px 180px at 50% 0%, rgba(123, 77, 255, 0.12), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 245, 255, 0.98) 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 82%);
  box-shadow: 0 16px 44px rgba(50, 30, 100, 0.1);
}

body.marketing-page .marketing-media img,
body.marketing-page .seo-sev-img img,
body.marketing-page .mob-sev-img img,
body.smo-page .seo-sev-img img,
body.smm-page .seo-sev-img img,
body.seo-page .seo-sev-img img {
  display: block;
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  border-radius: 0.95rem;
  animation: none !important;
}

@media (min-width: 992px) {
  body.marketing-page .row.align-items-center > .col-lg-6:last-child .marketing-media,
  body.marketing-page .row.align-items-center > .col-lg-6:last-child .seo-sev-img,
  body.marketing-page .row.align-items-center > .col-lg-6:last-child .mob-sev-img,
  body.smo-page .row.align-items-center > .col-lg-6:first-child .seo-sev-img,
  body.smm-page .row.align-items-center > .col-lg-6:first-child .seo-sev-img,
  body.seo-page .row.align-items-center > .col-lg-6:last-child .seo-sev-img {
    margin-left: auto;
    margin-right: 0;
  }

  body.marketing-page .row.align-items-center > .col-lg-6:first-child .marketing-media,
  body.marketing-page .row.align-items-center > .col-lg-6:first-child .seo-sev-img,
  body.marketing-page .row.align-items-center > .col-lg-6:first-child .mob-sev-img,
  body.seo-page .row.align-items-center > .col-lg-6:first-child .seo-sev-img {
    margin-left: 0;
    margin-right: auto;
  }
}

/* SEO + marketing service cards grid */
body.seo-page .marketing-service-card,
body.marketing-page .marketing-service-card {
  height: 100%;
  padding: 1.25rem 1.15rem;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fcfbff 100%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 88%);
  box-shadow: 0 12px 32px rgba(50, 30, 100, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.seo-page .marketing-service-card:hover,
body.marketing-page .marketing-service-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent-color), transparent 62%);
  box-shadow: 0 18px 44px rgba(123, 77, 255, 0.14);
}

body.seo-page .marketing-service-card__icon,
body.marketing-page .marketing-service-card__icon {
  width: 64px;
  height: 64px;
  margin-bottom: 0.85rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background:
    radial-gradient(100px 100px at 30% 20%, rgba(123, 77, 255, 0.16), rgba(255, 255, 255, 0.95) 70%);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

body.seo-page .marketing-service-card__icon img,
body.marketing-page .marketing-service-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: var(--brand-icon-filter);
}

body.seo-page .marketing-service-card h4,
body.marketing-page .marketing-service-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading-color);
}

body.seo-page .marketing-service-card p,
body.marketing-page .marketing-service-card p {
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--default-color), transparent 6%);
}

/* SMM inherits SMO process + features styles */
body.smm-page .seo-sev-img { padding: 1.1rem; border-radius: 1.35rem; background: radial-gradient(800px 240px at 50% 0%, rgba(125, 83, 221, 0.16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(250, 247, 255, 0.92) 100%); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%); box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10); }
body.smm-page .smo-tabs-service { padding-top: 2.5rem; padding-bottom: 2.5rem; background: radial-gradient(1000px 260px at 50% -20%, rgba(123, 77, 255, 0.1), transparent 60%), linear-gradient(180deg, #ffffff 0%, #faf7ff 100%); border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%); }
body.smm-page .smo-proces-service .nav-pills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
body.smm-page .smo-proces-service .nav-pills .nav-link { height: 100%; border-radius: 1.1rem; padding: 0.9rem 0.85rem; background: rgba(255, 255, 255, 0.88); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%); box-shadow: 0 10px 30px rgba(50, 30, 100, 0.06); font-weight: 800; color: var(--heading-color); display: flex; align-items: center; justify-content: center; gap: 0.6rem; text-align: center; }
body.smm-page .smo-proces-service .nav-pills .nav-link.active { background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 247, 255, 0.96) 100%); border-color: color-mix(in srgb, var(--accent-color), transparent 68%); box-shadow: 0 18px 46px rgba(125, 83, 221, 0.14); }
body.smm-page .smo-proces-service .icon-holder { width: 44px; height: 44px; border-radius: 1rem; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-color), transparent 88%); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 78%); }
body.smm-page .smo-proces-service .icon-holder img { width: 22px; height: 22px; display: block; }
body.smm-page .tab-service-content { margin-top: 1.25rem; padding: 1.25rem 1.1rem; border-radius: 1.25rem; background: rgba(255, 255, 255, 0.88); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%); box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10); }
body.smm-page .tab-service-img { border-radius: 1.25rem; overflow: hidden; padding: 0.75rem; background: radial-gradient(700px 240px at 30% 20%, rgba(125, 83, 221, 0.16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(250, 247, 255, 0.94) 100%); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%); }
body.smm-page .tab-service-img img { width: 100%; height: 220px; object-fit: contain; display: block; }
body.smm-page .great_features_area { padding-top: 2.75rem; padding-bottom: 3rem; background: radial-gradient(1000px 260px at 50% -20%, rgba(125, 83, 221, 0.12), transparent 60%), linear-gradient(180deg, #ffffff 0%, #faf7ff 100%); border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 92%); }
body.smm-page .great_features_area .new_section_title { max-width: 68rem; margin: 0 auto 1.25rem; padding: 1.5rem 1.35rem; border-radius: 1.25rem; background: rgba(255, 255, 255, 0.86); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%); box-shadow: 0 18px 55px rgba(50, 30, 100, 0.08); }
body.smm-page .great_features { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 3.25rem; padding: 2rem 0; }
body.smm-page .great_item { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.15rem 1.1rem; border-radius: 1.25rem; background: rgba(255, 255, 255, 0.9); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%); box-shadow: 0 18px 55px rgba(50, 30, 100, 0.10); }
body.smm-page .great_icon { width: 52px; height: 52px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent-color), transparent 88%); border: 1px solid color-mix(in srgb, var(--accent-color), transparent 76%); color: var(--accent-color); flex: 0 0 52px; box-shadow: 0 14px 34px rgba(125, 83, 221, 0.14); }
body.smm-page .great_icon i { font-size: 1.25rem; }
body.smm-page .great_features_content h2 { font-size: 1.05rem; font-weight: 900; margin: 0 0 0.35rem; color: var(--heading-color); }
body.smm-page .great_features_content p { margin: 0; line-height: 1.6; opacity: 0.92; }
body.smm-page .round_circle { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: min(520px, 70vw); aspect-ratio: 1 / 1; border-radius: 999px; border: 2px dashed color-mix(in srgb, var(--accent-color), transparent 70%); opacity: 0.55; pointer-events: none; }

@media (max-width: 991.98px) {
  body.smm-page .smo-proces-service .nav-pills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.smm-page .great_features { grid-template-columns: 1fr; }
  body.smm-page .round_circle { display: none; }
}

@media (max-width: 575.98px) {
  body.smm-page .smo-proces-service .nav-pills { grid-template-columns: 1fr; }
}

/* Hide legacy decorative shapes on marketing pages */
body.smo-page .shape1,
body.smo-page .shape2,
body.smo-page .shape3,
body.smo-page .shape4,
body.smo-page .shape5,
body.smo-page .shape6,
body.smo-page .shape7,
body.smo-page .shape8,
body.smm-page .shape1,
body.smm-page .shape2,
body.smm-page .shape3,
body.smm-page .shape4,
body.smm-page .shape5,
body.smm-page .shape6,
body.smm-page .shape7,
body.smm-page .shape8 {
  display: none !important;
}

/* Mobile marketing platform header */
body.mobile-marketing-page .mob-plateform-sec > .marketing-section-header {
  max-width: 44rem;
  margin: 0 auto 1.75rem;
  padding: 1.25rem 1.15rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 86%);
  box-shadow: 0 14px 40px rgba(50, 30, 100, 0.08);
}

body.mobile-marketing-page .mob-plateform-sec > .marketing-section-header .web-dev-contenttitle {
  margin-bottom: 0.5rem;
}

body.mobile-marketing-page .mob-list-tile {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
}

@media (max-width: 991.98px) {
  body.marketing-page .marketing-media,
  body.marketing-page .seo-sev-img,
  body.marketing-page .mob-sev-img {
    max-width: 340px;
    margin-bottom: 0.5rem;
  }
}

/* ================================================================
   Hero — single banner (no slider)
   Internal: static image, same overlay + size as previous carousel
   Home: background video with same overlay + size
   ================================================================ */

/* Hide leftover carousel controls if any markup still has them */
.hero.hero--static .carousel-control-prev,
.hero.hero--static .carousel-control-next,
.hero.hero--video .carousel-control-prev,
.hero.hero--video .carousel-control-next,
.hero.hero--animated .carousel-control-prev,
.hero.hero--animated .carousel-control-next {
  display: none !important;
}

/* Home video fills the hero exactly like the previous banner image */
.hero.hero--video .carousel-item.active .hero-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Restore previous home banner look (video + dark overlay + white text)
   — do not inherit the global transparent section background */
body.index-page #hero.hero,
#hero.hero.hero--video {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --contrast-color: #ffffff;
  background-color: #060606 !important;
  background-image: none !important;
  color: #ffffff;
  min-height: 100vh;
}

body.index-page #hero.hero .info h2,
#hero.hero.hero--video .info h2 {
  color: #ffffff !important;
}

body.index-page #hero.hero .info p,
#hero.hero.hero--video .info p {
  color: color-mix(in srgb, #ffffff, transparent 20%) !important;
}

/* No dark overlay on home video banner */
#hero.hero.hero--video .carousel-item::before,
body.index-page #hero.hero.hero--video .carousel-item::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

#hero.hero .info {
  z-index: 3;
}

#hero.hero .info .btn-primary {
  color: #ffffff !important;
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
}

@media (prefers-reduced-motion: reduce) {
  .hero.hero--video .hero-video {
    display: none;
  }

  .hero.hero--video .carousel-item.active {
    background-image: url("../img/slider/slider-14.webp");
    background-size: cover;
    background-position: center;
  }
}

/* ================================================================
   Under Construction page (/services)
   ================================================================ */

body.under-construction-page .under-construction {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(123, 77, 255, 0.22), transparent 60%),
    radial-gradient(700px 380px at 90% 80%, rgba(123, 77, 255, 0.14), transparent 55%),
    linear-gradient(165deg, #1a1230 0%, #0b0614 45%, #1f1833 100%);
  color: #f4f0ff;
}

body.under-construction-page .under-construction__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

body.under-construction-page .under-construction__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.55;
}

body.under-construction-page .under-construction__orb--1 {
  width: 220px;
  height: 220px;
  top: 18%;
  left: 8%;
  background: radial-gradient(circle, rgba(123, 77, 255, 0.45), transparent 70%);
  animation: underConstructionFloat 10s ease-in-out infinite alternate;
}

body.under-construction-page .under-construction__orb--2 {
  width: 280px;
  height: 280px;
  right: 6%;
  bottom: 12%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.35), transparent 70%);
  animation: underConstructionFloat 12s ease-in-out infinite alternate-reverse;
}

body.under-construction-page .under-construction .container {
  position: relative;
  z-index: 1;
}

body.under-construction-page .under-construction__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #e9ddff;
  background: rgba(123, 77, 255, 0.22);
  border: 1px solid color-mix(in srgb, #603acc, transparent 55%);
}

body.under-construction-page .under-construction__badge i {
  font-size: 1rem;
  color: #c4b5fd;
}

body.under-construction-page .under-construction__title {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #ffffff;
}

body.under-construction-page .under-construction__text {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: color-mix(in srgb, #f4f0ff, transparent 12%);
}

body.under-construction-page .under-construction__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

body.under-construction-page .under-construction__actions .btn-outline-primary {
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: color-mix(in srgb, #ffffff, transparent 55%);
  --bs-btn-hover-color: #0b0614;
  --bs-btn-hover-bg: #ffffff;
  --bs-btn-hover-border-color: #ffffff;
}

@keyframes underConstructionFloat {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(12px, -18px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.under-construction-page .under-construction__orb {
    animation: none !important;
  }
}

@media (max-width: 575.98px) {
  body.under-construction-page .under-construction {
    padding-top: 7rem;
    min-height: calc(100vh - 40px);
  }

  body.under-construction-page .under-construction__actions .btn {
    width: 100%;
  }
}

/* ================================================================
   Site-wide dark canvas continuity (home + all pages)
   Matches Software Development Process ambient look
   ================================================================ */

/* Neutralize light lavender section paints so body ambient shows through */
body .seo-services-sec,
body .smo-services-sec,
body .feature-SMO,
body .mob-services-sec,
body .marketing-services-section,
body .why-web-dev,
body .smo-tabs-service,
body .great_features_area,
body .cloud-services-showcase,
body .iot-audience-section,
body .frontend-design-tools,
body .frontend-apart-section,
body .about.section,
body .clients.section,
body .portfolio.section,
body .contact.section,
body .ai-section,
body#ai.about {
  background: transparent !important;
  background-image: none !important;
  color: #e8e4f4;
}

/* Headings / body copy on content blocks */
body .web-dev-contenttitle,
body .banner-content-cloud h3,
body .seo-sev-content h2,
body .seo-sev-content h3,
body .mob-sev-content h3,
body .about .content h3,
body .about .content h2,
body .contact .php-email-form h3,
body .section-title h2 {
  color: #ffffff !important;
}

body .seo-sev-content p,
body .mob-sev-content p,
body .banner-content-cloud p,
body .about .content p,
body .web-dev-content p,
body .section-title p {
  color: rgba(232, 228, 244, 0.78) !important;
}

/* Eyebrows stay accent lavender */
body .about-eyebrow,
body .marketing-eyebrow,
body .services-section__eyebrow {
  color: #d4c4ff !important;
}

/* Glass cards instead of white cards on dark */
body .marketing-service-card,
body .cloud-service-card,
body .iot-audience-card,
body .frontend-tool-card,
body .great_item,
body .tab-service-content,
body .seo-sev-img,
body .mob-sev-img,
body .marketing-media {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.28) !important;
  color: #e8e4f4;
}

body .marketing-service-card h4,
body .cloud-service-card h4,
body .iot-audience-card h4,
body .frontend-tool-card h4,
body .great_features_content h2 {
  color: #ffffff !important;
}

body .marketing-service-card p,
body .cloud-service-card p,
body .iot-audience-card p,
body .frontend-tool-card p,
body .great_features_content p {
  color: rgba(232, 228, 244, 0.78) !important;
}

/* Home page — remove purple glow orbs so sections stay solid black */
body.index-page #dev-process .dev-process__orb,
body.index-page #dev-process .dev-process__grid-lines,
body.index-page #services .services-section__orb,
body.index-page #services .services-section__bg,
body.index-page #testimonials .home-testimonials__orb {
  display: none !important;
}

body.index-page #ai.about,
body.index-page #clients.clients,
body.index-page #portfolio.portfolio,
body.index-page #contact.contact,
body.index-page #dev-process.dev-process {
  background: #000000 !important;
  background-image: none !important;
}

body.index-page #ai .content h3,
body.index-page #ai .section-title h2,
body.index-page #clients .section-title h2,
body.index-page #portfolio .section-title h2,
body.index-page #contact .section-title h2 {
  color: #ffffff;
}

body.index-page #ai .content p,
body.index-page #clients .section-title p,
body.index-page #portfolio .section-title p,
body.index-page #contact .section-title p {
  color: rgba(232, 228, 244, 0.78);
}

/* Client logos — lighten for dark bg */
body.index-page #clients img {
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.25s ease;
}

body.index-page #clients img:hover {
  opacity: 1;
}

/* Contact info boxes */
body .contact .info-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e8e4f4;
}

body .contact .info-item h3 {
  color: #ffffff;
}

/* Form sits inside contact-form-container — no extra border/box around fields */
body .contact .php-email-form {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Keep under-construction self-contained dark section intact */
body.under-construction-page .under-construction {
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(123, 77, 255, 0.22), transparent 60%),
    radial-gradient(700px 380px at 90% 80%, rgba(123, 77, 255, 0.14), transparent 55%),
    linear-gradient(165deg, #1a1230 0%, #0b0614 45%, #1f1833 100%) !important;
}

/* ================================================================
   Site preloader — favicon + loading text
   ================================================================ */

#preloader.site-preloader,
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Hide default Strive spinner ring */
#preloader.site-preloader:before {
  display: none !important;
  content: none !important;
  animation: none !important;
}

.site-preloader__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
}

.site-preloader__ring {
  position: absolute;
  inset: 0;
  width: 110px;
  height: 110px;
  margin: 0;
  border-radius: 50%;
  border: 2px solid rgba(123, 77, 255, 0.25);
  border-top-color: #603acc;
  animation: sitePreloaderSpin 0.9s linear infinite;
  pointer-events: none;
}

.site-preloader__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  border-radius: 18px;
  box-shadow:
    0 0 0 1px rgba(123, 77, 255, 0.35),
    0 12px 40px rgba(123, 77, 255, 0.35);
  animation: sitePreloaderPulse 1.6s ease-in-out infinite;
}

.site-preloader--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes sitePreloaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes sitePreloaderPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(123, 77, 255, 0));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 18px rgba(123, 77, 255, 0.55));
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-preloader__ring,
  .site-preloader__icon {
    animation: none !important;
  }
}
