@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #3b82f6;       
  --primary-color-rgb: 59, 130, 246;
  --secondary-color: #3768d1;     
  --accent-color: #0ea5e9;         
  --accent-color-rgb: 14, 165, 233;

  --gameHub-btn: #8b5cf6;

  --background-color: #0a0a0a;
  --surface-color: #1a1a1a;
  --surface-color-rgb: 26, 26, 26;

  --text-color: #e5e5e5;
  --text-muted: #a0a0a0;
  --text-secondary: #7a7a7a;

  --border-color: #2c2c2c;
  --shadow-color: rgba(0, 0, 0, 0.5);

  --svg-opacity: 0.02;
}

.light {
  --primary-color: #1d3b7a;
  --primary-color-rgb: 29, 59, 122;
  --secondary-color: #2a4f9c;
  --accent-color: #0b7a99;
  --accent-color-rgb: 11, 122, 153;

  --gameHub-btn: #6b4dc4;

  --background-color: #e0e2e5;
  --surface-color: #cfd4da;
  --surface-color-rgb: 207, 212, 218;

  --text-color: #1c2533;
  --text-muted: #495567;
  --text-secondary: #5f687a;

  --border-color: #b0b6bf;
  --shadow-color: rgba(0, 0, 0, 0.04);
  --svg-opacity: 0.15; 
}

* {
  scroll-behavior: smooth;
  box-sizing: border-box;
  scrollbar-width: thin;
  cursor: none;
}


body:before{
  background: url('./assets/qqquad.svg') no-repeat;
  background-size: cover;
  background-position: center;
  content: "";
  position: absolute;
  top: 0;
  opacity: var(--svg-opacity);
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

a[href="https://www.free-counters.org/"] {
  display: none !important;
}

a[href="https://www.free-counters.org/stats/ifqw"] {
  pointer-events: none;
  cursor: default;
}

a[href="https://www.free-counters.org/stats/ifqw"] svg {
  display: block;
  margin: 0 auto;
  max-width: 100px;
  height: auto;
}

.custom-cursor {
  display: block;
  position: fixed;
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  opacity: 0.7;
  transition:
    transform 0.15s,
    opacity 0.2s,
    width 0.2s,
    height 0.2s,
    background 0.2s;
  transform: translate(-50%, -50%);
}

.custom-cursor.inverted {
  width: 40px;
  height: 40px;
  background: #ffffff;
  mix-blend-mode: difference;
  opacity: 0.85;
}

.custom-cursor.active {
  transform: translate(-50%, -50%) scale(0.8);
}

.custom-cursor.active {
  transform: scale(1.15) translate(-50%, -50%);
  opacity: 1;
  border-color: var(--secondary-color);
  background: var(--primary-color);
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

#menu-icon {
  margin: 20px;
  width: 2em;
  height: 2em;
  color: var(--text-color);
  position: fixed;
  z-index: 1000;
  cursor: pointer;
  top: 0;
  left: 0;
}

aside {
  position: fixed;
  top: 0;
  left: 0;
  width: 25%;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  background-color: var(--surface-color);
  padding: 30px 20px;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  gap: 35px;
  align-items: center;
  text-align: center;
  transform: translateX(0);
  transition: transform 0.3s ease;
  z-index: 999;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  border-right: 1px solid var(--border-color);
}

aside.hidden {
  transform: translateX(-100%);
  pointer-events: none;
}

aside > hr {
  margin: 10px 0;
  border: none;
  border-top: 1px solid var(--border-color);
  width: 80%;
}

aside > .circleShadow > img {
  border-radius: 50%;
  width: 100px;
  height: 100px;
  object-fit: cover;
  box-shadow: 0 4px 20px var(--shadow-color);
}

.circleShadow {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  box-shadow: 0 4px 20px var(--shadow-color);
}

nav {
  margin: 20px 0;
  font-size: 0.95em;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  text-align: center;
}

nav a {
  position: relative;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s, transform 0.2s ease;
  font-family: 'Space Grotesk', sans-serif;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

nav a:hover,
nav a:focus {
  color: var(--primary-color);
}

nav a:hover {
  transform: scale(1.05);
}

nav a:active {
  transform: scale(1) translateY(-2px);
}

nav a:hover::after,
nav a:focus::after {
  width: 100%;
}

.title {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 10px 25px;
}

.top {
  width: 20%;
  border: 2px solid;
  position: absolute;
  top: 0;
  left: -20px;
}

.left {
  position: absolute;
  border-left: 3px solid;
  height: 40%;
  width: 20%;
  top: 0px;
  left: -20px;
}

.bottom {
  position: absolute;
  border-bottom: 3px solid;
  height: 0%;
  width: 20%;
  bottom: 0px;
  right: -20px;
}

.right {
  position: absolute;
  border-right: 3px solid;
  height: 40%;
  width: 20%;
  bottom: 0px;
  right: -20px;
}

.top,
.left,
.bottom,
.right {
  border-color: var(--primary-color);
}

#typewriter-name {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid var(--primary-color);
  width: 0;
  animation: 
    typing 2.5s steps(12, end) 0.5s forwards,
    blink-name 0.75s step-end infinite 3s;
  font-size: 1.3em;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 12ch;
  }
}

