:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
}
html {
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "audiowide", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  position: relative;
  padding: 96px 24px 80px;
}

    /* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
}
.nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.4px;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav a:hover {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}
.nav a.active {
  background: rgba(0, 0, 0, 0.12);
  color: #000;
  font-weight: 600;
}
.icon-link {
  font-size: 30px;
  color: #010304;
  text-decoration: none;
}

.icon-link:hover {
  color: rgb(14, 80, 147);
}

.center {
  text-align: center;
}

/* Enhanced Hero Section */
.hero-subtitle {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInDown 0.8s ease 0.2s backwards;
}

.hero-title {
  font-size: 72px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(0,0,0,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideDown 0.8s ease 0.3s backwards, textGlow 3s ease-in-out infinite 1s;
}

.hero-role {
  font-size: 28px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 12px;
  animation: slideDown 0.8s ease 0.5s backwards;
}

.hero-description {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-family: 'Helvetica', sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-skills-preview {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  animation: slideDown 1.2s ease;
}

.skill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  animation: popIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.skill-badge:nth-child(1) { animation-delay: 0.7s; }
.skill-badge:nth-child(2) { animation-delay: 0.8s; }
.skill-badge:nth-child(3) { animation-delay: 0.9s;   transition: all 0.3s ease;
}

.skill-badge:hover {
  background: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.2);
}

.skill-badge i {
  font-size: 16px;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 40px;
  animation: slideDown 1.4s ease;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 1s backwards;
}

.cta-button {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid var(--text);
  color: white;
  background: var(--text);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button.secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}

.cta-button.secondary:hover {
  background: var(--text);
  color: white;
}

.social-links-hero {
  display: flex;
  gap: 24px;
  justify-content: center;
  animation: slideDown 1.6s ease;
}

main {
  max-width: 1220px;
  margin: 0 auto;
}
.hero-landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 96px 24px;
  text-align: center;
  min-height: calc(100vh - 64px); /* account for fixed nav height */
  margin: 0 -24px;
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  overflow: hidden;
}

/* Minimalistic animated background pattern */
.hero-landing::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.hero-landing::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: float 25s ease-in-out infinite reverse;
  pointer-events: none;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(30px, 30px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}
section {
  padding: 80px 0;
  display: block;
  scroll-margin-top: 96px;
}
section:last-of-type {
  border-bottom: none;
}
h1, h2 {
  font-weight: 600;
}
h1 { font-size: 56px; }
h2 { font-size: 36px; margin-bottom: 24px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 12px;
  color: var(--muted);
}
.lead {
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 720px;
}
.body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 720px;
}
.hero {
  background: linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0));
  border-radius: 16px;
  padding-left: 20px;
  padding-right: 20px;
}

.intro {}
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.intro-photo img {
  width: 100%;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}
.intro-content h1 {
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 24px;
  text-align: left;
  font-family: inherit;
}
.intro-text {
  column-count: 2;
  column-gap: 32px;
  text-align: left;
  font-family: 'helvetica', sans-serif;
}
.intro-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}
.intro-text strong {
  font-weight: 700;
}

@media (max-width: 960px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  .intro-content h1 {
    text-align: center;
  }
  .intro-text {
    column-count: 1;
  }
  section {
    min-height: auto;
    padding: 72px 16px;
  }
  body {
    padding: 80px 16px 64px;
  }
  .hero-landing h1 {
    font-size: 48px;
  }
  .hero-landing .lead {
    font-size: 24px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-role {
    font-size: 22px;
  }
  .cta-button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

.panel {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.duo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: start;
}
.edu-item, .exp-item {
  margin-bottom: 20px;
}
.headline {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.small {
  font-size: 13px;
  letter-spacing: 0.2px;
  color: var(--muted);
  margin-bottom: 4px;
}
.meta {
  font-size: 13px;
  color: var(--muted);
}
.muted { color: var(--muted); }
.row-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}
.columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.columns ul {
  list-style: disc;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.5;
  font-size: 14px;
}
.lang-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}
.lang-list .dots {
  flex: 1;
  border-bottom: 1px dotted #999;
  margin: 0 8px;
}
.lang-list li {
  display: flex;
  align-items: center;
  gap: 6px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pill {
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}

@media (max-width: 1024px) {
  .trio-grid { grid-template-columns: 1fr; }
  .duo-grid { grid-template-columns: 1fr; }
  .columns { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .columns { grid-template-columns: 1fr; }
  h1 { font-size: 42px; }
  h2 { font-size: 28px; }
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  scroll-margin-top: 96px;
}
.contact-header {
  text-align: center;
  margin-bottom: 60px;
}
.contact-header h2 {
  font-size: 48px;
  margin-bottom: 12px;
}
.contact-subtitle {
  font-size: 18px;
  color: var(--muted);
}
.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 80px;
}
.contact-info-box h3,
.contact-form-box h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}
.contact-info-box .body {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 100%;
}
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(0,0,0,0.02);
  border-radius: 8px;
}
.contact-icon {
  font-size: 28px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.05);
  border-radius: 50%;
}
.contact-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-value {
  font-size: 14px;
  color: var(--muted);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  background: rgba(0,0,0,0.02);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
  background: rgba(0,0,0,0.04);
}
.contact-form button {
  padding: 14px 20px;
  background: var(--text);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}
