* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #f0f7ff;
  --bg-surface: #e0f2fe;
  --bg-card: rgba(255, 255, 255, 0.78);
  --primary: #0284c7;
  --primary-glow: #38bdf8;
  --secondary: #0ea5e9;
  --accent: #06b6d4;
  --text-main: #0f172a;
  --text-muted: #475569;
  --border-light: rgba(56, 189, 248, 0.3);
  --shadow-xl: 0 20px 40px -15px rgba(14, 165, 233, 0.15);
  --grad-hero: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #06b6d4 100%);
  --glow-effect: 0 10px 30px rgba(56, 189, 248, 0.25);
  --glass: rgba(255, 255, 255, 0.85);
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

html, body {
  background: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

/* Animated gradient background */
.bg-aurora {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(ellipse at 30% 40%, rgba(56, 189, 248, 0.22), transparent 60%),
              radial-gradient(ellipse at 80% 70%, rgba(2, 132, 199, 0.18), transparent 60%),
              radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.15), transparent 60%);
  animation: slowShift 20s ease infinite;
}

@keyframes slowShift {
  0%, 100% { opacity: 0.7; transform: scale(1);}
  50% { opacity: 1; transform: scale(1.05);}
}

/* Floating particles */
.particles {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: rgba(2, 132, 199, 0.35);
  border-radius: 50%;
  filter: blur(2px);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-20vh) rotate(360deg); opacity: 0; }
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 4rem;
  background: rgba(240, 247, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 30px -10px rgba(2, 132, 199, 0.12);
  transition: all 0.3s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-img:hover {
  transform: scale(1.1) rotate(-3deg);
}

.logo-text {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  background: rgba(255, 255, 255, 0.65);
  padding: 0.35rem 0.5rem;
  border-radius: 50px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.05);
}

.nav-links a {
  text-decoration: none;
  color: #334155;
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.nav-links a:hover {
  color: #0284c7;
  background: rgba(56, 189, 248, 0.12);
  transform: translateY(-1px);
}

.nav-links a.active {
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.35);
  font-weight: 700;
}

/* sections base */
section {
  position: relative;
  z-index: 5;
  padding: 8rem 5rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.35rem 1.2rem;
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1);}
  50% { opacity: 0.5; transform: scale(1.3);}
}

.section-label {
  font-family: var(--font-main);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 35px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #0f172a, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* HERO with side image */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8rem 5rem 5rem;
  gap: 4rem;
}

.hero-content {
  max-width: 650px;
  z-index: 5;
  flex: 1;
}

.hero-side-image {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.profile-avatar {
  width: 320px;
  height: 320px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(56, 189, 248, 0.4);
  transition: all 0.5s ease;
  animation: morphShape 8s ease-in-out infinite;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 42% 55% 45% 58%; }
  50% { border-radius: 45% 55% 50% 50% / 55% 40% 60% 45%; }
  75% { border-radius: 35% 65% 55% 45% / 35% 30% 70% 65%; }
}

.profile-avatar img {
  width: 90%;
  height: 90%;
  object-fit: cover;
  border-radius: inherit;
  filter: brightness(1.05) contrast(1.1);
}

.glitch-text {
  font-family: var(--font-heading);
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 800;
  line-height: 0.9;
  margin: 0.5rem 0;
  position: relative;
}

.glitch-primary {
  background: linear-gradient(120deg, #0f172a, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 3s linear infinite;
  background-size: 200% auto;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 550px;
  margin: 2rem 0 2rem;
  border-left: 2px solid var(--primary);
  padding-left: 1.5rem;
}

.btn-group {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(105deg, var(--primary), var(--secondary));
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.35);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(2, 132, 199, 0.45);
  filter: brightness(1.05);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--border-light);
  padding: 0.9rem 2rem;
  border-radius: 40px;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(56, 189, 248, 0.15);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ========== PROJECTS SECTION ========== */
.projects-container {
  max-width: 1300px;
  margin: 0 auto;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card,
.skill-card,
.interest-card,
.education-item,
.featured-project,
.contact-email,
.logo-overlay-card {
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}

.project-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 28px;
  padding: 1.8rem;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.06);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.18), transparent);
  transition: left 0.6s ease;
  z-index: 0;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: var(--glow-effect);
}

.project-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s;
}

.project-icon-img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 8px;
  transition: transform 0.3s;
}

