/* ============================================
   SHAMEEM ALI — Portfolio 2026
   Shared Stylesheet
   ============================================ */

/* Plus Jakarta Sans — primary font */

/* ─── CSS Variables ─── */
:root {
  --bg:       #080c14;
  --bg2:      #0c1120;
  --surface:  #101828;
  --surface2: #141e32;
  --border:   #1e2a42;
  --border2:  #263350;
  --accent:   #7c3aed;
  --accent2:  #4f46e5;
  --glow:     rgba(124,58,237,0.45);
  --glow2:    rgba(79,70,229,0.30);
  --text:     #f0f2ff;
  --text2:    #a8b4d0;
  --muted:    #5a6a8a;
  --white:    #ffffff;
  --radius:   16px;
  --radius-sm:10px;
  --transition: 0.4s cubic-bezier(0.16,1,0.3,1);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; overflow-x: hidden; max-width: 100vw; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif; font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content:''; width:24px; height:2px; background:var(--accent); border-radius:2px; }
.section-tag {
  display: inline-block;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

/* ─── Layout ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }
section { padding: 100px 0; }

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

/* ─── Nav ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  width: 100%;
  max-width: 100vw;
  padding: 0 40px;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  overflow: hidden;
}
.nav.scrolled {
  background: rgba(7,7,15,0.85);
  backdrop-filter: blur(20px);
  border-color: var(--border);
}
.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links {
  display: flex; gap: 36px; align-items: center;
}
.nav-links a {
  font-size: 0.95rem; font-weight: 500;
  color: var(--text2);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content:''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--accent);
  transform: scaleX(0); transition: transform 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(325deg, #6d28d9 0%, #a78bfa 55%, #4f46e5 90%);
  background-size: 280% auto;
  background-position: left center;
  color: #fff; font-size: 15px; font-weight: 600;
  padding: 10px 24px; border-radius: 12px;
  border: none;
  box-shadow: 0 0 16px rgba(124,58,237,0.5),
              0 4px 6px -1px rgba(79,70,229,0.25),
              inset 3px 3px 6px rgba(196,181,253,0.3),
              inset -3px -3px 6px rgba(67,20,220,0.3);
  transition: background-position 0.7s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.nav-cta:hover {
  background-position: right top;
  transform: translateY(-1px);
  box-shadow: 0 0 24px rgba(124,58,237,0.7),
              0 6px 10px -2px rgba(79,70,229,0.35),
              inset 3px 3px 6px rgba(196,181,253,0.4),
              inset -3px -3px 6px rgba(67,20,220,0.35);
}

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 600; border-radius: 12px;
  padding: 16px 36px; cursor: pointer; border: none;
  transition: all 0.25s ease; text-decoration: none;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(325deg, #6d28d9 0%, #a78bfa 55%, #4f46e5 90%);
  background-size: 280% auto;
  background-position: left center;
  color: #fff;
  border: none;
  box-shadow: 0 0 20px rgba(124,58,237,0.55),
              0 5px 8px -1px rgba(79,70,229,0.3),
              inset 4px 4px 8px rgba(196,181,253,0.35),
              inset -4px -4px 8px rgba(67,20,220,0.35);
  transition: background-position 0.7s ease, box-shadow 0.3s ease, transform 0.2s ease;
}
.btn-primary:hover {
  background-position: right top;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(124,58,237,0.75),
              0 8px 16px -2px rgba(79,70,229,0.4),
              inset 4px 4px 8px rgba(196,181,253,0.45),
              inset -4px -4px 8px rgba(67,20,220,0.4);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
}
.btn-outline:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* ─── Cards ─── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.card::before {
  content:''; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(135deg, rgba(124,92,252,0.05), transparent 60%);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: var(--border2); transform: translateY(-4px); }
.card:hover::before { opacity: 1; }

/* ─── Section Headers ─── */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--text2); max-width: 520px; margin: 0 auto; line-height: 1.8; }

/* ─── Gradient text ─── */
.gradient-text {
  background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Glow orbs ─── */
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
}
.orb-purple { background: rgba(124,58,237,0.22); }
.orb-pink   { background: rgba(79,70,229,0.18); }

/* ─── Reveal animation — DISABLED (always visible) ─── */
.reveal,
.reveal.visible {
  opacity: 1;
  transform: none;
  transition: none;
}
.reveal-delay-1,
.reveal-delay-2,
.reveal-delay-3,
.reveal-delay-4 { transition-delay: 0s; }

