@import url("https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

#loader {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  color: var(--orange);
}

.boot-text {
  font-size: 24px;
  margin-bottom: 20px;
}

.progress {
  width: 70%;
  max-width: 600px;
  height: 50px;
  border: 3px dashed white;
  background: #f7d6ab;
  margin: 20px 0;
  position: relative;
}

.bar {
  height: 100%;
  width: 0;
  background: var(--amber);
  animation: load 3s forwards;
}

@keyframes load {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

.status {
  font-size: 16px;
  margin-top: 15px;
}

/* Pause ALL animations inside main-content while it is hidden during boot */
#main-content[style*="display:none"] *,
#main-content[style*="display: none"] * {
  animation-play-state: paused !important;
}

/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------------------------ */

:root {
  --bg: #050505;
  --orange: #ff7b00;
  --amber: #ffae42;
  --panel: rgba(0, 0, 0, 0.78);
  --glow-weak: 0 0 10px rgba(255, 123, 0, 0.25);
  --glow-strong: 0 0 28px rgba(255, 174, 66, 0.9);

  /* For Timeline @Qualifications */
  --branch-length: clamp(120px, 18vw, 420px);
  --branch-thickness: 2px;
}

body,
html {
  font-family: "Share Tech Mono", monospace;
  color: var(--orange);
  background-image: url(all-stuff/img/BG-GRID.png);
}

/* ------------------------------------------------------------------------------ */
/* ----------------  CLEAN SECTION TRANSITIONS  --------------------------------- */
/* ------------------------------------------------------------------------------ */

section {
  /* Minimum height for better scroll experience */
  min-height: 100vh;

  /* Smooth transitions - slower for more elegant fade */
  transition:
    opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
    z-index 0s;

  /* GPU acceleration for better performance */
  will-change: opacity, transform;

  /* Ensure sections start at full visibility */
  opacity: 1;
  position: relative;
}

/* Footer doesn't need full height */
footer#foot {
  min-height: auto !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  section {
    transition: none !important;
    transform: none !important;
  }
}

/* ------------------------------------------------------------------------------ */
/* -----------------  (#ALL TITLE AT CENTER, AMBER, FULL WIDTH)  ---------------- */
/* ------------------------------------------------------------------------------ */

.about .content .title span,
.skills .content .title span,
.services .content .title span,
.qualifications .content .title span,
.projects .content .title span {
  display: flex;
  justify-content: center;
  width: 30%;
  justify-self: center;
  font-size: 30px;
  background-color: var(--amber);
  color: #000000;
}

.qual-subtitle {
  padding-top: 30px;
}

/* --------------------------------------------------------------------------- */
/* ---------------------------  (!NABVAR)  --------------------------------- */
/* --------------------------------------------------------------------------- */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(4px);
}

.navbar {
  position: relative;
  /* required for nav popup positioning */
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: var(--orange);
  text-decoration: none;
  font-size: 28px;
  margin-left: 29px;
}

.menu {
  margin-right: 45px;
  list-style: none;
  display: flex;
  gap: 3px;
  margin: 0;
  padding: 0;
  padding-right: 75px;
}

.menu li {
  position: relative;
}

.menu a {
  color: var(--amber);
  text-decoration: none;
  font-size: 20px;
  padding: 6px 8px;
  text-shadow: var(--glow-weak);
}

.menu a:hover {
  color: #000000;
  background: #ffae42;
  box-shadow: var(--glow-strong);
}

.menu li.has-social {
  position: relative;
}

