/* =========================================================
   Kamalnath PORTFOLIO 2.0
   GLOBAL DESIGN SYSTEM
========================================================= */
/* =========================================================
   RESET
========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}
/* =========================================================
   BACKGROUND
========================================================= */
.space-background {
  position: fixed;
  inset: 0;
  z-index: -10;
  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(0, 234, 255, 0.12),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 30%,
      rgba(139, 92, 246, 0.12),
      transparent 30%
    ),
    radial-gradient(circle at 50% 90%, rgba(37, 99, 235, 0.1), transparent 30%),
    #030712;
}
.background-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: -8;
  opacity: 0.25;
}
.orb-one {
  width: 350px;
  height: 350px;
  background: var(--cyan);
  top: 10%;
  left: -150px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-two {
  width: 400px;
  height: 400px;
  background: var(--violet);
  right: -180px;
  top: 35%;
  animation: orbFloat 15s ease-in-out infinite reverse;
}
.orb-three {
  width: 300px;
  height: 300px;
  background: var(--blue);
  bottom: -150px;
  left: 40%;
}
@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(40px, -40px);
  }
}
/* =========================================================
   PARTICLES
========================================================= */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -7;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.6) 1px,
    transparent 1px
  );
  background-size: 90px 90px;
  opacity: 0.18;
  animation: particlesMove 30s linear infinite;
}
@keyframes particlesMove {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 90px 180px;
  }
}
/* =========================================================
   HEADER
========================================================= */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 40px), 1200px);
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 20px;
  background: rgba(4, 13, 29, 0.72);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 234, 255, 0.18);
  border-radius: 50px;
  box-shadow:
    0 15px 50px rgba(0, 0, 0, 0.3),
    inset 0 0 25px rgba(0, 234, 255, 0.03);
  z-index: 1000;
}
/* BRAND */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
}
.brand-symbol {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--cyan);
  border: 1px solid var(--border);
  background: rgba(0, 234, 255, 0.06);
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.15);
}
/* CENTER NAV */
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(0, 234, 255, 0.2);
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.25);
}
.nav-link {
  padding: 9px 15px;
  border-radius: 30px;
  font-size: 12px;
  color: #b8c4d6;
  transition: 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
  color: white;
  background: rgba(0, 234, 255, 0.1);
  box-shadow: inset 0 0 15px rgba(0, 234, 255, 0.08);
}
.header-talk {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid rgba(0, 234, 255, 0.5);
  border-radius: 30px;
  color: white;
  font-size: 12px;
  transition: 0.3s ease;
}
.header-talk:hover {
  background: var(--cyan);
  color: #021018;
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.35);
}
/* =========================================================
   MOBILE MENU
========================================================= */
.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 234, 255, 0.05);
  color: white;
  font-size: 18px;
}
.mobile-menu {
  display: none;
}
/* =========================================================
   HERO
========================================================= */
.hero-section {
  min-height: 100vh;
  max-width: var(--max-width);
  margin: auto;
  padding: 150px 40px 70px;
  display: grid;
  grid-template-columns:
    0.95fr
    1.05fr;
  align-items: center;
  gap: 40px;
}
.hero-small-title {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 25px;
}
.hero-small-title span {
  color: #64748b;
  margin: 0 5px;
}
.hero-content h1 {
  font-size: clamp(52px, 5.8vw, 88px);
  line-height: 0.95;
  letter-spacing: -4px;
  white-space: nowrap;
}
.hero-name {
  color: white;
}
.hero-name-accent {
  color: var(--cyan);
  display: inline-block;
  margin-left: 6px;
  text-shadow:
    0 0 20px rgba(0, 234, 255, 0.35),
    0 0 45px rgba(0, 234, 255, 0.15);
}
.hero-content h2 {
  margin-top: 30px;
  font-size: 26px;
  line-height: 1.35;
  color: #dce6f3;
  font-weight: 500;
}
.hero-description {
  max-width: 600px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}
