/* ═══════════════════════════════════════════════════════
   PO SOLUTIONS — PREMIUM AGENCY CSS
   Author: PO Solutions Dev Team
   Version: 1.0.0
═══════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────── */
:root {
  --primary:        #4A6CF7;
  --primary-dark:   #3451D1;
  --primary-light:  #6B8DE3;
  --primary-glow:   rgba(74, 108, 247, 0.35);
  --secondary:      #10B981;

  /* Light Theme */
  --bg:             #F8FAFF;
  --bg-alt:         #EFF2FD;
  --bg-card:        #FFFFFF;
  --text:           #0D0F14;
  --text-muted:     #64748B;
  --border:         rgba(74, 108, 247, 0.15);
  --nav-bg:         rgba(248, 250, 255, 0.92);
  --shadow:         0 4px 24px rgba(74, 108, 247, 0.08);
  --shadow-md:      0 8px 40px rgba(74, 108, 247, 0.15);
  --shadow-lg:      0 20px 60px rgba(74, 108, 247, 0.2);

  /* Typography */
  --font-body:      'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading:   'Syne', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Transitions */
  --t-fast:   0.15s ease;
  --t-base:   0.25s ease;
  --t-slow:   0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border radius */
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Admin */
  --admin-bg:       #0D1117;
  --admin-sidebar:  #0A0D14;
  --admin-card-bg:  #161B27;
  --admin-border:   rgba(74, 108, 247, 0.12);
  --admin-text:     #E2E8F0;
  --admin-muted:    #64748B;
}

[data-theme="dark"] {
  --bg:           #0D0F14;
  --bg-alt:       #111520;
  --bg-card:      #161B27;
  --text:         #F1F5F9;
  --text-muted:   #94A3B8;
  --border:       rgba(74, 108, 247, 0.2);
  --nav-bg:       rgba(13, 15, 20, 0.95);
  --shadow:       0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-md:    0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-lg:    0 20px 60px rgba(0, 0, 0, 0.6);
}

/* ── Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  transition: background var(--t-slow), color var(--t-slow);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Skip Link ──────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--primary);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--r-sm);
  z-index: 9999;
  transition: top 0.2s;
  font-size: 14px;
  font-weight: 600;
}
.skip-link:focus { top: 8px; }

/* ── Custom Cursor ──────────────────────────────────── */
.cursor-dot,
.cursor-outline {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
}
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  transform: translate(-50%, -50%);
}
.cursor-outline {
  width: 30px;
  height: 30px;
  border: 2px solid var(--primary);
  transform: translate(-50%, -50%);
  transition: transform 0.1s, opacity 0.3s, width 0.2s, height 0.2s;
}
@media (hover: hover) {
  .cursor-dot,
  .cursor-outline { opacity: 1; }
}

/* ── Page Loader ────────────────────────────────────── */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: opacity 0.5s, visibility 0.5s;
}
.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}
.loader-logo {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -2px;
}
.loader-p  { color: var(--primary); }
.loader-os { color: var(--text); font-weight: 700; }
.loader-bar {
  width: 120px;
  height: 3px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 999px;
  animation: loaderProgress 1.2s ease-in-out forwards;
}
@keyframes loaderProgress { to { width: 100%; } }

/* ── Navbar ─────────────────────────────────────────── */
.pos-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: all 0.35s ease;
}
.pos-navbar.scrolled {
  padding: 12px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.navbar-brand { text-decoration: none; }
.brand-text-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.brand-p  { font-size: 2rem; color: var(--primary); }
.brand-os { font-size: 1rem; color: var(--primary); }
.brand-solutions {
  font-size: 1rem;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-left: 4px;
}
.nav-logo { height: 45px; width: auto; object-fit: contain; }

.pos-navbar .nav-link {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 16px !important;
  border-radius: var(--r-sm);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}
.pos-navbar .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--primary);
  border-radius: 999px;
  transition: left 0.25s, right 0.25s;
}
.pos-navbar .nav-link:hover::after,
.pos-navbar .nav-link.active::after {
  left: 16px;
  right: 16px;
}
.pos-navbar .nav-link:hover,
.pos-navbar .nav-link.active {
  color: var(--primary);
}

/* Toggler */
.navbar-toggler { border: none; padding: 4px; background: none; }
.navbar-toggler:focus { box-shadow: none; }
.toggler-icon {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  color: var(--text);
  font-size: 14px;
}
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
[data-theme="light"] .dark-icon { display: none; }
[data-theme="dark"]  .light-icon { display: none; }

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: var(--r-sm);
  padding: 10px 24px;
  transition: transform var(--t-fast), box-shadow var(--t-fast), filter var(--t-fast);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
  filter: brightness(1.1);
  color: #fff;
}
.btn-primary:active { transform: translateY(0); }

.btn-glow { box-shadow: 0 4px 20px var(--primary-glow); }
.btn-glow:hover { box-shadow: 0 8px 40px var(--primary-glow); }
.btn-glow-white {
  color: var(--primary) !important;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}
