/* GENERAL */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
    margin: 0;
    padding: 0;
}


body {
    font-family: "Poppins", sans-serif;
}

/*body,a,button,.icon,.logo, .gallery-item img {
    cursor: none !important;
}*/

html {
    scroll-behavior: smooth;
}

p {
    color: rgb(85, 85, 85);
}

/* TRANSITION */

a,
.btn {
    transition: all 300ms ease;
}

/* DESKTOP NAV */

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

nav {
    justify-content: space-around;
    align-items: center;
    height: auto;
    padding: 4vh 5vh 4vh;
}

.nav-links {
    gap: 2rem;
    list-style: none;
    font-size: 1.5rem;
}
.nav-links a {
  position: relative;
  text-decoration: none;
  color: black;
  padding-bottom: 6px;
}

.nav-links a:hover {
  color: rgba(0, 0, 0, 0.6);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #00FFAA;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}


#desktop-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.section-subtitle {
  color: rgb(85, 85, 85);
  font-weight: 600;
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

body {
  scroll-padding-top: 80px;
  margin-top: 0;
}

/*
.nav-links a.active {
  color: #000;                        
  text-decoration: underline;
  text-decoration-color: #00FFAA;     
  text-underline-offset: 0.75rem;
}

.menu-links a.active {
  text-decoration: underline;
  text-decoration-color: #00FFAA;
  text-underline-offset: 0.5rem;
}*/

a {
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

.logo {
    font-size: 2rem;
}

.logo:hover {
    cursor: default;
}

/* HAMBURGER MENU */

#hamburger-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 3000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    display: none;
    padding: 4vh 5vh 4vh;
}

#hamburger-nav .menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 3100;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  
  max-height: 0;
  overflow: hidden;

  transition: max-height 0.3s ease;
}

#hamburger-nav .menu-links.open {
  max-height: 80vh;
  overflow-y: auto;
}

@media (max-width: 900px) {
  html { scroll-padding-top: 80px; }
}

.hamburger-menu {
    position: relative;
    display: inline-block;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.hamburger-icon span {
    width: 100%;
    height: 2px;
    background-color: black;
    transition: all 0.3 ease-in-out;
}

.menu-links {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    width: fit-content;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3 ease-in-out;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.menu-links a {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3 ease-in-out;
}

.menu-links a:hover {
    text-decoration: underline;
    text-decoration-color: #00FFAA;
    text-underline-offset: 0.5rem;
}

.menu-links li {
    list-style: none;
}

.menu-links.open {
    max-height: 300px;
}

.hamburger-icon.open span:first-child {
    transform: rotate(46deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open span:last-child {
    transform: rotate(-46deg) translate(10px, -5px);
}

.hamburger-icon span:first-child {
    transform: none;
}

.hamburger-icon span:first-child {
    opacity: 1;
}

.hamburger-icon span:first-child {
    transform: none;
}

/* SECTIONS */

section {
    padding-top: 16vh;
    height: 96vh;
    margin: 0 10rem;
    box-sizing: border-box;
    min-height: fit-content;
}


.section-container {
    display: flex;
}

/* PROFILE SECTION */

#profile {
    display: flex;
    justify-content: center;
    gap: 5rem;
    height: 80vh;
    margin-top: 8.2rem;
}

.section__pic-container {
    display: flex;
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.section__pic-container img{
    border-radius: 50px;
    object-fit: cover;
}

.section__text {
    align-self: center;
    text-align: center;
}

.section__text p {
    font-weight: 600;
}

.section__text__p1 {
    text-align: center;
}

.section__text__p2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
}

#socials-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

#socials-container .icon {
    border-radius: 50%;
}

#socials-container .icon:hover {
    outline: 3px solid #00FFAA;
    outline-offset: 2px;
    opacity: 0.6;
}

#companies-container {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.companies-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0, 0, 0, 0.38);
  margin: 0;
}