/* =========================================================
   BUTTONS
========================================================= */
.hero-buttons,
.project-actions,
.contact-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-buttons {
  margin-top: 30px;
}
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 21px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  transition: 0.35s ease;
}
.primary-button {
  color: #001018;
  background: var(--cyan);
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.18);
}
.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(0, 234, 255, 0.4);
}
.secondary-button {
  color: white;
  border: 1px solid rgba(0, 234, 255, 0.35);
  background: rgba(255, 255, 255, 0.025);
}
.secondary-button:hover {
  border-color: var(--cyan);
  background: rgba(0, 234, 255, 0.08);
  transform: translateY(-3px);
}
/* =========================================================
   HERO STATS
========================================================= */
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 50px;
}
.stat {
  display: flex;
  align-items: center;
  gap: 9px;
}
.stat strong {
  font-size: 27px;
  color: white;
}
.stat span {
  color: #718198;
  font-size: 10px;
  line-height: 1.4;
}
.hero-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 35px;
  color: #718198;
  font-size: 11px;
}
.hero-line span {
  width: 32px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
/* =========================================================
   HERO 3D CORE
========================================================= */
.hero-visual {
  position: relative;
  height: 610px;
  display: grid;
  place-items: center;
  perspective: 1200px;
  transform-style: preserve-3d;
}
.core-platform {
  position: relative;
  width: 255px;
  height: 255px;
  display: grid;
  place-items: center;
  z-index: 5;
  animation: coreFloat 5s ease-in-out infinite;
}
.profile-ring {
  width: 215px;
  height: 215px;
  padding: 7px;
  border-radius: 50%;
  background: conic-gradient(var(--cyan), var(--violet), var(--cyan));
  box-shadow:
    0 0 30px rgba(0, 234, 255, 0.35),
    0 0 80px rgba(139, 92, 246, 0.2);
}
.profile-ring img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #061323;
}
/* ORBITS */
.orbit {
  position: absolute;
  border: 1px solid rgba(0, 234, 255, 0.25);
  border-radius: 50%;
  transform: rotateX(65deg) rotateZ(15deg);
}
.orbit-one {
  width: 420px;
  height: 170px;
  animation: orbitRotate 12s linear infinite;
}
.orbit-two {
  width: 500px;
  height: 230px;
  border-color: rgba(139, 92, 246, 0.23);
  transform: rotateX(65deg) rotateZ(-20deg);
  animation: orbitRotate 18s linear infinite reverse;
}
.orbit-three {
  width: 330px;
  height: 330px;
  border-style: dashed;
  opacity: 0.35;
  animation: orbitRotate 25s linear infinite;
}
@keyframes orbitRotate {
  from {
    transform: rotateX(65deg) rotateZ(0deg);
  }
  to {
    transform: rotateX(65deg) rotateZ(360deg);
  }
}
@keyframes coreFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-5deg);
  }
  50% {
    transform: translateY(-16px) rotateY(5deg);
  }
}
/* =========================================================
   TECH NODES
========================================================= */
.tech-node {
  position: absolute;
  width: 66px;
  height: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 50%;
  background: rgba(3, 13, 30, 0.85);
  border: 1px solid rgba(0, 234, 255, 0.5);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0, 234, 255, 0.15);
  z-index: 10;
  animation: nodeFloat 4s ease-in-out infinite;
}
.tech-node i {
  font-size: 16px;
}
.tech-node span {
  font-size: 8px;
  letter-spacing: 1px;
}
.node-ai {
  top: 85px;
  left: 80px;
}
.node-rag {
  top: 100px;
  right: 60px;
  animation-delay: 1s;
}
.node-code {
  bottom: 110px;
  left: 100px;
  animation-delay: 2s;
}
.node-pcb {
  bottom: 90px;
  right: 80px;
  color: #5effc0;
  border-color: rgba(94, 255, 192, 0.45);
  animation-delay: 1.5s;
}
@keyframes nodeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* =========================================================
   CORE BASE
