/**
* Stadi Research & Analytics
* Redesign v2 — Purple/Blue brand-aligned, modern tech aesthetic
*/

/* ======================================================
   CSS Custom Properties
====================================================== */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #0f1425;
  --bg-card: rgba(15, 20, 45, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-white: #ffffff;
  --bg-light: #f7f8fc;
  --border-color: rgba(139, 92, 246, 0.15);
  --border-light: #e5e7f0;
  --border-glass: rgba(139, 92, 246, 0.12);
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-light: rgba(124, 58, 237, 0.10);
  --accent-glow: rgba(124, 58, 237, 0.25);
  --blue: #2563eb;
  --blue-light: rgba(37, 99, 235, 0.10);
  --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  --accent-gradient-hover: linear-gradient(135deg, #6d28d9 0%, #1d4ed8 100%);
  --glow-purple: 0 0 80px rgba(124, 58, 237, 0.15);
  --glow-blue: 0 0 80px rgba(37, 99, 235, 0.15);
  --text-primary: #ffffff;
  --text-secondary: #a5b4c8;
  --text-muted: #64748b;
  --text-dark: #1a1a2e;
  --text-dark-secondary: #4a4a6a;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(139, 92, 246, 0.08);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  --shadow-light: 0 4px 24px rgba(124, 58, 237, 0.08);
  --max-width: 1280px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
}

/* ======================================================
   General / Reset
====================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

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

section {
  position: relative;
  overflow: hidden;
}

.container {
  max-width: var(--max-width);
}

/* ======================================================
   Back to Top
====================================================== */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: var(--accent-gradient);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.back-to-top i {
  font-size: 28px;
  color: #ffffff;
  line-height: 0;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* ======================================================
   Disable AOS delay on mobile
====================================================== */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* ======================================================
   Header
====================================================== */
#header {
  height: 80px;
  z-index: 997;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  border-bottom: none;
}

#header.header-scrolled {
  background: rgba(10, 14, 26, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3), 0 1px 0 rgba(139, 92, 246, 0.1);
}

#header .logo img {
  max-height: 44px;
  padding: 0;
  margin: 0;
}

/* Header nav right group */
.header-nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-nav-link {
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  padding: 8px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
}

.header-nav-link:hover {
  color: var(--accent);
}

.header-nav-link i {
  font-size: 10px;
  transition: transform 0.3s ease;
}

.header-nav-link.active i {
  transform: rotate(180deg);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 10px 28px;
  border: 1.5px solid rgba(124, 58, 237, 0.5);
  background: rgba(124, 58, 237, 0.1);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
}

.header-cta-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}

@media (max-width: 768px) {
  .header-nav-link,
  .header-cta-btn {
    display: none;
  }
}

/* ======================================================
   Mega Dropdown
====================================================== */
.mega-dropdown {
  position: fixed;
  top: 80px;
  right: 0;
  width: 60%;
  max-width: 820px;
  background: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 996;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease;
  border-bottom: 2px solid var(--accent);
  border-left: 1px solid var(--border-color);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-radius: 0 0 0 var(--radius);
}

.mega-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-dropdown-inner {
  display: flex;
  padding: 48px;
  gap: 48px;
}

.mega-col-services {
  flex: 2;
}

.mega-col-links {
  flex: 1;
  border-left: 1px solid var(--border-color);
  padding-left: 48px;
}

.mega-dropdown h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.mega-col-links h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  margin-top: 24px;
}

.mega-col-links h3:first-child {
  margin-top: 0;
}

.mega-col-links h3 a {
  color: #ffffff;
  text-decoration: none;
}

.mega-col-links h3 a:hover {
  color: var(--accent);
}

.mega-col-links ul {
  list-style: none;
  padding: 0;
  margin: 0 0 8px;
}

.mega-col-links ul li {
  margin-bottom: 6px;
}

.mega-col-links ul li a {
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-col-links ul li a:hover {
  color: var(--accent);
}

.mega-service-item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  align-items: flex-start;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease;
}

.mega-service-item:hover {
  background: rgba(124, 58, 237, 0.06);
}