.project-card:hover .project-icon,
.project-card:hover .project-icon-img {
  transform: scale(1.1) rotate(5deg);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  background: linear-gradient(135deg, #0f172a, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.project-description {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50px;
  padding: 0.25rem 0.8rem;
  font-size: 0.7rem;
  font-family: var(--font-main);
  font-weight: 600;
  color: var(--primary);
}

.project-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240, 247, 255, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 40px;
  padding: 0.5rem 1.2rem;
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s;
}

.project-link:hover {
  border-color: var(--primary);
  background: rgba(56, 189, 248, 0.2);
  color: var(--primary);
  transform: translateY(-3px);
}

.feature-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--accent);
  border-radius: 50px;
  padding: 0.2rem 0.8rem;
  font-size: 0.65rem;
  font-family: var(--font-main);
  font-weight: 700;
  color: #0891b2;
}

/* Education items */
.education-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--glow-effect);
}

/* Skills grid */
.skills-container {
  max-width: 1200px;
  margin: 0 auto;
}

.skill-category {
  margin-bottom: 3rem;
}

.category-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.08em;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-title:after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.skill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.skill-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--primary);
  box-shadow: 0 20px 35px -12px black;
}

.skill-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.3));
}

.skill-name {
  font-weight: 600;
  font-size: 0.9rem;
}

.skill-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-main);
}

/* interest cards */
.interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1300px;
  margin: 3rem auto 0;
}

.interest-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 32px;
  padding: 2rem;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.06);
}

.interest-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: var(--glow-effect);
}

.interest-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s;
}

.interest-card:hover .interest-icon {
  transform: scale(1.2) rotate(5deg);
}

/* contact */
.contact-center {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 60px;
  padding: 1rem 2rem;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  margin: 2rem 0;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.08);
}

.contact-email:hover {
  border-color: var(--primary);
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(14, 165, 233, 0.2);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.social-btn {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 50px;
  padding: 0.7rem 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.2s;
  font-size: 0.85rem;
  cursor: pointer;
}

.social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(224, 242, 254, 0.8);
  transform: translateY(-5px);
}

footer {
  border-top: 1px solid rgba(56, 189, 248, 0.25);
  padding: 2rem 5rem;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-main);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(240, 247, 255, 0.6);
}

/* scroll reveal - enhanced */
.reveal {
  opacity: 0;
  transform: translateY(50px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--grad-hero);
  z-index: 101;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px var(--primary);
}

.logo-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 2000;
}

.logo-overlay.show {
  visibility: visible;
  opacity: 1;
}

.logo-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(224, 242, 254, 0.85);
  backdrop-filter: blur(12px);
}

.logo-overlay-card {
  position: relative;
  z-index: 1;
  width: min(460px, 90vw);
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 36px 80px rgba(14, 165, 233, 0.25);
  padding: 1.25rem;
}

.logo-overlay-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px;
  animation: popIn 0.35s ease-out;
}

@keyframes popIn {
  0% { transform: scale(0.94); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.3);
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 6.5rem;
    padding-left: 2rem;
    padding-right: 2rem;
    gap: 3rem;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
  }
  .hero-description {
    margin: 1.5rem auto;
    max-width: 100%;
  }
  .btn-group {
    justify-content: center;
  }
  .hero-side-image {
    order: -1;
    margin-bottom: 1rem;
    width: 100%;
  }
  .profile-avatar {
    width: 240px;
    height: 240px;
  }
  .skill-grid {
    justify-content: center;
  }
  .education-list,
  .interest-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .projects-grid,
  .interest-grid,
  .education-list {
    grid-template-columns: 1fr;
  }
  .paws-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .paws-left img {
    max-width: 100%;
  }
  .section-title { font-size: clamp(2rem, 7vw, 3.2rem); }
}

