/* ═══════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════ */
:root {
  --bg:          #1e1e1e;
  --bg-alt:      #242424;
  --bg-card:     #2a2a2a;
  --bg-card-h:   #313131;
  --accent:      #4f8bff;
  --accent-h:    #6fa1ff;
  --accent-2:    #7c5cfc;
  --success:     #00c896;
  --txt:         #ffffff;
  --txt-2:       #8892b0;
  --txt-3:       #515b78;
  --border:      rgba(255,255,255,0.07);
  --border-h:    rgba(79,139,255,0.35);
--shadow:      0 8px 32px rgba(0,0,0,0.4);
  --radius:      14px;
  --radius-lg:   22px;
  --ease:        0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }


html { scroll-behavior: smooth; }

/* ═══════════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════════ */
@media (pointer: fine) {
  * { cursor: url('../images/cursor5-glow.png') 18 14, auto !important; }
  a, button { cursor: url('../images/cursor5-glow.png') 18 14, pointer !important; }
}

.cursor-trail {
  position: fixed;
  width: 32px;
  height: 48px;
  background: url('images/cursor5-glow.png') center/contain no-repeat;
  pointer-events: none;
  z-index: 999990;
  transform: translate(-50%, -50%);
  transition: opacity 0.1s;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 600;
  background: var(--bg);
  color: var(--txt);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tool-pill img { width: 24px; height: 24px; object-fit: contain; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 110px 0; }

/* ═══════════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════════ */
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}
.section-head p {
  font-size: 16px;
  color: var(--txt-2);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   CARDS — shared base
═══════════════════════════════════════════════════ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-h);
  background: var(--bg-card-h);
  box-shadow: var(--shadow);
}

/* ═══════════════════════════════════════════════════
   TAGS
═══════════════════════════════════════════════════ */
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  background: rgba(79,139,255,0.1);
  border: 1px solid rgba(79,139,255,0.22);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 999;
  padding: 14px 0;
  background: rgba(30,30,30,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--ease), border-color var(--ease);
}
.navbar.scrolled {
  background: rgba(13,15,24,0.98);
  border-color: rgba(255,255,255,0.11);
}

.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.4px;
  white-space: nowrap;
  color: var(--txt);
}

.nav-links {
  display: flex;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--txt-2);
  transition: color var(--ease);
}
.nav-links a:hover { color: var(--txt); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-theme {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--txt-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--ease);
  font-size: 16px;
}
.btn-theme:hover { border-color: var(--accent); color: var(--accent); }

.btn-nav-contact {
  background: rgba(255,255,255,0.08);
  color: var(--txt);
  padding: 9px 22px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.18);
  transition: all var(--ease);
  white-space: nowrap;
}
.btn-nav-contact:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--txt);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
}

/* subtle radial colour bleeds */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 15% 55%, rgba(79,139,255,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 85% 20%, rgba(124,92,252,0.07) 0%, transparent 65%);
  pointer-events: none;
}

/* dot-grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 160px;
}

/* badge — line style */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: var(--txt-2);
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}
.badge-line {
  display: block;
  width: 36px;
  height: 1px;
  background: var(--txt-2);
  flex-shrink: 0;
}

/* heading */
.hero-text h1 {
  font-size: clamp(50px, 7.5vw, 88px);
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 10px;
  color: var(--txt);
}
.hero-text h1 .line1 {
  display: inline-block;
}
.name-muted {
  display: inline-block;
  color: #ffffff;
  margin-right: 12px;
}
.name-accent {
  display: inline-block;
  color: #6b7280;
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  transition: color 0.3s ease;
  cursor: default;
}
.name-accent:hover { color: #ffffff; }
.hero-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: var(--txt-2);
  margin-bottom: 18px;
  display: inline-block;
  perspective: 600px;
  transform-style: preserve-3d;
}
@keyframes flip-out {
  0%   { transform: rotateX(0deg); opacity: 1; }
  100% { transform: rotateX(-90deg); opacity: 0; }
}
@keyframes flip-in {
  0%   { transform: rotateX(90deg); opacity: 0; }
  100% { transform: rotateX(0deg); opacity: 1; }
}
.hero-subtitle.flipping-out { animation: flip-out 0.35s ease forwards; }
.hero-subtitle.flipping-in  { animation: flip-in  0.35s ease forwards; }
.hero-desc {
  font-size: 15px;
  color: var(--txt-2);
  max-width: 460px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--txt);
  border: 1.5px solid;
  transition: border-color var(--ease), background var(--ease), transform var(--ease);
}
.btn-primary {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
}
.btn-primary:hover {
  border-color: var(--txt);
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}
.btn-outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