.btn-glow-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,255,255,0.3);
}
.btn-ghost {
  background: rgba(74,108,247,0.08);
  border: 1px solid rgba(74,108,247,0.3);
  color: var(--text);
  font-weight: 600;
  border-radius: var(--r-sm);
  padding: 10px 24px;
  transition: all var(--t-fast);
}
.btn-ghost:hover {
  background: rgba(74,108,247,0.15);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-outline-primary {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}
.btn-outline-primary:hover {
  background: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

/* ── Hero Section ────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg);
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(74,108,247,0.08) 0%, transparent 70%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,108,247,0.1);
  border: 1px solid rgba(74,108,247,0.3);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}
.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.gradient-text {
  background: linear-gradient(135deg, var(--primary), #7B9CFF, var(--primary-dark));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s linear infinite;
}
@keyframes gradientShift {
  0%  { background-position: 0% center; }
  100%{ background-position: 200% center; }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 0;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -1px;
}
.stat-plus { font-size: 1.5rem; font-weight: 800; color: var(--primary); }
.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Floating Cards */
.hero-3d-card {
  position: relative;
  width: 380px;
  height: 380px;
}
.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(20px);
}
.floating-card i {
  font-size: 1.5rem;
  color: var(--primary);
}
.card-1 { top: 10%; left: 0; animation: float1 6s ease-in-out infinite; }
.card-2 { top: 42%; right: 0; animation: float2 7s ease-in-out infinite 0.5s; }
.card-3 { bottom: 10%; left: 15%; animation: float3 5.5s ease-in-out infinite 1s; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}
.hero-orb-1 {
  width: 200px; height: 200px;
  background: rgba(74,108,247,0.15);
  top: 20%; left: 20%;
  animation: orbFloat1 8s ease-in-out infinite;
}
.hero-orb-2 {
  width: 150px; height: 150px;
  background: rgba(16,185,129,0.1);
  bottom: 20%; right: 20%;
  animation: orbFloat2 10s ease-in-out infinite 2s;
}
@keyframes float1 { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-16px) rotate(2deg)} }
@keyframes float2 { 0%,100%{transform:translateY(0) rotate(3deg)}  50%{transform:translateY(-20px) rotate(-3deg)} }
@keyframes float3 { 0%,100%{transform:translateY(0) rotate(-1deg)} 50%{transform:translateY(-12px) rotate(1deg)} }
@keyframes orbFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-30px)} }
@keyframes orbFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-20px,20px)} }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(74,108,247,0.4);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--primary);
  border-radius: 999px;
  animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

