:root {
  --bg: #070b16;
  --bg-soft: #0d1424;
  --text: #e9f0ff;
  --muted: #a2b1d1;
  --neon-a: #00eaff;
  --neon-b: #8b5cf6;
  --neon-c: #1e90ff;
  --card: rgba(18, 27, 47, 0.45);
  --border: rgba(160, 200, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: radial-gradient(circle at 20% 20%, #111d3c 0%, var(--bg) 45%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 15% 25%, rgba(0, 234, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.1), transparent 35%);
  pointer-events: none;
  z-index: -3;
}

body::-webkit-scrollbar {
  width: 11px;
}

body::-webkit-scrollbar-track {
  background: #091224;
}

body::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(var(--neon-a), var(--neon-b));
  box-shadow: 0 0 16px rgba(0, 234, 255, 0.75);
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(61, 110, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 110, 255, 0.09) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
  pointer-events: none;
  z-index: -2;
  animation: gridPulse 9s ease-in-out infinite;
}

.bg-orb {
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: 0.35;
}

.orb-1 {
  top: -90px;
  left: -40px;
  background: var(--neon-a);
  animation: orbMoveA 14s ease-in-out infinite;
}

.orb-2 {
  bottom: 0;
  right: -60px;
  background: var(--neon-b);
  animation: orbMoveB 16s ease-in-out infinite;
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.32);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto 80px;
}

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 2rem;
}

.navbar {
  position: sticky;
  top: 12px;
  z-index: 100;
  width: min(1120px, 92%);
  margin: 0 auto;
  border-radius: 16px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
}

.navbar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 40%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 234, 255, 0.9), transparent);
  animation: navSweep 5.2s linear infinite;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  text-shadow: 0 0 14px rgba(0, 234, 255, 0.8);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
  color: var(--text);
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
}

.hero-content {
  width: min(1120px, 92%);
  margin: 7rem auto 2rem;
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.hero-name {
  background: linear-gradient(90deg, #ecf6ff 10%, #8be9ff 45%, #c29bff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 24px rgba(120, 215, 255, 0.22);
}

.hero-panel {
  border-radius: 16px;
  padding: 1rem;
  animation: cardFloatIn 0.8s ease both;
  position: relative;
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 229, 255, 0.26), transparent 72%);
}

.hero-panel h3 {
  margin: 0 0 0.8rem;
}

.hero-mini-tags {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-mini-tags span {
  border: 1px solid rgba(128, 214, 255, 0.32);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  font-size: 0.74rem;
  color: #c7ebff;
  background: rgba(17, 36, 70, 0.6);
}

.hero-stats {
  display: grid;
  gap: 0.6rem;
}

.hero-stat {
  border: 1px solid rgba(130, 210, 255, 0.28);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  background: rgba(15, 30, 56, 0.55);
}

.hero-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero-stat strong {
  color: #dff4ff;
}

.page-hero {
  width: min(1120px, 100%);
  margin: 6.5rem auto 1rem;
  padding: 1.6rem;
  border-radius: 18px;
  border: 1px solid rgba(118, 164, 255, 0.16);
  background: linear-gradient(120deg, rgba(20, 34, 65, 0.65), rgba(15, 21, 43, 0.55));
  isolation: isolate;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -30% auto auto -8%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 234, 255, 0.24), transparent 70%);
  filter: blur(2px);
  animation: floatBlob 9s ease-in-out infinite;
  z-index: -1;
}

.page-title {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(2rem, 4.7vw, 3.2rem);
  max-width: none;
}

.hero-kicker {
  color: var(--neon-a);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.86rem;
}

h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.12;
  margin: 0.5rem 0;
  max-width: 15ch;
}

