/*projects-all*/

.all-projects .col-md-4 {
  margin-bottom: 1.5rem;
  transition: 0.5s;
}
.projects-filters button {
  border-radius: 50px;
  background-color: var(--prime1);
  color: white;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  border: none;
  transition: background-color 0.3s ease;
}
.project-item {
  margin-bottom: 20px;
}

.ststus {
  position: absolute;
  bottom: 17px;
  left: 28px;
  height: 33px;
  width: 60px;
  border-radius: 5px 5px 0 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  background-color: rgb(255 255 255);
  font-weight: bold;
}
@media (max-width: 1600px) {
  .row2.tran span {
    font-size: 1.1rem;
  }
}
.all-projects .col-md-4 a {
  border: 0px solid #0056b3;
  color: inherit;
  padding: 0;
}
.all-projects .col-md-4:hover,
.all-projects .col-md-4:focus {
  transform: scale(1.02);
  border: 0px solid #fffbff;
  color: #030549;
}
.all-projects img {
  border-radius: 5px;
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  border: 2px solid #f7f7f7;
}

.all-projects a:hover img {
  filter: grayscale(0.8);
}

.row2.tran {
  position: relative;
  margin-top: -78px;
  background: #03054900;
  color: #030549;
  text-align: center;
  font-size: 1.4rem;
  transition: all 0.15s ease-out;
  border-top: 4px solid white;
  border-radius: 0 0 15px 15px;
  border-bottom: 1px solid white;
  line-height: 4.5rem;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.ribbon-2 {
  --f: 10px;
  --r: 20px;
  --t: 26px;
  position: absolute;
  inset: var(--t) calc(-1 * var(--f)) auto auto;
  padding: 11px 16px 19px 31px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - var(--f)),
    calc(100% - var(--f)) 100%,
    calc(100% - var(--f)) calc(100% - var(--f)),
    0 calc(100% - var(--f)),
    var(--r) calc(50% - var(--f) / 2)
  );
  background: #030549;
  color: #fff;
  box-shadow: 0 calc(-1 * var(--f)) 0 inset #0005;
  margin-right: 15px;
  font-weight: bold;
  font-size: 1.1rem;
}
.all-projects img {
  width: 100%;
  aspect-ratio: 1 / 0.6;
  -o-object-fit: cover;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}
.row2.tran span {
  background: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: 15px;
}

@media only screen and (max-width: 1200px) and (min-width: 768px) {
  .btgrid.all-projects .col-md-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}
/*project item*/
.slick-slide img {
  display: block;
  width: 100%;
  padding: 0.25rem;
}
.details {
  color: #123177;
  padding: 1rem;
  border-radius: 10px;
  margin: 1rem 0;
}
.sub-title {
  font-size: 1.5rem;
  margin-top: 0.5rem;
}

/* steps*/

.timeline button {
  border: 2px solid black;
  cursor: pointer;
  outline: none;
  font-size: 1.1rem;
  font-weight: bold;
  min-width: 108px;
  background: #ffffff;
  border-radius: 30px;
  color: #000000;
  padding: 0.25rem 1rem;
  transition: 0.5s;
  margin: 0 10px;
}
.timeline button:hover,
.timeline button:focus {
  transform: scale(1.02);
  color: #fafaff;
  background: #000000;
}
.timeline button:hover,
.timeline button:focus {
  text-decoration: underline;
  color: #ffffff;
}

.timeline {
  white-space: nowrap;
  overflow-x: auto;
  margin: 0 0;
  text-align: center;
}

.move-timeline {
  display: flex;
  justify-content: space-between;
}

.timeline ul {
  font-size: 0;
  padding: 150px 0;
  overflow: auto;
  display: flex;
}

.timeline-wrapper {
  cursor: default !important;
}

.timeline-wrapper > div {
  padding-right: 0 !important;
}

.timeline ul li {
  position: relative;
  display: inline-block;
  list-style-type: none;
  width: 200px;
  height: 3px;
  border-top: dotted 3px #dbdbdb;
}

.circle {
  content: "";
  position: absolute;
  top: 50%;
  right: 48.2%;
  bottom: 0;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  border-radius: 50%;
  z-index: 2;
}

.timeline-post-container {
  position: relative;
  right: calc(0% + 9px);
  height: 155px;
  width: 280px;
  padding: 15px;
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
}

.post-details {
  display: flex;
  flex-direction: column;
  text-align: center;
  min-width: 241px;
  flex-basis: 23%;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 11px -6px rgba(0, 0, 0, 0.8);
  text-decoration: none;
  transition: 0.5s;
  padding: 10px;
  padding-top: 0;
}

.post-details .desc {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  direction: rtl;
  color: #4e4e4e;
  font-size: 1.1rem;
}

.timeline ul li:nth-child(odd) .timeline-post-container {
  top: -12px;
  transform: translateY(-92%);
}

