:root {
  --bg: #0a0e17;
  --bg-alt: #0f1420;
  --bg-alt-translucent: rgba(15, 20, 32, 0.72);
  --card: #131a2b;
  --text: #e7eaf3;
  --text-muted: #929cb3;
  --border: #232b3f;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --accent: #22d3ee;
  --gold: #f59e0b;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); overflow-x: hidden; line-height: 1.6; position: relative; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
header, main, footer { position: relative; z-index: 1; }

/* NAVBAR */
.navbar { position: sticky; top: 0; background: rgba(10,14,23,0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { font-weight: 800; font-size: 1.3rem; color: var(--text); }
.logo span { color: var(--accent); }
.nav-links { display: flex; list-style: none; gap: 26px; }
.nav-link { position: relative; font-size: 0.94rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-link::after { content: ""; position: absolute; bottom: -6px; left: 0; width: 0%; height: 2px; background: var(--accent); transition: width 0.25s; }
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.menu-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--text); }

/* HERO */
.hero { padding: 90px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-hello { color: var(--accent); font-weight: 700; margin-bottom: 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,0.7); animation: pulse 2s infinite; display: inline-block; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.hero-text h1 { font-size: 3.4rem; font-weight: 800; line-height: 1.1; margin-bottom: 16px; color: var(--text); }
.hero-role { font-size: 1.3rem; font-weight: 700; color: var(--text-muted); margin-bottom: 20px; min-height: 34px; }
.role-static { color: var(--text); }
#typedText { color: var(--accent); }
.cursor { color: var(--accent); animation: blink 0.9s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-desc { color: var(--text-muted); max-width: 480px; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 14px 28px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; border: 2px solid transparent; cursor: pointer; font-family: inherit; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(99,102,241,0.35); }
.btn-outline { border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: #05131a; transform: translateY(-3px); }
.btn-full { width: 100%; text-align: center; }
.btn-whatsapp { display: inline-flex; align-items: center; gap: 10px; background: #25D366; color: #05130a; }
.btn-whatsapp:hover { background: #1fb955; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37,211,102,0.3); }

.social-icons { display: flex; gap: 16px; flex-wrap: wrap; }
.social-icons a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border); color: var(--text-muted); transition: 0.2s; }
.social-icons a:hover { background: var(--accent); color: #05131a; border-color: var(--accent); transform: translateY(-3px); }

.hero-photo-col { position: relative; display: flex; align-items: center; justify-content: center; }
.blob-shape { position: absolute; width: 340px; height: 340px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; animation: morph 8s ease-in-out infinite; z-index: 0; opacity: 0.85; }
@keyframes morph {
  0%, 100% { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
  50% { border-radius: 45% 55% 40% 60% / 55% 40% 60% 40%; }
}
.hero-photo { position: relative; z-index: 1; width: 320px; height: 380px; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,0.5); border: 2px solid var(--border); }

.floating-card { position: absolute; z-index: 2; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.4); display: flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 600; color: var(--text); animation: floaty 4s ease-in-out infinite; }
.floating-card-1 { top: 10px; left: -20px; animation-delay: 0s; }
.floating-card-2 { bottom: 20px; right: -20px; animation-delay: -2s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.fc-number { background: var(--accent); color: #05131a; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; flex-shrink: 0; }

/* STATS BAND */
.stats-band {
  position: relative;
  background: linear-gradient(90deg, rgba(99,102,241,0.12), rgba(34,211,238,0.08));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 34px 0;
}
.stats-band-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-block .stat-number { font-size: 2.4rem; }
.stat-block .stat-label { font-size: 0.85rem; }
.stat-block + .stat-block { border-left: 1px solid var(--border); }

/* REVEAL */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* SECTIONS */
.section { padding: 90px 0; }
.section-alt { background: var(--bg-alt-translucent); }
.eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 10px; }
.eyebrow.center { text-align: center; }
.section-title { font-size: 2rem; font-weight: 800; margin-bottom: 40px; text-align: center; color: var(--text); }
.section-title-left { text-align: left; margin-bottom: 20px; }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; display: flex; align-items: center; justify-content: center; }
.about-blob { position: absolute; width: 280px; height: 280px; background: linear-gradient(135deg, var(--accent), var(--primary)); border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; z-index: 0; opacity: 0.85; }
.about-image img { position: relative; z-index: 1; width: 280px; height: 320px; object-fit: cover; border-radius: 20px; box-shadow: 0 24px 48px rgba(0,0,0,0.5); border: 2px solid var(--border); }
.about-text { color: var(--text-muted); margin-bottom: 16px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { display: inline-flex; align-items: center; gap: 8px; background: rgba(34,211,238,0.08); border: 1px solid rgba(34,211,238,0.25); color: var(--accent); padding: 7px 14px; border-radius: 30px; font-size: 0.82rem; font-weight: 600; }
.tag i { font-size: 0.8rem; }

/* CURRENTLY */
.now-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.now-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s; }
.now-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 14px 30px rgba(0,0,0,0.35); }
.now-icon { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(34,211,238,0.2)); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 14px; }
.now-card h3 { font-size: 1rem; margin-bottom: 8px; color: var(--text); }
.now-card p { color: var(--text-muted); font-size: 0.9rem; }

/* SKILLS MARQUEE */
.marquee-wrap { overflow: hidden; width: 100%; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marqueeLeft 28s linear infinite; will-change: transform; }
.marquee-track-reverse { animation: marqueeRight 28s linear infinite; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--border); padding: 10px 20px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; color: var(--text); white-space: nowrap; transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s; }
.badge i { font-size: 1rem; color: var(--accent); transition: color 0.2s; }
.badge:hover { background: var(--primary); color: #fff; transform: translateY(-4px); box-shadow: 0 10px 24px rgba(99,102,241,0.35); }
.badge:hover i { color: #fff; }

/* SERVICES */
.services-brand { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--accent); margin-bottom: 8px; }
.services-title { margin-bottom: 0; }
.services-title span { color: var(--accent); }
.services-tagline { text-align: center; color: var(--text-muted); max-width: 560px; margin: 0 auto 44px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-bottom: 60px; }
.service-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(0,0,0,0.4); border-color: var(--accent); }
.service-icon { font-size: 1.8rem; margin-bottom: 12px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; }

/* PROCESS */
.process-header { text-align: center; margin-bottom: 30px; }
.process-title { font-size: 1.4rem; font-weight: 800; color: var(--text); margin-top: 6px; }
.process-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-bottom: 44px; }
.process-step { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 26px 24px; }
.process-step::before { content: ""; position: absolute; left: 24px; top: 0; width: 30px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 0 0 4px 4px; }
.step-num { display: block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 10px; }
.process-step h4 { font-size: 1.05rem; color: var(--text); margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.9rem; }

.services-offer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(34,211,238,0.1)); border: 1px solid var(--border); border-radius: 16px; padding: 30px 34px; margin-bottom: 18px; }
.offer-text h3 { font-size: 1.15rem; margin-bottom: 6px; color: var(--text); }
.offer-text p { color: var(--text-muted); font-size: 0.92rem; }
.services-phone { text-align: center; color: var(--text-muted); font-size: 0.92rem; }
.services-phone strong { color: var(--text); }