.companies-logos {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.company-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.company-item:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

.company-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.company-name {
  font-weight: 700;
  font-size: 1rem;
}


/* ICONS*/

.icon {
    cursor: pointer;
    height: 2rem;
}

/* BUTTONS */

.btn-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn {
    font-weight: 600;
    transition: all 0.3 ease;
    padding: 1rem;
    width: 8rem;
    border-radius: 2rem;
}

.btn-color-1, .btn-color-2 {
    border: rgb(53, 53, 53) 0.1rem solid;
}

.btn-color-1:hover, .btn-color-2:hover {
    cursor: pointer;
}

.btn-color-1, .btn-color-2:hover {
    background: rgb(53, 53, 53);
    color: white;
}

.btn-color-1:hover {
    background: rgb(0, 0, 0);
    color: white;
}

.btn-color-2 {
    background: none;
}

.btn-color-2:hover {
    border: rgb(255, 255, 255)  0.1rem solid;
}

.btn-container {
    gap: 1rem;
}

.btn.disabled {
  pointer-events: none;
  opacity: 0.55;
  cursor: not-allowed !important;
}

/* ABOUT SECTION */
#about {
    position: relative;
}

.about-containers {
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.about-details-container {
    justify-content: center;
    flex-direction: column;
}

.about-containers, .about-details-container {
    display: flex;
}

.about-pic {
    border-radius: 2rem;
}

.arrow {
    position: absolute;
    right: -5rem;
    bottom: 2.5rem;
}

.arrow:hover {
  transform: translateY(2px);
}

.details-container {
    padding: 1.5rem;
    flex: 1;
    background: white;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    text-align: center;
}

.section-container {
    gap: 4rem;
    height: 80%;
}

.section__pic-container {
    height: 400px;
    width: 400px;
    margin: auto 0;
}

.italic-text {
  font-style: italic;
}

#leadership,
#education {
  position: relative;
}

/* SKILL SECTION */

#skills {
    position: relative;
}

#skills .skills-section-container {
  display: grid;
  grid-template-columns: repeat(2, 520px); 
  justify-content: center;
  gap: 3rem;
  margin: 0 auto;
}

#skills .skills-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3.5rem;
}

#skills .skill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}

.experience-sub-title {
    color: rgb(85, 85, 85);
    font-weight: 600;
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  #skills .skills-section-container {
    grid-template-columns: 1fr;
  }
}
/* stack on smaller screens */
@media (max-width: 1200px) {
  .experience-section-container {
    grid-template-columns: 1fr;
  }
}

#skills .skill-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
}

#skills .skill-icon i {
  font-size: 26px;       /* tweak */
  line-height: 1;
  display: block;
}

#skills .skill-icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

#skills .skill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1.2rem;
}

#skills .details-container {
  padding: 2rem 2.5rem;
}

#skills .skills-card {
  padding: 2rem 2.5rem;
}

/* Title (Python, Java, etc.) */
.skill-text .skill-name {
  font-weight: 700;

}

/* Level (Experienced/Intermediate) */
.skill-text .skill-level {
  color: rgba(0,0,0,0.75);
  font-size: 0.95rem;
  margin-top: 0.15rem;
}


.article-container { display: flex; text-align: initial; flex-wrap: wrap; flex-direction: row; gap: 2.5rem; justify-content: space-around; }

article.icon {
    cursor: default;
}

article .skill-text {
  text-align: left;
  line-height: 1.15;
}

article .skill-text h3,
article .skill-text p {
  margin: 0;
}

/* ===== Nav Contact Icon ===== */
.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
}

/* prevent underline animation on icon */
.nav-links .nav-icon-link::after {
  display: none !important;
}

.nav-icon {
  height: 1.65rem;
  width: 1.65rem;
  display: block;
  border-radius: 999px;
}

/* active state for icon */
.nav-links .nav-icon-link.active {
  outline: 2px solid #00FFAA;
  outline-offset: 3px;
}

/* hover feel matches your icons */
.nav-links .nav-icon-link:hover .nav-icon {
  opacity: 0.7;
}



