/* Click On Serbia — overrides za Homepage 1 (Bexar) */

@import url("https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700&display=swap");

:root {
  --serbia-red: #b11226;
  --serbia-red-modern: #dc2626;
  --serbia-red-hover: #c9142c;
  --serbia-blue: #1e3a8a;
  --serbia-blue-modern: #2563eb;
  --serbia-blue-modern-hover: #1d4ed8;
  --serbia-blue-light: #3b82f6;
  --serbia-gold: #c6a44b;
  --serbia-gold-dark: #a88b3a;
  --serbia-gold-light: #d4b85c;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Akcenti (bivša zelena tema) → zlatna */
body.cos-hp1 .text-primary,
body.cos-hp1 a.text-primary:not(.btn),
body.cos-hp1 .project-item h6.text-primary,
body.cos-hp1 .testimonial-slider .text-primary,
body.cos-hp1 footer .text-primary {
  color: var(--serbia-gold) !important;
}

body.cos-hp1 .bg-primary,
body.cos-hp1 .btn-primary,
body.cos-hp1 .btn-primary:hover,
body.cos-hp1 .btn-primary:focus,
body.cos-hp1 .btn-primary:active {
  background-color: var(--serbia-blue-modern) !important;
  border-color: var(--serbia-blue-modern) !important;
  color: #fff !important;
}

body.cos-hp1 .btn-primary:hover,
body.cos-hp1 .btn-primary:focus {
  background-color: var(--serbia-blue-modern-hover) !important;
  border-color: var(--serbia-blue-modern-hover) !important;
}

body.cos-hp1 .bg-secondary,
body.cos-hp1 .top-header.bg-secondary,
body.cos-hp1 .funfacts .bg-secondary {
  background-color: var(--serbia-blue) !important;
}

/* Funfacts — cela sekcija plava (bez tamnog #252d39 iz teme) */
body.cos-hp1 .funfacts {
  background-color: var(--serbia-blue) !important;
}

body.cos-hp1 .funfacts .container::before {
  background: var(--serbia-blue) !important;
}

@media (min-width: 992px) {
  body.cos-hp1 .funfacts h3 {
    font-size: 2rem;
    line-height: 1.15;
  }

  body.cos-hp1 .funfacts .icon-lg {
    font-size: 2.5rem;
  }

  body.cos-hp1 .funfacts span.text-white {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  body.cos-hp1 .funfacts .row.bg-secondary {
    padding: 2.75rem 2rem !important;
  }
}

@media (min-width: 1200px) {
  body.cos-hp1 .funfacts h3 {
    font-size: 1.75rem;
  }

  body.cos-hp1 .funfacts .icon-lg {
    font-size: 2.25rem;
  }

  body.cos-hp1 .funfacts span.text-white {
    font-size: 0.85rem;
  }

  body.cos-hp1 .funfacts .row.bg-secondary {
    padding: 2.5rem 2rem !important;
  }
}

body.cos-hp1 .bg-secondary-darken {
  background-color: #152a52 !important;
}

body.cos-hp1 .section.bg-secondary.section-bottom-lg {
  background-color: var(--serbia-blue) !important;
}

/* Tri crtice iznad naslova sekcije */
body.cos-hp1 .section-title-border,
body.cos-hp1 .section-title-border::before,
body.cos-hp1 .section-title-border::after {
  background: var(--serbia-gold) !important;
}

body.cos-hp1 .subtitle {
  color: var(--serbia-gold);
}

/* Link hover — zlatna (umesto zelene iz teme) */
body.cos-hp1 a:hover,
body.cos-hp1 a.text-white:hover,
body.cos-hp1 a.text-light:hover,
body.cos-hp1 a.text-dark:hover,
body.cos-hp1 .navbar-light .navbar-nav .nav-link:hover,
body.cos-hp1 .list-styled li:hover a,
body.cos-hp1 .text-decoration-none:hover {
  color: var(--serbia-gold) !important;
}

body.cos-hp1 .social-icon-alt li a:hover,
body.cos-hp1 .team-member .social-icon li a:hover {
  color: #fff !important;
  background: var(--serbia-gold) !important;
  border-color: var(--serbia-gold) !important;
}

body.cos-hp1 .team-member h4 {
  font-family: "Exo 2", sans-serif;
}

body.cos-hp1 .team-member span {
  color: #818385;
}

body.cos-hp1 .team-member .hover-icon {
  background: rgba(220, 38, 38, 0.9) !important;
}

body.cos-hp1 .slick-arrow {
  background: rgba(198, 164, 75, 0.55) !important;
}

body.cos-hp1 .slick-arrow:hover {
  background: var(--serbia-gold) !important;
}

body.cos-hp1 .btn-secondary:hover,
body.cos-hp1 .btn-secondary:active {
  color: var(--serbia-gold) !important;
}

.cos-top-phone {
  color: #fff !important;
  font-weight: 600;
}

/* Ikone — bele na zlatnoj podlozi */
body.cos-hp1 .icon-bg {
  background: var(--serbia-gold) !important;
  border: none !important;
}

body.cos-hp1 .icon-bg::before {
  border-color: var(--serbia-gold) !important;
}

body.cos-hp1 .icon-bg .icon,
body.cos-hp1 .icon-bg i,
body.cos-hp1 .icon-lg.text-primary,
body.cos-hp1 .funfacts .icon-lg,
body.cos-hp1 .card-icon,
body.cos-hp1 .card-icon i {
  color: #fff !important;
}

body.cos-hp1 .card-icon {
  background: var(--serbia-gold) !important;
}

body.cos-hp1 .hover-bg-dark:hover .icon-bg,
body.cos-hp1 .hover-bg-dark.active .icon-bg {
  background: rgba(255, 255, 255, 0.15) !important;
}

body.cos-hp1 .hover-bg-dark:hover .icon-bg .icon,
body.cos-hp1 .hover-bg-dark.active .icon-bg .icon {
  color: #fff !important;
}

/* Spin / preloader — plavo, crveno, belo (bez zelene) */
body.cos-hp1 .preloader .spin {
  border-color: var(--serbia-blue-modern) var(--serbia-red-modern) #fff rgba(37, 99, 235, 0.28) !important;
}

/* Utisci — dekorativni navodnici (FontAwesome) */
body.cos-hp1 .bg-quote::before {
  color: rgba(220, 38, 38, 0.35) !important;
}

body.cos-hp1 h1,
body.cos-hp1 h2,
body.cos-hp1 h3,
body.cos-hp1 h4,
body.cos-hp1 .btn,
body.cos-hp1 .navbar-nav .nav-link,
body.cos-hp1 .subtitle {
  font-family: "Exo 2", "Barlow Condensed", sans-serif;
}

.cos-nav-logo {
  max-height: 48px;
  width: auto;
}

.cos-footer-logo {
  max-height: 56px;
  width: auto;
  display: block;
}

.cos-footer-dotwebsoft {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cos-dotwebsoft-logo {
  max-width: 250px;
  max-height: 106px;
  width: auto;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Footer — kompaktnija visina */
body.cos-hp1 #footer-main > .section.bg-secondary {
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #e9eef8 10%,
    #9bb0d4 35%,
    var(--serbia-blue) 55%
  ) !important;
}

body.cos-hp1 #footer-main > .section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

body.cos-hp1 #footer-main .bg-secondary-darken {
  padding-top: 0.625rem !important;
  padding-bottom: 0.625rem !important;
}

body.cos-hp1 #footer-main .col-lg-5 p.text-light {
  color: var(--serbia-blue) !important;
}