/* profile photo */
.hero-photo {
  position: relative;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  overflow: hidden;
  background: #6f7684;
  flex-shrink: 0;
  animation: photo-float 4s ease-in-out infinite;
}
@keyframes photo-float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}
.photo-fallback {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  font-size: 90px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.35;
  border-radius: 50%;
}
/* sparkles */
.sparkle {
  position: absolute;
  color: var(--accent);
  pointer-events: none;
  z-index: 2;
  opacity: 0.3;
  font-style: normal;
}
/* gears — slow rotation */
.sp1 { top: 10%; left:  6%; font-size: 36px; animation: sp-rotate 18s linear infinite; opacity: 0.2; }
.sp4 { top: 55%; right: 5%; font-size: 54px; animation: sp-rotate 24s linear infinite reverse; opacity: 0.12; }
/* lightning — float */
.sp2 { top: 18%; right: 26%; font-size: 20px; animation: sp-float 3.5s ease-in-out infinite; animation-delay: 0.4s; opacity: 0.35; }
/* code brackets — pulse */
.sp3 { top: 70%; left: 35%; font-size: 18px; animation: sp-pulse 4s ease-in-out infinite; font-family: monospace; opacity: 0.3; }
.sp8 { top: 30%; right: 18%; font-size: 14px; animation: sp-pulse 5s ease-in-out infinite; animation-delay: 1s; font-family: monospace; opacity: 0.22; }
/* infinity — gentle float */
.sp5 { top: 82%; right: 20%; font-size: 24px; animation: sp-float 5s ease-in-out infinite; animation-delay: 1.5s; opacity: 0.28; }
/* arrow — horizontal drift */
.sp6 { top: 45%; left: 48%; font-size: 22px; animation: sp-drift 4s ease-in-out infinite; animation-delay: 0.8s; opacity: 0.25; }
/* loop — spin */
.sp7 { top: 78%; left: 12%; font-size: 20px; animation: sp-rotate 8s linear infinite; opacity: 0.25; }

/* tool logo floaters */
.sp-logo {
  opacity: 0.18;
  width: 48px;
  height: 48px;
  overflow: hidden;
}
.sp-logo img {
  width: 48px !important;
  height: 48px !important;
  object-fit: contain !important;
  border-radius: 10px;
  display: block;
}
.sp-zapier  { top: 5%;   right: 3%;   animation: sp-float 5s   ease-in-out infinite; animation-delay: 0s; }
.sp-ghl     { top: 25%;  right: 2%;   animation: sp-float 6s   ease-in-out infinite; animation-delay: 1.2s; }
.sp-n8n     { top: 45%;  right: 3%;   animation: sp-float 4.5s ease-in-out infinite; animation-delay: 0.6s; }
.sp-make    { top: 65%;  right: 2%;   animation: sp-float 5.5s ease-in-out infinite; animation-delay: 2s; }
.sp-monday  { top: 80%;  right: 3%;   animation: sp-float 5s   ease-in-out infinite; animation-delay: 1.8s; }
.sp-hubspot { top: 90%;  right: 20%;  animation: sp-float 6.5s ease-in-out infinite; animation-delay: 0.9s; }
.sp-claude  { top: 90%;  right: 40%;  animation: sp-float 4s   ease-in-out infinite; animation-delay: 1.5s; }

@media (max-width: 768px) {
  .sp-logo { display: none; }
}

@keyframes sp-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
@keyframes sp-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes sp-pulse {
  0%,100% { opacity: 0.22; transform: scale(1); }
  50%      { opacity: 0.5;  transform: scale(1.15); }
}
@keyframes sp-drift {
  0%,100% { transform: translateX(0); }
  50%      { transform: translateX(10px); }
}