.nav-social {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 220px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  background: var(--panel);
  border: 1px solid rgba(255, 123, 0, 0.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.14s ease,
    transform 0.14s ease,
    visibility 0.14s;
  z-index: 1200;
  white-space: nowrap;
  pointer-events: none;
}

.menu li.has-social:hover .nav-social,
.menu li.has-social:focus-within .nav-social {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  color: var(--amber);
  border-radius: 6px;
  text-decoration: none;
  transition:
    background 0.12s ease,
    color 0.12s ease,
    box-shadow 0.12s ease;
}

.nav-social a i {
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

.nav-social a:hover,
.nav-social a:focus {
  color: #000;
  background: var(--amber);
  box-shadow: var(--glow-strong);
  outline: none;
}

.nav-social::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 18px;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: var(--panel);
  border-left: 1px solid rgba(255, 123, 0, 0.06);
  border-top: 1px solid rgba(255, 123, 0, 0.06);
  z-index: -1;
}

/* --------------------------------------------------------------------------- */
/* ---------------------------  (!HOME)  --------------------------------- */
/* --------------------------------------------------------------------------- */

section {
  padding: 100px 18px;
  position: relative;
  min-height: calc(100vh - 70px);
  scroll-margin-top: 70px;
}

.skills-details {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.home-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  min-height: calc(100vh - 140px);
}

.home-content .left,
.home-content .right {
  flex: 1;
  min-width: 260px;
  margin-left: 30px;
}

/* ---------------------- (TEXT)  --------------------------- */
.text {
  width: 500px;
}

.text-two {
  color: var(--orange);
  font-size: 3.05rem;
}

.text-three {
  color: white;
  font-size: 2.6rem;
}

.text-one {
  color: var(--amber);
  font-size: 2.4rem;
}

.home-content .left {
  margin-right: 300px;
  margin-left: 50px;
}

.right img {
  width: 320px;
  height: 320px;
  display: block;
  border-radius: 50px;
  filter: contrast(1.18) saturate(1.2) sepia(0.12) brightness(1.02);
}

/* ----------------- (SCANLINE ANIMATION) --------------------- */
.profile-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 50px;
  overflow: hidden;
}

.profile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile.base {
  z-index: 1;
}

.profile.crt {
  z-index: 2;
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}

.scanline {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 174, 66, 0.5);
  box-shadow: 0 0 10px rgba(255, 174, 66, 0.8);
  z-index: 3;
  will-change: top;
}

.profile.crt.play {
  animation: revealFollowScan 5s linear forwards;
}

.scanline.play {
  animation: scanlineMove 5s linear forwards;
}

.profile-wrapper:hover .profile.crt {
  animation: revealFollowScan 5s linear;
}

.profile-wrapper:hover .scanline {
  animation: scanlineMove 5s linear;
}

@keyframes scanlineMove {
  0% {
    top: 0;
  }

  50% {
    top: 100%;
  }

  100% {
    top: 0;
  }
}

@keyframes revealFollowScan {
  0% {
    clip-path: inset(0 0 0 0);
  }

  50% {
    clip-path: inset(100% 0 0 0);
  }

  100% {
    clip-path: inset(0 0 0 0);
  }
}

/* ---------------------------  (!CARET)  --------------------------------- */
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background-color: var(--amber);
  margin-left: 6px;
  animation: caret-blink 0.8s steps(1);
  position: relative;
  z-index: 2;
}

@keyframes caret-blink {

  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------- */
/* ------------------------ (!ABOUT)  ---------------------------- */
/* --------------------------------------------------------------- */

.about .content {
  /* max-width: 1200px; */
  width: 100%;
}

.about-details {
  padding-top: 60px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}


.abt-text {
  font-size: 22px;
  text-align: center;
  justify-content: center;
  margin: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

/* About CTA Button */
.about-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.about-cta-btn {
  display: inline-block;
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  padding: 1rem 3rem;
  font-size: 1.1rem;
  font-family: "Share Tech Mono", monospace;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.about-cta-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
  transition:
    width 0.4s ease,
    height 0.4s ease;
  z-index: -1;
}

.about-cta-btn:hover {
  color: #0b0b0b;
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(255, 174, 66, 0.4);
}

.about-cta-btn:hover::before {
  width: 400px;
  height: 400px;
}

.about-cta-btn:active {
  transform: translateY(-1px);
}

/* --------------------------------------------------------------- */
/* ---------------------  (!QUALIFICATIONS)  ---------------------- */
/* --------------------------------------------------------------- */

.qual-subtitle {
  text-align: center;
  justify-content: center;
  width: 100%;
  font-size: 20px;
}

.qualifications .timeline {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 18px 24px;
  position: relative;
  align-items: start;
  row-gap: 34px;
  margin-top: 6px;
}

.qualifications .timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--amber);
  border-radius: 4px;
  z-index: 1;
}

.timeline-node {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 2;
  padding-top: 6px;
}

