/* ========================================
   PREMIUM DESIGN SYSTEM v2
   Complete visual overhaul
   ======================================== */

/* --- DESIGN TOKENS --- */
:root {
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --bg-void: #060c18;
  --bg-deep: #0a1628;
  --bg-page: #f8fafd;
  --bg-surface: #ffffff;
  --bg-elevated: #f1f5f9;
  --bg-subtle: #e8edf5;

  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --accent-2: #06b6d4;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent-2-glow: rgba(6, 182, 212, 0.25);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #f1f5f9;

  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);

  --glass: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-strong: rgba(255, 255, 255, 0.14);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 40px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.09);
  --shadow-xl: 0 32px 80px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 60px var(--accent-glow);
  --shadow-glow-sm: 0 0 30px var(--accent-glow);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- GLOBAL RESETS --- */
* {
  font-family: var(--font-body);
}

body {
  color: var(--text-primary);
  background: var(--bg-page);
}

body.menu-open {
  overflow: hidden;
}

html.inner-page-view .navbar-container,
body.inner-page-view .navbar-container,
html.inner-page-view .sidebar,
body.inner-page-view .sidebar {
  display: none !important;
}

/* Dock: hide only on homepage, visible everywhere else */
html.home-page-view .inner-page-dock,
body.home-page-view .inner-page-dock {
  display: none !important;
}

/* Subtle grain texture for depth */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.40s; }

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  border-radius: var(--radius-full);
}

/* --- SELECTION --- */
::selection {
  background: rgba(99, 102, 241, 0.18);
  color: var(--text-primary);
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar-container {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.35s var(--ease-out);
}

.navbar-container.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

header {
  padding: 10px 20px;
  box-shadow: none;
}

.navbar {
  width: min(1200px, 92%);
  align-items: center;
}

.logo p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all 0.25s var(--ease-out);
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.07);
}

.nav-links .nav-cta,
.sidebar .nav-cta {
  background: var(--accent);
  color: #fff !important;
  font-weight: 600;
  padding: 8px 20px;
  box-shadow: 0 4px 18px var(--accent-glow);
  transition: all 0.3s var(--ease-out);
}

.nav-links .nav-cta:hover,
.sidebar .nav-cta:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px var(--accent-glow);
}

.sidebar {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.06);
}

.sidebar a {
  font-family: var(--font-body);
  font-weight: 500;
  padding: 14px 18px;
}

.inner-page-dock {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) scale(1);
  width: fit-content;
  max-width: min(760px, calc(100% - 24px));
  padding: 14px 12px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(7, 18, 36, 0.92), rgba(14, 26, 48, 0.84));
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border: 1px solid rgba(129, 140, 248, 0.2);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(2, 8, 23, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  z-index: 1400;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  overflow: hidden;
}

.inner-page-dock::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.07), rgba(99, 102, 241, 0.05));
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .inner-page-dock:hover,
  .inner-page-dock:focus-within {
    bottom: 16px;
    transform: translateX(-50%) translateY(-2px) scale(1);
  }
}

.inner-page-dock__label {
  display: none;
}

.inner-page-dock__links {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.inner-page-dock__links a {
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #eaf2ff;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.25s var(--ease-out);
}

.inner-page-dock__links a:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-color: transparent;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(99, 102, 241, 0.28);
}

@media (max-width: 768px) {
  .inner-page-dock {
    width: calc(100% - 16px);
    bottom: 12px;
    border-radius: 16px;
    padding: 12px 10px 10px;
    justify-content: center;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .inner-page-dock__links {
    gap: 6px;
    justify-content: center;
  }

  .inner-page-dock__links a {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

.sidebar a:hover {
  background: rgba(99, 102, 241, 0.07);
  color: var(--accent);
}

/* =========================================
   HERO SECTION
   ========================================= */
.herosection {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-void) 0%, #0d1d3a 45%, #101e3a 100%);
}

/* Animated gradient orbs */
.herosection::before {
  content: '';
  position: absolute;
  left: -8%;
  bottom: -15%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(100px);
  animation: orbFloat 10s ease-in-out infinite;
  z-index: 0;
}

.herosection::after {
  content: '';
  position: absolute;
  right: -5%;
  top: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-2-glow), transparent 65%);
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes orbFloat {
  0%, 100% { opacity: 0.5; transform: scale(1) translate(0, 0); }
  33% { opacity: 0.8; transform: scale(1.1) translate(15px, -10px); }
  66% { opacity: 0.6; transform: scale(1.05) translate(-10px, 15px); }
}

.landing {
  min-height: calc(100vh - 72px);
  gap: 32px;
  padding: 50px 20px 80px;
}

.landing-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: none;
}