body.cos-hp1 #footer-main #footer-contact h4,
body.cos-hp1 #footer-main #footer-contact .text-light,
body.cos-hp1 #footer-main #footer-contact a.text-light {
  color: #fff !important;
}

body.cos-hp1 #footer-main #footer-contact a.text-light:hover {
  color: var(--serbia-gold) !important;
}

body.cos-hp1 #footer-main .cos-footer-logo {
  max-height: 44px;
}

body.cos-hp1 #footer-main .mb-4,
body.cos-hp1 #footer-main h4.mb-4 {
  margin-bottom: 0.75rem !important;
}

body.cos-hp1 #footer-main .mb-5,
body.cos-hp1 #footer-main .mb-md-5 {
  margin-bottom: 0 !important;
}

body.cos-hp1 #footer-main .mb-3 {
  margin-bottom: 0.35rem !important;
}

body.cos-hp1 #footer-main p.text-light {
  line-height: 1.45;
  font-size: 0.95rem;
}

body.cos-hp1 #footer-main .cos-footer-logo {
  margin-left: auto;
  margin-right: auto;
}

body.cos-hp1 #footer-main .cos-dotwebsoft-logo {
  max-width: 230px;
  max-height: 98px;
}

body.cos-hp1 #footer-main .cos-footer-dotwebsoft {
  padding-top: 0.25rem;
}

body.cos-hp1 #footer-main #footer-contact ul {
  display: inline-block;
  text-align: center;
}

body.cos-hp1 #footer-main #footer-contact h4 {
  font-size: 1.1rem;
}

/* Mobilne aplikacije — Android i iOS */
.cos-apps-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.cos-app-card {
  padding: 2.25rem 1.75rem 2rem;
  border-radius: 4px;
}

.cos-app-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}

.cos-app-icon--android {
  background: linear-gradient(135deg, #34a853 0%, #1e8e3e 100%);
}

.cos-app-icon--ios {
  background: linear-gradient(135deg, #555 0%, #1d1d1f 100%);
}

.cos-app-badge {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--serbia-blue);
  background: #eef3fb;
  border-radius: 999px;
}

.cos-app-card h4 {
  font-family: "Exo 2", sans-serif;
  color: #172231;
}

.cos-app-card p {
  color: #5c6670;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Vizija — istaknut napomena o razvoju */
.cos-vision-callout {
  padding: 1rem 1.15rem;
  border-left: 4px solid var(--serbia-gold);
  background: #f7f9fd;
}

.cos-vision-callout p {
  color: var(--serbia-blue);
  line-height: 1.6;
  font-size: 0.98rem;
}

.cos-vision-callout .list-styled li {
  color: #4a5568;
}

/* Doprinos razvoju — besplatan pristup */
.cos-development-section {
  padding-bottom: 4rem;
}

.cos-development-lead {
  color: #4a5568;
  line-height: 1.65;
  font-size: 1.05rem;
}

.cos-dev-card {
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #e8edf5;
  box-shadow: 0 8px 24px rgba(30, 58, 138, 0.06);
  border-radius: 4px;
}

.cos-dev-card--highlight {
  border-color: rgba(198, 164, 75, 0.45);
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 100%);
}

.cos-dev-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--serbia-blue);
  background: #eef3fb;
}

.cos-dev-card--highlight .cos-dev-icon {
  color: #fff;
  background: var(--serbia-gold);
}

.cos-dev-card h4 {
  font-family: "Exo 2", sans-serif;
  color: #172231;
  font-size: 1.15rem;
}

.cos-dev-card p {
  color: #5c6670;
  line-height: 1.65;
  font-size: 0.95rem;
}

body.cos-hp1 #footer-main .cos-footer-dev-note {
  font-size: 0.88rem;
  opacity: 0.92;
  line-height: 1.5;
}

/* Hero naslov — crveno/plavo brend */
.cos-hero-title {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 6vw, 3.75rem);
  line-height: 1.15;
  color: #172231;
}

.cos-title-red {
  color: var(--serbia-red);
}

.cos-title-blue {
  color: var(--serbia-blue);
}

.cos-hero-lead {
  font-size: 1.25rem;
  color: #172231;
  max-width: 36rem;
}

/* Vizija — slika malo nepravilna da se vidi dekorativna šara */
body.cos-hp1 #vision .cos-vision-media {
  position: relative;
  overflow: visible;
  padding: 1.25rem 0.5rem 2rem;
}

body.cos-hp1 #vision .cos-vision-media img {
  display: block;
  width: 86%;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 28px 14px 32px 18px;
  transform: rotate(-2.5deg);
  box-shadow: 0 20px 45px rgba(23, 34, 49, 0.16);
}

/* Zašto Click On Serbia — desna slika malo nepravilna */
body.cos-hp1 #platform .feature-img-bg {
  overflow: visible;
  padding: 1.25rem 1rem 2rem 0;
  box-shadow: none;
}

body.cos-hp1 #platform .feature-img-bg img {
  display: block;
  width: 88%;
  max-width: 100%;
  margin-left: auto;
  border-radius: 16px 30px 20px 26px;
  transform: rotate(2.5deg);
  box-shadow: 0 20px 45px rgba(23, 34, 49, 0.16);
}

/* Ključni segmenti — blagi beli overlay preko slika */
body.cos-hp1 #news .cos-card-img-wrap {
  position: relative;
  overflow: hidden;
}

body.cos-hp1 #news .cos-card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

/* Segmenti platforme — boje Srbije: crvena, plava, bela */
body.cos-hp1 #news .cos-segment-card {
  overflow: hidden;
}

body.cos-hp1 #news .cos-segment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  z-index: 2;
}

