* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lexend", sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  zoom: 0.85;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 8vh;
  font-family: "Lexend", sans-serif;
}

.logo {
  position: relative;
  font-size: 1.4rem;
  font-weight: bolder;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  margin-left: 40px;
  cursor: pointer;
  font-family: "Lexend", sans-serif;
}

.logo::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ffee93;
  border-radius: 5px;
  left: 0;
  bottom: -6px;
  transform: scaleX(0);
  transition: transform 0.5s;
}

.logo:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navbar {
  display: flex;
  justify-content: space-around;
  list-style: none;
  margin-right: 2rem;
}

.navbar a {
  position: relative;
  font-size: 1.1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 40px;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #4a90e2;
  border-radius: 5px;
  left: 0;
  bottom: -6px;
  transform: scaleX(0);
  transition: transform 0.5s;
}

.navbar a:hover {
  color: #ffee93;
}
.navbar a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-right: 2rem;
  z-index: 2;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
  transition: transform 0.4s, opacity 0.4s;
}

.header-content {
  font-family: "Lexend", sans-serif;
  position: sticky;
  top: 0;
}

.header-content h1 {
  font-size: 2em;
  position: relative;
  cursor: default;
}
.header-content p {
  margin-bottom: 1rem;
  font-size: 0.96em;
  cursor: default;
}

header {
  background: #353535;
  color: #fff;
  padding: 1em 0;
  text-align: center;
}

header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1em;
}

header nav {
  font-size: 1.4em;
  font-weight: bold;
}

header nav ul {
  list-style: none;
  display: flex;
}

header nav ul li {
  margin-left: 1em;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

header nav ul li a:hover {
  color: #ddd;
}

.text-container {
  display: flex;
  justify-content: center;
  align-items: baseline;
  font-size: 18px;
  text-align: center;
}

.dynamic-text {
  font-weight: bold;
  border-right: 2px solid black;
  white-space: nowrap;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.2;
  vertical-align: baseline;
  margin-left: 4px;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

.blinking {
  animation: blink 0.7s step-end infinite;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  width: 50px;
  height: 50px;
  background-color: #35487a;
  color: white;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s, background-color 0.3s;
}

.scroll-to-top:hover {
  background-color: #2b3b65;
  opacity: 0.8;
}

.header-content h1 {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  animation: slideIn 1.7s ease-in-out;
}

.header-content p {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  animation: slideIn 1.7s ease-in-out;
}
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

footer {
  background-color: #333;
  min-height: 30px;
  max-height: 500px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.footer-container {
  width: 100%;
  padding: 70px 30px 20px;
}

.icon {
  display: flex;
  justify-content: center;
}
.icon a {
  text-decoration: none;
  padding: 10px;
  background-color: white;
  margin: 10px;
  border-radius: 90%;
}
.icon a i {
  font-size: 2em;
  color: black;
  opacity: 0, 9;
}

.icon a:hover {
  background-color: #111;
  transition: 0.5s;
}
.icon a:hover i {
  color: white;
  transition: 0.5s;
}

.footer-navbar {
  margin: 25px 0;
}
.footer-navbar ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style-type: none;
}
.footer-navbar ul li a {
  color: white;
  margin: 1.2rem;
  text-decoration: none;
  font-size: 1.3em;
  opacity: 0.7;

  transition: 0.5s;
}
.footer-navbar ul li a:hover {
  opacity: 1;
  color: #ffee93;
}

.footer-copyright {
  background-color: #000000;
  padding: 20px;
  text-align: center;
}
.footer-copyright p {
  color: white;
}

.about-text p {
  text-align: justify;
  padding-right: 0;
  font-size: 1rem;
}
section {
  padding: 2em 3em;
  margin: 1em auto;
  max-width: 1100px;
  border-radius: 8px;
  box-shadow: 10px 10px 10px #babecc, -10px -10px 10px #babecc;
  cursor: default;
}

section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  position: relative;
  cursor: pointer;
  color: #35487a;
}

section h2::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: darkblue;
  border-radius: 5px;
  left: 0;
  bottom: -6px;
  transform: scaleX(0);
  transition: transform 0.5s;
}

section h2:hover {
  color: darkblue;
}

section h2:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

