body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 20px;
  padding: 0;
  color: #333;
}

main {
  margin-left: 0;
  padding: 22px;
  background-color: #f9f9f9;
  min-height: 100vh;
  box-sizing: border-box;
}

header {
  margin-left: 0;
  margin-top: 60px;
  padding: 20px;
  background-color: rgb(108, 189, 181);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header h1 {
  font-size: 60px;
  margin: 10px 20px;
  color: #000000;
  line-height: 1.2;
}

header strong {
  background-color: #1f8c71c8;
  padding: 0 10px;
  border-radius: 5px;
  display: inline-block;
}

:focus-visible {
  outline: 3px solid #00695c;
  outline-offset: 3px;
  border-radius: 4px;
}

footer :focus-visible,
.lightbox :focus-visible {
  outline-color: #02ddc3;
}

nav ul li a:focus-visible {
  background-color: #e0f2f1;
  outline: none;
  border-left: 3px solid #00695c;
  box-shadow: inset 0 0 0 2px #00695c;
}

.typing-svg img {
  max-width: 90%;
  margin: 0px 20px;
  height: auto;
}

.intro {
  margin: 10px 20px;
  font-size: 25px;
  color: #000000;
  max-width: 800px;
}

.social-icons {
  margin: 20px 20px;
}

.social-icons a {
  text-decoration: none;
  margin: 0 10px 10px 0;
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icons .icon {
  width: 40px;
  height: 40px;
  display: inline-block;
  background-color: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover .icon {
  transform: scale(1.2);
  opacity: 0.8;
}

.cv-container {
  margin: 0 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.cv-btn {
  background-color: white;
  color: black;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
}

.cv-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.cv-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  background-color: #f0f0f0;
}

.cv-btn:active {
  transform: scale(0.95);
}

footer {
  margin-left: 0;
  padding: 15px 20px;
  background-color: #444;
  color: white;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  font-size: 15px;
}

.skip a {
  position: absolute;
  top: -65px;
  left: 0;
  padding: 6px;
  background: yellow;
  transition: top 1s ease-out;
  z-index: 2000;
  color: black;
  font-weight: bold;
}

.skip a:focus {
  top: 0px;
}

.hamburger-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.hamburger-menu-wrapper h1 {
  margin: 0;
  font-size: 25px;
  color: rgb(0, 75, 0);
}

.hamburger-menu {
  display: flex;
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
  transition: all 0.3s ease;
  padding: 0;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: rgb(0, 75, 0);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger-menu.toggle span:nth-child(1) {
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -1.5px;
}

.hamburger-menu.toggle span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.toggle span:nth-child(3) {
  transform: rotate(-45deg);
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -1.5px;
}

nav.hidden-nav {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 60px;
  overflow-y: auto;
}

nav ul {
  list-style: none;
  padding-left: 0;
  width: 100%;
  margin: 0;
}

nav ul li a img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  vertical-align: middle;
}

nav ul li a {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  font-size: 20px;
  color: rgb(0, 75, 0);
  text-decoration: none;
  border-left: none;
  border-bottom: 1px solid #f0f0f0;
}

nav ul li a:hover {
  background-color: #f9f9f9;
  border-left: 4px solid rgb(0, 74, 0);
  padding-left: 16px;
}

.profile-picture {
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.profile-picture img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #ccc;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

section {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

section h2 {
  color: #00695c;
  margin-bottom: 20px;
  font-size: 30px;
  border-bottom: 2px solid #00695c;
  display: inline-block;
  padding-bottom: 5px;
  scroll-margin-top: 80px;
}

section p {
  margin: 15px 0;
  font-size: 18px;
  line-height: 1.7;
}

section strong {
  color: #004d40;
  font-weight: bold;
}

.about-skills {
  margin-top: 20px;
}

.about-skills h2 {
  color: #00695c;
  font-size: 25px;
  margin-bottom: 15px;
  border-bottom: none;
}

.about-skills ul {
  list-style-type: none;
  padding: 0;
}

.about-skills li {
  margin: 8px 0;
  padding-left: 20px;
  font-size: 18px;
  position: relative;
}

.about-skills li::before {
  content: "•";
  color: #00695c;
  font-size: 22px;
  position: absolute;
  left: 0;
  top: -2px;
}

.experience-bullets {
  margin-top: 10px;
  padding-left: 20px;
  list-style-type: disc;
}

.experience-bullets li {
  margin-bottom: 8px;
  font-size: 18px; 
  color: #333;
  line-height: 1.6;
}

.experience-bullets li::marker {
  color: #00695c;
}

.experience-bullets a:hover {
  color: #02ddc3 !important;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

.project-panel {
  background-color: #f3f1f1;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-panel:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 15px;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.project-panel h3 {
  font-size: 25px;
  color: #00695c;
  margin-bottom: 10px;
  margin-top: 0;
}

.project-panel p {
  font-size: 18px;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.project-links .btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 0.9rem;
  border-radius: 5px;
  color: black;
  background-color: #02ddc3;
  transition: background-color 0.3s ease, transform 0.2s ease;
  gap: 8px;
  font-weight: 600;
}

.project-links .btn:hover {
  background-color: #01cdab;
  transform: scale(1.05);
}

.project-links .btn-icon {
  width: 18px;
  height: 18px;
}

.hidden_project {
  display: none;
}

#toggleProjectsBtn {
  display: block;
  width: fit-content;
  margin: 30px auto 10px;
  padding: 12px 25px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #02ddc3, #0288d1);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
}

#toggleProjectsBtn:hover {
  background: linear-gradient(90deg, #0288d1, #02ddc3);
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

#toggleProjectsBtn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.skills-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.tab-btn {
  padding: 8px 20px;
  border: 2px solid #00695c;
  background-color: transparent;
  color: #00695c;
  font-size: 18px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background-color: #00695c;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 105, 92, 0.3);
}

.skills-grid {
  display: grid;
  gap: 20px;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.tab-btn:hover {
  background-color: #e0f2f1;
  transform: translateY(-2px);
}

.skill-card {
  background-color: white;
  border-radius: 12px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  border-color: #02ddc3;
}

.skill-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.skill-card span {
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
  text-align: center;
}

.hidden-skill {
  display: none;
}

.transparent-skill {
  opacity: 0;
  transform: translateY(20px);
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 20px;
}

.education-list::before {
  content: "";
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 6px;
  width: 4px;
  background-color: #e0e0e0;
  border-radius: 2px;
}

.education-card {
  background-color: #f3f1f1;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  padding: 20px;
  border-left: 5px solid #00695c;
  position: relative;
  margin-bottom: 30px;
  margin-left: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card::before {
  content: "";
  position: absolute;
  top: 25px;
  left: -34px;
  width: 16px;
  height: 16px;
  background-color: #00695c;
  border: 4px solid #fff;
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 0 2px #00695c;
}

.education-card:last-child {
  margin-bottom: 0;
}

.education-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.edu-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  gap: 10px;
}

.edu-header h3 {
  margin: 0;
  color: #00695c;
  font-size: 20px;
  font-weight: bold;
}

.edu-date {
  font-size: 14px;
  color: #666;
  font-style: italic;
  background-color: #e0f2f1;
  padding: 4px 10px;
  border-radius: 15px;
  white-space: nowrap;
}

.edu-details p {
  margin: 5px 0;
  color: #333;
  font-size: 18px;
}

.edu-degree {
  font-weight: bold;
  font-size: 18px;
  margin: 5px 0;
}

.hidden-edu {
  display: none;
}

#toggleEduBtn {
  display: block;
  margin: 20px auto 0;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: linear-gradient(90deg, #02ddc3, #0288d1);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  text-align: center;
  width: fit-content;
}

#toggleEduBtn:hover {
  background: linear-gradient(90deg, #0288d1, #02ddc3);
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}

#toggleEduBtn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#contact {
  display: block;
  text-align: center;
}

.contact-intro {
  color: #555;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

#contact-form {
  background-color: #f3f1f1;
  max-width: 100%;
  margin: 0 auto;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-weight: bold;
  margin-bottom: 8px;
  color: #00695c;
  font-size: 18px;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s;
  width: 100%;
  box-sizing: border-box;
  background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00695c;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.15);
  background-color: #fff;
}

.submit-btn {
  background-color: #00695c;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  width: 100%;
  max-width: 300px;
  margin-top: 10px;
  box-shadow: 0 4px 6px rgba(0, 105, 92, 0.2);
}

.submit-btn:hover {
  background-color: #004d40;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 105, 92, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-status {
  font-size: 18px;
  margin-top: 10px;
  font-weight: bold;
  min-height: 24px;
}

.form-status.success {
  color: #2e7d32;
}

.form-status.error {
  color: #c62828;
}

@media screen and (min-width: 480px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 800px) {
  main {
    margin-left: 200px;
  }

  header {
    margin-left: 200px;
    margin-top: 0px;
  }

  header h1 {
    margin: 10px 40px;
  }

  .typing-svg img {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0px 40px;
  }

  .intro {
    margin: 10px 40px;
  }

  .social-icons {
    margin: 20px 40px;
  }

  footer {
    margin-left: 200px;
  }

  .hamburger-menu-wrapper {
    display: none;
  }

  nav.hidden-nav {
    display: block;
  }

  nav {
    left: 0;
    width: 200px;
    padding-top: 10px;
  }

  nav ul {
    padding-left: 0px;
  }

  nav ul li {
    display: flex;
    align-items: center;
    position: relative;
    transition: background-color 0.3s ease, transform 0.1s ease;
  }

  nav ul li:hover {
    background-color: #f5f5f5;
    transform: translateY(2px);
  }

  nav ul li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 5px;
    border-left: 3px solid transparent;
    transition: border-left 0.3s ease;
    border-bottom: none;
    font-size: 18px;
  }

  nav ul li a img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    top: 0px;
  }

  .profile-picture {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
  }

  .profile-picture img {
    width: 150px;
    height: 150px;
  }

  .about-skills h2 {
    font-size: 30px;
  }

  .about-skills li {
    font-size: 20px;
  }

  .about-skills li::before {
    font-size: 20px;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .education-list {
    padding-left: 20px;
  }

  .education-list::before {
    left: 0;
  }

  .education-card {
    margin-left: 15px;
    padding: 25px;
  }

  .education-card::before {
    left: -31px;
    width: 12px;
    height: 12px;
    top: 30px;
  }

  .edu-header {
    flex-direction: row;
    align-items: center;
  }

  .edu-date {
    margin-top: 0;
    align-self: auto;
  }

  #contact-form {
    padding: 40px 40px 20px 40px;
    width: 90%;
    max-width: 700px;
  }

  .submit-btn {
    max-width: 200px;
  }
}

@media screen and (min-width: 1024px) {
  .skills-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media screen and (min-width: 1200px) {
  .skills-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}


.travel-controls {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 40px;
}

.control-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 200px;
}

.control-group label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.control-group select {
  padding: 12px 20px;
  border-radius: 50px;
  border: 1px solid #ccc;
  background-color: white;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.control-group select:hover {
  border-color: #00695c;
}

select:focus-visible {
  outline: 3px solid #00695c;
  outline-offset: 2px;
  border-color: #00695c;
  box-shadow: 0 0 0 4px rgba(0, 105, 92, 0.2);
  z-index: 10;
}

.control-group label {
  cursor: pointer;
}