/* PROJECTS SECTION */

#projects {
    position: relative;
}

.color-container {
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
}

.project-img {
    border-radius: 2rem;
    width: 90%;
    height: 90%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.project-title {
    margin: 1rem;
    margin-top: -1.08rem;
    color: black;
}

/* Project title marquee */
.project-title {
  position: relative;
  overflow: hidden;
  white-space: nowrap;   /* keep it on one line */
  text-align: center;
}

/* Container controls overflow */
.project-title {
  position: relative;
  overflow: hidden;
}

/* Track that scrolls */
.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee-scroll 12s linear infinite;
}

.marquee-text {
  padding-right: 4.5rem;
}

/* Hover to pause */
.project-title:hover .marquee-track {
  animation-play-state: paused;
}

/* Scroll keyframes: seamless because track is 2× width */
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}



.project-btn {
    color: black;
    border-color: rgb(163, 163, 163);
}


.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* max 3 per row */
  gap: 1.5rem 1.5rem;                               /* vertical / horizontal spacing */
  max-width: 1200px;
  margin: 0 auto 3rem;                              /* center the whole grid */
}

/* Responsive: 2 columns on medium screens, 1 on small */
@media (max-width: 1000px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* === Project hover video === */

/* Make the project image container a fixed 1:1 box */
.project-card .article-container {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
}

/* Maintain a 1:1 aspect ratio for the media box */
.project-card .article-container::before {
  content: "";
  display: block;
  padding-top: 100%; /* 1:1 aspect ratio */
}

/* Both image and video fill that box with the same cropping */
.project-card .project-img,
.project-card .project-video {
  position: absolute;
  width: 90%;
  height: 90%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2rem;
  transition: opacity 0.25s ease;
}

/* Video is invisible (but in place) by default */
.project-card .project-video {
  opacity: 0;
  pointer-events: none;
}

/* When card is "show-video", fade video in and image out */
.project-card.show-video .project-video {
  opacity: 1;
}

.project-card.show-video .project-img {
  opacity: 0;
}


/* ===== Certifications (Education section) ===== */

.certs-wrap {
  max-width: 900px;
  margin: 2.25rem auto 0;
}

.certs-title {
  margin: 0 0 1rem 0;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading-black, #000);
}

/* List container (not cards) */
.certs-list {
  display: grid;
  gap: 0.9rem;
}

/* Row layout */
.cert-row {
  --cert-color: #13294B; /* fallback */
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 0.9rem;

  /* “not cards”: no box shadow, no big rounded card background */
  border-top: 1px solid rgba(0,0,0,0.08);
}

.certs-list .cert-row:first-child {
  border-top: 1px solid rgba(0,0,0,0.12);
}

.cert-logo {
  width: 44px;
  aspect-ratio: 1 / 1; /* guarantees square */
  height: auto;
  object-fit: contain;
  display: block;
}

.cert-meta {
  min-width: 0;
}

.cert-name {
  font-weight: 700;
  color: rgba(0,0,0,0.88);
  line-height: 1.2;
}

.cert-issuer {
  margin-top: 0.15rem;
  font-weight: 400;
  color: rgba(0,0,0,0.55);
  font-size: 0.95rem;
}

/* LinkedIn-style rounded button */
.cert-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;

  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  color: rgba(0,0,0,0.75);
  text-decoration: none;

  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.cert-btn:hover {
  transform: translateY(-1px);
  border-color: color-mix(in oklab, var(--cert-color) 55%, rgba(0,0,0,0.18));
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* subtle brand tint on hover */
.cert-row:hover .cert-btn {
  background: color-mix(in oklab, var(--cert-color) 10%, #fff);
}

/* Credential ID line */
.cert-id {
  margin-top: 0.15rem;
  font-weight: 200;
  color: rgba(0,0,0,0.48);
  font-size: 0.9rem;
}
.cert-id span {
  font-weight: 700;
  color: rgba(0,0,0,0.62);
}

/* Button icon + prevent underline on hover */
.cert-btn {
  text-decoration: none !important;
  gap: 0.45rem;
}

.cert-btn:hover,
.cert-btn:focus,
.cert-btn:active {
  text-decoration: none !important;
}

.cert-btn-icon {
  flex: 0 0 auto;
  transition: transform 0.18s ease;
}

.cert-btn:hover .cert-btn-icon {
  transform: translate(1px, -1px);
}

/* Hide extra certifications by default */
.cert-hidden { display: none; }

/* Show more / less button */
.certs-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.2rem;
}

.certs-toggle-btn {
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.certs-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}



/* Mobile stacking */
@media (max-width: 650px) {
  .cert-row {
    grid-template-columns: 40px 1fr;
    grid-template-rows: auto auto;
    row-gap: 0.65rem;
  }

  .cert-btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}


/* CONTACT */

#contact {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 70vh;
}

.contact-info-upper-container {
    display: flex;
    justify-content: center;
    border-radius: 2rem;
    border: rgb(53, 53, 53) 0.1rem solid;
    border-color: rgb(163, 163, 163);
    background: rgb(250, 250, 250);
    margin: 2rem auto;
    padding: 0.5rem;
}

.contact-info-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem;
}

