/* MISIT Custom Utility Classes */
/* Based on _variables.scss design system */

/* ============================================
   COLOR UTILITIES
   ============================================ */

/* Primary Colors */
.text-primary {
  color: #015cff !important;
}
.bg-primary {
  background-color: #015cff !important;
}
.border-primary {
  border-color: #015cff !important;
}

/* Secondary Colors */
.text-secondary {
  color: #fff !important;
}
.bg-secondary {
  background-color: #fff !important;
}
.border-secondary {
  border-color: #fff !important;
}

/* Custom Blue Light */
.text-blue-light {
  color: #849ee3 !important;
}
.bg-blue-light {
  background-color: #849ee3 !important;
}
.border-blue-light {
  border-color: #849ee3 !important;
}

/* Dark Background */
.text-dark-bg {
  color: #00031c !important;
}
.bg-dark-bg {
  background-color: #00031c !important;
}
.border-dark-bg {
  border-color: #00031c !important;
}

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */

/* Font Family */
.font-inter {
  font-family: 'Inter', sans-serif !important;
}

/* Font Weights */
.font-light {
  font-weight: 300 !important;
}
.font-normal {
  font-weight: 400 !important;
}
.font-medium {
  font-weight: 500 !important;
}
.font-semibold {
  font-weight: 600 !important;
}
.font-bold {
  font-weight: 700 !important;
}

/* Font Sizes */
.text-xs {
  font-size: 0.8125rem !important;
}
.text-sm {
  font-size: 0.8125rem !important;
}
.text-base {
  font-size: 1rem !important;
}
.text-lg {
  font-size: 1.25rem !important;
}

/* Heading Sizes */
.text-h1 {
  font-size: 4.25rem !important;
}
.text-h2 {
  font-size: 2rem !important;
}
.text-h3 {
  font-size: 1.625rem !important;
}
.text-h4 {
  font-size: 1.25rem !important;
}
.text-h5 {
  font-size: 1rem !important;
}
.text-h6 {
  font-size: 0.875rem !important;
}
/* Line Heights */
.leading-base {
  line-height: 1.625 !important;
}
.leading-tight {
  line-height: 1.2 !important;
}

/* Text Colors */
.text-white {
  color: #fff !important;
}
.text-muted {
  color: #6c757d !important;
}

/* ============================================
   SPACING UTILITIES
   ============================================ */

/* Custom Spacing */
.spacer {
  margin: 1rem !important;
}
.spacer-y {
  margin-top: 1rem !important;
  margin-bottom: 1rem !important;
}
.spacer-x {
  margin-left: 1rem !important;
  margin-right: 1rem !important;
}

/* Padding */
.p-0 {
  padding: 0 !important;
}
.p-1 {
  padding: 0.25rem !important;
}
.p-2 {
  padding: 0.5rem !important;
}
.p-3 {
  padding: 0.75rem !important;
}
.p-4 {
  padding: 1rem !important;
}
.p-5 {
  padding: 1.25rem !important;
}

/* Margin */
.m-0 {
  margin: 0 !important;
}
.m-1 {
  margin: 0.25rem !important;
}
.m-2 {
  margin: 0.5rem !important;
}
.m-3 {
  margin: 0.75rem !important;
}
.m-4 {
  margin: 1rem !important;
}
.m-5 {
  margin: 1.25rem !important;
}

/* ============================================
   BUTTON UTILITIES
   ============================================ */

/* Button Base */
.btn-custom {
  padding: 1.075rem 2rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.625 !important;
  border: 1px solid transparent !important;
  border-radius: 0.1875rem !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  text-align: center !important;
  cursor: pointer !important;
}

/* Button Sizes */
.btn-custom-sm {
  padding: 1rem 1.75rem !important;
  font-size: 0.8125rem !important;
}

.btn-custom-lg {
  padding: 1.125rem 2.25rem !important;
  font-size: 1.125rem !important;
}

/* Button Variants */
.btn-primary {
  background-color: #015cff !important;
  color: #fff !important;
  border-color: #015cff !important;
}