body.cos-hp1 #news .cos-segment-red::before {
  background: var(--serbia-red-modern);
}

body.cos-hp1 #news .cos-segment-blue::before {
  background: var(--serbia-blue-modern);
}

body.cos-hp1 #news .cos-segment-white::before {
  background: #f8fafc;
  box-shadow: inset 0 -1px 0 rgba(15, 23, 42, 0.12);
}

body.cos-hp1 #news .cos-segment-red .card-type {
  background: var(--serbia-red-modern) !important;
  color: #fff !important;
}

body.cos-hp1 #news .cos-segment-blue .card-type {
  background: var(--serbia-blue-modern) !important;
  color: #fff !important;
}

body.cos-hp1 #news .cos-segment-white .card-type {
  background: #f8fafc !important;
  color: var(--serbia-blue) !important;
  border: 1px solid rgba(30, 58, 138, 0.2);
}

body.cos-hp1 #news .cos-segment-red .cos-card-img-wrap::after {
  background: rgba(220, 38, 38, 0.22);
}

body.cos-hp1 #news .cos-segment-blue .cos-card-img-wrap::after {
  background: rgba(37, 99, 235, 0.24);
}

body.cos-hp1 #news .cos-segment-white .cos-card-img-wrap::after {
  background: rgba(255, 255, 255, 0.48);
}

body.cos-hp1 #news .cos-segment-red .card-body {
  background: linear-gradient(180deg, #fff 0%, rgba(254, 242, 242, 0.65) 100%);
}

body.cos-hp1 #news .cos-segment-blue .card-body {
  background: linear-gradient(180deg, #fff 0%, rgba(239, 246, 255, 0.7) 100%);
}

body.cos-hp1 #news .cos-segment-white .card-body {
  background: linear-gradient(180deg, #fff 0%, rgba(248, 250, 252, 0.95) 100%);
}

body.cos-hp1 #news .cos-segment-red .card-title {
  color: var(--serbia-red-modern);
}

body.cos-hp1 #news .cos-segment-blue .card-title {
  color: var(--serbia-blue-modern);
}

body.cos-hp1 #news .cos-segment-white .card-title {
  color: #172231;
}

body.cos-hp1 #news .cos-segment-card .section-title-border {
  background: var(--serbia-gold);
}

/* CTA — Digitalna Srbija na klik */
body.cos-hp1 #about-cta.cos-cta-section {
  position: relative;
  background-position: center bottom;
  background-size: cover;
}

body.cos-hp1 #about-cta.cos-cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(37, 99, 235, 0.45) 0%, transparent 58%),
    radial-gradient(ellipse 55% 45% at 8% 85%, rgba(220, 38, 38, 0.28) 0%, transparent 52%),
    radial-gradient(ellipse 40% 35% at 50% 100%, rgba(198, 164, 75, 0.22) 0%, transparent 55%),
    linear-gradient(128deg, rgba(10, 18, 36, 0.9) 0%, rgba(30, 58, 138, 0.62) 48%, rgba(17, 34, 80, 0.85) 100%);
  pointer-events: none;
}

body.cos-hp1 #about-cta.cos-cta-section .container {
  position: relative;
  z-index: 1;
}

/* Hero — odbrojavanje do početka rada */
.cos-countdown-section {
  position: relative;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    linear-gradient(
      135deg,
      rgba(23, 37, 99, 0.72) 0%,
      rgba(37, 99, 235, 0.58) 38%,
      rgba(191, 219, 254, 0.34) 72%,
      rgba(255, 255, 255, 0.24) 100%
    ),
    url("../img/slider-1.png") center bottom / cover no-repeat;
}

.cos-hero-countdown {
  display: flex;
  align-items: center;
  min-height: calc(100vh - 8rem);
  padding: clamp(7rem, 14vw, 11rem) 0 clamp(5rem, 10vw, 8rem);
}

.cos-hero-countdown::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.22) 0%, rgba(30, 58, 138, 0.1) 100%);
  pointer-events: none;
}

.cos-hero-countdown .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.cos-hero-countdown .cos-countdown-box {
  max-width: 58rem;
}

.cos-hero-countdown .cos-countdown-title {
  font-size: clamp(2rem, 5vw, 3rem);
}

.cos-countdown-box {
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(17, 34, 80, 0.92) 0%, rgba(23, 37, 99, 0.88) 100%);
  border: 1px solid rgba(147, 197, 253, 0.22);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.cos-countdown-box .section-title-border {
  background: var(--serbia-gold);
}

.cos-countdown-box .subtitle {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0.5rem;
}