.contact-info-container p {
    font-size: larger;
}

.contact-icon {
    cursor: default;
}

.email-icon {
    height: 2.5rem;
}

/* FOOTER SECTION */

footer {
    height: 26vh;
    margin: 0 1rem;
    margin-bottom: -2.38rem;
}

footer p {
    text-align: center;
}




/* ADDITIONAL */

/* Hover box */
.details-container:not(.experience-card):hover,
.color-container:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Keep transitions defined on the base elements (cleaner + consistent) */
.details-container:not(.experience-card),
.color-container {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

#experience .experience-card {
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  will-change: transform;
}

#experience .experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  z-index: 2;
}

/* Typewriter Effect */
#typewriter {
  display: inline-block;
  border-right: 2px solid #13294B; /* Carolina Blue accent */
  white-space: nowrap;
  overflow: hidden;
  font-weight: 600;
  animation: blink 0.7s steps(2, start) infinite;
  vertical-align: bottom;
  padding-left: 0;     /* no extra space on the left */
  padding-right: 3px;  /* tiny gap before the blinking cursor */
  margin-left: 0;
  margin-right: 0;
}

@keyframes blink {
  to {
    border-color: transparent;
  }
}

/* Filter Buttons */
.filter-bar {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgb(163,163,163);
  background: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.filter-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}

.filter-btn.active {
  background: rgb(53,53,53);
  color: white;
  border-color: rgb(53,53,53);
  transform: translateY(-1px);
}

/* Hide filtered cards smoothly */
/* Card base (keep hover/other effects separate if you like) */
.project-card {
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* When filtered out: remove from layout so others move up/left */
.project-card.is-hidden {
  display: none;
}

/* Winner ribbon for Case Closed */
.project-card {
  position: relative; /* allows absolute-positioned ribbon */
}

/* === Pin project buttons to bottom of card === */
.project-card{
  display: flex;
  flex-direction: column;
}

.project-card .article-container{
  flex-shrink: 0;
}

.project-card .btn-container{
  margin-top: auto;
}

.project-card--winner .project-ribbon {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #FFCF33, #FF9F1C);
  color: #3b2a00;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  z-index: 2;
  pointer-events: none; /* don't block clicks on buttons below */
  text-transform: uppercase;
  white-space: nowrap;
}

/* Optional: tiny trophy emoji on the left */
.project-card--winner .project-ribbon::before {
  content: "🏆";
  margin-right: 0.35rem;
}

.project-ribbon {
  position: absolute;
  top: 0.75rem;
  left: -0.6rem;
  background: linear-gradient(135deg, #FFCF33, #FF9F1C);
  color: #222;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  padding: 0.4rem 1.2rem;
  border-radius: 0 0.4rem 0.4rem 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 10;
  overflow: hidden;
}

/* ⚡ Reflection animation */
.project-ribbon::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  transform: skewX(-25deg);
  animation: shine 4s ease-in-out infinite;
}

.project-meta {
  margin: -0.85rem 1.25rem 1rem;  
  font-size: 1rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.55);
  line-height: 1.25;
  text-align: center;
}