.hero-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-role-tags span {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.26);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.78), rgba(30, 41, 59, 0.62));
  color: #eef2ff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.18);
}

.hero-role-tags span:nth-child(1) {
  border-color: rgba(56, 189, 248, 0.30);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.14);
}

.hero-role-tags span:nth-child(2) {
  border-color: rgba(129, 140, 248, 0.34);
  box-shadow: 0 12px 30px rgba(129, 140, 248, 0.16);
}

.hero-role-tags span:nth-child(3) {
  border-color: rgba(45, 212, 191, 0.30);
  box-shadow: 0 12px 30px rgba(45, 212, 191, 0.14);
}

.hero-role-tags span:nth-child(4) {
  border-color: rgba(167, 139, 250, 0.34);
  box-shadow: 0 12px 30px rgba(167, 139, 250, 0.16);
}

.landing-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 5.2vw, 5.25rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
  max-width: none;
  margin-top: 4px;
  color: #f8fbff;
  text-wrap: balance;
  text-shadow: 0 12px 34px rgba(15, 23, 42, 0.22);
}

/* Gradient accent on highlighted spans */
.landing-content h1 span,
.landing-content h1 br + span,
.landing-content h1 span[style] {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.landing-content .hero-description {
  margin-top: 16px;
  max-width: 520px;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(203, 213, 225, 0.86);
}

.landing-content .hero-description p,
.landing-content .hero-description span {
  color: inherit;
}

/* Hide old elements for cleaner hero */
.hero-highlights {
  display: none;
}

.hero-trust {
  display: none;
}

.buttons {
  margin-top: 36px;
  flex-wrap: wrap;
}

.buttons a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.01em;
  transition: all 0.35s var(--ease-out);
  box-shadow: none;
}

.buttons .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 28px var(--accent-glow);
}

.buttons .btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px var(--accent-glow);
}

.buttons .btn-secondary {
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  background: var(--glass);
  color: #e2e8f0;
  backdrop-filter: blur(12px);
}

.buttons .btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--glass-strong);
  transform: translateY(-3px);
}

/* Hero right side */
.herosection .right-section,
.herosection .ai-visual-container,
.herosection .ai-icon {
  min-height: 480px;
}

.herosection .big-foreground-circle {
  width: 82%;
  height: 70%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--glass-border);
  background: linear-gradient(160deg, var(--glass), rgba(99, 102, 241, 0.04));
  box-shadow: var(--shadow-xl), 0 0 80px rgba(99, 102, 241, 0.08);
}

.herosection .big-foreground-circle .landing-media {
  transform: translate(-50%, -50%) scale(1.1);
}

.float-circle {
  background-color: rgba(99, 102, 241, 0.12);
}

.bubble-bottom-right-page {
  background: rgba(99, 102, 241, 0.08);
}

.bubble-near-box {
  background: rgba(99, 102, 241, 0.10);
}

/* =========================================
   SECTION SHARED
   ========================================= */
.section-title,
.section-subtitle.about {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.section-subtitle::after {
  display: none;
}

.container,
.contact-container {
  max-width: 1200px;
}

/* =========================================
   ABOUT SECTION
   ========================================= */
.about-section {
  padding: 90px 20px 70px;
  background: transparent;
}

.about-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.about-content {
  display: grid;
  grid-template-columns: minmax(320px, 400px) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}

.about-image-column {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: 400px;
  object-fit: cover;
  object-position: 56% center;
  border-radius: var(--radius-lg);
  padding: 0;
  background: none;
  border: none;
  box-shadow: var(--shadow-lg);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.about-image img:hover {
  transform: scale(1.02) rotate(-0.5deg);
  box-shadow: var(--shadow-xl);
}

.about-mini-note {
  display: none;
}

.about-text {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
}

.about-kicker {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.07);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  margin: 14px 0 14px;
  color: var(--text-primary);
}

.about-text p {
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--text-secondary);
  margin-bottom: 12px;
  max-width: 52ch;
}