.cos-countdown-title {
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.cos-countdown-date {
  color: var(--serbia-gold);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.cos-countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.cos-countdown-item {
  min-width: 7.5rem;
  padding: 1.25rem 1rem 1rem;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(147, 197, 253, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.cos-countdown-value {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.cos-countdown-label {
  display: block;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.cos-countdown-sep {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--serbia-gold);
  line-height: 1;
  padding-bottom: 1.5rem;
}

.cos-countdown-live {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--serbia-gold);
}

@media (max-width: 575px) {
  .cos-countdown-sep {
    display: none;
  }

  .cos-countdown-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .cos-countdown-item {
    min-width: 0;
    padding: 1rem 0.5rem 0.75rem;
  }
}

/* ——— Navigacija (manje zbijena) ——— */
body.cos-hp1 .navigation {
  height: auto;
  min-height: 0;
}

body.cos-hp1 .navbar {
  padding: 0.5rem 0;
}

body.cos-hp1 .cos-navbar-collapse {
  padding-bottom: 0.75rem;
}

@media (min-width: 768px) {
  body.cos-hp1 .navigation {
    display: block;
    height: auto;
  }

  body.cos-hp1 .cos-navbar-collapse {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    padding-bottom: 0;
    gap: 0.5rem;
  }

  body.cos-hp1 .cos-main-nav {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    margin-left: auto !important;
    margin-right: 0.75rem !important;
  }

  body.cos-hp1 .navbar-expand-md .navbar-nav .nav-link {
    padding: 0.75rem 0.45rem !important;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
  }
}

@media (min-width: 992px) {
  body.cos-hp1 .navbar-expand-md .navbar-nav .nav-link {
    padding: 0.75rem 0.55rem !important;
    font-size: 0.82rem;
  }
}

@media (min-width: 1200px) {
  body.cos-hp1 .navbar-expand-md .navbar-nav .nav-link {
    padding: 0.75rem 0.65rem !important;
    font-size: 0.85rem;
  }
}

body.cos-hp1 .cos-nav-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.65rem;
}

@media (max-width: 767.98px) {
  body.cos-hp1 .cos-navbar-collapse {
    text-align: center;
  }

  body.cos-hp1 .cos-main-nav {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  body.cos-hp1 .navbar-expand-md .navbar-nav .nav-link {
    padding: 0.5rem 0.75rem !important;
  }

  body.cos-hp1 .cos-nav-actions {
    justify-content: center;
    width: 100%;
    padding-top: 0.5rem;
    border-top: 1px solid #eee;
  }
}

.cos-lang-switch {
  display: inline-flex;
  flex-shrink: 0;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  overflow: hidden;
}

.cos-lang-switch button {
  background: #fff;
  border: none;
  color: #818385;
  font-family: "Exo 2", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.65rem;
  cursor: pointer;
  min-width: 36px;
}

.cos-lang-switch button.active {
  background: var(--serbia-red-modern);
  color: #fff;
}

.cos-lang-switch button:focus-visible {
  outline: 2px solid var(--serbia-gold);
  outline-offset: 1px;
}

body.cos-hp1 .cos-btn-login {
  white-space: nowrap;
  padding: 0.35rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  border-radius: 4px;
  box-shadow: none !important;
}

body.cos-hp1 .cos-btn-login.btn-primary,
body.cos-hp1 .cos-btn-login.btn-primary:focus,
body.cos-hp1 .cos-btn-login.btn-primary:active {
  background-color: transparent !important;
  border: 1px solid #d1d5db !important;
  color: #6b7280 !important;
}

body.cos-hp1 .cos-btn-login.btn-primary:hover {
  background-color: #f9fafb !important;
  border-color: #9ca3af !important;
  color: var(--serbia-blue) !important;
}

body.cos-hp1 .cos-btn-login.hover-ripple:hover::after {
  animation: none;
}

body.cos-hp1 .card-body h4 {
  font-family: "Exo 2", sans-serif;
}

/* Vizija — razmak ispod hero odbrojavanja */
body.cos-hp1 #vision.cos-vision-section {
  padding-top: clamp(3.5rem, 7vw, 6rem) !important;
}

@media (max-width: 767px) {
  body.cos-hp1 #vision.cos-vision-section {
    padding-top: 3rem !important;
  }
}

/* Za koga — kartice (preklapanje plavog naslova) */
.cos-audience-cards {
  position: relative;
  z-index: 2;
  margin-top: -6rem;
  padding-bottom: 4rem;
}

@media (max-width: 991px) {
  .cos-audience-cards {
    margin-top: -3rem;
    padding-bottom: 3rem;
  }
}

/* Ripple na dugmetu Prijava — crvena umesto zelene */
body.cos-hp1 .hover-ripple:hover::after {
  animation: cosSonarRed 1s ease-out 50ms;
}

@keyframes cosSonarRed {
  0% {
    opacity: 0.1;
  }
  40% {
    opacity: 0.3;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px var(--serbia-red-modern),
      0 0 0 10px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px var(--serbia-red-modern),
      0 0 0 10px rgba(255, 255, 255, 0.2);
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Preostala zelena iz Bexar teme → zlatna */
body.cos-hp1 .card-type {
  background: var(--serbia-gold) !important;
}

body.cos-hp1 .list-styled li::before,
body.cos-hp1 .list-styled li:hover::before {
  color: var(--serbia-gold) !important;
}

body.cos-hp1 .form-control:focus {
  border-color: var(--serbia-gold) !important;
}

body.cos-hp1 .social-icon li a:hover {
  color: var(--serbia-gold) !important;
  background: #fff !important;
}

body.cos-hp1 .bg-primary:not(.btn) {
  background-color: var(--serbia-gold) !important;
}

body.cos-hp1 .btn-arrow:hover::before {
  border-color: var(--serbia-gold) !important;
}

body.cos-hp1 .btn-arrow:hover::after {
  background: var(--serbia-gold) !important;
}

/* Zlatna nit — čoveculjak animacija (dno ekrana) + modal */
.cos-golden-walker-trigger {
  position: fixed;
  bottom: 1.35rem;
  left: 1.35rem;
  z-index: 1050;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  overflow: visible;
}

.cos-golden-walker-trigger:hover .cos-golden-walker-svg,
.cos-golden-walker-trigger:focus .cos-golden-walker-svg {
  filter: drop-shadow(0 4px 14px rgba(198, 164, 75, 0.48)) drop-shadow(0 0 10px rgba(253, 224, 71, 0.28));
}

.cos-golden-walker-trigger:focus {
  outline: none;
}

.cos-golden-walker-trigger:focus-visible {
  outline: 2px solid var(--serbia-gold);
  outline-offset: 4px;
  border-radius: 4px;
}

.cos-golden-walker-svg {
  display: block;
  width: 2.45rem;
  height: 2.45rem;
  overflow: visible;
  transition: filter 0.25s ease;
  filter: drop-shadow(0 4px 12px rgba(198, 164, 75, 0.32));
}

.cos-walker-state {
  transform-box: fill-box;
  transform-origin: center;
}

.cos-walker-state--ball {
  animation: cosWalkerBallState 9s ease-in-out infinite;
}

.cos-walker-state--thread {
  animation: cosWalkerThreadState 9s ease-in-out infinite;
}

@keyframes cosWalkerBallState {
  0%,
  36%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  44%,
  88% {
    opacity: 0;
    transform: scale(0.2);
  }
}

@keyframes cosWalkerThreadState {
  0%,
  36%,
  100% {
    opacity: 0;
    transform: scale(0.35);
  }
  44%,
  88% {
    opacity: 1;
    transform: scale(1);
  }
}

.cos-walker-thread-glow {
  fill: none;
  stroke: url(#cosWalkerThreadGold);
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.18;
  filter: url(#cosWalkerThreadGlow);
}

.cos-walker-thread-line {
  fill: none;
  stroke: url(#cosWalkerThreadGold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.12 0.05;
  animation: cosWalkerThreadFlow 3.6s linear infinite;
}

@keyframes cosWalkerThreadFlow {
  to {
    stroke-dashoffset: -1;
  }
}

.cos-walker-orbs-orbit {
  animation: cosWalkerOrbsOrbitShow 9s ease-in-out infinite;
}

.cos-walker-orbs-thread {
  animation: cosWalkerOrbsThreadShow 9s ease-in-out infinite;
}

@keyframes cosWalkerOrbsOrbitShow {
  0%,
  36%,
  100% {
    opacity: 1;
  }
  44%,
  88% {
    opacity: 0;
  }
}

@keyframes cosWalkerOrbsThreadShow {
  0%,
  36%,
  100% {
    opacity: 0;
  }
  44%,
  88% {
    opacity: 1;
  }
}

.cos-walker-orb-glow {
  animation: cosWalkerOrbPulse 2.6s ease-in-out infinite;
}

.cos-walker-orb-core {
  stroke-width: 0.65;
}

.cos-walker-orb-shine {
  fill: rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.cos-walker-orb--red .cos-walker-orb-glow {
  fill: #dc2626;
  opacity: 0.28;
  filter: url(#cosWalkerOrbBlur);
}

.cos-walker-orb--red .cos-walker-orb-core {
  fill: url(#cosWalkerOrbRed);
  stroke: rgba(255, 220, 220, 0.9);
}

.cos-walker-orb--blue .cos-walker-orb-glow {
  fill: #2563eb;
  opacity: 0.28;
  filter: url(#cosWalkerOrbBlur);
  animation-delay: 0.35s;
}

.cos-walker-orb--blue .cos-walker-orb-core {
  fill: url(#cosWalkerOrbBlue);
  stroke: rgba(200, 220, 255, 0.9);
}

.cos-walker-orb--white .cos-walker-orb-glow {
  fill: #e2e8f0;
  opacity: 0.32;
  filter: url(#cosWalkerOrbBlur);
  animation-delay: 0.7s;
}

.cos-walker-orb--white .cos-walker-orb-core {
  fill: url(#cosWalkerOrbWhite);
  stroke: rgba(255, 255, 255, 0.95);
}

.cos-walker-orb--white .cos-walker-orb-shine {
  fill: rgba(255, 255, 255, 0.95);
}

@keyframes cosWalkerOrbPulse {
  0%,
  100% {
    opacity: 0.22;
    transform: scale(0.96);
  }
  50% {
    opacity: 0.38;
    transform: scale(1.02);
  }
}

.cos-walker-ball {
  fill: url(#cosWalkerSphere);
  stroke: #b8943f;
  stroke-width: 0.55;
}

.cos-walker-ball-ring {
  fill: none;
  stroke: #f5e6b8;
  stroke-width: 0.35;
  opacity: 0.45;
}

.cos-walker-ball-shine {
  fill: url(#cosWalkerShine);
  pointer-events: none;
}

.cos-walker-ball-display {
  fill: none;
  stroke: #c6a44b;
  stroke-width: 0.7;
  opacity: 0.75;
}

.cos-walker-ball-display-glass {
  fill: url(#cosWalkerDisplay);
  stroke: #4a3f24;
  stroke-width: 0.45;
}

.cos-walker-ball-display-shine {
  fill: none;
  stroke: #ffffff;
  stroke-width: 0.65;
  stroke-linecap: round;
  opacity: 0.22;
}

.cos-walker-ball-led {
  fill: url(#cosWalkerLed);
  filter: url(#cosWalkerLedGlow);
}

.cos-walker-ball-smile {
  fill: none;
  stroke: #2e2412;
  stroke-width: 1.75;
  stroke-linecap: round;
  opacity: 0.95;
  filter: drop-shadow(0 0 1px rgba(46, 36, 18, 0.35));
}

.cos-walker-ball-status {
  fill: #fde047;
  filter: drop-shadow(0 0 2.5px rgba(253, 224, 71, 0.85));
}

.cos-golden-thread-modal-wrap .modal-content {
  border: 0;
  border-radius: 1.15rem;
  background: linear-gradient(180deg, #fffdf8 0%, #ffffff 18%, #ffffff 100%);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}

.cos-golden-thread-modal-wrap .modal-header {
  position: relative;
  padding: 0.85rem 1rem 0;
  min-height: 2.5rem;
  flex-shrink: 0;
}

.cos-golden-thread-modal__header {
  display: block;
}

.cos-golden-thread-modal__title {
  font-weight: 800;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  background: linear-gradient(135deg, #8f6b1f 0%, #c9a44e 28%, #fde68a 52%, #d4af37 78%, #9a7d32 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--serbia-gold-dark);
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35));
}

.cos-golden-thread-modal__title--center {
  text-align: center;
}

.cos-golden-thread-modal__hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.35rem;
}

.cos-golden-thread-modal__speech {
  position: relative;
  margin-top: 0.45rem;
  padding: 0.55rem 1.05rem 0.6rem;
  background: linear-gradient(180deg, #5a5348 0%, #45403a 100%);
  border: 1px solid rgba(198, 164, 75, 0.45);
  border-radius: 0.7rem;
  box-shadow:
    0 8px 22px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.cos-golden-thread-modal__speech::before,
.cos-golden-thread-modal__speech::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
}

.cos-golden-thread-modal__speech::before {
  top: -8px;
  border-bottom: 8px solid rgba(198, 164, 75, 0.5);
}

.cos-golden-thread-modal__speech::after {
  top: -6px;
  border-bottom: 7px solid #5a5348;
}

.cos-golden-thread-modal__callname {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: #f3efe6;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cos-golden-thread-modal__dbc {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fde68a 0%, #d4af37 45%, #c9a44e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--serbia-gold-light);
  filter: drop-shadow(0 0 8px rgba(253, 230, 138, 0.25));
}

.cos-golden-thread-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  margin: 0;
  padding: 0.35rem 0.55rem;
  z-index: 2;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.cos-golden-thread-modal__close:hover {
  opacity: 1;
}

.cos-golden-thread-modal-wrap .modal-body {
  padding: 0.5rem 1.65rem 1.65rem;
  overflow-y: auto;
}

.cos-golden-thread-modal__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 9rem;
  min-height: 9rem;
  margin: 0;
  overflow: visible;
}

.cos-golden-thread-modal__visual::before {
  content: '';
  position: absolute;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 230, 138, 0.38) 0%, rgba(198, 164, 75, 0.08) 52%, transparent 72%);
  pointer-events: none;
}

.cos-golden-thread-modal__intro {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}

.cos-golden-thread-modal__lead {
  color: #334155;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.cos-golden-thread-modal__lead--secondary {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

.cos-golden-thread-modal__divider {
  height: 1px;
  margin: 0 auto 1.5rem;
  max-width: 5.5rem;
  background: linear-gradient(90deg, transparent, rgba(198, 164, 75, 0.65), transparent);
}

.cos-golden-thread-modal__section {
  margin-bottom: 1.75rem;
}

.cos-golden-thread-modal__section-title {
  color: #0f172a;
  font-weight: 800;
  font-size: 1.02rem;
  margin: 0 0 0.9rem;
  text-align: center;
  letter-spacing: -0.01em;
}

.cos-golden-thread-modal__section-sub {
  display: block;
  color: var(--serbia-gold-dark);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: -0.55rem 0 1rem;
  text-align: center;
}

.cos-golden-thread-modal__connect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.cos-golden-thread-modal__connect-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 0.9rem;
  padding: 1rem 0.95rem 0.95rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
  overflow: hidden;
}

.cos-golden-thread-modal__connect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #cbd5e1;
}

.cos-golden-thread-modal__connect-card:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.cos-golden-thread-modal__connect-card--red::before {
  background: linear-gradient(90deg, #fca5a5, var(--serbia-red-modern));
}

.cos-golden-thread-modal__connect-card--blue::before {
  background: linear-gradient(90deg, #93c5fd, var(--serbia-blue-modern));
}

.cos-golden-thread-modal__connect-card--white::before {
  background: linear-gradient(90deg, #e2e8f0, #94a3b8);
}

.cos-golden-thread-modal__connect-title {
  color: #0f172a;
  font-size: 0.86rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
}

.cos-golden-thread-modal__connect-body {
  color: #64748b;
  font-size: 0.8rem;
  line-height: 1.58;
  margin: 0;
}

.cos-golden-thread-modal__layers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.cos-golden-thread-modal__layer {
  position: relative;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 0.85rem;
  padding: 0.9rem 0.95rem 0.9rem 2.55rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cos-golden-thread-modal__layer:hover {
  border-color: rgba(198, 164, 75, 0.35);
  box-shadow: 0 10px 22px rgba(198, 164, 75, 0.08);
}

.cos-golden-thread-modal__layer--wide {
  grid-column: 1 / -1;
}

.cos-golden-thread-modal__layer-num {
  position: absolute;
  top: 0.82rem;
  left: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: rgba(198, 164, 75, 0.14);
  color: var(--serbia-gold-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.cos-golden-thread-modal__layer-title {
  color: #0f172a;
  font-size: 0.84rem;
  font-weight: 800;
  margin: 0 0 0.32rem;
}

.cos-golden-thread-modal__layer-body {
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0;
}

.cos-golden-thread-modal__conclusion {
  background: linear-gradient(135deg, rgba(198, 164, 75, 0.1) 0%, rgba(253, 230, 138, 0.16) 100%);
  border: 1px solid rgba(198, 164, 75, 0.22);
  border-radius: 0.95rem;
  padding: 1.1rem 1.15rem;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.68;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.cos-golden-walker-svg--modal {
  width: 10rem;
  height: 10rem;
  filter: drop-shadow(0 6px 20px rgba(198, 164, 75, 0.28));
}

.cos-golden-walker-svg--modal .cos-walker-ball {
  fill: url(#cosModalWalkerSphere);
}

.cos-golden-walker-svg--modal .cos-walker-ball-shine {
  fill: url(#cosModalWalkerShine);
}

.cos-golden-walker-svg--modal .cos-walker-ball-display-glass {
  fill: url(#cosModalWalkerDisplay);
}

.cos-golden-walker-svg--modal .cos-walker-ball-led {
  fill: url(#cosModalWalkerLed);
  filter: url(#cosModalWalkerLedGlow);
}

.cos-golden-walker-svg--modal .cos-walker-thread-glow,
.cos-golden-walker-svg--modal .cos-walker-thread-line {
  stroke: url(#cosModalWalkerThreadGold);
}

.cos-golden-walker-svg--modal .cos-walker-thread-glow {
  filter: url(#cosModalWalkerThreadGlow);
}

.cos-golden-walker-svg--modal .cos-walker-orb--red .cos-walker-orb-glow {
  filter: url(#cosModalWalkerOrbBlur);
}

.cos-golden-walker-svg--modal .cos-walker-orb--red .cos-walker-orb-core {
  fill: url(#cosModalWalkerOrbRed);
}

.cos-golden-walker-svg--modal .cos-walker-orb--blue .cos-walker-orb-glow {
  filter: url(#cosModalWalkerOrbBlur);
}

.cos-golden-walker-svg--modal .cos-walker-orb--blue .cos-walker-orb-core {
  fill: url(#cosModalWalkerOrbBlue);
}

.cos-golden-walker-svg--modal .cos-walker-orb--white .cos-walker-orb-glow {
  filter: url(#cosModalWalkerOrbBlur);
}

.cos-golden-walker-svg--modal .cos-walker-orb--white .cos-walker-orb-core {
  fill: url(#cosModalWalkerOrbWhite);
}

.cos-section-news-lead {
  max-width: 42rem;
  margin: 0.85rem auto 0;
  color: #64748b;
  line-height: 1.6;
}

.cos-golden-thread-modal__legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.6rem;
}

.cos-golden-thread-modal__legend-item {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  padding: 0.38rem 0.72rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.cos-golden-thread-modal__legend-item--red {
  border-color: rgba(220, 38, 38, 0.22);
  color: #991b1b;
  background: rgba(220, 38, 38, 0.05);
}

.cos-golden-thread-modal__legend-item--blue {
  border-color: rgba(37, 99, 235, 0.22);
  color: #1e40af;
  background: rgba(37, 99, 235, 0.05);
}

.cos-golden-thread-modal__legend-item--white {
  border-color: rgba(148, 163, 184, 0.35);
  color: #475569;
  background: rgba(148, 163, 184, 0.08);
}

/* Desna dekorativna animacija — tri niti → zastava */
.cos-golden-thread-wrap.cos-golden-thread-wrap--sidebar {
  position: fixed;
  right: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
  width: 4.75rem;
  height: min(52vh, 22rem);
  opacity: 0.9;
}

.cos-golden-thread-wrap.cos-golden-thread-wrap--modal {
  position: relative;
  width: 5.5rem;
  height: 14rem;
  opacity: 1;
}

.cos-golden-thread {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.cos-thread-glow {
  fill: none;
  stroke: rgba(198, 164, 75, 0.45);
  stroke-width: 7;
  stroke-linecap: round;
}

.cos-golden-thread-wrap--sidebar .cos-thread-glow {
  filter: url(#cosSideThreadGlow);
}

.cos-golden-thread-wrap--modal .cos-thread-glow {
  filter: url(#cosModalThreadGlow);
}

.cos-thread-line {
  fill: none;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-dasharray: 0.14 0.04;
  animation: cosThreadFlow 4.5s linear infinite;
}

.cos-golden-thread-wrap--sidebar .cos-thread-line {
  stroke: url(#cosSideThreadGold);
}

.cos-golden-thread-wrap--modal .cos-thread-line {
  stroke: url(#cosModalThreadGold);
}

.cos-thread-node .cos-node-orb-glow {
  animation: cosOrbPulse 2.6s ease-in-out infinite;
}

.cos-golden-thread-wrap--sidebar .cos-thread-node .cos-node-orb-glow {
  filter: url(#cosSideOrbBlur);
}

.cos-golden-thread-wrap--modal .cos-thread-node .cos-node-orb-glow {
  filter: url(#cosModalOrbBlur);
}

.cos-thread-node .cos-node-orb-core {
  stroke-width: 1.5;
}

.cos-thread-node .cos-node-orb-shine {
  fill: rgba(255, 255, 255, 0.82);
  pointer-events: none;
}

.cos-thread-node--red .cos-node-orb-glow {
  fill: #dc2626;
  opacity: 0.45;
  animation-delay: 0s;
}

.cos-golden-thread-wrap--sidebar .cos-thread-node--red .cos-node-orb-core,
.cos-golden-thread-wrap--modal .cos-thread-node--red .cos-node-orb-core {
  stroke: rgba(255, 220, 220, 0.9);
}

.cos-golden-thread-wrap--sidebar .cos-thread-node--red .cos-node-orb-core {
  fill: url(#cosSideOrbRed);
}

.cos-golden-thread-wrap--modal .cos-thread-node--red .cos-node-orb-core {
  fill: url(#cosModalOrbRed);
}

.cos-thread-node--blue .cos-node-orb-glow {
  fill: #2563eb;
  opacity: 0.45;
  animation-delay: 0.35s;
}

.cos-golden-thread-wrap--sidebar .cos-thread-node--blue .cos-node-orb-core,
.cos-golden-thread-wrap--modal .cos-thread-node--blue .cos-node-orb-core {
  stroke: rgba(200, 220, 255, 0.9);
}

.cos-golden-thread-wrap--sidebar .cos-thread-node--blue .cos-node-orb-core {
  fill: url(#cosSideOrbBlue);
}

.cos-golden-thread-wrap--modal .cos-thread-node--blue .cos-node-orb-core {
  fill: url(#cosModalOrbBlue);
}

.cos-thread-node--white .cos-node-orb-glow {
  fill: #e2e8f0;
  opacity: 0.55;
  animation-delay: 0.7s;
}

.cos-golden-thread-wrap--sidebar .cos-thread-node--white .cos-node-orb-core,
.cos-golden-thread-wrap--modal .cos-thread-node--white .cos-node-orb-core {
  stroke: rgba(255, 255, 255, 0.95);
}

.cos-golden-thread-wrap--sidebar .cos-thread-node--white .cos-node-orb-core {
  fill: url(#cosSideOrbWhite);
}

.cos-golden-thread-wrap--modal .cos-thread-node--white .cos-node-orb-core {
  fill: url(#cosModalOrbWhite);
}

.cos-thread-node--white .cos-node-orb-shine {
  fill: rgba(255, 255, 255, 0.95);
}

@keyframes cosOrbPulse {
  0%,
  100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.62;
  }
}

.cos-flag-image {
  overflow: visible;
}

@keyframes cosThreadFlow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -1;
  }
}

@media (max-width: 991.98px) {
  .cos-golden-thread-wrap.cos-golden-thread-wrap--sidebar {
    right: 0.4rem;
    width: 3.35rem;
    height: min(38vh, 13.5rem);
    opacity: 0.78;
  }

  .cos-golden-walker-trigger {
    bottom: 1rem;
    left: 1rem;
  }

  .cos-golden-walker-svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .cos-golden-thread-wrap--modal {
    width: 4.5rem;
    height: 12rem;
  }
}

@media (max-width: 575.98px) {
  .cos-golden-thread-wrap.cos-golden-thread-wrap--sidebar {
    right: 0.2rem;
    width: 2.85rem;
    height: min(34vh, 11.5rem);
    opacity: 0.72;
  }

  .cos-golden-walker-trigger {
    bottom: 0.85rem;
    left: 0.75rem;
  }

  .cos-golden-walker-svg {
    width: 2rem;
    height: 2rem;
  }

  .cos-golden-thread-wrap--modal {
    width: 3.75rem;
    height: 10.5rem;
  }

  .cos-golden-walker-svg--modal {
    width: 8rem;
    height: 8rem;
  }

  .cos-golden-thread-modal-wrap .modal-body {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  .cos-golden-thread-modal__visual {
    width: 7.5rem;
    min-height: 7.5rem;
  }

  .cos-golden-thread-modal__visual::before {
    width: 7.5rem;
    height: 7.5rem;
  }

  .cos-golden-thread-modal__visual {
    min-height: 9.5rem;
    margin-bottom: 1rem;
  }

  .cos-golden-thread-modal__visual::before {
    width: 9rem;
    height: 9rem;
  }
}

@media (max-width: 767.98px) {
  .cos-golden-thread-modal__connect-grid {
    grid-template-columns: 1fr;
  }

  .cos-golden-thread-modal__layers {
    grid-template-columns: 1fr;
  }

  .cos-golden-thread-modal__layer--wide {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cos-golden-walker-trigger {
    animation: none;
  }

  .cos-golden-walker-svg {
    animation: none;
    transform: none;
  }

  .cos-golden-walker animate,
  .cos-golden-walker animateTransform,
  .cos-walker-ball-bob animateTransform {
    display: none;
  }

  .cos-walker-state--ball,
  .cos-walker-state--thread {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .cos-walker-state--thread {
    display: none;
  }

  .cos-walker-thread-line {
    animation: none;
  }

  .cos-walker-thread-float animateTransform {
    display: none;
  }

  .cos-walker-orbit-spin animateTransform {
    display: none;
  }

  .cos-walker-orbs-orbit,
  .cos-walker-orbs-thread {
    animation: none;
    opacity: 1;
  }

  .cos-walker-orbs-thread {
    display: none;
  }

  .cos-walker-orb-glow {
    animation: none;
  }

  .cos-thread-line {
    animation: none;
    stroke-dasharray: none;
  }

  .cos-golden-thread animate,
  .cos-golden-thread animateTransform {
    display: none;
  }

  .cos-thread-node {
    opacity: 1 !important;
  }

  .cos-thread-node .cos-node-orb-glow {
    animation: none;
    opacity: 0.4;
  }

  .cos-flag-inner {
    opacity: 0.85 !important;
    transform: scale(0.85);
  }
}

body.cos-hp1 .btn-primary-outline:hover,
body.cos-hp1 .btn-primary-outline:active,
body.cos-hp1 .btn-light-outline:hover,
body.cos-hp1 .btn-light-outline:active {
  background: var(--serbia-gold) !important;
  border-color: var(--serbia-gold) !important;
  color: #fff !important;
}

body.cos-hp1 .hover-ripple:not(.btn-primary):hover::after {
  animation: cosSonarGold 1s ease-out 50ms;
}

@keyframes cosSonarGold {
  0% {
    opacity: 0.1;
  }
  40% {
    opacity: 0.35;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px var(--serbia-gold),
      0 0 0 10px rgba(255, 255, 255, 0.2);
  }
  100% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px var(--serbia-gold),
      0 0 0 10px rgba(255, 255, 255, 0.2);
    transform: scale(1.2);
    opacity: 0;
  }
}

/* ——— Responsive: tablet + mobilni ——— */
body.cos-hp1 {
  overflow-x: hidden;
}

/* Tablet (768px – 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  body.cos-hp1 .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  body.cos-hp1 .section.pt-0 {
    padding-top: 0;
  }

  body.cos-hp1 #platform.section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  body.cos-hp1 #vision.cos-vision-section {
    padding-top: 3.25rem !important;
    padding-bottom: 3.25rem !important;
  }

  body.cos-hp1 .cos-hero-countdown {
    min-height: auto;
    padding: clamp(5.5rem, 11vw, 7.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  }

  body.cos-hp1 .cos-countdown-box {
    padding: clamp(1.75rem, 3.5vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  }

  body.cos-hp1 .section-bottom-lg {
    padding-bottom: 4rem !important;
  }

  body.cos-hp1 .cos-audience-cards {
    margin-top: -2.25rem;
    padding-bottom: 3rem;
  }

  body.cos-hp1 #platform .feature-img-bg {
    padding: 0.5rem 0 1rem;
  }

  body.cos-hp1 #platform .feature-img-bg img {
    width: 100%;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(1deg);
  }

  body.cos-hp1 #platform .list-unstyled li.mb-5 {
    margin-bottom: 1.75rem !important;
  }

  body.cos-hp1 #highlights .col-10 {
    flex: 0 0 90%;
    max-width: 90%;
  }

  body.cos-hp1 .cos-highlight-slide .h5 {
    font-size: 1.1rem;
    line-height: 1.55;
  }

  body.cos-hp1 .cos-cta-section.bg-fixed {
    background-attachment: scroll !important;
  }

  body.cos-hp1 #footer-main .col-lg-5 {
    margin-bottom: 0 !important;
  }

  body.cos-hp1 #vision .cos-vision-media img {
    width: 84%;
    transform: rotate(-2deg);
  }

  body.cos-hp1 #news .blog-shape-left,
  body.cos-hp1 #news .blog-shape-right {
    opacity: 0.55;
    max-width: 28%;
  }

  body.cos-hp1 .cos-nav-logo {
    max-height: 2.65rem;
  }

  .cos-golden-thread-modal-wrap .modal-dialog {
    max-width: min(92vw, 40rem);
  }

  .cos-golden-thread-modal__connect-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .cos-golden-thread-modal__connect-body {
    font-size: 0.76rem;
  }

  .cos-golden-thread-modal__layers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  body.cos-hp1 .top-header {
    display: none;
  }
}

@media (max-width: 767.98px) {

  body.cos-hp1 .cos-hero-countdown {
    min-height: auto;
    padding: 5rem 0 2.5rem;
  }

  body.cos-hp1 .cos-countdown-box {
    padding: 1.5rem 1rem;
    border-radius: 18px;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
  }

  body.cos-hp1 .cos-countdown-title {
    font-size: 1.5rem;
  }

  body.cos-hp1 .cos-countdown-date {
    margin-bottom: 1.25rem;
    font-size: 1rem;
  }

  body.cos-hp1 .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  body.cos-hp1 .section-title {
    margin-bottom: 1.25rem;
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  body.cos-hp1 #vision.cos-vision-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }

  body.cos-hp1 #vision .cos-vision-media {
    margin-bottom: 1.75rem;
    padding: 0.25rem 0 1rem;
  }

  body.cos-hp1 #vision .cos-vision-media img {
    width: 90%;
    transform: rotate(-1.5deg);
  }

  body.cos-hp1 .funfacts .row.bg-secondary {
    padding: 1.5rem 0.75rem !important;
  }

  body.cos-hp1 .funfacts .col-sm-6 > .d-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  body.cos-hp1 .funfacts .icon-lg {
    margin-right: 0 !important;
    margin-bottom: 0.5rem;
  }

  body.cos-hp1 #platform .feature-img-bg {
    padding: 0.5rem 0 1.25rem;
  }

  body.cos-hp1 #platform .feature-img-bg img {
    width: 92%;
    transform: rotate(1.5deg);
    margin-left: auto;
    margin-right: auto;
  }

  body.cos-hp1 #platform .list-unstyled li.mb-5 {
    margin-bottom: 2rem !important;
  }

  body.cos-hp1 .cos-audience-cards {
    margin-top: -1.5rem;
    padding-bottom: 2rem;
  }

  body.cos-hp1 .cos-audience-cards .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  body.cos-hp1 #highlights .col-10 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  body.cos-hp1 .cos-highlight-slide .h5 {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  body.cos-hp1 .cos-cta-section.bg-fixed {
    background-attachment: scroll !important;
  }

  body.cos-hp1 #about-cta .section-title {
    margin-bottom: 1rem !important;
  }

  body.cos-hp1 #news .blog-shape-left,
  body.cos-hp1 #news .blog-shape-right {
    display: none;
  }

  body.cos-hp1 #footer-main > .section.bg-secondary {
    background: linear-gradient(
      180deg,
      #ffffff 0%,
      #e9eef8 10%,
      #9bb0d4 35%,
      var(--serbia-blue) 55%
    ) !important;
  }

  body.cos-hp1 #footer-main > .section {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  body.cos-hp1 #footer-main .col-lg-5 {
    margin-bottom: 1.25rem !important;
  }

  body.cos-hp1 #footer-main .cos-dotwebsoft-logo {
    max-width: 205px;
    max-height: 90px;
  }

  body.cos-hp1 #footer-main .bg-secondary-darken p {
    font-size: 0.85rem;
    line-height: 1.55;
    padding: 0 0.5rem;
  }
}

@media (max-width: 575.98px) {
  body.cos-hp1 .cos-countdown-value {
    font-size: 2rem;
  }

  body.cos-hp1 .cos-countdown-label {
    font-size: 0.75rem;
  }

  body.cos-hp1 #platform .icon-bg {
    margin-right: 1rem !important;
  }

  body.cos-hp1 #news .card-body {
    padding: 1.25rem;
  }
}