.hero-sub {
  max-width: 58ch;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.hero-marquee-wrap {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid rgba(128, 214, 255, 0.25);
  border-radius: 999px;
  background: rgba(12, 26, 50, 0.55);
}

.hero-marquee {
  display: inline-flex;
  gap: 1rem;
  white-space: nowrap;
  padding: 0.45rem 0.8rem;
  animation: marqueeMove 16s linear infinite;
}

.hero-marquee span {
  font-size: 0.8rem;
  color: #cbecff;
}

.hero-floating-cards {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  justify-content: flex-end;
}

.floating-card {
  border-radius: 12px;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  color: #d9f0ff;
  animation: badgeFloat 3.2s ease-in-out infinite;
}

.floating-card:nth-child(2) {
  animation-delay: 0.6s;
}

.hero-badges {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.hero-badge {
  border: 1px solid rgba(129, 209, 255, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  color: #c4e9ff;
  background: rgba(12, 28, 52, 0.65);
  animation: badgeFloat 4s ease-in-out infinite;
}

.hero-badge:nth-child(2) {
  animation-delay: 0.5s;
}

.hero-badge:nth-child(3) {
  animation-delay: 1s;
}

.btn {
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-c), var(--neon-b));
  box-shadow: 0 0 16px rgba(82, 169, 255, 0.6);
}

.btn-outline {
  border: 1px solid var(--border);
  background: rgba(20, 35, 70, 0.34);
}

.section {
  margin-top: 2.5rem;
  padding: 2rem;
  border-radius: 18px;
  background: rgba(10, 16, 30, 0.6);
  border: 1px solid rgba(118, 164, 255, 0.16);
  position: relative;
  overflow: hidden;
}

.section::after {
  content: "";
  position: absolute;
  left: -20%;
  top: 0;
  width: 40%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 234, 255, 0.85), transparent);
  animation: sweepLine 7s linear infinite;
  pointer-events: none;
}

.section::before {
  content: "";
  position: absolute;
  right: -35px;
  top: -35px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px dashed rgba(111, 211, 255, 0.35);
  animation: spinSlow 14s linear infinite;
  opacity: 0.5;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 1rem;
}

.landing-card {
  text-decoration: none;
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid rgba(126, 203, 255, 0.24);
  color: #eaf2ff;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.landing-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

.landing-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.landing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(109, 234, 255, 0.95);
  box-shadow: 0 0 18px rgba(90, 184, 255, 0.25);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.project-card {
  border-radius: 14px;
  padding: 0.9rem;
  border: 1px solid rgba(133, 205, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

.project-logo {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid rgba(128, 202, 255, 0.3);
  background: rgba(13, 24, 47, 0.7);
}

.project-logo-missing {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px dashed rgba(128, 202, 255, 0.4);
  color: var(--muted);
  display: none;
  place-items: center;
  text-align: center;
  font-size: 0.78rem;
  padding: 0.5rem;
}

.project-apk {
  width: 100%;
  text-align: center;
}

.project-links {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.project-link {
  text-align: center;
}

h2 {
  margin-top: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.section-tag {
  margin-top: -0.2rem;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.2rem;
}

.about-photo-wrap {
  border-radius: 20px;
  padding: 0.75rem;
  display: grid;
  place-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-photo-wrap:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 0 20px rgba(42, 190, 255, 0.45);
}

.about-photo {
  width: min(240px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid transparent;
  background: linear-gradient(var(--bg-soft), var(--bg-soft)) padding-box,
    linear-gradient(135deg, var(--neon-a), var(--neon-b)) border-box;
}

.about-photo-wrap.image-missing::before {
  content: "Add image at About/my_photo.jpg";
  color: var(--muted);
  font-size: 0.9rem;
}

.about-photo-wrap.image-missing .about-photo {
  display: none;
}

.about-text {
  border-radius: 16px;
  padding: 1rem 1.1rem;
}

.about-text p {
  color: #d5def1;
  line-height: 1.75;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.exp-org-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  padding-left: 0;
}

.exp-org-grid::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--neon-a), transparent);
  opacity: 0.8;
}

.exp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.exp-tab {
  border: 1px solid rgba(125, 195, 255, 0.35);
  background: rgba(17, 32, 60, 0.62);
  color: #d8ecff;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exp-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 14px rgba(95, 180, 255, 0.25);
}

.exp-tab.active {
  border-color: rgba(120, 236, 255, 0.95);
  box-shadow: 0 0 16px rgba(86, 193, 255, 0.35);
}

.exp-org-card {
  border-radius: 14px;
  padding: 1.1rem;
  border: 1px solid rgba(134, 201, 255, 0.28);
  animation: cardFloatIn 0.7s ease both;
  animation-delay: calc(var(--i, 0) * 90ms);
  display: block;
  background: linear-gradient(160deg, rgba(18, 30, 55, 0.75), rgba(10, 16, 30, 0.9));
  position: relative;
  margin-left: 30px;
}

.exp-org-card.active {
  display: block;
}

.exp-org-card::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-a);
  box-shadow: 0 0 15px var(--neon-a);
}

.exp-role-list {
  margin-top: 0.95rem;
  display: grid;
  gap: 0.85rem;
  border-left: 2px solid rgba(114, 190, 255, 0.35);
  margin-left: 6px;
  padding-left: 1rem;
}

.exp-role-item {
  border: 1px solid rgba(132, 190, 255, 0.25);
  border-radius: 12px;
  padding: 0.75rem;
  background: rgba(15, 27, 52, 0.65);
  position: relative;
}

.exp-role-item::before {
  content: "";
  position: absolute;
  left: -1.52rem;
  top: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--neon-a);
  box-shadow: 0 0 10px rgba(0, 234, 255, 0.8);
}