.about-intro {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 6px;
}

.about-secondary {
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.about-value-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.about-value-points span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.25s ease;
}

.about-value-points span:hover {
  background: rgba(99, 102, 241, 0.12);
  transform: translateY(-2px);
}

.features {
  gap: 12px;
  margin-bottom: 0;
}

.feature-box {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  gap: 10px;
  transition: all 0.3s var(--ease-out);
}

.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(99, 102, 241, 0.18);
  background: var(--bg-surface);
}

.feature-box h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-box p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.about-icon {
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
}

.tags {
  display: none;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services-section {
  padding: 80px 20px;
  background: transparent;
}

.services-grid {
  align-items: stretch;
}

.service-box {
  position: relative;
  overflow: hidden;
  border-top: none;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  padding: 28px 22px;
  transition: all 0.4s var(--ease-out);
}

.service-box::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-box:hover::before {
  opacity: 1;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md), var(--shadow-glow-sm);
  border-color: rgba(99, 102, 241, 0.12);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.07);
  color: var(--accent);
}

.service-box h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
}

.service-box p {
  color: var(--text-secondary);
}

.service-box ul li {
  color: var(--text-secondary);
}

.service-box ul li i {
  color: var(--accent-2);
}

/* =========================================
   PORTFOLIO SECTION
   ========================================= */
.portfolio-section {
  padding: 80px 20px !important;
  background: transparent !important;
}

.nav-tabs {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  padding: 5px;
  border-radius: var(--radius-full);
}

.nav-tabs .nav-link,
.nav-link {
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-out);
}

.nav-tabs .nav-link.active,
.nav-link.active,
.nav-link:hover {
  background: var(--accent);
  color: #fff;
}

.portfolio-container {
  scrollbar-color: var(--accent) transparent;
}

.portfolio-container::-webkit-scrollbar-thumb {
  background-color: var(--accent);
}

.portfolio-card {
  min-height: 280px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  transition: all 0.4s var(--ease-out);
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 14px 14px 6px;
  background: var(--bg-elevated);
}

.card-image {
  border-radius: var(--radius-sm);
}

.card-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease;
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
}

.hover-overlay {
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.05) 0%, rgba(6, 12, 24, 0.92) 55%);
  transform: none;
  border-radius: var(--radius-lg);
  z-index: 3;
  gap: 10px;
}

.portfolio-card:hover .card-footer {
  opacity: 0;
}

.hover-overlay h5 {
  font-family: var(--font-display);
}

.hover-overlay .btn {
  background: var(--accent);
  border-radius: var(--radius-full);
  padding: 10px 22px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.hover-overlay .btn:hover {
  background: var(--accent-dark);
  transform: scale(1.05);
}

/* =========================================
   BLOG / INSIGHTS SECTION
   ========================================= */
#blogsection {
  padding: 50px 0 80px;
}

.card-list .card-item .card-link {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: var(--shadow-xs);
  transition: all 0.4s var(--ease-out);
}

.card-list .card-item .card-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.2);
}

.card-list .card-link .badge {
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.card-list .card-link .card-button {
  background: var(--accent);
  border-radius: var(--radius-full);
  font-weight: 600;
}

.card-list .card-link .card-image {
  border-radius: var(--radius-sm);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  font-size: 14px !important;
}

.swiper-pagination-bullet {
  background: var(--accent);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
#testimonial {
  background: transparent;
  padding: 80px 0;
}

.wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.cont {
  min-height: 320px;
}

.slide {
  padding: 20px 40px 80px;
}

.slide h2 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
}