.mega-service-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.mega-service-icon i {
  font-size: 22px;
  color: var(--accent);
}

.mega-service-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.mega-service-item h4 a {
  color: #ffffff;
  text-decoration: none;
}

.mega-service-item h4 a:hover {
  color: var(--accent);
}

.mega-service-item p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.mega-social {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.mega-social a {
  color: var(--accent);
  font-size: 20px;
  transition: color 0.2s ease;
}

.mega-social a:hover {
  color: var(--blue);
}

@media (max-width: 991px) {
  .mega-dropdown {
    width: 100%;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .mega-dropdown {
    display: none;
  }
}

/* Hamburger button */
.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 998;
}

.hamburger-btn span {
  display: block;
  width: 28px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.hamburger-btn .accent-line {
  background: var(--accent);
  width: 20px;
}

/* Fullscreen overlay nav */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 26, 0.98);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-overlay-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: #fff;
  font-size: 48px;
  cursor: pointer;
  line-height: 1;
}

.overlay-nav ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.overlay-nav ul li {
  margin-bottom: 16px;
}

.overlay-nav ul li a {
  font-family: var(--font-heading);
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s ease;
  line-height: 1.1;
}

.overlay-nav ul li a:hover {
  color: var(--accent);
}

.overlay-nav-social {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}

.overlay-nav-social a {
  color: var(--text-secondary);
  font-size: 20px;
}

.overlay-nav-social a:hover {
  color: var(--accent);
}

/* ======================================================
   Hero Section
====================================================== */
#hero {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  position: relative;
  padding: 140px 80px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease;
  z-index: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,14,26,0.92) 40%, rgba(10,14,26,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: left;
  margin: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 24px;
}

.eyebrow-dash {
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}

#hero h1 {
  font-size: clamp(44px, 6.5vw, 84px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  text-align: left;
}

.typewriter-wrap {
  display: inline-block;
  min-width: 200px;
}

.typewriter {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cursor {
  color: var(--accent);
  animation: blink 0.8s infinite;
  font-weight: 300;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  margin-bottom: 44px;
  text-align: left;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Hero Animated Data Viz ---- */
.hero-data-viz {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  z-index: 2;
  pointer-events: none;
}

.hero-data-viz .viz-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: vizSpin 20s linear infinite;
}

.hero-data-viz .viz-ring:nth-child(1) {
  width: 400px;
  height: 400px;
  top: 50px;
  left: 50px;
  border-color: rgba(124, 58, 237, 0.2);
}

.hero-data-viz .viz-ring:nth-child(2) {
  width: 300px;
  height: 300px;
  top: 100px;
  left: 100px;
  border-color: rgba(37, 99, 235, 0.15);
  animation-direction: reverse;
  animation-duration: 15s;
}

.hero-data-viz .viz-ring:nth-child(3) {
  width: 200px;
  height: 200px;
  top: 150px;
  left: 150px;
  border-color: rgba(124, 58, 237, 0.25);
  animation-duration: 25s;
}

.hero-data-viz .viz-ring::before {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  top: -5px;
  left: 50%;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.6);
}

.hero-data-viz .viz-ring:nth-child(2)::before {
  background: var(--blue);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

.hero-data-viz .viz-ring:nth-child(3)::before {
  width: 8px;
  height: 8px;
  top: -4px;
  background: #a78bfa;
  box-shadow: 0 0 15px rgba(167, 139, 250, 0.5);
}

/* Floating data bars */
.hero-data-viz .viz-bars {
  position: absolute;
  bottom: 80px;
  right: 40px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}

.hero-data-viz .viz-bar {
  width: 8px;
  border-radius: 4px 4px 0 0;
  animation: barPulse 2s ease-in-out infinite;
}

.hero-data-viz .viz-bar:nth-child(1) { height: 30px; background: rgba(124, 58, 237, 0.4); animation-delay: 0s; }
.hero-data-viz .viz-bar:nth-child(2) { height: 55px; background: rgba(124, 58, 237, 0.6); animation-delay: 0.2s; }
.hero-data-viz .viz-bar:nth-child(3) { height: 40px; background: rgba(37, 99, 235, 0.5); animation-delay: 0.4s; }
.hero-data-viz .viz-bar:nth-child(4) { height: 70px; background: rgba(124, 58, 237, 0.7); animation-delay: 0.6s; }
.hero-data-viz .viz-bar:nth-child(5) { height: 50px; background: rgba(37, 99, 235, 0.6); animation-delay: 0.8s; }
.hero-data-viz .viz-bar:nth-child(6) { height: 65px; background: rgba(124, 58, 237, 0.5); animation-delay: 1.0s; }

/* Floating dots */
.hero-data-viz .viz-float-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: floatDot 6s ease-in-out infinite;
}

