:root {

  
  --neon: #D0FD1B;
  --neon-dim: rgba(208, 253, 27, 0.15);
  --neon-glow: 0 0 18px rgba(208, 253, 27, 0.6), 0 0 40px rgba(208, 253, 27, 0.25);
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #161616;
  --text: #ffffff;
  --muted: #888;
  --card-bg: #141414;
  --radius: 12px;

  

  /* -- Accent Shifting to Monochromatic White 
--neon: #f8f9fa; 
  --neon-dim: rgba(255, 255, 255, 0.07);
  --neon-glow: 0 0 12px rgba(255, 255, 255, 0.3), 0 0 30px rgba(255, 255, 255, 0.1);
  --bg: #0d0e11;        
  --bg2: #14161a;       
  --bg3: #1b1e24;       
  --card-bg: #131519;   
  --text: #ffffff;      
  --muted: #7e8693;     
  --radius: 12px;

  -- */
}

/* ── LIGHT MODE PALETTE ── */
body.light-mode {
  --neon: #6b9b00;
  --neon-dim: rgba(107, 155, 0, 0.12);
  --neon-glow: 0 0 14px rgba(107, 155, 0, 0.35), 0 0 30px rgba(107, 155, 0, 0.15);
  --bg: #f6f6f1;
  --bg2: #ececE3;
  --bg3: #e2e2d8;
  --text: #16181c;
  --muted: #5c6067;
  --card-bg: #ffffff;
}

