/* ============================================
   SUFIYAN MAKHIWALA — Portfolio Stylesheet
   Light Theme · Primary #5700ef
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:      #f8f7ff;
  --bg2:     #f0eeff;
  --bg3:     #e8e3ff;
  --border:  #ddd8f8;
  --accent:  #5700ef;
  --accent2: #ff6b35;
  --accent-light: #ede8ff;
  --accent-hover: #4400cc;
  --text:    #0d0a1a;
  --muted:   #7a6f9a;
  --card:    #ffffff;
}

html { scroll-behavior: smooth; }

/* ── DARK THEME OVERRIDES ── */
html.dark {
  --bg:           #0a0a0f;
  --bg2:          #111118;
  --bg3:          #18181f;
  --border:       #2a2a3a;
  --accent:       #7c3aff;
  --accent2:      #ff6b35;
  --accent-light: #1e1040;
  --accent-hover: #9b5fff;
  --text:         #f0eeff;
  --muted:        #8878aa;
  --card:         #141420;
}

html.dark body { background: var(--bg); color: var(--text); }
html.dark nav.scrolled { background: rgba(10,10,15,0.94); }
html.dark .mobile-menu { background: var(--bg); }
html.dark .hero { background: linear-gradient(150deg, #0f0a20 0%, #0a0a0f 50%, #0a0f1a 100%); }
html.dark .hero::after { background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(124,58,255,0.1) 0%, transparent 70%); }
html.dark .hero-tag { background: #1a1a28; border-color: var(--border); }
html.dark .btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
html.dark .btn-outline:hover { border-color: var(--accent); color: var(--accent); }
html.dark .chip { background: var(--bg3); }
html.dark .project-card { box-shadow: 0 2px 12px rgba(0,0,0,0.3); }
html.dark .service-card { background: var(--bg2); }
html.dark .service-card:hover { background: var(--bg3); }
html.dark .testimonial-card { background: var(--card); }
html.dark .ps-card { background: var(--card); }
html.dark .cta-band a { background: #0a0a0f; color: #fff; }
html.dark .cta-band a:hover { background: #1a1a28; }
html.dark footer { background: #07070d; }
html.dark .marquee-section { background: var(--accent); }
html.dark .about-initials { color: rgba(124,58,255,0.08); }
html.dark .about-img-frame { background: var(--bg3); }
html.dark .faq-question { color: var(--text); }

/* ── THEME TOGGLE SWITCH ── */
.theme-toggle {
  background: none;
  border: none;
  cursor: none;
  padding: 0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.theme-toggle-track {
  display: block;
  width: 52px;
  height: 28px;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  position: relative;
  transition: background 0.35s, border-color 0.35s;
}
.theme-toggle.dark .theme-toggle-track {
  background: var(--accent);
  border-color: var(--accent);
}
.theme-toggle-thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  line-height: 1;
}
.theme-toggle.dark .theme-toggle-thumb {
  transform: translateX(24px);
  background: #fff;
}
.toggle-icon-sun { display: block; }
.toggle-icon-moon { display: none; }
.theme-toggle.dark .toggle-icon-sun { display: none; }
.theme-toggle.dark .toggle-icon-moon { display: block; }

/* Mobile theme toggle in mobile menu */
.mobile-theme-toggle {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text);
  cursor: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  margin-top: 10px;
}
.mobile-theme-toggle:hover { border-color: var(--accent); color: var(--accent); }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── CUSTOM CURSOR ── */
.cursor {
  width: 12px; height: 12px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.1s;
}
.cursor-follower {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(87,0,239,0.3);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.18s ease, width 0.3s, height 0.3s, border-color 0.3s;
}
body:has(a:hover) .cursor-follower,
body:has(button:hover) .cursor-follower {
  width: 56px; height: 56px;
  border-color: var(--accent);
}

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 500;
  opacity: 0.4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 901;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background 0.4s, border-color 0.4s, padding 0.4s;
  background: transparent;
}
.nav-logo img {
  height: 36px; width: auto; display: block;
}
nav.scrolled {
  background: rgba(248,247,255,0.94);
  border-color: var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 48px;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.nav-logo-dot {
  width: 8px; height: 8px;
  background: var(--accent); border-radius: 50%;
  display: inline-block;
}
.nav-links {
  display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px; font-weight: 400; letter-spacing: 0.5px;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--accent);
  transition: width 0.3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  text-decoration: none; letter-spacing: 0.3px;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: none; background: none; border: none; padding: 4px;
}
.hamburger span {
  width: 24px; height: 1.5px; background: var(--text);
  transition: all 0.3s; display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 902;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 40px; opacity: 0; transition: opacity 0.3s;
}
.mobile-menu.open { display: flex; opacity: 1; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; color: var(--text);
  text-decoration: none; letter-spacing: 2px;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 48px 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #f0eaff 0%, #f8f7ff 50%, #eef5ff 100%);
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 20%, rgba(87,0,239,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  position: absolute; top: 120px; left: 48px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 100px;
  font-size: 12px; letter-spacing: 1px;
  color: var(--muted); text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
  animation: fadeInDown 0.8s 0.2s both;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(87,0,239,0.08);
}
.hero-tag-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 13vw, 200px);
  line-height: 0.9; letter-spacing: -2px;
  overflow: hidden;
  color: var(--text);
}
.hero-line {
  display: block;
  animation: slideUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-line:nth-child(1) { animation-delay: 0.3s; }
.hero-line:nth-child(2) { animation-delay: 0.45s; color: var(--accent); }
.hero-line:nth-child(3) { animation-delay: 0.6s; }
@keyframes slideUp {
  from { transform: translateY(110%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.hero-bottom {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-top: 40px;
  animation: fadeIn 1s 0.9s both;
}
.hero-desc {
  max-width: 380px; color: var(--muted);
  font-size: 16px; line-height: 1.7; font-weight: 300;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-actions { display: flex; gap: 14px; align-items: center; }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  transition: all 0.25s; white-space: nowrap;
  box-shadow: 0 4px 20px rgba(87,0,239,0.25);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(87,0,239,0.35); }
.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 400;
  text-decoration: none;
  transition: all 0.25s; white-space: nowrap;
  background: #fff;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  animation: fadeIn 1s 1.4s both;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, var(--muted), transparent);
  animation: scrollDrop 1.5s infinite;
}
@keyframes scrollDrop {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── MARQUEE ── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
  background: var(--accent);
}
.marquee-track {
  display: flex; gap: 0;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 0 30px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px; letter-spacing: 3px;
  color: rgba(255,255,255,0.75);
}
.marquee-item span { color: #fff; font-size: 22px; }

/* ── SECTION COMMONS ── */
section { padding: 100px 48px; }
.section-label {
  font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
h2.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1; font-weight: 400;
  margin-bottom: 16px;
  color: var(--text);
}
h2.section-title em { font-style: italic; color: var(--accent); }

/* ── ABOUT ── */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}
.about-left { position: relative; }
.about-img-frame {
  aspect-ratio: 3/4;
  background: var(--bg3);
  border-radius: 4px; overflow: hidden; position: relative;
  border: 1px solid var(--border);
}
.about-img-frame::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 60%);
  opacity: 0.06; z-index: 1; pointer-events: none;
}
.about-initials {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 120px; color: rgba(87,0,239,0.06);
  letter-spacing: -4px;
  z-index: 2; pointer-events: none;
}
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--accent);
  color: #fff;
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 700;
  animation: spinSlow 12s linear infinite;
  box-shadow: 0 8px 32px rgba(87,0,239,0.3);
}
.about-badge .num { font-family: 'Bebas Neue', sans-serif; font-size: 36px; line-height: 1; }
.about-badge .lbl { font-size: 9px; letter-spacing: 1.5px; text-align: center; line-height: 1.3; }
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.about-text p {
  color: var(--muted); line-height: 1.8; font-size: 16px;
  font-weight: 300; margin-bottom: 20px;
}
.about-text p strong { color: var(--text); font-weight: 500; }
.skills-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  border: 1px solid var(--border);
  background: #fff;
  padding: 7px 16px; border-radius: 100px;
  font-size: 12px; color: var(--muted);
  transition: all 0.25s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.stats-row {
  display: flex; gap: 40px; margin-top: 40px;
  padding-top: 40px; border-top: 1px solid var(--border);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; color: var(--text); line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }

.about-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block; z-index: 0;
}

