body {
  margin: 0;
  font-family: "Helvetica Neue", Arial, sans-serif;
  background-color: #101422;
  color: #101422;
  transition: background-color 0.3s, color 0.3s;
}

/* Nav */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: #101422;
}

.light-mode .navbar {
  background-color: #f5f5f5;
}

.nav-links {
  display: none;
  text-decoration: none !important;
  flex-direction: column;
  background-color: #101422;
  position: absolute;
  list-style: none;
  top: 60px;
  left: 0;
  width: 200px;
  gap: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border-radius: 0 0 5px 5px;
}

.nav-links li a {
  text-decoration: none;
  color: #c3c3c3;
  font-weight: bold;
  transition: color 0.3s;
}

.light-mode .nav-links li a {
  color: #101422;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #a8dce7;
}

.light-mode .nav-links li a:hover,
.light-mode .nav-links li a.active {
  color: #007acc;
}

.light-mode .nav-links {
  background-color: #f5f5f5;
}

.light-mode .nav-links li a {
  color: #101422;
}

.nav-links.show {
  display: flex;
}

.hamburger {
  font-size: 2rem;
  color: #c3c3c3;
  background: none;
  border: none;
  cursor: pointer;
}

.light-mode .hamburger {
  color: #7d7c7c;
}

/* Desktop View Styles */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background-color: transparent;
    box-shadow: none;
    width: auto;
    gap: 40px;
    padding: 0;
    list-style: none;
  }

  .light-mode .nav-links {
    background-color: transparent;
  }

  .hamburger {
    display: none;
  }
}

/* Light / Dark Mode Switcher */

.light-mode {
  background-color: #f5f5f5;
  color: #101422;
}

.icon-button {
  border: none;
  padding: 10px;
  background-color: transparent;
  border-radius: 50px;
  cursor: pointer;
  color: #c3c3c3;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.light-mode .icon-button {
  background-color: transparent;
  color: #7d7c7c;
}

.icon-button:hover {
  color: #f6e976;
}

.light-mode .icon-button:hover {
  color: #101422;
  background-color: transparent;
}

/* Intro */

.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50rem;
  text-align: center;
  margin: 0;
  padding: 0;
}

.hero-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
}

#typed-text {
  font-size: 4rem;
  font-weight: bold;
  color: #ffffff;
  margin: 0;
}

.light-mode #typed-text {
  color: #101422;
}

.hero-content h1 {
  margin: 0;
}

.light-mode .hero-content h1 {
  color: #101422;
}

.hero-content h3 {
  font-size: 1.5rem;
  font-weight: normal;
  color: #c3c3c3;
}

.light-mode .hero-content h3 {
  color: #7d7c7c;
}

/* Buttons */

.button-group {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  justify-content: center;
}

.button-common {
  display: inline-block;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  cursor: pointer;
  text-align: center;
}

.button-common.project-button,
.button-common.download-button {
  background-color: #1f1f36;
  color: #a8dce7;
  border: 2px solid #a8dce7;
}

.button-common.project-button:hover,
.button-common.download-button:hover {
  background-color: #a8dce7;
  color: #1f1f36;
  transform: translateY(-2px);
}

.light-mode .button-common.project-button,
.light-mode .button-common.download-button {
  background-color: #ffffff;
  color: #007acc;
  border: 2px solid #007acc;
}

.light-mode .button-common.project-button:hover,
.light-mode .button-common.download-button:hover {
  background-color: #007acc;
  color: #ffffff;
  transform: translateY(-2px);
}

.download-button-center {
  text-align: center;
  margin-top: 20px;
}

.form-submit-button {
  background-color: #1f1f36;
  color: #a8dce7;
  border: 2px solid #a8dce7;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: bold;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.form-submit-button:hover {
  background-color: #a8dce7;
  color: #1f1f36;
}

.TM-button,
.cv-button {
  background-color: #101422;
  color: #a8dce7;
  border: 2px solid #a8dce7;
}

.TM-button:hover,
.cv-button:hover {
  background-color: #a8dce7;
  color: #101422;
  transform: translateY(-2px);
}

.light-mode .TM-button,
.light-mode .cv-button,
.light-mode .form-submit-button {
  background-color: #ffffff;
  color: #007acc;
  border: 2px solid #007acc;
}

.light-mode .TM-button:hover,
.light-mode .cv-button:hover,
.light-mode .form-submit-button:hover {
  background-color: #007acc;
  color: #ffffff;
  transform: translateY(-2px);
}

/* About Me */

.about-me-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
}

.about-me-section h1 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
  margin-bottom: 3rem;
}

@media (min-width: 800px) {
  .about-me-section h1 {
    text-align: left;
    margin-bottom: 0rem;
  }
}