/* ── Marquee ─────────────────────────────────────────── */
.marquee-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 18px 0;
  overflow: hidden;
}
.marquee-track { overflow: hidden; }
.marquee-inner {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 25s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.marquee-item i { color: #fff; font-size: 12px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Section Common ──────────────────────────────────── */
.section-padding { padding: 100px 0; }
.bg-alt { background: var(--bg-alt); }

.section-tag {
  display: inline-block;
  background: rgba(74,108,247,0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(74,108,247,0.2);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.section-header { margin-bottom: 20px; }

/* ── Service Cards ───────────────────────────────────── */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
  height: 100%;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.service-card-icon {
  width: 60px;
  height: 60px;
  background: color-mix(in srgb, var(--service-color, var(--primary)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--service-color, var(--primary)) 30%, transparent);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--service-color, var(--primary));
  margin-bottom: 20px;
  transition: transform var(--t-fast);
}
.service-card-icon.large { width: 72px; height: 72px; font-size: 1.8rem; }
.service-card:hover .service-card-icon { transform: scale(1.1) rotate(-5deg); }
.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; margin-bottom: 20px; }
.service-features { list-style: none; padding: 0; margin-bottom: 24px; }
.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 4px 0;
}
.service-features .bi-check2 { color: var(--secondary); font-weight: 700; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: gap var(--t-fast);
}
.service-card-link:hover { gap: 10px; }
.service-card-glow {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 150px;
  height: 150px;
  background: color-mix(in srgb, var(--service-color, var(--primary)) 10%, transparent);
  border-radius: 50%;
  filter: blur(30px);
  transition: opacity var(--t-slow);
  opacity: 0;
}
.service-card:hover .service-card-glow { opacity: 1; }

/* Service Full Card */
.service-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.service-full-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-full-card-header { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 24px; }
.service-full-title { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.service-full-desc { color: var(--text-muted); line-height: 1.7; margin: 0; }
.service-full-features {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.service-full-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}
.service-full-features .bi-check-circle-fill { color: var(--secondary); font-size: 13px; }

/* Service Detail Page */
.feature-check-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
}
.service-cta-card {
  background: linear-gradient(135deg, rgba(74,108,247,0.08), rgba(74,108,247,0.03));
  border: 1px solid var(--primary-glow);
  border-radius: var(--r-lg);
  padding: 36px;
  position: sticky;
  top: 100px;
}
.service-cta-card h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.service-cta-trust { display: flex; flex-direction: column; gap: 8px; }
.trust-point { font-size: 14px; color: var(--text-muted); font-weight: 500; }

/* ── About Preview ───────────────────────────────────── */
.about-card-stack { position: relative; }
.acard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.acard-main { padding: 24px; }
.acard-header { display: flex; gap: 6px; margin-bottom: 16px; }
.acard-dot { width: 10px; height: 10px; border-radius: 50%; }
.acard-dot.red { background: #FF5F57; }
.acard-dot.yellow { background: #FFBD2E; }
.acard-dot.green { background: #28CA41; }
.code-lines { font-family: 'Courier New', monospace; font-size: 13px; line-height: 2; }
.cl-blue { color: #4A6CF7; }
.cl-green { color: #10B981; }
.cl-yellow { color: #F59E0B; }
.cl-orange { color: #F97316; }
.cl-white { color: var(--text); }
.cl-comment { color: #64748B; }

.acard-float {
  position: absolute;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}
.acard-float i { color: var(--primary); font-size: 1rem; }
.acard-float-1 { bottom: -20px; right: 10%; animation: float2 6s ease-in-out infinite; }
.acard-float-2 { top: -20px; right: -5%; animation: float1 7s ease-in-out infinite; }
.about-glow-orb {
  position: absolute;
  width: 200px; height: 200px;
  background: var(--primary-glow);
  border-radius: 50%;
  filter: blur(60px);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
.pillar-item .bi-check-circle-fill { color: var(--secondary); font-size: 1rem; }

/* ── Portfolio ───────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-grid-item.featured {
  grid-column: span 2;
}
.portfolio-card,
.portfolio-grid-item { }
.portfolio-thumb {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-alt);
}
.portfolio-grid-item.featured .portfolio-thumb { aspect-ratio: 16/9; }
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-thumb:hover img { transform: scale(1.06); }
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-alt), var(--bg-card));
  color: var(--text-muted);
  font-size: 3rem;
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,15,20,0.95) 0%, rgba(13,15,20,0.4) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.35s;
}
.portfolio-thumb:hover .portfolio-overlay { opacity: 1; }
.portfolio-category {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-light);
  margin-bottom: 6px;
}
.portfolio-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}
.portfolio-client { color: rgba(255,255,255,0.7); font-size: 13px; margin-bottom: 10px; }
.portfolio-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tag {
  background: rgba(74,108,247,0.25);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(74,108,247,0.4);
}
.portfolio-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  background: var(--primary);
  border-radius: var(--r-sm);
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  align-self: flex-start;
  transition: transform var(--t-fast), background var(--t-fast);
}
.portfolio-link-btn:hover { background: var(--primary-dark); transform: translateY(-2px); color: #fff; }

/* Portfolio filter */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 999px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ── Why Us Cards ────────────────────────────────────── */
.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 28px;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-icon {
  width: 64px; height: 64px;
  background: rgba(74,108,247,0.1);
  border: 1px solid rgba(74,108,247,0.2);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary);
  margin: 0 auto 20px;
  transition: transform var(--t-fast), background var(--t-fast);
}
.why-card:hover .why-icon { transform: rotate(-8deg) scale(1.1); background: rgba(74,108,247,0.15); }
.why-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.why-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin: 0; }

/* ── Blog Cards ──────────────────────────────────────── */
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-card-img-wrap {
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--bg-alt), color-mix(in srgb, var(--primary) 15%, var(--bg-alt)));
}
.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  display: inline-block;
  background: rgba(74,108,247,0.1);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.blog-card-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.blog-card-title a { color: var(--text); text-decoration: none; transition: color var(--t-fast); }
.blog-card-title a:hover { color: var(--primary); }
.blog-card-excerpt { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; flex: 1; }
.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.blog-date { color: var(--text-muted); font-size: 13px; }
.blog-read-more {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: gap var(--t-fast);
}
.blog-read-more:hover { gap: 8px; }
.blog-author-avatar {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.blog-author-name { font-weight: 600; font-size: 13px; }

/* ── About Values ────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t-slow);
}
.value-card:hover { transform: translateY(-4px); }
.value-icon {
  width: 48px; height: 48px;
  background: rgba(74,108,247,0.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--primary);
  margin-bottom: 14px;
}
.value-title { font-weight: 700; font-size: 1rem; margin-bottom: 8px; }
.value-desc { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ── Stats Section ───────────────────────────────────── */
.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 20px;
}
.stat-box-icon { font-size: 2rem; color: var(--primary); display: block; margin-bottom: 12px; }
.stat-box-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box-label { font-size: 14px; color: var(--text-muted); font-weight: 600; }

/* ── CTA Section ─────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-title .gradient-text {
  background: linear-gradient(135deg, #fff, rgba(255,255,255,0.7));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cta-subtitle {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Page Hero ───────────────────────────────────────── */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(74,108,247,0.07) 0%, transparent 70%);
  z-index: -1;
}
.min-vh-50 { min-height: 50vh; }
.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 16px 0 20px;
}
.page-hero-subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 540px; line-height: 1.7; }

/* ── Contact ─────────────────────────────────────────── */
.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 16px 20px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(74,108,247,0.1);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); }
.contact-info-value { font-weight: 600; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.contact-info-value:hover { color: var(--primary); }
.contact-socials { display: flex; gap: 10px; }
.contact-socials a {
  width: 40px; height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1rem; text-decoration: none;
  transition: all var(--t-fast);
}
.contact-socials a:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 48px;
}

/* ── Form Styles ─────────────────────────────────────── */
.pos-form-group { display: flex; flex-direction: column; gap: 6px; }
.pos-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.pos-label span { color: var(--primary); }
.pos-input {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-body);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}
.pos-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(74,108,247,0.15);
}
.pos-input::placeholder { color: var(--text-muted); opacity: 0.7; }
.pos-input-lg { padding: 14px 18px; font-size: 16px; }
.pos-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.pos-input-icon-wrap { position: relative; }
.pos-input-icon-wrap > i {
  position: absolute;
  left: 14px; top: 50%; transform: translateY(-50%);
  color: var(--text-muted); font-size: 1rem; pointer-events: none;
}
.pos-input-icon { padding-left: 42px; }
.pos-alert {
  border: none;
  border-radius: var(--r-md);
  padding: 14px 20px;
  font-weight: 500;
}
.letter-spacing { letter-spacing: 1.5px; }