.contact-form button:hover {
  background: rgba(0,0,0,0.85);
}
.follow-section {
  text-align: left;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.follow-section h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 50%;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s ease;
  font-size: 18px;
}
.social-icon:hover {
  background: var(--text);
  color: white;
}

@media (max-width: 768px) {
  .contact-main {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

   
   
    
  
    
  @keyframes slideDown {
  from { transform: translateY(-50px); }
  to { transform: translateY(0); }
}

    @keyframes zoom {
  0% { transform: scale(0.5); }
  100% { transform: scale(1); }
}

/* Education Section - Minimal Styling */
.education-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
}

.edu-item {
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.edu-item:last-child {
  border-bottom: none;
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  gap: 16px;
}

.edu-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

.edu-year {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}

.edu-institution {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.edu-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 640px) {
  .edu-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  
  .edu-item h3 {
    font-size: 18px;
  }
}

/* Skills Section Styling */
.skills-container {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.skill-category {
  background: linear-gradient(135deg, rgba(0,0,0,0.02), rgba(0,0,0,0.06));
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.skill-category h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.skill-category h3 i {
  font-size: 28px;
  color: rgba(0,0,0,0.6);
}

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

.skill-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.skill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.15);
}

.skill-icon {
  font-size: 42px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0,0,0,0.06), rgba(0,0,0,0.12));
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
}

.skill-icon i {
  color: rgba(0,0,0,0.7);
}

.skill-info {
  flex: 1;
  min-width: 0;
}