.hero-data-viz .viz-float-dot:nth-child(5) { top: 30px; left: 200px; animation-delay: 0s; }
.hero-data-viz .viz-float-dot:nth-child(6) { top: 180px; left: 30px; animation-delay: 1.5s; background: var(--blue); }
.hero-data-viz .viz-float-dot:nth-child(7) { top: 350px; left: 350px; animation-delay: 3s; }
.hero-data-viz .viz-float-dot:nth-child(8) { top: 100px; left: 400px; animation-delay: 4.5s; background: var(--blue); }

@keyframes vizSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

@keyframes floatDot {
  0%, 100% { transform: translate(0, 0); opacity: 0.4; }
  25% { transform: translate(10px, -15px); opacity: 1; }
  50% { transform: translate(-5px, -25px); opacity: 0.6; }
  75% { transform: translate(15px, -10px); opacity: 0.8; }
}

/* Hero accent elements — purple gradient wedge */
.hero-accent-wedge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 450px;
  height: 450px;
  background: var(--accent-gradient);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 1;
  opacity: 0.08;
}

.hero-dot-grid {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 450px;
  height: 450px;
  background-image: radial-gradient(circle, rgba(124, 58, 237, 0.3) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  z-index: 2;
  pointer-events: none;
}

/* Ambient glow spots */
.hero-glow-1,
.hero-glow-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(124, 58, 237, 0.08);
  top: 10%;
  left: -100px;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(37, 99, 235, 0.06);
  bottom: -50px;
  right: 200px;
}

.hero-geo-shape {
  display: none;
}

@media (max-width: 1200px) {
  .hero-data-viz {
    width: 350px;
    height: 350px;
    right: 30px;
    opacity: 0.7;
  }
  .hero-data-viz .viz-ring:nth-child(1) { width: 280px; height: 280px; top: 35px; left: 35px; }
  .hero-data-viz .viz-ring:nth-child(2) { width: 200px; height: 200px; top: 75px; left: 75px; }
  .hero-data-viz .viz-ring:nth-child(3) { width: 130px; height: 130px; top: 110px; left: 110px; }
}

@media (max-width: 768px) {
  #hero {
    padding: 120px 24px 80px;
  }
  .hero-accent-wedge,
  .hero-dot-grid,
  .hero-geo-shape,
  .hero-data-viz {
    display: none;
  }
}

/* ======================================================
   Buttons — Modern with subtle radius
====================================================== */
.btn-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  border: none;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient-hover);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--radius-sm);
}

.btn-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
  color: #ffffff;
}

.btn-primary-cta:hover::before {
  opacity: 1;
}

.btn-plus {
  font-size: 18px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.btn-outline-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.25);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline-cta:hover {
  border-color: var(--accent);
  color: #ffffff;
  background: rgba(124, 58, 237, 0.08);
}

.play-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  font-size: 10px;
  transition: all 0.3s ease;
}

.btn-outline-cta:hover .play-icon-circle {
  border-color: var(--accent);
  background: rgba(124, 58, 237, 0.15);
}

/* ======================================================
   Section Backgrounds & Spacing
====================================================== */
.section-dark {
  background: var(--bg-primary);
  padding: 100px 0;
}

.section-light {
  background: var(--bg-white);
  padding: 100px 0;
}

/* White section text overrides */
.section-light h2,
.section-light h3,
.section-light h4,
.section-light strong {
  color: var(--text-dark);
}