.branch.branch-right {
  position: relative;
  width: 60px;
  height: 1px;
}

.branch.branch-right::after {
  content: "";
  position: absolute;
  top: 24px;
  left: 30px;
  height: var(--branch-thickness);
  width: var(--branch-length);
  background: linear-gradient(90deg, var(--amber), var(--orange));
  border-radius: 2px;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(255, 174, 66, 0.06);
}

.branch.branch-left {
  position: relative;
  width: 60px;
  height: 1px;
}

.branch.branch-left::before {
  content: "";
  position: absolute;
  top: 24px;
  right: 30px;
  height: var(--branch-thickness);
  width: var(--branch-length);
  background: linear-gradient(270deg, var(--amber), var(--orange));
  border-radius: 2px;
  z-index: 3;
  box-shadow: 0 6px 18px rgba(255, 174, 66, 0.06);
}

/* timeline entries (cards) */
.timeline-entry {
  padding: 6px 6px;
  position: relative;
  z-index: 3;
}

.timeline-entry a {
  color: var(--amber);
}

.timeline-entry a:hover {
  text-decoration: none;
  color: black;
  background-color: var(--amber);
  box-shadow: var(--glow-weak);
}

.timeline-content {
  background: black;
  border: 1px solid rgba(255, 123, 0, 0.12);
  padding: 18px 22px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  color: var(--amber);
  position: relative;
  overflow: visible;
}

/* --------------  (BOX DOT)  ----------------- */
.timeline-content .box-dot {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--amber);
  color: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 6px 18px rgba(255, 174, 66, 0.12);
  border: 3px solid rgba(0, 0, 0, 0.12);
}

.timeline-entry.right .timeline-content .box-dot {
  left: 15px;
  top: 8px;
}

.timeline-entry.left .timeline-content .box-dot {
  right: 15px;
  top: 8px;
}

/* Titles/dates inside cards  */
.timeline-content h4 {
  margin: 0 0 18px;
  font-size: 1.05rem;
  color: var(--orange);
  font-weight: 700;
}

.timeline-content .right-h4 {
  margin-left: 40px;
}

.timeline-content .timeline-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 10px;
}

.timeline-entry.left .timeline-content {
  margin-right: 18px;
  text-align: left;
}

.timeline-entry.right .timeline-content {
  margin-left: 18px;
  text-align: left;
}

/* --------------------------------------------------------------------------- */
/* --------------------------------- (!SKILLS) ------------------------------- */
/* --------------------------------------------------------------------------- */

.skills-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.skills-details .box {
  background: var(--panel);
  border: 2px solid rgba(255, 123, 0, 0.14);
  padding: 16px;
  margin-bottom: 14px;
  color: var(--amber);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 123, 0, 0.18);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

.skills-details .box .icon,
.skills-details .box .topic,
.skills-details .box p {
  transition:
    color 0.14s ease,
    transform 0.14s ease;
  color: var(--amber);
}

.skills-details .box .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.skills-details .box .topic {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 8px;
}

.skills-details .box p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--amber);
}

.skills-details .box:hover {
  background: var(--amber);
  border-color: rgba(255, 174, 66, 0.9);
  box-shadow: var(--glow-strong);
  transform: translateY(-6px);
  color: #0b0b0b;
}

.skills-details .box:hover .icon,
.skills-details .box:hover .topic,
.skills-details .box:hover p {
  color: #0b0b0b;
}

/* --------------------------------------------------------------------------- */
/* ----------------------------- (!SERVICES)---------------------------------- */
/* --------------------------------------------------------------------------- */

.services .skills-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.services .box {
  background: var(--panel);
  border: 2px solid rgba(255, 123, 0, 0.14);
  padding: 16px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 123, 0, 0.18);
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.services .box .icon,
.services .box .topic,
.services .box p {
  transition:
    color 0.14s ease,
    transform 0.14s ease;
  color: var(--amber);
}

.services .box:hover {
  background: var(--amber);
  border-color: rgba(255, 174, 66, 0.9);
  box-shadow: var(--glow-strong);
  transform: translateY(-6px);
  color: #0b0b0b;
}

.services .box:hover .icon,
.services .box:hover .topic,
.services .box:hover p {
  color: #0b0b0b;
}