.skill-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.skill-bar {
  width: 100%;
  height: 8px;
  background: rgba(0,0,0,0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
  border-radius: 4px;
  transition: width 0.6s ease;
  position: relative;
  overflow: hidden;
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

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

/* Icon Colors */
.skill-card:nth-child(1) .skill-icon { background: linear-gradient(135deg, #e34c26, #f06529); }
.skill-card:nth-child(1) .skill-icon i { color: white; }
.skill-card:nth-child(1) .skill-progress { background: linear-gradient(90deg, #e34c26, #f06529); }

.skill-card:nth-child(2) .skill-icon { background: linear-gradient(135deg, #264de4, #2965f1); }
.skill-card:nth-child(2) .skill-icon i { color: white; }
.skill-card:nth-child(2) .skill-progress { background: linear-gradient(90deg, #264de4, #2965f1); }

.skill-card:nth-child(3) .skill-icon { background: linear-gradient(135deg, #f0db4f, #f7df1e); }
.skill-card:nth-child(3) .skill-icon i { color: #323330; }
.skill-card:nth-child(3) .skill-progress { background: linear-gradient(90deg, #f0db4f, #f7df1e); }

.skill-card:nth-child(4) .skill-icon { background: linear-gradient(135deg, #61dafb, #00d8ff); }
.skill-card:nth-child(4) .skill-icon i { color: #20232a; }
.skill-card:nth-child(4) .skill-progress { background: linear-gradient(90deg, #61dafb, #00d8ff); }

/* Python specific styling */
.skill-category:nth-child(2) .skill-card:nth-child(1) .skill-icon { 
  background: linear-gradient(135deg, #306998, #ffd43b); 
}
.skill-category:nth-child(2) .skill-card:nth-child(1) .skill-icon i { color: white; }
.skill-category:nth-child(2) .skill-card:nth-child(1) .skill-progress { 
  background: linear-gradient(90deg, #306998, #ffd43b); 
}

/* Node.js */
.skill-category:nth-child(2) .skill-card:nth-child(2) .skill-icon { 
  background: linear-gradient(135deg, #68a063, #8cc84b); 
}
.skill-category:nth-child(2) .skill-card:nth-child(2) .skill-icon i { color: white; }
.skill-category:nth-child(2) .skill-card:nth-child(2) .skill-progress { 
  background: linear-gradient(90deg, #68a063, #8cc84b); 
}

/* Git */
.skill-category:nth-child(3) .skill-card:nth-child(1) .skill-icon { 
  background: linear-gradient(135deg, #f34f29, #f05032); 
}
.skill-category:nth-child(3) .skill-card:nth-child(1) .skill-icon i { color: white; }
.skill-category:nth-child(3) .skill-card:nth-child(1) .skill-progress { 
  background: linear-gradient(90deg, #f34f29, #f05032); 
}

/* GitHub */
.skill-category:nth-child(3) .skill-card:nth-child(2) .skill-icon { 
  background: linear-gradient(135deg, #24292e, #181717); 
}
.skill-category:nth-child(3) .skill-card:nth-child(2) .skill-icon i { color: white; }
.skill-category:nth-child(3) .skill-card:nth-child(2) .skill-progress { 
  background: linear-gradient(90deg, #24292e, #181717); 
}

/* Docker */
.skill-category:nth-child(3) .skill-card:nth-child(3) .skill-icon { 
  background: linear-gradient(135deg, #0db7ed, #2496ed); 
}
.skill-category:nth-child(3) .skill-card:nth-child(3) .skill-icon i { color: white; }
.skill-category:nth-child(3) .skill-card:nth-child(3) .skill-progress { 
  background: linear-gradient(90deg, #0db7ed, #2496ed); 
}

/* VS Code */
.skill-category:nth-child(3) .skill-card:nth-child(4) .skill-icon { 
  background: linear-gradient(135deg, #0065a9, #007acc); 
}
.skill-category:nth-child(3) .skill-card:nth-child(4) .skill-icon i { color: white; }
.skill-category:nth-child(3) .skill-card:nth-child(4) .skill-progress { 
  background: linear-gradient(90deg, #0065a9, #007acc); 
}

/* Responsive Design */
@media (max-width: 768px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .skill-category {
    padding: 24px;
  }
  
  .skill-category h3 {
    font-size: 20px;
  }
  
  .skill-icon {
    width: 50px;
    height: 50px;
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .skill-card {
    flex-direction: column;
    text-align: center;
  }
  
  .skill-info {
    width: 100%;
  }
}

/* Interactive Features & Animations */

/* Smooth transitions for interactive elements */
.skill-card,
.edu-item,
.nav a,
.submit-btn,
button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Skill progress bar animation */
.skill-progress {
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced form button styling */
.submit-btn,
.contact-form button {
  padding: 14px 20px;
  background: var(--text);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover,
.contact-form button:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.submit-btn:active,
.contact-form button:active {
  transform: translateY(0);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Education items hover effect */
.edu-item {
  transition: all 0.3s ease;
}

.edu-item:hover {
  transform: translateX(4px);
}

/* Skill card enhanced hover */
.skill-card:hover .skill-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Image hover effect */
.intro-photo img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

.intro-photo img:hover {
  transform: scale(1.05) rotate(1deg);
  filter: brightness(1.05);
}

/* Smooth fade animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Navigation active state animation */
.nav a {
  position: relative;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--text);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    width: 0;
    left: 50%;
  }
  to {
    width: auto;
    left: 10px;
  }
}

/* Form input focus effects */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text);
  background: rgba(0, 0, 0, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
  transform: scale(1.01);
}

/* Skill card entrance animation */
.skill-card {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

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

/* Loader effect for contact form */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced link interactions */
a {
  position: relative;
  text-decoration: none;
}

.icon-link {
  transition: all 0.3s ease;
  display: inline-block;
  transform: scale(1);
}

.icon-link:hover {
  transform: scale(1.15) rotate(-5deg);
}

.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

/* Add depth to sections on scroll */
section {
  transition: all 0.6s ease;
}

/* Subtle shadow on interaction */
.skill-card:active,
.edu-item:active {
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Landing Page Animation Keyframes */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes textGlow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0);
  }
  50% {
    text-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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