.exp-role-item p {
  margin: 0.45rem 0 0;
  color: #dce8ff;
  line-height: 1.6;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--neon-a), transparent);
  opacity: 0.8;
}

.timeline-item {
  margin-left: 30px;
  position: relative;
  border-radius: 14px;
  padding: 1rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(143, 200, 255, 0.15);
  animation: cardFloatIn 0.7s ease both;
  animation-delay: calc(var(--i, 0) * 60ms);
}

.timeline-item:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 230, 255, 0.8);
  box-shadow: 0 0 28px rgba(67, 170, 255, 0.24);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 22px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon-a);
  box-shadow: 0 0 15px var(--neon-a);
}

.entry-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.entry-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  border: 1px solid rgba(143, 200, 255, 0.35);
  background: rgba(19, 30, 60, 0.7);
  padding: 0.25rem;
}

.entry-title {
  font-weight: 700;
}

.entry-meta {
  color: var(--muted);
  font-size: 0.94rem;
}

.skills-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.skill-card {
  padding: 1rem;
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: cardFloatIn 0.65s ease both;
  animation-delay: calc(var(--i, 0) * 55ms);
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(76, 182, 255, 0.2);
}

.skill-list {
  margin: 0.7rem 0 0;
  padding-left: 0;
  color: #d9e5ff;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.skill-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.skill-cat-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(138, 215, 255, 0.35);
  background: rgba(19, 38, 71, 0.65);
  display: grid;
  place-items: center;
  color: #98ecff;
  box-shadow: 0 0 14px rgba(0, 234, 255, 0.18);
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(16, 29, 55, 0.42);
  border: 1px solid rgba(121, 185, 255, 0.2);
  border-radius: 10px;
  padding: 0.42rem 0.55rem;
}

.skill-item i {
  width: 16px;
  color: #7ee8ff;
}

.meter {
  margin-top: 0.65rem;
  height: 8px;
  border-radius: 999px;
  background: rgba(145, 190, 255, 0.2);
  overflow: hidden;
}

.meter > span {
  display: block;
  height: 100%;
  width: var(--level, 70%);
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b));
  box-shadow: 0 0 12px rgba(0, 234, 255, 0.85);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-top: 1rem;
}

.cert-card {
  border-radius: 16px;
  padding: 1.05rem;
  border: 1px solid rgba(143, 200, 255, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: linear-gradient(150deg, rgba(21, 34, 66, 0.7), rgba(11, 17, 33, 0.9));
  position: relative;
  overflow: hidden;
  animation: cardFloatIn 0.75s ease both;
  animation-delay: calc(var(--i, 0) * 50ms);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(102, 232, 255, 0.85);
  box-shadow: 0 0 26px rgba(91, 163, 255, 0.26);
}

.cert-card::after {
  content: "";
  position: absolute;
  inset: -30% auto auto -20%;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 234, 255, 0.22), transparent 70%);
  pointer-events: none;
}

