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



.hero {
    width: 80%;
    margin: 4.2rem auto;
}


.photo-frame {
    overflow: hidden;    
}

.photo-frame__top {
    width: 32.5rem;
    margin-left: -0.5rem;
}

.div-bottom {
    display: flex;
    gap: 10.2rem;
    margin-top: -2.6rem;
}

.div-photo-frame-bottom {
    /* position: absolute; */
    bottom: 0.7rem;
    /* left: 1rem; */
    width: 31.5rem;
    height: 43.2rem;
    display: inline-flex;
    padding: 0.5rem;
    align-items: center;
    gap: 1rem;
    border-radius: 3rem;
    background: rgba(179, 179, 179, 0.50);
}

.photo-frame__bottom {
    width: 100%;
    height: 100%;
    transform-origin: center;
    z-index: 1;
    border-radius: 3rem;
    object-fit: cover;            /* zooms in to completely fill the box */
    object-position: center;
    
}

.hero-content {
  flex: 1;                   /* take up remaining space */
  display: flex;
  flex-direction: column;    /* stack title / subtitle / desc */
  /* gap: 1.6rem;               vertical spacing between them */
}


.profession-main,
.profession-sub {
    display: block;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 6.8rem; /* 75.556% */
    overflow: visible;
    background: linear-gradient(90deg, #969696 0%, #496E52 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profession-main {
    font-size: 9rem;
    letter-spacing: -0.45rem;
    padding-bottom: 2.5rem;
}

.profession-sub {
    font-size: 5.5rem;
    letter-spacing: -0.225rem;
    margin-top: -1.5rem;
}

.desc {
    display: block;
    margin-bottom: 2rem;
    color: #000;
    font-size: 2rem;
    font-weight: 400;
    line-height: normal;
}

.experience-cards {
    display: flex;
    gap: 5.3rem;
    margin-left: -0.3rem;
}

.experience-card-1, .experience-card-2, .experience-card-3 {
    display: flex;
    width: 19.3rem;
    height: 13.3rem;
    padding: 1.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    flex-shrink: 0;
    border-radius: 2rem;
    background: rgba(164, 164, 164, 0.15);
}

.experience-cards svg {
    width: 3.859rem;
    height: 3.5rem;
    flex-shrink: 0;
}

.experience-cards p {
    color: #000;
    font-family: "satoshi";
    font-size: 2rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.1rem;
    width: 15.5rem;
    height: 5.4rem;
}

.my-works {
    text-align: center;
    margin: 14.6rem 10rem 2.9rem;
    /* margin-top: 7.6rem; */
    /* margin: 7.6rem 13rem 2.4rem 13rem; */
}

.achievements-main {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 6rem; /* 100% */
    margin-bottom: 2rem;
}

.about-me-card {
    display: flex;
    width: 124rem;
    padding: 4rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    border-radius: 3rem;
    border: 1px solid rgba(164, 164, 164, 0.15);
    background: rgba(179, 179, 179, 0.20);
    margin: auto;
    margin-bottom: 14.2rem;
}

.about-me-card span {
    color: #000;
    text-align: center;
    font-size: 2rem;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    align-self: stretch;
}

.my-works-title-sub {
    font-weight: 400;
    font-size: 2rem;
    line-height: normal;
    margin-top: 2rem;
}

.tech-stack-card1 {
    display: flex;
    width: 120.6rem;
    height: 9.4rem;
    padding: 0.7rem 1.8rem;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    margin: auto;
    margin-bottom: 2.9rem;
}

.frame-1 {
    display: flex;
    width: 38.2rem;
    height: 8rem;
    padding: 1.2rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 2.5rem;
    border: 1px solid rgba(179, 179, 179, 0.20);
    background: #496E52;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.frame-logos {
    display: flex;
    width: 6.3rem;
    height: 6rem;
    padding: 0.4rem;
    justify-content: center;
    align-items: center;
    gap: 1.7rem;

    border-radius: 2.5rem;
    background: rgba(179, 179, 179, 0.20);
}

.tech-stack-card2 {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    margin: 0 21.5rem 2.9rem 21.5rem;
    /* margin-bottom: 2.9rem; */
}

.frame-2 {
    display: flex;
    padding: 1.2rem;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
    border-radius: 2.5rem;
    border: 1px solid rgba(179, 179, 179, 0.20);
    background: #496E52;
    box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.badge-wrapper{
    display: flex;
    padding-left: 47%;
    margin: 10.4rem auto 4.2rem auto;
}

.new-badge {
    display: flex;
    width: 8.2rem;
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    background: rgba(164, 164, 164, 0.20);
}

.new-badge span {
    color: #496E52;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 150%; /* 3rem */
}


/* the icon */
.badge-wrapper svg {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    aspect-ratio: 1/1;

    margin-top: -2.4rem;
    margin-left: -1rem;
}


.full-role-details {
    text-align: center;
}

.full-role-details-btn {
    text-decoration: none;
    width: fit-content;
    color: #FDFDFC;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 150%; /* 27px */
    padding: 1rem;
    margin-bottom: 6.3rem;
    display: inline-flex;
    gap: 0.7rem;
}



#award-btn svg {
    width: 2.2rem;
    height: 2.2rem;
    flex-shrink: 0;
    margin-right: 0;
}


.timeline-container {
    position: relative;
    display: flex;
    max-width: 1390px;
    margin: 0 auto;
    padding: 2rem 1rem;
    gap: 2rem;
}



/* each column (Experience / Education) */
.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.column h2 {
    color: #000;
    text-align: center;
    font-size: 3.5rem;
    font-weight: 500;
}

/* the list of entries */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
}