/* Smooth site-wide crossfade when the bulb is clicked */
body,
.navbar,
.project-card,
.skill-card,
.contact-form .form-control,
.contact-form textarea.form-control,
footer,
#education {
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* Targeted fixes for hardcoded colors so text stays readable on the light background */
body.light-mode .nav-link { color: #333 !important; }
body.light-mode .nav-link:hover { color: var(--neon) !important; }
body.light-mode .navbar { background: rgba(246, 246, 241, 0.9); border-bottom-color: rgba(107, 155, 0, 0.15); }
body.light-mode .navbar-toggler { border-color: var(--neon); }
body.light-mode .navbar-toggler-icon { background-color: var(--neon); }
body.light-mode .hero-desc { color: #444; }
body.light-mode .hero-socials a { color: #999; }
body.light-mode .hero-socials a:hover { color: var(--neon); }
body.light-mode .project-card { border-color: rgba(0, 0, 0, 0.08); }
body.light-mode .project-card:hover { border-color: rgba(107, 155, 0, 0.35); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); }
body.light-mode .project-desc { color: #555; }
body.light-mode .project-github-link { color: #888; }
body.light-mode .project-img span[style] {
  background: rgba(255, 255, 255, 0.85) !important;
  color: #555 !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}
body.light-mode .skill-card { border-color: rgba(0, 0, 0, 0.06); }
body.light-mode .skill-name { color: #555; }
body.light-mode .skill-bar-track { background: rgba(0, 0, 0, 0.08); }
body.light-mode .timeline-school { color: #555; }
body.light-mode .timeline-desc { color: #777; }
body.light-mode .contact-info-label { color: #888; }
body.light-mode .contact-info-icon { border-color: rgba(107, 155, 0, 0.25); }
body.light-mode .contact-form .form-control,
body.light-mode .contact-form textarea.form-control { border-color: rgba(0, 0, 0, 0.1); }
body.light-mode .contact-form .form-control::placeholder { color: #999; }
body.light-mode #contact p[style] { color: #666 !important; }
body.light-mode footer { border-top-color: rgba(0, 0, 0, 0.06); color: #999; }
body.light-mode footer span { color: var(--neon); }

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

/*
.mono-img {
  filter: grayscale(100%) contrast(1.2) brightness(0.95);
}

 */

html {
  scroll-behavior: smooth;
}

#projects,
#skills,
#education,
#contact {
  scroll-margin-top: 84px;
}

/* Large value forces the browser to clamp scroll to the true page top (0)
   instead of stopping at #home's own offset, so the sticky navbar and the
   hanging bulb above it aren't cut off when jumping to Home */
#home {
  scroll-margin-top: 300px;
}

.highlight {
  color:var(--neon); /* neon green */
  /*font-weight: bold;        /* optional, makes it stand out */
}


body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
}

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

/* ── NAVBAR ── */
.navbar {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(208, 253, 27, 0.12);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--neon) !important;
  letter-spacing: 2px;
}

.nav-link {
  color: #ccc !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem !important;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--neon);
  border-radius: 99px;
  transition: width 0.3s, left 0.3s;
}

.nav-link:hover {
  color: var(--neon) !important;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.navbar-toggler {
  border-color: var(--neon);
}

.navbar-toggler-icon {
  /* Use the SVG as a mask stencil (we remove the hardcoded stroke color) */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='black' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;

  /* Now you can link your variable directly! */
  background-color: var(--neon); 
}

/* ── HANGING BULB THEME TOGGLE ── */
.bulb-toggle-wrap {
  position: relative;
  height: 0;
  z-index: 999;
}

.bulb-toggle {
  position: absolute;
  top: 0;
  left: 42%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding-top: 46px;
  user-select: none;
  outline: none;
}

.bulb-cord {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #555);
  transform: translateX(-50%);
}

.bulb-cap {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 12px;
  height: 6px;
  background: #3a3a3a;
  border-radius: 2px 2px 0 0;
  transform: translateX(-50%);
}

.bulb-toggle #bulbIcon {
  transform: scaleY(-1);
  font-size: 2.1rem;
  line-height: 1;
  color: #ffffff; /* White fill */
  transition: color 0.4s ease, filter 0.4s ease, transform 0.25s ease;
  filter: drop-shadow(0 0 0 transparent);
}

.bulb-toggle:hover #bulbIcon {
  color: var(--neon);
  transform: scaleY(-1);
}

.bulb-toggle:focus-visible #bulbIcon {
  color: var(--neon);
}

.bulb-label {
  font-size: 0.6rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #666;
  margin-top: 5px;
  transition: color 0.4s ease;
  white-space: nowrap;
}

/* Lit state — light mode is active */
body.light-mode .bulb-toggle #bulbIcon {
  color: #000000;
  filter: drop-shadow(0 0 0 transparent);
}

body.light-mode .bulb-toggle:hover #bulbIcon {
  color: var(--neon);
}

body.light-mode .bulb-label {
  color: #333333;;
}

body.light-mode .bulb-cord {
  background: linear-gradient(to bottom, transparent, #999);
}

@media (max-width: 991px) {
  .bulb-toggle {
    left: auto;
    right: 60px;
    transform: none;
    padding-top: 30px;
  }
  .bulb-cord { height: 24px; }
  .bulb-cap { top: 22px; }
  .bulb-toggle #bulbIcon { font-size: 1.6rem; }
}

/* ── HERO ── */
#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 10px 0 10px;
}

/* Ambient background blob */
#home::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(208, 253, 27, 0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

#home::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(208, 253, 27, 0.04) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon);
  border: 1px solid rgba(208, 253, 27, 0.4);
  padding: 4px 14px;
  border-radius: 99px;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.6s ease both;
}

.hero-greeting {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  color: var(--muted);
  font-style: italic;
  margin-bottom: 0.4rem;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1rem, 5vw, 5rem);
  line-height: 0.9;
  letter-spacing: 2px;
  animation: fadeUp 0.7s ease 0.2s both;
}


.hero-name span {
  color: var(--neon);
}

.hero-desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: #aaa;
  max-width: 500px;
  margin: 1.5rem 0;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: fadeUp 0.7s ease 0.3s both;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.4s both;
}

