/*body margin top*/
#desktop-nav {
  position: sticky;
}

p {
  line-height: 1.6;
  font-size: clamp(0.75rem, 1.3vw, 0.87rem);
  padding-left:0.75rem;
  padding-right:1rem;
  padding-bottom: 1rem;
  color:black;
  font-weight: 600;
}

h3 {
    margin-left: auto;
    padding-right:1rem;
    font-size: clamp(0.8rem, 1.3vw, 0.87rem);

}

.muted{
    font-size: 13px;
}

/*
experience html
*/
.pdf-btn {
  display: flex;
  margin-bottom: 1rem;
  margin-top: 2rem;

  font-weight: 600;
  height: 3rem;
  /* margin-left: 10%; same as fullscreen */
}
.btn-wrapper {
  justify-content: center;
  display: flex; 
  align-items: center;     /* vertical */
  height: fit-content;
}

.pdf-section {
    justify-content: center;
  display: flex; 
}

.bullet-title {
  list-style-type: square;
}


/* carousel container */
.carousel {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-bottom: 14px;
}
.title-row {
  display: flex;
  justify-content: space-between; /* key line */
  align-items: baseline;          /* keeps text aligned nicely */
  width: 100%;
    padding: 5px 12px 5px 12px;   

}

.title-row .title{
  margin: 0;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 800;
}

.title-row .tech {
  font-weight: 400;
  opacity: 0.85;
  font-size: clamp(0.9rem, 0.85rem + 0.4vw, 1.1rem);
}
 
.glass-card h2.exp {
  font-weight: 700;
  font-size: 14px;
  margin: 0rem 12px 0.75rem; /* optional */
}

.glass-card h2.title-place{
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.card-content {
  display: flex;
  gap: 20px;
  align-items: center;
}

/* square image */
.card-image {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  flex-shrink: 0;

  /* subtle polish */
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* right side content */
.card-text {
  flex: 1;
  min-width: 0;
}


.glass-card .title-year {
  font-weight: 600;
  font-size: 15px;
}

.glass-card {
  /* glass surface */
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.15)
  );
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  /* shape */
  border-radius: 52px;

  /* glass edge */
  border: 1.5px solid rgba(255, 255, 255, 0.35);

  /* depth n inner highlight */
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    inset 0 -1px 1px rgba(255, 255, 255, 0.25);

  /* spacing */
  padding: 24px;
  margin-bottom: 2rem;

  /* text */
  color: #111;

  /* smoothness */
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;

  position: relative;
  overflow: hidden;
}

.page > .glass-card:last-of-type{
  margin-bottom: 2rem;
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='80' height='80' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
}
/* tweak  */
:root { --anchor-offset: 90px; }

/* anchor targets are the .glass-card divs with ids */
.glass-card {
  scroll-margin-top: var(--anchor-offset);
}
.glass-card h2 {
    margin: 0.05rem 0.5rem 1rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.glass-card .subtitle {
    margin-bottom: 14px;
    color: #555;
    font-size: 0.95rem;
}
.card-actions-row {
  display: flex;
  gap: 12px;              /* space between buttons */
  align-items: center;
  padding: 0px 8px;   
}

.card-actions {
    display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  text-align: center;
  font-weight: 600;

    color: rgb(45, 45, 45);
  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.15s ease;

  /* pill shape */
  border-radius: 999px;

  /* frosted glass */
  background: rgba(250, 250, 250, 0.75);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1.75px solid rgb(255, 255, 255);

  /* lift */
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  min-width: 90px;
  justify-content: center;
}
.card-actions:hover {
  color: rgb(235, 35, 35);

  background: rgba(251, 151, 151, 0.411);

  /* less backdrop effect */
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);

  border-color: rgba(249, 5, 5, 0.55);

  box-shadow: 0 5px 11px rgba(255, 0, 0, 0.3);

  transform: translateY(-1px);
  cursor: pointer;
}



/* slides */
.car-track {
  width: 100%;
  height: 100%;
  position: relative;
    overflow:visible;

}

.car-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
  border: 2px solid rgb(212, 212, 212);
  z-index: 1;
  pointer-events: none; /* images shouldn't eat clicks */
  overflow:hidden;
  border-radius: 18px;

}

/* buttons + dots above */
.car-btn,
.car-dots {
  z-index: 10;
  pointer-events: auto;
}

.car-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* prev/next buttons */
.car-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;

  background: rgba(255,255,255,0.35);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55);

  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.car-btn:hover { background: rgba(255,255,255,0.55); }

.car-btn.prev { left: 10px; }
.car-btn.next { right: 10px; }

/* dots */
.car-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;

  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.45);
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
}

.dot.is-active {
  background: rgba(0,0,0,0.65);
}