.future {
  background: linear-gradient(to right, #2a623e, #2aa03e);
}

.timeline .time {
  font-size: 1.2rem;
  text-align: right;
  color: #fff;
  line-height: 2.5rem;
  padding: 2px 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  direction: rtl;
  font-weight: bold;
}

.timeline .arrows {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  display: none;
}

.timeline .arrows .arrow__prev {
  margin-right: 20px;
}

.timeline .disabled {
  opacity: 0.5;
}

.timeline .arrows img {
  width: 45px;
  height: 45px;
}
.status {
  position: absolute;
  bottom: 16px;
  left: 18px;
  height: 33px;
  width: 60px;
  border-radius: 5px 5px 0 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  background-color: rgb(255 255 255);
  font-weight: bold;
}

.file-browser ul li a {
  display: block;
  padding: 1rem;
  background: #f1f1f1;
  border-right: 3px solid #002483;
  border-radius: 30px;
}
/*gallery*/

/** TIME LINE 2025 **/
.tl {
  margin-block: 5rem;
}
.tabs {
  overflow-x: auto;
  width: 100%;
  position: relative;
  &::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: rgb(211, 211, 211);
    z-index: 0;
    margin: auto;
    inset: 41px 0 0 0;
	top: -40px;
  }
  ul {
    position: relative;
    overflow-y: clip;
    overflow-x: auto;
    display: flex;
    align-items: flex-end;
    list-style-type: none;
  }
  li {
    flex: 1 0 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 26rem;
    padding: 1rem 0;
    margin-inline: 1rem;
    & > * {
      text-align: center;
      position: relative;
    }
    &:nth-child(6n + 1) {
      color: var(--color1);
      /* background-color: lime; */
    }
    &:nth-child(6n + 2) {
      color: var(--color2);
      /* background-color: pink; */
    }
    &:nth-child(6n + 3) {
      color: var(--color3);
      /* background-color: turquoise; */
    }
    &:nth-child(6n + 4) {
      color: var(--color4);
      /* background-color: aliceblue; */
    }
    &:nth-child(6n + 5) {
      color: var(--color5);
      /* background-color: blueviolet; */
    }
    &:nth-child(6n + 6) {
      color: var(--color6);
      /* background-color: blueviolet; */
    }
    &:nth-of-type(even) .top {
      align-items: flex-start;
      .wrap {
        align-items: flex-start;
      }
    }
    &:nth-of-type(odd) .top {
      align-items: flex-end;
      .wrap {
        align-items: flex-end;
      }
    }
  }
  .low span::after,
  .top .wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
  }
  .top .wrap::after {
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-top: 16px solid currentColor;
    bottom: -16px; /* Position below the box */
  }
  .low span::after {
    top: -16px; /* Position below the box */
    border-left: 16px solid transparent;
    border-right: 16px solid transparent;
    border-bottom: 16px solid currentColor;
  }
  .top {
    flex-grow: 1;
    margin-inline: 1rem;
    /* background-color: yellowgreen; */
    display: flex;
    .wrap {
      position: relative;
      justify-content: center;
      padding: 1rem;
      flex: 1;
      z-index: 9;
      display: flex;
      /* align-items: flex-end; */
      background-color: currentColor;
      em {
        font-size: 1.2rem;
        font-style: normal;
        color: #fff;
      }
    }
  }
  .low {
    max-height: 4rem;
    flex-grow: 1;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
     margin-bottom: 2rem;
    /* background-color: #2aa03e; */
    span {
      padding: 1rem;
      background-color: currentColor;
      position: relative;
      width: fit-content;
      text-align: center;
      margin-inline: 1rem;
      em {
        font-size: 1.2rem;
        font-style: normal;
        color: #fff;
      }
    }
  }
  .dot {
    background-color: currentColor;
    width: 25px;
    height: 25px;
    border-radius: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem auto;
    isolation: isolate;
    z-index: 1;

    &::before {
      content: "";
      position: absolute;
      width: 3px;
      height: 490%;
      bottom: 10px;
      margin: auto;
      background-color: currentColor;
    }
  }
}

.comment {
  margin-block: 2rem;
  color: var(--prime1);
  font-size: 1.42rem;
}


.current {
	font-weight: bold;
	color: #2b377b;
}



.project {
  padding: 2rem;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.3);
  border-radius: 25px;
  /*height: 100%;*/
  background-color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 30px;
  /*margin-inline:1rem;*/

  @media (max-width: 1199px) {
    padding: 1rem;
  }
}
.ribb {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  z-index: 1;
  overflow: clip;
}
.ribb span {
  position: relative;
  display: inline-block;
  background: var(--prime1);
  color: white;
  padding: 0.5rem 2em;
  font-size: 1rem;
  transform: rotate(-45deg);
  width: 100%;
  height: 2rem;
  font-size: 1.25rem;
  top: 71px;
  left: -55px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (max-width: 1599px) {
    top: 50px;
    left: -50px;
  }
  @media (max-width: 1199px) {
    top: 46px;
    left: -42px;
  }
  @media (max-width: 991px) {
    top: 70px;
    left: -70px;
  }
}
.ribb span::before,
.ribb span::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 0.45em;
  z-index: -1;
  @media (max-width: 991px) {
    content: none;
  }
}
.ribb span::before {
  top: 100%;
  border-width: 0.4em;
  left: -2px;
  border-color: #667f99 transparent transparent transparent;
}