.cert-issuer {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  color: #c6edff;
  border: 1px solid rgba(128, 214, 255, 0.4);
  background: rgba(17, 37, 74, 0.6);
}

.cert-image {
  margin-top: 0.7rem;
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(143, 200, 255, 0.35);
  background: rgba(12, 20, 40, 0.7);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.cert-card:hover .cert-image {
  transform: scale(1.015);
  box-shadow: 0 0 20px rgba(103, 184, 255, 0.28);
}

.cert-image.missing {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.social-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

.social {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
  background: rgba(12, 22, 43, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 600;
  animation: softPop 0.55s ease both;
}

.social i {
  font-size: 1.05rem;
}

.social:hover {
  transform: translateY(-3px);
  border-color: rgba(108, 225, 255, 0.95);
  box-shadow: 0 0 16px rgba(106, 182, 255, 0.45);
}

.contact-cta-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 0.9rem;
}

.contact-cta-card {
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-cta-card h3 {
  margin: 0;
  font-size: 1rem;
  color: #d4e5ff;
}

.contact-cta-main,
.contact-cta-sub {
  min-width: 210px;
}

.contact-panel {
  margin-top: 1rem;
  border-radius: 16px;
  padding: 1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.fx-particles {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}

.fx-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(133, 231, 255, 1), rgba(133, 231, 255, 0));
  opacity: 0.45;
  animation: particleRise linear infinite;
}

.fx-rings {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.fx-ring {
  position: absolute;
  border: 1px solid rgba(131, 215, 255, 0.16);
  border-radius: 50%;
  animation: ringPulse ease-in-out infinite;
}

.fx-streaks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.fx-streak {
  position: absolute;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(120, 229, 255, 0.85), rgba(255, 255, 255, 0));
  transform: rotate(-32deg);
  animation: streakMove linear infinite;
  opacity: 0.4;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--neon-a), var(--neon-b));
  box-shadow: 0 0 12px rgba(0, 234, 255, 0.85);
  z-index: 9999;
}

.edu-meta-list p {
  margin: 0.38rem 0;
  color: #d7e6ff;
}

.edu-meta-list strong {
  color: #9de7ff;
}

.cert-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 20, 0.84);
  backdrop-filter: blur(7px);
  display: grid;
  place-items: center;
  z-index: 10000;
  padding: 1rem;
}

.cert-modal-image {
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  border-radius: 14px;
  border: 1px solid rgba(120, 210, 255, 0.5);
  box-shadow: 0 0 30px rgba(55, 176, 255, 0.4);
}

.cert-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  border: 1px solid rgba(152, 214, 255, 0.5);
  background: rgba(11, 26, 54, 0.8);
  color: #e9f0ff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.site-footer {
  width: min(1120px, 92%);
  margin: 0 auto 24px;
  padding: 0.9rem 1rem;
  text-align: center;
  color: var(--muted);
  border: 1px solid rgba(130, 200, 255, 0.2);
  border-radius: 12px;
  background: rgba(10, 18, 34, 0.55);
}

@keyframes particleRise {
  0% {
    transform: translateY(100vh) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-20vh) scale(1.15);
    opacity: 0;
  }
}

@keyframes sweepLine {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes orbMoveA {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.15); }
}

@keyframes orbMoveB {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, -25px) scale(1.12); }
}

@keyframes navSweep {
  0% { transform: translateX(0); }
  100% { transform: translateX(360%); }
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(24px) translateX(12px); }
}

@keyframes spinSlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.6; }
}

@keyframes ringPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.2; }
  50% { transform: scale(1.05); opacity: 0.45; }
}

@keyframes streakMove {
  0% {
    transform: translate(-20vw, -10vh) rotate(-32deg);
    opacity: 0;
  }
  20% {
    opacity: 0.45;
  }
  100% {
    transform: translate(120vw, 120vh) rotate(-32deg);
    opacity: 0;
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes marqueeMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-35%); }
}

@keyframes cardFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    filter: blur(1px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes softPop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 900px) {
  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-floating-cards {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(260px, 90vw);
    background: rgba(13, 21, 40, 0.92);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    display: none;
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
  }

  .contact-cta-grid {
    grid-template-columns: 1fr;
  }
}
