/* ---------------------------------------
    About Us page novi set stilova
   ------------------------------------ */

/* ---------------------------------------
    Responsive Logo Styles
   ------------------------------------ */

/*--------------------
    HOW WE WORK CONTAINER
    -----------------------*/

.about_container {
  position: relative;
}

/* zajednički stil za obje linije */
.about_container::before,
.about_container::after {
  content: "";
  position: absolute;
  width: 80vw; /* 80% širine ekrana */
  height: 1px;
  pointer-events: none;
}

/* TOP – uz lijevi rub ekrana */
.about_container::before {
  content: "";
  position: fixed;
  left: 0;
  top: 0;
  width: 80vw;
  height: 1px;
  pointer-events: none;
  z-index: 5;

  /* sloj 1: linija, sloj 2: tvoja PNG zvjezdica */
  background-image:
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.3) 60%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAkCAQAAAC0q3XxAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfpDAoKMin1h6REAAAEiklEQVRYw7WYW3viNhCGX8myOSXZTXvVZ6/6///bNm0CBluWe6FPB2dJIJRKjwUo4Lz+ZjQzkpm5WzPAHW+nm97hjuaD+bvA3g5oFq8mIy11nP8r6i2ACclkoF81PId4E+bXAe07yBoxjuEdUhpvgnRf1K1GS3gGm2FnISaYWT39MnwV8RoFzbvR0GREW11GCCGDBOGFrF+BvrOCSSuE0wAWS4PFas5Kw0AQUiAw5U9ppnjsFZiXAYsxqVAaHA5DQyPIRn8NTEwZLBDwBOb8eSYwVe5wAfJzEyfNoo8l7WJ3tDgaXU6zEPBMTEz4fAW9C8KfmUCucAHRfQJX/CwqZDJYq9eORlcrSCvEUd1zwjPg8YwZO2CZMATsJR3dh3hGqkXjRX0iRkuXe8uKjpWwXeWFIydODBwZ9G6osKfsCPPnOrqzcEW7YlAno3asWLFirXHNmpWgC+AkFXt6eo4ajxzxDEL0jFjpOX+0tn/1QZO7xeJoaOmkW9Juw4Y1GzZs2bEVblIwSMFBSAcO7NnTc9DMSUaPzuDlm0nLTxW0GbGpPC4qVBRLaDueeeaJB9Y4OUNcsZ6BnlfeONDTs+eNN/bsOUrRkxS0OEZ5ZJAPnwUsgTit1qRex4qONRvWrNmxlW6P/MYP/uA7axoMM1a+FAgM7PmLn/zNnrfsuy17+XfDgGXUf/UKUAEwtbld5XXlnV3o19LJ4zbs2LHjkQceeOYHf/I7bS4c6hZ4ZJ2zDXnxpLxiKmk8VDMBsi9nBcvX7bvlkSJdNHI074YNDzzxnW90i1RYWoNhxy4bc6TLj5sCToOTYUOlvpGGYJldlfJLWC54llIklHxS8u600KJuJQfbhX3mK3LxXL7lFkXmrGKq3D5UGXVSHxV2j7zyE8OmeoxSw0wceeEfDuw50CsWjop/QXdKMyUxhhwV5+SD0SNMljb6wCStvAw+YBUNHS0NDQZLoOeJDa1+a/QoniOvvPDCG3sOCjUJ9qjwPXBizA9fcnV60GoVz5CRjHIlcv1SiRTzzIp0e17YsmOlX4LH4zlx5MBeeH3uKQ6ehOgVD2OGTiXa2TATTR3Loei8UBdMURfPyMCJni07DrzyQseajpYGFANjmuuFWdBSyhuknWeSieuqcdHOVTMlk7Q5E7eKYinBxUAd01xMck5h2usxThw5MVaqpZzsleiG7NVzVYNfAUi1shshOoXtGLjXOR93bDPeEnCslIrLY1Ch4FUsRAWL05xtH9WDdQUdg42ryoak5wrHShVNk713qiDHqoLxGa7Uhxe3Up8VrCmrICVtHlN102hFOxViVoDLcnXIgTkswsl8Ge+6ijpl55SjTTa7UZ6xMnCziJp15EyBJO1L4MrN0+VdXZ1nbAVbdicGg9PcvFAoLHDDYp1euUu+buNe74Utyy1nGUtJkFZlqIAT2iIMX27XbTvrg4w51z5WY52dl5v1ZYgvd/rC5v1rRx/JI8vnchCSFCyQNe7NpzO3Hh7Fa66Mv1R8eXh089HRPY7fasD6ZsujuNv/zf94gHmXI8x7ANagdz8C/hcpqe5mDZcR9wAAAABJRU5ErkJggg==");

  background-repeat: no-repeat;
  background-size:
    100% 1px,
    80px 36px;
  background-position:
    0% 50%,
    0% 50%;

  opacity: 0;
  animation:
    aboutBorderTopIn 0.9s ease-out forwards,
    aboutDotTop 5s linear infinite 0.9s;
}