.btn-primary:hover {
  background-color: #0047cc !important;
  border-color: #0047cc !important;
  color: #fff !important;
}

.btn-secondary {
  background-color: #fff !important;
  color: #015cff !important;
  border-color: #fff !important;
}

.btn-secondary:hover {
  background-color: #f8f9fa !important;
  color: #015cff !important;
}

.btn-outline-primary {
  background-color: transparent !important;
  color: #015cff !important;
  border-color: #015cff !important;
}

.btn-outline-primary:hover {
  background-color: #015cff !important;
  color: #fff !important;
}

.btn-outline-secondary {
  background-color: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

.btn-outline-secondary:hover {
  background-color: #fff !important;
  color: #015cff !important;
}

/* Button with Arrow */
.btn-arrow {
  position: relative !important;
  padding-right: 3rem !important;
}

.btn-arrow::after {
  content: '' !important;
  position: absolute !important;
  right: 1rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 47.414px !important;
  height: 9.865px !important;
  background-image: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='47.414' height='9.865' viewBox='0 0 47.414 9.865'><path id='long-arrow-right' d='M41.012,8.451,43.53,5.933H0v-2H43.643L41.125,1.414,42.539,0l4.874,4.876L42.426,9.865Z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
}

.btn-arrow.btn-primary:hover::after {
  background-image: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' width='47.414' height='9.865' fill='white' viewBox='0 0 47.414 9.865'><path id='long-arrow-right' d='M41.012,8.451,43.53,5.933H0v-2H43.643L41.125,1.414,42.539,0l4.874,4.876L42.426,9.865Z'/></svg>") !important;
}

/* Square Button */
.btn-square {
  background-color: #015cff !important;
  color: #fff !important;
  border: 1px solid #015cff !important;
}

.btn-square:hover {
  background-color: transparent !important;
  color: #015cff !important;
}

.btn-square-light {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}

.btn-square-light:hover {
  background-color: #015cff !important;
  color: #fff !important;
}

:root {
  --shiny-cta-bg: #000000;
  --shiny-cta-bg-subtle: #1a1818;
  --shiny-cta-fg: #ffffff;
  --shiny-cta-highlight: blue;
  --shiny-cta-highlight-subtle: #8484ff;
}

@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-angle-offset {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@property --gradient-percent {
  syntax: '<percentage>';
  initial-value: 5%;
  inherits: false;
}

@property --gradient-shine {
  syntax: '<color>';
  initial-value: white;
  inherits: false;
}

.btn-misit {
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  padding: 1.25rem 2.5rem;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: 360px;
  color: var(--shiny-cta-fg);
  background:
    linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--gradient-shine) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;
  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle);

  &::before,
  &::after,
  span::before {
    content: '';
    pointer-events: none;
    position: absolute;
    inset-inline-start: 50%;
    inset-block-start: 50%;
    translate: -50% -50%;
    z-index: -1;
  }

  &:active {
    translate: 0 1px;
  }
}

/* Dots pattern */
.btn-misit::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(
      circle at var(--position) var(--position),
      white calc(var(--position) / 4),
      transparent 0
    )
    padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

/* Inner shimmer */
.btn-misit::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(
    -50deg,
    transparent,
    var(--shiny-cta-highlight),
    transparent
  );
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.btn-misit span {
  z-index: 1;

  &::before {
    --size: calc(100% + 1rem);
    width: var(--size);
    height: var(--size);
    box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
    opacity: 0;
  }
}

/* Animate */
.btn-misit {
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
  transition: var(--transition);
  transition-property:
    --gradient-angle-offset, --gradient-percent, --gradient-shine;

  &,
  &::before,
  &::after {
    animation:
      var(--animation) var(--duration),
      var(--animation) calc(var(--duration) / 0.4) reverse paused;
    animation-composition: add;
  }

  span::before {
    transition: opacity var(--transition);
    animation: calc(var(--duration) * 1.5) breathe linear infinite;
  }
}

