/* ==========================================================================
   UVAIZ BADRI — PERSONAL BRAND WEBSITE & LUXURY PORTFOLIO SYSTEM
   Aesthetic: Ultra-Luxury Obsidian & Royal Purple (#1d5fd6)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --brand-purple: #1d5fd6;
  --brand-purple-rgb: 29, 95, 214;
  --brand-purple-light: #3b82f6;
  --brand-purple-glow: #38bdf8;
  --brand-purple-neon: #7dd3fc;
  --brand-purple-dark: #0b2a52;
  --brand-purple-bg: #07101e;
  
  --bg-primary: #060e1b;
  --bg-surface: #0a1424;
  --bg-card: rgba(11, 22, 39, 0.72);
  --border-subtle: rgba(56, 189, 248, 0.15);
  --border-highlight: rgba(56, 189, 248, 0.35);
  --border-purple: rgba(29, 95, 214, 0.5);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

/* ==========================================================================
   TYPOGRAPHY SPECIFICATIONS:
   - h1 - h6 (all headings): Helvetica Neue
   - body, p, a, span, button, inputs: Poppins
   ========================================================================== */

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6,
.font-h1, .font-h2, .hero-title {
  font-family: 'Manrope', "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}

h1, .font-h1, .hero-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2, .font-h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* Text inside headings (spans, links, etc.) follows the heading font */
:is(h1, h2, h3, h4, h5, h6, .font-h1, .font-h2, .hero-title) :not(i):not([class*="fa-"]):not([class*="material-"]):not(svg):not(svg *) {
  font-family: inherit !important;
}

p, span, a, li, button, input, select, textarea, label, td, th {
  font-family: 'Poppins', sans-serif;
}

/* Icons Premium Purple Glow Styling */
i[class*="fa-"], .svg-icon, .icon-glow {
  color: var(--brand-purple-neon);
  transition: all 0.25s ease;
}

.group:hover i[class*="fa-"],
.btn-primary:hover i[class*="fa-"],
.glass-card:hover i[class*="fa-"] {
  color: #ffffff;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

/* Subtle background noise texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Interactive Cursor Spotlight Glow - Royal Purple */
.mouse-spotlight {
  position: fixed;
  top: 0;
  left: 0;
  width: 1300px;
  height: 1300px;
  margin: -650px 0 0 -650px;
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle closest-side, rgba(59, 130, 246, 0.12), transparent 80%);
  transform: translate3d(50vw, 50vh, 0);
  will-change: transform;
}

/* Custom Scrollbar in Royal Purple */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #060e1b;
}
::-webkit-scrollbar-thumb {
  background: #1d5fd6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

/* Typography Helpers */
.font-sans-ui {
  font-family: 'Poppins', sans-serif;
}

.font-mono-code {
  font-family: 'JetBrains Mono', monospace;
}

/* Hero Headline - Fitted and balanced */
.hero-title {
  line-height: 1.0;
  letter-spacing: -0.02em;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  text-transform: uppercase;
  background: linear-gradient(180deg, #ffffff 0%, #e0f2fe 55%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 18px rgba(29, 95, 214, 0.45));
}

/* Glassmorphism Components with Royal Purple Accents */
.glass-nav {
  background: rgba(6, 14, 27, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.glass-card:hover {
  border-color: var(--border-highlight);
  background: rgba(12, 26, 48, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -10px rgba(29, 95, 214, 0.35);
}

.glass-pill {
  background: rgba(29, 95, 214, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
}

/* Button Styles — Premium Royal Purple */
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d5fd6 100%);
  color: #ffffff;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px -2px rgba(29, 95, 214, 0.5);
  border: 1px solid rgba(125, 211, 252, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px 0px rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, #3b9cf6 0%, #2573e6 100%);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(29, 95, 214, 0.15);
  color: #f1f5f9;
  border: 1px solid rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(29, 95, 214, 0.35);
  border-color: rgba(125, 211, 252, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(29, 95, 214, 0.3);
}

/* Floating Animation */
@keyframes float-badge {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-7px);
  }
}

.animate-float {
  animation: float-badge 4s ease-in-out infinite;
}

/* Ambient Radial Glows */
.glow-spotlight {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
}

/* Portrait Visual & Halo Arcs */
.portrait-container {
  position: relative;
  overflow: visible;
}

.portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  filter: contrast(1.08) brightness(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-container:hover .portrait-img {
  transform: scale(1.02);
}

.halo-arc-1 {
  position: absolute;
  top: -10%;
  right: -8%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
  animation: spin-slow 40s linear infinite;
}

.halo-arc-2 {
  position: absolute;
  top: 5%;
  right: 5%;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid transparent;
  border-left: 1px solid transparent;
  pointer-events: none;
  transform: rotate(-15deg);
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Pulse Dot */
@keyframes pulse-subtle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

.pulse-dot {
  animation: pulse-subtle 2s infinite ease-in-out;
}

/* Infinite Marquee Ticker */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Scroll Reveal Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Category Dropdown Select Styling */
.control-select {
  background: rgba(10, 20, 36, 0.85);
  border: 1px solid var(--border-subtle);
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 500;
  border-radius: 0.75rem;
  padding: 0.75rem 2.25rem 0.75rem 1rem;
  outline: none;
  transition: all 0.25s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23c084fc'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.15rem;
  cursor: pointer;
}

.control-select:hover, .control-select:focus {
  border-color: var(--brand-purple-glow);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
  background-color: rgba(14, 27, 48, 0.95);
}

.control-select option {
  background-color: #0a1424;
  color: #f1f5f9;
  padding: 0.5rem;
}

/* Website Hero Banner & Thumbnail Mockups */
.website-hero-thumb {
  width: 90px;
  height: 56px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: linear-gradient(135deg, #0f1e36 0%, #060e1b 100%);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.website-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.3s ease;
}

.website-hero-thumb:hover img {
  transform: scale(1.08);
}

.website-card-banner {
  width: 100%;
  height: 180px;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: linear-gradient(135deg, #122746 0%, #081120 100%);
  position: relative;
  margin-bottom: 1rem;
}

.website-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.client-card:hover .website-card-banner img {
  transform: scale(1.05);
}

/* Instagram DP Avatar Styling */
.instagram-dp-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.instagram-dp-avatar img, .instagram-dp-avatar .avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #060e1b;
  background: #10203a;
}

.instagram-dp-avatar .avatar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6 0%, #1d5fd6 100%);
}

.instagram-card-dp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

/* Table Directory View - Royal Purple */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  background: rgba(9, 18, 32, 0.75);
  backdrop-filter: blur(16px);
}

.clients-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.clients-table th {
  padding: 1rem 1.2rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38bdf8;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(29, 95, 214, 0.15);
}

.clients-table td {
  padding: 1rem 1.2rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
  vertical-align: middle;
}

.clients-table tr:hover td {
  background: rgba(29, 95, 214, 0.12);
}

.clients-table tr:last-child td {
  border-bottom: none;
}

.table-client-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.95rem;
}

.table-domain {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.table-domain:hover {
  color: var(--brand-purple-neon);
}

.table-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 500;
  background: rgba(29, 95, 214, 0.25);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #e0f2fe;
}

.table-action-btn {
  padding: 0.45rem 0.95rem;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: 1px solid rgba(56, 189, 248, 0.35);
  background: rgba(29, 95, 214, 0.35);
  color: #ffffff;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.table-action-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1d5fd6 100%);
  color: #ffffff;
  border-color: var(--brand-purple-glow);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* Card Grid View */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 1rem;
}

@media (max-width: 639px) {
  .clients-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
}

.client-card {
  min-width: 0;
  padding: 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 1.25rem;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.client-card .table-category-tag {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  line-height: 1.35;
  border-radius: 0.75rem;
}

.client-card:hover {
  border-color: var(--border-highlight);
  background: rgba(12, 26, 48, 0.9);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -8px rgba(29, 95, 214, 0.45);
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.35rem;
  border-radius: 0.85rem;
  background: #0b1628;
  color: #ffffff;
  border: 1px solid var(--brand-purple-glow);
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(29, 95, 214, 0.4);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Process Step Connector */
.process-line {
  position: relative;
}

.process-line::after {
  content: "";
  position: absolute;
  top: 2.2rem;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, rgba(56,189,248,0.05) 0%, rgba(56,189,248,0.4) 50%, rgba(56,189,248,0.05) 100%);
  pointer-events: none;
}

@media (max-width: 1024px) {
  .process-line::after {
    display: none;
  }
}

/* ==========================================================================
   ROTATING TOOLS MARQUEE (LEFT TO RIGHT & RIGHT TO LEFT)
   ========================================================================== */
.marquee-track-ltr {
  display: flex;
  width: max-content;
  animation: marqueeLTR 35s linear infinite;
}

.marquee-track-ltr:hover,
.marquee-track-rtl:hover {
  animation-play-state: paused;
}

.marquee-track-rtl {
  display: flex;
  width: max-content;
  animation: marqueeRTL 35s linear infinite;
}

@keyframes marqueeLTR {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0%); }
}

@keyframes marqueeRTL {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Tool Card Badge (Big Logo Above Name) */
.tool-card-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 1.4rem;
  margin: 0 0.6rem;
  min-width: 120px;
  background: rgba(10, 20, 35, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 1.25rem;
  backdrop-filter: blur(14px);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.tool-card-box:hover {
  border-color: #7dd3fc;
  background: rgba(29, 95, 214, 0.55);
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.45);
}

.tool-card-box img,
.tool-card-box svg {
  width: 44px;
  height: 44px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.tool-card-box:hover img,
.tool-card-box:hover svg {
  transform: scale(1.12);
}

.tool-card-box span {
  font-size: 0.82rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Face-Zoom Portrait for Contact Page */
.contact-face-zoom {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(1.25);
  transform-origin: 50% 18%;
  transition: transform 0.5s ease;
}

.contact-face-zoom:hover {
  transform: scale(1.32);
}

/* ==========================================================================
   INTERACTIVE SCOPE PLANNER / ESTIMATOR
   ========================================================================== */
.service-check-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.15rem;
  border-radius: 0.85rem;
  background: rgba(10, 20, 36, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.service-check-label:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: rgba(29, 95, 214, 0.25);
}

.service-checkbox:checked + .service-check-label {
  background: linear-gradient(135deg, rgba(29, 95, 214, 0.6) 0%, rgba(59, 130, 246, 0.4) 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.35);
}

.service-check-indicator {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.service-checkbox:checked + .service-check-label .service-check-indicator {
  background: #38bdf8;
  border-color: #7dd3fc;
}

.service-checkbox:checked + .service-check-label .service-check-indicator::after {
  content: "✓";
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

/* Custom Purple Range Slider */
input[type=range].purple-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 9999px;
  background: rgba(29, 95, 214, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.3);
  outline: none;
  cursor: pointer;
}

input[type=range].purple-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dd3fc 0%, #3b82f6 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
  cursor: pointer;
  transition: transform 0.15s ease;
}

input[type=range].purple-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

input[type=range].purple-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7dd3fc 0%, #3b82f6 100%);
  border: 2px solid #ffffff;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
  cursor: pointer;
}


/* ==========================================================================
   NAVY GRID BACKGROUND (matches reference: #060E1B with faint grid lines)
   ========================================================================== */
html, body { background-color: #060e1b !important; }
body {
  background-image:
    linear-gradient(90deg, rgba(6, 14, 27, 0) 0%, rgba(19, 22, 29, 0.55) 100%),
    linear-gradient(rgba(148, 163, 184, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 80px 80px, 80px 80px;
  background-attachment: fixed;
}


/* ==========================================================================
   MOBILE ICON & SIZING FIXES
   ========================================================================== */

/* Fixed-size square icon boxes (w-N h-N) must never be squeezed by flex rows */
.w-2.h-2, .w-2\.5.h-2\.5, .w-3.h-3, .w-4.h-4, .w-5.h-5, .w-6.h-6, .w-7.h-7,
.w-8.h-8, .w-9.h-9, .w-10.h-10, .w-11.h-11, .w-12.h-12, .w-14.h-14,
.w-16.h-16, .w-20.h-20, .w-24.h-24,
#mobileMenuBtn, #mobileMenuBtn svg,
.instagram-dp-avatar, .website-hero-thumb {
  flex-shrink: 0;
}

/* Directory tables: keep category pills and action buttons on one line */
.table-category-tag,
.table-action-btn {
  white-space: nowrap;
}
.table-category-tag i,
.table-action-btn i {
  flex-shrink: 0;
}

/* List / Cards toggle: keep icon and label side by side */
#tableViewBtn, #gridViewBtn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* Preview thumbnails: when the screenshot fails, show the full initials badge */
.website-hero-thumb img.thumb-fallback,
.website-card-banner img.thumb-fallback {
  object-fit: contain;
  object-position: center;
  background: #1f1235;
}

/* Header: keep logo + CTA on one line on small phones */
header a, header .btn-primary {
  white-space: nowrap;
}
@media (max-width: 400px) {
  header .max-w-7xl { padding-left: 1rem; padding-right: 1rem; }
  header a.group { gap: 0.5rem; min-width: 0; }
  header a.group > span.font-h1 { font-size: 0.85rem; letter-spacing: 0.05em; }
  header .btn-primary { padding: 0.5rem 0.8rem; gap: 0.3rem; font-size: 0.66rem; }
  header .btn-primary + button, header .flex.items-center.gap-3 { gap: 0.5rem; }
}
@media (max-width: 359px) {
  /* Very small phones: the round "UB" badge carries the logo on its own */
  header a.group > div + span.font-h1 { display: none; }
}

/* =================================================================
   CORE EXPERTISE — pinned horizontal scroll cards (#expertise)
   ================================================================= */
.xp-section { position: relative; padding-bottom: 6rem; }
.xp-section.is-pinned { padding-bottom: 0; }           /* height set by JS */
.xp-sticky { display: flex; flex-direction: column; justify-content: center; gap: 2rem; }
.xp-section.is-pinned .xp-sticky {
  position: sticky; top: 72px; height: calc(100vh - 72px); overflow: hidden;
}
.xp-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.xp-eyebrow {
  display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem;
  font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; font-weight: 600; color: #38bdf8;
}
.xp-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.xp-eyebrow--light { color: rgba(255,255,255,.85); }
.xp-lede { max-width: 28rem; font-size: .95rem; line-height: 1.7; color: #94a3b8; font-weight: 300; }

.xp-viewport { width: 100%; overflow: hidden; }
.xp-track {
  display: flex; gap: 1.25rem; width: max-content; will-change: transform;
  padding: .5rem max(1.25rem, calc((100vw - 80rem) / 2 + 2rem));
}

.xp-card {
  position: relative; flex: 0 0 auto; width: clamp(300px, 27vw, 380px);
  display: flex; flex-direction: column; padding: 1.35rem;
  border-radius: 1.25rem; background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.08);
  transition: background .45s ease, border-color .45s ease, transform .45s ease, box-shadow .45s ease;
}
.xp-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.xp-num { font-family: 'JetBrains Mono', monospace; font-size: .75rem; letter-spacing: .1em; color: #64748b; transition: color .45s; }
.xp-icon {
  width: 3rem; height: 3rem; border-radius: .9rem; font-size: 1.1rem; display: grid; place-items: center;
  background: rgba(29,95,214,.18); border: 1px solid rgba(56,189,248,.3); color: #7dd3fc;
  transition: background .45s, color .45s, transform .45s;
}
.xp-media { border-radius: .9rem; overflow: hidden; aspect-ratio: 3 / 2; margin-bottom: 1.1rem; background: #0b1628; }
.xp-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.05) brightness(.8);
  transform: scale(1.02); transition: filter .6s ease, transform .8s ease;
}
.xp-title { font-family: 'Manrope', sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; color: #e2e8f0; margin-bottom: .5rem; }
.xp-desc { font-size: .85rem; line-height: 1.65; color: #94a3b8; font-weight: 300; margin-bottom: 1rem; }
.xp-list { margin-top: auto; padding-top: .85rem; border-top: 1px solid rgba(255,255,255,.08); display: grid; gap: .4rem; }
.xp-list li { font-size: .8rem; color: #cbd5e1; display: flex; align-items: center; gap: .5rem; }
.xp-list li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .6rem; color: #38bdf8; }

/* Active card (scroll position) or hovered card */
.xp-card.is-active, .xp-track.has-hover .xp-card:hover {
  background: linear-gradient(160deg, #0f2b57 0%, #0a1a33 100%);
  border-color: rgba(56,189,248,.45);
  box-shadow: 0 20px 50px -20px rgba(29,95,214,.6), 0 0 0 1px rgba(56,189,248,.15) inset;
  transform: translateY(-6px);
}
.xp-track.has-hover .xp-card.is-active:not(:hover) {
  background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.08); box-shadow: none; transform: none;
}
.xp-card.is-active .xp-media img, .xp-track.has-hover .xp-card:hover .xp-media img { filter: none; transform: scale(1.07); }
.xp-track.has-hover .xp-card.is-active:not(:hover) .xp-media img { filter: grayscale(1) contrast(1.05) brightness(.8); transform: scale(1.02); }
.xp-card.is-active .xp-icon, .xp-track.has-hover .xp-card:hover .xp-icon { background: #1d5fd6; color: #fff; transform: rotate(-8deg); }
.xp-track.has-hover .xp-card.is-active:not(:hover) .xp-icon { background: rgba(29,95,214,.18); color: #7dd3fc; transform: none; }
.xp-card.is-active .xp-num, .xp-track.has-hover .xp-card:hover .xp-num { color: #7dd3fc; }

/* Final CTA card */
.xp-card.xp-cta {
  justify-content: space-between; padding: 1.75rem;
  background: linear-gradient(150deg, #1d5fd6 0%, #0ea5e9 100%); border-color: transparent;
}
.xp-cta h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.1; font-weight: 800; color: #fff; margin: .25rem 0 .9rem; }
.xp-cta p { font-size: .8rem; line-height: 1.6; color: rgba(255,255,255,.85); }
.xp-card.xp-cta.is-active, .xp-track.has-hover .xp-card.xp-cta:hover {
  background: linear-gradient(150deg, #2563eb 0%, #38bdf8 100%); border-color: transparent;
}
.xp-cta-btn {
  align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1.2rem; border-radius: 999px; background: #fff; color: #0b2a52;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .25s, box-shadow .25s;
}
.xp-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px -8px rgba(0,0,0,.45); }

.xp-progress { height: 2px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.xp-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #1d5fd6, #38bdf8); }

/* Mobile / reduced motion: native swipe carousel instead of pinning */
.xp-section:not(.is-pinned) .xp-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.xp-section:not(.is-pinned) .xp-viewport::-webkit-scrollbar { display: none; }
.xp-section:not(.is-pinned) .xp-card { scroll-snap-align: center; width: min(84vw, 340px); }
/* keep the pinned section inside shorter laptop screens */
@media (max-height: 860px) and (min-width: 768px) {
  .xp-section.is-pinned .xp-sticky { gap: 1.25rem; }
  .xp-section.is-pinned .xp-media { aspect-ratio: 16 / 9; margin-bottom: .9rem; }
  .xp-section.is-pinned .xp-card { padding: 1.15rem 1.35rem; }
  .xp-section.is-pinned .hx { font-size: clamp(2.2rem, 4vw, 3.2rem); }
}
@media (max-height: 800px) and (min-width: 768px) {
  .xp-section.is-pinned .xp-sticky { gap: 1rem; padding-top: .75rem; }
  .xp-section.is-pinned .xp-media { aspect-ratio: 2 / 1; }
  .xp-section.is-pinned .hx { font-size: clamp(2rem, 3.4vw, 2.7rem); }
}
@media (max-height: 720px) and (min-width: 768px) {
  .xp-section.is-pinned .xp-desc { display: none; }
}
#expertise { scroll-margin-top: 80px; }
/* Mobile: same pinned horizontal scroll as desktop, compacted to fit a phone screen */
@media (max-width: 767px) {
  .xp-section.is-pinned .xp-sticky {
    top: var(--xp-top, 64px);
    height: calc(100vh - var(--xp-top, 64px));
    height: calc(100svh - var(--xp-top, 64px));
    gap: 1rem; justify-content: center;
  }
  .xp-section.is-pinned .xp-head { gap: .5rem; }
  .xp-section.is-pinned .xp-lede { display: none; }
  .xp-section.is-pinned .hx { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .xp-section.is-pinned .xp-track { gap: 1rem; padding-left: max(1.25rem, calc((100vw - min(80vw, 330px)) / 2)); padding-right: max(1.25rem, calc((100vw - min(80vw, 330px)) / 2)); }
  .xp-section.is-pinned .xp-card { width: min(80vw, 330px); padding: 1.1rem; }
  .xp-section.is-pinned .xp-top { margin-bottom: .7rem; }
  .xp-section.is-pinned .xp-icon { width: 2.6rem; height: 2.6rem; font-size: 1rem; }
  .xp-section.is-pinned .xp-media { aspect-ratio: 16 / 9; margin-bottom: .8rem; }
  .xp-section.is-pinned .xp-title { font-size: 1.2rem; }
  .xp-section.is-pinned .xp-desc { font-size: .8rem; line-height: 1.55; margin-bottom: .6rem; }
  .xp-section.is-pinned .xp-cta h3 { font-size: 1.75rem; }
}
@media (max-width: 767px) and (max-height: 720px) {
  .xp-section.is-pinned .xp-desc { display: none; }
  .xp-section.is-pinned .xp-media { aspect-ratio: 2 / 1; }
}
@media (max-width: 767px) and (max-height: 600px) {
  .xp-section.is-pinned .xp-media { aspect-ratio: 5 / 2; }
  .xp-section.is-pinned .xp-eyebrow { display: none; }
}


/* =================================================================
   WHY CHOOSE US — hover-expand rows (#why-choose)
   ================================================================= */
.wc-head { margin-bottom: 2.5rem; }
.wc-title { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: #fff; }
.wc-title span { display: block; }
.wc-title-muted { color: #64748b; font-weight: 300; }

.wc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.08); }
.wc-row {
  position: relative; display: grid; align-items: center; column-gap: 2rem;
  grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1fr) 2.5rem;
  padding: 1.6rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08);
  cursor: default; outline: none; isolation: isolate;
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1);
}
.wc-row.is-in { opacity: 1; transform: none; }
/* sweeping gradient + accent edge */
.wc-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(29,95,214,.28) 0%, rgba(29,95,214,.10) 45%, rgba(29,95,214,0) 100%);
  transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.wc-row::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: #38bdf8; transform: scaleY(0); transition: transform .4s ease;
}
.wc-num { font-family: 'JetBrains Mono', monospace; font-size: .75rem; color: #38bdf8; padding-left: .75rem; transition: transform .45s ease; }
.wc-name {
  display: flex; align-items: center; gap: 0;
  font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 700; color: #e2e8f0; letter-spacing: -.01em;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), color .3s;
}
.wc-name i { font-size: .95rem; color: #38bdf8; width: 0; margin-right: 0; opacity: 0; overflow: hidden; flex-shrink: 0; transition: width .45s, margin-right .45s, opacity .35s; }
.wc-desc { font-size: .88rem; line-height: 1.65; color: #94a3b8; font-weight: 300; transition: transform .45s cubic-bezier(.2,.7,.2,1), color .3s; }
.wc-btn {
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.15); color: #cbd5e1; font-size: .7rem;
  transition: background .35s, border-color .35s, color .35s, transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}

.wc-row:hover::before, .wc-row:focus-visible::before, .wc-row.is-open::before { transform: scaleX(1); }
.wc-row:hover::after,  .wc-row:focus-visible::after,  .wc-row.is-open::after  { transform: scaleY(1); }
.wc-row:hover .wc-num,  .wc-row:focus-visible .wc-num,  .wc-row.is-open .wc-num  { transform: translateX(.6rem); }
.wc-row:hover .wc-name, .wc-row:focus-visible .wc-name, .wc-row.is-open .wc-name { transform: translateX(1.1rem); color: #fff; }
.wc-row:hover .wc-name i, .wc-row:focus-visible .wc-name i, .wc-row.is-open .wc-name i { width: 1.1rem; margin-right: .75rem; opacity: 1; }
.wc-row:hover .wc-desc, .wc-row:focus-visible .wc-desc, .wc-row.is-open .wc-desc { transform: translateX(.6rem); color: #cbd5e1; }
.wc-row:hover .wc-btn,  .wc-row:focus-visible .wc-btn,  .wc-row.is-open .wc-btn {
  background: #1d5fd6; border-color: #1d5fd6; color: #fff; transform: rotate(135deg);
  box-shadow: 0 0 22px rgba(56,189,248,.45);
}

@media (max-width: 767px) {
  .wc-row { grid-template-columns: 2rem 1fr 2.25rem; column-gap: .75rem; row-gap: .5rem; padding: 1.25rem .25rem; }
  .wc-num { padding-left: .4rem; grid-row: 1; }
  .wc-name { grid-column: 2; grid-row: 1; }
  .wc-btn { grid-column: 3; grid-row: 1; width: 2.1rem; height: 2.1rem; }
  .wc-desc { grid-column: 2 / 4; grid-row: 2; font-size: .8rem; }
  .wc-row:hover .wc-name, .wc-row.is-open .wc-name { transform: translateX(.5rem); }
  .wc-row:hover .wc-desc, .wc-row.is-open .wc-desc { transform: translateX(.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .wc-row { opacity: 1; transform: none; transition: none; }
}


/* =================================================================
   EDITORIAL HEADINGS (.hx) + SCROLL WORD REVEAL ([data-words])
   ================================================================= */
.hx {
  font-family: 'Manrope', "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.02; font-weight: 800; letter-spacing: -0.045em;
  color: #f1f5f9; text-transform: none;
}
.hx .lt { font-weight: 300; color: #7b8aa3; letter-spacing: -0.04em; }
.hx-md { font-size: clamp(1.9rem, 3.6vw, 3rem); }

/* legacy uppercase condensed headings → same Manrope editorial look */
h1.font-condensed, h2.font-condensed, h3.font-condensed,
h1.font-h1:not(.hx) { text-transform: none; letter-spacing: -0.03em; }

[data-words] .w { transition: opacity .35s ease, filter .35s ease; opacity: .16; }
[data-words] .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { [data-words] .w { opacity: 1 !important; } }

/* =================================================================
   SECTION SPACING — more breathing room between sections
   ================================================================= */
#stats-strip { padding-bottom: 5rem; }
#strategy-generator, #featured-work, #tools-technologies, #scope-planner {
  padding-top: 3rem; padding-bottom: 8rem;
}
#why-choose { padding-top: 9rem; padding-bottom: 8rem; }
#contact { padding-top: 3rem; padding-bottom: 7rem; }
.xp-section:not(.is-pinned) { padding-top: 3rem; padding-bottom: 8rem; }
.xp-section.is-pinned { margin-top: 2rem; }

/* inner pages: space between main blocks */
body main > div.mb-20, body main > div.mb-16 { margin-bottom: 7rem; }
body main > div.mb-14, body main > div.mb-12 { margin-bottom: 5rem; }
body main.pt-12 { padding-top: 4.5rem; padding-bottom: 8rem; }

@media (max-width: 767px) {
  #stats-strip { padding-bottom: 3rem; }
  #strategy-generator, #featured-work, #tools-technologies, #scope-planner,
  .xp-section:not(.is-pinned) { padding-top: 2rem; padding-bottom: 5rem; }
  #why-choose { padding-top: 5rem; padding-bottom: 5rem; }
  #contact { padding-top: 2rem; padding-bottom: 5rem; }
  body main > div.mb-20, body main > div.mb-16 { margin-bottom: 4.5rem; }
  body main > div.mb-14, body main > div.mb-12 { margin-bottom: 3.5rem; }
  body main.pt-12 { padding-top: 3rem; padding-bottom: 5rem; }
}

/* =================================================================
   CINEMATIC SCROLL HERO (#cine-hero) — navy / blue brand palette
   ================================================================= */
.cine { position: relative; height: 560vh; background: #060e1b; z-index: 20; }
.cine-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background:
    radial-gradient(60% 50% at 50% 42%, rgba(29,95,214,.35) 0%, rgba(29,95,214,0) 70%),
    radial-gradient(40% 35% at 85% 15%, rgba(56,189,248,.14) 0%, rgba(56,189,248,0) 70%),
    radial-gradient(120% 90% at 50% 45%, #0b1d3a 0%, #071224 55%, #050b16 100%);
  color: #f8fafc;
}
.cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.cine-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cine-stage::after { /* soft vignette */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(2,6,14,.55) 100%);
}
.cine-layer { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 2; }
.cine-layer > * , .cine-final { grid-area: 1 / 1; }
.cine [data-k] { opacity: 0; visibility: hidden; will-change: opacity, transform, filter; }

.cine-word {
  font-family: 'Manrope', sans-serif !important; font-weight: 800; color: #f8fafc !important;
  font-size: clamp(3.4rem, 13vw, 12.5rem); line-height: .9; letter-spacing: -0.06em; text-align: center;
  text-transform: uppercase; margin: 0; text-shadow: 0 10px 60px rgba(29,95,214,.45);
}
.cine-word--md { font-size: clamp(2.6rem, 9vw, 8.5rem); letter-spacing: -0.055em; }
.cine-word--accent { background: linear-gradient(90deg, #ffffff 0%, #7dd3fc 60%, #38bdf8 100%); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.cine-sub {
  font-family: 'Manrope', sans-serif !important; font-weight: 500; color: #94a3b8 !important;
  font-size: clamp(.8rem, 1.3vw, 1.05rem); letter-spacing: .28em; text-transform: uppercase; text-align: center; margin: 0;
}
.cine-sub--low { align-self: end; margin-bottom: 22vh; }
.cine-kicker {
  align-self: start; margin-top: 16vh; font-family: 'JetBrains Mono', monospace !important;
  font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: #38bdf8 !important;
}
.cine-final { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; text-align: center; padding: 0 1.25rem; }
.cine-big {
  font-family: 'Manrope', sans-serif !important; font-weight: 800; color: #f8fafc !important;
  font-size: clamp(3rem, 9.5vw, 9rem); line-height: .88; letter-spacing: -0.06em; margin: 0 0 .6rem;
  text-shadow: 0 12px 70px rgba(29,95,214,.5);
}
.cine-big em { font-style: normal; background: linear-gradient(90deg, #7dd3fc, #38bdf8 50%, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cine-brand {
  display: flex; align-items: center; gap: .85rem; margin-top: .5rem; text-align: left;
  padding: .55rem 1.3rem .55rem .55rem; border-radius: 999px;
  background: rgba(11,42,82,.55); border: 1px solid rgba(125,211,252,.28);
  box-shadow: 0 12px 40px -12px rgba(29,95,214,.7); backdrop-filter: blur(8px);
}
.cine-brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #38bdf8; box-shadow: 0 0 18px rgba(56,189,248,.55); }
.cine-brand strong { display: block; font-family: 'Manrope', sans-serif; font-weight: 800; letter-spacing: .28em; font-size: clamp(1rem, 1.6vw, 1.25rem); color: #fff; }
.cine-brand small { display: block; font-size: .72rem; letter-spacing: .08em; color: #7dd3fc; margin-top: .15rem; }
.cine-sign { align-self: end; margin-bottom: 16vh; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: clamp(.9rem, 1.4vw, 1.1rem); letter-spacing: .14em; color: #7dd3fc; }

/* ---------- INTRO (first screen, visible before Three.js loads) ---------- */
.cine:not(.cine--ready):not(.cine--static) .cine-intro,
.cine:not(.cine--ready):not(.cine--static) .cine-chips,
.cine:not(.cine--ready):not(.cine--static) .cine-scroll { opacity: 1; visibility: visible; }
.cine-intro { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4.5rem 1.25rem 3rem; }
.cine-intro > * { animation: ciUp .9s cubic-bezier(.2,.8,.2,1) both; }
.cine-intro > :nth-child(2) { animation-delay: .12s; } .cine-intro > :nth-child(3) { animation-delay: .22s; }
.cine-intro > :nth-child(4) { animation-delay: .32s; } .cine-intro > :nth-child(5) { animation-delay: .42s; }
.cine-intro > :nth-child(6) { animation-delay: .52s; }
@keyframes ciUp { from { opacity: 0; transform: translateY(26px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.ci-portrait { position: relative; width: 132px; height: 132px; margin-bottom: 1.1rem; }
.ci-portrait img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #060e1b; z-index: 1; }
.ci-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(from 0deg, #1d5fd6, #38bdf8, #7dd3fc, #3b82f6, #1d5fd6); animation: ciSpin 6s linear infinite; box-shadow: 0 0 40px rgba(56,189,248,.45); }
@keyframes ciSpin { to { transform: rotate(360deg); } }
.ci-live { position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
  font-size: .62rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; padding: .25rem .6rem; border-radius: 999px; background: #0b2a52; border: 1px solid rgba(125,211,252,.35); }
.ci-live i { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.7); animation: ciPulse 1.8s infinite; }
@keyframes ciPulse { 70% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); } }
.ci-eyebrow { font-size: .72rem; letter-spacing: .32em; text-transform: uppercase; color: rgba(125,211,252,.85); margin: .4rem 0 .5rem; }
.ci-name { font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif; font-weight: 800; line-height: .92; letter-spacing: -.045em;
  font-size: clamp(3rem, 10vw, 8rem); color: #f8fafc; text-shadow: 0 10px 50px rgba(29,95,214,.45); }
.ci-name em { font-style: normal; background: linear-gradient(90deg, #7dd3fc, #38bdf8 50%, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ci-role { margin-top: .8rem; font-size: clamp(.75rem, 1.3vw, .95rem); letter-spacing: .34em; text-transform: uppercase; color: #cbd5e1; font-weight: 500; }
.ci-rotator { display: flex; align-items: center; gap: .45rem; margin-top: 1.1rem; font-size: clamp(1rem, 1.8vw, 1.3rem); color: #94a3b8; font-weight: 500; }
.ci-rotator strong { color: #fff; font-weight: 700; }
.ci-rot { display: inline-block; text-align: center; height: 1.35em; overflow: hidden; line-height: 1.35em; }
.ci-rot b { display: block; color: #38bdf8; font-weight: 700; animation: ciRot 8s cubic-bezier(.7,0,.3,1) infinite; }
@keyframes ciRot { 0%,20% { transform: translateY(0); } 25%,45% { transform: translateY(-100%); } 50%,70% { transform: translateY(-200%); } 75%,95% { transform: translateY(-300%); } 100% { transform: translateY(-400%); } }
.ci-stats { display: flex; gap: 0; margin-top: 1.6rem; list-style: none; padding: 0; border: 1px solid rgba(125,211,252,.18); border-radius: 16px; background: rgba(11,42,82,.35); backdrop-filter: blur(6px); }
.ci-stats li { padding: .7rem 1.4rem; display: flex; flex-direction: column; align-items: center; }
.ci-stats li + li { border-left: 1px solid rgba(125,211,252,.15); }
.ci-stats strong { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.35rem; color: #fff; line-height: 1.1; }
.ci-stats span { font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: #94a3b8; margin-top: .2rem; }
.cine-chips { position: absolute; inset: 0; }
.ci-chip { position: absolute; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .85rem .5rem .55rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600; color: #e2e8f0; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px); box-shadow: 0 14px 34px -14px rgba(0,0,0,.6); animation: ciFloat 6s ease-in-out infinite; }
.ci-chip img { width: 22px; height: 22px; object-fit: contain; padding: 3px; background: #fff; border-radius: 7px; }
.ci-chip--graph svg { width: 44px; height: 18px; }
.ci-chip.c1 { left: 9%;  top: 24%; }
.ci-chip.c2 { left: 13%; top: 64%; animation-delay: -1.5s; }
.ci-chip.c3 { right: 10%; bottom: 16%; animation-delay: -3s; }
.ci-chip.c4 { right: 6%;  top: 56%; animation-delay: -2.2s; }
.ci-chip.c5 { left: 25%; bottom: 15%; animation-delay: -4s; }
@keyframes ciFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 767px) {
  .ci-portrait { width: 104px; height: 104px; }
  .ci-stats li { padding: .6rem .85rem; }
  .ci-chip { font-size: .66rem; padding: .35rem .6rem .35rem .4rem; }
  .ci-chip img { width: 18px; height: 18px; }
  .ci-chip.c1 { left: 4%; top: 13%; } .ci-chip.c4 { right: 4%; top: 15%; }
  .ci-chip.c2, .ci-chip.c3, .ci-chip.c5 { display: none; }
  .cine-brand small { font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .cine-intro > *, .ci-ring, .ci-rot b, .ci-chip, .ci-live i { animation: none !important; } }
.cine-ctas { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: .8rem; }
.cine.is-final .cine-ctas { pointer-events: auto; }
.cine-cta {
  display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-family: 'Manrope', sans-serif !important; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(125,211,252,.45); color: #e2e8f0 !important; background: rgba(255,255,255,.03);
  transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.cine-cta:hover { transform: translateY(-2px); border-color: #7dd3fc; }
.cine-cta--primary { background: linear-gradient(135deg, #1d5fd6, #3b82f6); border-color: transparent; color: #fff !important; box-shadow: 0 10px 30px -8px rgba(29,95,214,.8); }
.cine-cta--primary span { color: #fff !important; }

.cine-hand {
  position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: -4px 0 0 -12px; z-index: 3;
  pointer-events: none; filter: drop-shadow(0 6px 14px rgba(29,95,214,.55)); transition: opacity .4s;
}
.cine-hand.is-click path:first-child { animation: cineTap .45s ease; transform-origin: 40% 20%; }
@keyframes cineTap { 40% { transform: scale(.82); } }

.cine-scroll {
  position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: 'JetBrains Mono', monospace; font-size: .65rem; letter-spacing: .35em; text-transform: uppercase; color: #94a3b8;
}
.cine-scroll span { width: 1px; height: 42px; background: linear-gradient(#38bdf8, transparent); animation: cineLine 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cineLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.cine-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); z-index: 3; }
.cine-progress span { display: block; height: 100%; background: linear-gradient(90deg, #1d5fd6, #38bdf8); transform-origin: left; transform: scaleX(0); }
.cine-fade { height: 120px; background: linear-gradient(#050b16, rgba(6,14,27,0)); position: relative; z-index: 20; margin-bottom: 2rem; }

/* static fallback (reduced motion / no WebGL) */
.cine.cine--static { height: auto; }
.cine.cine--static .cine-stage { position: relative; height: 100vh; min-height: 560px; }
.cine.cine--static .cine-canvas, .cine.cine--static .cine-hand, .cine.cine--static .cine-scroll,
.cine.cine--static .cine-progress, .cine.cine--static .cine-layer > [data-k] { display: none; }
.cine.cine--static .cine-final [data-k] { opacity: 1; visibility: visible; }
.cine.cine--static .cine-ctas { pointer-events: auto; }

@media (max-width: 767px) {
  .cine { height: 460vh; }
  .cine-hand { width: 30px; height: 30px; }
  .cine-sub { letter-spacing: .18em; }
}

/* =====================================================================
   BIG TWO-LINE MARQUEE (line 1 → left, line 2 → right, outlined)
   ===================================================================== */
.bigmq { padding: 2.5rem 0 3.5rem; margin-bottom: 5rem; overflow: hidden; position: relative; }
.bigmq { -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.bigmq-row + .bigmq-row { margin-top: .6rem; }
.bigmq-row { overflow: hidden; white-space: nowrap; }
.bigmq-track { display: flex; width: max-content; will-change: transform; }
.bigmq-group { display: flex; align-items: center; flex-shrink: 0; }
.bigmq-group span {
  font-family: 'Anton', 'Manrope', Impact, sans-serif !important; font-weight: 400 !important; text-transform: uppercase;
  font-size: clamp(3.4rem, 10.5vw, 9.5rem); line-height: 1.02; letter-spacing: .005em; padding: 0 .22em;
}
.bigmq-row--solid span { color: #f1f5f9; }
.bigmq-row--outline span { color: transparent; -webkit-text-stroke: 1.5px rgba(125,211,252,.85); }
.bigmq-row--outline span:hover { color: rgba(56,189,248,.18); }
.bm-star { width: clamp(26px, 3.6vw, 54px); height: clamp(26px, 3.6vw, 54px); fill: #38bdf8; flex-shrink: 0; margin: 0 .4rem; animation: bmSpin 7s linear infinite; filter: drop-shadow(0 0 12px rgba(56,189,248,.6)); }
.bigmq-row--outline .bm-star { fill: none; stroke: #7dd3fc; stroke-width: 1.2; }
.bigmq-rtl { animation: bmRtl 48s linear infinite; }
.bigmq-ltr { animation: bmLtr 48s linear infinite; }
.bigmq:hover .bigmq-track { animation-play-state: paused; }
@keyframes bmRtl { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bmLtr { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes bmSpin { to { transform: rotate(360deg); } }
@media (max-width: 767px) { .bigmq { margin-bottom: 3rem; padding: 1.5rem 0 2rem; } .bigmq-row--outline span { -webkit-text-stroke-width: 1px; } .bigmq-rtl, .bigmq-ltr { animation-duration: 30s; } }

/* =====================================================================
   SHOWCASE PANELS (Website / Digital Marketing) — split service panels
   Image frame grows out of an inset clip; title lines rise from a mask.
   ===================================================================== */
.svc-stack { display: flex; flex-direction: column; gap: .75rem; }
.svc { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .75rem; padding: .75rem; border-radius: 2.5rem; scroll-margin-top: 6rem; }
.svc--light { background: #eef3fb; color: #060e1b; }
.svc--blue { background: linear-gradient(125deg, #1d5fd6 0%, #2563eb 45%, #0ea5e9 100%); color: #fff; box-shadow: 0 40px 100px -50px rgba(37,99,235,.9); }
.svc--flip .svc-media { order: 2; }

.svc-media { position: relative; min-height: 520px; overflow: hidden; border-radius: 2rem;
  clip-path: inset(14% 9% 14% 9% round 32px); transition: clip-path 1.1s cubic-bezier(.22,1,.36,1); }
.svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); transition: transform 1.6s cubic-bezier(.22,1,.36,1); }
.svc.is-in .svc-media { clip-path: inset(0% 0% 0% 0% round 32px); }
.svc.is-in .svc-media img { transform: scale(1.02); }
.svc-num, .svc-chip { position: absolute; z-index: 1; color: #fff; border-radius: 999px; background: rgba(6,14,27,.45); border: 1px solid rgba(255,255,255,.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-weight: 600; }
.svc-num { left: 1rem; top: 1rem; padding: .25rem .8rem; font-size: .75rem; font-family: 'JetBrains Mono', monospace; }
.svc-chip { left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .95rem; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }

.svc-body { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.25rem, 3.4vw, 2.75rem); }
.svc .svc-title, .svc .svc-title span { font-family: 'Anton', 'Manrope', Impact, sans-serif !important; font-weight: 400 !important; }
.svc-title { margin: 0; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 6.25rem); line-height: .95; letter-spacing: .005em; }
.svc-line { display: block; overflow: hidden; padding-bottom: .04em; }
.svc-line > span { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.22,1,.36,1); }
.svc.is-past .svc-line > span { transform: translateY(-105%); }
.svc.is-in .svc-line > span { transform: none; }
.svc.is-in .svc-line:nth-child(2) > span { transition-delay: .1s; }
.svc--light .svc-line:nth-child(2) > span { color: #1d5fd6; }
.svc--blue .svc-line:nth-child(2) > span { color: rgba(6,14,27,.45); }

.svc-lead { margin-top: 1.25rem; font-size: clamp(1.15rem, 1.9vw, 1.6rem); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.svc--light .svc-lead { color: #475569; }
.svc--blue .svc-lead { color: rgba(255,255,255,.7); }
.svc-desc { margin-top: 1.1rem; max-width: 30rem; font-size: .95rem; line-height: 1.65; }
.svc--light .svc-desc { color: rgba(6,14,27,.7); }
.svc--blue .svc-desc { color: rgba(255,255,255,.82); }
.svc-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.75rem 0 0; padding: 0; list-style: none; }
.svc-tags li { padding: .5rem 1rem; border-radius: 999px; font-size: .75rem; font-weight: 500; border: 1px solid; transition: background-color .25s, color .25s; }
.svc--light .svc-tags li { border-color: rgba(6,14,27,.15); color: rgba(6,14,27,.72); }
.svc--light .svc-tags li:hover { background: #060e1b; color: #fff; }
.svc--blue .svc-tags li { border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.88); }
.svc--blue .svc-tags li:hover { background: #fff; color: #1d5fd6; }
.svc-body > :not(.svc-title) { opacity: 0; transform: translateY(18px); transition: opacity .8s .25s, transform .8s .25s cubic-bezier(.22,1,.36,1); }
.svc.is-in .svc-body > :not(.svc-title) { opacity: 1; transform: none; }

.svc-cta { margin-top: 2rem; }
@media (min-width: 900px) { .svc-cta { margin-top: auto; padding-top: 2.5rem; } }
.svc-btn { display: inline-flex; align-items: center; gap: .75rem; padding: .4rem .4rem .4rem 1.5rem; border-radius: 999px; font-size: .875rem; font-weight: 700; transition: background-color .3s, transform .3s; }
.svc-btn:hover { transform: translateY(-2px); }
.svc-btn-ic { width: 2.25rem; height: 2.25rem; border-radius: 50%; display: grid; place-items: center; font-size: .95rem; transition: transform .3s; }
.svc-btn:hover .svc-btn-ic, .svc-btn:active .svc-btn-ic { transform: rotate(45deg); }
.svc--light .svc-btn { background: #060e1b; color: #fff !important; }
.svc--light .svc-btn:hover { background: #0b2a52; }
.svc--light .svc-btn-ic { background: linear-gradient(135deg, #1d5fd6, #38bdf8); color: #fff; }
.svc--blue .svc-btn { background: #fff; color: #060e1b !important; }
.svc--blue .svc-btn:hover { background: #e0f2fe; }
.svc--blue .svc-btn-ic { background: #060e1b; color: #fff; }

@media (max-width: 899px) {
  .svc { grid-template-columns: minmax(0,1fr); border-radius: 2rem; }
  .svc--flip .svc-media { order: 0; }
  .svc-media { min-height: 300px; border-radius: 1.6rem; }
  .svc-title { font-size: clamp(2.5rem, 13vw, 4.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .svc-media, .svc-media img, .svc-line > span, .svc-body > * { transition: none !important; }
  .svc-media { clip-path: none; } .svc-media img { transform: none; }
  .svc-line > span, .svc-body > * { transform: none !important; opacity: 1 !important; }
}

@media (prefers-reduced-motion: reduce) {
  .bigmq-rtl, .bigmq-ltr, .bm-star { animation: none; }
}

/* Logo — "BADRI" in brand blue gradient (all pages) */
.logo-accent { background: linear-gradient(90deg, #7dd3fc, #38bdf8 50%, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent; }
.cine-brand { padding: .7rem 1.6rem; text-align: center; }
.cine-brand strong em { font-style: normal; background: linear-gradient(90deg, #7dd3fc, #38bdf8 50%, #3b82f6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cine-intro { padding-top: 2rem; }
.ci-eyebrow { margin-top: 0; }

/* =====================================================================
   CUSTOM CURSOR (ring + dot) — assets/js/cursor.js, mouse devices only
   ===================================================================== */
html.has-cur, html.has-cur body, html.has-cur a, html.has-cur button, html.has-cur [role="button"], html.has-cur label, html.has-cur select, html.has-cur summary { cursor: none !important; }
/* Ring/dot move via transform only; size changes scale a pseudo-element (no layout work per frame) */
.cur-ring, .cur-dot { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; opacity: 0; will-change: transform; transition: opacity .25s; }
.cur-ring { width: 0; height: 0; }
.cur-ring::before { content: ""; position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.18), inset 0 0 0 1px rgba(0,0,0,.12);
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background-color .25s; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.cur-ring.is-on, .cur-dot.is-on { opacity: 1; }
.cur-ring.is-hover::before { transform: scale(1.88); background-color: rgba(255,255,255,.12); border-width: .8px; }
.cur-ring.is-down::before { transform: scale(.76); }
.cur-ring.is-text, .cur-dot.is-text { opacity: 0 !important; }
html.has-cur input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), html.has-cur textarea, html.has-cur [contenteditable="true"] { cursor: text !important; }

/* Expertise on phones — bigger heading & cards, content starts at the top (no empty gap) */
@media (max-width: 767px) {
  .xp-section.is-pinned .xp-sticky { justify-content: flex-start; padding-top: 1.1rem; gap: 1.1rem; }
  .xp-section.is-pinned .hx { font-size: clamp(2.3rem, 10.5vw, 2.9rem); line-height: 1.05; }
  .xp-section.is-pinned .xp-eyebrow { margin-bottom: .5rem; }
  .xp-section.is-pinned .xp-track { gap: .9rem; padding-left: max(1rem, calc((100vw - min(88vw, 400px)) / 2)); padding-right: max(1rem, calc((100vw - min(88vw, 400px)) / 2)); }
  .xp-section.is-pinned .xp-card { width: min(88vw, 400px); padding: 1.25rem; }
  .xp-section.is-pinned .xp-media { aspect-ratio: 4 / 3; margin-bottom: 1rem; }
  .xp-section.is-pinned .xp-title { font-size: 1.45rem; }
  .xp-section.is-pinned .xp-desc { font-size: .88rem; line-height: 1.6; margin-bottom: .8rem; }
  .xp-section.is-pinned .xp-list li { font-size: .88rem; }
  .xp-section.is-pinned .xp-icon { width: 2.9rem; height: 2.9rem; font-size: 1.1rem; }
  .xp-section.is-pinned .xp-cta h3 { font-size: 2.1rem; }
  .xp-section.is-pinned .xp-cta p { font-size: .9rem; }
}
@media (max-width: 767px) and (max-height: 760px) {
  .xp-section.is-pinned .xp-media { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) and (max-height: 680px) {
  .xp-section.is-pinned .xp-desc { display: none; }
}