/* BOTTOM – uz desni rub ekrana */
.about_container::after {
  content: "";
  position: fixed;
  right: 0;
  bottom: 0;
  width: 80vw;
  height: 1px;
  pointer-events: none;
  z-index: 5;

  background-image:
    linear-gradient(
      to left,
      rgba(255, 255, 255, 0.8) 0%,
      rgba(255, 255, 255, 0.3) 60%,
      rgba(255, 255, 255, 0) 100%
    ),
    url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAkCAQAAAC0q3XxAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfpDAoKMin1h6REAAAEiklEQVRYw7WYW3viNhCGX8myOSXZTXvVZ6/6///bNm0CBluWe6FPB2dJIJRKjwUo4Lz+ZjQzkpm5WzPAHW+nm97hjuaD+bvA3g5oFq8mIy11nP8r6i2ACclkoF81PId4E+bXAe07yBoxjuEdUhpvgnRf1K1GS3gGm2FnISaYWT39MnwV8RoFzbvR0GREW11GCCGDBOGFrF+BvrOCSSuE0wAWS4PFas5Kw0AQUiAw5U9ppnjsFZiXAYsxqVAaHA5DQyPIRn8NTEwZLBDwBOb8eSYwVe5wAfJzEyfNoo8l7WJ3tDgaXU6zEPBMTEz4fAW9C8KfmUCucAHRfQJX/CwqZDJYq9eORlcrSCvEUd1zwjPg8YwZO2CZMATsJR3dh3hGqkXjRX0iRkuXe8uKjpWwXeWFIydODBwZ9G6osKfsCPPnOrqzcEW7YlAno3asWLFirXHNmpWgC+AkFXt6eo4ajxzxDEL0jFjpOX+0tn/1QZO7xeJoaOmkW9Juw4Y1GzZs2bEVblIwSMFBSAcO7NnTc9DMSUaPzuDlm0nLTxW0GbGpPC4qVBRLaDueeeaJB9Y4OUNcsZ6BnlfeONDTs+eNN/bsOUrRkxS0OEZ5ZJAPnwUsgTit1qRex4qONRvWrNmxlW6P/MYP/uA7axoMM1a+FAgM7PmLn/zNnrfsuy17+XfDgGXUf/UKUAEwtbld5XXlnV3o19LJ4zbs2LHjkQceeOYHf/I7bS4c6hZ4ZJ2zDXnxpLxiKmk8VDMBsi9nBcvX7bvlkSJdNHI074YNDzzxnW90i1RYWoNhxy4bc6TLj5sCToOTYUOlvpGGYJldlfJLWC54llIklHxS8u600KJuJQfbhX3mK3LxXL7lFkXmrGKq3D5UGXVSHxV2j7zyE8OmeoxSw0wceeEfDuw50CsWjop/QXdKMyUxhhwV5+SD0SNMljb6wCStvAw+YBUNHS0NDQZLoOeJDa1+a/QoniOvvPDCG3sOCjUJ9qjwPXBizA9fcnV60GoVz5CRjHIlcv1SiRTzzIp0e17YsmOlX4LH4zlx5MBeeH3uKQ6ehOgVD2OGTiXa2TATTR3Loei8UBdMURfPyMCJni07DrzyQseajpYGFANjmuuFWdBSyhuknWeSieuqcdHOVTMlk7Q5E7eKYinBxUAd01xMck5h2usxThw5MVaqpZzsleiG7NVzVYNfAUi1shshOoXtGLjXOR93bDPeEnCslIrLY1Ch4FUsRAWL05xtH9WDdQUdg42ryoak5wrHShVNk713qiDHqoLxGa7Uhxe3Up8VrCmrICVtHlN102hFOxViVoDLcnXIgTkswsl8Ge+6ijpl55SjTTa7UZ6xMnCziJp15EyBJO1L4MrN0+VdXZ1nbAVbdicGg9PcvFAoLHDDYp1euUu+buNe74Utyy1nGUtJkFZlqIAT2iIMX27XbTvrg4w51z5WY52dl5v1ZYgvd/rC5v1rRx/JI8vnchCSFCyQNe7NpzO3Hh7Fa66Mv1R8eXh089HRPY7fasD6ZsujuNv/zf94gHmXI8x7ANagdz8C/hcpqe5mDZcR9wAAAABJRU5ErkJggg==");

  background-repeat: no-repeat;
  background-size:
    100% 1px,
    80px 36px;
  background-position:
    100% 50%,
    100% 50%;

  opacity: 0;
  animation:
    aboutBorderBottomIn 0.9s ease-out forwards,
    aboutDotBottom 5s linear infinite 0.9s;
}