/* 1) Section & heading */
.experience {
    width: 500px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.experience h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}


/* 3) One “group” per company */
.timeline-group {
    position: relative;
    display: flex;
    margin-bottom: 4rem;
    gap: 3.5rem;
}

/* 4) Circular logo “marker” */
.marker {
  width: 8rem;
  height: 8rem;
  margin: 2rem 0 0 -2rem;    /* center over the 2px line */
  border-radius: 50%;
  background: #e0e0e0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.marker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-points-1 {
    width: .3rem;
    height: 6.5rem;
    transform: rotate(180deg);
    transform-origin: left;
    background: black;
    margin: 2rem;
}

.timeline-points-2 {
    width: .3rem;
    height: 16rem;
    transform: rotate(180deg);
    transform-origin: left;
    background: black;
    margin: 2rem;
}

.timeline-points-3 {
    width: .3rem;
    height: 26rem;
    transform: rotate(180deg);
    transform-origin: left;
    background: black;
    margin: 2rem;
}

/* 5) The company “card” */
.card {
    display: flex;
    width: 33rem;
    /* height: 11rem; */
    padding: 1rem;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0.2rem;
    border-radius: 2rem;
    background: rgba(179, 179, 179, 0.20);
}
.card h3 {
    color: #000;
    font-size: 2rem;
    font-weight: 900;
    align-self: stretch;
}
.card .meta,
.card .location {
    color: #000;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
}

.card .location svg {
    margin-bottom: -0.3rem;
}

/* 6) Sub-items (roles) */
.sub-item {
  position: relative;
  margin-top: 3.9rem;
}
.sub-item::before {

    content: "";
    position: absolute;
    top: 40%; bottom: 0;
    left: -7.6rem;
    transform: translateX(-50%);
    width: 2rem;
    height: 2rem;
    aspect-ratio: 1/1;
    
    background-image: url("../images/diamond-with-a-dot.svg");
    background-repeat: no-repeat;
    background-size: contain;
}

.sub-item h4 {
    color: #000;
    font-size: 2rem;
    font-weight: 900;
    align-self: stretch;
}

.sub-item p {
    color: #000;
    font-size: 1.5rem;
    font-weight: 400;
}

.carousel {
    width: 100%;
    height: 64rem;
    position: relative;
    display: flex;
    justify-content: center;
}

.carousel-card {
    width: 38.4rem; 
    height: 27rem; 
    margin-top: 19.8rem; 
    opacity: 0.50; 
    background: rgba(250, 250, 250, 0.20); 
    overflow: hidden; 
    border-radius: 2rem; 
    outline: 1.02px rgba(179, 179, 179, 0.50) solid; 
    outline-offset: -1.02px
}

.carousel-card.active {
    transform: scale(1.1) translateX(0);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 2;
    opacity: 1;


    width: 48.8rem; 
    height: 367.70px; 
    margin-top: 160px; 
    /* position: absolute;  */
    background: rgba(250, 250, 250, 0.20); 
    border-radius: 30.64px; 
    outline: 1.53px rgba(179, 179, 179, 0.50) solid; 
    outline-offset: -1.53px;
    overflow: visible;
}


