html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #e0e7ff, #f8fafc);
  margin: 0;
  overflow-x: hidden;
  font-family: Arial;
}


/* SIDEBAR */
.sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  /* GLASS EFFECT */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nav-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  cursor: pointer;
  position: relative;
  transition: 0.25s;
}

/* hover */
.nav-item:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* active */
.nav-item.active {
  background: rgba(255, 255, 255, 0.9);
  color: #000;
}

.nav-item i {
  font-size: 18px;
}

/* LABEL */
.nav-item .label {
  font-size: 13px;
  position: absolute;
  left: 68px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  color: #222;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-10px);
  transition: 0.25s;
}

/* SHOW LABEL-HOVER-ACTIVE */
.nav-item:hover .label,
.nav-item.active .label {
  opacity: 1;
  transform: translateX(0);
}

.section,
.card {
  position: relative;
  z-index: 2;
}

#glass-bg {
  z-index: 0;
}

/* DESKTOP: NEVER show expand */
.expand-btn {
  display: none;
}


/* SECTIONS */
.section {
  min-height: 100vh;
  padding: 0 80px 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* GLOBAL CARD (v0.0.4) */
.card {
  width: 100%;
  min-height: 500px;
  max-height: 500px;
  max-width: 900px;
  padding: 30px 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: 0.6s ease;
}

.card.show {
  opacity: 1;
  transform: translateY(0);
}

.card:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}


/* HOME CARD */
#home {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; /* THIS is the key */
  align-items: center;
  height: 100%;
}