/* top ulazi s lijeve strane */
@keyframes aboutBorderTopIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* bottom ulazi s desne strane */
@keyframes aboutBorderBottomIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* animacija točke – putuje s lijeva na desno po gornjoj liniji */
@keyframes aboutDotTop {
  0% {
    background-position:
      0% 50%,
      /* linija ostaje */ 0% 50%; /* točka početak lijevo */
  }
  70% {
    background-position:
      0% 50%,
      100% 50%; /* točka do kraja linije */
  }
  100% {
    background-position:
      0% 50%,
      100% 50%;
    /* lagano “nestajanje” točke – samo smanji blur radijalnog gradijenta */
    background-size:
      100% 1px,
      0 0; /* praktički nestane */
  }
}

/* animacija točke – putuje s desna na lijevo po donjoj liniji */
@keyframes aboutDotBottom {
  0% {
    background-position:
      100% 50%,
      /* linija ostaje */ 100% 50%; /* točka početak desno */
  }
  70% {
    background-position:
      100% 50%,
      0% 50%; /* točka do kraja linije */
  }
  100% {
    background-position:
      100% 50%,
      0% 50%;
    background-size:
      100% 1px,
      0 0;
  }
}

@keyframes aboutDotTop {
  0% {
    background-position:
      0% 50%,
      0% 50%;
  }
  100% {
    background-position:
      0% 50%,
      100% 50%;
  }
}

@keyframes aboutDotBottom {
  0% {
    background-position:
      100% 50%,
      100% 50%;
  }
  100% {
    background-position:
      100% 50%,
      0% 50%;
  }
}

/*---------------------
DELIVERY ORBIT CONTAINER
------------------------*/
/* MAIN WRAPPER */
.s2-delivery {
  position: relative;
  padding: 120px 0;
  text-align: center;
}

/* GRID OF STEPS */
.s2-delivery__steps {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-top: 60px;
  flex-wrap: wrap;
}

/* SINGLE STEP */
.s2-step {
  position: relative;
  max-width: 260px;
  text-align: left;
}

.s2-step__number {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.15rem;
  color: #f39222;
  margin-bottom: 8px;
}

.s2-step__title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.s2-step__text {
  opacity: 0.85;
  font-size: 1rem;
  line-height: 1.5;
}

/* ORBIT LINE UNDER STEPS (DESKTOP) */
@media (min-width: 1025px) {
  .s2-delivery__steps::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    top: 58%;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.1)
    );
    border-radius: 2px;
  }
}

/* DOT ON ORBIT LINE */
.s2-step::after {
  content: "";
  position: absolute;
  top: 55%;
  left: 0;
  right: 0;
  margin: auto;
  width: 10px;
  height: 10px;
  background: #f39222;
  border-radius: 50%;
  box-shadow: 0 0 10px #f39222;
}

/* MOBILE TIMELINE VERSION */
@media (max-width: 1024px) {
  .s2-delivery {
    text-align: left;
  }

  .s2-delivery__steps {
    flex-direction: column;
    gap: 40px;
  }

  .s2-step::after {
    left: -20px;
    top: 15px;
  }

  .s2-delivery__steps::before {
    display: none;
  }
}

/*---DELIVERY ORBIT STEPPER ELEMENT---*/

/* WRAPPER */
.s2-delivery-orbit {
  position: relative;
  padding: 40px 0;
  overflow: hidden;

  /* EDITABLE VARS */
  --orbit-line-center: 20px; /* visina centra kruga/linije */
  --orbit-dot-size: 24px; /* promjer običnog kruga */
  --orbit-dot-size-active: 40px; /* promjer aktivnog kruga */
  --orbit-icon-size: 16px; /* promjer ikone u običnom stanju */
  --orbit-icon-size-active: 24px; /* promjer ikone kad je aktivna */
}

/* blagi cosmic glow u pozadini sekcije – trenutno isključen */
.s2-delivery-orbit::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: radial-gradient(circle at 10% 0%, rgba(255,255,255,0.08) 0, transparent 55%),
                radial-gradient(circle at 90% 100%, rgba(243,146,34,0.18) 0, transparent 60%); */
  opacity: 0.7;
  pointer-events: none;
}

/* unutar ove sekcije .page__content nema bijele podloge */
.s2-delivery-orbit .page__content {
  position: relative;
  z-index: 1;
  background: transparent !important;
  padding-top: 0;
  padding-bottom: 0;
}

/* naslov i podnaslov (ako koristiš section-title / section-subtitle klase) */
.s2-delivery-orbit .section-title,
.s2-delivery-orbit .section-subtitle {
  color: #ffffff;
}

.s2-delivery-orbit .section-title {
  text-align: center;
  margin-bottom: 8px;
}