/* ── Footer ──────────────────────────────────────────── */
.site-footer {
  background: #0A0D14;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer-glow {
  pointer-events: none;
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(74,108,247,0.08) 0%, transparent 70%);
  top: -100px; left: 50%; transform: translateX(-50%);
}
.footer-brand { margin-bottom: 8px; }
.footer-brand .brand-solutions { color: #fff; }
.footer-tag { color: #64748B; font-size: 11px; letter-spacing: 3px; margin-top: 4px; }
.footer-desc { color: #64748B; font-size: 0.9rem; line-height: 1.8; max-width: 320px; }
.footer-heading {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #94A3B8;
  margin-bottom: 20px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: #64748B;
  text-decoration: none;
  font-size: 14px;
  transition: color var(--t-fast), padding-left var(--t-fast);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #64748B;
  font-size: 14px;
  margin-bottom: 14px;
}
.footer-contact-list i { color: var(--primary); font-size: 0.9rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: #64748B; text-decoration: none; }
.footer-contact-list a:hover { color: #fff; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  color: #64748B; text-decoration: none; font-size: 1rem;
  transition: all var(--t-fast);
}
.footer-socials a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}
.footer-divider { border-color: rgba(255,255,255,0.06); margin: 60px 0 32px; }
.footer-bottom { padding-bottom: 32px; }
.footer-bottom p { color: #475569; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: #475569; text-decoration: none; font-size: 13px; transition: color var(--t-fast); }
.footer-bottom-links a:hover { color: var(--primary); }

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-slow);
  box-shadow: 0 4px 16px var(--primary-glow);
  z-index: 500;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-4px); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px; height: 54px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 500;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  animation: whatsappBounce 3s ease-in-out infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 32px rgba(37,211,102,0.5); color: #fff; }
@keyframes whatsappBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }

/* ── Login Page ──────────────────────────────────────── */
.login-body { background: var(--admin-bg); }
.login-bg { position: fixed; inset: 0; overflow: hidden; }
.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}
.login-orb-1 {
  width: 400px; height: 400px;
  background: rgba(74,108,247,0.3);
  top: -100px; left: -100px;
  animation: orbFloat1 12s ease-in-out infinite;
}
.login-orb-2 {
  width: 300px; height: 300px;
  background: rgba(16,185,129,0.2);
  bottom: -80px; right: -80px;
  animation: orbFloat2 10s ease-in-out infinite;
}
.login-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(74,108,247,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(74,108,247,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.login-wrap { position: relative; z-index: 1; }
.login-card {
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--r-xl);
  padding: 48px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.login-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--admin-text);
}
.login-brand .brand-p  { color: var(--primary); }
.login-brand .brand-os { color: var(--primary); }
.login-brand .brand-solutions { color: var(--admin-text); }
.login-body .pos-input {
  background: rgba(255,255,255,0.05);
  border-color: var(--admin-border);
  color: var(--admin-text);
}
.login-body .pos-input:focus {
  border-color: var(--primary);
  background: rgba(74,108,247,0.05);
}
.login-body .pos-input::placeholder { color: #475569; }
.login-body .pos-label { color: var(--admin-text); }
.login-body .text-muted { color: #64748B !important; }

/* ── Prose Content ───────────────────────────────────── */
.prose-content {
  color: var(--text);
  line-height: 1.85;
  font-size: 1.05rem;
}
.prose-content h1,.prose-content h2,.prose-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 2rem 0 1rem;
  color: var(--text);
}
.prose-content h2 { font-size: 1.7rem; }
.prose-content h3 { font-size: 1.3rem; }
.prose-content p { margin-bottom: 1.4rem; }
.prose-content ul,
.prose-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.prose-content li { margin-bottom: 0.5rem; }
.prose-content a { color: var(--primary); text-decoration: underline; }
.prose-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 16px 24px;
  background: rgba(74,108,247,0.05);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-muted);
}
.prose-content code {
  background: rgba(74,108,247,0.1);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9em;
}
.prose-content pre {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px;
  overflow-x: auto;
}
.prose-content img { border-radius: var(--r-md); max-width: 100%; }

/* ── Admin Panel ─────────────────────────────────────── */
.admin-body {
  background: var(--admin-bg);
  color: var(--admin-text);
  font-family: var(--font-body);
  min-height: 100vh;
}
.admin-layout { display: flex; min-height: 100vh; }
.admin-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.admin-content { flex: 1; padding: 32px; overflow-y: auto; }

/* Sidebar */
.admin-sidebar {
  width: 260px;
  background: var(--admin-sidebar);
  border-right: 1px solid var(--admin-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: relative;
  z-index: 200;
  transition: transform 0.3s ease;
}
.sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--admin-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.sidebar-brand .brand-p  { font-size: 1.8rem; }
.sidebar-brand .brand-os { font-size: 0.9rem; }
.sidebar-brand-text {
  font-weight: 700;
  font-size: 14px;
  color: var(--admin-text);
  white-space: nowrap;
}
.sidebar-close {
  background: none;
  border: none;
  color: var(--admin-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
}
.sidebar-nav { flex: 1; overflow-y: auto; padding: 16px 0; }
.sidebar-nav ul { list-style: none; padding: 0; margin: 0; }
.nav-section-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--admin-muted);
  padding: 16px 20px 6px;
}
.sidebar-link,
.sidebar-link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast), padding-left var(--t-fast);
  position: relative;
  text-align: left;
}
.sidebar-link i { font-size: 1.05rem; width: 20px; flex-shrink: 0; }
.sidebar-link:hover,
.sidebar-link-btn:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
  padding-left: 24px;
}
.sidebar-link.active {
  color: var(--primary);
  background: rgba(74,108,247,0.12);
}
.sidebar-link.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
}
.sidebar-badge {
  margin-left: auto;
  background: #EF4444;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  min-width: 20px;
  text-align: center;
}
.sidebar-footer {
  padding: 16px 0;
  border-top: 1px solid var(--admin-border);
}