/* GLITCH TEXT */
/* REAL GLITCH EFFECT */
.glitch {
  font-size: 42px;
  font-weight: bold;
  position: relative;
  color: #111;
  animation: glitchMain 1.5s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

/* RED CHANNEL */
.glitch::before {
  color: red;
  z-index: -1;
  animation: glitchRed 1.5s infinite;
}

/* BLUE CHANNEL */
.glitch::after {
  color: blue;
  z-index: -2;
  animation: glitchBlue 1.5s infinite;
}

@keyframes glitchMain {
  0% { transform: none; }
  20% { transform: skewX(2deg); }
  40% { transform: skewX(-2deg); }
  60% { transform: translateX(2px); }
  80% { transform: translateX(-2px); }
  100% { transform: none; }
}

@keyframes glitchRed {
  0% { transform: translate(0); }
  20% { transform: translate(-3px, 2px); }
  40% { transform: translate(-1px, -2px); }
  60% { transform: translate(2px, 1px); }
  80% { transform: translate(-2px, 1px); }
  100% { transform: translate(0); }
}

@keyframes glitchBlue {
  0% { transform: translate(0); }
  20% { transform: translate(3px, -2px); }
  40% { transform: translate(1px, 2px); }
  60% { transform: translate(-2px, -1px); }
  80% { transform: translate(2px, -1px); }
  100% { transform: translate(0); }
}

.home-sub {
  margin-top: 15px;
  font-size: 16px;
  color: #444;
}

.scroll-down {
  margin-top: 25px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
  animation: bounce 1.5s infinite;
  transition: 0.3s;
}

.scroll-down:hover {
  color: #2b4eff;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}


/* ID CARD */
.id-card {
  display: flex;
  gap: 40px;
  align-items: center;
}

h1 {
  font-size: 48px;
  margin: 0;
}

h2 {
  font-weight: normal;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.card-right h2 {
  margin-bottom: 10px;
}


/* PROFILE FLIP */
.profile-card {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  perspective: 1000px;
  position: relative; /* REQUIRED */
  overflow: hidden;
}

.card-inner {
  z-index: 1;
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.profile-card.flip .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.card-back {
  transform: rotateY(180deg);
}

.profile-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* subtle tremor hint */
.profile-card:hover {
  animation: tremor 0.4s infinite;
}

/* AUTO TRIGGER (same as hover) */
.profile-card.auto-hover {
  animation: tremor 0.4s infinite;
}

/* KEYFRAME */
@keyframes tremor {
  0% { transform: translate(0); }
  25% { transform: translate(-1px, 1px); }
  50% { transform: translate(1px, -1px); }
  75% { transform: translate(-1px, 0); }
  100% { transform: translate(0); }
}

/* base */
.flip-hint {
  position: absolute;
  top: 6px;
  font-size: 18px;
  color: #555;
  opacity: 0;
  z-index: 10;
  transition: opacity 0.2s;
}

.card-front .flip-hint {
  right: 6px; /* pic1 */
}

.card-back .flip-hint {
  left: 6px; /* pic2 */
}

/* show on hover */
.profile-card:hover .flip-hint {
  opacity: 1;
}

@keyframes spinHint {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.flip-hint i {
  display: inline-block;
}

.profile-card:hover .flip-hint i {
  animation: spinHint 0.6s infinite;
}


.profile-card.auto-hover .flip-hint {
  opacity: 1;
}

.profile-card.auto-hover .flip-hint i {
  animation: spinHint 0.6s infinite;
}


/* LEFT SIDE */
.card-left {
  width: 260px;
  text-align: center;
}

.name {
  margin-top: 15px;
  font-size: 20px;
  font-weight: bold;
}

.info {
  font-size: 14px;
  margin: 6px 0;
  color: #333;
}

.info strong {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
}

/* RIGHT SIDE */
.card-right {
  flex: 1;
}

.card-right h2 {
  margin-bottom: 15px;
}

/* GLITCH TEXT */
#glitch-text {
  color: #2b4eff;
  font-weight: bold;
}

.summary {
  margin-top: 10px;
  line-height: 1.8;
  font-size: 16px;
  color: #333;
  text-align: justify;
}


/* EXPERIENCE SECTION */
.exp-card {
  display: flex;
  justify-content: center; /* THIS is the key */
  align-items: center;
  height: 100%;
}

.exp-container {
  width: 100%;
  max-width: 900px;
}

/* TITLE */
.exp-title {
  margin-bottom: 30px;
}

/* TIMELINE */
.timeline {
  position: relative;
  padding-left: 25px; /* was 30px */
}

/* DOT */
.exp-item {
  position: relative;
  margin-bottom: 35px;
  padding-left: 10px;
}

.exp-item::before {
  content: "";
  position: absolute;
  /* MOVE DOT FURTHER LEFT */
  left: -10px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: #2b4eff;
  border-radius: 50%;
  box-shadow: 0 0 8px #2b4eff;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 5px #2b4eff; }
  50% { box-shadow: 0 0 15px #2b4eff; }
  100% { box-shadow: 0 0 5px #2b4eff; }
}

/* DATE */
.exp-date {
  font-size: 12px;
  color: #666;
}

/* TITLE */
.exp-item h3 {
  margin: 5px 0;
}

/* TEXT */
.exp-item p {
  color: #444;
  line-height: 1.6;
}


/* TERMINAL STYLE TITLE-FLICKER */
.terminal-text {
  font-family: monospace;
  color: #111;
  position: relative;
  display: inline-block;
  animation: flicker 2s infinite;
}

/* scanline overlay */
.terminal-text::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.05) 1px,
    transparent 2px,
    transparent 4px
  );
  pointer-events: none;
}

@keyframes flicker {
  0%, 100% { opacity: 1; }
  45% { opacity: 0.85; }
  50% { opacity: 0.6; }
  55% { opacity: 0.9; }
}


/* SKILLS */
.skills-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.skills-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 10px;
}

.skills-sub {
  text-align: center;
  margin-bottom: 25px;
  color: #444;
}

.skills-grid {
  display: flex;
  gap: 40px;
}

.skills-col {
  flex: 1;
}

.skill {
  margin-bottom: 20px;
}

.skill span {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 5px;
}

/* ICON spacing */
.skill i {
  margin-right: 6px;
  color: #2b4eff;
}

/* BAR */
.bar {
  height: 6px;
  background: rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.bar:active {
  cursor: grabbing;
}

.bar div {
  height: 100%;
  background: #2b4eff;
  border-radius: 10px;
  transition: none;
  position: relative;
  overflow: hidden;
}

.bar div::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.6),
    transparent
  );
  animation: shimmer 10s infinite;
}

.bar:active div::after {
  animation: shimmer 1.5s infinite;
}

.bar:not(:active) div {
  transition: 0.5s;
}

.bar:hover div {
  box-shadow: 0 0 10px #2b4eff;
}

@keyframes shimmer {
  0% { left: -50%; }
  100% { left: 100%; }
}

/* SKILLS GLITCH SCAN */
.glitch-scan {
  position: relative;
  display: inline-block;
  color: #111;
  font-weight: bold;
  letter-spacing: 2px;
}

/* RGB ghost layers */
.glitch-scan::before,
.glitch-scan::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}

/* red */
.glitch-scan::before {
  color: red;
  z-index: -1;
  animation: glitchShift 2s infinite;
}

/* blue */
.glitch-scan::after {
  color: #2b4eff;
  z-index: -2;
  animation: glitchShift2 2s infinite;
}

/* subtle movement */
@keyframes glitchShift {
  0%,100% { transform: translate(0); }
  20% { transform: translate(-2px, 1px); }
  40% { transform: translate(-1px, -1px); }
  60% { transform: translate(2px, 1px); }
}

@keyframes glitchShift2 {
  0%,100% { transform: translate(0); }
  20% { transform: translate(2px, -1px); }
  40% { transform: translate(1px, 1px); }
  60% { transform: translate(-2px, -1px); }
}

