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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --bg-primary: #06070d;
  --bg-secondary: #0a0b12;
  --card-bg: rgba(13, 17, 30, 0.45);
  --card-border: rgba(255, 255, 255, 0.06);
  --card-border-glow: rgba(0, 242, 254, 0.15);
  --accent-cyan: #00f2fe;
  --accent-purple: #a100ff;
  --accent-blue: #2575fc;
  --accent-gradient: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
  --accent-gradient-hover: linear-gradient(135deg, #05e6f2 0%, #8e00e0 100%);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --glow-shadow: 0 8px 32px 0 rgba(0, 242, 254, 0.1);
  --glass-blur: blur(16px);
}

/* --- RESET & GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gradient);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* --- BACKGROUND ANIMATIONS --- */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.aurora-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 10% 20%, rgba(0, 242, 254, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 85% 70%, rgba(161, 0, 254, 0.06) 0%, transparent 45%),
              radial-gradient(circle at 50% 50%, rgba(37, 117, 252, 0.03) 0%, transparent 50%);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: float-blob 25s infinite alternate ease-in-out;
  pointer-events: none;
}

.aurora-blob-1 {
  top: -10%;
  left: -10%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.2) 0%, rgba(37, 117, 252, 0.05) 70%);
}

.aurora-blob-2 {
  bottom: -15%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(161, 0, 254, 0.22) 0%, rgba(0, 242, 254, 0.05) 70%);
  animation-delay: -5s;
  animation-duration: 30s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(8%, 5%) scale(1.1) rotate(180deg);
  }
  100% {
    transform: translate(-5%, 10%) scale(0.9) rotate(360deg);
  }
}

/* --- HEADER / NAVIGATION --- */
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 2rem;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-nav.scrolled {
  padding: 0.85rem 2rem;
  background: rgba(6, 7, 13, 0.75);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--text-primary);
  -webkit-text-fill-color: var(--text-primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}

.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- MAIN CONTAINER --- */
main {
  flex: 1;
  padding-top: 8rem; /* Offset for fixed header */
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 4rem auto;
  padding-left: 2rem;
  padding-right: 2rem;
  z-index: 10;
}

/* Page transitions */
.page-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- GLASSMOPHISM CARDS --- */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.04), transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.glass-card:hover {
  border-color: var(--card-border-glow);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.05);
  transform: translateY(-4px);
}

/* --- TITLES & HEADINGS --- */
.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(161, 0, 254, 0.25);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 6px 20px rgba(161, 0, 254, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* --- HERO SECTION (INDEX) --- */
.hero-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  min-height: 65vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

.hero-typed {
  font-size: 1.75rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
}

.typed-cursor {
  animation: blink 0.8s infinite;
  color: var(--accent-cyan);
  margin-left: 2px;
}

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

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
}

.hero-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-img-glow {
  position: absolute;
  width: 105%;
  height: 105%;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(25px);
  opacity: 0.3;
  z-index: 1;
  animation: pulse-glow 6s infinite alternate ease-in-out;
}

@keyframes pulse-glow {
  0% { transform: scale(0.98); opacity: 0.25; }
  100% { transform: scale(1.05); opacity: 0.4; }
}

.hero-img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
}

.hero-img:hover {
  border-color: var(--accent-cyan);
  transform: scale(1.02) rotate(1deg);
}

/* --- QUICK SKILLS SECTION --- */
.skills-brief-section {
  margin-top: 6rem;
}

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

.skill-category-card {
  padding: 2rem;
}

