:root {
  --bg-main: #020617;
  --bg-elevated: #020617;
  --bg-card: #020617;
  --accent: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.25);
  --accent-strong: rgba(22, 163, 74, 0.95);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: rgba(148, 163, 184, 0.25);
  --nav-height: 72px;
  --radius-xl: 1.5rem;
  --radius-full: 999px;
  --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.75);
  --transition-fast: 0.2s ease;
  --transition-med: 0.35s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 50%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
}

/* Layout helpers */
.container {
  width: min(1120px, 100% - 3rem);
  margin: 0 auto;
}

.section {
  padding: 6rem 0 4rem;
}

.section-title {
  font-size: clamp(1.9rem, 2.3vw, 2.3rem);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-intro {
  max-width: 640px;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

/* Top Nav */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.nav-container {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--accent) 0, #16a34a 40%, #0f172a 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #020617;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.85);
}
.logo-text{
  font-size: 1.5rem;    
  font-weight: 700;     
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  font-size: 1.1rem;    
  font-weight: 700;    
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent), #4ade80);
  transition: width var(--transition-fast);
}
.domain-tags {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.tag {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #a7f3d0;
  font-size: 0.9rem;
  backdrop-filter: blur(8px);
}


.nav-link:hover {
  color: #e5e7eb;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: #e5e7eb;
}

/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
}

/* Hero */
.hero {
  padding: 4.5rem 0 5rem;
}

.hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.4fr);
  gap: 3.25rem;
  align-items: center;
}

.hero-content {
  padding-top: 1.5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.4);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent);
  color: #bbf7d0;
  margin-bottom: 0.85rem;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-title span {
  background: linear-gradient(to right, #a7f3d0, #22c55e);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), border-color var(--transition-fast),
    color var(--transition-fast);
}

.primary-btn {
  background: radial-gradient(circle at top left, #4ade80, #16a34a);
  color: #022c22;
  box-shadow: 0 16px 40px rgba(34, 197, 94, 0.35);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 60px rgba(34, 197, 94, 0.55);
}

.outline-btn {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
}

.outline-btn:hover {
  border-color: var(--accent);
  color: #bbf7d0;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent);
}

.full-width {
  width: 100%;
}

/* Hero socials */
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.85rem;
}

.hero-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  color: var(--text-muted);
  text-decoration: none;
  backdrop-filter: blur(14px);
  background: rgba(15, 23, 42, 0.8);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    transform var(--transition-fast), color var(--transition-fast);
}

.hero-socials a:hover {
  border-color: var(--accent);
  color: #e5e7eb;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.9);
  transform: translateY(-1px);
}

/* dummy “icons” */
.icon-github::before,
.icon-linkedin::before {
  font-size: 0.95rem;
}

.icon-github::before {
  content: "";
  font-family: "Font Awesome 5 Brands", system-ui;
}

.icon-linkedin::before {
  content: "";
  font-family: "Font Awesome 5 Brands", system-ui;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glow-ring {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 50%;
}

.glow-ring::before {
  content: "";
  position: absolute;
  inset: -6px; /* gives breathing space so it never clips */
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    rgba(34, 197, 94, 0.1),
    rgba(74, 222, 128, 0.8),
    rgba(34, 197, 94, 1),
    rgba(22, 163, 74, 0.8),
    rgba(34, 197, 94, 0.1)
  );
  animation: sweep 6s linear infinite;
}
@keyframes sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