========================================================= */
.core-base {
  position: absolute;
  bottom: 60px;
  width: 280px;
  height: 55px;
  transform: perspective(500px) rotateX(60deg);
  border-radius: 50%;
  border: 1px solid rgba(0, 234, 255, 0.4);
  box-shadow:
    0 0 20px rgba(0, 234, 255, 0.15),
    inset 0 0 20px rgba(139, 92, 246, 0.15);
}
.core-base span {
  position: absolute;
  inset: 10px 25px;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.core-base span:nth-child(2) {
  inset: 18px 50px;
}
.core-base span:nth-child(3) {
  inset: 25px 80px;
}
/* =========================================================
   SECTIONS
========================================================= */
.section-container {
  max-width: var(--max-width);
  margin: auto;
  padding: 130px 40px;
}
.section-heading {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 55px;
}
.section-heading > span {
  color: var(--cyan);
  font-size: 12px;
  border: 1px solid rgba(0, 234, 255, 0.3);
  border-radius: 10px;
  padding: 8px 10px;
}
.section-label {
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.section-heading h2 {
  font-size: clamp(40px, 5vw, 65px);
  line-height: 1;
  letter-spacing: -2px;
}
/* =========================================================
   ABOUT
========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 18px;
}
.about-main-card,
.journey-card {
  border: 1px solid rgba(0, 234, 255, 0.12);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.015)
  );
  backdrop-filter: blur(20px);
  /* More premium curved corners */
  border-radius: 28px;
  padding: 30px;
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  overflow: hidden;
}
.about-main-card {
  grid-row: span 2;
}
.about-main-card:hover,
.journey-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 234, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.card-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(0, 234, 255, 0.08);
  margin-bottom: 25px;
}
.about-main-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
}
.about-main-card p {
  color: var(--muted);
  line-height: 1.8;
  margin-top: 14px;
}
.journey-year {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
}
.journey-card h3 {
  margin-top: 25px;
  font-size: 19px;
}
.journey-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
/* =========================================================
   TECHNOLOGY
========================================================= */
.technology-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
.technology-card {
  min-height: 180px;
  padding: 22px 15px;
  text-align: center;
  border: 1px solid rgba(0, 234, 255, 0.12);
  background: rgba(255, 255, 255, 0.025);
  border-radius: 20px;
  transition: 0.35s ease;
}
.technology-card:hover {
  transform: translateY(-8px) rotateX(5deg);
  border-color: rgba(0, 234, 255, 0.45);
  background: rgba(0, 234, 255, 0.045);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}