.btn-misit:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);

  &,
  &::before,
  &::after {
    animation-play-state: running;
  }

  span::before {
    opacity: 1;
  }
}

@keyframes gradient-angle {
  to {
    --gradient-angle: 360deg;
  }
}

@keyframes shimmer {
  to {
    rotate: 360deg;
  }
}

@keyframes breathe {
  from,
  to {
    scale: 1;
  }
  50% {
    scale: 1.2;
  }
}

/* ============================================
   FORM UTILITIES
   ============================================ */

/* Input Base */
.input-custom {
  padding: 1.5rem 0.75rem !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 1rem !important;
  font-weight: 300 !important;
  line-height: 1.625 !important;
  border: 0 !important;
  border-radius: 0.1875rem !important;
  background-color: #fff !important;
  color: #495057 !important;
  transition:
    border-color 0.15s ease-in-out,
    box-shadow 0.15s ease-in-out !important;
}

.input-custom:focus {
  outline: none !important;
  border-color: #015cff !important;
  box-shadow: 0 0 0 0.2rem rgba(1, 92, 255, 0.25) !important;
}

.input-custom::placeholder {
  color: #6c757d !important;
}

/* Input Sizes */
.input-sm {
  padding: 0.9rem 0.45rem !important;
  font-size: 0.8125rem !important;
}

.input-lg {
  padding: 1.8rem 0.9rem !important;
  font-size: 1.125rem !important;
}

/* Label */
.label-custom {
  margin-bottom: 0 !important;
  font-weight: 500 !important;
  color: #fff !important;
}

/* ============================================
   NAVIGATION UTILITIES
   ============================================ */

/* Navbar */
.navbar-custom {
  background-color: #fff !important;
  padding: 0.5rem 1rem !important;
}

.navbar-dark {
  background-color: #00031c !important;
}

.navbar-accent {
  background-color: #015cff !important;
  color: #fff !important;
}

/* Nav Links */
.nav-link-custom {
  padding: 0.5rem 2rem !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  color: #fff !important;
  transition: color 0.3s ease !important;
}

.nav-link-custom:hover {
  color: #849ee3 !important;
}
.nav-link {
  cursor: pointer !important;
  transition: all 0.5s !important;
}
.nav-link:hover {
  color: #849ee3 !important;
}

.nav-link-primary {
  font-size: 0.8125rem !important;
}

.nav-link-secondary {
  font-size: 0.8125rem !important;
}

/* ============================================
   CAROUSEL UTILITIES
   ============================================ */

/* Carousel Controls */
.carousel-control-custom {
  color: #fff !important;
  width: 15% !important;
  opacity: 0.5 !important;
  transition: opacity 0.15s ease !important;
}

.carousel-control-custom:hover {
  opacity: 0.9 !important;
}

/* Carousel Indicators */
.carousel-indicator-custom {
  width: 30px !important;
  height: 3px !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: none !important;
  margin: 0 3px !important;
  transition: opacity 0.6s ease !important;
}

.carousel-indicator-custom.active {
  background-color: #fff !important;
}

/* ============================================
   CARD UTILITIES
   ============================================ */

/* Card Base */
.card-custom {
  background-color: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.125) !important;
  border-radius: 0.1875rem !important;
  padding: 0.75rem 1.25rem !important;
}

/* ============================================
   BACKGROUND UTILITIES
   ============================================ */

/* Background Colors */
.bg-white {
  background-color: #fff !important;
}
.bg-dark {
  background-color: #00031c !important;
}
.bg-primary {
  background-color: #015cff !important;
}

/* Overlay Utilities */
.overlay-dark {
  position: relative !important;
}

.overlay-dark::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(0, 0, 0, 0.35) !important;
  z-index: 1 !important;
}

.overlay-light {
  position: relative !important;
}

.overlay-light::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  z-index: 1 !important;
}

/* ============================================
   BORDER UTILITIES
   ============================================ */

/* Border Radius */
.rounded {
  border-radius: 0.1875rem !important;
}
.rounded-lg {
  border-radius: 0.3rem !important;
}
.rounded-sm {
  border-radius: 0.2rem !important;
}
.rounded-circle {
  border-radius: 0% !important;
}
.rounded-pill {
  border-radius: 50rem !important;
}