/* ----------------------------- (!PROJECTS)---------------------------------- */
/*               (SERVICES CLASS IS APPLIED ON PROJECTS SECTION)              */


/* --------------------------------------------------------------------------- */
/* ----------------------------  (#FOOTER)  ---------------------------------- */
/* --------------------------------------------------------------------------- */
footer#foot {
  width: 100%;
  background: var(--panel);
  border-top: 2px solid rgba(255, 123, 0, 0.06);
  color: var(--amber);
  margin-top: 250px;
  padding: 18px 18px 8px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 0;
}

.footer-left {
  text-align: left;
  margin-left: 14px;
}

.footer-left h3 {
  margin: 0 0 6px 0;
  color: var(--amber);
  font-size: 1rem;
}

.footer-left p {
  margin: 4px 0;
  color: var(--amber);
}

.footer-left a {
  color: var(--amber);
  text-decoration: none;
}

.footer-left a:hover {
  color: #000;
  background: var(--amber);
  padding: 2px 6px;
  border-radius: 6px;
  box-shadow: var(--glow-strong);
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 14px;
}

.footer-right a.social {
  color: var(--amber);
  font-size: 1.2rem;
  display: inline-flex;
  padding: 8px;
  border-radius: 6px;
  text-decoration: none;
}

.footer-right a.social:hover {
  color: #000;
  background: var(--amber);
  box-shadow: var(--glow-strong);
}


#foot {
  scroll-margin-top: calc(var(--nav-height, 70px) + 8px);
}

/* =================================================================================
                                (!RESPONSIVE)
==================================================================================== */

/* ========================= (@NAVBAR, 3-BARS-NAV)  =============================*/

.menu-btn.mobile-menu-btn {
  display: none;
  position: absolute;
  right: 16px;
  top: 12px;
  width: 44px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1300;
  padding: 6px;
}

.menu-btn.mobile-menu-btn i.fas,
.menu-btn.mobile-menu-btn i.fa-bars {
  color: var(--amber);
  font-size: 22px;
  line-height: 1;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  max-width: 85%;
  background: var(--panel);
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.6);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.16, 0.8, 0.24, 1);
  z-index: 1250;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

body.sidebar-open .mobile-sidebar {
  transform: translateX(0);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.22s ease,
    visibility 0.22s;
  z-index: 1240;
}

body.sidebar-open .mobile-overlay {
  opacity: 1;
  visibility: visible;
}