.glow-ring-inner {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at top, #1f2937 0, #020617 55%, #020617 100%);
  border: 1px solid rgba(148, 163, 184, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.profile-actions {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.profile-btn {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
  border: 1px solid rgba(148, 163, 184, 0.4);
}
.profile-actions {
  margin-top: 1.2rem;
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  
}

.profile-actions .btn {
  padding: 0.55rem 1.3rem;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
}
.profile-actions .btn:hover {
  transform: translateY(-2px);
}

/* Resume — slightly stronger emphasis */
.resume-btn {
  background: rgba(34, 197, 94, 0.18);
  color: #bbf7d0;
  border-color: rgba(34, 197, 94, 0.815);
  
}

.resume-btn:hover {
  background: rgba(34, 197, 94, 0.28);
  box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
}

/* CV — quieter, academic tone */
.cv-btn {
  background: rgba(15, 23, 42, 0.85);
  color: #e5e7eb;
}

.cv-btn:hover {
  border-color: #22c55e;
  color: #bbf7d0;
  transform: translateY(-1px);
}

.hero-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  filter: contrast(1.05) saturate(1.05);
}

.hero-docs {
  margin-top: 1.2rem;
  display: flex;
  gap: 0.5rem;

  /* This is the key */
  justify-content: flex-end;
  width: 100%;
}

.doc-btn {
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.doc-btn.primary {
  background: radial-gradient(circle at top left, #4ade80, #16a34a);
  color: #022c22;
  box-shadow: 0 12px 30px rgba(34, 197, 94, 0.35);
}

.doc-btn.outline {
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.85);
}
.education-text {
  padding-left: 1rem;
  padding-right: 5rem;
}

.status-card {
  position: absolute;
  bottom: 1.3rem;
  right: -0.4rem;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.6);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.9);
}

.status-card .dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.9);
}

.status-label {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.status-value {
  font-weight: 500;
  color: #e5e7eb;
}

/* About section */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.about-card {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), #020617);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.about-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 26px 65px rgba(15, 23, 42, 0.95);
}

/*Education */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr; /* image slightly dominant */
  align-items: center;
  gap: 4rem;
  padding: 2rem 0;
  background: radial-gradient(
    circle at left,
    rgba(89, 201, 130, 0.873),
    transparent 60%
  );
}
.about-content h2 {
  position: relative;
}

.about-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, #22c55e, #4ade80);
}
.about h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}



/* Push text inward */
.about-content {
  padding-left: 7rem; /* <-- THIS moves text right */
}


/* Initial hidden states */
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-80px);
  transition: transform 0.9s cubic-bezier(.2,.9,.3,1),
              opacity 0.9s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(80px);
  transition: transform 0.9s cubic-bezier(.2,.9,.3,1),
              opacity 0.9s ease;
}

/* Active state */
.reveal-active {
  opacity: 1;
  transform: translateX(0);
}

/* Optional polish */
.about-image img {
  width: 100%;
  max-width: 500px;   /* increase image size */
  border-radius: 18px;
  box-shadow: 0 5px 5px rgba(89, 201, 130, 0.688);
}
.about-image {
  flex: 1.0;                  /* give image more space */
  display: flex;
  justify-content: center;
}


/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.skills-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition-med), border-color var(--transition-med),
    box-shadow var(--transition-med);
}

.skills-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.65rem;
}

.skills-card ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.skills-card li {
  margin-bottom: 0.3rem;
}

.skills-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.95);
}

/* =========================
   Skills Galaxy (Green Theme)
   ========================= */

.skills-galaxy {
  position: relative;
}

.skills-galaxy-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.2rem;
}

.skill-pill {
  position: relative;
  padding: 0.9rem 1.2rem;
  border-radius: 1.2rem;
  background: linear-gradient(
    145deg,
    rgba(34, 197, 94, 0.14),
    rgba(15, 23, 42, 0.9)
  );
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #bbf7d0;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 10px 30px rgba(15, 23, 42, 0.9),
    inset 0 0 0 rgba(34, 197, 94, 0.0);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* Hover effect = galaxy glow */
.skill-pill:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: var(--accent);
  box-shadow:
    0 20px 60px rgba(34, 197, 94, 0.35),
    0 0 40px rgba(34, 197, 94, 0.25);
}