.ribb span::after {
  top: 100%;
  right: 7px;
  border-color: #667f99 transparent transparent transparent;

  @media (max-width: 1599px) {
    right: 28px;
  }
  @media (max-width: 1199px) {
    right: 11px;
  }
}
.projects .row {
  /* justify-content: space-between; */
}

.project .pic {
  background-size: cover;
  background-position: center;
  width: 100%;
  aspect-ratio: 1;
  flex-grow: 1;
}

.project .info {
  padding: 2rem 0;
  color: var(--prime1);
  line-height: 1.1;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  flex-grow: 9;
}

.project h3 {
  padding-bottom: 1rem;
  line-height: 1;
}

.project h3 a {
  font-weight: 900;
  font-size: 1.6rem;
  color: var(--prime1);
  margin-top: auto;
}

.project h3 + span {
  margin-bottom: 1rem;
}

.project .info h3 + p {
  color: var(--prime5);
  border-radius: 50px;
  border: 0.14rem solid var(--prime5);
  width: fit-content;
  padding: 2px 0.5rem;
  min-width: 115px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
}

.project .more {
  padding: 0.55rem 1rem;
  margin-top: auto;
  border: 2px solid var(--prime5);
  display: flex;
  font-weight: 700;
  color: var(--prime6);
  width: fit-content;
  border-radius: 50px;
  color: var(--prime6);
}

.project .more:hover {
  color: var(--prime5);
}


.not-current {
	position: relative;
  padding-top: 20px;
}

.current {
  position: relative;
  padding-top: 20px;
}
/* חץ עם קו מעל האלמנט */
.current::before {
  content: "";
  position: absolute;
  top: 15px; /* מרחק מהאלמנט */
  left: 50%;
  transform: translateX(-50%);
  width: 2px; /* עובי הקו */
  height: 8px; /* אורך הקו */
  background-color: #2b377b;
  animation: arrowBounce 3s infinite ease-in-out;
}

.current::after {
  content: "";
  position: absolute;
  top: 10px; /* מיקום המשולש מעל הקו */
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 8px solid #2b377b;
  animation: arrowBounce 3s infinite ease-in-out;
}

/* אנימציה עדינה */
@keyframes arrowBounce {
  0%, 90%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  95% {
    transform: translateX(-50%) translateY(-5px);
  }
}
.not-current {
    position: relative;
    padding-top: 20px;
}

.current {
    position: relative;
    padding: 2px 15px;
    margin-top: 1rem;
    
    background-color: white; /* רקע פנימי לבן */
    color: #E94E1B; /* צבע טקסט אדום-כתום לוהט */
    border: 2px solid #E94E1B; /* מסגרת אדום-כתום */
    
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(233, 78, 27, 0.7);
    transition: all 0.3s ease-in-out;
    animation: pulse 1.5s infinite ease-in-out;
}

.current:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 78, 27, 0.9);
}

.current::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 15px;
    background-color: #E94E1B; /* צבע קו אדום-כתום */
    z-index: 10;
}

.current::after {
    content: "";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 10px solid #E94E1B; /* צבע משולש אדום-כתום */
    z-index: 10;
    animation: arrowBounce 3s infinite ease-in-out;
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 78, 27, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(233, 78, 27, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 78, 27, 0);
    }
}
.tnuma-modal .tl{
     margin-block: 0;
    margin-top: 2rem;
}
.inner-timeline.tabs {
    &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: rgb(211, 211, 211);
        z-index: 0;
        margin: auto;
        inset: 41px 0 0 0;
        top: 60px;
    }
}
 .close-modal-btn {
    position: absolute; 
    top: 10px;
   left: 10px;
    z-index: 800;
    background: transparent;
    color: #2a367d; 
    border: none;    
    cursor: pointer;    
    font-size: 2.5rem;
    line-height: 1;
    padding: 0 10px;
    transition: opacity 0.2s ease;
}


dialog.tnuma-modal {
    max-width: 60vw;
    width: 50%;
    max-height: 60vh;
    padding: 2rem;
    margin: auto; 
    overflow-y: auto; 
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 700;
    overflow-x: hidden;
    height: auto;
}

.tl .tabs ul li.tab {
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center;
}

.tl .tabs ul li.tab .top .wrap,
.tl .tabs ul li.tab .low span,
.tl .tabs ul li.tab .dot {
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tl .tabs ul li.clickable:hover .top .wrap,
.tl .tabs ul li.clickable:hover .low span,
.tl .tabs ul li.clickable:hover .dot {
    filter: brightness(1.15);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.tl .tabs ul li.clickable:hover .top .wrap,
.tl .tabs ul li.clickable:hover .low span {
    transform: scale(1.1);
}
@media only screen and (max-width: 991px) {
  dialog.tnuma-modal {
      max-width: 90%;
      width: 100%;
        max-height: 80vh;
  }
}


.image-container-480 {
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    height: 480px;
}
.image-container-480 img{
  width: 100%;
  height: 100%; 
  object-fit: cover;
}