* {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 50px 80px;
  color: black;
  flex-wrap: wrap;
}

.navbar-title {
  font-size: 1.9rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 16px;
}

.nav-links a {
  padding: 10px;
  text-decoration: none;
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background-color: black;
  color: white;
  transform: translateY(-3px);
}

.contact-page {
  max-width: 600px;
  margin: 60px auto 100px auto;
  padding: 0 20px;
  color: black;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-title {
  font-size: 2.8rem;
  font-weight: bold;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form label {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 6px;
  user-select: none;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 2px solid black;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: black;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
}

.contact-form textarea {
  min-height: 140px;
}

.action-button {
  padding: 12px 20px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: white;
  color: black;
  border: 2px solid black;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
  transition: all 0.3s ease;
  user-select: none;
}

.action-button:hover {
  background-color: black;
  color: white;
  transform: translateY(-3px);
}

.glass-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  box-shadow:
    0 0 10px rgba(255, 255, 255, 0.15),
    0 0 20px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.05s linear;
  opacity: 0.95;
  animation: none;
  z-index: 9999;
}

@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .nav-links {
    flex-direction: column;
    width: 100%;
  }
  .nav-links a {
    font-size: 1.2rem;
    padding: 5px 0;
  }
  .navbar-title {
    font-size: 1.6rem;
  }

  .contact-page {
    max-width: 90%;
    margin: 40px auto 80px auto;
  }

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

  .contact-form input,
  .contact-form textarea {
    font-size: 0.95rem;
    padding: 10px 12px;
  }

  .action-button {
    font-size: 1rem;
  }
}

html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
}

main, .title, .about-page, .projects-page, .contact-page {
  flex: 1 0 auto;
}

.footer {
  flex-shrink: 0;
  background-color: black;
  color: white;
  padding: 20px 80px;
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  user-select: none;
}

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

.footer-left {
  flex: 1 1 300px;
}

.footer-right {
  display: flex;
  gap: 20px;
  flex: 1 1 300px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-right a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
  cursor: pointer;
}

.footer-right a:hover {
  color: #ddd;
}

@media (max-width: 768px) {
  .footer {
    padding: 20px 20px;
    font-size: 0.9rem;
  }
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-left, .footer-right {
    flex: unset;
    justify-content: center;
  }
  .footer-right {
    gap: 15px;
    margin-top: 10px;
  }
}