.slide p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.72;
  max-width: 600px;
  margin: 8px auto 0;
  font-style: italic;
}

.testimonial-role {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  margin: 4px 0 10px;
}

.img img {
  border: 4px solid var(--bg-surface);
  box-shadow: var(--shadow-md);
}

.stars {
  color: #f59e0b;
}

.dot {
  width: 10px;
  height: 10px;
  border-color: var(--border-strong);
}

.dot.active,
.dot:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.arrow {
  color: var(--text-muted);
}

.arrow:hover {
  color: var(--accent);
}

/* =========================================
   CLIENT LOGOS
   ========================================= */
.logoMarqueeSection {
  background: transparent;
  padding: 0;
}

.default-content-container {
  min-height: 0;
  padding: 1.5rem 5rem;
}

.marqueelogo {
  max-width: 76px;
  max-height: 38px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.4;
  transition: all 0.35s var(--ease-out);
}

.marqueelogo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact-section {
  padding: 80px 20px;
  background: transparent;
}

.contact-box {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--bg-surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.contact-info {
  background: linear-gradient(145deg, var(--bg-void) 0%, #0f2040 100%);
  position: relative;
  overflow: hidden;
}

/* Decorative orb inside contact */
.contact-info::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.contact-info h3 {
  font-family: var(--font-display);
}

.contact-icon {
  background: var(--glass-strong);
  color: var(--accent-light);
}

.social-icon {
  background: var(--glass);
}

.social-icon a {
  color: #e2e8f0;
}

.social-icons .icons a {
  background: var(--glass);
  transition: all 0.25s var(--ease-out);
}

.social-icons .icons a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.contact-form h3 {
  font-family: var(--font-display);
  color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 16px;
  font-family: var(--font-body);
  color: var(--text-primary);
  padding: 14px 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 8px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.25s var(--ease-out);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(99, 102, 241, 0.42);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.10), 0 14px 28px rgba(99, 102, 241, 0.08);
  outline: none;
  transform: translateY(-1px);
}

.contact-form button,
.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  min-width: 180px;
  padding: 13px 22px;
  border: 1px solid rgba(129, 140, 248, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a 0%, #4338ca 55%, #06b6d4 100%);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 34px rgba(79, 70, 229, 0.22);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), filter 0.3s var(--ease-out);
}

.contact-submit-btn i {
  font-size: 0.92rem;
  transition: transform 0.3s var(--ease-out);
}

.contact-form button:hover,
.contact-submit-btn:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.28);
  filter: brightness(1.05);
}

.contact-submit-btn:hover i {
  transform: translateX(2px) rotate(-8deg);
}