@keyframes blink-name {
  from, to {
    border-color: transparent;
  }
  50% {
    border-color: var(--primary-color);
  }
}

aside > nav > button {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.5em;
  opacity: 1 !important;
}

#theme-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  font-size: 1.5em;
  transition: color 0.3s, transform 0.2s ease;
}

#theme-toggle:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

#theme-toggle:active {
  transform: scale(1) translateY(-2px);
}

#main-content {
  margin-left: 25%;
  padding: 40px 60px 0;
  min-height: 100vh;
  transition: margin-left 0.3s ease;
  width: 75%;
  max-width: 75%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.aside-hidden #main-content {
  margin-left: 0;
  width: 100%;
  max-width: 100%;
}

#main-content section {
  padding: 80px 40px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

#main-content section:last-child {
  padding-bottom: 0;
}

#main-content h2 {
  color: var(--text-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  padding-bottom: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

#main-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

#Home {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

#Home h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: scrollDown 0.7s ease-in-out infinite;
  z-index: 10;
}

.scroll-indicator span {
  font-size: 0.9rem;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  opacity: 0.8;
  -webkit-text-fill-color: var(--text-muted) !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}

#scroll-down {
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0.8;
}

@keyframes scrollDown {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}

.highlight {
  color: var(--primary-color);
}

#About,
#Education,
#Experience,
#Skills,
#Projects,
#Certifications,
#Contact {
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  width: 100%;
  margin-top: 40px;
  align-items: start;
}

.about-text {
  text-align: left;
  max-width: 100%;
  overflow-wrap: break-word;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color);
  opacity: 0.9;
  word-wrap: break-word;
  max-width: 100%;
}

.personal-info-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
}

.info-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(var(--primary-color-rgb), 0.2);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.basic-info h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 5px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.basic-info .title {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 8px;
  width: 100%;
  max-width: none;
  position: static;
  margin: 0 0 8px 0;
}

.location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.location i {
  width: 16px;
  height: 16px;
}

.info-details {
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(var(--primary-color-rgb), 0.05);
  transition: background 0.3s ease;
}

.detail-item:hover {
  background: rgba(var(--primary-color-rgb), 0.1);
}

.detail-item i {
  width: 18px;
  height: 18px;
  color: var(--primary-color);
}

.detail-item span {
  color: var(--text-color);
  font-size: 0.95rem;
}

.action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 2px solid;
  cursor: pointer;
  background: transparent;
  color: var(--text-color);
  font-family: 'Space Grotesk', sans-serif;
}

.btn i {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.btn-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

.btn-accent {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.btn-accent:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.3);
}