/* Topbar */
.admin-topbar {
  background: var(--admin-card-bg);
  border-bottom: 1px solid var(--admin-border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.admin-topbar .breadcrumb { margin: 0; background: none; padding: 0; }
.admin-topbar .breadcrumb-item a { color: var(--primary); font-size: 13px; }
.admin-topbar .breadcrumb-item.active { color: var(--admin-text); font-size: 13px; font-weight: 600; }
.admin-topbar .breadcrumb-item + .breadcrumb-item::before { color: var(--admin-muted); }
.topbar-greeting { font-size: 14px; color: var(--admin-muted); }
.topbar-greeting strong { color: var(--admin-text); }
.topbar-avatar {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.sidebar-toggle {
  background: none;
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: var(--r-sm);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
}

/* Admin Page Header */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.admin-page-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--admin-text);
  letter-spacing: -0.5px;
  margin: 0;
}
.admin-page-sub { color: var(--admin-muted); font-size: 14px; margin: 4px 0 0; }
.admin-back-link {
  color: var(--admin-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color var(--t-fast);
}
.admin-back-link:hover { color: var(--primary); }

/* Admin Stats */
.admin-stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--r-md);
  padding: 20px;
  text-decoration: none;
  color: var(--admin-text);
  transition: transform var(--t-fast), box-shadow var(--t-fast), border-color var(--t-fast);
}
.admin-stat-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); color: var(--admin-text); }
.admin-stat-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.admin-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1;
}
.admin-stat-label { font-size: 12px; color: var(--admin-muted); font-weight: 600; margin-top: 3px; }