.mobile-close {
  margin-left: auto;
  background: transparent;
  color: var(--amber);
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-menu-list {
  list-style: none;
  padding: 6px 0 0;
  margin: 6px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu-list a {
  color: var(--amber);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 10px 8px;
  border-radius: 6px;
  display: inline-block;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
  background: var(--amber);
  color: #000;
  box-shadow: var(--glow-strong);
}

@media (max-width: 900px) {
  .menu {
    display: none !important;
  }

  .menu-btn.mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ============================= (@HOME) ============================== */
@media (max-width: 900px) {
  .home-content {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: auto;
    padding-top: 18px;
  }

  .home-content .left,
  .home-content .right {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .home-content .left {
    order: 1;
    text-align: center;
  }

  .home-content .right {
    order: 2;
    margin-top: 6px;
    display: flex;
    justify-content: center;
  }

  .text {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 0 12px;
  }

  .text-one {
    font-size: 23px;
  }

  .text-two {
    font-size: 30px;
  }

  .text-three {
    font-size: 25px;
  }

  .about .about-details {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .skills-details,
  .services .skills-details,
  .projects .skills-details {
    grid-template-columns: 1fr !important;
  }

  /* =========================  (@TITLES FIXED)  ============================== */

  .about .content .title span,
  .qualifications .content .title span,
  .skills .content .title span,
  .services .content .title span,
  .projects .content .title span {
    width: 100%;
    justify-self: center;
  }
}



/* =========================  (@FOOTER ALIGNED)  ============================== */
@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 12px 0;
  }

  .footer-left {
    width: 100%;
    text-align: center;
  }

  .footer-left h3 {
    font-size: 1.1rem;
  }

  .footer-right {
    margin-right: 0;
    justify-content: center;
  }

  .footer-bottom {
    padding: 12px 0 18px;
    margin-top: 8px;
  }

  .footer-note {
    font-size: 1rem;
    margin-top: 8px;
  }
}

/* =========================  (@TIMELINE)  ============================== */
@media (max-width: 900px) {
  .timeline-content .right-h4 {
    margin-left: 0px;
  }

  .qualifications .timeline {
    --timeline-left-gutter: 80px;
    --timeline-line-left: calc(var(--timeline-left-gutter) / 2);
    --box-dot-size: 36px;
    display: grid !important;
    grid-template-columns: var(--timeline-left-gutter) 1fr !important;
    gap: 520px 1px;
    position: relative;
    align-items: start;
    row-gap: 90px;
    margin-top: 6px;
  }

  .qualifications .timeline::before {
    content: "" !important;
    position: absolute !important;
    left: var(--timeline-line-left) !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 4px !important;
    background: var(--amber) !important;
    border-radius: 4px !important;
    z-index: 1 !important;
  }

  .qualifications .timeline-node,
  .qualifications .timeline-node .timeline-dot,
  .qualifications .timeline .branch.branch-left,
  .qualifications .timeline .branch.branch-right {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  .qualifications .timeline-entry,
  .qualifications .timeline-entry.left,
  .qualifications .timeline-entry.right {
    grid-column: 2 !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    align-self: start !important;
  }

  .qualifications .timeline-content {
    position: relative !important;
    padding: 18px 22px !important;
    border-radius: 8px !important;
    background: var(--panel) !important;
    color: var(--amber) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35) !important;
    margin: 0 !important;
    width: auto !important;
    min-height: 90px !important;
  }

  .qualifications .timeline-content .box-dot {
    display: inline-flex !important;
    position: absolute !important;
    left: calc(var(--timeline-line-left) - var(--timeline-left-gutter) - (var(--box-dot-size) / 2)) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: var(--box-dot-size) !important;
    height: var(--box-dot-size) !important;
    border-radius: 50% !important;
    background: var(--amber) !important;
    color: #0b0b0b !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    border: 3px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 6px 18px rgba(255, 174, 66, 0.12) !important;
    z-index: 6 !important;
    pointer-events: auto !important;
  }

  .qualifications .timeline-content .box-dot i {
    font-size: 14px;
    line-height: 1;
    display: inline-block;
  }

  .qualifications .timeline-node .timeline-dot {
    display: none !important;
  }

  /* narrow screns */
  @media (max-width: 420px) {
    .qualifications .timeline {
      --timeline-left-gutter: 64px;
      --timeline-line-left: calc(var(--timeline-left-gutter) / 2);
      --box-dot-size: 34px;
      grid-template-columns: var(--timeline-left-gutter) 1fr !important;
    }

    .qualifications .timeline::before {
      left: var(--timeline-line-left) !important;
      width: 3px !important;
    }

    .qualifications .timeline-entry {
      margin-left: 0 !important;
      margin-bottom: 18px !important;
    }

    .qualifications .timeline-content {
      padding: 14px 16px !important;
    }

    .qualifications .timeline-content .box-dot {
      left: calc(var(--timeline-line-left) - var(--timeline-left-gutter) - (var(--box-dot-size) / 2)) !important;
      width: var(--box-dot-size) !important;
      height: var(--box-dot-size) !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
    }
  }
}

.just-c {
  font-size: 22px;
  text-align: center;
  justify-content: center;
  margin: 20px;
  margin-left: 20px;
  margin-right: 20px;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.project-card {
  background: var(--panel);
  border: 2px solid rgba(255, 123, 0, 0.14);
  border-radius: 10px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  box-shadow: 0 0 10px rgba(255, 123, 0, 0.18);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  min-height: 400px;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(255, 123, 0, 0.3);
}


/* image side - LEFT */
.project-card .project-image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}

.project-card .project-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 20px;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

/* content side - RIGHT */
.project-card .project-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  height: 100%;
}

.project-card .topic {
  font-size: 2rem;
  font-weight: bold;
  color: var(--amber);
  margin: 0;
}

.project-card .project-year {
  font-size: 0.9rem;
  color: var(--amber);
  margin: 0;
  opacity: 0.9;
}

/* Tags styling */
.project-card .project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0;
}

.project-card .tag {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 123, 0, 0.1);
  border: 1px solid rgba(255, 123, 0, 0.3);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--amber);
  transition: all 0.3s ease;
}