.project-meta {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* ✨ Keyframes for shimmer */
@keyframes shine {
  0% {
    left: -75%;
  }
  50% {
    left: 125%;
  }
  100% {
    left: 125%;
  }
}

/* Optional: subtle gradient movement for realism */
@keyframes subtleGlow {
  0% {
    background: linear-gradient(135deg, #FFCF33, #FF9F1C);
  }
  50% {
    background: linear-gradient(135deg, #FFCF33, #FF9F1C);
  }
  100% {
    background: linear-gradient(135deg, #FFCF33, #FF9F1C);
  }
}

.project-ribbon {
  animation: subtleGlow 6s ease-in-out infinite alternate;
}


/* Optional: grid feel when many cards */
.experience-details-container .about-containers {
  flex-wrap: wrap;
  gap: 1.5rem;
}



/* ====== Education Timeline ====== */
:root{
  /* Feel free to tweak to your palette */
  --edu-accent: #4B9CD3;         /* Carolina blue-ish */
  --edu-accent-dark: #13294B;    /* Deep navy */
  --edu-line: rgba(0,0,0,0.12);  /* Timeline line color */
  --edu-card-bg: #ffffff;        /* Card background */
  --edu-text: #222;              /* Primary text */
  --edu-muted: #545454;          /* Secondary text */
  --edu-radius: 16px;
  --edu-shadow: 0 8px 24px rgba(0,0,0,0.08);
}


#education .title{
  margin-bottom: 2rem;
}

.edu-timeline{
  position: relative;
  margin: 2rem auto 0;
  padding: 0;
  max-width: 900px;
  list-style: none;
}

/* Vertical center line */
.edu-timeline::before{
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--edu-line);
}

/* Each item row */
.edu-item{
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* Marker (dot) */
.edu-marker{
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--edu-accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--edu-accent) 25%, transparent);
  margin-left: 16px; /* centers over line */
  margin-top: 0.4rem;
  flex: 0 0 16px;
}

/* Card */
.edu-card{
  background: var(--edu-card-bg);
  border-radius: var(--edu-radius);
  box-shadow: var(--edu-shadow);
  padding: 1.25rem 1.25rem 1rem;
  border: rgb(53, 53, 53) 0.1rem solid;
  border-color: rgb(163, 163, 163, 0.35);

}



.edu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.edu-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.edu-school{
  margin: 0 0 .25rem 0;
  color: var(--edu-accent-dark);
  font-size: 1.05rem;
  line-height: 1.35;
}

.edu-honors{
  margin: 0 0 .25rem 0;
  color: var(--edu-accent-dark);
  font-size: 1.05rem;
  line-height: 1.35;
}

.edu-degree{
  margin: 0;
  color: var(--edu-text);
  font-weight: 500;
}

.edu-years{
  margin: .4rem 0 .6rem 0;
  color: var(--edu-muted);
  font-size: .95rem;
}

.edu-highlights{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}

.edu-highlights li{
  position: relative;
  padding-left: 1.05rem;
  color: var(--edu-muted);
  font-size: .95rem;
}
.edu-highlights li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--edu-accent);
}

/* ====== Larger screens: shift line to middle and alternate cards ====== */
@media (min-width: 800px){
  .edu-timeline{
    padding-left: 0; 
  }
  .edu-timeline::before{
    left: 50%;
    transform: translateX(-1px);
  }
  .edu-item{
    grid-template-columns: 1fr 56px 1fr; /* left card / marker / right card space */
    align-items: start;
  }
  .edu-marker{
    grid-column: 2;
    margin: 0 auto;
  }
  /* Alternate cards left/right */
  .edu-item:nth-child(odd) .edu-card{
    grid-column: 1;
    margin-right: 2rem;
  }
  .edu-item:nth-child(even) .edu-card{
    grid-column: 3;
    margin-left: 2rem;
  }
}