.s2-delivery-orbit .section-subtitle {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* TIMELINE CORE */
.delivery-orbit {
  position: relative;
  margin-top: 40px;
}

/* glavna linija – prolazi kroz centar kruga */
.delivery-orbit__line {
  position: absolute;
  top: calc(var(--orbit-line-center) - 1px); /* linija je visoka 2px */
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

/* animirani progress */
.delivery-orbit__line-progress {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #f39222, #ffd27a);
  box-shadow: 0 0 12px rgba(243, 146, 34, 0.8);
  border-radius: 999px;
  transition: width 1.2s ease-in-out;
}

/* STEPOVI */
.delivery-orbit__steps {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

/* pojedini step */
.delivery-orbit__step {
  position: relative;
  background: transparent;
  border: none;
  padding: 40px 16px 8px;
  cursor: pointer;
  color: #f9fafb;
  text-align: center;
  flex: 1 1 140px;
  max-width: 220px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
  opacity: 0.75;
}

/* mali kružić iznad – normalno stanje */
.delivery-orbit__step::before {
  content: "";
  position: absolute;
  top: calc(var(--orbit-line-center) - var(--orbit-dot-size) / 2);
  left: 50%;
  transform: translateX(-50%);
  width: var(--orbit-dot-size);
  height: var(--orbit-dot-size);
  border-radius: 50%;
  background: #111827;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    top 0.25s ease,
    width 0.25s ease,
    height 0.25s ease;
}

/* unutarnji glow – neaktivan */
.delivery-orbit__step::after {
  content: "";
  position: absolute;
  top: calc(var(--orbit-line-center) - 3px);
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(243, 146, 34, 0);
  box-shadow: 0 0 0 rgba(243, 146, 34, 0);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* ikona u kružiću (opcionalno) – normalno stanje */
.delivery-orbit__step-icon {
  position: absolute;
  top: calc(var(--orbit-line-center) - var(--orbit-icon-size) / 2);
  left: 50%;
  transform: translateX(-50%);
  width: var(--orbit-icon-size);
  height: var(--orbit-icon-size);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px; /* za emoji ikone */
  color: #ffffff;
  pointer-events: none;
}

/* SVG / IMG unutar ikone */
.delivery-orbit__step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ikona veća u active / hover */
.delivery-orbit__step.is-active .delivery-orbit__step-icon,
.delivery-orbit__step:hover .delivery-orbit__step-icon {
  top: calc(var(--orbit-line-center) - var(--orbit-icon-size-active) / 2);
  width: var(--orbit-icon-size-active);
  height: var(--orbit-icon-size-active);
  font-size: 14px;
}

/* index + title */
.delivery-orbit__step-index {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
  padding-top: 16px;
}

.delivery-orbit__step-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #ffffff;
  margin-top: 24px;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

/* tagovi ispod naslova */
.delivery-orbit__step-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.delivery-orbit__step .tag {
  font-size: 0.7rem;
  padding: 4px 8px;
  border-radius: 999px;
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.5);
  white-space: nowrap;
}

/* ACTIVE STATE */
.delivery-orbit__step.is-active {
  opacity: 1;
  transform: translateY(-6px);
}

/* Global back-to-top arrow */
.s2-back-to-top {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 72px;
  height: 72px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
  z-index: 1001;
}

.s2-back-to-top__icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 34px;
  color: #ffffff;
  transform: translate(-50%, -42%) rotate(90deg);
  transform-origin: center;
  pointer-events: none;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.s2-back-to-top__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.s2-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.s2-back-to-top:hover,
.s2-back-to-top:focus-visible {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  transform: translateY(0) scale(1);
}

.s2-back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.s2-back-to-top:hover .s2-back-to-top__icon,
.s2-back-to-top:focus-visible .s2-back-to-top__icon {
  animation: s2-back-to-top-nudge 0.8s ease-in-out infinite;
}

.s2-back-to-top:active .s2-back-to-top__icon {
  animation: none;
  transform: translate(-50%, -46%) rotate(90deg) scale(0.94);
}

.s2-back-to-top:focus-visible {
  outline: 1px solid rgba(246, 147, 32, 0.75);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .s2-back-to-top {
    left: 14px;
    bottom: 14px;
    width: 62px;
    height: 62px;
  }

  .s2-back-to-top__icon {
    width: 20px;
    height: 30px;
    transform: translate(-50%, -42%) rotate(90deg);
  }
}

@keyframes s2-back-to-top-nudge {
  0% {
    transform: translate(-50%, -42%) rotate(90deg);
    opacity: 1;
  }
  40% {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 1;
  }
  41% {
    transform: translate(-50%, -36%) rotate(90deg);
    opacity: 0.45;
  }
  100% {
    transform: translate(-50%, -42%) rotate(90deg);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .s2-back-to-top:hover .s2-back-to-top__icon,
  .s2-back-to-top:focus-visible .s2-back-to-top__icon {
    animation: none;
    transform: translate(-50%, -46%) rotate(90deg);
  }
}

/* boja + lagani lift kad je aktivan */
.delivery-orbit__step.is-active .delivery-orbit__step-title {
  color: #f39222;
  transform: translateY(-2px);
}

/* ista priča i na hoveru */
.delivery-orbit__step:hover .delivery-orbit__step-title {
  color: #f39222;
  transform: translateY(-2px);
}

/* ACTIVE + HOVER – veći krug, centar ostaje na liniji */
.delivery-orbit__step.is-active::before,
.delivery-orbit__step:hover::before {
  top: calc(var(--orbit-line-center) - var(--orbit-dot-size-active) / 2);
  width: var(--orbit-dot-size-active);
  height: var(--orbit-dot-size-active);
  background: #f39222;
  box-shadow: 0 0 14px rgba(243, 146, 34, 0.9);
}

/* ACTIVE + HOVER – gasimo bijelu točku */
.delivery-orbit__step.is-active::after,
.delivery-orbit__step:hover::after {
  width: 0;
  height: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
}

/* HOVER (manual interaction) */
.delivery-orbit__step:hover {
  opacity: 1;
}

/* DETALJI ISPOD */
.delivery-orbit__details {
  margin-top: 80px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.delivery-orbit__detail {
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.delivery-orbit__detail.is-active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.delivery-orbit__detail h3 {
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #ffffff;
}

.delivery-orbit__detail p {
  color: #e5e7eb;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  /* malo dižemo centar za mobile da sve lijepo sjedne */
  .s2-delivery-orbit {
    --orbit-line-center: 24px; /* po potrebi promijeni na 30–36 */
  }

  .delivery-orbit__steps {
    flex-direction: column;
    align-items: stretch;
  }

  .delivery-orbit__step {
    max-width: 100%;
    text-align: left;
    padding-left: 56px;
  }

  /* krugovi i ikone horizontalno na liniji */
  .delivery-orbit__step::before,
  .delivery-orbit__step::after {
    left: 18px;
    transform: none;
  }

  .delivery-orbit__step-icon {
    left: 24px;
    transform: none;
  }

  /* vertikalna linija koristi isti centar kao krugovi */
  .delivery-orbit__line {
    left: 24px;
    right: auto;
    width: 2px;
    height: calc(100% - 40px);
    top: calc(var(--orbit-line-center) - 1px);
    background: rgba(255, 255, 255, 0.15);
  }

  .delivery-orbit__line-progress {
    width: 100%;
    height: 0;
    transition: height 1.2s ease-in-out;
  }
}
/* ---------------------
    LEADERSHIP CONTAINER
   --------------------- */

/* ABOUT: LEADERSHIP SECTION */
.about-leadership {
  position: relative;
  padding: 80px 0 96px;
}

.about-leadership .page__content {
  position: relative;
  z-index: 1;
  background: transparent !important;
  padding-top: 0;
  padding-bottom: 0;
}

.about-leadership__header {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-leadership .section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.about-leadership .section-title {
  margin-bottom: 8px;
  color: #ffffff;
}

.about-leadership .section-subtitle {
  opacity: 0.9;
  color: rgba(226, 232, 240, 0.95);
}

/* GRID – 3 šire kartice u redu */
.about-leadership .leadership-grid,
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 32px;
  justify-content: center;
}

/*@media (max-width: 1200px) {
    .about-leadership .leadership-grid,
    .leadership-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }
}*/

/*@media (max-width: 768px) {
    .about-leadership .leadership-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}*/

/* MOBILE: horizontalni "carousel" umjesto grida */
/* ============================
    MOBILE: horizontalni "carousel"
   ============================ */
@media (max-width: 767px) {
  /* container postaje horizontalni scroll */
  .about-leadership .team-container--compact {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: visible;
    gap: 16px;
    padding: 0 16px 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  /* kartica zauzima cca 80% širine ekrana */
  .about-leadership .team-member--lead {
    flex: 0 0 80% !important;
    max-width: 80% !important;
    scroll-snap-align: center;
    min-width: 0;
  }

  /* malo lufta za prvu i zadnju karticu */
  .about-leadership .team-container--compact > :first-child {
    margin-left: 4px;
  }

  .about-leadership .team-container--compact > :last-child {
    margin-right: 4px;
  }

  /* sakrij horizontalni scrollbar (po želji) */
  .about-leadership .team-container--compact::-webkit-scrollbar {
    display: none;
  }
}

/* =========================================
    LEAD CARD – GLASSMORPHISM + RECTANGULAR IMAGE TOP
   ========================================= */
.lead-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background:
    radial-gradient(circle at 0 0, rgba(243, 146, 34, 0.18), transparent 55%),
    radial-gradient(
      circle at 100% 100%,
      rgba(96, 165, 250, 0.18),
      transparent 55%
    ),
    rgba(4, 7, 22, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transform: translateY(0) scale(1);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: pointer;
}

.lead-card__overlay-link {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  display: block;
  z-index: 5;
  background: transparent;
  text-indent: -9999px; /* sigurnosno, ako bi kojim slučajem bilo teksta */
}

/* fokus za tipkovnicu (accessibility) */
.lead-card__overlay-link:focus-visible {
  outline: 2px solid #f39222;
  border-radius: inherit;
  outline-offset: 3px;
}

/* TOP IMAGE – pravokutnik u gornjoj polovici kartice */
.lead-card__image {
  position: relative;
  width: 100%;
  height: 260px; /* visina slike */
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  flex-shrink: 0;
}

.lead-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  border-radius: 0;
  margin: 0;
  box-shadow: none;
  position: absolute;
  inset: 0;

  transition:
    filter 0.45s ease,
    transform 0.45s ease,
    opacity 0.45s ease;
}

/* DEFAULT slika – grayscale */
.lead-card__img--default {
  filter: grayscale(100%);
  transform: scale(1.05);
  opacity: 0.95;
  z-index: 1;
}

/* HOVER slika – color, početno skrivena */
.lead-card__img--hover {
  filter: none;
  transform: scale(1.02);
  opacity: 0;
  z-index: 2;
}

/* tamni gradient samo preko slike */
.lead-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.25),
    rgba(15, 23, 42, 0.9)
  );
  pointer-events: none;
  z-index: 3;
}

/* INNER CONTENT ISPOD SLIKE */
.lead-card__inner {
  position: relative;
  padding: 40px 24px 24px; /* gore prostor za avatar + tekst */
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
}

/* AVATAR – mali krug koji “sjedi” na spoju slike i sadržaja */
.lead-card__avatar {
  position: absolute;
  top: -30px; /* pola kruga ulazi u zonu slike */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #f39222, #b45309);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(243, 146, 34, 0.9);
  animation: leadership-avatar-pulse 3s ease-in-out infinite;
  z-index: 5;
}

.lead-card__initials {
  display: inline-block;
}

/* TEKST ISPOD */
.lead-card__content {
  margin-top: 24px; /* da se odmakne od avatara */
  text-align: left;
  color: #e5e7eb;
}

.lead-card__name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.lead-card__role {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(248, 250, 252, 0.85);
  margin-bottom: 10px;
}

.lead-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.lead-card__tag {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.7);
  color: #e5e7eb;
}

/* HOVER – zoom kartice + color image */
.lead-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 26px 70px rgba(15, 23, 42, 0.9);
  border-color: rgba(248, 250, 252, 0.8);
}

/* na hover template nestaje… */
.lead-card:hover .lead-card__img--default {
  opacity: 0;
  transform: scale(1.12);
}

/* …a portret ulazi u coloru */
.lead-card:hover .lead-card__img--hover {
  opacity: 1;
  transform: scale(1.08);
}

/* CTA ispod grid-a */
.about-leadership__cta {
  margin-top: 32px;
  text-align: center;
}

.about-leadership__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(248, 250, 252, 0.75);
  color: #ffffff;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-decoration: none;
  background: rgba(15, 23, 42, 0.85);
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.about-leadership__cta-link:hover {
  background: linear-gradient(90deg, #f39222, #ffd27a);
  color: #0b1120;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.9);
  transform: translateY(-2px);
}

/* PULSE ANIMACIJA AVATARA */
@keyframes leadership-avatar-pulse {
  0% {
    box-shadow: 0 0 0 rgba(243, 146, 34, 0);
    transform: translateX(-50%) scale(1);
  }
  50% {
    box-shadow: 0 0 28px rgba(243, 146, 34, 0.9);
    transform: translateX(-50%) scale(1.06);
  }
  100% {
    box-shadow: 0 0 0 rgba(243, 146, 34, 0);
    transform: translateX(-50%) scale(1);
  }
}

/* ---------------------------------------
    INDUSTRIES & TECHNOLOGIES CONTAINER
   ------------------------------------ */
/* ABOUT: INDUSTRIES & TECHNOLOGIES BRIDGE */

.about-industries .page__content {
  position: relative;
  z-index: 1;
  background: transparent !important;
  padding-top: 0;
  padding-bottom: 0;
}

.about-industries__header {
  max-width: 100%;
  margin: 0 auto 40px;
  text-align: left;
}

.about-industries {
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.75);
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: -24px;
  color: rgba(255, 255, 255, 0.75);
}

.about-industries .section-title {
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #ffffff;
}

.about-industries .section-subtitle {
  opacity: 0.9;
  color: rgba(226, 232, 240, 0.95);
}

/* GRID: 2 boxa side by side */
.about-industries__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* Reuse s2-community__block, samo malo tweak unutar sekcije */
.about-industries__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
}