#projects {
  padding: 30px 20px;
  margin-top: 1rem;
  text-align: center;
  background-color: #f9f9f9;
}

.project-card {
  display: flex;
  background-color: #f4f4ff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-content {
  flex: 1;
  padding: 20px;
  margin-left: 1rem;
  flex-direction: column;
  justify-content: center;
  margin-top: 3rem;
  height: 100%;
  cursor: pointer;
}

.project-content img {
  max-width: 100%;
  border-radius: 20px;
  transition: transform 0.5s ease-in-out;
}

.project-content img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.project-details {
  flex: 1;
  padding: 20px;
  flex-direction: column;
  margin-right: 1rem;
  justify-content: center;
  text-align: justify;
  margin-top: 1rem;
  font-size: 0.8rem;
}

#about {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

.about-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-img img {
  margin-right: 0.2rem;
  margin-bottom: 0.5rem;
  width: 45px;
  height: 45px;
}

.about-img-project img {
  margin-right: 0.2rem;
  margin-bottom: 0.8rem;
  width: 45px;
  height: 45px;
}

.about-text {
  flex: 7;
  text-align: left;
  padding-right: 20px;
  margin-top: 1rem;
}

.about-image {
  flex: 3;
  padding-left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  margin-top: 20px;
}

.about-image img {
  max-width: 70%;
  height: auto;
  border-radius: 50%;
  overflow: hidden;
}

.project-image {
  max-width: 100%;
  height: auto;
  margin-right: 20px;
  margin-bottom: 30px;
}

.project-details h3 {
  font-size: 1.5rem;
  color: #35487a;
  text-align: start;
}

.project-details h4 {
  font-size: 1.2rem;
  color: #555;
}

.style {
  font-size: 1em;
}

.project-details p {
  color: black;
  margin-bottom: 15px;
  margin-top: 10px;
  font-size: 0.9rem;
}

.btn-2 {
  display: inline-block;
  padding: 8px 16px;
  background-color: #35487a;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.5s;
}

.btn-2:hover {
  background-color: #2b3b65;
}

.btn-2.disabled-btn {
  background-color: #999;
  color: #ccc;
  pointer-events: none;
  cursor: not-allowed;
}

#education {
  background-color: #f9f9f9;
  padding: 2rem;
}

.education-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.education-card {
  background-color: #f4f4ff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  max-width: 400px;
  flex: 1 1 300px;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.education-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.education-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}

.education-card img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.education-value p {
  font-size: 0.8em;
  color: #555;
  margin-bottom: 15px;
  padding-left: 10px;
}

.education-icon img {
  max-width: 80%;
}

.education-content h3 {
  font-size: 1.2em;
  color: black;
  margin-bottom: 10px;
  font-weight: bolder;
}

.education-content p,
.education-content ul {
  color: black;
}

.education-content ul {
  list-style-type: none;
  padding-left: 0;
}

.education-content span {
  font-weight: bolder;
  color: #35487a;
  font-size: 1em;
}

.education-content ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

.education-content ul li::before {
  font-weight: 900;
  position: absolute;
  left: 0;
  color: black;
  margin-left: -0.5rem;
}

.courses {
  list-style-type: none;
  padding: 0;
  position: relative;
}

.courses li {
  position: relative;
  padding-left: 30px;
  margin: 0.5rem 0;
  font-size: 0.8rem;
}

.courses li::before {
  content: "\f328";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  color: #007bff;
}

.activities {
  list-style-type: none;
  padding: 0;
  color: black;
}

.activities a {
  color: black;
}

.activities li {
  margin: 10px 0;
  padding: 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
  color: black;
}

.organization-exp {
  background-color: #fcefe3;
  border-left: 5px solid #ff9800;
  font-size: 0.8rem;
}

.organization-exp:hover {
  background-color: #fbdcb3;
}

.volunteer-exp {
  background-color: #e9f9e5;
  border-left: 5px solid #4caf50;
  font-size: 0.8rem;
}

.volunteer-exp:hover {
  background-color: #c8e6c9;
}

.flip-card {
  background-color: transparent;
  perspective: 1000px;
  width: 400px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 8px;
}

.flip-card-front {
  background-color: #f4f4ff;
  color: black;
}

.flip-card-back {
  background-color: #f4f4ff;
  color: black;
  transform: rotateY(180deg);
}