/* ====== Print-friendly ====== */
@media print{
  .edu-card{
    box-shadow: none !important;
    border: 1px solid #ccc;
  }
  .edu-timeline::before,
  .edu-marker{
    background: #000 !important;
    box-shadow: none !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}


/* === Animated Skill Bars === */
.skills-grid {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 1.5rem auto 0;
}

.skill {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  box-shadow: 0 6px 14px rgba(0,0,0,0.06);
}

.skill-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.skill-num {
  font-weight: 700;
  color: #13294B; /* deep navy from your palette */
  font-size: 0.95rem;
}

.skill-bar {
  height: 10px;
  background: rgb(240,240,240);
  border-radius: 999px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #00FFAA, #13294B);
  transition: width 1.2s ease; /* JS sets width, CSS animates it */
}

/* ===== Nav Contact Icon ===== */
.nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
}

/* prevent underline animation on icon */
.nav-links .nav-icon-link::after {
  display: none !important;
}

.nav-icon {
  height: 1.65rem;
  width: 1.65rem;
  display: block;
  border-radius: 999px;
}

/* active state for icon */
.nav-links .nav-icon-link.active {
  outline: 2px solid #00FFAA;
  outline-offset: 3px;
}

/* hover feel matches your icons */
.nav-links .nav-icon-link:hover .nav-icon {
  opacity: 0.7;
}

/* ===== Experience Section ===== */
#experience {
  position: relative;
}

.experience-section-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .experience-section-container {
    grid-template-columns: 1fr;
  }
}

.experience-card {
  text-align: left; /* override your default centered cards */
}

/* ===== Experience Top Layout ===== */

.experience-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.experience-card-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.experience-role {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #000000;
}

/* Company name matches logo color */
.experience-org {
  margin: 0;
  font-weight: 700;
  color: var(--org-color, #13294B);
}

/* Dates under company */
.experience-dates {
  margin: 0.05rem 0 0;
  color: rgba(0,0,0,0.55);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Pure 1:1 logo image (no card, no background, no border) */
.experience-logo {
  width: 64px;
  aspect-ratio: 1 / 1;   /* 🔒 guarantees square */
  height: auto;          /* height derives from width */
  object-fit: contain;   /* never stretches logo */
  display: block;

  /* no card styling */
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}


.experience-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.exp-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(250,250,250,0.9);
  font-weight: 700;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.72);
}

.experience-bullets {
  margin: 0;
  padding-left: 1.1rem;
  color: rgb(85, 85, 85);
  display: grid;
  gap: 0.4rem;
}

.exp-btn-row {
  margin-top: 1rem;
  justify-content: flex-start; /* left align buttons */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .skill-fill { transition: none; }
}

a[target="_blank"]:hover {
  color: #13294B;
  text-decoration: underline;
  text-decoration-color: #00FFAA; 
  text-underline-offset: 0.4rem;
}


/* ===== Work Ticker Banner (Bottom, Collapsible) ===== */

:root {
  --ticker-height: 2.4rem;
  --ticker-tab-height: 1.1rem;
}

#work-ticker {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: calc(var(--ticker-height) + var(--ticker-tab-height));
  z-index: 5000;
  overflow: visible;
  background: transparent;
}


.work-ticker__body {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: var(--ticker-height);
  background: #ffffff;
  border-top: 1px solid rgba(0,0,0,0.12);
  overflow: hidden;
  transition: transform 0.32s ease;
}

#work-ticker.work-ticker--hidden {
  transform: translateY(var(--ticker-height));
}