/* scanline overlay */
.glitch-scan::after {
  background: repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.05) 1px,
    transparent 2px,
    transparent 4px
  );
  mix-blend-mode: multiply;
}


/* PROJECTS */
.projects-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.projects-title {
  text-align: center;
  margin-bottom: 25px;
}

/* PROJECT CARD */
.project {
  background: rgba(255,255,255,0.15);
  border-radius: 15px;
  padding: 12px;
  transition: 0.3s;
  cursor: pointer;
}

/* HOVER EFFECT */
.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* IMAGE */
.project img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  margin-bottom: 10px;
}

/* TITLE */
.project h3 {
  margin: 5px 0;
}

/* DESCRIPTION */
.project p {
  font-size: 13px;
  color: #444;
  margin-bottom: 10px;
}

/* LINK */
.project a {
  text-decoration: none;
  font-size: 13px;
  color: #2b4eff;
  font-weight: bold;
}


/* PROJECT SLIDER SYSTEM */
/* wrapper */
.projects-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

/* viewport (what user sees) */
.projects-viewport {
  overflow: hidden;
  padding: 18px 0; /* ADD THIS */
  width: 100%;
}

/* track (moves left/right) */
.projects-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

/* NAV BUTTONS */
.proj-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: #333;
  cursor: pointer;
  transition: 0.3s;
}

.proj-nav:hover {
  transform: translateY(-50%) scale(1.2);
  color: #2b4eff;
}

/* positions */
.proj-nav.left {
  left: -10px;
}

.proj-nav.right {
  right: -10px;
}

/* hide when inactive */
.proj-nav.hidden {
  opacity: 0;
  pointer-events: none;
}

.project-page {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 420px); /* fixed clean size */
  justify-content: center;
  gap: 20px;
}

/* PROJECT ARROW ANIMATION */
/* LEFT arrow bounce */
.proj-nav.left {
  animation: bounceLeft 1.5s infinite;
}

/* RIGHT arrow bounce */
.proj-nav.right {
  animation: bounceRight 1.5s infinite;
}

@keyframes bounceLeft {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-6px); }
}

@keyframes bounceRight {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(6px); }
}


/* SERVICES */
.services-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.services-title {
  font-size: 32px;
  margin-bottom: 10px;
  min-height: 38px; /* ADD THIS */
  font-family: monospace;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* BOX */
.service-box {
  background: rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 25px 15px;
  transition: 0.3s;
  cursor: pointer;
}

/* ICON */
.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,0.05);
  font-size: 28px;
  color: #666;
  transition: 0.3s;
}

/* TEXT */
.service-box h3 {
  margin-bottom: 8px;
}

.service-box p {
  font-size: 13px;
  color: #555;
}