@media (max-width: 768px) {
  nav { 
    padding: 0.8rem 1.5rem; 
    justify-content: space-between; 
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 24px;
    padding: 1.2rem 1rem;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 20px 50px rgba(14, 165, 233, 0.18);
    transform: translateY(-20px) scale(0.96);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  section { padding: 4.5rem 1.2rem; }
  .hero { padding: 6.5rem 1.2rem 3rem; }
  .logo-text { font-size: 1.4rem; }
  .logo-img { width: 36px; height: 36px; }
  .btn-group { flex-direction: column; gap: 1rem; align-items: center; width: 100%; }
  .btn-primary, .btn-outline, .btn-resume-glow { width: 100%; text-align: center; justify-content: center; }
  .hero-description { font-size: 1rem; padding: 0 0.5rem; }
  .project-card,
  .interest-card,
  .education-item { padding: 1.5rem; }
}

@media (max-width: 600px) {
  .text-cluster {
    transform: scale(0.85);
  }
  .row {
    gap: 25px;
  }
  .main-title {
    font-size: 1.8rem;
  }
  .skill {
    font-size: 1rem;
  }
  .glitch-text {
    font-size: clamp(1.8rem, 9vw, 3.2rem);
  }
  .tag { font-size: 0.7rem; padding: 0.25rem 0.85rem; }
  .project-icon { font-size: 2.2rem; }
  .project-icon-img { width: 2.2rem; height: 2.2rem; }
  .project-title { font-size: 1.3rem; }
  .contact-center { padding: 0 0.5rem; }
  .contact-email {
    font-size: 0.9rem;
    padding: 0.8rem 1.2rem;
    word-break: break-all;
  }
  footer { 
    padding: 1.5rem 1rem; 
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  .social-links { gap: 0.8rem; }
}

@media (max-width: 480px) {
  body { font-size: 14px; }
  section { padding: 3.5rem 1rem; }
  .hero { padding: 5.5rem 0.8rem 2.5rem; }
  .project-card,
  .interest-card,
  .education-item { padding: 1.2rem; }
  .skill-grid { flex-direction: column; gap: 0.8rem; }
  .skill-card { width: 100%; padding: 0.8rem 1rem; }
  .project-links { flex-direction: column; align-items: stretch; }
  .project-link { width: 100%; justify-content: center; }
}
/* Resume Button */
.btn-resume-glow {
  position: relative;
  padding: 0.9rem 2.2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--primary);
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: all 0.35s ease;
}

.btn-resume-glow span {
  position: relative;
  z-index: 1;
}

.btn-resume-glow:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(56, 189, 248, 0.3);
}

.github-stats-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.github-stats-container img {
  border-radius: 20px;
  background: var(--bg-card);
  padding: 1rem;
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.08);
}

.github-stats-container img:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--glow-effect);
  border-color: var(--primary);
}


/* ================= FEATURED PROJECT (CENTERED) ================= */

.featured-project {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;

  background: linear-gradient(
    135deg,
    rgba(224, 242, 254, 0.85),
    rgba(240, 249, 255, 0.95)
  );

  border: 1px solid var(--border-light);
  border-radius: 30px;
  backdrop-filter: blur(12px);

  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(14, 165, 233, 0.08);

  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

/* Hover effect */
.featured-project:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: var(--glow-effect);
  border-color: var(--primary);
}

/* Title */
.featured-project h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-weight: 800;

  background: linear-gradient(135deg, #0f172a, var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Description */
.featured-project p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* List */
.featured-project ul {
  list-style: none;
  margin-bottom: 1.5rem;
  padding: 0;
}

.featured-project li {
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

/* ================= IMAGE ================= */

.featured-img {
  width: 100%;
  max-width: 500px;
  display: block;
  margin: 0 auto 1.5rem;

  border-radius: 20px;
  border: 1px solid var(--border-light);

  transition: all 0.3s ease;
}

.featured-img:hover {
  transform: scale(1.03);
  box-shadow: var(--glow-effect);
}

/* ================= BUTTON ALIGN ================= */

.featured-project .btn-group {
  justify-content: center;
  margin-top: 1rem;
}

/* ================= OPTIONAL BADGE ================= */

.featured-project .feature-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;

  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--accent);
  border-radius: 50px;

  padding: 0.3rem 0.9rem;
  font-size: 0.65rem;
  font-family: var(--font-main);
  font-weight: 700;
  color: #0891b2;
}




.project-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.6);
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}


/* ===== CONTAINER ===== */
.text-cluster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

/* ===== ROWS ===== */
.row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