.btn-neon {
  background: var(--neon);
  color: #000;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 99px;
  border: none;
  transition: box-shadow 0.3s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-neon:hover {
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
  color: #000;
}

.btn-outline-neon {
  background: transparent;
  color: var(--neon);
  border: 1.5px solid var(--neon);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 11px 28px;
  border-radius: 99px;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
}

.btn-outline-neon:hover {
  background: var(--neon-dim);
  box-shadow: var(--neon-glow);
  transform: translateY(-2px);
  color: var(--neon);
}

.hero-socials {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  animation: fadeUp 0.7s ease 0.5s both;
}

.hero-socials a {
  color: #666;
  font-size: 1.2rem;
  transition: color 0.2s, transform 0.2s;
}

.hero-socials a:hover {
  color: var(--neon);
  transform: translateY(-3px);
}

/* ── HERO COLLAGE SECTION ── */
/* ═══════════════════════════════════════════════════════════ */
/* EASY POSITIONING CONFIG - EDIT THESE VALUES BELOW! */
/* ═══════════════════════════════════════════════════════════ */

/* FLOATING LOGO 1 ( css Icon) */
.collage-float-1 {
  top: 42%;
  left: 58%;
  width: 110px;
  height: 95px;
  --rotate: -15deg;
}

/* FLOATING LOGO 2 (Top Center - bootsrap) */
.collage-float-2 {
  top: 12% ;
  left: 19%;
  width: 60px;
  height: 60px;
  --rotate: 30deg;;
}

/* FLOATING LOGO 3 (node js) */
.collage-float-3 {
  top: 11%;
  right: 52% ;
  left: auto;
  width: 100px ;
  height: 100px ;
  --rotate: -20deg;
}

/* RIGHT SIDE FLOATING LOGO 1 (pngwing_4.png) */
.collage-float-right-1 {
  top: 13%;
  right: 32%;
  left: auto;
  width: 90px;
  height: 85px;
}

/* RIGHT SIDE FLOATING LOGO 2 (image_2.png) */
.collage-float-right-2 {
  top: 35%;
  right: 64%;
  left: auto;
  width: 100px;
  height: 105px;
}

/* RIGHT SIDE FLOATING LOGO 3 (pngwing_3.png) */
.collage-float-right-3 {
  top: 55%;
  right: 64%;
  left: auto;
  width: 95px;
  height: 80px;
  z-index: 6;  
}


/* ═══════════════════════════════════════════════════════════ */
/* END EASY POSITIONING CONFIG */
/* ═══════════════════════════════════════════════════════════ */

.hero-collage-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.8s ease 0.2s both;
}