/* subtle floating feel */
@media (prefers-reduced-motion: no-preference) {
  .skill-pill {
    animation: floatSkill 6s ease-in-out infinite;
  }
  .skill-pill:nth-child(even) {
    animation-delay: 1.5s;
  }
}

@keyframes floatSkill {
  0% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}

/*Additional*/
/* ===== Skills Galaxy ===== */


/* Lucide icons */
.skill-pill svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
}

/* Hover glow */
.skill-pill:hover {
  transform: translateY(-2px);
  border-color: #22c55e;
  box-shadow:
    0 0 14px rgba(34, 197, 94, 0.55),
    0 0 32px rgba(34, 197, 94, 0.25);
}

/* Soft Skills */
.soft-skills {
  margin-top: 4rem;
}

.soft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.soft-card {
  position: relative;
  padding: 2rem;
  border-radius: 1.25rem;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.12),
    rgba(15, 23, 42, 0.9)
  );
  border: 1px solid rgba(34, 197, 94, 0.35);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.soft-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 60px rgba(34, 197, 94, 0.25);
}

.soft-card i {
  width: 20px;
  height: 28px;
  color: #e5e7eb; /* white icons */
  margin-bottom: 1rem;
}

.soft-card h3 {
  font-size: 1.0rem;
  margin-bottom: 0.5rem;
  color: #e5e7eb;
}

.soft-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 720px) {
  .soft-grid {
    grid-template-columns: 1fr;
  }
}


/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.project-card {
  position: relative;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), #020617);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 1.5rem 1.6rem 1.3rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    border-color var(--transition-med);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  opacity: 0;
  background: radial-gradient(circle at top, rgba(74, 222, 128, 0.1), transparent 60%);
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 28px 75px rgba(15, 23, 42, 0.95);
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  color: #bbf7d0;
  margin-bottom: 0.7rem;
}

.project-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.project-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
}

.project-meta span {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.project-links {
  display: flex;
  gap: 0.9rem;
}

.project-links a {
  font-size: 0.85rem;
  color: #a5b4fc;
  text-decoration: none;
}

.project-links a:hover {
  text-decoration: underline;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr);
  gap: 1.8rem;
}

.contact-card,
.contact-form {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.7rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  font-size: 1.02rem;
  margin-bottom: 0.6rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.contact-list {
  list-style: none;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-list li {
  margin-bottom: 0.35rem;
}

.contact-list a {
  color: #a5b4fc;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}
/*new form*/
.google-form-wrapper {
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(34, 197, 94, 0.35);
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.google-form-wrapper iframe {
  border-radius: 12px;
}

/* Form */
.form-group {
  margin-bottom: 0.8rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.7);
  background: rgba(15, 23, 42, 1);
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
}

/* Footer */
.footer {
  border-top: 1px solid rgba(148, 163, 184, 0.4);
  padding: 1.5rem 0 2rem;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.9), #020617 60%);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-small {
  opacity: 0.8;
}

/* Animations */
@keyframes rotateRing {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: left;
  }

  .hero-socials {
    justify-content: flex-start;
  }

  .about-grid,
  .skills-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 2rem, 100%);
  }

  .nav-links {
    position: absolute;
    inset: var(--nav-height) 1rem auto;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 1.1rem;
    padding: 0.9rem 1.2rem 1.1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.4);
    transform-origin: top right;
    transform: scaleY(0.6);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-med), opacity var(--transition-med);
  }

  .nav-links.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-grid,
  .skills-grid,
  .projects-grid {
    grid-template-columns: 1fr;
  }

  .status-card {
    right: 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}
/* =========================
  HERO: Light Mesh (Option 1) + Neon Ink Cursor (consolidated)
  Replace the previous appended mesh/cursor CSS with this block.
  ========================= */