/* ─── Tag / Badge ─── */
.tag {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 6px;
  letter-spacing: 0.04em;
}
.tag-purple { background: rgba(124,58,237,0.15); color: #a78bfa; border: 1px solid rgba(124,58,237,0.3); }
.tag-pink   { background: rgba(79,70,229,0.15);  color: #818cf8; border: 1px solid rgba(79,70,229,0.3); }
.tag-blue   { background: rgba(96,165,250,0.15); color: #93c5fd; border: 1px solid rgba(96,165,250,0.3); }
.tag-green  { background: rgba(0,229,160,0.15);  color: #00e5a0; border: 1px solid rgba(0,229,160,0.3); }
.tag-yellow { background: rgba(255,209,102,0.15);color: #fde68a; border: 1px solid rgba(255,209,102,0.3); }

/* ─── Divider ─── */
.divider { width: 100%; height: 1px; background: var(--border); }

/* ─── Footer ─── */
footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800; font-size: 1.4rem;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; max-width: 240px; }
.footer-col h5 {
  font-size: 13px; font-weight: 600;
  letter-spacing: 0;
  color: var(--text2); margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 14px;
  color: var(--text2); margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: var(--muted); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--text2);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(124,92,252,0.08); }

/* ─── 3D Tilt Card ─── */
.tilt-card { transform-style: preserve-3d; }

/* ─── Stats ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat-item {
  background: var(--surface);
  padding: 40px 32px;
  text-align: center;
}
.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900;
  background: linear-gradient(135deg, #7c3aed, #2563eb);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

/* ─── Testimonials ─── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi-card {
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.testi-card .stars { color: #fbbf24; font-size: 14px; letter-spacing: 2px; }
.testi-card p { font-size: 15px; line-height: 1.75; color: var(--text2); font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff; flex-shrink: 0;
}
.testi-name { font-size: 14px; font-weight: 600; }
.testi-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ─── FAQ ─── */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 15px;
  background: var(--surface);
  transition: background 0.2s;
}
.faq-q:hover { background: var(--surface2); }
.faq-icon { font-size: 20px; color: var(--accent); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 16px 24px 20px;
  font-size: 14px; color: var(--text2); line-height: 1.75;
  border-top: 1px solid var(--border);
}
.faq-item.open .faq-a { display: block; }

/* ─── CTA Section ─── */
.cta-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 80px 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 16px; }
.cta-section p { font-size: 1.1rem; color: var(--text2); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Mega Dropdown ─── */
[data-dropdown]::after {
  content: ' ▾';
  font-size: 0.72em;
  opacity: 0.65;
  display: inline-block;
  transition: transform 0.22s;
  vertical-align: middle;
}
[data-dropdown].dd-active::after { transform: rotate(180deg); }

.mega-dropdown {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 998;
  background: rgba(8, 12, 20, 0.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 32px 64px rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.25s cubic-bezier(0.16,1,0.3,1),
              transform 0.25s cubic-bezier(0.16,1,0.3,1);
}
.mega-dropdown.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-dropdown-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 32px 40px 36px;
  overflow: hidden;
}
.mega-dropdown-content {
  animation-duration: 0.32s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mdSlideFromRight {
  from { opacity: 0; transform: translateX(56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mdSlideFromLeft {
  from { opacity: 0; transform: translateX(-56px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes mdFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.mega-heading {
  display: inline-block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.mega-heading:hover { color: #a78bfa; }
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
}
.mega-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.mega-col ul { display: flex; flex-direction: column; gap: 6px; }
.mega-col ul li a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text2);
  transition: color 0.18s, padding-left 0.18s;
  display: block;
  padding: 2px 0;
}
.mega-col ul li a:hover { color: var(--text); padding-left: 5px; }

/* ─── Mobile Nav ─── */
.mobile-nav {
  position: fixed; top: 72px; left: 0; right: 0; z-index: 999;
  background: rgba(7,7,15,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  display: none; flex-direction: column; gap: 16px;
  transform: translateY(-8px); opacity: 0;
  transition: 0.3s;
}
.mobile-nav.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-nav > a { font-size: 16px; font-weight: 500; color: var(--text2); }
.mobile-dropdown-group { display: flex; flex-direction: column; }
.mobile-dropdown-toggle {
  background: none; border: none;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 500;
  color: var(--text2); cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  padding: 0; text-align: left;
}
.mobile-dropdown-toggle .chevron { transition: transform 0.25s; font-size: 0.8em; }
.mobile-dropdown-toggle.open .chevron { transform: rotate(180deg); }
.mobile-dropdown-menu {
  display: none; flex-direction: column; gap: 10px;
  padding: 12px 0 4px 16px;
  border-left: 1px solid var(--border);
  margin-top: 10px;
}
.mobile-dropdown-menu.open { display: flex; }
.mobile-dropdown-menu a { font-size: 14px; color: var(--text2); transition: color 0.2s; }
.mobile-dropdown-menu a:hover { color: var(--text); }

/* ─── Availability dot ─── */
.avail-dot {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: #00e5a0;
  background: rgba(0,229,160,0.08); border: 1px solid rgba(0,229,160,0.2);
  padding: 6px 14px; border-radius: 100px;
}
.avail-dot::before {
  content:''; width:7px; height:7px; border-radius:50%;
  background:#00e5a0;
  box-shadow: 0 0 8px #00e5a0;
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(0.8); }
}

/* ─── Timeline ─── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content:''; position:absolute; left:0; top:8px; bottom:8px;
  width: 2px; background: linear-gradient(180deg, var(--accent), transparent);
}
.timeline-item { position:relative; padding-bottom:40px; }
.timeline-item::before {
  content:''; position:absolute; left:-36px; top:5px;
  width:10px; height:10px; border-radius:50%;
  background:var(--accent); box-shadow: 0 0 12px var(--glow);
}
.timeline-year { font-size:11px; font-weight:700; letter-spacing:0.1em; color:var(--accent); margin-bottom:6px; text-transform:uppercase; }
.timeline-title { font-size:17px; font-weight:700; margin-bottom:4px; }
.timeline-sub { font-size:13px; color:var(--muted); margin-bottom:8px; }
.timeline-desc { font-size:14px; color:var(--text2); line-height:1.7; }

/* ─── Form ─── */
.form-group { margin-bottom: 20px; }
.form-label { display:block; font-size:13px; font-weight:600; color:var(--text2); margin-bottom:8px; }
.form-input {
  width:100%;
  background:var(--surface);
  border:1px solid var(--border2);
  border-radius:var(--radius-sm);
  padding:14px 18px;
  font-size:14px; color:var(--text);
  font-family:'Plus Jakarta Sans',sans-serif;
  transition:border-color 0.2s, box-shadow 0.2s;
  outline:none;
  display:block;
  box-sizing:border-box;
}
.form-input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(124,92,252,0.12); }
.form-input::placeholder { color:var(--muted); }
textarea.form-input { resize:vertical; min-height:120px; }
select.form-input {
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a6a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:18px;
  padding-right:44px;
  cursor:pointer;
  color:var(--text);
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  section { padding: 72px 0; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); }
  .testi-grid  { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .section-header { margin-bottom: 48px; }
  .section-header h2 { font-size: 32px; }
}
@media (max-width: 700px) {
  .container   { padding: 0 20px; }
  .nav         { padding: 0 16px; width: 100%; max-width: 100vw; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; flex-shrink: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid  { grid-template-columns: repeat(2,1fr); }
  .stat-item   { padding: 28px 16px; }
  .stat-num    { font-size: 40px; }
  .cta-section { padding: 48px 24px; }
  .cta-section h2 { font-size: 28px; }
  .testi-card  { padding: 20px; }
  .faq-list    { padding: 0; }
}
@media (max-width: 480px) {
  .container   { padding: 0 16px; }
  section      { padding: 56px 0; }
  .btn         { padding: 13px 24px; font-size: 14px; }
  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 2px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-social { gap: 12px; }
}

/* ══════════════════════════════════════════
   PAGE-SPECIFIC COMPONENTS
   (Unified design system — all pages)
══════════════════════════════════════════ */

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ─── Shared Page Hero ─── */
.page-hero { padding:160px 0 80px; position:relative; overflow:hidden; }
.page-hero h1 { font-size:clamp(48px,6vw,80px); font-weight:900; letter-spacing:-0.03em; margin-bottom:16px; }
.page-hero p  { font-size:16px; color:var(--text2); max-width:520px; line-height:1.7; }

/* ─── HOME — Hero ─── */
.hero { min-height:100vh; display:flex; align-items:center; position:relative; overflow:hidden; padding-top:72px; }
.hero-orb1 { width:600px; height:600px; top:-100px; right:-150px; }
.hero-orb2 { width:400px; height:400px; bottom:-80px; left:-100px; }
#hero-canvas { position:absolute; inset:0; z-index:0; }
.hero-container {
  margin-left: max(48px, 5vw);
  margin-right: auto;
  max-width: 620px;
  text-align: left;
  z-index: 2;
  position: relative;
}
.hero-content { position:relative; z-index:2; max-width:100%; text-align:left; }
.hero-bottom  { position:relative; z-index:2; }
.hero-btns    { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:64px; }
.hero-btns .btn { font-size:15px; font-weight:600; letter-spacing:0.01em; text-transform:none; }
/* ── Hero blur-reveal animation ── */
@keyframes heroReveal {
  from { opacity:0; filter:blur(30px); transform:scale(1.02); }
  to   { opacity:1; filter:blur(0);    transform:scale(1); }
}
.hero-content > * {
  animation: heroReveal 2.2s cubic-bezier(0.16,1,0.3,1) both;
}
.hero-content > *:nth-child(1) { animation-delay: 0.05s; }
.hero-content > *:nth-child(2) { animation-delay: 0.18s; }
.hero-content > *:nth-child(3) { animation-delay: 0.32s; }
.hero-content > *:nth-child(4) { animation-delay: 0.46s; }
.hero-content > *:nth-child(5) { animation-delay: 0.58s; }

.hero-eyebrow { display:flex; align-items:center; gap:14px; margin-bottom:32px; font-family:'Plus Jakarta Sans', ui-monospace, Menlo, monospace; font-size:12px; font-weight:600; letter-spacing:0.06em; color:rgba(240,242,255,0.7); }
.avail-dot { color:#00e5a0; background:rgba(0,229,160,0.08); border:1px solid rgba(0,229,160,0.2); padding:5px 12px; border-radius:100px; font-family:inherit; font-size:inherit; font-weight:inherit; letter-spacing:inherit; }
/* ── Shimmer text keyframe ── */
@keyframes shimmerSlide {
  0%   { background-position: 200% center; }
  100% { background-position: -100% center; }
}

.hero h1 {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
  /* shimmer on line 1 */
  background: linear-gradient(
    90deg,
    #f0f2ff 0%,
    #f0f2ff 35%,
    rgba(255,255,255,1) 50%,
    #f0f2ff 65%,
    #f0f2ff 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSlide 8s linear infinite;
}
.hero h1 .line2 {
  display: block;
  background: linear-gradient(
    90deg,
    #a78bfa 0%,
    #a78bfa 30%,
    rgba(255,255,255,0.95) 50%,
    #818cf8 65%,
    #6366f1 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerSlide 8s linear infinite;
  animation-delay: 0.5s;
}
.hero-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  color: rgba(240,242,255,0.72);
  line-height: 1.75;
  letter-spacing: 0;
  max-width: 520px;
  margin-bottom: 44px;
}
.hero-sub-mobile { display: none; }
.hero-scroll { display:flex; align-items:center; gap:12px; font-size:12px; font-weight:700; letter-spacing:0.14em; text-transform:uppercase; color:var(--muted); font-family:'Plus Jakarta Sans', ui-monospace, Menlo, monospace; }
.scroll-line { width:40px; height:1px; background:linear-gradient(90deg,var(--accent),transparent); }

/* ─── HOME — COBE Globe ─── */
.hero-globe {
  position: absolute;
  right: 2vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(500px, 44vw);
  height: min(500px, 44vw);
  z-index: 1;
  touch-action: none;
  opacity: 0.85;
  pointer-events: auto;
}

#cobe-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

#cobe-canvas:active {
  cursor: grabbing;
}

/* City labels */
.cobe-label {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  white-space: nowrap;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  background: rgba(8,12,20,0.55);
  border: 1px solid rgba(124,58,237,0.4);
  padding: 2px 7px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  transition: opacity 0.3s;
  transform: translate(-50%, -130%);
  text-shadow: 0 0 8px rgba(124,58,237,0.6);
}

.cobe-label-arc {
  position: absolute;
  top: 0; left: 0;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(167,139,250,0.8);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/* ─── HOME — Marquee ─── */
.marquee-section { padding:32px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); overflow:hidden; max-width:100vw; width:100%; background:var(--bg2); }
.marquee-track { display:flex; gap:48px; animation:marquee 20s linear infinite; width:max-content; will-change:transform; }
@keyframes marquee { to{transform:translateX(-50%)} }
.marquee-item { display:flex; align-items:center; gap:12px; font-size:13px; font-weight:600; letter-spacing:0.06em; color:var(--muted); white-space:nowrap; }
.marquee-item .dot { color:var(--accent); }

/* ─── HOME — Services Features ─── */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }

/* ── Glowing border wrapper (Aceternity-style) ── */
.glow-wrap {
  position: relative;
  border-radius: var(--radius);
}
.glow-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius) + 2px);
  background: conic-gradient(
    from calc((var(--start, 0) - 40) * 1deg),
    transparent 0deg,
    rgba(167, 139, 250, 1) 70deg,
    rgba(99, 102, 241, 0.85) 100deg,
    transparent 130deg
  );
  /* Mask to border only — content-box punches a hole in the center */
  -webkit-mask: linear-gradient(#000 0 0) content-box,
                linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 3px;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
  z-index: 2;
}
.glow-wrap:hover::after { opacity: 1; }

.feature-card  { padding:36px 32px; height: 100%; }
.feature-icon  { width:52px; height:52px; border-radius:14px; margin-bottom:20px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,rgba(124,92,252,0.15),rgba(224,64,251,0.08)); border:1px solid rgba(124,92,252,0.2); color:#a78bfa; }
.feature-icon svg { flex-shrink:0; }
.feature-card h3 { font-size:18px; font-weight:700; margin-bottom:10px; }
.feature-card p  { font-size:14px; color:var(--text2); line-height:1.7; margin-bottom:16px; }
.feature-tags { display:flex; flex-wrap:wrap; gap:6px; }

/* ─── HOME — Work Cards ─── */
.work-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.work-card { overflow:hidden; cursor:pointer; }
.work-thumb { height:240px; position:relative; overflow:hidden; background:var(--surface2); border-radius:12px 12px 0 0; }
.work-thumb-img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.work-card:hover .work-thumb-img { transform:scale(1.07); }
.work-overlay { position:absolute; inset:0; background:linear-gradient(180deg,transparent 50%,rgba(7,7,15,0.95)); }
.work-num  { position:absolute; top:20px; left:20px; font-size:11px; font-weight:700; letter-spacing:0.12em; color:var(--accent); background:rgba(124,92,252,0.12); border:1px solid rgba(124,92,252,0.3); padding:4px 10px; border-radius:6px; }
.work-body { padding:24px 28px; }
.work-cat  { font-size:11px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--accent); margin-bottom:8px; }
.work-body h3 { font-size:20px; font-weight:700; margin-bottom:8px; }
.work-body p  { font-size:13px; color:var(--muted); margin-bottom:16px; line-height:1.6; }
.work-meta   { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; }
.work-tags   { display:flex; gap:6px; flex-wrap:wrap; }
.work-result { font-size:13px; font-weight:700; color:#00e5a0; display:flex; align-items:center; gap:6px; }
.work-result::before { content:'↑'; font-size:11px; }
.work-arrow  { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:var(--accent); margin-top:16px; transition:gap 0.2s; }
.work-card:hover .work-arrow { gap:10px; }
.cta-wrap { padding:0; }
.cta-wrap .orb { position:absolute; }
.cta-orb1 { width:300px; height:300px; background:rgba(124,92,252,0.15); top:-80px; right:-80px; }
.cta-orb2 { width:200px; height:200px; background:rgba(224,64,251,0.12); bottom:-40px; left:60px; }

/* ─── ABOUT — Split Layout ─── */
.about-split { display:grid; grid-template-columns:1fr 1fr; gap:80px; align-items:center; padding:80px 0; }
.about-visual { position:relative; display:flex; align-items:center; justify-content:center; }
.about-avatar-wrap { position:relative; width:340px; height:340px; }
.about-avatar { width:100%; height:100%; border-radius:28px; background:linear-gradient(135deg,var(--surface2),var(--surface)); border:1px solid var(--border2); display:flex; align-items:center; justify-content:center; font-size:120px; position:relative; overflow:hidden; }
.about-avatar::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(124,92,252,0.12),rgba(224,64,251,0.06)); }
.about-badge { position:absolute; bottom:-16px; right:-16px; background:var(--surface); border:1px solid var(--border2); border-radius:14px; padding:16px 20px; display:flex; align-items:center; gap:12px; }
.about-badge-icon { font-size:24px; }
.about-badge-text { font-size:12px; color:var(--muted); }
.about-badge-num  { font-size:20px; font-weight:800; color:var(--text); }
.about-float1 { position:absolute; top:-20px; right:-20px; background:var(--surface); border:1px solid var(--border2); border-radius:12px; padding:12px 16px; font-size:12px; font-weight:600; display:flex; align-items:center; gap:8px; }
.about-text h2 { font-size:38px; font-weight:800; margin-bottom:20px; line-height:1.2; }
.about-text p  { font-size:15px; color:var(--text2); line-height:1.8; margin-bottom:16px; }
.about-skills  { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }

/* ─── ABOUT — Team ─── */
.team-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.team-card { padding:28px; text-align:center; }
.team-avatar { width:72px; height:72px; border-radius:50%; margin:0 auto 16px; background:linear-gradient(135deg,var(--accent),var(--accent2)); display:flex; align-items:center; justify-content:center; font-size:26px; font-weight:700; color:#fff; }
.team-card h4    { font-size:16px; font-weight:700; margin-bottom:4px; }
.team-card .role { font-size:13px; color:var(--muted); margin-bottom:12px; }
.team-card p     { font-size:13px; color:var(--text2); line-height:1.65; }
.tl-wrap { max-width:680px; }
.tl-grid { display:grid; grid-template-columns:1fr 1fr; gap:40px; }

/* ─── ABOUT — Process ─── */
.process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.process-card { padding:28px 24px; border-radius:var(--radius); background:var(--surface); border:1px solid var(--border); position:relative; }
.process-num  { font-size:48px; font-weight:900; letter-spacing:-0.03em; -webkit-text-fill-color:rgba(124,92,252,0.2); position:absolute; top:16px; right:20px; line-height:1; }
.process-card h4 { font-size:16px; font-weight:700; margin-bottom:8px; }
.process-card p  { font-size:13px; color:var(--text2); line-height:1.65; }

/* ─── PORTFOLIO — Filter ─── */
.orb-h1 { width:500px; height:500px; top:-100px; right:-100px; }
.orb-h2 { width:300px; height:300px; bottom:-50px; left:-50px; }
.filter-bar { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:48px; }
.filter-btn { font-size:12px; font-weight:600; letter-spacing:0.06em; padding:8px 18px; border-radius:100px; border:1px solid var(--border2); color:var(--text2); background:transparent; cursor:pointer; transition:0.2s; }
.filter-btn.active, .filter-btn:hover { background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:0 0 16px var(--glow); }

/* ─── PORTFOLIO — Cards ─── */
.portfolio-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(340px,1fr)); gap:24px; }
.portfolio-card { cursor:pointer; overflow:hidden; display:flex; flex-direction:column; }
.portfolio-thumb { height:220px; background:var(--surface2); position:relative; overflow:hidden; border-radius:12px 12px 0 0; }
.thumb-visual { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:64px; letter-spacing:-4px; overflow:hidden; }
.thumb-visual img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 0.6s cubic-bezier(0.16,1,0.3,1); }
.portfolio-card:hover .thumb-visual img { transform:scale(1.08); }
.thumb-overlay { position:absolute; inset:0; background:linear-gradient(180deg,transparent 40%,rgba(7,7,15,0.96)); }
.thumb-cat    { position:absolute; top:16px; left:16px; font-size:10px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--accent); background:rgba(124,92,252,0.12); border:1px solid rgba(124,92,252,0.3); padding:4px 10px; border-radius:6px; }
.thumb-result { position:absolute; bottom:16px; right:16px; font-size:12px; font-weight:700; color:#00e5a0; background:rgba(0,229,160,0.1); border:1px solid rgba(0,229,160,0.25); padding:4px 10px; border-radius:6px; }
.portfolio-body    { padding:24px 24px 28px; flex:1; }
.portfolio-body h3 { font-size:18px; font-weight:700; margin-bottom:8px; }
.portfolio-body p  { font-size:13px; color:var(--text2); line-height:1.65; margin-bottom:16px; }
.portfolio-meta    { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-top:auto; }
.portfolio-tags    { display:flex; gap:6px; flex-wrap:wrap; }
.card-link { font-size:13px; font-weight:600; color:var(--accent); display:flex; align-items:center; gap:4px; transition:gap 0.2s; }
.portfolio-card:hover .card-link { gap:8px; }
.portfolio-featured { grid-column:1 / -1; display:grid; grid-template-columns:1.2fr 1fr; overflow:hidden; min-height:320px; }
.portfolio-featured .portfolio-thumb { height:100%; border-radius:12px 0 0 12px; }
.portfolio-featured .portfolio-body  { padding:40px; display:flex; flex-direction:column; justify-content:center; }
.portfolio-featured .portfolio-body h3 { font-size:24px; margin-bottom:12px; }
.portfolio-featured .portfolio-body p  { font-size:15px; }

/* ─── PORTFOLIO — Gallery Scroll ─── */
.gallery-section { background:var(--bg2); }
.gallery-scroll-track { display:flex; gap:20px; overflow-x:auto; padding-bottom:16px; scrollbar-width:thin; scrollbar-color:var(--border) transparent; }
.gallery-scroll-track::-webkit-scrollbar       { height:4px; }
.gallery-scroll-track::-webkit-scrollbar-track { background:transparent; }
.gallery-scroll-track::-webkit-scrollbar-thumb { background:var(--border2); border-radius:4px; }
.gallery-item { flex-shrink:0; width:280px; height:180px; border-radius:12px; overflow:hidden; background:var(--surface2); display:flex; align-items:center; justify-content:center; font-size:48px; position:relative; cursor:pointer; }
.gallery-item img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.gallery-item:hover img { transform:scale(1.07); }
.gallery-item::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(124,92,252,0.12),rgba(7,7,15,0.3)); border:1px solid var(--border); border-radius:12px; }

