/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* light theme colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --accent: #0f172a;
  --accent-hover: #1e293b;
  --accent-light: #f1f5f9;
  --gradient-start: #0f172a;
  --gradient-end: #475569;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

[data-theme='dark'] {
  /* dark theme colors */
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-card: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --border: #334155;
  --accent: #f1f5f9;
  --accent-hover: #e2e8f0;
  --accent-light: #334155;
  --gradient-start: #f1f5f9;
  --gradient-end: #cbd5e1;
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.5), 0 1px 2px -1px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.4), 0 8px 10px -6px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

/* base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  overflow-x: hidden;
  width: 100%;
}

.container {
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 2rem;
  max-width: 100%;
  width: 100%;
}

/* header & navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
}

[data-theme='dark'] .header {
  background-color: rgba(15, 23, 42, 0.8);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-primary);
  z-index: 1001;
  letter-spacing: -0.025em;
}

.nav {
  display: flex;
  gap: 2.5rem;
  transition: all 0.3s ease;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--accent);
}

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

.header-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  z-index: 1001;
}

.control-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.625rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 1rem;
}

.control-btn:hover {
  background-color: var(--accent-light);
  color: var(--accent);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
}

.hamburger i {
  font-size: 1.25rem;
}

/* hero section */
.hero {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, transparent 100%);
  z-index: -1;
  opacity: 0.5;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out;
}

.hero-greeting {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* buttons */
.btn {
  padding: 0.875rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--bg-primary);
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--accent);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--accent-light);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* sections */
section {
  padding: 5rem 0;
  width: 100%;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3.5rem;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
  border-radius: 2px;
}

/* about section */
.about {
  background-color: var(--bg-secondary);
}

.about-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.about-highlights {
  list-style: none;
  display: grid;
  gap: 1rem;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.3rem 0;
}

.about-highlights i {
  color: var(--accent);
  font-size: 1rem;
}

.about-visual {
  display: flex;
  justify-content: center;
}

/* TODO: remove the next two styles when you add profile photo */
.about-icon {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.12;
}

.about-icon i {
  font-size: 7rem;
  color: var(--bg-primary);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}

.about-header {
  display: grid;
  grid-template-columns: 1fr min(25vw, 17rem);
  gap: 2.5rem;
  align-items: center;
}

.about-description {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0;
  font-size: 1.0625rem;
  text-align: justify;
}

.about-profile-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow);
  border: 3px solid var(--border);
  transition: all 0.3s ease;
}

.about-profile-img:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  justify-items: stretch;
  align-items: stretch;
  max-width: 65rem;
  margin: 0 auto;
}

.about-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.about-card i {
  color: var(--accent);
  font-size: 1.5rem;
}

.about-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9375rem;
  font-weight: 500;
}

@media (max-width: 1024px) {
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-header {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-profile-img {
    margin: 0 auto;
  }

  .about-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .about-cards {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .about-card {
    padding: 1.25rem;
  }
}

/* projects section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: var(--bg-card);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.project-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
}

.project-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
  opacity: 0.2;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: var(--text-primary);
}

.project-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-size: 0.9375rem;
  flex-grow: 1;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.tech-badge {
  background-color: var(--accent-light);
  color: var(--text-primary);
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.tech-badge:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.project-links {
  display: flex;
  gap: 0.875rem;
  margin-top: auto;
}

.project-link {
  flex: 1;
  padding: 0.625rem 1.25rem;
  text-align: center;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 2px solid var(--border);
  color: var(--text-primary);
}

.project-link:hover {
  background-color: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
  transform: translateY(-2px);
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  animation: modalFadeIn 0.3s ease-out;
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.modal-close {
  display: none;
}
/* .modal-close { */
/*   position: absolute; */
/*   top: -50px; */
/*   right: 0; */
/*   background: rgba(255, 255, 255, 0.2); */
/*   border: none; */
/*   color: white; */
/*   padding: 12px; */
/*   border-radius: 50%; */
/*   cursor: pointer; */
/*   font-size: 1.2rem; */
/*   transition: all 0.3s ease; */
/*   backdrop-filter: blur(10px); */
/*   -webkit-backdrop-filter: blur(10px); */
/* } */
/**/
/* .modal-close:hover { */
/*   background: rgba(255, 255, 255, 0.3); */
/*   transform: scale(1.1); */
/* } */

#modalImage {
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

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

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

/* skills section */
.skills {
  background-color: var(--bg-secondary);
}

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

.skill-category {
  background-color: var(--bg-card);
  padding: 2.25rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

.skill-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.skill-header i {
  color: var(--accent);
  font-size: 1.5rem;
}

.skill-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

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

.skill-tag {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--bg-primary);
  padding: 0.625rem 1.125rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.skill-tag:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* experience section */
.experience-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.experience-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background-color: var(--bg-card);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.experience-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.experience-date {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-light), var(--bg-secondary));
  border-radius: 0.75rem;
  height: fit-content;
}

.experience-date i {
  color: var(--accent);
}

.experience-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--text-primary);
}