/* Border Width */
.border {
  border: 1px solid #dee2e6 !important;
}
.border-0 {
  border: 0 !important;
}
.border-top {
  border-top: 1px solid #dee2e6 !important;
}
.border-bottom {
  border-bottom: 1px solid #dee2e6 !important;
}
.border-left {
  border-left: 1px solid #dee2e6 !important;
}
.border-right {
  border-right: 1px solid #dee2e6 !important;
}

/* ============================================
   SHADOW UTILITIES
   ============================================ */

/* Box Shadows */
.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}
.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
.shadow-icon {
  box-shadow:
    2px 2px 6px rgba(0, 0, 0, 0.125),
    -2px -2px 6px rgba(255, 255, 255, 0.4) !important;
}

/* ============================================
   DISPLAY UTILITIES
   ============================================ */

.d-none {
  display: none !important;
}
.d-inline {
  display: inline !important;
}
.d-inline-block {
  display: inline-block !important;
}
.d-block {
  display: block !important;
}
.d-flex {
  display: flex !important;
}
.d-inline-flex {
  display: inline-flex !important;
}

/* ============================================
   POSITION UTILITIES
   ============================================ */

.position-static {
  position: static !important;
}
.position-relative {
  position: relative !important;
}
.position-absolute {
  position: absolute !important;
}
.position-fixed {
  position: fixed !important;
}
.position-sticky {
  position: sticky !important;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

/* XS devices (360px and up) */
@media (min-width: 360px) {
  .text-h1 {
    font-size: 2.25rem !important;
  }
  .sm-d-none {
    display: none !important;
  }
  .sm-d-block {
    display: block !important;
  }
  .sm-d-flex {
    display: flex !important;
  }
  .sm-text-left {
    text-align: left !important;
  }
  .sm-text-center {
    text-align: center !important;
  }
  .sm-text-right {
    text-align: right !important;
  }
}
/* Small devices (576px and up) */
@media (min-width: 576px) {
  .text-h1 {
    font-size: 2.25rem !important;
  }
  .sm-d-none {
    display: none !important;
  }
  .sm-d-block {
    display: block !important;
  }
  .sm-d-flex {
    display: flex !important;
  }
  .sm-text-left {
    text-align: left !important;
  }
  .sm-text-center {
    text-align: center !important;
  }
  .sm-text-right {
    text-align: right !important;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
  .text-h1 {
    font-size: 2.25rem !important;
  }
  .md-d-none {
    display: none !important;
  }
  .md-d-block {
    display: block !important;
  }
  .md-d-flex {
    display: flex !important;
  }
  .md-text-left {
    text-align: left !important;
  }
  .md-text-center {
    text-align: center !important;
  }
  .md-text-right {
    text-align: right !important;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .text-h1 {
    font-size: 2.25rem !important;
  }
  .lg-d-none {
    display: none !important;
  }
  .lg-d-block {
    display: block !important;
  }
  .lg-d-flex {
    display: flex !important;
  }
  .lg-text-left {
    text-align: left !important;
  }
  .lg-text-center {
    text-align: center !important;
  }
  .lg-text-right {
    text-align: right !important;
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .text-h1 {
    font-size: 2.25rem !important;
  }
  .xl-d-none {
    display: none !important;
  }
  .xl-d-block {
    display: block !important;
  }
  .xl-d-flex {
    display: flex !important;
  }
  .xl-text-left {
    text-align: left !important;
  }
  .xl-text-center {
    text-align: center !important;
  }
  .xl-text-right {
    text-align: right !important;
  }
}
/* Extra large devices (1280px and up) */
@media (min-width: 1281px) {
  .text-h1 {
    font-size: 4.25rem !important;
  }
  .xl-d-none {
    display: none !important;
  }
  .xl-d-block {
    display: block !important;
  }
  .xl-d-flex {
    display: flex !important;
  }
  .xl-text-left {
    text-align: left !important;
  }
  .xl-text-center {
    text-align: center !important;
  }
  .xl-text-right {
    text-align: right !important;
  }
}

/* ============================================
   TRANSITION UTILITIES
   ============================================ */

.transition-base {
  transition: all 0.15s ease-in-out !important;
}
.transition-fade {
  transition: opacity 0.15s linear !important;
}
.transition-collapse {
  transition: height 0.3s ease !important;
}
.transition-sticky {
  transition: all 0.3s ease !important;
}

/* ============================================
   FOOTER UTILITIES
   ============================================ */

.footer-custom {
  background-color: #015cff !important;
  color: #fff !important;
}

/* ============================================
   HEADER UTILITIES
   ============================================ */

.header-custom {
  background-color: #fff !important;
}

/* ============================================
   BANNER UTILITIES
   ============================================ */

.banner-overlay::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(0, 0, 0, 0.325) !important;
  z-index: 1 !important;
}

/* ============================================
   SLIDER UTILITIES
   ============================================ */

.slider-overlay-dark::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(0, 0, 0, 0.35) !important;
  z-index: 1 !important;
}

.slider-overlay-light::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(255, 255, 255, 0.35) !important;
  z-index: 1 !important;
}

/* =========================================
    ANIMACIJE                               
  ========================================== */
@keyframes risanje-levo {
  0% {
    stroke-dashoffset: 2433.8;
    stroke-width: 0;
  }
  50% {
    stroke-width: 2;
  }
  100% {
    stroke-dashoffset: 1236.5;
    stroke-width: 0;
  }
}
@keyframes risanje-desno {
  0% {
    stroke-dashoffset: 1236.5;
    stroke-width: 0;
  }
  50% {
    stroke-width: 2;
  }
  100% {
    stroke-dashoffset: 2433.8;
    stroke-width: 0;
  }
}
@keyframes projects-risanje {
  0% {
    stroke-dashoffset: -700;
    stroke-width: 0;
  }
  50% {
    stroke-width: 2;
  }
  100% {
    stroke-dashoffset: -250;
    stroke-width: 0;
  }
}
@keyframes odkrivanje-pravokotnika {
  0% {
    clip-path: inset(0px 80% 0px 0%);
  }
  25% {
    clip-path: inset(0px 60% 0px 20%);
  }
  50% {
    clip-path: inset(0px 40% 0px 40%);
  }
  75% {
    clip-path: inset(0px 20% 0px 60%);
  }
  100% {
    clip-path: inset(0px 0% 0px 100%);
  }
}
@keyframes odkrivanje-texta {
  0% {
    clip-path: inset(0px 100% 0px 0%);
  }
  100% {
    clip-path: inset(0px 0% 0px 0%);
  }
}
@keyframes odkrivanje-pravokotnika-about {
  0% {
    clip-path: inset(0px 55% 0px 0%);
  }
  50% {
    clip-path: inset(0px 25% 0px 25%);
  }
  100% {
    clip-path: inset(0px 0% 0px 100%);
  }
}
@keyframes risanje-slika {
  0% {
    stroke-dashoffset: 2800;
    stroke-width: 0;
    stroke: #00164e;
  }
  50% {
    stroke-width: 2;
    stroke-dasharray: 100 2453.2;
    stroke: #fff;
  }
  100% {
    stroke-dasharray: 10 2553.2;
    stroke-dashoffset: 2100;
    stroke-width: 0;
    stroke: #00164e;
  }
}

/* ============================================
   PROJECT DETAIL PAGE STYLES
   ============================================ */

.project-detail-page {
  /* background: #0A0A2A; */
  color: #fff;
  font-family: 'Inter', sans-serif;
  /* min-height: 100vh; */
  height: 450vh;
}

/* Header */
.project-detail-header {
  padding: 2rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 42, 0.9);
  backdrop-filter: blur(10px);
}