/* ═══════════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════════ */
.services { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card { padding: 30px 28px; }
.service-icon {
  font-size: 30px;
  display: block;
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 14px;
}
.service-card ul { display: flex; flex-direction: column; gap: 7px; }
.service-card li {
  font-size: 14px;
  color: var(--txt-2);
  display: flex;
  align-items: center;
  gap: 9px;
}
.service-card li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════
   TOOLS MARQUEE
═══════════════════════════════════════════════════ */
.tools { padding: 90px 0; }
.tools .section-head { margin-bottom: 48px; }

.marquee-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.tool-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-2);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.tool-pill img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.tool-pill:hover { border-color: var(--accent); color: var(--txt); background: var(--bg-card-h); }
.tool-initial {
  width: 36px;
  height: 36px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}

/* ═══════════════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════════════ */
.portfolio { background: var(--bg-alt); }

.tab-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sub-tab-bar {
  display: none;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.sub-tab-bar.visible { display: flex; }
.sub-tab-btn {
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--txt-2);
  background: transparent;
  transition: all var(--ease);
}
.sub-tab-btn:hover { color: var(--txt); border-color: rgba(255,255,255,0.18); background: var(--bg-card); }
.sub-tab-btn.active {
  background: var(--bg-card);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}
.tab-btn {
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--txt-2);
  background: transparent;
  transition: all var(--ease);
}
.tab-btn:hover { color: var(--txt); border-color: rgba(255,255,255,0.18); background: var(--bg-card); }
.tab-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.port-card { overflow: hidden; }
.port-thumb {
  height: 210px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.port-thumb img { transition: transform 0.5s ease; }
.port-card:hover .port-thumb img { transform: scale(1.05); }

.port-body { padding: 22px 24px 24px; }
.port-body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
  margin-bottom: 10px;
}
.port-body p {
  font-size: 13.5px;
  color: var(--txt-2);
  line-height: 1.7;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.port-body p.expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.show-more-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  transition: color var(--ease);
}
.show-more-btn:hover { color: var(--accent-h); }

/* ═══════════════════════════════════════════════════
   CERTIFICATIONS
═══════════════════════════════════════════════════ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.cert-card { overflow: hidden; }
.cert-thumb {
  height: 195px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0e1330, #1a2258);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-thumb.cert-placeholder::after {
  content: 'Image coming soon';
  color: var(--txt-3);
  font-size: 13px;
}
.cert-badge-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: rgba(255,200,0,0.45);
  pointer-events: none;
  line-height: 1.4;
}
/* hide overlay when real img loads */
.cert-thumb img ~ .cert-badge-overlay { display: none; }

.cert-clickable { cursor: zoom-in; }
.cert-clickable:hover img { transform: scale(1.04); transition: transform 0.3s ease; }