.work-ticker__toggle {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: var(--ticker-tab-height);
  min-width: 11rem;
  padding: 0 1rem;
  border: none;
  border-left: 1px solid rgba(0,0,0,0.12);
  border-right: 1px solid rgba(0,0,0,0.12);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  border-radius: 0 0 0.85rem 0.85rem;
  background: rgba(255,255,255,0.98);
  color: #111111;
  font-family: "Poppins", sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.work-ticker__toggle:hover {
  transform: translateX(-50%) translateY(-2px);
  background: #f5f5f5;
}

.work-ticker__toggle-label {
  pointer-events: none;
}

.work-ticker__viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.work-ticker__track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  animation: workTickerScroll 32s linear infinite;
  will-change: transform;
}

.work-ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.work-ticker__item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 1.3rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #111;
  letter-spacing: 0.01em;
}

.work-ticker__divider {
  width: 1px;
  height: 0.9rem;
  background: rgba(0,0,0,0.16);
  flex-shrink: 0;
}

.work-ticker__fade {
  position: absolute;
  top: 0;
  width: 3rem;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.work-ticker__fade--left {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255,255,255,0));
}

.work-ticker__fade--right {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255,255,255,0));
}

#work-ticker:hover .work-ticker__track {
  animation-play-state: paused;
}

@keyframes workTickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body {
  padding-bottom: var(--ticker-height);
}

@media (max-width: 768px) {
  :root {
    --ticker-height: 2.1rem;
    --ticker-tab-height: 1rem;
  }

  .work-ticker__item {
    font-size: 0.74rem;
    padding: 0 0.9rem;
  }

  .work-ticker__fade {
    width: 2rem;
  }

  .work-ticker__toggle {
    width: 10rem;
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #work-ticker {
    transition: none;
  }

  .work-ticker__track {
    animation: none;
  }
}

#work-ticker {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.4rem;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.12);
  z-index: 5000;
  overflow: hidden;
  transition: transform 0.35s ease;
}

#work-ticker.hide {
  transform: translateY(100%);
}

body {
  padding-bottom: 2.4rem;
}

/* Rotating Circle 
.section__pic-container {
    position: relative;
    width: 300px; 
    height: 300px;
    margin: auto;
}

.profile-photo {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.circle-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%; 
    height: 120%;
    border-radius: 50%;
    border: 4px dashed #00FFAA;
    animation: rotate 30s linear infinite;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.8;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}*/

/*
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border: 2px solid #4B9CD3;
  border-radius: 50%;
  background-color: rgba(75, 156, 211, 0.15);
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.15s ease, background-color 0.15s ease, border 0.15s ease;
  z-index: 10000;
  mix-blend-mode: difference;
}


a:hover ~ .custom-cursor,
button:hover ~ .custom-cursor,
.icon:hover ~ .custom-cursor {
  transform: translate(-50%, -50%) scale(1.6);
  background-color: rgba(75, 156, 211, 0.3);
}

.custom-cursor.click {
  transform: translate(-50%, -50%) scale(0.7);
}


*/

/* ===== Jason Mode Page ===== */

.jason-list {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
}

.jason-list li {
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: #555;
}

/* Quotes */
.quotes-container {
  max-width: 900px;
  margin: 2rem auto 0 auto;
  display: grid;
  gap: 1.5rem;
}

.quote-card {
  padding: 1.2rem 1.4rem;
  border-radius: 10px;
  border: 1px solid rgba(19, 41, 75, 0.08);
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.quote-text {
  margin: 0;
  font-size: 0.98rem;
  color: #333;
}

.quote-author {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: #666;
}

/* Gallery */
.gallery-grid {
  max-width: 900px;
  margin: 2rem auto 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .quotes-container {
    grid-template-columns: 1fr;
  }
}

.jason-mode-note {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 0.85rem;
  color: rgba(0, 0, 0, 0.7);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Poppins', sans-serif;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.jason-mode-note .key-hint {
  font-weight: 600;
  color: #4B9CD3;
}

.jason-mode-note.visible {
  opacity: 0.95;
  transform: translateY(0);
}

@media (max-width: 600px) {
  .jason-mode-note {
    font-size: 0.75rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }
}

/* ==== Jason Mode Image Popout ==== */

.img-popout-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;                 /* below custom cursor (10000), above everything else */
  pointer-events: none;          /* only clickable when visible */
}