.project-detail-header .logo {
  height: 40px;
}

.project-nav .nav-link {
  color: #fff;
  text-decoration: none;
  margin-left: 2rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.project-nav .nav-link:hover {
  color: #849ee3;
}

/* Project Hero Section */
.project-hero-section {
  padding-top: 120px;
  padding-bottom: 80px;
}

.project-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.project-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.secondary-image-container {
  z-index: 10;
}

.secondary-image {
  border-radius: 8px;
  max-width: 300px;
  height: auto;
  margin-left: 2.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.main-image-container {
  position: relative;
  right: 0;
  max-width: 60%;
  margin: auto;
}

.main-image {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-metadata {
  /* position: absolute; */
  /* bottom: -60px; */
  /* right: 0; */
  /* background: rgba(10, 10, 42, 0.9); */
  padding: 1.5rem 0 0 0;
  /* border-radius: 8px; */
  /* backdrop-filter: blur(10px); */
}

.metadata-item {
  display: block;
  margin-bottom: 0.5rem;
}

.metadata-label {
  color: #849ee3;
  font-weight: 500;
}

.metadata-value {
  color: #fff;
  font-weight: 600;
  margin-left: 0.5rem;
}

/* Statistics Section */
.stats-section {
  padding: 120px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
  position: relative;
}

/*.section-title::before {
  content: "*";
  color: #849ee3;
  margin-right: 0.5rem;
}*/

.section-description {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.stat-box {
  border: 1px solid #849ee3;
  padding: 2rem;
  border-radius: 8px;
  background: rgba(132, 158, 227, 0.05);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: #849ee3;
  margin-bottom: 1rem;
}

.stat-description {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.8;
}

.stats-image img {
  border-radius: 12px;
  /* max-width: 400px; */
  height: 30rem;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* Diagram Section */
.diagram-section {
  padding: 120px 0;
}

.circular-diagram {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 2rem auto;
}

.circle {
  position: absolute;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  text-align: center;
}

.outer-circle {
  width: 300px;
  height: 300px;
  border: 2px solid #849ee3;
  background: rgba(132, 158, 227, 0.1);
  top: 0;
  left: 0;
}

.middle-circle {
  width: 200px;
  height: 200px;
  border: 2px solid #849ee3;
  background: rgba(132, 158, 227, 0.15);
  top: 50px;
  left: 50px;
}

.inner-circle {
  width: 100px;
  height: 100px;
  border: 2px solid #849ee3;
  background: rgba(132, 158, 227, 0.2);
  top: 100px;
  left: 100px;
}

.diagram-images {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.main-diagram-image img {
  border-radius: 12px;
  max-width: 100%;
}

.secondary-diagram-image img {
  border-radius: 8px;
  max-width: 250px;
}

/* CTA Section */
.cta-section {
  padding: 120px 0;
}

.highlighted-text {
  margin-bottom: 3rem;
}

.cta-line1,
.cta-line2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (min-width: 2559px) {
  .cta-line1,
  .cta-line2 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
}
.cta-line1 .highlight,
.cta-line2 .highlight {
  background: #015cff;
  color: white;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.cta-image img {
  border-radius: 12px;
  max-width: 100%;
}

/* Footer Navigation */
.project-navigation-footer {
  padding: 80px 0 40px;
  position: relative;
  /*top: -790px;*/
  /*top: -1248px; */
  top: -1310px;
}

.project-navigation-footer .nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.project-navigation-footer .nav-link:hover {
  color: #849ee3;
}

.arrow-icon {
  width: 20px;
  height: 20px;
}

.background-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
  opacity: 0.1;
  z-index: -1;
}

.bg-logo {
  height: 200px;
  filter: blur(2px);
}
/** SLAJDI **/
@media (max-width: 767px) {
  /*    .carousel-inner .carousel-item > div {
        display: none;
    }
    .carousel-inner .carousel-item > div:first-child {
        display: block;
    }*/
}

.carousel-inner .carousel-item.active,
.carousel-inner .carousel-item-next,
.carousel-inner .carousel-item-prev {
  display: flex;
}

/* medium and up screens */
@media (min-width: 360px) {
  .carousel-inner .carousel-item-end.active,
  .carousel-inner .carousel-item-next {
    transform: translateX(33.33%);
  }

  .carousel-inner .carousel-item-start.active,
  .carousel-inner .carousel-item-prev {
    transform: translateX(-33.33%);
  }
}

.carousel-inner .carousel-item-end,
.carousel-inner .carousel-item-start {
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .project-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .project-metadata {
    position: static;
    margin-top: 2rem;
  }

  .secondary-image {
    max-width: 300px;
    margin-left: 2.5rem;
  }

  .secondary-image-container {
    position: static !important;
    margin-top: 2rem;
  }

  .circular-diagram {
    width: 250px;
    height: 250px;
  }

  .outer-circle {
    width: 250px;
    height: 250px;
  }

  .middle-circle {
    width: 170px;
    height: 170px;
    top: 40px;
    left: 40px;
  }

  .inner-circle {
    width: 90px;
    height: 90px;
    top: 80px;
    left: 80px;
  }
  .cta-line1,
  .cta-line2 {
    font-size: 1.16rem;
  }
  .section-title {
    text-align: center;
  }
  .section-description {
    text-align: justify;
  }
}
@media (max-width: 1025px) {
  .section-title {
    font-size: 1rem;
  }
}
@media (min-width: 1280px) and (max-width: 1919px) {
  .section-title {
    font-size: 1.2rem;
  }
}
@media (max-width: 360px) {
  .cta-line1,
  .cta-line2 {
    font-size: 1rem;
  }
  .section-title {
    text-align: center;
  }
  .section-description {
    text-align: justify;
  }
}
@media screen and (min-width: 360px) and (max-width: 789px) {
  .diagram-section {
    padding: 0px 0;
    padding-top: 0px;
  }

  .project-hero-section {
    padding-top: 30px;
    padding-bottom: 20px;
  }

  .project-vsebina.pt-10 {
  }

  .stats-section {
    padding: 0px 0;
    padding-top: 0px;
  }

  .cta-section {
    padding: 10px 0;
  }

  .section-description {
    text-align: left;
  }

  .project-navigation-footer {
    padding: 0px 0 0px;
  }
}
.required-field {
  color: red !important;
}
@keyframes upAndDown {
  0% {
    top: -5px;
  }
  50% {
    top: 5px;
  }
  100% {
    top: -5px;
  }
}
@keyframes upAndDownProjects {
  0% {
    top: 50%;
  }
  50% {
    top: 45%;
  }
  100% {
    top: 50%;
  }
}
@keyframes upAndDownProjectsMobile {
  0% {
    top: -365px;
  }
  50% {
    top: -370px;
  }
  100% {
    top: -365px;
  }
}

/* NOVE ANIMACIJE */
@keyframes whiteDash {
  0% {
    stroke-dashoffset: 2433.8;
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0;
  }
  5% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  10% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.75;
  }
  15% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  40% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.75;
  }
  50% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  75% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.75;
  }
  85% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  95% {
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 1290;
    filter: drop-shadow(0px 0px 18px #ffffff);
    stroke-width: 1;
    opacity: 0;
  }
}
@keyframes whiteDashDown {
  0% {
    stroke-dashoffset: 1290;
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0;
  }
  5% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  10% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.75;
  }
  15% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  40% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.75;
  }
  50% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  75% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.75;
  }
  85% {
    filter: drop-shadow(0px 0px 6px #ffffff);
    stroke-width: 2;
    opacity: 0.25;
  }
  95% {
    opacity: 0;
  }
  100% {
    stroke-dashoffset: 2433.8;
    filter: drop-shadow(0px 0px 18px #ffffff);
    stroke-width: 1;
    opacity: 0;
  }
}
@keyframes pathTravel {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 1236.5;
    opacity: 0;
  }
}

.svgpath {
  stroke-dasharray: 200 2233.8;
  animation: whiteDash 5s linear infinite;
}
.svgpathDown {
  stroke-dasharray: 200 2233.8;
  animation: whiteDashDown 5s linear infinite;
}