.about-industries__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.about-industries__card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.95);
  margin-bottom: 16px;
}

/* badge lista unutra boxa */
.about-industries__badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
}

.about-industries__badge-list .s2-badge {
  font-size: 0.78rem;
}

/* CTA link na dnu boxa */

/* RESPONSIVE */
@media (max-width: 1024px) {
  .about-industries__grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
  }
}

/* ---------------------------------------
    MEMBERSHIP,COLABORATION, SPONSORSHIP CONTAINER
   ------------------------------------ */
/* ===========================
    S2 Community / Impact section
   =========================== */

.s2-community {
  position: relative;
  padding: 80px 16px;
  background:
    radial-gradient(circle at top, rgba(92, 181, 255, 0.14), transparent 55%),
    radial-gradient(circle at bottom, rgba(147, 51, 234, 0.16), transparent 60%);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .s2-community {
    padding: 104px 32px;
  }
}

.s2-community__inner {
  max-width: 1160px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Small label / chip */

.s2-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 32px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.7);
  color: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* Headline */

.s2-community__header {
  text-align: left;
  max-width: 950px;
}

.s2-community__title {
  margin: 0px 0 16px;
  font-size: clamp(32px, 5vw, 40px);
  line-height: 1.2;
  color: #f9fafb;
  text-transform: uppercase;
}