.contact-form button:disabled,
.contact-submit-btn:disabled,
.contact-submit-btn.is-loading {
  opacity: 0.9;
  cursor: wait;
  transform: none;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: linear-gradient(180deg, var(--bg-void) 0%, #040a14 100%);
  padding: 48px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-logo p {
  font-family: var(--font-display);
  color: #fff;
}

.footer-subtext {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-social a,
.footer .social-icon {
  background: var(--glass);
  transition: all 0.25s var(--ease-out);
}

.footer-social a:hover,
.footer .social-icon:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  margin-top: 28px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-light);
  text-decoration: none;
}

/* =========================================
   MODAL
   ========================================= */
.modal {
  background: rgba(6, 12, 24, 0.7);
  backdrop-filter: blur(8px);
}

.modal__content {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.modal__content h3,
.modal__content h4 {
  font-family: var(--font-display);
}

.close-btn {
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.result-metric {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: var(--radius-sm);
}

.metric-value {
  color: var(--accent);
}

.tech-badge {
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  border-radius: var(--radius-full);
}

/* Blog modal */
.modal-blogs {
  background: rgba(6, 12, 24, 0.7);
  backdrop-filter: blur(8px);
}

.modal-content {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

/* =========================================
   GLOBAL SHADOW CONSISTENCY
   ========================================= */
.service-box,
.portfolio-card,
.card-list .card-item .card-link,
.contact-box,
.wrap,
.about-panel {
  box-shadow: var(--shadow-sm);
}

.service-box:hover,
.portfolio-card:hover,
.card-list .card-item .card-link:hover {
  box-shadow: var(--shadow-lg);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 991px) {
  .landing {
    grid-template-columns: 1fr;
    padding: 32px 20px 60px;
  }

  .landing-content h1 {
    max-width: none;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-image-column {
    order: -1;
  }

  .about-image img {
    height: 280px;
    max-width: 100%;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .herosection .right-section,
  .herosection .ai-visual-container,
  .herosection .ai-icon {
    min-height: 340px;
  }

  .service-box {
    width: calc((100% - 30px) / 2);
  }

  .about-panel {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 8px 12px;
  }

  .navbar {
    width: 96%;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .landing-content .hero-description {
    font-size: 0.96rem;
  }

  .buttons a {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .about-section {
    padding: 50px 16px;
  }

  .about-panel {
    padding: 14px;
  }

  .about-text {
    padding: 10px;
  }

  .about-text h3 {
    font-size: 1.3rem;
  }

  .wrap {
    padding: 16px;
  }

  .slide {
    padding: 12px 12px 70px;
  }

  .slide p {
    font-size: 0.92rem;
    padding: 0 8px;
  }

  .portfolio-card {
    min-height: 260px;
  }

  .contact-section {
    padding: 40px 16px;
  }

  .services-section {
    padding: 40px 16px;
  }

  #testimonial {
    padding: 40px 0;
  }

  #blogsection {
    padding: 30px 0 50px;
  }

  .section-title,
  .section-subtitle.about {
    font-size: 1.6rem;
  }

  .default-content-container {
    padding: 1rem 2rem;
  }
}

@media (max-width: 576px) {
  .about-content {
    gap: 20px;
  }

  .about-image img {
    height: 240px;
  }

  .about-value-points {
    gap: 6px;
  }

  .about-value-points span {
    font-size: 0.78rem;
    padding: 5px 10px;
  }

  .feature-box {
    padding: 12px;
  }

  .landing {
    padding: 24px 16px 50px;
  }
}

/* =========================================
   TOAST / NOTIFICATIONS
   ========================================= */
#toast {
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  font-weight: 500;
}

/* =========================================
   REFINEMENTS v3 — polish, copy, conversion
   ========================================= */

/* Skip link for accessibility */
.skip-link {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.25s var(--ease-out);
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Focus-visible states for keyboard nav */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 2000;
  pointer-events: none;
}
.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.35);
  transition: width 0.1s linear;
}

/* Availability pill (nav + contact) */
.avail-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #059669;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.avail-pill .dot-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  flex-shrink: 0;
}
.avail-pill .dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #10b981;
  opacity: 0.4;
  animation: pulseDot 2s ease-out infinite;
}
@keyframes pulseDot {
  0% { transform: scale(0.6); opacity: 0.6; }
  100% { transform: scale(1.8); opacity: 0; }
}
.navbar .avail-pill {
  background: rgba(16, 185, 129, 0.08);
}
.avail-pill--dark {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(52, 211, 153, 0.36);
  color: #6ee7b7;
}
.avail-pill--dark .dot-pulse { background: #34d399; }
.avail-pill--dark .dot-pulse::after { background: #34d399; }

/* Hero eyebrow + stats */
.hero-eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.28);
  color: #c7d2fe;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(14px);
  text-transform: uppercase;
}
.hero-eyebrow .dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d399;
  position: relative;
}
.hero-eyebrow .dot-pulse::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #34d399;
  opacity: 0.4;
  animation: pulseDot 2s ease-out infinite;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  max-width: 540px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hero-stat__num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f8fbff;
  line-height: 1;
}
.hero-stat__num span {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat__label {
  font-size: 0.78rem;
  color: rgba(203, 213, 225, 0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(203, 213, 225, 0.6);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  z-index: 2;
  pointer-events: none;
}
.hero-scroll-hint__mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(203, 213, 225, 0.45);
  border-radius: 12px;
  position: relative;
}
.hero-scroll-hint__mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--accent-2);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translate(-50%, 0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}
@media (max-width: 768px) {
  .hero-scroll-hint { display: none; }
}