/* ===== MAIN TITLE (CENTER) ===== */
.main-title {
  font-size: 3rem;
  font-weight: 800;

  background: linear-gradient(135deg, #0284c7, #06b6d4, #8b5cf6, #ec4899, #f97316, #10b981, #0284c7);
  background-size: 300% auto;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  animation: glowMove 6s linear infinite, floatMain 4s ease-in-out infinite;
}

@keyframes glowMove {
  0% { background-position: 0% center; }
  100% { background-position: 300% center; }
}

/* ===== SKILLS CONTINUOUS COLOR SHIFT ===== */
.skill {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;

  background: transparent;
  border: none;
  display: inline-block;

  animation: floatText 4s ease-in-out infinite,
             pulse 3s ease-in-out infinite,
             continuousColorShift 10s linear infinite;

  transition: all 0.3s ease;
}

@keyframes continuousColorShift {
  0% {
    filter: hue-rotate(0deg) brightness(1);
  }
  50% {
    filter: hue-rotate(180deg) brightness(1.2);
  }
  100% {
    filter: hue-rotate(360deg) brightness(1);
  }
}

.text-cluster {
  transform: scale(1.2);
  position: relative;
}

/* 🔥 GLOW BACKGROUND */
.cluster-glow {
  position: absolute;
  inset: -40px;           /* extend around text */
  z-index: -1;

  border-radius: 40px;

  background:
    radial-gradient(circle at 30% 40%, rgba(56,189,248,0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(2,132,199,0.35), transparent 60%),
    radial-gradient(circle at 50% 80%, rgba(6,182,212,0.25), transparent 70%);

  filter: blur(40px);
  opacity: 0.8;

  animation: glowMove 10s ease-in-out infinite alternate;
}

/* ===== INDIVIDUAL SKILL COLORS WITH STAGGERED CONTINUOUS SHIFT ===== */
.skill.html {
  color: #ea580c;
  text-shadow: 0 0 12px rgba(234, 88, 12, 0.45), 0 0 25px rgba(234, 88, 12, 0.25);
  animation-delay: 0s, 0s, 0s;
}

.skill.css {
  color: #0284c7;
  text-shadow: 0 0 12px rgba(2, 132, 199, 0.45), 0 0 25px rgba(2, 132, 199, 0.25);
  animation-delay: -0.6s, -0.5s, -1.8s;
}

.skill.js {
  color: #d97706;
  text-shadow: 0 0 12px rgba(217, 119, 6, 0.45), 0 0 25px rgba(217, 119, 6, 0.25);
  animation-delay: -1.2s, -1s, -3.6s;
}

.skill.python {
  color: #16a34a;
  text-shadow: 0 0 12px rgba(22, 163, 74, 0.45), 0 0 25px rgba(22, 163, 74, 0.25);
  animation-delay: -1.8s, -1.5s, -5.4s;
}

.skill.sql {
  color: #2563eb;
  text-shadow: 0 0 12px rgba(37, 99, 235, 0.45), 0 0 25px rgba(37, 99, 235, 0.25);
  animation-delay: -2.4s, -2s, -7.2s;
}

.skill.php {
  color: #7c3aed;
  text-shadow: 0 0 12px rgba(124, 58, 237, 0.45), 0 0 25px rgba(124, 58, 237, 0.25);
  animation-delay: -3s, -2.5s, -9s;
}

/* ===== FLOAT ANIMATION ===== */
@keyframes floatText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

@keyframes floatMain {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ===== PULSE ===== */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ===== HOVER EFFECT ===== */
.skill:hover {
  transform: scale(1.15);
  filter: brightness(1.3);
}

.main-title:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .row {
    gap: 30px;
    flex-wrap: wrap;
  }

  .main-title {
    font-size: 2rem;
  }

  .skill {
    font-size: 1.2rem;
  }
}

.project-card,
.skill-card,
.interest-card {
  transition: transform 0.15s ease;
}

/* ===== SIDE LAYOUT ===== */
.paws-card {
  display: flex;
  align-items: center;
  gap: 3rem;
  text-align: left;
}

/* LEFT IMAGE */
.paws-left {
  flex: 1;
}

.paws-left img {
  width: 100%;
  border-radius: 20px;
}

/* RIGHT CONTENT */
.paws-right {
  flex: 1;
}

/* Make text spacing better */
.paws-right h2 {
  margin-bottom: 1rem;
}

.paws-right p {
  margin-bottom: 1rem;
}

.paws-right ul {
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .paws-card {
    flex-direction: column;
    text-align: center;
  }
}
.paws-left img:hover {
  transform: scale(1.03);
  box-shadow: var(--glow-effect);
}

/* 🌌 GLOBAL CURSOR LIGHT */
.global-cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25), transparent 70%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
  opacity: 0.85;
}