.btn-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-secondary:hover {
  background: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

.btn-gamehub {
  border-color: var(--gameHub-btn);
  color: var(--gameHub-btn);
}

.btn-gamehub:hover {
  background: var(--gameHub-btn);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.education-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  width: 100%;
  margin: 40px auto 0;
}

.education-card {
  background: var(--surface-color);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: stretch;
}

.education-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-5px);
}

.education-icon {
  width: 70px;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.education-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.education-info {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.education-card h3 {
  color: var(--text-color);
  font-size: 1.25rem;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.education-card .institution {
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

.education-card .date {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  line-height: 1.3;
  flex-wrap: wrap;
}

.education-card .date i {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.education-card .location-dot {
  margin: 0 2px;
  color: var(--text-secondary);
}

.education-details {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.detail-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: rgba(var(--accent-color-rgb), 0.1);
  border: 1px solid rgba(var(--accent-color-rgb), 0.2);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-color);
  line-height: 1;
}

.gpa-badge {
  background: rgba(var(--accent-color-rgb), 0.15);
  border-color: rgba(var(--accent-color-rgb), 0.3);
  color: var(--accent-color);
  font-weight: 600;
}

.experience-container {
  max-width: 900px;
  width: 100%;
  margin: 40px auto 0;
}

.experience-card {
  background: var(--surface-color);
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: stretch;
}

.experience-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px);
}

.experience-sidebar {
  width: 70px;
  background: var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  gap: 16px;
}

.experience-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.experience-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.experience-badge {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.experience-content {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.experience-header {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}


.experience-header h3 {
  color: var(--text-color);
  font-size: 1.35rem;
  margin: 0 0 6px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.3;
}

.experience-header .company {
  color: var(--primary-color);
  font-size: 1.05rem;
  font-weight: 500;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.experience-header .duration {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  line-height: 1.3;
}

.experience-header .duration svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.experience-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.experience-description li {
  color: var(--text-color);
  font-size: 0.9rem;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.experience-description li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--primary-color);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.2);
}

.github-section {
  margin-top: 60px;
  width: 100%;
  max-width: 1400px;
}

.stats-title {
  text-align: center;
  margin-bottom: 40px;
}

.stats-title h3 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}

.stats-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.github-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 30px;
  padding-top: 15px;
  align-items: stretch;
  max-width: 100%;
  overflow-x: hidden;
}

.stat-card {
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: auto;
  min-height: 200px;
  object-fit: contain;
  background: var(--surface-color);
  padding: 5px;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-color);
}

.stat-group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card.large {
  min-height: 200px;
}

.contribution-graph {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.stat-card.wide {
  width: 100%;
}

#About,
#Education,
#Experience,
#GitHub,
#Certifications,
#Projects,
#Contact {
  padding: 80px 0;
  border-bottom: 1px solid var(--border-color);
}

#Contact {
  border-bottom: none;
}

#Skill-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.skill-filter-button {
  padding: 10px 20px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
}

.skill-filter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.2);
}

.skill-filter-button.skill-button-active {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

#Skills {
  padding: 60px 0;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  max-width: 100%;
  width: 100%;
  margin: 40px auto 0;
  padding: 15px 0 0 0;
  box-sizing: border-box;
}

.skill-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  max-width: 350px;
}

.skill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.skill-icon {
  font-size: 3rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1);
  color: var(--accent-color);
}

.skill-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(var(--primary-color-rgb), 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-color);
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 10px;
  width: 0%;
  transition: width 1.2s ease-in-out 0.5s;
  position: relative;
}

.skill-card:hover .skill-fill {
  box-shadow: 0 0 10px rgba(var(--primary-color-rgb), 0.4);
}

.skill-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: translateX(-100%);
  animation: shimmer 1s ease-in-out 2s;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skill-level {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  color: var(--text-color);
}

.certifications-slider-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0;
  padding: 0 60px;
}

.certifications-slider {
  overflow: hidden;
  border-radius: 12px;
}