/* Stat colors */
.admin-stat-primary .admin-stat-icon,.admin-stat-primary:hover { border-color: rgba(74,108,247,0.3); }
.admin-stat-primary .admin-stat-icon { background: rgba(74,108,247,0.15); color: #4A6CF7; }
.admin-stat-primary .admin-stat-number { color: #4A6CF7; }
.admin-stat-danger .admin-stat-icon { background: rgba(239,68,68,0.15); color: #EF4444; }
.admin-stat-danger .admin-stat-number { color: #EF4444; }
.admin-stat-success .admin-stat-icon { background: rgba(16,185,129,0.15); color: #10B981; }
.admin-stat-success .admin-stat-number { color: #10B981; }
.admin-stat-warning .admin-stat-icon { background: rgba(245,158,11,0.15); color: #F59E0B; }
.admin-stat-warning .admin-stat-number { color: #F59E0B; }
.admin-stat-info .admin-stat-icon { background: rgba(6,182,212,0.15); color: #06B6D4; }
.admin-stat-info .admin-stat-number { color: #06B6D4; }
.admin-stat-purple .admin-stat-icon { background: rgba(139,92,246,0.15); color: #8B5CF6; }
.admin-stat-purple .admin-stat-number { color: #8B5CF6; }

/* Admin Card */
.admin-card {
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--admin-border);
}
.admin-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--admin-text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.admin-card-title i { color: var(--primary); }
.admin-card-action {
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.admin-card-action:hover { color: var(--primary-light); }
.admin-card-body { padding: 24px; }
.admin-card-footer { padding: 16px 24px; border-top: 1px solid var(--admin-border); }

/* Admin Table */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--admin-text);
}
.admin-table thead tr {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--admin-border);
}
.admin-table th {
  padding: 12px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--admin-muted);
  text-align: left;
}
.admin-table td {
  padding: 14px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  vertical-align: middle;
}
.admin-table tbody tr { transition: background var(--t-fast); }
.admin-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.admin-table .row-new { background: rgba(239,68,68,0.04); }
.fw-600 { font-weight: 600; }
.table-avatar-name { display: flex; align-items: center; gap: 12px; }
.table-avatar {
  width: 36px; height: 36px;
  background: rgba(74,108,247,0.2);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.table-actions { display: flex; align-items: center; gap: 6px; }
.btn-table {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--admin-muted);
  border-radius: var(--r-sm);
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 13px;
  text-decoration: none;
  transition: all var(--t-fast);
}
.btn-table:hover { background: rgba(74,108,247,0.15); border-color: rgba(74,108,247,0.3); color: var(--primary); }
.btn-table-danger:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: #EF4444; }

/* Admin Enquiry */
.admin-enquiry-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  text-decoration: none;
  color: var(--admin-text);
  transition: background var(--t-fast);
}
.admin-enquiry-item:hover { background: rgba(255,255,255,0.03); }
.enquiry-avatar {
  width: 38px; height: 38px;
  background: rgba(74,108,247,0.2);
  color: var(--primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
  flex-shrink: 0;
}
.enquiry-body { flex: 1; min-width: 0; }
.enquiry-name { font-weight: 600; font-size: 14px; }
.enquiry-subject { color: var(--admin-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.enquiry-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.enquiry-time { color: var(--admin-muted); font-size: 11px; }

/* Admin Quick Actions */
.admin-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--admin-border);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--admin-text);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: all var(--t-fast);
}
.admin-quick-action i { font-size: 1.4rem; }
.admin-quick-action:hover { transform: translateY(-3px); color: #fff; }
.admin-quick-primary:hover  { background: rgba(74,108,247,0.2); border-color: rgba(74,108,247,0.4); color: var(--primary); }
.admin-quick-success:hover  { background: rgba(16,185,129,0.2); border-color: rgba(16,185,129,0.4); color: #10B981; }
.admin-quick-warning:hover  { background: rgba(245,158,11,0.2); border-color: rgba(245,158,11,0.4); color: #F59E0B; }
.admin-quick-info:hover     { background: rgba(6,182,212,0.2);  border-color: rgba(6,182,212,0.4);  color: #06B6D4; }
.admin-quick-danger:hover   { background: rgba(239,68,68,0.2);  border-color: rgba(239,68,68,0.4);  color: #EF4444; }
.admin-quick-purple:hover   { background: rgba(139,92,246,0.2); border-color: rgba(139,92,246,0.4); color: #8B5CF6; }

/* Admin Search & Selects */
.admin-search-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 14px;
  min-width: 220px;
  transition: border-color var(--t-fast);
}
.admin-search-input:focus { outline: none; border-color: var(--primary); }
.admin-select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: var(--r-sm);
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
}
.admin-select:focus { outline: none; border-color: var(--primary); }

/* Admin Code */
.admin-code {
  background: rgba(74,108,247,0.1);
  color: var(--primary-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* Admin Modal */
.admin-modal {
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  color: var(--admin-text);
  border-radius: var(--r-lg);
}
.admin-modal .modal-header {
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--admin-border);
  padding: 20px 28px;
}
.admin-modal .modal-title { color: var(--admin-text); font-size: 1.1rem; font-weight: 700; }
.admin-modal .modal-body { padding: 28px; }
.admin-modal .modal-footer { border-top: 1px solid var(--admin-border); padding: 16px 28px; }
.admin-modal .pos-input {
  background: rgba(255,255,255,0.05);
  border-color: var(--admin-border);
  color: var(--admin-text);
}
.admin-modal .pos-input:focus { border-color: var(--primary); }
.admin-modal .pos-label { color: var(--admin-text); }
.admin-modal .form-check-label { color: var(--admin-text); }

/* Contact Detail */
.contact-subject { font-size: 1rem; font-weight: 600; color: var(--admin-text); }
.contact-message {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--admin-border);
  border-radius: var(--r-md);
  padding: 20px;
  line-height: 1.8;
  white-space: pre-wrap;
  color: var(--admin-text);
}
.detail-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--admin-border);
  gap: 16px;
}
.detail-label { font-size: 12px; font-weight: 700; color: var(--admin-muted); text-transform: uppercase; min-width: 90px; padding-top: 2px; }
.detail-value { font-size: 14px; color: var(--admin-text); flex: 1; }
.detail-value a { color: var(--primary); }

/* Service Icon Preview */
.service-icon-preview {
  width: 40px; height: 40px;
  background: color-mix(in srgb, var(--service-color, var(--primary)) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--service-color, var(--primary)) 30%, transparent);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--service-color, var(--primary));
}

/* Badges */
.bg-primary-soft { background: rgba(74,108,247,0.15) !important; color: var(--primary-light) !important; }
.bg-warning-soft  { background: rgba(245,158,11,0.15) !important; color: #F59E0B !important; }

/* Tech Tags */
.tech-tag-sm {
  display: inline-block;
  background: rgba(74,108,247,0.1);
  color: var(--primary-light);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  margin: 2px;
}

/* Portfolio Admin Card */
.admin-portfolio-card {
  background: var(--admin-card-bg);
  border: 1px solid var(--admin-border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.admin-portfolio-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.admin-portfolio-placeholder {
  width: 100%; height: 180px;
  background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center;
  color: var(--admin-muted); font-size: 2.5rem;
}
.admin-portfolio-info { padding: 16px; }

/* IP Logs */
.top-page-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--admin-border);
}
.top-page-url {
  font-size: 13px;
  color: var(--admin-text);
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 280px;
}

/* Branding */
.color-picker-wrap { display: flex; align-items: center; gap: 10px; }
.color-picker-input {
  width: 48px; height: 42px;
  padding: 2px;
  border: 1px solid var(--admin-border);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: var(--admin-card-bg);
}
.color-text-input { flex: 1; font-family: monospace; }
.color-swatch { width: 32px; height: 32px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.1); }

/* Image Upload Zone */
.image-upload-zone {
  border: 2px dashed var(--admin-border);
  border-radius: var(--r-md);
  padding: 32px;
  text-align: center;
  color: var(--admin-muted);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  position: relative;
}
.image-upload-zone:hover { border-color: var(--primary); background: rgba(74,108,247,0.03); }
.image-upload-zone i { font-size: 2rem; display: block; margin-bottom: 8px; color: var(--admin-muted); }
.image-upload-zone p { margin: 0 0 4px; font-size: 14px; }
.image-upload-input {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%;
}

/* Client Portal */
.client-project-row {
  display: grid;
  grid-template-columns: 1fr auto 120px;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--admin-border);
}
.client-ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--admin-border);
}
.client-ticket-row:last-child,
.client-project-row:last-child { border-bottom: none; }
.progress-bar { background: var(--primary); }

/* Overlay for mobile sidebar */
.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.sidebar-overlay.active { opacity: 1; pointer-events: all; }

/* Mobile sidebar */
@media (max-width: 991px) {
  .admin-sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    transform: translateX(-100%);
    z-index: 200;
  }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-content { padding: 20px 16px; }
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }
  .hero-stats { gap: 20px; }
  .stat-divider { display: none; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-grid-item.featured { grid-column: span 2; }
  .contact-form-card { padding: 28px 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .service-full-features { grid-template-columns: 1fr; }
  .service-full-card-header { flex-direction: column; }
  .cta-title { font-size: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
@media (max-width: 576px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid-item.featured { grid-column: span 1; }
  .hero-title { letter-spacing: -1px; }
  .admin-card-body { padding: 16px; }
  .client-project-row { grid-template-columns: 1fr; }
  .blog-card-meta { flex-wrap: wrap; gap: 8px; }
}

/* ── Focus Visible ───────────────────────────────────── */
:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}
/* ── Laravel Pagination ── */
.pagination { display:flex; gap:4px; list-style:none; padding:0; margin:0; flex-wrap:wrap; }
.pagination .page-item .page-link { display:flex; align-items:center; justify-content:center; min-width:36px; height:36px; padding:0 10px; border-radius:8px; background:var(--admin-card-bg); border:1px solid var(--admin-border); color:var(--admin-text); font-size:0.85rem; text-decoration:none; transition:all 0.2s; }
.pagination .page-item.active .page-link { background:var(--primary); border-color:var(--primary); color:#fff; }
.pagination .page-item.disabled .page-link { opacity:0.4; pointer-events:none; }
.pagination .page-item .page-link:hover:not(.disabled) { background:var(--primary); border-color:var(--primary); color:#fff; }

/* ============================================================
   SEO CITY PAGES
   ============================================================ */
.seo-city-hero { padding: 120px 0 80px; position: relative; overflow: hidden; }
.seo-city-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 60% 50%, rgba(99,102,241,0.12) 0%, transparent 70%); pointer-events: none; }
.seo-city-badge { display: inline-flex; align-items: center; gap: 4px; background: rgba(99,102,241,0.12); color: var(--primary); border: 1px solid rgba(99,102,241,0.25); border-radius: 50px; padding: 6px 16px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 20px; }
.seo-city-title { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; font-family: var(--font-display); }
.seo-city-subtitle { font-size: 1.1rem; color: var(--text-muted); line-height: 1.7; max-width: 560px; }
.seo-city-graphic { display: flex; align-items: center; justify-content: center; }
.seo-city-blob { width: 360px; height: 360px; background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1)); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; display: flex; align-items: center; justify-content: center; animation: blobFloat 6s ease-in-out infinite; }
.seo-city-blob i { font-size: 6rem; color: var(--primary); opacity: 0.7; }
@keyframes blobFloat { 0%,100% { border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; transform: translateY(0); } 50% { border-radius: 40% 60% 45% 55% / 60% 40% 60% 40%; transform: translateY(-16px); } }

.seo-why-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; padding: 32px 24px; height: 100%; transition: transform 0.3s, box-shadow 0.3s; }
.seo-why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.seo-why-icon { width: 56px; height: 56px; background: rgba(99,102,241,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.seo-why-icon i { font-size: 1.5rem; color: var(--primary); }
.seo-why-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.seo-why-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

.seo-cta-box { background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(168,85,247,0.08)); border: 1px solid rgba(99,102,241,0.2); border-radius: 24px; padding: 64px 40px; }
.seo-cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; font-family: var(--font-display); margin-bottom: 12px; }
.seo-cta-sub { color: var(--text-muted); font-size: 1.05rem; margin: 0; }

/* ============================================================
   SEO CITY PAGES — EXTENDED
   ============================================================ */
.seo-breadcrumb { background: var(--admin-card-bg,rgba(255,255,255,0.03)); border-bottom: 1px solid var(--border); padding: 12px 0; }
.seo-breadcrumb-list { display:flex; align-items:center; gap:8px; list-style:none; margin:0; padding:0; font-size:0.82rem; color:var(--text-muted); flex-wrap:wrap; }
.seo-breadcrumb-list a { color:var(--text-muted); text-decoration:none; transition:color 0.2s; }
.seo-breadcrumb-list a:hover { color:var(--primary); }
.seo-breadcrumb-list i { font-size:0.7rem; }

.seo-inline-link { color:var(--primary); text-decoration:underline; text-underline-offset:3px; }

.seo-hero-stats { margin:0; }
.seo-stat-pill { display:inline-flex; flex-direction:column; align-items:center; background:rgba(99,102,241,0.08); border:1px solid rgba(99,102,241,0.2); border-radius:12px; padding:10px 18px; }
.seo-stat-num { font-size:1.3rem; font-weight:800; color:var(--primary); line-height:1; }
.seo-stat-lbl { font-size:0.72rem; color:var(--text-muted); margin-top:3px; }

.seo-trust-bar { padding:40px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.seo-trust-item { display:flex; flex-direction:column; align-items:center; gap:4px; }
.seo-trust-item i { font-size:1.4rem; color:var(--primary); margin-bottom:4px; }
.seo-trust-item strong { font-size:0.82rem; font-weight:700; }
.seo-trust-item span { font-size:0.75rem; color:var(--text-muted); }

.seo-process-card { background:var(--card-bg); border:1px solid var(--border); border-radius:16px; padding:32px 24px; height:100%; position:relative; transition:transform 0.3s,box-shadow 0.3s; }
.seo-process-card:hover { transform:translateY(-6px); box-shadow:0 20px 40px rgba(0,0,0,0.15); }
.seo-process-num { position:absolute; top:20px; right:20px; font-size:2.5rem; font-weight:900; color:rgba(99,102,241,0.08); font-family:var(--font-display); line-height:1; }
.seo-process-icon { width:52px; height:52px; background:rgba(99,102,241,0.12); border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.seo-process-icon i { font-size:1.4rem; color:var(--primary); }
.seo-process-title { font-size:1rem; font-weight:700; margin-bottom:10px; }
.seo-process-desc { font-size:0.875rem; color:var(--text-muted); line-height:1.65; margin:0; }

.seo-faq-list { display:flex; flex-direction:column; gap:12px; }
.seo-faq-item { background:var(--card-bg); border:1px solid var(--border); border-radius:14px; overflow:hidden; transition:border-color 0.2s; }
.seo-faq-item.open { border-color:var(--primary); }
.seo-faq-q { width:100%; background:none; border:none; color:var(--text); font-size:0.95rem; font-weight:600; padding:20px 24px; text-align:left; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.seo-faq-q i { flex-shrink:0; color:var(--primary); font-size:1rem; transition:transform 0.2s; }
.seo-faq-a { max-height:0; overflow:hidden; transition:max-height 0.35s ease; }
.seo-faq-item.open .seo-faq-a { max-height:300px; }
.seo-faq-a p { padding:0 24px 20px; margin:0; color:var(--text-muted); font-size:0.9rem; line-height:1.7; }

.seo-location-card { display:flex; flex-direction:column; align-items:center; gap:4px; background:var(--card-bg); border:1px solid var(--border); border-radius:12px; padding:16px 12px; text-decoration:none; color:var(--text); transition:all 0.25s; text-align:center; }
.seo-location-card:hover { border-color:var(--primary); color:var(--primary); transform:translateY(-3px); box-shadow:0 8px 24px rgba(99,102,241,0.12); }
.seo-location-card i { font-size:1.3rem; color:var(--primary); }
.seo-location-card span { font-size:0.85rem; font-weight:600; }
.seo-location-card small { font-size:0.72rem; color:var(--text-muted); }

/* ============================================================
   FIXES — navbar overlap, section-tag, mobile nav
   ============================================================ */

/* Breadcrumb clears fixed navbar */
.seo-breadcrumb { margin-top: 80px; }

/* Mobile navbar — always show background so it's readable */
@media (max-width: 991.98px) {
  .pos-navbar { background: var(--nav-bg) !important; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 12px 0 !important; border-bottom: 1px solid var(--border); }
  .navbar-collapse { background: var(--nav-bg); border-top: 1px solid var(--border); border-radius: 0 0 16px 16px; padding: 12px 16px 16px; margin-top: 8px; backdrop-filter: blur(20px); }
}

/* Section tag pill — ensure spacing from card above */
.section-tag { display: inline-block; margin-bottom: 12px; margin-top: 0; }
.text-center .section-tag { display: block; }
section .text-center { padding-top: 8px; }

/* Fix section-tag pill stretching full width */
.section-tag { display: inline-block !important; width: auto !important; max-width: fit-content; }
.text-center .section-tag { margin-left: auto; margin-right: auto; }

/* ============================================================
   COURSE ENROLLMENT PAGE
   ============================================================ */
.course-cat-block { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--card-bg); }
.course-cat-toggle { width: 100%; background: none; border: none; color: var(--text); padding: 16px 20px; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: 0.95rem; text-align: left; transition: background 0.2s; }
.course-cat-toggle:hover { background: rgba(99,102,241,0.05); }
.course-cat-icon { width: 36px; height: 36px; background: rgba(99,102,241,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.course-cat-icon i { color: var(--primary); font-size: 1rem; }
.course-cat-chevron { transition: transform 0.3s; color: var(--text-muted); }
.course-cat-block.open .course-cat-chevron { transform: rotate(180deg); }
.course-cat-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.course-cat-block.open .course-cat-body { max-height: 800px; }
.course-subcat { padding: 12px 20px 16px; border-top: 1px solid var(--border); }
.course-subcat-label { font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px; }
.course-list { display: flex; flex-wrap: wrap; gap: 8px; }
.course-pill { background: var(--bg,#f3f4ff); border: 1px solid var(--border); border-radius: 50px; padding: 6px 14px; font-size: 0.8rem; color: var(--text); cursor: pointer; transition: all 0.2s; text-align: left; }
.course-pill:hover { border-color: var(--primary); color: var(--primary); background: rgba(99,102,241,0.08); }
.course-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.course-form-card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 20px; padding: 32px; position: sticky; top: 100px; }
.course-form-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.course-form-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }
.course-selected-badge { display: flex; align-items: center; background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.25); border-radius: 10px; padding: 10px 16px; margin-bottom: 20px; font-size: 0.85rem; font-weight: 600; color: var(--primary); }

/* Course enroll submit button fix */
#submitBtn { background: var(--primary); color: #fff; border: none; opacity: 0.5; transition: opacity 0.2s; }
#submitBtn:disabled { background: var(--primary) !important; color: #fff !important; opacity: 0.45; cursor: not-allowed; }
#submitBtn:not(:disabled) { opacity: 1; cursor: pointer; }