#Information {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

#Information h2 {
  font-size: 1.2rem;
}

#Information .html {
  color: #ff5733;
  font-weight: bolder;
}

#Information .css {
  color: #2965f1;
  font-weight: bolder;
}

#Information .js {
  color: #f0db4f;
  font-weight: bolder;
}

.professional-section {
  padding: 2rem;
  margin: 1em auto;
  max-width: 1100px;
  border-radius: 8px;
  box-shadow: 10px 10px 10px #babecc, -10px -10px 10px #babecc;
  background-color: #f4f4ff;
}

.professional-container {
  display: flex;
  flex-direction: column;
}

.professional-detail-left {
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  margin-top: 1.4rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.professional-detail-right {
  background: #fff;
  padding: 2em;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

.professional-detail-left h3,
.professional-detail-right h3 {
  font-size: 1.8rem;
  color: #35487a;
}

.professional-detail-left h4.workplace,
.professional-detail-right h4.workplace {
  color: #777;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.professional-detail-left h4.date-range,
.professional-detail-right h4.date-range {
  font-size: 1rem;
  color: #555;
}

.professional-list {
  margin-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.icon {
  text-decoration: none;
  width: 5.625rem;
  height: 5.625rem;
  border-radius: 14px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
}

.icon > i {
  color: #2dd4bf;
  font-size: 1.5rem;
  transition: all 0.2s;
}

.icon:hover > i {
  scale: 1.2;
  color: #f1f1f1;
}

.icon:before {
  background: var(--color);
  content: "";
  position: absolute;
  width: 130%;
  height: 130%;
  left: -110%;
  top: 80%;
  transform: rotate(45deg);
}

.icon:hover:before {
  animation: slide 0.7s forwards;
}

.hidden {
  opacity: 0;
  transition: all 1.5s;
}
.show {
  opacity: 1;
  transition: all 1.5s;
}

@keyframes slide {
  50% {
    left: 10%;
    top: -40%;
  }

  100% {
    left: -15%;
    top: -15%;
  }
}

.icon:has(.fa-instagram) {
  --color: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
}
.icon:has(.fa-linkedin-in) {
  --color: #0077b5;
}
.icon:has(.fa-youtube) {
  --color: #ff0000;
}
.icon:has(.fa-x-twitter) {
  --color: #1da1f2;
}
.icon:has(.fa-github) {
  --color: #333;
}

#certificate {
  padding: 30px 20px;
  background-color: #f4f4ff;
}

.certificate-card {
  display: flex;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate-content,
.certificate-detail {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 1rem;
  height: 100;
  cursor: pointer;
}

.certificate-content img {
  max-width: 85%;
  border-radius: 0.5rem;
  transition: transform 0.5s ease-in-out;
}

.certificate-content img:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.certificate-detail h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #35487a;
  text-align: center;
  font-size: 1.3rem;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #35487a;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  text-align: center;
  transition: background-color 0.5s;
}

.btn:hover {
  background-color: #2b3b65;
}

.certificate-detail p {
  color: #555;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Enhanced Responsive Design */
/* Base responsive styles */
:root {
  --primary-color: #4a90e2;
  --secondary-color: #ffee93;
  --dark-bg: #353535;
  --light-bg: #f4f4f4;
  --text-color: #333;
  --light-text: #fff;
}

/* Responsive typography */
html {
  font-size: 16px;
}

@media screen and (max-width: 1200px) {
  html {
    font-size: 15px;
  }

  .about-container {
    gap: 2rem;
  }

  .project-details h3 {
    font-size: 1.6rem;
  }
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }

  section {
    padding: 2em 2em;
  }

  .about-container {
    gap: 1.5rem;
  }

  .about-text {
    padding-right: 10px;
  }

  .about-image img {
    max-width: 85%;
  }

  .project-details h3 {
    font-size: 1.4rem;
  }

  .project-details p {
    font-size: 0.9rem;
  }

  .about-img,
  .about-img-project {
    flex-wrap: wrap;
    justify-content: center;
  }

  .about-img img,
  .about-img-project img {
    margin: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 13px;
  }

  .project-card {
    flex-direction: column;
    max-width: 100%;
  }

  .certificate-card {
    flex-direction: column;
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
  }

  .project-image {
    max-width: 100%;
    border-radius: 8px;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .education-container {
    flex-direction: row;
    justify-content: center;
  }

  .flip-card {
    margin: 20px;
  }

  .activities {
    margin-top: 0;
  }

  /* Enhanced Mobile Navigation */
  .menu-toggle {
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    transition: all 0.3s ease;
  }

  .menu-toggle .bar {
    width: 28px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: transform 0.4s, opacity 0.4s;
    border-radius: 2px;
  }

  .menu-toggle.active .bar {
    background-color: #fff;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .navbar {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(51, 51, 51, 0.95);
    justify-content: center;
    align-items: center;
    transition: left 0.4s ease;
    z-index: 999;
    margin-right: 0;
    backdrop-filter: blur(5px);
  }

  .navbar.active {
    left: 0;
  }

  .navbar li {
    margin: 15px 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: 0.1s;
  }

  .navbar.active li {
    opacity: 1;
    transform: translateY(0);
  }

  .navbar.active li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .navbar.active li:nth-child(2) {
    transition-delay: 0.2s;
  }
  .navbar.active li:nth-child(3) {
    transition-delay: 0.3s;
  }
  .navbar.active li:nth-child(4) {
    transition-delay: 0.4s;
  }
  .navbar.active li:nth-child(5) {
    transition-delay: 0.5s;
  }

  .navbar a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    text-align: center;
    padding: 1rem;
    display: block;
    transition: color 0.3s, transform 0.3s;
    margin-left: 0;
  }

  .navbar a:hover {
    color: #4a90e2;
    transform: scale(1.05);
  }

  body.no-scroll {
    overflow: hidden;
  }

  .about-image {
    margin-bottom: 1.5rem;
  }

  .about-image img {
    max-width: 80%;
    margin: 0 auto;
    display: block;
  }

  .footer-container {
    padding: 70px 10px 20px;
  }

  .footer-navbar ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-navbar ul li a {
    margin: 0.5rem;
    font-size: 1.1rem;
  }

  .icon a {
    padding: 8px;
    margin: 8px;
  }

  .icon a i {
    font-size: 1.5em;
  }

  .education-container {
    flex-direction: column;
    align-items: center;
  }

  .education-card {
    max-width: 400px;
    margin: 10px 0;
  }

  .header-content h1 {
    font-size: 1.8em;
  }

  .text-container {
    font-size: 16px;
  }

  .dynamic-text {
    font-size: 16px;
  }

  section h2 {
    font-size: 1.6rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 600px) {
  html {
    font-size: 12px;
  }

  section {
    padding: 1.5em 1.5em;
    margin: 0.8em auto;
  }

  .logo {
    margin-left: 20px;
    font-size: 1.2rem;
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
  }

  .about-container {
    flex-direction: column;
  }

  .flip-card {
    width: 90%;
    height: auto;
    margin: 10px 0;
  }

  .education-container {
    flex-direction: column;
    align-items: center;
  }

  .activities {
    width: 90%;
  }

  .education-value p {
    font-size: 0.9em;
  }

  .about-text {
    padding-right: 0;
  }

  .about-image {
    padding-left: 0;
  }

  .about-img img {
    margin-right: 0;
    margin-bottom: 0;
  }

  .about-image img {
    max-width: 35%;
  }

  .education-container {
    flex-direction: column;
  }

  .education-card {
    max-width: 100%;
  }

  .education-card img {
    max-width: 100%;
  }

  .education-value p {
    padding-left: 0;
  }

  .education-content ul li {
    padding-left: 2;
  }

  .certificate-card {
    flex-direction: column;
    max-width: 100%;
  }

  .certificate-card img {
    margin-top: 0%;
    max-width: 100%;
    float: left;
    border-radius: 8px 8px 0 0;
    margin-right: 0;
  }

  .certificate-detail {
    margin-top: 1rem;
    padding: 20px;
  }

  .certificate-detail h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }

  .certificate-detail p {
    margin-bottom: 15px;
  }

  .btn,
  .btn-2 {
    padding: 8px 16px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
  }

  .project-content img {
    margin-top: 0%;
  }

  #Information h2 {
    font-size: 1rem;
  }

  .header-content h1 {
    font-size: 1.8em;
  }

  .text-container {
    font-size: 16px;
  }

  .dynamic-text {
    font-size: 16px;
  }

  .project-details {
    padding: 15px 10px;
  }

  .project-content {
    padding: 15px 10px;
    margin-left: 0;
  }

  .project-details h3 {
    font-size: 1.3rem;
  }

  .project-details p {
    font-size: 0.85rem;
  }

  .about-img,
  .about-img-project {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .about-img img,
  .about-img-project img {
    width: 40px;
    height: 40px;
    margin: 0.3rem;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    bottom: 15px;
    right: 15px;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 11px;
  }

  section {
    padding: 1.2em 1.2em;
    margin: 0.6em auto;
  }

  .logo {
    font-size: 0.8em;
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
  }

  .navbar a {
    font-size: 1.2rem;
  }

  .about-image img {
    max-width: 45%;
  }

  .education-card img {
    max-width: 100%;
  }

  .education-value p {
    padding-left: 0;
  }

  .education-content ul li {
    padding-left: 2;
  }

  .certificate-card img {
    margin-top: 0%;
    max-width: 100%;
    float: left;
    border-radius: 8px 8px 0 0;
    margin-right: 0;
  }

  .certificate-detail {
    margin-top: 1rem;
    padding: 20px;
  }

  .certificate-detail h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }

  .education-content h3 {
    font-size: 1.3em;
  }

  .education-value p {
    font-size: 0.9em;
  }

  .education-card {
    padding: 15px;
  }

  .certificate-detail p {
    margin-bottom: 15px;
  }

  .btn,
  .btn-2 {
    padding: 6px 12px;
    font-size: 0.8rem;
    margin-right: 0.3rem;
    margin-bottom: 0.3rem;
  }

  .project-content img {
    margin-top: 0%;
  }

  #Information h2 {
    font-size: 1rem;
  }

  .project-details h3 {
    font-size: 1.2rem;
  }

  .project-details p {
    font-size: 0.8rem;
  }

  .about-img,
  .about-img-project {
    gap: 0.3rem;
  }

  .about-img img,
  .about-img-project img {
    width: 35px;
    height: 35px;
    margin: 0.2rem;
  }

  .header-content h1 {
    font-size: 1.3em;
  }

  .text-container {
    font-size: 12px;
  }

  .dynamic-text {
    font-size: 12px;
  }

  .footer-navbar ul {
    flex-direction: column;
  }

  .footer-navbar ul li a {
    margin: 0.5rem 0;
  }

  .wrapper {
    gap: 1rem;
  }

  .icon {
    width: 4rem;
    height: 4rem;
  }

  .icon a i {
    font-size: 1.2em;
  }
}

/* Fix for no-scroll class */
.no-scroll {
  overflow: hidden;
}

@media screen and (max-width: 374px) {
  .logo {
    font-size: 0.8em;
  }

  .flip-card-front,
  .flip-card-back {
    position: relative;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 8px;
  }

  .navbar a {
    font-size: 1.2rem;
  }

  .education-content h3 {
    font-size: 1.2em;
  }

  .education-value p {
    font-size: 0.85em;
  }

  .flip-card {
    width: 100%;
  }

  .education-card {
    padding: 10px;
  }

  .about-image img {
    max-width: 30%;
  }

  .education-card img {
    max-width: 100%;
  }

  .education-value p {
    padding-left: 0;
  }

  .education-content ul li {
    padding-left: 2;
  }

  .certificate-card img {
    margin-top: 0%;
    max-width: 100%;
    float: left;
    border-radius: 8px 8px 0 0;
    margin-right: 0;
  }

  .certificate-detail {
    margin-top: 0%1;
    padding: 20px;
    margin-top: 1rem;
  }

  .certificate-detail h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
  }

  .certificate-detail p {
    margin-bottom: 15px;
  }

  .btn {
    margin-top: 0.5rem;
    font-size: small;
  }

  .project-content img {
    margin-top: 0%;
  }

  #Information h2 {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 55%;
  }

  section {
    padding: 1em 1em;
  }

  .project-details {
    padding: 15px;
  }

  .project-content {
    padding: 15px;
  }

  .about-text p {
    font-size: 0.85rem;
  }
}