.certification-slide {
  display: none;
  background: var(--surface-color);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 8px var(--shadow-color);
  border: 1px solid var(--border-color);
  text-align: center;
  animation: slideIn 0.5s ease;
}

.certification-slide.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.certification-slide .certification-image {
  width: 100%;
  max-width: 400px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  margin: 0 auto 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.certification-slide .certification-image:hover {
  transform: scale(1.03);
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(var(--primary-color-rgb), 0.2);
}

.certification-slide h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-color);
  margin: 20px 0 15px;
  font-family: 'Space Grotesk', sans-serif;
}

.certification-slide p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.certification-slide .btn {
  display: inline-flex;
  margin-top: 10px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
}

.slider-btn:hover {
  background: var(--accent-color);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 0;
}

.next-btn {
  right: 0;
}

.slider-btn svg {
  width: 24px;
  height: 24px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--border-color);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: var(--primary-color);
  width: 30px;
  border-radius: 6px;
}

.slider-dot:hover {
  background: var(--accent-color);
}

#project-category {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px 0 40px 0;
}

.project-filter-button {
  padding: 10px 20px;
  border: 2px solid var(--accent-color);
  background: transparent;
  color: var(--accent-color);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
}

.project-filter-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.2);
}

.project-filter-button.project-button-active {
  background: var(--accent-color);
  color: white;
  box-shadow: 0 4px 12px rgba(var(--accent-color-rgb), 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 100%;
  width: 100%;
  margin: 40px auto 0;
  padding: 15px 0 0 0;
  justify-items: center;
  box-sizing: border-box;
}

.projects-cta {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.projects-cta .btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 26px rgba(var(--primary-color-rgb), 0.35);
  padding: 14px 30px;
  font-size: 1rem;
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: projectsCtaBreath 2.8s ease-in-out infinite;
}

.projects-cta .btn i {
  color: white;
  position: relative;
  z-index: 1;
}

.projects-cta .btn span {
  position: relative;
  z-index: 1;
}

.projects-cta .btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    110deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 0;
  animation: projectsCtaSheen 3.2s cubic-bezier(0.2, 0.6, 0.2, 1) infinite;
}

.projects-cta .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 32px rgba(var(--primary-color-rgb), 0.45);
  animation-duration: 2.2s;
}

.projects-cta .btn:focus-visible {
  outline: 3px solid rgba(var(--accent-color-rgb), 0.45);
  outline-offset: 3px;
}

@keyframes projectsCtaBreath {
  0%,
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 10px 26px rgba(var(--primary-color-rgb), 0.35);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 14px 34px rgba(var(--primary-color-rgb), 0.48);
  }
}

@keyframes projectsCtaSheen {
  0%,
  20% {
    left: -70%;
  }
  70%,
  100% {
    left: 130%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .projects-cta .btn,
  .projects-cta .btn::after {
    animation: none;
  }
}

.project-card {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 25px;
  padding-bottom: 70px;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 400px;
  width: 100%;
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px var(--shadow-color);
  border-color: var(--accent-color);
}

.project-image {
  width: 100%;
  max-width: 250px;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.project-card:hover .project-image {
  border-color: var(--accent-color);
  transform: scale(1.02);
}

.project-card h3 {
  font-size: 1.3rem;
  color: var(--text-color);
  margin: 0;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.project-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

.project-card .btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 160px;
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.project-card .btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateX(-50%) translateY(-2px);
}

.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.image-modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  cursor: default;
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    transform: scale(0.8) translateY(30px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

.modal-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-close:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.modal-close svg {
  width: 20px;
  height: 20px;
}

.inline-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.inline-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

#Contact {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 0;
  position: relative;
}

#Contact h2 {
  font-size: 2.8rem;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
}

#Contact p {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 50px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

#Contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  max-width: 800px;
  margin: 0 auto;
}

#Contact li {
  background: var(--surface-color);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 20px var(--shadow-color);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