.collage-layer-base {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Background ellipse shapes - create layered effect */
.collage-ellipse-5 {
  position: absolute;
  top: 60%;
  left: 65%;
  width: 450px;
  height: 450px;
  object-fit: contain;
  z-index: 0;
  transform: translate(-50%, -50%);
  opacity: 0.8;
}

.collage-ellipse-4 {
  position: absolute;
  top: 0%;
  right: 30%;
  width: 500px;
  height: 500px;
  object-fit: contain;
  z-index: 0;
  opacity: 0.5  ;
}

.collage-rectangle {
  position: absolute;
  top: 15%;
  left: 50%;
  width: 350px;
  height: 440px;
  object-fit: cover;
  z-index: 1;
  transform: translateX(-50%);
  border-radius: 20px;
  transition: opacity 0.35s ease;
}

/* Main center portrait */
.collage-main-portrait {
  position: absolute;
  top: 35%;
  left: 50%;
  width: 359px;
  height: 620px;
  object-fit: cover;
  object-position: center;
  z-index: 5;
  transform: translate(-50%, -50%);
  filter: grayscale(0%) contrast(1.1);
  transition: opacity 0.35s ease;
  will-change: opacity;
}

/* Glasses reveal video, layered exactly over the portrait */
.collage-main-video {
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

.bulb-toggle.bulb-disabled {
  cursor: wait;
  opacity: 0.7;
}

/* Column images (repositioned as side floating elements) */
.collage-column {
  position: absolute;
  top: 25%;
  right: 8%;
  width: 120px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
}

.collage-col-img-1 {
  width: 90px;
  height: 85px;
  object-fit: cover;
  margin-bottom: 20px;
}

.collage-col-img-2 {
  width: 100px;
  height: 95px;
  object-fit: cover;
  margin-bottom: 25px;
}

.collage-col-img-3 {
  width: 85px;
  height: 80px;
  object-fit: cover;
}

/* Floating images (top layer - small decorative images) */
.collage-floating {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: 4;
}

/* Floating animations */

.collage-float-1 {
  position: absolute;
  object-fit: cover;
  animation: floatSmooth 5s ease-in-out infinite;
  animation-delay: 0.3s;
  
}

.collage-float-2 {
  position: absolute;
  object-fit: cover;
  animation: floatSmooth 5.5s ease-in-out infinite;
  animation-delay: 0.3s;
}

.collage-float-3 {
  position: absolute;
  object-fit: cover;
  animation: floatSmooth 5.2s ease-in-out infinite;
  animation-delay: 0.6s;
}
.collage-float-right-1 {
  position: absolute;
  object-fit: cover;
  animation: floatSmooth 5.3s ease-in-out infinite;
  animation-delay: 0.2s;
}

.collage-float-right-2 {
  position: absolute;
  object-fit: cover;
  animation: floatSmooth 5.4s ease-in-out infinite;
  animation-delay: 0.4s;
}

.collage-float-right-3 {
  position: absolute;
  object-fit: cover;
  animation: floatSmooth 5.1s ease-in-out infinite;
  animation-delay: 0.1s;
  
 
}

.collage-col-img-1 {
  animation: floatSmooth 5.3s ease-in-out infinite;
  animation-delay: 0.2s;
}

.collage-col-img-2 {
  animation: floatSmooth 5.4s ease-in-out infinite;
  animation-delay: 0.4s;
}

.collage-col-img-3 {
  animation: floatSmooth 5.1s ease-in-out infinite;
  animation-delay: 0.1s;
}

@keyframes floatSmooth {
  0%, 100% {
    transform: translateY(0) rotate(var(--rotate, 0deg));
    opacity: 1;
  }
  50% {
    transform: translateY(-12px) rotate(var(--rotate, 0deg));
    opacity: 0.95;
  }
}

/* ── SECTION STYLING ── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0.5rem;
  animation: fadeUp 0.6s ease both;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.5rem, 4vw, 4rem);
  line-height: 1.1;
  letter-spacing: 2px;
  margin-bottom: 1rem;
  animation: fadeUp 0.6s ease 0.1s both;
}

.section-line {
  height: 3px;
  width: 60px;
  background: var(--neon);
  border-radius: 99px;
  margin-bottom: 2rem;
  animation: fadeUp 0.6s ease 0.2s both;
}

/* ── PROJECTS ── */
#projects {
  padding: 100px 0;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  border-color: rgba(208, 253, 27, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.project-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(45deg, #1a2200, #0d1100);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: block;
  transition: transform 0.3s;
}

.project-card:hover .project-img img {
  transform: scale(1.05);
}

.project-content {
  padding: 1.5rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.60rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neon);
  background: var(--neon-dim);
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(208, 253, 27, 0.2);
  margin-bottom: 0.8rem;
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.project-desc {
  font-size: 0.78rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-link {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--neon);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.project-link:hover {
  gap: 10px;
  color: var(--neon);
}

.project-github-link {
  color: #666; /* Muted gray by default */
  font-size: 1.3rem; /* Slightly larger than text */
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.project-github-link:hover {
  color: var(--neon); 
  transform: translateY(-2px);
  filter: drop-shadow(0 0 5px var(--neon));
}

/* ── SKILLS ── */
#skills {
  padding: 100px 0;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.25rem;
  width: 100%;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.4rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.skill-card:hover {
  border-color: rgba(208, 253, 27, 0.5);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 0 20px rgba(208, 253, 27, 0.12);
}

.skill-icon {
  font-size: 2rem;
  transition: filter 0.3s;
}

.skill-card:hover .skill-icon {
  filter: drop-shadow(0 0 8px var(--neon));
}

.skill-name {
  font-size: 0.65rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #aaa;
  font-weight: 500;
}

/* Skill bar section */
.skill-bar-wrap {
  margin-bottom: 1.4rem;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 6px;
  font-weight: 500;
}

.skill-bar-label span:last-child {
  color: var(--neon);
}

.skill-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: var(--neon);
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(208, 253, 27, 0.5);
  width: 0;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── EDUCATION ── */
#education {
  padding: 100px 0;
  background: var(--bg2);
}

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2.34rem;
  top: 1px;
  width: 14px;
  height: 14px;
  background: var(--neon);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(208, 253, 27, 0.6);
}

.timeline-year {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.timeline-school {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.timeline-desc {
  font-size: 0.78rem;
  color: #666;
  line-height: 1.6;
}

/* ── CONTACT ── */
#contact {
  padding: 100px 0;
}

.contact-form .form-control,
.contact-form textarea.form-control {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form .form-control:focus,
.contact-form textarea.form-control:focus {
  background: var(--card-bg);
  color: var(--text);
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(208, 253, 27, 0.1);
  outline: none;
}

.contact-form .form-control::placeholder {
  color: #555;
}

.contact-form textarea.form-control {
  resize: none;
}

.form-label {
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.4rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--neon-dim);
  border: 1px solid rgba(208, 253, 27, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #666;
}

.contact-info-value {
  font-size: 0.85rem;
  font-weight: 500;
}

/* ── FOOTER ── */
footer {
  background: var(--bg2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem 0;
  text-align: center;
  color: #444;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

footer span {
  color: var(--neon);
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Light mode toggle (decorative, like the reference) */
.light-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  gap: 4px;
}

.light-toggle i {
  font-size: 1.6rem;
  color: #aaa;
  transition: color 0.3s;
}

.light-toggle span {
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: #555;
  text-transform: uppercase;
}

.light-toggle:hover i {
  color: var(--neon);
}

/* Cursor glow */
.cursor-glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(208, 253, 27, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: left 0.1s, top 0.1s;
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero-collage-container {
    height: 550px;
    max-width: 500px;
  }

  .collage-main-portrait {
    width: 260px;
    height: 400px;
  }

  .collage-rectangle {
    width: 340px;
    height: 320px;
  }

  .collage-column {
    right: 5%;
  }

  /*
   * Below lg, Bootstrap stacks the two cols (text block, then collage).
   * display:contents + order interleaves: intro → collage → desc → btns → socials.
   * (Bootstrap d-flex uses !important — use d-lg-flex in HTML, not d-flex.)
   */
  #home .row.align-items-center {
    display: flex;
    flex-direction: column;
  }

  #home .col-lg-6.order-lg-1,
  #home .col-lg-6.order-lg-2 {
    display: contents !important;
  }

  #home .hero-intro,
  #home .hero-desc,
  #home .hero-btns,
  #home .hero-socials,
  #home .hero-collage-container {
    width: 100%;
    box-sizing: border-box;
    padding-inline: clamp(1.1rem, 5vw, 1.5rem);
  }

  #home .hero-intro {
    order: 1;
  }

  #home .hero-collage-container {
    order: 2;
    align-self: center;
  }

  #home .hero-desc {
    order: 3;
  }

  #home .hero-btns {
    order: 4;
  }

  #home .hero-socials {
    order: 5;
  }

  /* Mobile-only spacing (desktop keeps min-height + section padding) */
  #home {
    min-height: auto;
    align-items: flex-start;
    padding: 1.25rem 0 1.75rem;
  }

  #home .row.align-items-center.gy-5 {
    --bs-gutter-y: 0;
    row-gap: 0.85rem;
  }

  #home .hero-collage-container {
    height: 460px;
    margin-top: 0.25rem;
    margin-bottom: -2.75rem;
  }

  #home .hero-desc {
    position: relative;
    z-index: 2;
    margin-top: -2.25rem;
    margin-bottom: 0.85rem;
  }

  #home .hero-socials {
    margin-top: 1.25rem;
  }

  #projects {
    padding-top: 2.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (max-width: 768px) {
  .hero-collage-container {
    height: 450px;
    max-width: 90%;
  }

  .collage-ellipse-5 {
    width: 350px;
    height: 350px;
  }

  .collage-ellipse-4 {
    width: 380px;
    height: 380px;
  }

  .collage-rectangle {
    width: 300px;
    height: 280px;
  }

  .collage-main-portrait {
    width: 220px;
    height: 380px;
  }


  .collage-float-1,
  .collage-float-2,
  .collage-float-3,
  .collage-float-right-1,
  .collage-float-right-2,
  .collage-float-right-3 {
    width: 70px;
    height: 75px;
  }

  .section-title {
    font-size: clamp(1.2rem, 3vw, 2.5rem);
  }

  #home {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
  }

  #home .hero-collage-container {
    height: 380px;
    margin-bottom: 1.25rem;
  }

  #home .hero-desc {
    text-align: justify;
    margin-top: -2.75rem;
    margin-bottom: 0.65rem;
  }

  #projects {
    padding-top: 2rem;
  }

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

  .skill-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }

  .skill-card {
    padding: 1rem 0.6rem;
    gap: 0.5rem;
  }

  .skill-icon img {
    width: 26px;
    height: 26px;
  }

  .skill-name {
    font-size: 0.6rem;
  }

}