.technology-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(0, 234, 255, 0.3);
  color: var(--cyan);
  font-size: 25px;
  background: rgba(0, 234, 255, 0.05);
}
.technology-card h3 {
  font-size: 13px;
}
.technology-card p {
  margin-top: 8px;
  color: #718198;
  font-size: 10px;
  line-height: 1.5;
}
/* =========================================================
   FEATURED PROJECT
========================================================= */
.featured-project {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  padding: 35px;
  border-radius: 30px;
  border: 1px solid rgba(0, 234, 255, 0.15);
  background:
    radial-gradient(
      circle at 80% 30%,
      rgba(0, 234, 255, 0.08),
      transparent 30%
    ),
    rgba(255, 255, 255, 0.025);
  overflow: hidden;
}
.project-number {
  color: var(--cyan);
  font-size: 12px;
  margin-bottom: 20px;
}
.project-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 9px;
  color: var(--cyan);
  border: 1px solid rgba(0, 234, 255, 0.25);
  margin-bottom: 15px;
}
.project-content h3 {
  font-size: 65px;
  line-height: 0.9;
  color: var(--cyan);
}
.project-content h4 {
  margin-top: 14px;
  font-size: 18px;
}
.project-content > p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 18px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}
.project-tags span {
  padding: 6px 9px;
  border-radius: 20px;
  font-size: 9px;
  color: #b8c4d6;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.project-actions {
  margin-top: 25px;
}
/* =========================================================
   FAKE TAMILAI WINDOW
========================================================= */
.project-visual {
  min-height: 390px;
  display: grid;
  place-items: center;
  position: relative;
}
.floating-window {
  width: min(100%, 520px);
  border-radius: 18px;
  border: 1px solid rgba(0, 234, 255, 0.25);
  background: rgba(2, 10, 24, 0.85);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    0 0 50px rgba(0, 234, 255, 0.08);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  animation: windowFloat 6s ease-in-out infinite;
}
@keyframes windowFloat {
  0%,
  100% {
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg)
      translateY(-12px);
  }
}
.window-top {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.window-top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #475569;
}
.window-body {
  min-height: 290px;
  display: flex;
}
.fake-sidebar {
  width: 70px;
  padding: 25px 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.fake-sidebar div {
  height: 8px;
  margin-bottom: 18px;
  border-radius: 5px;
  background: rgba(0, 234, 255, 0.15);
}
.fake-chat {
  flex: 1;
  padding: 30px;
}
.fake-title {
  color: var(--cyan);
  font-size: 18px;
  font-weight: 700;
}
.fake-message {
  width: 75%;
  padding: 12px;
  margin-top: 30px;
  border-radius: 10px;
  color: #cbd5e1;
  font-size: 11px;
  background: rgba(0, 234, 255, 0.07);
}
.fake-message.short {
  width: 55%;
  margin-top: 10px;
  background: rgba(139, 92, 246, 0.08);
}
.fake-input {
  margin-top: 70px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: #64748b;
  font-size: 10px;
}
.project-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--cyan);
  filter: blur(120px);
  opacity: 0.1;
}
/* =========================================================
   SMALL PROJECTS
========================================================= */
.small-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 15px;
}
.small-project {
  padding: 25px;
  min-height: 220px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition: 0.35s ease;
}
.small-project:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 234, 255, 0.3);
}
.small-project > span {
  color: var(--cyan);
  font-size: 10px;
}
.small-project > i {
  display: block;
  margin-top: 25px;
  font-size: 25px;
  color: var(--cyan);
}
.small-project h3 {
  margin-top: 20px;
  font-size: 18px;
}
.small-project p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.small-project a {
  display: inline-flex;
  gap: 8px;
  margin-top: 20px;
  color: var(--cyan);
  font-size: 11px;
}
/* =========================================================
   LAB
========================================================= */
.lab-network {
  position: relative;
  height: 520px;
  border-radius: 30px;
  border: 1px solid rgba(0, 234, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(0, 234, 255, 0.06), transparent 35%),
    rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.lab-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(0, 234, 255, 0.45);
  background: rgba(3, 13, 30, 0.9);
  box-shadow: 0 0 50px rgba(0, 234, 255, 0.12);
}
.lab-core i {
  color: var(--cyan);
  font-size: 35px;
}
.lab-core strong {
  font-size: 14px;
  letter-spacing: 2px;
}
.lab-core small {
  color: #718198;
  font-size: 7px;
}
.network-node {
  position: absolute;
  width: 100px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 50%;
  border: 1px solid rgba(0, 234, 255, 0.25);
  background: rgba(4, 13, 29, 0.9);
  color: white;
  transition: 0.35s ease;
  z-index: 5;
}
.network-node i {
  color: var(--cyan);
  font-size: 24px;
}
.network-node span {
  font-size: 9px;
}
.network-node:hover {
  transform: scale(1.12);
  border-color: var(--cyan);
  box-shadow: 0 0 30px rgba(0, 234, 255, 0.2);
}
.github-node {
  top: 70px;
  left: 20%;
}
.linkedin-node {
  top: 70px;
  right: 20%;
}
.hf-node {
  bottom: 70px;
  left: 20%;
}
.kaggle-node {
  bottom: 70px;
  right: 20%;
}
.network-line {
  position: absolute;
  height: 1px;
  width: 28%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 234, 255, 0.35),
    transparent
  );
  left: 36%;
  top: 50%;
  transform-origin: center;
}
.line-one {
  transform: rotate(35deg);
}
.line-two {
  transform: rotate(-35deg);
}
.line-three {
  transform: rotate(90deg);
}
/* =========================================================
   CONTACT
========================================================= */
.contact-section {
  padding-top: 100px;
  padding-bottom: 100px;
}
.contact-card-main {
  text-align: center;
  padding: 90px 30px;
  border-radius: 35px;
  border: 1px solid rgba(0, 234, 255, 0.15);
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(0, 234, 255, 0.08),
      transparent 35%
    ),
    rgba(255, 255, 255, 0.025);
}
.contact-card-main h2 {
  font-size: clamp(45px, 6vw, 80px);
  line-height: 0.95;
  letter-spacing: -3px;
}
.contact-card-main h2 span {
  color: var(--cyan);
}
.contact-card-main > p:not(.section-label) {
  max-width: 600px;
  margin: 25px auto;
  color: var(--muted);
  line-height: 1.7;
}
.contact-buttons {
  justify-content: center;
  margin-top: 30px;
}
/* =========================================================
   FOOTER
========================================================= */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px;
}
.footer-main {
  max-width: var(--max-width);
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.footer-main h3 {
  letter-spacing: 2px;
  font-size: 14px;
}
.footer-main p {
  color: #64748b;
  margin-top: 8px;
  font-size: 11px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 234, 255, 0.2);
  color: #b8c4d6;
  transition: 0.3s ease;
}
.footer-socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 30px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  color: #475569;
  font-size: 10px;
}
/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1050px) {
  .main-nav {
    gap: 0;
  }
  .nav-link {
    padding: 8px 10px;
  }
  .hero-section {
    grid-template-columns: 1fr 1fr;
  }
  .technology-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 800px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
  }
  .main-nav,
  .header-talk {
    display: none;
  }
  .mobile-menu-button {
    display: grid;
    place-items: center;
  }
  .mobile-menu {
    position: fixed;
    top: 88px;
    left: 12px;
    right: 12px;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 5px;
    border-radius: 25px;
    border: 1px solid rgba(0, 234, 255, 0.2);
    background: rgba(3, 12, 28, 0.95);
    backdrop-filter: blur(25px);
    z-index: 999;
  }
  .mobile-menu.open {
    display: flex;
  }
  .mobile-menu a {
    padding: 15px;
    border-radius: 15px;
    color: #b8c4d6;
  }
  .mobile-menu a:hover {
    background: rgba(0, 234, 255, 0.08);
    color: white;
  }
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 130px;
  }
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 2;
    height: 450px;
    margin-top: 20px;
  }
  .hero-small-title {
    font-size: 9px;
  }
  .hero-content h1 {
    font-size: clamp(42px, 14vw, 70px);
    letter-spacing: -3px;
    white-space: normal;
  }
  .hero-content h2 {
    font-size: 21px;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-name,
  .hero-name-accent {
    white-space: nowrap;
  }
  .hero-buttons,
  .hero-stats,
  .hero-line {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-main-card {
    grid-row: auto;
  }
  .technology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .featured-project {
    grid-template-columns: 1fr;
  }
  .project-content h3 {
    font-size: 55px;
  }
  .small-projects {
    grid-template-columns: 1fr;
  }
  .lab-network {
    height: 450px;
  }
  .footer-main,
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 480px) {
  .section-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-section {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-stats {
    gap: 15px;
  }
  .stat strong {
    font-size: 20px;
  }
  .stat span {
    font-size: 8px;
  }
  .hero-visual {
    transform: scale(0.78);
    margin: -30px -50px;
  }
  .technology-grid {
    gap: 8px;
  }
  .technology-card {
    min-height: 160px;
    padding: 18px 8px;
  }
  .project-content h3 {
    font-size: 45px;
  }
  .featured-project {
    padding: 22px;
  }
  .floating-window {
    transform: perspective(1000px) rotateY(-4deg);
  }
  .github-node {
    left: 5%;
  }
  .linkedin-node {
    right: 5%;
  }
  .hf-node {
    left: 5%;
  }
  .kaggle-node {
    right: 5%;
  }
  .lab-core {
    width: 135px;
    height: 135px;
  }
}
/* =========================================================
   TAMILAI DOWNLOAD ACTIONS
========================================================= */
.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.project-actions .primary-button {
  flex: 0 0 auto;
}
.project-actions .secondary-button {
  flex: 0 0 auto;
}
/* Desktop */
@media (min-width: 801px) {
  .project-actions .secondary-button {
    min-width: 145px;
  }
}
/* Mobile */
@media (max-width: 800px) {
  .project-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }
  .project-actions .primary-button {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
  }
  .project-actions .secondary-button {
    width: 100%;
    justify-content: center;
    min-width: 0;
    white-space: nowrap;
  }
}