/* ─── CONTACT — Layout ─── */
.contact-layout  { display:grid; grid-template-columns:1fr 440px; gap:64px; align-items:start; }
.contact-details { display:flex; flex-direction:column; gap:20px; margin-bottom:48px; }
.contact-item    { display:flex; gap:16px; align-items:flex-start; padding:20px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); transition:var(--transition); }
.contact-item:hover { border-color:var(--border2); transform:translateX(4px); }
.contact-icon { width:44px; height:44px; border-radius:12px; flex-shrink:0; background:linear-gradient(135deg,rgba(124,92,252,0.15),rgba(224,64,251,0.08)); border:1px solid rgba(124,92,252,0.2); display:flex; align-items:center; justify-content:center; font-size:20px; }
.contact-item-label { font-size:11px; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.contact-item-val   { font-size:14px; font-weight:600; color:var(--text); }
.contact-item-val a { color:var(--text); transition:color 0.2s; }
.contact-item-val a:hover { color:var(--accent); }
.form-card     { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:36px; }
.form-card h3  { font-size:20px; font-weight:800; margin-bottom:6px; }
.form-card .sub { font-size:13px; color:var(--muted); margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-submit { width:100%; padding:14px; border:none; border-radius:12px; background:linear-gradient(135deg,var(--accent),var(--accent2)); color:#fff; font-size:15px; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; box-shadow:0 0 32px var(--glow); transition:opacity 0.2s,transform 0.2s; display:flex; align-items:center; justify-content:center; gap:8px; }
.form-submit:hover { opacity:0.88; transform:translateY(-2px); }
.success-msg { display:none; background:rgba(0,229,160,0.08); border:1px solid rgba(0,229,160,0.2); border-radius:var(--radius-sm); padding:16px 20px; color:#00e5a0; font-size:14px; font-weight:500; text-align:center; margin-top:16px; }
.process-mini { background:var(--bg2); border-top:1px solid var(--border); border-bottom:1px solid var(--border); padding:48px 0; }
.process-mini-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:var(--border); border-radius:var(--radius); overflow:hidden; }
.pm-item  { background:var(--surface); padding:24px; }
.pm-num   { font-size:11px; font-weight:700; letter-spacing:0.1em; color:var(--accent); margin-bottom:8px; }
.pm-title { font-size:15px; font-weight:700; margin-bottom:6px; }
.pm-desc  { font-size:13px; color:var(--muted); line-height:1.6; }

/* ─── PROJECT ─── */
.project-hero  { padding:140px 0 80px; position:relative; overflow:hidden; }
.project-breadcrumb { display:flex; align-items:center; gap:8px; font-size:12px; color:var(--muted); margin-bottom:32px; }
.project-breadcrumb a      { color:var(--muted); transition:color 0.2s; }
.project-breadcrumb a:hover { color:var(--accent); }
.project-breadcrumb span   { color:var(--border2); }
.project-hero-inner   { display:grid; grid-template-columns:1fr 380px; gap:64px; align-items:start; }
.project-hero-left h1 { font-size:clamp(36px,4.5vw,64px); font-weight:900; letter-spacing:-0.03em; margin-bottom:20px; line-height:1.1; }
.project-hero-left p  { font-size:16px; color:var(--text2); line-height:1.75; max-width:540px; margin-bottom:32px; }
.project-meta-box { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:28px; display:flex; flex-direction:column; gap:20px; }
.meta-row    { display:flex; flex-direction:column; gap:4px; }
.meta-label  { font-size:11px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); }
.meta-val    { font-size:14px; font-weight:600; color:var(--text); }
.meta-divider { height:1px; background:var(--border); }
.meta-result { background:linear-gradient(135deg,rgba(0,229,160,0.08),rgba(0,229,160,0.04)); border:1px solid rgba(0,229,160,0.2); border-radius:10px; padding:16px; text-align:center; }
.meta-result-num   { font-size:32px; font-weight:900; color:#00e5a0; margin-bottom:4px; }
.meta-result-label { font-size:12px; color:var(--text2); }
.project-cover { width:100%; height:420px; background:linear-gradient(135deg,#1a1a35,#0d0d25); border-radius:var(--radius); display:flex; align-items:center; justify-content:center; font-size:120px; position:relative; overflow:hidden; margin-bottom:80px; }
.project-cover::after { content:''; position:absolute; inset:0; background:linear-gradient(135deg,rgba(124,92,252,0.1),transparent); border:1px solid var(--border); border-radius:var(--radius); }
.project-body    { max-width:720px; }
.project-body h2 { font-size:28px; font-weight:800; margin:48px 0 16px; }
.project-body h3 { font-size:20px; font-weight:700; margin:32px 0 12px; color:var(--text2); }
.project-body p  { font-size:15px; line-height:1.85; color:var(--text2); margin-bottom:16px; }
.project-body ul { margin-left:0; margin-bottom:20px; display:flex; flex-direction:column; gap:10px; }
.project-body ul li { font-size:14px; color:var(--text2); line-height:1.7; padding-left:20px; position:relative; }
.project-body ul li::before { content:'→'; position:absolute; left:0; color:var(--accent); font-size:12px; top:2px; }
.highlight-box   { background:var(--surface); border:1px solid var(--border); border-left:3px solid var(--accent); border-radius:0 var(--radius-sm) var(--radius-sm) 0; padding:20px 24px; margin:24px 0; }
.highlight-box p { font-size:15px; font-style:italic; color:var(--text); margin:0; }
.project-img { width:100%; border-radius:var(--radius); overflow:hidden; background:var(--surface2); margin:32px 0; height:260px; display:flex; align-items:center; justify-content:center; font-size:64px; border:1px solid var(--border); }
.features-list { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin:24px 0; }
.fl-item    { padding:20px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); }
.fl-item h4 { font-size:14px; font-weight:700; margin-bottom:6px; }
.fl-item p  { font-size:13px; color:var(--text2); line-height:1.65; margin:0; }
.gallery-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:32px 0; }
.gallery-img  { height:160px; border-radius:var(--radius-sm); background:var(--surface2); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; font-size:36px; cursor:pointer; transition:transform 0.3s; overflow:hidden; position:relative; }
.gallery-img img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.gallery-img:hover { transform:scale(1.03); }
.gallery-img:hover img { transform:scale(1.07); }
.results-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:24px 0; }
.result-box   { padding:24px; text-align:center; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm); }
.result-box .num   { font-size:36px; font-weight:900; margin-bottom:6px; }
.result-box .label { font-size:12px; color:var(--muted); }
.green  { color:#00e5a0; }
.purple { color:#a78bfa; }
.pink   { color:#e879f9; }
.next-project { background:var(--bg2); border-top:1px solid var(--border); padding:64px 0; }
.next-inner   { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:24px; }
.next-label   { font-size:12px; font-weight:600; letter-spacing:0.1em; text-transform:uppercase; color:var(--muted); margin-bottom:8px; }
.next-title   { font-size:24px; font-weight:800; }

/* ─── Responsive — Page Components ─── */
@media (max-width: 900px) {
  section                { padding: 72px 0; }
  .section-header        { margin-bottom: 48px; }
  .section-header h2     { font-size: 32px; }

  /* ── Hero: stack text then globe ── */
  .hero {
    flex-direction: column;
    align-items: stretch;
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
    overflow-x: clip;
    overflow-y: visible;
  }
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    padding: 0 24px;
    width: 100%;
  }
  .hero-content          { max-width: 100%; }
  .hero h1               { font-size: clamp(2.4rem, 8vw, 3.8rem); line-height: 0.93; margin-bottom: 20px; }
  .hero-eyebrow          { margin-bottom: 20px; }
  .hero-sub              { font-size: 13px; line-height: 1.75; margin-bottom: 20px; }
  .hero-sub-desktop      { display: none; }
  .hero-sub-mobile       { display: block; }
  .hero-btns             { flex-direction: column; gap: 10px; margin-bottom: 20px; }
  .hero-btns .btn        { width: 100%; justify-content: center; text-align: center; }
  .hero-scroll           { display: none; }
  .hero-globe {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: min(320px, 85vw);
    height: min(320px, 85vw);
    margin: 0 auto;
    display: block;
  }


  .features-grid         { grid-template-columns: 1fr; }
  .work-grid             { grid-template-columns: 1fr; }
  .about-split           { grid-template-columns:1fr; gap:48px; padding:60px 0; }
  .about-visual          { justify-content:center; }
  .tl-grid               { grid-template-columns:1fr; }
  .team-grid             { grid-template-columns:1fr 1fr; }
  .process-grid          { grid-template-columns:1fr 1fr; }
  .portfolio-featured    { grid-template-columns:1fr; }
  .portfolio-featured .portfolio-thumb { height:220px; border-radius:12px 12px 0 0; }
  .contact-layout        { grid-template-columns:1fr; }
  .process-mini-grid     { grid-template-columns:1fr 1fr; }
  .project-hero-inner    { grid-template-columns:1fr; }
  .gallery-grid          { grid-template-columns:1fr 1fr; }
  .features-list         { grid-template-columns:1fr; }
  .results-grid          { grid-template-columns:1fr 1fr; }
}

@media (max-width: 600px) {
  .hero                  { padding-top: 72px; padding-bottom: 32px; }
  .hero > .container     { padding: 0 20px; }
  .hero h1               { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-sub              { font-size: 13px; }

  .page-hero             { padding: 120px 0 56px; }
  .page-hero h1          { font-size: clamp(36px,9vw,56px); }
  .about-avatar-wrap     { width: 280px; height: 280px; }
  .team-grid             { grid-template-columns:1fr; }
  .process-grid          { grid-template-columns:1fr; }
  .portfolio-grid        { grid-template-columns:1fr; }
  .filter-bar            { gap: 8px; }
  .filter-btn            { font-size: 11px; padding: 7px 14px; }
  .form-row              { grid-template-columns:1fr; }
  .process-mini-grid     { grid-template-columns:1fr; }
  .project-cover         { height: 240px; font-size: 72px; }
  .gallery-grid          { grid-template-columns:1fr; }
  .results-grid          { grid-template-columns:1fr; }
  .project-hero-left h1  { font-size: clamp(28px,7vw,44px); }
}

@media (max-width: 480px) {
  .hero                  { padding-top: 68px; padding-bottom: 24px; }
  .hero > .container     { padding: 0 16px; }
  .hero h1               { font-size: clamp(1.9rem, 11vw, 2.4rem); letter-spacing: -0.02em; }
  .hero-eyebrow          { font-size: 10px; gap: 8px; margin-bottom: 16px; }
  .hero-sub              { font-size: 12px; margin-bottom: 24px; }

  .about-split           { padding: 40px 0; }
  .about-avatar-wrap     { width: 240px; height: 240px; }
  .about-badge           { padding: 12px 14px; bottom: -12px; right: -8px; }
  .stat-num              { font-size: 36px; }
  .work-thumb            { height: 200px; }
  .portfolio-thumb       { height: 180px; }
  .cta-section           { padding: 40px 20px; }
  .cta-btns              { flex-direction: column; gap: 10px; }
  .cta-btns .btn         { width: 100%; justify-content: center; }
  .form-card             { padding: 24px 20px; }
  .project-cover         { height: 200px; font-size: 56px; margin-bottom: 48px; }
  .project-body h2       { font-size: 22px; margin: 32px 0 12px; }
  .process-card          { padding: 20px 16px; }
  .timeline              { padding-left: 24px; }
  .section-header h2     { font-size: 28px; }
  .section-header p      { font-size: 14px; }
  .container             { padding: 0 16px; }
  section                { padding: 56px 0; }
  .footer-bottom         { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-social         { gap: 12px; }
}