/* Section eyebrow (01 / ABOUT) */
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.55));
}
.section-eyebrow::after {
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.55), transparent);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px var(--accent-glow);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: all 0.35s var(--ease-out);
  z-index: 1200;
  font-size: 16px;
}
.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px var(--accent-glow);
}
/* Avoid clash with inner-page-dock on inner pages */
html.inner-page-view .back-to-top,
body.inner-page-view .back-to-top {
  right: 20px;
  bottom: 90px;
}

/* Client logos — trust bar heading */
.trust-bar__heading {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}

/* Contact meta row (response time / timezone / email) */
.contact-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.contact-meta__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-meta__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.55);
}
.contact-meta__value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: #eef2ff;
}

/* Service box numeric index */
.service-box { counter-increment: svc; }
.services-grid { counter-reset: svc; }
.service-box::after {
  content: counter(svc, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  opacity: 0.5;
  transition: all 0.3s ease;
}
.service-box:hover::after {
  color: var(--accent);
  opacity: 1;
}

/* Elevated focused polish: cards lift on hover more smoothly */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Footer enhancements */
.footer {
  background: linear-gradient(180deg, #071224 0%, #050d1c 100%);
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: -140px;
  left: 50%;
  width: 480px;
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18), transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}
.footer-container { position: relative; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) repeat(2, minmax(160px, 1fr)) minmax(200px, 1.2fr);
  gap: 36px;
  align-items: flex-start;
  padding-bottom: 30px;
}
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e2e8f0;
  margin-bottom: 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}
.footer-col ul a:hover {
  color: #fff;
  padding-left: 4px;
}
.footer .footer-subtext {
  color: #94a3b8;
  max-width: 260px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.footer .social {
  margin-top: 14px;
  gap: 10px;
}
.footer .social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s var(--ease-out);
}
.footer .social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 22px var(--accent-glow);
}
.footer-bottom {
  color: #64748b;
  font-size: 0.82rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-bottom a {
  color: #94a3b8;
}
.footer-bottom a:hover {
  color: #fff;
}
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* About: subtle gradient accent on panel */
.about-panel {
  position: relative;
  overflow: hidden;
}
.about-panel::after {
  content: '';
  position: absolute;
  top: -160px;
  right: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08), transparent 70%);
  pointer-events: none;
  filter: blur(40px);
}

/* Hero: responsive tweaks */
@media (max-width: 768px) {
  .hero-stats {
    gap: 16px;
    padding-top: 20px;
    margin-top: 24px;
  }
  .hero-stat__num { font-size: 1.35rem; }
  .hero-stat__label { font-size: 0.7rem; letter-spacing: 0.04em; }
  .hero-eyebrow {
    font-size: 0.7rem;
    padding: 5px 10px 5px 8px;
  }
  .navbar .avail-pill { display: none; }
}

/* CTA banner (before footer, after contact) — optional card style */
.cta-banner {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 40px 36px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #0b1a36 0%, #1e1b6b 55%, #0a3a4a 100%);
  color: #eef2ff;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 280px at 90% 0%, rgba(6, 182, 212, 0.22), transparent 60%),
              radial-gradient(500px 260px at 0% 100%, rgba(99, 102, 241, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-banner__text { position: relative; z-index: 1; }
.cta-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: #f8fafc;
}
.cta-banner p {
  margin: 0;
  color: rgba(203, 213, 225, 0.85);
  font-size: 0.96rem;
  max-width: 56ch;
}
.cta-banner__action { position: relative; z-index: 1; }
.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.cta-banner__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
@media (max-width: 720px) {
  .cta-banner {
    grid-template-columns: 1fr;
    padding: 28px 24px;
    text-align: left;
  }
}

/* Section titles with larger impact */
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}
.section-title strong {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: inherit;
}

/* Testimonial quote decoration */
#testimonial .wrap {
  position: relative;
}
#testimonial .wrap::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 28px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(99, 102, 241, 0.12);
  pointer-events: none;
}