.s2-community__subtitle {
  margin: 0;
  font-size: 24px;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.9);
}

/* GRID LAYOUT */

.s2-community__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .s2-community__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

/* BLOCK / CARD */

.s2-community__block {
  position: relative;
  padding: 24px 20px;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    rgba(15, 23, 42, 0.9),
    rgba(15, 23, 42, 0.78)
  );
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow:
    0 18px 45px rgba(15, 23, 42, 0.9),
    0 0 0 1px rgba(15, 23, 42, 0.4);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.s2-community__block::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border-top: 2px solid transparent;
  background-image: linear-gradient(135deg, #38bdf8, #a855f7, #f97316);
  mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) padding-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  opacity: 0.7;
  pointer-events: none;
}

.s2-community__block:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 60px rgba(15, 23, 42, 0.95),
    0 0 0 1px rgba(56, 189, 248, 0.35);
  border-color: rgba(56, 189, 248, 0.45);
}

.s2-community__block-title {
  margin: 0 0 8px;
  font-size: 18px;
  color: #e5e7eb;
}

.s2-community__block-text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(209, 213, 219, 0.9);
}

/* Highlighted block (sponsorships) */

.s2-community__block--highlight {
  background:
    radial-gradient(
      circle at top left,
      rgba(56, 189, 248, 0.16),
      transparent 55%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(244, 114, 182, 0.17),
      transparent 55%
    ),
    linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.82));
}