/* PROJECTS */
.project-row { display: grid; grid-template-columns: 80px 1fr 260px; gap: 30px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; margin-bottom: 26px; transition: transform 0.25s, border-color 0.25s; }
.project-row:hover { border-color: var(--primary); }
.project-row:last-child { margin-bottom: 0; }
.project-number { font-size: 3rem; font-weight: 800; color: var(--border); line-height: 1; }
.project-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 12px; border-radius: 30px; background: rgba(34,211,238,0.12); color: var(--accent); border: 1px solid rgba(34,211,238,0.3); margin-bottom: 10px; }
.project-badge-gold { background: rgba(245,158,11,0.12); color: var(--gold); border-color: rgba(245,158,11,0.35); }
.project-category { color: var(--text-muted); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.project-info h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 10px; color: var(--text); }
.project-tech { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.project-desc { color: var(--text-muted); margin-bottom: 14px; }
.project-features { list-style: none; margin-bottom: 18px; }
.project-features li { color: var(--text-muted); padding: 4px 0 4px 20px; position: relative; }
.project-features li::before { content: "▸"; position: absolute; left: 0; color: var(--accent); }
.project-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); }
.project-link svg { transition: transform 0.2s; }
.project-link:hover svg { transform: translateX(4px); }
.project-visual { border-radius: 16px; overflow: hidden; display: flex; }
.project-visual-img { width: 100%; height: 100%; min-height: 180px; object-fit: contain; background: #fff; border-radius: 16px; padding: 20px; border: 1px solid var(--border); }
.project-visual-generic { background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(34,211,238,0.2)); border: 1px solid var(--border); min-height: 180px; align-items: center; justify-content: center; }
.project-visual-icon { font-size: 4rem; color: #fff; opacity: 0.9; }

/* TABS */
.tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 50px; }
.tab-btn { background: var(--card); border: 1px solid var(--border); color: var(--text-muted); padding: 10px 24px; border-radius: 30px; font-weight: 600; cursor: pointer; transition: 0.2s; font-family: inherit; font-size: 0.95rem; }
.tab-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tab-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* TIMELINE */
.timeline-zigzag { position: relative; max-width: 760px; margin: 0 auto; }
.timeline-zigzag::before { content: ""; position: absolute; top: 0; left: 50%; width: 2px; height: 100%; background: linear-gradient(var(--primary), var(--accent)); transform: translateX(-50%); z-index: 0; }
.tz-item { display: grid; grid-template-columns: 1fr 48px 1fr; align-items: start; gap: 0 24px; margin-bottom: 44px; position: relative; }
.tz-item:last-child { margin-bottom: 0; }
.tz-icon { grid-column: 2; width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); z-index: 2; font-size: 1rem; }
.tz-content { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.tz-content:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,0.4); border-color: var(--accent); }
.tz-item.left .tz-content { grid-column: 1; text-align: right; }
.tz-item.right .tz-content { grid-column: 3; text-align: left; }
.tz-content h4 { color: var(--text); margin: 4px 0 8px; font-size: 1.02rem; }
.tz-content p { color: var(--text-muted); font-size: 0.9rem; }
.timeline-date { color: var(--accent); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; }
.edu-card .edu-logo { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; margin-bottom: 10px; }
.tz-item.left .edu-logo { margin-left: auto; }
.tz-item.right .edu-logo { margin-right: auto; }
.edu-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 0.85rem; margin-top: 10px; }
.edu-link:hover { text-decoration: underline; }