/* ═══ LIGHTBOX ═══ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  width: auto;
  height: auto;
  cursor: default;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 36px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.lightbox-close:hover { opacity: 1; }

.resume-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.resume-modal.open { display: flex; }
.resume-modal iframe {
  width: 90vw;
  height: 90vh;
  border: none;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.cert-body { padding: 18px 20px 22px; }
.cert-body h3 { font-size: 14.5px; font-weight: 700; line-height: 1.4; margin-bottom: 7px; }
.cert-body > p { font-size: 12.5px; color: var(--txt-2); margin-bottom: 12px; }

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
.testimonials { background: var(--bg-alt); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.testi-card { padding: 26px 24px; }
.stars {
  color: #ffd93d;
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.testi-card > p {
  font-size: 13.5px;
  color: var(--txt-2);
  line-height: 1.78;
  font-style: italic;
  margin-bottom: 22px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; margin-bottom: 2px; }
.testi-author span   { font-size: 12px; color: var(--txt-2); }

/* ═══════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════ */
.stats-section {
  padding: 64px 0;
  background: linear-gradient(135deg, rgba(79,139,255,0.04) 0%, rgba(124,92,252,0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  text-align: center;
}
.stat-number {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(130deg, #fff 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.stat-star { font-size: 0.55em; vertical-align: middle; }
.stat-label { font-size: 14px; color: var(--txt-2); font-weight: 500; }

/* ═══════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-calendar h3,
.contact-links-col h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}
.calendar-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 32px;
  text-align: center;
  color: var(--txt-2);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.cal-icon { font-size: 48px; margin-bottom: 8px; }
.calendar-placeholder p { font-size: 14px; line-height: 1.7; max-width: 260px; }

.contact-links { display: flex; flex-direction: column; gap: 10px; }
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all var(--ease);
}
.contact-link:hover {
  border-color: var(--border-h);
  background: var(--bg-card-h);
  transform: translateX(5px);
}
.clink-icon { font-size: 22px; width: 36px; text-align: center; flex-shrink: 0; }
.contact-link strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.contact-link span   { font-size: 12px; color: var(--txt-2); }

/* ═══════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════ */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}
.footer-brand p { font-size: 14px; color: var(--txt-2); line-height: 1.7; max-width: 240px; }
.footer-nav h4, .footer-social h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--txt-3);
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { font-size: 14px; color: var(--txt-2); transition: color var(--ease); }
.footer-nav a:hover { color: var(--txt); }

.social-row { display: flex; gap: 8px; }
.social-btn {
  width: 36px;
  height: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--txt-2);
  transition: all var(--ease);
}
.social-btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--txt-3); }

/* ═══════════════════════════════════════════════════
   SCROLL-IN ANIMATIONS
═══════════════════════════════════════════════════ */
.animate-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.animate-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 1024px
═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid  { grid-template-columns: repeat(2,1fr); }
  .certs-grid     { grid-template-columns: repeat(2,1fr); }
  .testi-grid     { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 768px
═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(13,15,24,0.98);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 18px;
  }
  .btn-nav-contact { display: none; }
  .hamburger { display: flex; }

  .hero { padding: 100px 0 60px; }
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-photo {
    order: -1;
    width: 210px;
    height: 210px;
    margin: 0 auto;
  }
  .hero-desc  { margin: 0 auto 34px; }
  .hero-btns  { justify-content: center; }
  .badge      { justify-content: center; }

  .services-grid  { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .certs-grid     { grid-template-columns: 1fr; }
  .testi-grid     { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr; gap: 36px; }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-inner   { grid-template-columns: 1fr; gap: 32px; }

  .tab-btn { font-size: 12px; padding: 8px 14px; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE — 480px
═══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .section { padding: 72px 0; }
  .hero-photo { width: 175px; height: 175px; }
  .section-head h2 { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════
   LIGHT THEME
═══════════════════════════════════════════════════ */
[data-theme="light"] {
  --bg:       #f5f6fb;
  --bg-alt:   #edeef6;
  --bg-card:  #ffffff;
  --bg-card-h: #f4f5ff;
  --txt:      #0d0f18;
  --txt-2:    #4a5270;
  --txt-3:    #8892b0;
  --border:   rgba(0,0,0,0.08);
  --border-h: rgba(79,139,255,0.35);
  --shadow:   0 8px 32px rgba(0,0,0,0.12);
}
[data-theme="light"] .navbar        { background: rgba(245,246,251,0.92); }
[data-theme="light"] .navbar.scrolled { background: rgba(245,246,251,0.98); }
[data-theme="light"] .nav-links.open { background: rgba(245,246,251,0.98); }

[data-theme="light"] .hero::after {
  background-image: radial-gradient(circle, rgba(0,0,0,0.05) 1px, transparent 1px);
}
[data-theme="light"] .name-muted { color: rgba(13,15,24,0.45); }

[data-theme="light"] .btn-primary { border-color: rgba(0,0,0,0.3); }
[data-theme="light"] .btn-primary:hover { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.55); }
[data-theme="light"] .btn-outline  { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.12); }
[data-theme="light"] .btn-outline:hover { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.22); }
[data-theme="light"] .btn-nav-contact { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.14); }

[data-theme="light"] .stat-number {
  background: linear-gradient(130deg, #0d0f18 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