.section-light p,
.section-light li,
.section-light span:not(.section-label):not(.btn-plus):not(.tab-link):not(.insight-tag):not(.insight-link):not(.stat-number):not(.stat-label):not(.eyebrow-dash) {
  color: var(--text-dark-secondary);
}

.section-light .section-label {
  color: var(--accent);
}

.section-light .btn-outline-cta {
  color: var(--text-dark);
  border-color: rgba(26, 26, 46, 0.2);
}

.section-light .btn-outline-cta:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

@media (max-width: 768px) {
  .section-dark,
  .section-light {
    padding: 60px 0;
  }
}

/* Diagonal section transitions */
.section-dark.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
  margin-bottom: -80px;
  padding-bottom: 160px;
}

.section-light.diagonal-top {
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
  padding-top: 160px;
}

.section-light.diagonal-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
  margin-bottom: -80px;
  padding-bottom: 160px;
}

.section-dark.diagonal-top {
  clip-path: polygon(0 80px, 100% 0, 100% 100%, 0 100%);
  padding-top: 160px;
}

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

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-light .section-header h2 {
  color: var(--text-dark);
}

/* ALL-CAPS section labels */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  position: relative;
  padding-left: 28px;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 18px;
  height: 2px;
  background: var(--accent-gradient);
  transform: translateY(-50%);
}

/* ======================================================
   Scroll Animations — Fade-in-up
====================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ======================================================
   About Intro Section
====================================================== */
.about-intro {
  background: var(--bg-white);
  padding: 100px 0 120px;
  text-align: left;
  position: relative;
}

.about-intro-heading {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.45;
  margin: 0;
}

.about-intro-text {
  font-size: 17px;
  color: var(--text-dark-secondary);
  line-height: 1.8;
  margin: 0 0 28px;
}

.about-intro-text:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .about-intro-heading {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .about-intro {
    padding: 70px 0 80px;
  }
  .about-intro-heading {
    font-size: 24px;
    margin-bottom: 32px;
  }
  .about-intro-text {
    font-size: 16px;
  }
}

/* ======================================================
   Services Tab Section
====================================================== */
.services-tabs {
  background: var(--bg-white);
  padding: 80px 0;
  border-top: none;
  border-bottom: none;
}

.service-tab-card {
  display: block;
  text-align: center;
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: transparent;
  transition: var(--transition);
  margin-bottom: 20px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.service-tab-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-tab-card:hover,
.service-tab-card.active {
  border-color: rgba(124, 58, 237, 0.3);
  background: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.08);
}

.service-tab-card:hover::before,
.service-tab-card.active::before {
  opacity: 1;
}

.service-tab-icon {
  margin-bottom: 16px;
}