#Contact li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s ease;
}

#Contact li:hover::before {
  transform: scaleY(1);
}

#Contact li:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-icon svg  {
  width: 24px;
  height: 24px;
  color: white;
  stroke-width: 2;
}

#Contact li:hover .contact-icon {
  background: var(--accent-color);
  transform: scale(1.1);
}

.contact-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.05rem;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.contact-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  word-break: break-all;
}

.contact-link:hover {
  color: var(--primary-color);
}

.typewriter-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
  min-height: 40px;
}

.typewriter-text {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-right: 2px;
  font-family: 'Space Grotesk', sans-serif;
}

.cursor {
  font-size: 1.5rem;
  color: var(--primary-color);
  animation: blink 0.8s infinite;
  font-weight: bold;
  opacity: 1;
  display: inline-block;
  position: relative;
  z-index: 10;
  line-height: 1;
  vertical-align: top;
  margin-left: 2px;
  -webkit-text-fill-color: var(--primary-color) !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
}

@keyframes blink {
  0%, 40% {
    opacity: 1;
  }
  41%, 100% {
    opacity: 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-in;
}

#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.4;
  animation: float 8s infinite ease-in-out;
}

.particle:nth-child(2n) {
  background: var(--primary-color);
  animation-duration: 10s;
  animation-delay: -2s;
}

.particle:nth-child(3n) {
  background: var(--secondary-color);
  animation-duration: 12s;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  25% {
    transform: translateY(-25px) rotate(90deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-50px) rotate(180deg);
    opacity: 0.5;
  }
  75% {
    transform: translateY(-25px) rotate(270deg);
    opacity: 0.6;
  }
}

.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.skill-card,
.achievement-card,
.project-card,
.education-content {
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.main-footer {
  background: transparent;
  margin-top: 0;
  border-top: none;
  position: relative;
  margin-left: 25%;
  width: 75%;
  transition: margin-left 0.3s ease, width 0.3s ease;
}

body.aside-hidden .main-footer {
  margin-left: 0;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  padding: 3rem 0 2rem;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-color);
  font-style: italic;
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: var(--primary-color);
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--background-color);
  transform: translateX(5px);
}

.social-link.github:hover {
  color: var(--text-color);
  box-shadow: 0 0 15px var(--shadow-color);
}

.social-link.linkedin:hover {
  color: #0077b5;
  box-shadow: 0 0 15px rgba(0, 119, 181, 0.2);
}

