.a-yusra-project-card {
  width: 100%;
  max-width: 370px;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  border-radius: 16px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.055);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.harshit-heading {
  text-align: center;
  padding-bottom: 10px;
}

.a-yusra-project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
}

/* TOP */
.a-yusra-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 19px 14px;
  border-bottom: 1px solid #eeeeee;
}

.a-yusra-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 700;
}

.a-yusra-brand-icon {
  width: 30px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.a-yusra-project-category {
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff0ea;
  color: #e95732;
  border: 1px solid #ffd3c5;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.9px;
  box-shadow: 0 2px 6px rgba(240, 100, 60, 0.08);
}

/* MAIN */
.a-yusra-project-main {
  padding: 17px 19px 3px;
}

.a-yusra-project-title {
  margin: 0 0 9px;
  color: #202020;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.a-yusra-title-line {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0 0 13px;
}

.a-yusra-title-line span {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    #f0643c 0,
    #f0643c 55px,
    #e5e5e5 55px,
    #e5e5e5 100%
  );
}

.a-yusra-description-box {
  position: relative;
}

.a-yusra-project-description {
  margin: 0;
  height: 80px;
  overflow: hidden;
  color: #6f6f6f;
  font-size: 12.5px;
  line-height: 1.6;
}

.a-yusra-description-more {
  display: none;
  margin-top: 5px;
  border: none;
  background: none;
  color: #f0643c;
  font-size: 9px;
  font-weight: 700;
  cursor: pointer;
}

.a-yusra-description-box.expanded .a-yusra-project-description {
  overflow-y: auto;
}

.a-yusra-description-box.expanded
  .a-yusra-project-description::-webkit-scrollbar {
  width: 4px;
}

.a-yusra-description-box.expanded
  .a-yusra-project-description::-webkit-scrollbar-thumb {
  background: #d8d8d8;
  border-radius: 10px;
}

/* TAGS (small inner marquee — left as continuous, unrelated to the main carousel) */
.a-yusra-project-tags {
  overflow: hidden;
  margin: 0 auto;
  width: 90%;
}

.a-yusra-tags-track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: tagsMove 14s linear infinite;
}

.a-yusra-tech-tag {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.045);
  color: #444444;
  font-size: 9px;
  font-weight: 600;
}

.a-yusra-tech-tag img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.a-yusra-tech-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(240, 100, 60, 0.12);
}

@keyframes tagsMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.a-yusra-project-tags:hover .a-yusra-tags-track {
  animation-play-state: paused;
}

/* PEOPLE */
.a-yusra-project-people {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
  padding: 16px 19px 17px;
}

.a-yusra-person {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.a-yusra-person-image,
.a-yusra-student-avatar {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
}

.a-yusra-person-image {
  object-fit: cover;
  background: #eeeeee;
}

.a-yusra-student-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0643c;
  color: white;
  font-size: 9px;
  font-weight: 700;
}

.a-yusra-person-info {
  display: flex;
  flex-direction: column;
}

.a-yusra-person-name {
  max-width: 125px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #333333;
  font-size: 9.5px;
  font-weight: 700;
}

.a-yusra-person-role {
  margin-top: 2px;
  color: #999999;
  font-size: 7.5px;
  font-weight: 700;
  letter-spacing: 0.7px;
}

/* ACTIONS */
.a-yusra-project-actions {
  display: flex;
  gap: 10px;
  padding: 13px 17px;
  background: #f9f9f9;
  border-top: 1px solid #eeeeee;
}

.a-yusra-project-btn {
  flex: 1;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.a-yusra-source-code {
  background: #ffffff;
  border: 1px solid #d6d6d6;
  color: #333333;
}

.a-yusra-source-code:hover {
  background: #f4f4f4;
  border-color: #bdbdbd;
  transform: translateY(-1px);
}

.a-yusra-live-project {
  background: #f0643c;
  border: 1px solid #f0643c;
  color: #ffffff;
  box-shadow: 0 3px 8px rgba(240, 100, 60, 0.15);
}

.a-yusra-live-project:hover {
  background: #db5330;
  border-color: #db5330;
  box-shadow: 0 5px 12px rgba(240, 100, 60, 0.22);
  transform: translateY(-1px);
}

.a-yusra-btn-icon {
  font-size: 11px;
  line-height: 1;
}

/* =========================
   PROJECTS HORIZONTAL CAROUSEL — STEP VERSION
   Moves exactly ONE card, pauses, then moves the next one.
   No `animation:` here anymore — a JS timer drives a single
   `transform: translateX()` transition per step, so the row
   never appears to be constantly drifting.
   ========================= */
.a-yusra-projects-carousel {
  width: 90%;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 30px;
  box-sizing: border-box;
}

.a-yusra-projects-track {
  display: flex;
  align-items: stretch;
  gap: 20px;
  width: max-content;
  will-change: transform;
  /* smooth, single-step move — timing/easing tweak this one line */
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.a-yusra-projects-track .a-yusra-project-card {
  flex: 0 0 370px;
}

@media (max-width: 600px) {
  .a-yusra-projects-carousel {
    padding: 16px 16px;
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .a-yusra-projects-track {
    gap: 14px;
  }

  .a-yusra-projects-track .a-yusra-project-card {
    flex: 0 0 calc(100vw - 30px);
    max-width: 370px;
    box-sizing: border-box;
  }
}

@media (max-width: 400px) {
  .a-yusra-projects-carousel {
    padding: 16px 16px;
    width: 90%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .a-yusra-projects-track {
    width: 100%;
    gap: 12px;
  }

  .a-yusra-projects-track .a-yusra-project-card {
    flex: 0 0 100%;
  }
}