.project-card .tag:hover {
  background: rgba(255, 123, 0, 0.2);
  border-color: var(--amber);
}

.project-card .project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--amber);
  margin: 0;
  opacity: 0.9;
}

.project-card .project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.project-btn {
  display: inline-block;
  background: var(--amber);
  color: var(--bg);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  text-align: center;
  transition:
    background 0.3s,
    color 0.3s,
    transform 0.2s;
}

.project-btn:hover {
  background: var(--bg);
  color: var(--amber);
}

/* ------------------- Project Cards Responsive ------------------- */
@media (max-width: 900px) {
  .projects-grid {
    gap: 2rem;
  }

  .project-card {
    grid-template-columns: 1fr !important;
    min-height: auto;
  }

  .project-card .project-image {
    min-height: 250px;
  }

  .project-card .project-info {
    padding: 2rem;
  }

  .project-card .topic {
    font-size: 1.5rem;
  }
}

@media (max-width: 500px) {
  .projects-grid {
    gap: 1.5rem;
    padding: 0 0.6rem;
  }

  .project-card .project-image {
    min-height: 200px;
  }

  .project-card .project-img {
    padding: 10px;
  }

  .project-card .project-info {
    padding: 1.5rem;
  }

  .project-card .topic {
    font-size: 1.3rem;
  }

  .project-card .project-tags {
    gap: 0.3rem;
  }

  .project-card .tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .project-card .project-links {
    flex-direction: column;
  }

  .project-btn {
    width: 100%;
  }
}

/* ===============================================
   SHOW MORE FUNCTIONALITY
   =============================================== */

/* Hidden boxes initially - completely removed from layout */
.hidden-box {
  display: none !important;
}

/* When show-more is active, reveal hidden boxes with animation */
.show-more-active .hidden-box {
  display: flex !important;
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Show More Button Container */
.show-more-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 20px;
}

/* Show More Button Styling */
.show-more-btn {
  background: transparent;
  color: var(--amber);
  border: 2px solid var(--amber);
  padding: 0.8rem 2.5rem;
  font-size: 1rem;
  font-family: "Share Tech Mono", monospace;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.show-more-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--amber);
  transform: translate(-50%, -50%);
  transition:
    width 0.4s ease,
    height 0.4s ease;
  z-index: -1;
}

.show-more-btn:hover {
  color: #0b0b0b;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(255, 174, 66, 0.3);
}

.show-more-btn:hover::before {
  width: 300px;
  height: 300px;
}

.show-more-btn:active {
  transform: translateY(0);
}

/* Hide button when all items are shown */
.show-more-btn.hidden {
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .show-more-btn {
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
  }
}

.tva-motto {
  text-align: center;
  font-size: 0.9rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  color: var(--amber);
  padding-bottom: 5px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 174, 66, 0.5);
  animation: tvaGlow 3s ease-in-out infinite;
}

@keyframes tvaGlow {

  0%,
  100% {
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(255, 174, 66, 0.5);
  }

  50% {
    opacity: 1;
    text-shadow: 0 0 20px rgba(255, 174, 66, 0.8);
  }
}

.timeline-content {
  position: relative;
}

.cert-preview {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  width: 220px;
  max-height: 160px;
  background: #0d0d0d;
  border: 2px solid #ffa500;
  border-radius: 10px;
  padding: 10px;
  margin-top: 10px;
  z-index: 200;
  transition: all 0.75s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  overflow: hidden;
}

.cert-preview {
  z-index: 9999 !important;
  isolation: isolate;
}

.cert-preview::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #ffa500;
}

.cert-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.5s;
}

.cert-preview img:hover {
  transform: scale(1.05);
}

.timeline-content:hover .cert-preview {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

/* Fullscreen Modal */
.cert-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.cert-modal.active {
  display: flex;
}

.cert-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(255, 165, 0, 0.3);
}

.cert-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #ffa500;
  font-size: 40px;
  cursor: pointer;
}
