.about-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.about-box,
.skills-box {
  width: 49rem;
  height: 23rem;
  margin-left: -5rem;
}

.about-box {
  margin-top: 4rem;
}

.skills-box {
  margin-top: -1rem;
}

.education-box {
  height: 47rem;
  width: 30rem;
  margin-top: 4rem;
}

.flipbox-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
}

.flipped {
  transform: rotateY(180deg);
}

.box {
  background: #1c1c1c;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #333;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  animation: glowFlow 2s infinite ease-in-out;
  cursor: pointer;
}

.flipbox-front {
  z-index: 2;
}

.flipbox-back {
  transform: rotateY(180deg);
  z-index: 1;
  background: #1c1c1c;
  color: #fff;
}

.ken-side-image {
  position: absolute;
  right: -8.8rem;
  bottom: 0;
  height: 32rem;
  transform: rotate(7deg);
  object-fit: contain;
  z-index: 2;
}

.box h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.box h2 i {
  margin-right: 0.5rem;
}

.box h2 i.fa-award {
  margin-left: 0.5rem ;
}

.about-text,
.tech-text,
.soft-text,
.skills-box p,
.hobbies-text {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  color: #fff;
}

.about-text,
.tech-text,
.soft-text,
.skills-box p {
  font-size: 1.2rem;
}

.hobbies-text {
  flex: 2;
  text-align: left;
  font-size: 1rem;
}

.timeline {
  position: relative;
  padding-left: 1px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 0.2rem;
  height: 100%;
  background-color: #555;
  z-index: 0;
}

.timeline-entry {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
}

.timeline-marker,
.timeline-cert {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #000;
  border: 4px solid #555;
  position: relative;
  z-index: 5;
  transition: background-color 0.3s;
}

.timeline-cert {
  padding: 0.8rem;
}

.timeline-marker.first-marker,
.timeline-cert.first-marker {
  background-color: #fff;
}

.timeline-content {
  flex-grow: 1;
}

.edu-title,
.cert-school {
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  color: #fff;
  margin-bottom: 0.3rem;
}

.edu-title {
  font-size: 1.5rem;
}

.cert-school {
  font-size: 1.5rem;
  white-space: nowrap;
}

.edu-school,
.cert-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  font-size: 1rem;
  color: #aaa;
}

.edu-year-circle,
.cert-year-circle {
  font-family: 'Open Sans', sans-serif;
  padding: 0.5rem 1rem;
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  font-size: 0.95rem;
  flex-shrink: 0;
  pointer-events: auto;
  z-index: 1;
}

.about-box:hover .flipbox-wrapper,
.skills-box:hover .flipbox-wrapper,
.education-box:hover .flipbox-wrapper {
  transform: rotateY(180deg);
}

.hobbies-layout {
  display: flex;
  gap: 2rem;
  justify-content: space-between;
}

.hobby-slider-box {
  flex: 1;
  max-width: 13rem;
  height: 13rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #444;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  background-color: #222;
  position: relative;
}

.hobby-slider-images {
  width: 100%;
  height: 100%;
  position: relative;
}

.hobby-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  border-radius: 1rem;
}


.tech-slider-box {
  flex: 1;
  max-width: 13rem;
  height: 15rem;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid #444;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  background-color: #222;
  position: relative;
}

.tech-slider-images {
  width: 100%;
  height: 100%;
  position: relative;
}

.tech-slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  border-radius: 1rem;
}

.tech-tools-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-align: center;
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  z-index: 2;
  position: relative;
}


@keyframes glowFlow {
  0% {
    box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.1),
                -0.5rem 0 1rem rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow: 0 0 1rem rgba(255, 255, 255, 0.15),
                0.5rem 0 1.5rem rgba(255, 255, 255, 0.1);
  }
  100% {
    box-shadow: 0 0 0.5rem rgba(255, 255, 255, 0.1),
                -0.5rem 0 1rem rgba(255, 255, 255, 0.05);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.about-section > .left-column,
.about-section > .right-column {
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.about-box,
.skills-box,
.education-box,
.page-wrapper .projects-section,
.page-wrapper footer {
  animation: fadeSlideUp 1s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}