/* ── PROJECTS ── */
.projects-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 60px;
}
.project-overlay a { text-decoration: none; }
.projects-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.project-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden; position: relative;
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s;
  cursor: none;
  box-shadow: 0 2px 12px rgba(87,0,239,0.04);
}
.project-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(87,0,239,0.12); }
.project-card.large { grid-column: span 2; }
.project-thumb {
  aspect-ratio: 16/9;
  background: var(--bg3); position: relative;
  overflow: hidden; display: flex; align-items: center; justify-content: center;
}
.project-card.large .project-thumb { aspect-ratio: 21/9; }
.project-thumb-bg {
  position: absolute; inset: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover .project-thumb-bg { transform: scale(1.05); }
.project-thumb-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 72px; color: rgba(0,0,0,0.04);
  letter-spacing: -2px; z-index: 1; user-select: none;
}
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(87,0,239,0.6) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 24px; z-index: 2;
}
.project-card:hover .project-overlay { opacity: 1; }
.project-view-btn {
  background: #fff;
  color: var(--accent);
  padding: 10px 20px; border-radius: 100px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.5px;
  transform: translateY(10px);
  transition: transform 0.3s 0.05s;
}
.project-card:hover .project-view-btn { transform: translateY(0); }
.project-info {
  padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: flex-start;
}
.project-name { font-size: 18px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.project-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.project-tag {
  font-size: 11px; color: var(--muted);
  border: 1px solid var(--border);
  background: var(--bg2);
  padding: 3px 10px; border-radius: 100px;
}
.project-arrow {
  width: 36px; height: 36px;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: all 0.25s;
  flex-shrink: 0; margin-top: 4px; font-size: 16px;
}
.project-card:hover .project-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }

.project-thumb-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block; z-index: 0;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.project-card:hover .project-thumb-img { transform: scale(1.05); }

.project-thumb-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
  border: 1.5px dashed rgba(87,0,239,0.15); z-index: 0;
}
.project-thumb-placeholder svg { width: 32px; height: 32px; opacity: 0.25; }
.project-thumb-placeholder span {
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted);
}
.project-thumb-label { z-index: 1; }

/* Project colour themes */
.proj-1 .project-thumb-bg { background: linear-gradient(135deg, #e8e0ff 0%, #d4c5ff 50%, #c0a8ff 100%); }
.proj-2 .project-thumb-bg { background: linear-gradient(135deg, #ffeaea 0%, #ffd4d4 50%, #ffb8b8 100%); }
.proj-3 .project-thumb-bg { background: linear-gradient(135deg, #e0f0ff 0%, #c8e0ff 50%, #a8ccff 100%); }
.proj-4 .project-thumb-bg { background: linear-gradient(135deg, #fff0e0 0%, #ffe0c0 50%, #ffd0a0 100%); }
.proj-5 .project-thumb-bg { background: linear-gradient(135deg, #e0ffee 0%, #c0ffdd 50%, #a0f0c8 100%); }

/* ── SERVICES ── */
.services-section { background: var(--bg2); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; margin-top: 60px;
}
.service-card {
  background: #fff; padding: 40px;
  transition: background 0.3s; position: relative;
}
.service-card:hover { background: var(--accent-light); }
.service-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px; color: var(--border); line-height: 1;
  margin-bottom: 24px; transition: color 0.3s;
}
.service-card:hover .service-num { color: var(--accent); opacity: 0.3; }
.service-icon {
  width: 44px; height: 44px;
  background: var(--accent-light); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px;
  border: 1px solid var(--border);
}
.service-name { font-size: 18px; font-weight: 500; margin-bottom: 12px; color: var(--text); }
.service-desc { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }

/* ── PROCESS ── */
.process-list {
  margin-top: 60px; display: flex; flex-direction: column;
}
.process-item {
  display: grid; grid-template-columns: 80px 1fr 1fr;
  gap: 40px; padding: 36px 0;
  border-bottom: 1px solid var(--border);
  align-items: start; transition: background 0.2s;
  cursor: default;
}
.process-item:first-child { border-top: 1px solid var(--border); }
.process-step {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; color: var(--border); line-height: 1;
}
.process-name { font-size: 22px; font-weight: 500; padding-top: 8px; color: var(--text); }
.process-desc {
  font-size: 15px; color: var(--muted);
  line-height: 1.7; font-weight: 300; padding-top: 10px;
}
.process-item:hover .process-step { color: var(--accent); }

/* ── PROBLEM SOLVING ── */
.problem-solving-section { background: var(--bg); }
.problem-solving-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 60px;
}
.ps-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.3s, box-shadow 0.3s;
}
.ps-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.ps-card:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 12px 40px rgba(87,0,239,0.1); }
.ps-card:hover::before { transform: scaleX(1); }
.ps-icon-wrap {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 24px;
  border: 1px solid rgba(87,0,239,0.15);
}
.ps-challenge {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
  font-weight: 600;
}
.ps-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px; font-weight: 400; line-height: 1.3;
  color: var(--text); margin-bottom: 14px;
}
.ps-desc {
  font-size: 14px; color: var(--muted);
  line-height: 1.75; font-weight: 300;
  margin-bottom: 24px;
}
.ps-outcome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: var(--accent-light);
  border-radius: 10px;
  border: 1px solid rgba(87,0,239,0.12);
}
.ps-outcome-icon { font-size: 18px; flex-shrink: 0; }
.ps-outcome-text {
  font-size: 13px; font-weight: 500; color: var(--accent);
}
.ps-stat-row {
  display: flex; gap: 32px; margin-top: 60px;
  padding: 40px;
  background: var(--accent);
  border-radius: 16px;
}
.ps-stat-item {
  flex: 1; text-align: center;
  padding: 20px 0;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.ps-stat-item:last-child { border-right: none; }
.ps-stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px; color: #fff; line-height: 1;
}
.ps-stat-num span { color: rgba(255,255,255,0.6); }
.ps-stat-lbl {
  font-size: 12px; color: rgba(255,255,255,0.7);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-top: 6px;
}

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg2); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 60px;
}
.testimonial-card {
  background: var(--card);
  border: 1px solid var(--border); border-radius: 12px;
  padding: 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 8px 30px rgba(87,0,239,0.08); }
.quote-icon {
  font-size: 36px; color: var(--accent);
  font-family: 'DM Serif Display', serif;
  line-height: 1; margin-bottom: 16px;
}
.testimonial-text {
  font-size: 15px; color: var(--muted);
  line-height: 1.8; font-weight: 300;
  margin-bottom: 24px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent-light);
  border: 1.5px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 14px; color: var(--accent);
}
.author-name { font-size: 14px; font-weight: 500; color: var(--text); }
.author-role { font-size: 12px; color: var(--muted); }
.stars { color: var(--accent); font-size: 12px; margin-bottom: 4px; }

/* ── FAQ ── */
.faq-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; margin-top: 60px; align-items: start;
}
.faq-sidebar h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 28px; font-weight: 400;
  line-height: 1.4; color: var(--muted);
}
.faq-sidebar h3 strong { color: var(--text); }
.faq-sidebar p {
  font-size: 14px; color: var(--muted);
  line-height: 1.7; margin-top: 16px; font-weight: 300;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none;
  color: var(--text); text-align: left;
  padding: 22px 0; font-size: 15px; font-weight: 500;
  cursor: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: 'DM Sans', sans-serif; transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  width: 26px; height: 26px;
  border: 1.5px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 16px;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1);
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p {
  color: var(--muted); font-size: 14px; line-height: 1.8;
  padding-bottom: 22px; font-weight: 300;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--accent);
  padding: 80px 48px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
  overflow: hidden; position: relative;
}
.cta-band::before {
  content: 'HIRE ME';
  position: absolute; right: -20px; top: 50%; transform: translateY(-50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 200px; color: rgba(255,255,255,0.07);
  white-space: nowrap; pointer-events: none; line-height: 1;
}
.cta-band h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  color: #fff; line-height: 1;
  letter-spacing: -1px; max-width: 600px;
}
.cta-band a {
  background: #fff;
  color: var(--accent);
  padding: 18px 36px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: all 0.25s; flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.cta-band a:hover { background: var(--accent-light); transform: scale(1.03); }

/* ── FOOTER ── */
footer {
  background: var(--text);
  border-top: 1px solid var(--border);
  padding: 60px 48px 40px;
}
.footer-top {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08); gap: 40px;
}
.footer-brand .nav-logo { font-size: 32px; margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.45); font-weight: 300; max-width: 280px; line-height: 1.6; }
.footer-links h4 { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-brand .nav-logo img { filter: brightness(0) invert(1); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  text-decoration: none; font-size: 16px; transition: all 0.25s;
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(87,0,239,0.15); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 13px; color: rgba(255,255,255,0.25);
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 0 24px 60px; }
  .hero-tag { left: 24px; top: 100px; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 30px; }
  section { padding: 60px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .services-grid { grid-template-columns: 1fr; }
  .problem-solving-grid { grid-template-columns: 1fr; }
  .ps-stat-row { flex-direction: column; gap: 0; }
  .ps-stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .ps-stat-item:last-child { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; padding: 60px 24px; }
  .footer-top { flex-direction: column; }
  .process-item { grid-template-columns: 60px 1fr; }
  .process-desc { grid-column: 2; }
  .projects-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .whatsapp-float { 
  position: fixed !important; 
  bottom: 24px !important; 
  right: 16px !important; 
  width: 48px !important; 
  height: 48px !important; 
}
}

/* ══════════════════════════════════════════
   NEW ADDITIONS — Portfolio Enhancements
   ══════════════════════════════════════════ */

/* ── WHATSAPP FLOATING BUTTON ── */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}
.whatsapp-float svg { flex-shrink: 0; }