.carousel-viewport {
    width: 333.99px; 
    left: 11.24px; 
    top: 132.78px; 
    position: absolute; 
    flex-direction: column; 
    justify-content: flex-start; 
    align-items: flex-start; 
    gap: 7.15px; 
    display: inline-flex
}

.carousel-viewport h3 {
    width: 30rem; 
    color: black; 
    font-size: 15.32px; 
    font-weight: 900; 
    word-wrap: break-word
}

.carousel-viewport p {
    color: #000;
    text-align: center;
    font-size: 1.0214rem;
    font-weight: 400;
}

.carousel-card.active .carousel-viewport {
width: 421.32px; 
left: 17.12px; 
top: 150px; 
position: absolute; 
flex-direction: column; 
justify-content: flex-start; 
align-items: flex-start; 
gap: 10.72px; 
display: inline-flex;
}

.carousel-card.active .carousel-viewport h3 {
 width: 444.30px; 
 color: black; 
 font-size: 25px; 
 font-weight: 900; 
 word-wrap: break-word;
}

.carousel-card.active .carousel-viewport p {
    text-align: center; 
    color: black; 
    font-size: 20px; 
    font-weight: 400; 
    word-wrap: break-word
}

.view-cred-btn {
    width: 109.29px; 
    height: 24.51px; 
    padding-left: 10.21px; 
    padding-right: 10.21px; 
    left: 7.24px; bottom: 2rem;
    position: absolute; 
    background: #496E52; 
    border-radius: 102.14px; 
    justify-content: center; 
    align-items: center; 
    gap: 7.15px; 
    display: inline-flex;
    cursor: pointer;
}

.carousel-card.active .view-cred-btn {
    width: 185.93px; 
    height: 36.77px; 
    padding-left: 15.32px; 
    padding-right: 15.32px; 
    left: 17.12px; 
    top: 291.13px; 
    position: absolute; 
    background: #496E52; 
    border-radius: 153.21px; 
    justify-content: center; 
    align-items: center; 
    gap: 10.72px; 
    display: inline-flex
}

.view-cred-btn a {
    color: #FDFDFC; 
    font-size: 10.21px; 
    font-weight: 300; 
    line-height: 15.32px; 
    word-wrap: break-word
}

.carousel-card.active .view-cred-btn a {
    color: #FDFDFC; 
    font-size: 2rem; 
    font-weight: 300; 
    line-height: 3rem; 
    word-wrap: break-word
}


.carousel-card img {
    width: 111.33px;
    height: 111.33px;
    margin: 6.13px 10.4rem;
    position: absolute;
}

.carousel-card.active img {
    width: 273px; 
    height: 273px; 
    top: -135.87px; 
    position: absolute
}

.arrows {
    width: 190.09px;
    left: 43%;
    bottom: 0;
    position: absolute;
    justify-content: space-between;
    align-items: center;
    display: inline-flex;
}

/* Left card */
.carousel-card.left {
  transform: translateX(-125%) scale(0.9);
  opacity: 0.6;
  z-index: 2;
}

/* Right card */
.carousel-card.right {
  transform: translateX(124%) scale(0.9);
  opacity: 0.6;
  z-index: 2;
}

.carousel-card {
  position: absolute;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.arrows {
    cursor: pointer;
}

.disabled {
    opacity: 0.4;
    cursor:default;
}

.section {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #262626;
  min-height: 100vh; */
  overflow: hidden;
}

.info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* align-items: center; */
  max-width: 450px;
  padding: 0 35px;
}

.info {
  flex: 0 0 60%;
  padding: 10rem 4rem 4rem 10rem;
  max-width: none;
}

/* .info p {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 20px;
  line-height: 1.5;
} */


@keyframes gelatine {
  0%,
  100% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(0.9, 1.1);
  }
  50% {
    transform: scale(1.1, 0.9);
  }
  75% {
    transform: scale(0.95, 1.05);
  }
}

/* SWIPER */

.swiper {
  width: 250px;
  padding: 50px 0;
}

.swiper-slide {
  position: relative;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  user-select: none;
}

.swiper-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-position {
  object-position: 50% 0%;
}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
    border-radius: 0;
  }

  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 0;
    border-radius: 50%;
  }
}