.light-mode .about-me-section h1 {
  color: #101422;
}

.about-me-section p {
  font-size: 1rem;
  color: #c3c3c3;
  line-height: 1.6;
  margin-bottom: 20px;
}

.light-mode .about-me-section p {
  color: #7d7c7c;
}

.highlight {
  color: #a8dce7;
}

.light-mode .highlight {
  color: #007acc;
}

.about-me-section p + p {
  margin-top: 10px;
}

/* Projects */

.projects-section {
  padding: 50px 20px;
  background-color: #101422;
}

.light-mode .projects-section {
  background-color: #f5f5f5;
}

.projects-title {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 3rem;
  text-align: center;
}

@media (min-width: 800px) {
  .projects-title {
    margin-bottom: 5rem;
  }
}

.light-mode .projects-title {
  color: #101422;
}

.projects-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: #1f1f36;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #c3c3c3;
  transition: transform 0.3s, box-shadow 0.3s;
}

.light-mode .project-card {
  background-color: #ffffff;
  color: #101422;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.project-card h3 {
  font-size: 1.5rem;
  color: #a8dce7;
  margin-bottom: 15px;
}

.light-mode .project-card h3 {
  color: #007acc;
}

.project-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
  color: #c3c3c3;
}

.light-mode .project-card p {
  color: #7d7c7c;
}

/* Project 1 - 2 */

.project-page-container {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  background-color: #1f1f36;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.light-mode .project-page-container {
  background-color: #ffffff;
  box-shadow: rgba(0, 0, 0, 0.3);
}

.project-title {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: left;
}

.project-details-heading {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.light-mode .project-title,
.light-mode .project-details-heading {
  color: #007acc;
}

.project-details {
  font-size: 1rem;
  color: #c3c3c3;
  line-height: 1.6;
  margin-bottom: 30px;
}

.light-mode .project-details {
  color: #7d7c7c;
}

.project-image-container {
  text-align: center;
  margin-bottom: 30px;
}

.project-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Contact Form */

.contact-form-section {
  padding: 30px;
  background-color: #101422;
  max-width: 800px;
  margin: 0 auto;
}

.light-mode .contact-form-section {
  background-color: #f5f5f5;
}

.contact-form-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 600px;
  width: 90%;
  margin: 0 auto;
}

.form-section,
.contact-details-section {
  flex: 0 1 100%;
  background-color: #1f1f36;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.light-mode .form-section,
.light-mode .contact-details-section {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.form-section h1,
.contact-details-section h1 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
}

.light-mode .form-section h1,
.light-mode .contact-details-section h1 {
  color: #101422;
}

.form-section form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-section form input,
.form-section form select,
.form-section form textarea {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #101422;
  border-radius: 5px;
  background-color: #2a2f48;
  color: #cccccc;
  transition: border-color 0.3s;
}

.light-mode .form-section form input,
.light-mode .form-section form select,
.light-mode .form-section form textarea {
  background-color: #ffffff;
  color: #101422;
  border: 1px solid #cccccc;
}

.form-section form input:focus,
.form-section form select:focus,
.form-section form textarea:focus {
  border-color: #a8dce7;
  outline: none;
}

.light-mode .form-section form input:focus,
.light-mode .form-section form select:focus,
.light-mode .form-section form textarea:focus {
  border-color: #007acc;
}

.contact {
  margin-top: 15px;
  text-align: center;
  font-size: 1rem;
  color: #ffffff;
}

.light-mode .contact {
  color: #101422;
}

.contact a {
  color: #a8dce7;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.light-mode .contact a {
  color: #007acc;
}

.contact a:hover {
  color: #ffffff;
}

.light-mode .contact a:hover {
  color: #101422;
}

/* Popup styles */
.popup {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #1f1f36;
  color: #a8dce7;
  padding: 15px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.light-mode .popup {
  background-color: #ffffff;
  color: #101422;
}

.popup span {
  font-size: 1rem;
}

.popup button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}

.light-mode .popup button {
  color: #101422;
}

.popup button:hover {
  color: #a8dce7;
}

.light-mode .popup button:hover {
  color: #007acc;
}

/* Footer */

.footer {
  text-align: center;
  padding: 20px;
  background-color: #101422;
  color: #c3c3c3;
  margin-top: 50px;
}

.light-mode .footer {
  background-color: #f5f5f5;
  color: #7d7c7c;
}

.social-media {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.light-mode .footer .social-link {
  color: #7d7c7c;
}

.social-link {
  color: #c3c3c3;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-link:hover {
  color: #ffffff;
}

.light-mode .footer .social-link:hover {
  color: #101422;
}