.img-popout-overlay.visible {
  pointer-events: auto;
}

.img-popout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.img-popout-overlay.open .img-popout-backdrop {
  opacity: 1;
}

.img-popout-img {
  position: fixed;
  /* top / left / width / height set by JS */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

  /* 🔥 animation */
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center center;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    top 0.25s ease,
    left 0.25s ease,
    width 0.25s ease,
    height 0.25s ease;
}

.img-popout-overlay.open .img-popout-img {
  opacity: 1;
  transform: scale(1);
}


/* ===== Resume Modal ===== */

.resume-modal {
  position: fixed;
  inset: 0;
  display: none;                /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 9000;                /* above nav, below custom-cursor (10000) */
  pointer-events: none;         /* enabled only when open */
}

.resume-modal.open {
  display: flex;
  pointer-events: auto;
}

/* Dim the background, but with lighter blur */
.resume-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);   /* a bit lighter */
  backdrop-filter: blur(1.5px);      /* less blurry than 4px */
}

/* Larger dialog */
.resume-dialog {
  position: relative;
  max-width: 900px;            /* slightly narrower for portrait shape */
  width: 82%;
  max-height: 95vh;            /* taller overall */
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.45);
  padding: 1rem 1.2rem 1.2rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* Header row with title left, actions right */
.resume-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.resume-dialog h2 {
  margin: 0;
  font-size: 1.3rem;
  color: #13294B;
}

.resume-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== Resume "Open" Button ===== */
.resume-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgb(0, 0, 0);
  background: none;
  border: 1.5px solid rgb(0, 0, 0);
  border-radius: 20px;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.resume-open-btn:hover {
  background: rgb(53, 53, 53);
  color: white;
  transform: translate(0,-2px);
}

.resume-open-btn svg {
  stroke: currentColor;
  transition: transform 0.2s ease;
}


/* Close “X” still in top-right corner */
.resume-close {
  border: none;
  background: transparent;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}


.resume-frame-wrapper {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.12);
  height: 100%;
  display: flex;
}

.resume-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  min-height: 65vh;
  margin: 0;
  padding: 0;
  line-height: 0;
}


/* Mobile tweaks */
@media (max-width: 768px) {
  .resume-dialog {
    width: 98%;
    max-height: 95vh;
    padding: 0.9rem;
  }

  .resume-dialog h2 {
    font-size: 1.05rem;
  }

  #resume-download {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
  }
}

/* Add padding around the popup on narrower screens */
@media (max-width: 1100px) {
  .resume-modal {
    padding: 2rem; /* space around the popup */
  }
}

@media (max-width: 768px) {
  .resume-modal {
    padding: 1.25rem; /* slightly smaller padding for mobile */
  }

  .resume-dialog {
    width: 100%;          /* use full width of padded container */
    max-width: none;      /* allow flexible scaling */
    border-radius: 14px;  /* softer corners on small screens */
  }
}

.resume-frame-wrapper:hover ~ .custom-cursor,
.resume-frame-wrapper iframe:hover ~ .custom-cursor {
  opacity: 0 !important;
}

/* Prevent scrolling behind modal when open */
body.modal-open {
  overflow: hidden;
}

/* Scroll Progress Bar */
:root {
  --progress-height: 4px;
  --progress-color: #00FFAA; /* your green */
}

#scroll-progress {
  position: fixed;
  bottom: 0;               /* stays at the very top */
  left: 0;
  height: var(--progress-height);
  width: 0%;
  background: var(--progress-color);
  z-index: 2000;        /* higher than your nav */
  pointer-events: none;
  transition: width 80ms linear; /* tiny smoothing */
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  #scroll-progress { transition: none; }
}