/* CERTIFICATIONS */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cert-card { background: var(--card); border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 10px; padding: 20px; transition: transform 0.25s, box-shadow 0.25s; }
.cert-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,0.4); }
.cert-card h4 { font-size: 1rem; margin-bottom: 6px; color: var(--text); }
.cert-issuer { font-weight: 700; font-size: 0.88rem; color: var(--accent); }
.cert-date { color: var(--text-muted); font-size: 0.82rem; }

.cert-card-featured {
  position: relative;
  border-left-color: var(--gold);
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(99,102,241,0.06));
  grid-column: span 2;
}
.cert-card-featured h4 { font-size: 1.15rem; }
.cert-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.35);
  padding: 4px 10px;
  border-radius: 30px;
  margin-bottom: 12px;
}
.cert-featured-badge i { font-size: 0.7rem; }
.cert-card-featured .cert-issuer { color: var(--gold); }
.cert-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 10px 0 14px;
  line-height: 1.55;
}
.cert-verify-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
}
.cert-verify-link:hover { text-decoration: underline; }
.cert-cta {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.cert-cta .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* TESTIMONIALS */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.testimonial-card { position: relative; background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 30px 26px 24px; transition: transform 0.25s, border-color 0.25s; }
.testimonial-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.quote-mark { width: 32px; height: 32px; color: var(--primary); opacity: 0.7; margin-bottom: 14px; }
.testimonial-card blockquote { color: var(--text); font-size: 0.98rem; line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.testimonial-card figcaption strong { display: block; color: var(--accent); font-size: 0.9rem; }
.testimonial-card figcaption span { color: var(--text-muted); font-size: 0.82rem; }

/* FAQ */
.faq-container { max-width: 820px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s; }
.faq-item[open] { border-color: var(--accent); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 1rem; color: var(--text); cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--accent); transition: transform 0.25s; font-size: 0.85rem; flex-shrink: 0; }
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-item p { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.94rem; }

/* CTA BAND */
.cta-band {
  position: relative;
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(34,211,238,0.12));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-title { font-size: 1.7rem; font-weight: 800; color: var(--text); margin-bottom: 8px; max-width: 520px; }
.cta-sub { color: var(--text-muted); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-detail { margin: 20px 0; }
.contact-label { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.copy-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.copy-btn { background: var(--primary); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; font-weight: 600; font-size: 0.82rem; cursor: pointer; transition: background 0.2s; font-family: inherit; }
.copy-btn:hover { background: var(--primary-dark); }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 32px; }
.form-group { position: relative; margin-bottom: 22px; }
.form-group input, .form-group textarea { width: 100%; padding: 14px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 0.95rem; background: var(--bg); color: var(--text); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group label { position: absolute; left: 14px; top: 14px; color: var(--text-muted); font-size: 0.95rem; pointer-events: none; transition: 0.2s ease all; background: var(--card); padding: 0 4px; }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label { top: -9px; left: 10px; font-size: 0.78rem; color: var(--accent); }
.form-status { margin-top: 14px; font-size: 0.9rem; color: var(--accent); min-height: 1.2em; }

/* Credly inline link */
.credly-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.credly-inline-link:hover { color: var(--primary); }
.credly-inline-link i { font-size: 1rem; }

/* FOOTER */
.footer { border-top: 1px solid var(--border); padding: 40px 0 30px; color: var(--text-muted); font-size: 0.9rem; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer-brand .logo { font-size: 1.15rem; }
.footer-brand p { font-size: 0.85rem; margin-top: 6px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 0.82rem; padding-top: 12px; border-top: 1px solid var(--border); width: 100%; }

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 10px 24px rgba(99,102,241,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s, background 0.2s;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* FOCUS */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.6rem; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions, .social-icons { justify-content: center; }
  .hero-photo-col { margin-top: 40px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image { margin-bottom: 20px; }
  .project-row { grid-template-columns: 1fr; }
  .project-number { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .services-offer { flex-direction: column; text-align: center; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .stats-band-inner { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .stat-block + .stat-block { border-left: none; }
}

@media (max-width: 700px) {
  .timeline-zigzag::before { left: 22px; }
  .tz-item { grid-template-columns: 44px 1fr; gap: 0 16px; }
  .tz-icon { grid-column: 1; }
  .tz-item.left .tz-content, .tz-item.right .tz-content { grid-column: 2; text-align: left; }
  .tz-item.left .edu-logo, .tz-item.right .edu-logo { margin-left: 0; margin-right: auto; }
  .cert-card-featured { grid-column: span 1; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 40px; }
  .hero-text h1 { font-size: 2.1rem; }
  .hero-role { font-size: 1.05rem; }
  .hero-photo { width: 240px; height: 300px; }
  .blob-shape { width: 270px; height: 270px; }
  .floating-card { font-size: 0.72rem; padding: 8px 12px; }
  .floating-card-1 { left: -4px; top: 4px; }
  .floating-card-2 { right: -4px; bottom: 10px; }
  .fc-number { width: 24px; height: 24px; font-size: 0.68rem; }
  .about-image img { width: 240px; height: 280px; }
  .about-blob { width: 240px; height: 240px; }
  .stat-block .stat-number { font-size: 1.9rem; }
  .section { padding: 60px 0; }
  .section-title { font-size: 1.6rem; }
  .btn { padding: 12px 22px; font-size: 0.9rem; }
  .contact-form { padding: 22px; }
  .services-offer { padding: 22px; }
  .project-row { padding: 22px; }
  .faq-item summary { padding: 16px 18px; font-size: 0.94rem; }
  .faq-item p { padding: 0 18px 16px; }
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
  .cta-title { font-size: 1.35rem; }
}

@media (max-width: 768px) {
  .nav-links { position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: center; gap: 0; border-bottom: 1px solid var(--border); display: none; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-link { display: block; padding: 14px 0; }
  .menu-toggle { display: flex; }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track, .marquee-track-reverse { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .pulse-dot { animation: none !important; }
}