.skill-category-card h3 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.skill-category-card h3 i {
  color: var(--accent-cyan);
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.skill-tag:hover {
  background: rgba(0, 242, 254, 0.06);
  border-color: rgba(0, 242, 254, 0.3);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* --- TIMELINE (EXPERIENCE) --- */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: rgba(255, 255, 255, 0.06);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 1rem 3rem;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item-left {
  left: 0;
}

.timeline-item-right {
  left: 50%;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  position: absolute;
  top: 2rem;
  z-index: 5;
  box-shadow: 0 0 10px var(--accent-cyan);
  transition: var(--transition-fast);
}

.timeline-item-left .timeline-dot {
  right: -8px;
}

.timeline-item-right .timeline-dot {
  left: -8px;
}

.timeline-item:hover .timeline-dot {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: 0 0 15px var(--accent-purple);
}

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

.timeline-date {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  display: block;
}

.timeline-role {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-size: 1rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timeline-company a {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  color: var(--accent-purple);
  border: 1px solid rgba(161, 0, 254, 0.2);
}

.timeline-company a:hover {
  background: var(--accent-purple);
  color: #fff;
}

.timeline-bullets {
  list-style: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timeline-bullets li {
  position: relative;
  padding-left: 1.25rem;
}

.timeline-bullets li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-size: 0.8rem;
}

/* --- PROJECTS & ACHIEVEMENTS --- */
.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(161, 0, 254, 0.2);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 6rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-status {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(0, 242, 254, 0.08);
  color: var(--accent-cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.2);
  letter-spacing: 0.5px;
}

.project-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex: 1;
}

.project-tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.project-tech {
  font-size: 0.8rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: var(--text-secondary);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

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

/* Achievements grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.achievement-card {
  text-align: center;
  padding: 2.5rem 2rem;
}

.achievement-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(161, 0, 254, 0.08);
  border: 1px solid rgba(161, 0, 254, 0.2);
  color: var(--accent-purple);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition-smooth);
}

.achievement-card:hover .achievement-icon {
  background: var(--accent-gradient);
  color: #fff;
  transform: rotate(360deg);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.achievement-value {
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.achievement-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.achievement-detail {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --- EDUCATION & CERTIFICATIONS --- */
.education-section {
  margin-bottom: 6rem;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.education-card {
  display: flex;
  flex-direction: column;
}

.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.education-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
}

.education-duration {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.06);
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  border: 1px solid rgba(0, 242, 254, 0.2);
}

.education-inst {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.education-grade {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.education-grade span {
  color: var(--accent-purple);
}

/* Certifications Showcase */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem;
}

.cert-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.cert-card:hover .cert-icon {
  background: var(--accent-cyan);
  color: #06070d;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
}

.cert-info h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.cert-info p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* --- CONTACT SECTION --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(0, 242, 254, 0.06);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-card:hover .contact-icon {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.contact-text h4 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-text p, .contact-text a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

textarea.form-input {
  resize: vertical;
  min-height: 150px;
}

.form-group label {
  position: absolute;
  left: 1.25rem;
  top: 1rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.form-input:focus ~ label,
.form-input:not(:placeholder-shown) ~ label {
  top: -0.6rem;
  left: 0.75rem;
  font-size: 0.75rem;
  color: var(--accent-cyan);
  background: var(--bg-primary);
  padding: 0 0.4rem;
  border-radius: 4px;
}

/* --- FOOTER --- */
footer {
  border-top: 1px solid var(--card-border);
  background: rgba(6, 7, 13, 0.9);
  padding: 3rem 2rem;
  margin-top: auto;
  z-index: 10;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
}

.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.footer-social:hover {
  background: var(--accent-cyan);
  color: #06070d;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
  transform: translateY(-2px);
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
  main {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .hero-wrapper {
    gap: 2rem;
  }
  .hero-title {
    font-size: 3.25rem;
  }
  .contact-wrapper {
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .timeline::after {
    left: 20px;
  }
  .timeline-item {
    width: 100%;
    padding-left: 50px;
    padding-right: 0;
  }
  .timeline-item-right {
    left: 0;
  }
  .timeline-item-left .timeline-dot,
  .timeline-item-right .timeline-dot {
    left: 12px;
    right: auto;
  }
}

@media (max-width: 768px) {
  main {
    padding-top: 7rem;
  }
  .header-nav {
    padding: 1rem;
  }
  .nav-toggle {
    display: block;
    z-index: 1100;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(6, 7, 13, 0.95);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-left: 1px solid var(--card-border);
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    transition: var(--transition-smooth);
    z-index: 1090;
  }
  .nav-menu.active {
    right: 0;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-content {
    align-items: center;
  }
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-desc {
    margin: 0 auto 2rem auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .education-grid {
    grid-template-columns: 1fr;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .hero-typed {
    font-size: 1.4rem;
  }
  .hero-img {
    width: 250px;
    height: 250px;
  }
  .section-title {
    font-size: 2rem;
  }
  .portfolio-filters {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }
  .glass-card {
    padding: 1.5rem;
  }
}