/* HOVER EFFECT (like your reference) */
.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* INDIVIDUAL HOVER COLOURS */
.s1:hover .service-icon { background: #2b4eff; color: white; }   /* blue */
.s2:hover .service-icon { background: #ff7a18; color: white; }   /* orange */
.s3:hover .service-icon { background: #00c896; color: white; }   /* green */
.s4:hover .service-icon { background: #ff4d6d; color: white; }   /* red/pink */
.s5:hover .service-icon { background: #9b5de5; color: white; }   /* purple */
.s6:hover .service-icon { background: #f4b400; color: white; }   /* yellow */

.service-box:hover .service-icon {
  transform: scale(1.1);
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}


/* CERTIFICATIONS */
.cert-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.cert-title {
  margin-bottom: 25px;
}

/* GRID */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* ITEM */
.cert-item {
  background: rgba(255,255,255,0.12);
  border-radius: 18px;
  padding: 20px;
  transition: 0.3s;
  cursor: pointer;
}

/* ICON */
.cert-item i {
  font-size: 28px;
  margin-bottom: 10px;
  color: #2b4eff;
}

.cert-item:hover i {
  transform: scale(1.15);
}

/* TEXT */
.cert-item h3 {
  margin-bottom: 5px;
  font-size: 16px;
}

.cert-item p {
  font-size: 13px;
  color: #555;
}

.cert-item span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #888;
}

/* HOVER */
.cert-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* INDIVIDUAL CERT COLOURS */
.c1:hover i { color: #2b4eff; }   /* blue */
.c2:hover i { color: #00c896; }   /* green */
.c3:hover i { color: #ff4d6d; }   /* red */
.c4:hover i { color: #f4b400; }   /* yellow */

/* optional glow */
.c1:hover { box-shadow: 0 12px 25px rgba(43,78,255,0.3); }
.c2:hover { box-shadow: 0 12px 25px rgba(0,200,150,0.3); }
.c3:hover { box-shadow: 0 12px 25px rgba(255,77,109,0.3); }
.c4:hover { box-shadow: 0 12px 25px rgba(244,180,0,0.3); }


/* RESUME VIEWER */
.resume-card {
  overflow-y: auto;
  position: relative;
  /* hide scrollbar */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Chrome, Safari */
.resume-card::-webkit-scrollbar {
  display: none;
}

.pdf-controls {
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.pdf-controls button,
.pdf-controls a {
  padding: 6px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: #2b4eff;
  color: white;
  text-decoration: none;
}

#pdfCanvas {
  width: 100%;
  max-width: 750px;
  height: auto;
}

.pdf-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.pdf-overlay.show {
  display: flex;
}

/* modal box */
.pdf-modal {
  width: 80%;
  height: 85%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* header */
.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background: #2b4eff;
  color: white;
}

.pdf-modal-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* iframe */
.pdf-modal iframe {
  flex: 1;
  border: none;
}

/* FLOATING PDF BAR */
.pdf-float-bar {
  position: sticky;
  bottom: 15px;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 20px;
  /* GLASS */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  /* hidden by default */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.3s;
}

/* show when hovering bottom area */
.resume-card:hover .pdf-float-bar {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* buttons */
.pdf-float-bar button,
.pdf-float-bar a {
  border: none;
  background: rgba(255,255,255,0.2);
  color: #333;
  padding: 8px 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: 0.25s;
}

/* hover effect */
.pdf-float-bar button:hover,
.pdf-float-bar a:hover {
  background: #2b4eff;
  color: white;
  transform: scale(1.1);
}


/* CONTACT TITLE ANIMATION */
.contact-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  position: relative;
}

/* fly out → */
.fly-out {
  transform: translateX(200px);
  opacity: 0;
  transition: 0.6s;
}

/* reset to left instantly */
.reset-left {
  transform: translateX(-200px);
  opacity: 0;
}

/* fly in ← */
.fly-in {
  transform: translateX(0);
  opacity: 1;
  transition: 0.6s;
}

/* CONTACT */
.contact-card {
  display: flex;
  overflow-x: hidden;
  flex-direction: column;
  justify-content: center;
}

/* layout */
.contact-container {
  display: flex;
  gap: 30px;
}

/* LEFT */
.contact-info {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-box {
  display: flex;
  gap: 15px;
  align-items: center;
}

.info-box i {
  font-size: 22px;
  color: #2b4eff;
}

.info-box h4 {
  margin: 0;
  font-size: 14px;
}

.info-box p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

/* RIGHT */
.contact-form {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.2); /* <-- FIX */
  outline: none;
  background: rgba(255,255,255,0.15);
  transition: 0.25s;
}

/* focus glow */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2b4eff;
  box-shadow: 0 0 8px rgba(43,78,255,0.3);
}

.contact-form textarea {
  height: 100px;
  resize: none;
}

/* BUTTON */
#sendWhatsapp {
  margin-top: 10px;
  padding: 12px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  background: #25D366;
  color: white;
  font-weight: bold;
  transition: 0.3s;
}

#sendWhatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}


/* FOOTER */
.footer {
  margin-top: 60px;
  padding: 40px 20px 20px;
  text-align: center;
  /* MATCH YOUR BODY */
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.2);
  color: #333;
}

/* TOP */
.footer-top h3 {
  margin-bottom: 15px;
  font-weight: normal;
  letter-spacing: 1px;
}

/* SOCIAL ICONS */
.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 20px;
  transition: 0.25s;
  /* REMOVE circle */
  background: none;
  width: auto;
  height: auto;
}

/* hover effect, ONLY icon colour */
.socials a:hover {
  transform: translateY(-3px);
}

/* individual colours */
.socials a:nth-child(1):hover { color: #333; }      /* github */
.socials a:nth-child(2):hover { color: #0a66c2; }   /* linkedin */
.socials a:nth-child(3):hover { color: #e1306c; }   /* instagram */
.socials a:nth-child(4):hover { color: #25D366; }   /* whatsapp */
.socials a:nth-child(5):hover { color: #ff4d4d; }   /* email */

/* BOTTOM */
.footer-bottom {
  margin-top: 20px;
  font-size: 13px;
  color: #666;
}

/* GO TOP BUTTON (SIDEBAR) */
.go-top-btn {
  display: none;
}

/* show when active */
.go-top-btn.show {
  display: flex;
}

/* GLASS FLOAT BACKGROUND */
#glass-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* each glass piece */
.glass-piece {
  position: absolute;
  bottom: -120px;
  animation: floatUp linear forwards;
  /* NEW */
  filter: brightness(1.4) contrast(1.3);
}

/* FLOAT ANIMATION */
@keyframes floatUp {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) translateX(var(--drift)) rotate(var(--rotate)); opacity: 0; }
}