.social-link.gamehub:hover {
  color: var(--gameHub-btn);
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

.social-link.email:hover {
  color: var(--primary-color);
  box-shadow: 0 0 15px rgba(var(--primary-color-rgb), 0.2);
}

.social-link.phone:hover {
  color: var(--accent-color);
  box-shadow: 0 0 15px rgba(var(--accent-color-rgb), 0.2);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
}

.info-item svg {
  width: 16px;
  height: 16px;
}

.status-available {
  color: var(--accent-color);
}

.status-available svg {
  color: var(--accent-color);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.footer-bottom {
  padding: 1.5rem 0;
  position: relative;
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-note {
  opacity: 0.7;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.back-to-top {
  position: absolute;
  right: 2rem;
  top: -25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.back-to-top:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(var(--primary-color-rgb), 0.4);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.interactive-sidebar {
  position: fixed;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(var(--surface-color-rgb), 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 16px 8px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(-20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 32px var(--shadow-color);
}

body.aside-hidden .interactive-sidebar {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.sidebar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: transparent;
  border: 2px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.sidebar-item:hover {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.2);
}

.sidebar-item.active {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.3);
  opacity: 1;
}

.sidebar-item.active:hover {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(var(--primary-color-rgb), 0.4);
}

.sidebar-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.sidebar-item:hover svg {
  transform: scale(1.1);
}

.sidebar-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 8px;
  opacity: 0.5;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 1rem 0;
}

.pagination-btn {
  background: var(--surface-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
}

.pagination-btn.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.pagination-btn:hover {
  background: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  #main-content {
    margin-left: 0;
    width: 100%;
    max-width: 100vw;
    padding: 20px 15px;
  }

  #main-content h2 {
    font-size: 2rem;
  }

  #Home h2 {
    font-size: 2.5rem;
  }

  #main-content section {
    padding: 40px 0;
  }

  aside {
    width: 75%;
    padding: 15px;
    gap: 25px;
    box-shadow: 4px 0 20px var(--shadow-color);
  }

  #menu-icon {
    margin: 15px;
    width: 2.2em;
    height: 2.2em;
    top: 5px;
    left: 5px;
    border-radius: 8px;
    padding: 8px;
  }

  nav {
    gap: 20px;
    margin: 10px;
    font-size: 0.9em;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .about-text {
    text-align: center;
    order: 2;
  }

  .personal-info-card {
    order: 1;
    padding: 20px;
  }

  .education-grid {
    gap: 12px;
  }

  .education-card {
    grid-template-columns: 1fr;
  }

  .education-icon {
    width: 100%;
    padding: 16px 0;
  }

  .education-info {
    padding: 16px 20px;
  }

  .education-card .date {
    font-size: 0.8rem;
  }

  .education-details {
    gap: 6px;
  }

  .detail-badge {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  .experience-card {
    grid-template-columns: 1fr;
  }

  .experience-sidebar {
    width: 100%;
    flex-direction: row;
    padding: 16px 20px;
    justify-content: center;
    gap: 20px;
  }

  .experience-badge {
    writing-mode: horizontal-tb;
    text-orientation: upright;
    transform: rotate(0deg);
    padding: 6px 12px;
  }

  .experience-content {
    padding: 16px 20px;
  }

  .certifications-slider-container {
    padding: 0 50px;
  }

  .certification-slide {
    padding: 30px 20px;
  }

  .certification-slide .certification-image {
    max-width: 100%;
    height: 200px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }

  .slider-btn svg {
    width: 20px;
    height: 20px;
  }

  .github-stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .stats-title h3 {
    font-size: 1.5rem;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 0 15px;
  }

  .interactive-sidebar {
    display: none;
  }

  .main-footer {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 2rem 0 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 480px) {
  #Home h2 {
    font-size: 2rem;
  }

  .typewriter-text {
    font-size: 1.2rem;
  }

  .cursor {
    font-size: 1.2rem;
  }

  .education-card h3 {
    font-size: 1.15rem;
  }

  .education-card .institution {
    font-size: 0.9rem;
  }

  .education-card .date {
    font-size: 0.75rem;
  }

  .detail-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .experience-header h3 {
    font-size: 1.2rem;
  }

  .experience-header .company {
    font-size: 0.95rem;
  }

  .experience-header .duration {
    font-size: 0.8rem;
  }

  .experience-description li {
    font-size: 0.85rem;
    padding-left: 18px;
  }

  .experience-description li::before {
    width: 4px;
    height: 4px;
    top: 6px;
  }

  .certifications-slider-container {
    padding: 0 45px;
  }

  .certification-slide {
    padding: 25px 15px;
  }

  .certification-slide h3 {
    font-size: 1.3rem;
  }

  .certification-slide p {
    font-size: 0.95rem;
  }

  .certification-slide .certification-image {
    height: 180px;
  }

  .slider-btn {
    width: 35px;
    height: 35px;
  }

  .slider-btn svg {
    width: 18px;
    height: 18px;
  }

  #project-category,
  #Skill-filter {
    gap: 8px;
    padding: 0 10px;
  }

  .project-filter-button,
  .skill-filter-button {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media screen and (min-width: 1400px) {
  #main-content {
    padding: 40px 80px;
  }

  #main-content section {
    padding: 80px 60px;
    max-width: 1200px;
  }

  .github-stats-grid {
    gap: 30px;
  }
}