/* LOGO CLOUD */

.s2-logo-cloud {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 600px) {
  .s2-logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.s2-logo-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px 10px;
  border-radius: 16px;
  background: radial-gradient(
    circle at top,
    rgba(15, 23, 42, 0.96),
    rgba(15, 23, 42, 0.88)
  );
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.s2-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.9);
  border-color: rgba(56, 189, 248, 0.7);
}

.s2-logo-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.3),
    rgba(37, 99, 235, 0.2)
  );
  color: #f9fafb;
}

.s2-logo-card__label {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.95);
}

/* Anchor varijanta za logo button – da ne “pokupi” globalni a{} stil */

a.s2-logo-card__logo {
  display: inline-flex; /* za svaki slučaj pregazimo globalni a{display} */
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: radial-gradient(
    circle at top left,
    rgba(56, 189, 248, 0.3),
    rgba(37, 99, 235, 0.2)
  );
  color: #f9fafb;
  text-decoration: none;
  border: 0;
}

/* da globalni link hover ne ubaci underline / drugu boju */

a.s2-logo-card__logo:hover,
a.s2-logo-card__logo:focus {
  text-decoration: none;
  color: #f9fafb;
  background: linear-gradient(170deg, #f69320 25%, #e4b50d 75%);
  background: -webkit-linear-gradient(170deg, #f69320 25%, #e4b50d 75%);
}

/* Text inside logo pill – force visible color even on links */
.s2-logo-card__logo {
  position: relative;
}

.s2-logo-card__logo span {
  position: relative;
  z-index: 1;
  color: #f9fafb !important; /* ista boja kao prije */
  font-weight: 700;
}

/* Fix za logo linkove – prisili boju teksta umjesto transparent text fill */
a.s2-logo-card__logo {
  background-clip: border-box; /* makni text-clip efekt */
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #f9fafb !important; /* tekst stalno bijel */
  color: #f9fafb !important;
}
/* Fix za logo linkove – HUJAK itd. */
a.s2-logo-card__logo {
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #f9fafb !important;
  color: #f9fafb !important;
  text-decoration: none;
}

/* BADGE LIST */

.s2-badge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s2-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  color: rgba(226, 232, 240, 0.95);
  background: rgba(30, 64, 175, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Link varijanta za s2-badge – isti izgled kao button, bez gradient text fill-a */

a.s2-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(30, 64, 175, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-decoration: none;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: rgba(226, 232, 240, 0.95) !important;
  color: rgba(226, 232, 240, 0.95) !important;
}

a.s2-badge:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.9);
  /* border-color: rgba(56, 189, 248, 0.7);*/
  background: linear-gradient(170deg, #f69320 25%, #e4b50d 75%);
  background: -webkit-linear-gradient(170deg, #f69320 25%, #e4b50d 75%);
}

/* PILL GROUPS (SPONZORSTVA) */

.s2-community__pill-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 12px;
}

@media (min-width: 700px) {
  .s2-community__pill-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.s2-community__pill-column {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s2-community__pill-heading {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.9);
}

.s2-community__pill-heading {
  display: flex;
  align-items: flex-end; /* tekst se drži dolje unutar heading boxa */
  height: 48px; /* 2 reda po 24px line-height (iz tvog CSS-a) */
  margin: 0 0 8px;
}

.s2-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  color: rgba(226, 232, 240, 0.95);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.85);
}

a.s2-pill {
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: #f9fafb !important;
  color: #f9fafb !important;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  text-align: center;
}

a.s2-pill:hover {
  background: -webkit-linear-gradient(170deg, #f69320 25%, #e4b50d 75%);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.9);
}
.s2-community__footnote {
  margin: 4px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.9);
}

/* S2 projects new carousel */
.s2-projects-carousel {
  width: 100%;
  padding: 8px 0 24px;

  /* Pagination controls (mijenjaj po želji) */
  --s2-dot-size: 12px;
  --s2-dot-gap: 16px;
  --s2-dot-color: #0a0c1fcc; /* neaktivne */
  --s2-dot-color-active: #f39222; /* aktivna */
  --s2-dot-opacity: 0.5;
  --s2-dot-opacity-active: 1;
}

/* Card */
.s2-project-card {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
}

/* Frame */
.s2-project-card__media {
  position: relative; /* FIX: anchor za absolute img */
  width: 100%;
  height: clamp(220px, 22vw, 300px);
  overflow: hidden;
}

/* Main image = COVER */
.s2-project-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-width: 100%; /* failsafe */
  min-height: 100%; /* failsafe */
  object-fit: cover;
  object-position: center;
  display: block;
  max-width: none !important;

  transform: scale(1);
  transition:
    transform 0.55s ease,
    filter 0.55s ease;
  filter: saturate(0.95);
}