/* ── STICKY BOOK A CALL CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--accent);
  color: #fff;
  border-radius: 100px;
  padding: 14px 22px 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 800;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 24px rgba(87,0,239,0.35);
  transition: background 0.25s, transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s;
  white-space: nowrap;
}
.sticky-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 32px rgba(87,0,239,0.45);
}
.sticky-cta-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.sticky-cta-text { font-family: 'DM Sans', sans-serif; }

/* ── STORY / PERSONALITY SECTION ── */
.story-section {
  background: var(--bg2);
  padding: 100px 48px;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.story-left { position: sticky; top: 120px; }
.story-right {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.story-block {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.story-block:first-child { border-top: 1px solid var(--border); }
.story-icon {
  font-size: 28px;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(87,0,239,0.12);
}
.story-heading {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  font-family: 'DM Sans', sans-serif;
}
.story-text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ── PROJECT CASE STUDY BADGE ── */
.project-case-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  z-index: 3;
}

/* ── CASE STUDY MODAL ── */
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
}
.case-modal.open {
  display: flex;
}
.case-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,10,26,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.case-modal-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  height: 100vh;
  background: var(--bg);
  overflow-y: auto;
  box-shadow: -8px 0 60px rgba(0,0,0,0.2);
  animation: slideInRight 0.45s cubic-bezier(0.16,1,0.3,1) both;
}
@keyframes slideInRight {
  from { transform: translateX(60px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}
.case-modal-close {
  position: sticky;
  top: 20px;
  float: right;
  margin: 20px 24px 0 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 14px;
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 10;
}
.case-modal-close:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.case-modal-content { padding: 60px 48px 80px; clear: both; }

.case-header { margin-bottom: 48px; }
.case-tag {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: block;
}
.case-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 14px;
}
.case-subtitle {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  max-width: 520px;
}

.case-section { margin-bottom: 44px; }
.case-section-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.case-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}
.case-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.case-list li {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  font-weight: 300;
}
.case-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 12px;
  top: 1px;
}