/* Portfolio "view all" vibe on cards */
.portfolio-card .hover-overlay p {
  color: rgba(241, 245, 249, 0.88);
}

/* Nav-tabs pill refinement */
.nav-tabs {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.nav-tabs .nav-link.active {
  box-shadow: 0 8px 20px var(--accent-glow);
}

/* Contact info unordered list — spacing cleanup */
.contact-info ul li p {
  font-size: 1rem;
  font-weight: 500;
}
.contact-info small {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(203, 213, 225, 0.6);
}

/* =========================================
   PREMIUM NAVBAR v4 — polished, three-zone
   ========================================= */

.navbar-container {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(1.6);
  -webkit-backdrop-filter: blur(28px) saturate(1.6);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg,
    transparent 0%,
    rgba(99, 102, 241, 0.22) 20%,
    rgba(6, 182, 212, 0.22) 50%,
    rgba(99, 102, 241, 0.22) 80%,
    transparent 100%) 1;
  transition: background 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}

.navbar-container.scrolled {
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 1px 0 rgba(148, 163, 184, 0.12),
    0 10px 30px rgba(15, 23, 42, 0.07);
}

.navbar-container header,
.navbar-container > .navbar,
.navbar-container {
  /* header already has padding */
}

header {
  padding: 8px 24px;
}

.navbar {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 24px;
}

/* --- Logo: mark + two-line text --- */
.logo { align-items: center; }

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 6px 8px 6px 6px;
  border-radius: var(--radius-full);
  transition: background 0.25s var(--ease-out);
}
.logo-link:hover {
  background: rgba(99, 102, 241, 0.06);
}

.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  box-shadow:
    0 8px 20px rgba(99, 102, 241, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  overflow: hidden;
  flex-shrink: 0;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.0) 0%, rgba(15, 23, 42, 0.15) 100%);
  pointer-events: none;
}
.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}
.logo-mark__initial {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 1;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-text__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.logo-text__role {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hide old logo <p> fallback if present */
.logo p { display: none; }

/* --- Center nav links: animated underline + active state --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-content: center;
  padding: 4px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: fit-content;
  justify-self: center;
}

.nav-links a {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.08);
}

.nav-links a.is-active {
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(6, 182, 212, 0.10));
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.18),
    0 6px 14px rgba(99, 102, 241, 0.12);
}

/* --- Right-side actions group --- */
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.nav-actions .avail-pill {
  background: rgba(16, 185, 129, 0.10);
  border-color: rgba(16, 185, 129, 0.30);
}

.nav-links .nav-cta,
.nav-actions .nav-cta,
.sidebar .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px 9px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 60%, #0ea5e9 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: -0.005em;
  box-shadow:
    0 8px 22px rgba(99, 102, 241, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background-position 0.5s var(--ease-out), transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.nav-links .nav-cta:hover,
.nav-actions .nav-cta:hover,
.sidebar .nav-cta:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(99, 102, 241, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-actions .nav-cta i {
  font-size: 0.72rem;
  transition: transform 0.3s var(--ease-out);
}
.nav-actions .nav-cta:hover i {
  transform: translateX(3px);
}

/* Toggle button polish */
.toggle-btn {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}
.toggle-btn:hover {
  background: #fff;
  border-color: rgba(99, 102, 241, 0.24);
  color: var(--accent);
}
.toggle-btn .icon-bar { font-size: 22px; line-height: 1; }

/* Mobile: switch layout */
@media (max-width: 960px) {
  .navbar {
    grid-template-columns: 1fr auto;
    column-gap: 10px;
  }
  .nav-links,
  .nav-actions { display: none; }
  .toggle-btn { display: inline-flex; }
}

/* Sidebar polish */
.sidebar {
  width: 280px;
  padding: 80px 18px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 253, 0.98));
  border-left: 1px solid rgba(148, 163, 184, 0.18);
}
.sidebar a {
  display: block;
  margin: 4px 0;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.22s var(--ease-out);
}
.sidebar a:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--accent);
  padding-left: 20px;
}
.sidebar .nav-cta {
  margin-top: 16px;
  justify-content: center;
}