.s2-project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  opacity: 0.65;
  transition: opacity 0.35s ease;
}

.s2-project-card:hover .s2-project-card__media img {
  transform: scale(1.04);
  filter: saturate(1.05);
}
.s2-project-card:hover .s2-project-card__overlay {
  opacity: 0.45;
}

/* Pagination */
.s2-projects-carousel .swiper-pagination {
  position: static;
  margin-top: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--s2-dot-gap);
}

.s2-projects-carousel .swiper-pagination-bullet {
  width: var(--s2-dot-size);
  height: var(--s2-dot-size);
  margin: 0 !important; /* Swiper zna ubaciti margin-inline */
  border-radius: 999px;
  background: var(--s2-dot-color);
  opacity: var(--s2-dot-opacity);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.s2-projects-carousel .swiper-pagination-bullet-active {
  background: var(--s2-dot-color-active);
  opacity: var(--s2-dot-opacity-active);
  transform: scale(1.15);
}
/* --- Hover emphasis (scale + shadow) --- */

/* osnovno stanje */
.s2-project-card {
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

/* hover stanje */
.s2-project-card:hover {
  transform: scale(1.035);
  box-shadow:
    0 16px 24px rgba(0, 0, 0, 0.65),
    0 8px 16px rgba(0, 0, 0, 0.35);
}

/* dodatno: naglasi samo aktivni slide (opcionalno, ali lijepo) */
.s2-projects-carousel .swiper-slide-active .s2-project-card {
  transform: scale(1.015);
}
/* buffer da sjena stane unutar slide boxa */
.s2-projects-carousel .swiper-slide {
  padding: 18px; /* koliko sjena “diše” */
  box-sizing: border-box;
}

/* vrati realan razmak između slajdova (Swiper spaceBetween + padding) */
.s2-projects-carousel .swiper-wrapper {
  margin-left: -18px;
  margin-right: -18px;
}
@media (max-width: 375px) {
  .s2-project-card__media {
    height: 210px;
  }
  .s2-project-card {
    border-radius: 18px;
  }
  .s2-projects-carousel {
    --s2-dot-size: 8px;
    --s2-dot-gap: 12px;
  }
  .s2-projects-carousel .swiper-wrapper {
    margin-left: 0px;
  }
}