.case-meta-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 4px;
}
.case-meta-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.case-meta-item strong {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
}
.case-meta-item span { font-size: 13px; color: var(--text); font-weight: 400; }

/* User flow steps */
.case-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.flow-step {
  background: var(--accent-light);
  border: 1px solid rgba(87,0,239,0.15);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
}
.flow-arrow { color: var(--muted); font-size: 16px; }

/* Design decisions */
.case-decisions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.case-decision-item {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.case-decision-item strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}
.case-decision-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* Outcomes */
.case-outcomes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}
.case-outcome-card {
  background: var(--accent);
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
}
.case-outcome-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1;
}
.case-outcome-card p {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  font-weight: 300;
}

/* Dark mode tweaks for new sections */
html.dark .story-section { background: var(--bg2); }
html.dark .case-modal-panel { background: var(--bg); }
html.dark .case-meta-item { background: var(--bg2); }
html.dark .case-decision-item { background: var(--bg2); }
html.dark .case-flow .flow-step { background: var(--accent-light); }
html.dark .sticky-cta { box-shadow: 0 4px 24px rgba(124,58,255,0.4); }

/* ── RESPONSIVE — New Sections ── */
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-left { position: static; }
  .story-section { padding: 60px 24px; }
  .case-modal-panel { max-width: 100%; }
  .case-modal-content { padding: 40px 24px 60px; }
  .case-meta-row { grid-template-columns: repeat(2, 1fr); }
  .case-decisions { grid-template-columns: 1fr; }
  .case-outcomes { grid-template-columns: 1fr; }
  .case-flow { gap: 6px; }
  .sticky-cta-text { display: none; }
  .sticky-cta { padding: 14px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
  .whatsapp-float { bottom: 86px; }
}