.experience-company {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 1rem;
}

.experience-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.experience-achievements {
  list-style: none;
}

.experience-achievements li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 0.75rem;
  color: var(--text-secondary);
}

.experience-achievements i {
  color: var(--accent);
  font-size: 0.75rem;
  margin-top: 0.375rem;
}

/* education section */
.education {
  background-color: var(--bg-secondary);
}

.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.education-card {
  background-color: var(--bg-card);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--gradient-start), var(--gradient-end));
  transition: height 0.3s ease;
}

.education-card:hover::before {
  height: 100%;
}

.education-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.education-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.education-icon i {
  font-size: 2.25rem;
  color: var(--bg-primary);
}

.education-period {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  background-color: var(--accent-light);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  width: fit-content;
  margin-bottom: 0.75rem;
}

.education-period i {
  color: var(--accent);
  font-size: 0.875rem;
}

.education-institution {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.education-profile {
  font-size: 1.125rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.125rem;
  line-height: 1.4;
}

/* footer */
.footer {
  background: linear-gradient(180deg, var(--bg-secondary), var(--bg-primary));
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  width: 100%;
}

.footer-content {
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  /* flex-wrap: wrap; */
  /* gap: 1.5rem; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  width: 100%;
}

.footer-content p {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.9375rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  white-space: nowrap;
}

.footer-link:hover {
  color: var(--accent);
  background-color: var(--accent-light);
  transform: translateY(-2px);
}

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

.fade-in {
  animation: fadeInUp 0.8s ease-out;
}

/* mobile navigation */
@media (max-width: 968px) {
  .header-content {
    padding: 1rem 0;
  }

  .nav {
    width: 280px;
  }

  .logo {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--bg-card);
    flex-direction: column;
    padding: 6rem 2.5rem 2.5rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    gap: 0;
    border-left: 1px solid var(--border);
  }

  .nav.active {
    right: 0;
  }

  .nav-link {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 1.125rem;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:first-child {
    border-top: 1px solid var(--border);
  }
}

/* responsive design */
@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 320px;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }

  .project-card {
    margin: 0 auto;
    max-width: 100%;
  }

  .project-links {
    flex-direction: column;
  }

  .project-link {
    width: 100%;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
    margin: 0 0.5rem 2rem 0.5rem;
  }

  .experience-date {
    justify-content: flex-start;
    width: fit-content;
    width: 100%;
  }

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  section {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.0625rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 100%;
  }

  .about-content {
    padding: 0 0.5rem;
  }

  .nav {
    width: 100%;
    right: -100%;
    padding: 5rem 2rem 2rem;
  }

  .education-card {
    margin: 0 0.5rem;
    padding: 1.5rem;
  }

  .education-institution {
    font-size: 1.375rem;
  }

  .education-profile {
    font-size: 1rem;
  }

  .education-icon {
    width: 64px;
    height: 64px;
  }

  .education-icon i {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer {
    padding: 1.5rem 0;
  }

  .footer-links {
    flex-direction: column;
    width: 100%;
  }

  .footer-link {
    justify-content: center;
  }
}

.typing-cursor {
  display: inline-block;
  width: 0.01em;
  height: 1em;
  background-color: currentColor;
  vertical-align: bottom;
  margin-left: 0.1em;
  animation: blink 0.9s infinite;
}

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