@media (max-width: 576px) {
  #home {
    padding: 0.5rem 0 1rem;
  }

  #home .row.align-items-center.gy-5 {
    row-gap: 0.65rem;
  }

  #home .hero-collage-container {
    height: 320px;
    max-width: 95%;
    margin-bottom: -3.5rem;
  }

  #home .hero-desc {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
  }

  #home .hero-socials {
    margin-top: 1rem;
  }

  #projects {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }

  .collage-ellipse-5,
  .collage-ellipse-4 {
    width: 280px;
    height: 280px;
  }

  .collage-rectangle {
    width: 250px;
    height: 230px;
  }

  .collage-main-portrait {
    width: 150px;
    height: 300px;
    top: 39%; 
  }

  .collage-column {
    right: 2%;
    width: 90px;
  }



  .collage-float-1,
  .collage-float-3,
  .collage-float-right-1,
  .collage-float-right-2,
  .collage-float-right-3 {
    width: 55px;
    height: 55px;
  }

  .collage-float-2 {
    width: 40px;
    height: 40px;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-neon,
  .btn-outline-neon {
    width: 100%;
    text-align: center;
  }
}

/* Mobile Padding & Overflow Fix for Contact Section */
@media (max-width: 576px) {
  #contact {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .contact-form .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .contact-form .row > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Move contact form higher on desktop */
@media (min-width: 992px) {
  .contact-form {
    margin-top: -9.5rem; /* Adjust this value (-1rem, -2rem, etc.) to lift it higher */
  }
}

/* ── BUILDING / WORK-IN-PROGRESS MODAL ── */
.building-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.building-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.building-modal-content {
  background: var(--card-bg);
  border: 1px solid var(--neon);
  box-shadow: var(--neon-glow);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 380px;
  width: 90%;
  text-align: center;
  position: relative;
  transform: scale(0.85);
  transition: transform 0.3s ease;
}

.building-modal-overlay.active .building-modal-content {
  transform: scale(1);
}

.building-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.building-modal-close:hover {
  color: var(--neon);
}

.building-modal-gif {
  width: 140px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.building-modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.building-modal-text {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}