.content {
  width: 1200px;
  height: 56rem;;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  backdrop-filter: blur(30px);
  box-shadow: 0 0.5px 0 1px rgba(255, 255, 255, 0.23) inset,
    0 1px 0 0 rgba(255, 255, 255, 0.66) inset, 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 10;
  border-radius: 3rem;
  border: 1px solid rgba(0, 0, 0, 0.20);
  background: linear-gradient(180deg, rgba(73, 110, 82, 0.00) 69.87%, rgba(53, 84, 60, 0.20) 91.3%);
}



.swiper {
  flex: 0 0 35%;
  padding: 5rem !important;
}


/*
@media (max-width: 750px) {
  .content {
     flex-direction: column-reverse;
  }
  
  .btn {
    margin: 10px auto 40px;
  }
}
*/

#award-title {

    width: 46.8rem;

    font-size: 2.5rem;
    font-weight: 900;
    line-height: normal;
}

#award-meta {
  /* font-size: 1rem;
  color: #ccc;
  font-weight: 500;
  margin-bottom: 1rem; */

    font-size: 1.5rem;
    font-weight: 500;
    margin: 1.8rem 0;
}

#award-desc {
  /* font-size: 0.95rem;
  line-height: 1.6;
  color: #ddd;
  text-align: justify; */

font-size: 2rem;
font-weight: 300;
line-height: 150.7%; /* 3.014rem */
letter-spacing: 0.06rem;
}

.award-details-btn{
    text-decoration: none;
    width: fit-content;
    color: #FDFDFC;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 150%; /* 27px */
    padding: 1rem;
    margin-bottom: 0;
    display: inline-flex;
    gap: 0.7rem;
    margin-top: auto;

    align-items: center;
    background: #496E52;

}

.publications{
    display: flex;
    gap: 2rem;
    width: 82%;
    margin: auto;
}

.publications-card{
    width: 61rem;
    height: 30.7rem;
    border-radius: 3rem;
    background: linear-gradient(180deg, #486850 17.82%, #689A74 100%);
    padding: 1.8rem 2rem;

    display: flex;
    flex-direction: column;
}

.publication-title {
    display: flex;
    gap: 2rem;
}

.publication-title h2{
    color: #FFF;
    font-size: 2rem;
    font-weight: 800;
    flex: 0 0 80%;
    line-height: normal;


    display: -webkit-box;
    -webkit-line-clamp: 2;         /* Limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.3em * 2); 
}

.publication-status-btn{
    display: flex;
    width: 8.6rem;
    height: 2.9rem;
    padding: 0rem 0.3rem 0rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.48);

    color: #FFF;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 150%; /* 2.25rem */
}

.approved {
    background: #6ECA85;
}

.rejected {
    background: #BD5454;
}

.publications-card p{
    color: #efefef;
    font-size: 1.2rem;
    font-weight: 400; 
    margin-top: 1rem;
}

.publications-card .summary {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 1rem 0;

    /* Multi-line truncation after 4 lines */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.6;
  max-height: calc(1.8em * 4); /* 4 lines based on line-height */
}

.publication-btns {
    display: flex;
    gap: 5rem;
    margin-top: auto;
}

.publication-btns a {
    display: flex;
    /* width: 17.2rem; */
    height: 2.5rem;
    padding: 0rem 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;

    border-radius: 1.5rem;
    border: 2px solid rgba(73, 110, 82, 0.48);
    background: #FFF;

    color: #496E52;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 150%; /* 2.25rem */
}

/* post cards*/
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 82%;
  margin: auto;
}

.post-card {
    padding: 2.6rem;
    border-radius: 3rem;
    border: 1px solid #CECECE;
    background: #F5F5F5;
    width: 61rem;
    height: 20rem;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-header h2 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.3;
  max-height: calc(1.3em * 2);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.post-badge {
  padding: 0.4rem 1rem;
  border-radius: 1.2rem;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.pending {
  background-color: #f4a261;
}

.post-summary {
  margin-top: 1rem;
  font-size: 1.3rem;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.post-actions {
    margin-top: 2rem;
    display: flex;
    width: 11.1rem;
    height: 2.5rem;
    padding: 0.5rem;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border-radius: 3rem;
    border: 2px solid rgba(179, 179, 179, 0.20);
}

.post-actions a {
    text-decoration: none;
    color: #000;
    text-align: center;
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.card-1 {
    margin-top: 1.5rem;
}

.timeline-points-edu-1 {
    height: 5rem;
}