/* ---------- Canvas mesh (full-viewport, behind content) ---------- */
#mesh-canvas {
  position: fixed;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  width: 100vw;
  height: 100vh;
  pointer-events: none;     /* never block clicks */
  z-index: 0;               /* behind page content (ensure main/header z-index > 0) */
  display: block;
  opacity: 0.98;
  mix-blend-mode: screen;
  will-change: transform;
  background: transparent;
}

/* make sure hero section is relative so any hero-scoped canvas (if used) aligns */
section.hero {
  position: relative;
  overflow: visible;
}

/* ensure primary layout sits above canvas */
header, main, .top-nav, .container {
  position: relative;
  z-index: 5;
}

/* small helper to hide canvas via class (JS may apply) */
.mesh-hidden { display: none !important; }

/* ---------- Neon Ink Cursor (single element: #neon-cursor) ---------- */
#neon-cursor {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 999px;
  z-index: 1200;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  transition: transform 160ms cubic-bezier(.2,.9,.3,1), width 160ms, height 160ms, opacity 160ms;
  opacity: 0; /* hidden until first move - JS should add .visible */
  background: radial-gradient(circle at 35% 30%, #b7ffd7 0%, #22c55e 25%, rgba(34,197,94,0.12) 60%, transparent 100%);
  border: 1px solid rgba(167,243,208,0.65);
  box-shadow:
    0 0 6px rgba(34,197,94,0.85),
    0 0 20px rgba(34,197,94,0.35),
    0 0 40px rgba(34,197,94,0.18);
  backface-visibility: hidden;
}

/* inner glow + soft blur comes from pseudo-element */
#neon-cursor::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%,
      rgba(167,243,208,0.95) 0%,
      rgba(34,197,94,0.18) 18%,
      rgba(22,163,74,0.06) 45%,
      transparent 65%);
  filter: blur(0.4px);
  pointer-events: none;
}

/* small dark 'ink' dot in center for contrast */
#neon-cursor::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(7,10,6,0.98);
  box-shadow: 0 0 8px rgba(34,197,94,0.9), 0 0 14px rgba(34,197,94,0.45);
  pointer-events: none;
}

/* .visible — JS should add this on first mousemove to show cursor */
#neon-cursor.visible {
  opacity: 1;
}

/* .cursor-large — JS toggles this while hovering interactive elements */
#neon-cursor.cursor-large {
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%) scale(1.02);
  box-shadow:
    0 0 10px rgba(34,197,94,0.95),
    0 0 30px rgba(34,197,94,0.5),
    0 0 70px rgba(34,197,94,0.18);
}

/* Utility: hide cursor forcefully (JS can add) */
#neon-cursor.cursor-hidden {
  opacity: 0 !important;
  pointer-events: none;
}

/* Interaction convenience — when hovering interactive elements we recommend JS set cursor-large.
   BUT we keep a simple CSS selector fallback to slightly scale if :hover on parent affects sibling (rare).
*/
a:hover ~ #neon-cursor,
button:hover ~ #neon-cursor,
.btn:hover ~ #neon-cursor {
  transform: translate(-50%, -50%) scale(1.18);
  opacity: 1;
}

/* ---------- Accessibility / performance / responsive ---------- */
/* disable custom cursor + mesh on touch or coarse pointers */
@media (hover: none), (pointer: coarse) {
  #neon-cursor { display: none !important; }
  #mesh-canvas { display: none !important; }
}
/* Add this to your style.css */
.hero-socials .social-icon {
    /* Set the size of your icon */
    width: 30px; 
    height: 30px; 
    /* Ensure it aligns well with the text */
    vertical-align: middle; 
}

/* Typewriter Cursor Effect */
#typewriter-name {
    /* Optional: Ensure the span is treated as inline-block to manage the cursor */
    display: inline-block; 
}

#typewriter-name::after {
    content: '|'; /* The cursor symbol */
    display: inline;
    animation: blink 0.8s infinite;
    font-weight: 300; /* Match font weight of your text */
    color: #09ff01; /* Use your main text color */
}

/* Define the blinking animation */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}