.service-tab-icon i {
  font-size: 36px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-tab-card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-tab-card:hover h3 {
  color: var(--accent);
}

/* Services tabs heading overrides for white bg */
.services-tabs .section-header h2 {
  color: var(--text-dark);
}

.services-tabs .section-label {
  color: var(--accent);
}

.tab-link {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.tab-link i {
  font-size: 12px;
  transition: transform 0.25s ease;
}

.service-tab-card:hover .tab-link i {
  transform: translateX(4px);
}

/* ======================================================
   Service Detail Sections
====================================================== */
.service-detail .service-img-wrap {
  position: relative;
  margin-bottom: 40px;
}

.service-detail .service-img {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.service-detail .service-img img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.service-detail .service-img:hover img {
  transform: scale(1.03);
}

/* Accent line on images */
.service-detail .service-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.service-detail .service-icon {
  margin-bottom: 20px;
}

.service-detail .service-icon i {
  font-size: 40px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-detail .service-text h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.service-detail .service-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* White-background service detail text overrides */
.service-detail.section-light .service-text h2 {
  color: var(--text-dark);
}

.service-detail.section-light .service-text p {
  color: var(--text-dark-secondary);
}

.service-detail .btn-primary-cta {
  margin-top: 16px;
}

@media (max-width: 991px) {
  .service-detail .service-text {
    margin-top: 30px;
  }
  .service-detail .service-text h2 {
    font-size: 28px;
  }
}

/* ======================================================
   Sectors Section — Glassmorphism cards
====================================================== */
.sectors {
  padding: 100px 0;
}

.sector-card {
  text-align: left;
  padding: 40px 32px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  margin-bottom: 30px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sector-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--glow-purple);
}

.sector-card:hover::before {
  opacity: 1;
}

.sector-icon {
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

.sector-icon::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.sector-icon i {
  font-size: 44px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sector-card h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 16px 0 12px;
}

.sector-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ======================================================
   Why Choose Us Section
====================================================== */
.why-us {
  padding: 100px 0;
}

.why-us h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.why-us-intro {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.8;
}

.why-us-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-us-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 16px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease;
}

.why-us-list li:hover {
  background: var(--accent-light);
}

.why-us-list li i {
  font-size: 22px;
  color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.why-us-list li strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.why-us-list li span {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Why Us on white background */
.why-us.section-light h2 {
  color: var(--text-dark);
}

.why-us.section-light .why-us-intro {
  color: var(--text-dark-secondary);
}

.why-us.section-light .why-us-list li strong {
  color: var(--text-dark);
}

.why-us.section-light .why-us-list li span {
  color: var(--text-dark-secondary);
}

.why-us.section-light .why-us-list li:hover {
  background: rgba(124, 58, 237, 0.04);
}

/* Stats grid — Glassmorphism */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.stat-box {
  padding: 48px 32px;
  border: 1px solid var(--border-light);
  position: relative;
  text-align: left;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.stat-box:hover {
  transform: translateY(-2px);
}

.section-dark .stat-box {
  border-color: var(--border-color);
  background: var(--bg-glass);
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  width: 40px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.section-dark .stat-number {
  color: #ffffff;
}

.stat-number::after {
  content: '+';
  font-size: 28px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
}

@media (max-width: 991px) {
  .why-us h2 {
    font-size: 28px;
  }
  .stats-grid {
    margin-top: 40px;
  }
}

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

/* ======================================================
   Testimonials Section
====================================================== */
.testimonials {
  padding: 100px 0;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 48px;
  position: relative;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.quote-mark {
  font-size: 72px;
  line-height: 0.5;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: Georgia, serif;
  margin-bottom: 24px;
  display: block;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.testimonial-author span {
  color: var(--accent);
  font-size: 13px;
}

.testimonials-controls {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.testimonials-controls button {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: all 0.25s ease;
  position: static;
}

.testimonials-controls button::after {
  display: none;
}

.testimonials-controls button:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

/* ======================================================
   Clients Section
====================================================== */
.clients {
  padding: 80px 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.client-logo:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-light);
  transform: translateY(-2px);
}

.section-dark .client-logo {
  background: var(--bg-card);
  border-color: var(--border-color);
}

.client-logo img {
  max-height: 60px;
  opacity: 0.5;
  transition: var(--transition);
  filter: grayscale(100%);
}

.client-logo:hover img {
  opacity: 1;
  filter: none;
}

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

/* ======================================================
   CTA Banner — Gradient background
====================================================== */
.cta-banner {
  background: var(--accent-gradient);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  line-height: 1.15;
}

.cta-banner .section-label {
  color: rgba(255,255,255,0.7);
}

.cta-banner .btn-primary-cta {
  background: #ffffff;
  color: var(--accent);
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-banner .btn-primary-cta::before {
  display: none;
}

.cta-banner .btn-primary-cta:hover {
  background: rgba(255,255,255,0.9);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .cta-banner {
    padding: 60px 0;
  }
  .cta-banner h2 {
    font-size: 24px;
  }
}

/* ======================================================
   Footer
====================================================== */
#footer {
  background: var(--bg-primary);
  border-top: none;
}

/* Footer CTA row */
.footer-cta-row {
  padding: 100px 0;
  background: var(--bg-primary);
  border-bottom: none;
  position: relative;
}

.footer-cta-row::after {
  content: '';
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
  position: absolute;
  bottom: 0;
  left: 0;
}

.footer-cta-row h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.2;
}

.footer-top {
  padding: 80px 0 40px;
}

.footer-col {
  margin-bottom: 30px;
}

.footer-logo img {
  max-height: 44px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 16px;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.footer-social a:hover {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-address p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-contact-info a {
  color: var(--accent);
  font-size: 13px;
}

.footer-contact-info a:hover {
  color: var(--blue);
}

.footer-bottom {
  border-top: none;
  padding: 24px 0;
  position: relative;
}

.footer-bottom::before {
  content: '';
  display: block;
  width: 100%;
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  position: absolute;
  top: 0;
  left: 0;
}

.footer-bottom .copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-top {
    padding: 60px 0 20px;
  }
  .footer-cta-row {
    padding: 60px 0;
  }
  .footer-bottom .container {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ======================================================
   Breadcrumbs (sub-pages)
====================================================== */
.breadcrumbs .breadcrumb-hero {
  text-align: center;
  background: var(--bg-primary);
  padding: 100px 0 40px;
  color: var(--text-primary);
  border-bottom: none;
}

.breadcrumbs .breadcrumb-hero h2 {
  font-size: 36px;
  font-weight: 800;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.breadcrumbs ol li + li {
  padding-left: 10px;
}

.breadcrumbs ol li + li::before {
  display: inline-block;
  padding-right: 10px;
  color: var(--text-secondary);
  content: "/";
}

.breadcrumbs ol li {
  color: var(--text-secondary);
}

.breadcrumbs ol li a {
  color: var(--accent);
}

/* ======================================================
   Services Page
====================================================== */
.services .icon-box {
  padding: 30px;
  position: relative;
  overflow: hidden;
  margin: 0 10px 40px 10px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: var(--transition);
  border-radius: var(--radius);
}

.services .icon-box:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-light);
}

.section-light .services .icon-box .title a {
  color: var(--text-dark);
}

.section-light .services .description {
  color: var(--text-dark-secondary);
}

.services .icon i {
  font-size: 64px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services .title {
  margin-left: 40px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .title a {
  color: var(--text-dark);
}

.services .icon-box:hover .title a {
  color: var(--accent);
}

.services .description {
  font-size: 14px;
  margin-left: 40px;
  line-height: 24px;
  color: var(--text-dark-secondary);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

.section-dark .section-title h2 {
  color: var(--text-primary);
}

/* ======================================================
   About Page
====================================================== */
.about .container {
  box-shadow: none;
  background: transparent;
}

.about .count-box i {
  display: block;
  font-size: 48px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  float: left;
  line-height: 0;
}

.about .count-box span {
  font-size: 28px;
  display: block;
  font-weight: 700;
  color: var(--accent);
  margin-left: 60px;
}

.about .count-box p {
  padding: 5px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark-secondary);
}

.about .content h3 {
  font-weight: 700;
  font-size: 24px;
  color: var(--text-dark);
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
  padding-left: 28px;
  position: relative;
  color: var(--text-dark-secondary);
}

.about .content ul i {
  font-size: 24px;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: -2px;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent) 50%, rgba(124, 58, 237, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
}

.about .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation: pulsate-btn 2s infinite;
  border-radius: 50%;
  border: 5px solid var(--accent);
  top: -15%;
  left: -15%;
  background: transparent;
}

@keyframes pulsate-btn {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* ======================================================
   Portfolio
====================================================== */
.portfolio #portfolio-flters li {
  color: var(--text-secondary);
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #fff;
  background: var(--accent);
}

.portfolio .portfolio-wrap {
  border-radius: var(--radius);
  background: rgba(10, 14, 26, 0.6);
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: var(--accent);
}

/* Portfolio Details */
.portfolio-details .portfolio-info {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.portfolio-details .portfolio-info h3 {
  color: var(--text-dark);
  border-bottom-color: var(--border-light);
}

.portfolio-details .portfolio-description h2 {
  color: var(--text-dark);
}

.portfolio-details .portfolio-description p {
  color: var(--text-dark-secondary);
}

/* ======================================================
   Contact Page
====================================================== */
.contact .info-box {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.contact .info-box:hover {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: var(--shadow-light);
}

.contact .info-box h3 {
  color: var(--text-dark);
  font-size: 16px;
  margin: 10px 0 5px;
}

.contact .info-box p {
  font-size: 14px;
  color: var(--text-dark-secondary);
}

.contact .info-box i {
  font-size: 24px;
  color: var(--accent);
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.contact .php-email-form button[type="submit"] {
  background: var(--accent-gradient);
  border: none;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
}

.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

/* ======================================================
   Team Page
====================================================== */
.team .member {
  text-align: center;
  margin-bottom: 30px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: var(--transition);
  border-radius: var(--radius);
}

.team .member:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-light);
}

.team .member h4 {
  color: var(--text-dark);
}

.team .member img {
  width: 100%;
}

.team .member .member-info {
  padding: 25px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
}

.team .member span {
  display: block;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 15px;
}

.team .member .social a {
  color: var(--text-secondary);
  margin: 0 8px;
  font-size: 18px;
  transition: var(--transition);
}

.team .member .social a:hover {
  color: var(--accent);
}

/* ======================================================
   Blog Page
====================================================== */
.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.blog .entry .entry-title a {
  color: var(--text-dark);
}

.blog .entry .entry-title a:hover {
  color: var(--accent);
}

.blog .entry .entry-meta {
  color: var(--text-muted);
}

.blog .entry .entry-content p {
  color: var(--text-dark-secondary);
}

.blog .entry .read-more a {
  color: var(--accent);
  font-weight: 600;
}

/* ======================================================
   Pricing
====================================================== */
.pricing .box {
  padding: 30px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: var(--transition);
  border-radius: var(--radius);
}

.pricing .box:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: var(--shadow-light);
  transform: translateY(-4px);
}

.pricing .box h3 {
  color: var(--text-dark);
}

.pricing .box ul li {
  color: var(--text-dark-secondary);
}

.pricing h4 {
  color: var(--accent);
}

/* ======================================================
   Skills
====================================================== */
.skills .progress-bar {
  background: var(--accent-gradient);
  border-radius: 4px;
}

.skills .progress-bar-wrap {
  background: var(--border-color);
  border-radius: 4px;
}

/* ======================================================
   Client slider (sub-pages)
====================================================== */
.clients-slider .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100%);
}

.clients-slider .swiper-slide img:hover {
  opacity: 1;
  filter: none;
}

/* ======================================================
   Insights Preview Section
====================================================== */
.insights-preview { padding: 100px 0; }

.insight-card {
  display: block;
  text-decoration: none;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  transition: var(--transition);
  overflow: hidden;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.insight-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.insight-card-img { overflow: hidden; height: 220px; }
.insight-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.insight-card:hover .insight-card-img img { transform: scale(1.05); }

.insight-card-body { padding: 28px; }

.insight-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  background: var(--accent-light);
  border-radius: 4px;
}

.insight-card-body h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 20px;
}

.insight-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.insight-link i {
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-link i {
  transform: translateX(4px);
}

/* ======================================================
   Misc utilities
====================================================== */
.myUL {
  list-style: none;
  padding: 0;
}

.myUL li {
  padding-bottom: 10px;
  padding-left: 28px;
  position: relative;
  color: var(--text-secondary);
}

.myUL li i {
  font-size: 20px;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
}

.section-bg {
  background-color: var(--bg-secondary);
}

#main {
  z-index: 3;
  position: relative;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}

::placeholder {
  color: var(--text-muted);
}

/* Swiper overrides */
.swiper-pagination-bullet-active {
  background: var(--accent) !important;
}

/* Features */
.features .card-body {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.features .card:hover .card-body {
  background: var(--accent-gradient);
  border-color: var(--accent);
}

.features .card:hover .card-title a,
.features .card:hover .card-text {
  color: #ffffff;
}

/* ======================================================
   Ambient background grid pattern (dark sections)
====================================================== */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.section-dark > * {
  position: relative;
  z-index: 1;
}
